@hmcts/opal-frontend-common 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/abstract/abstract-form-parent-base/abstract-form-parent-base.component.d.ts +7 -3
- package/components/moj/moj-sortable-table/moj-sortable-table-header/directive/constants/moj-sortable-table-header-sort-icons.constant.d.ts +5 -0
- package/components/moj/moj-sortable-table/moj-sortable-table-header/directive/moj-sortable-table-header-sort-icon.directive.d.ts +18 -0
- package/components/moj/moj-sortable-table/moj-sortable-table.component.d.ts +0 -5
- package/directives/capitalisation/capitalisation.directive.d.ts +2 -2
- 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-form-parent-base.mjs +13 -9
- package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-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-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-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 +3 -3
- 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 +12 -12
- 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 +3 -3
- 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 +3 -3
- 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 +6 -6
- 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-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 +3 -3
- 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 +12 -12
- 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 +3 -3
- 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.mjs +9 -9
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.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-banner.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-banner.mjs.map +1 -1
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +6 -6
- 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 +3 -3
- package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.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 +12 -12
- 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 +81 -34
- 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-directives-capitalisation.mjs +3 -3
- package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs.map +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-yc1BR0MD.mjs → hmcts-opal-frontend-common-pages-access-denied.component-ZkhlgRu3.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-yc1BR0MD.mjs.map → hmcts-opal-frontend-common-pages-access-denied.component-ZkhlgRu3.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-ZXo1inkD.mjs → hmcts-opal-frontend-common-pages-sign-in-stub.component-DJHx_NdT.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-ZXo1inkD.mjs.map → hmcts-opal-frontend-common-pages-sign-in-stub.component-DJHx_NdT.mjs.map} +1 -1
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-CUKAHWHL.mjs → hmcts-opal-frontend-common-pages-sign-in.component-B6sVdhPh.mjs} +4 -4
- package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-CUKAHWHL.mjs.map → hmcts-opal-frontend-common-pages-sign-in.component-B6sVdhPh.mjs.map} +1 -1
- package/fesm2022/hmcts-opal-frontend-common-pages.mjs +2 -2
- 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-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-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.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 +34 -3
- package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs.map +1 -1
- package/package.json +1 -1
- package/services/utils-service/utils.service.d.ts +21 -0
|
@@ -21,10 +21,10 @@ class GovukSelectComponent {
|
|
|
21
21
|
get getControl() {
|
|
22
22
|
return this._control;
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
25
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.11", type: GovukSelectComponent, isStandalone: true, selector: "opal-lib-govuk-select", inputs: { labelText: "labelText", labelClasses: "labelClasses", selectId: "selectId", selectName: "selectName", selectClasses: "selectClasses", selectHint: "selectHint", errors: "errors", options: "options", control: "control" }, ngImport: i0, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + 'Hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.describedby]=\"selectHint ? selectId + 'Hint' : ''\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSelectComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'opal-lib-govuk-select', imports: [CommonModule, ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + 'Hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.describedby]=\"selectHint ? selectId + 'Hint' : ''\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n" }]
|
|
30
30
|
}], propDecorators: { labelText: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-select.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-select/govuk-select.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-select/govuk-select.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-select/hmcts-opal-frontend-common-components-govuk-govuk-select.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AbstractControl, FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { IGovUkSelectOptions } from './interfaces/govuk-select-options.interface';\n\n@Component({\n selector: 'opal-lib-govuk-select',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-select.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSelectComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) selectId!: string;\n @Input({ required: true }) selectName!: string;\n @Input({ required: false }) selectClasses!: string;\n @Input({ required: false }) selectHint!: string;\n @Input({ required: false }) errors: string | null = null;\n @Input({ required: true }) options!: IGovUkSelectOptions[];\n @Input({ required: true }) set control(abstractControl: AbstractControl) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + 'Hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.describedby]=\"selectHint ? selectId + 'Hint' : ''\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,oBAAoB,CAAA;AACvB,IAAA,QAAQ;AAEW,IAAA,SAAS;AAER,IAAA,YAAY;AACb,IAAA,QAAQ;AACR,IAAA,UAAU;AACT,IAAA,aAAa;AACb,IAAA,UAAU;IACV,MAAM,GAAkB,IAAI;AAC7B,IAAA,OAAO;IAClC,IAA+B,OAAO,CAAC,eAAgC,EAAA;;AAErE,QAAA,IAAI,CAAC,QAAQ,GAAG,eAA8B;;AAGhD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ;;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-select.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-select/govuk-select.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-select/govuk-select.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-select/hmcts-opal-frontend-common-components-govuk-govuk-select.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AbstractControl, FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { IGovUkSelectOptions } from './interfaces/govuk-select-options.interface';\n\n@Component({\n selector: 'opal-lib-govuk-select',\n imports: [CommonModule, ReactiveFormsModule],\n templateUrl: './govuk-select.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSelectComponent {\n private _control!: FormControl;\n\n @Input({ required: true }) labelText!: string;\n\n @Input({ required: false }) labelClasses!: string;\n @Input({ required: true }) selectId!: string;\n @Input({ required: true }) selectName!: string;\n @Input({ required: false }) selectClasses!: string;\n @Input({ required: false }) selectHint!: string;\n @Input({ required: false }) errors: string | null = null;\n @Input({ required: true }) options!: IGovUkSelectOptions[];\n @Input({ required: true }) set control(abstractControl: AbstractControl) {\n // Form controls are passed in as abstract controls, we need to re-cast it.\n this._control = abstractControl as FormControl;\n }\n\n get getControl() {\n return this._control;\n }\n}\n","<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + 'Hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.describedby]=\"selectHint ? selectId + 'Hint' : ''\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,oBAAoB,CAAA;AACvB,IAAA,QAAQ;AAEW,IAAA,SAAS;AAER,IAAA,YAAY;AACb,IAAA,QAAQ;AACR,IAAA,UAAU;AACT,IAAA,aAAa;AACb,IAAA,UAAU;IACV,MAAM,GAAkB,IAAI;AAC7B,IAAA,OAAO;IAClC,IAA+B,OAAO,CAAC,eAAgC,EAAA;;AAErE,QAAA,IAAI,CAAC,QAAQ,GAAG,eAA8B;;AAGhD,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ;;wGAlBX,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,ECXjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,YAAA,EAAA,cAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,EAAA,aAAA,EAAA,eAAA,EAAA,UAAA,EAAA,YAAA,EAAA,MAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,45BA6BA,EDtBY,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,8BAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CA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AA;sBAAxC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,MAAM,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACC,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACM,OAAO,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEvB3B;;AAEG;;;;"}
|
|
@@ -16,10 +16,10 @@ class GovukSummaryCardActionComponent {
|
|
|
16
16
|
event.preventDefault();
|
|
17
17
|
this.clickEvent.emit(route);
|
|
18
18
|
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryCardActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukSummaryCardActionComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]", inputs: { actionText: "actionText", actionRoute: "actionRoute" }, outputs: { clickEvent: "clickEvent" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionText }}</span>\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryCardActionComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionText }}</span>\n</a>\n" }]
|
|
25
25
|
}], propDecorators: { actionText: [{
|
|
@@ -46,10 +46,10 @@ class GovukSummaryCardListComponent {
|
|
|
46
46
|
ngOnInit() {
|
|
47
47
|
this.setId();
|
|
48
48
|
}
|
|
49
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryCardListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.11", type: GovukSummaryCardListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-list", inputs: { summaryCardListId: "summaryCardListId", cardTitle: "cardTitle", contentHidden: "contentHidden" }, ngImport: i0, template: "<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryCardListComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{ selector: 'opal-lib-govuk-summary-card-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n" }]
|
|
55
55
|
}], propDecorators: { summaryCardListId: [{
|
package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]',\n imports: [],\n templateUrl: './govuk-summary-card-action.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardActionComponent {\n @Input({ required: true }) actionText!: string;\n @Input({ required: true }) actionRoute!: string;\n @Output() clickEvent = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-card__action';\n\n /**\n * Handles click events, prevents default behavior, and emits a route.\n *\n * @param {Event} event - The DOM event triggered by the user action.\n * @param {string} route - The route to be emitted when the event is triggered.\n */\n public onClick(event: Event, route: string): void {\n event.preventDefault();\n this.clickEvent.emit(route);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionText }}</span>\n</a>\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-list',\n imports: [],\n templateUrl: './govuk-summary-card-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardListComponent implements OnInit {\n @Input({ required: true }) summaryCardListId!: string;\n @Input({ required: false }) cardTitle!: string;\n @Input({ required: false }) contentHidden!: boolean;\n\n public id!: string;\n\n private setId(): void {\n this.id = this.summaryCardListId + '-summary-card-list';\n }\n\n public ngOnInit(): void {\n this.setId();\n }\n}\n","<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,+BAA+B,CAAA;AACf,IAAA,UAAU;AACV,IAAA,WAAW;AAC5B,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;IAE3B,SAAS,GAAG,4BAA4B;AAE9D;;;;;AAKG;IACI,OAAO,CAAC,KAAY,EAAE,KAAa,EAAA;QACxC,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]',\n imports: [],\n templateUrl: './govuk-summary-card-action.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardActionComponent {\n @Input({ required: true }) actionText!: string;\n @Input({ required: true }) actionRoute!: string;\n @Output() clickEvent = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-card__action';\n\n /**\n * Handles click events, prevents default behavior, and emits a route.\n *\n * @param {Event} event - The DOM event triggered by the user action.\n * @param {string} route - The route to be emitted when the event is triggered.\n */\n public onClick(event: Event, route: string): void {\n event.preventDefault();\n this.clickEvent.emit(route);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionText }}</span>\n</a>\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-list',\n imports: [],\n templateUrl: './govuk-summary-card-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardListComponent implements OnInit {\n @Input({ required: true }) summaryCardListId!: string;\n @Input({ required: false }) cardTitle!: string;\n @Input({ required: false }) contentHidden!: boolean;\n\n public id!: string;\n\n private setId(): void {\n this.id = this.summaryCardListId + '-summary-card-list';\n }\n\n public ngOnInit(): void {\n this.setId();\n }\n}\n","<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,+BAA+B,CAAA;AACf,IAAA,UAAU;AACV,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AA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,wMCR1C,miBAgBA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDRa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBANzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kCAAkC,EACnC,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,miBAAA,EAAA;8BAGpB,iBAAiB,EAAA,CAAA;sBAA3C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,SAAS,EAAA,CAAA;sBAApC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;gBACE,aAAa,EAAA,CAAA;sBAAxC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEX5B;;AAEG;;;;"}
|
|
@@ -15,10 +15,10 @@ class GovukSummaryListRowActionItemComponent {
|
|
|
15
15
|
event.preventDefault();
|
|
16
16
|
this.linkClick.emit(linkClicked);
|
|
17
17
|
}
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
19
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowActionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukSummaryListRowActionItemComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]", inputs: { actionName: "actionName", actionId: "actionId" }, outputs: { linkClick: "linkClick" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionName }}</span></a\n>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowActionItemComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionName }}</span></a\n>\n" }]
|
|
24
24
|
}], propDecorators: { actionName: [{
|
|
@@ -35,10 +35,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
35
35
|
}] } });
|
|
36
36
|
|
|
37
37
|
class GovukSummaryListRowActionsComponent {
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukSummaryListRowActionsComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-actions", ngImport: i0, template: "<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowActionsComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{ selector: 'opal-lib-govuk-summary-list-row-actions', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n" }]
|
|
44
44
|
}] });
|
|
@@ -69,10 +69,10 @@ class GovukSummaryListRowComponent {
|
|
|
69
69
|
this.id = this.summaryListId + this._summaryListRowId;
|
|
70
70
|
this.class = 'govuk-summary-list__row';
|
|
71
71
|
}
|
|
72
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
73
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
72
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.11", type: GovukSummaryListRowComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]", inputs: { actionEnabled: "actionEnabled", summaryListId: "summaryListId", summaryListRowId: "summaryListRowId" }, outputs: { actionClick: "actionClick" }, host: { properties: { "class": "this.class", "id": "this.id" } }, ngImport: i0, template: "<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n", styles: [":host{display:table-row-group}.content-wrapper:empty{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListRowComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
77
|
args: [{ selector: 'opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n", styles: [":host{display:table-row-group}.content-wrapper:empty{display:none}\n"] }]
|
|
78
78
|
}], propDecorators: { actionClick: [{
|
|
@@ -96,10 +96,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
96
96
|
class GovukSummaryListComponent {
|
|
97
97
|
summaryListId;
|
|
98
98
|
classes;
|
|
99
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
100
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukSummaryListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list", inputs: { summaryListId: "summaryListId", classes: "classes" }, ngImport: i0, template: "<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukSummaryListComponent, decorators: [{
|
|
103
103
|
type: Component,
|
|
104
104
|
args: [{ selector: 'opal-lib-govuk-summary-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n" }]
|
|
105
105
|
}], propDecorators: { summaryListId: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]',\n imports: [],\n templateUrl: './govuk-summary-list-row-action-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowActionItemComponent {\n @Input({ required: true }) actionName!: string;\n @Input({ required: true }) actionId!: string;\n @Output() public linkClick = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-list__actions-list-item govuk-link-colour';\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n public handleActionClick(event: Event, linkClicked: string): void {\n event.preventDefault();\n this.linkClick.emit(linkClicked);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionName }}</span></a\n>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row-actions',\n imports: [],\n templateUrl: './govuk-summary-list-row-actions.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowActionsComponent {}\n","<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n inject,\n} from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]',\n imports: [],\n templateUrl: './govuk-summary-list-row.component.html',\n styleUrl: './govuk-summary-list-row.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowComponent implements OnInit {\n private readonly utilService = inject(UtilsService);\n public _summaryListRowId!: string;\n\n @Output() public actionClick = new EventEmitter<boolean>();\n @Input() public actionEnabled = false;\n\n @Input({ required: true }) summaryListId!: string;\n @Input({ required: true }) set summaryListRowId(summaryListRowId: string) {\n this._summaryListRowId = this.utilService.upperCaseFirstLetter(summaryListRowId);\n }\n\n // We need to set the class and id on the host div element\n // A div needs to be passed, otherwise we will get https://dequeuniversity.com/rules/axe/4.8/definition-list?application=RuleDescription\n // As it doesn't like nested divs\n @HostBinding('class') class!: string;\n @HostBinding('id') id!: string;\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n public handleActionClick(event: Event): void {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n\n ngOnInit() {\n this.id = this.summaryListId + this._summaryListRowId;\n this.class = 'govuk-summary-list__row';\n }\n}\n","<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list',\n imports: [],\n templateUrl: './govuk-summary-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListComponent {\n @Input({ required: true }) summaryListId!: string;\n @Input({ required: false }) classes!: string;\n}\n","<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,sCAAsC,CAAA;AACtB,IAAA,UAAU;AACV,IAAA,QAAQ;AAClB,IAAA,SAAS,GAAG,IAAI,YAAY,EAAU;IAEjC,SAAS,GAAG,yDAAyD;AAE3F;;;AAGG;IACI,iBAAiB,CAAC,KAAY,EAAE,WAAmB,EAAA;QACxD,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-action-item/govuk-summary-list-row-action-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row-actions/govuk-summary-list-row-actions.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list-row/govuk-summary-list-row.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/govuk-summary-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]',\n imports: [],\n templateUrl: './govuk-summary-list-row-action-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowActionItemComponent {\n @Input({ required: true }) actionName!: string;\n @Input({ required: true }) actionId!: string;\n @Output() public linkClick = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-list__actions-list-item govuk-link-colour';\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n public handleActionClick(event: Event, linkClicked: string): void {\n event.preventDefault();\n this.linkClick.emit(linkClicked);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong\n ><span class=\"govuk-visually-hidden\">{{ actionName }}</span></a\n>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row-actions',\n imports: [],\n templateUrl: './govuk-summary-list-row-actions.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowActionsComponent {}\n","<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n inject,\n} from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]',\n imports: [],\n templateUrl: './govuk-summary-list-row.component.html',\n styleUrl: './govuk-summary-list-row.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListRowComponent implements OnInit {\n private readonly utilService = inject(UtilsService);\n public _summaryListRowId!: string;\n\n @Output() public actionClick = new EventEmitter<boolean>();\n @Input() public actionEnabled = false;\n\n @Input({ required: true }) summaryListId!: string;\n @Input({ required: true }) set summaryListRowId(summaryListRowId: string) {\n this._summaryListRowId = this.utilService.upperCaseFirstLetter(summaryListRowId);\n }\n\n // We need to set the class and id on the host div element\n // A div needs to be passed, otherwise we will get https://dequeuniversity.com/rules/axe/4.8/definition-list?application=RuleDescription\n // As it doesn't like nested divs\n @HostBinding('class') class!: string;\n @HostBinding('id') id!: string;\n\n /**\n * Handles the click event for the action button.\n * @param event - The click event.\n */\n public handleActionClick(event: Event): void {\n event.preventDefault();\n this.actionClick.emit(true);\n }\n\n ngOnInit() {\n this.id = this.summaryListId + this._summaryListRowId;\n this.class = 'govuk-summary-list__row';\n }\n}\n","<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-list',\n imports: [],\n templateUrl: './govuk-summary-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryListComponent {\n @Input({ required: true }) summaryListId!: string;\n @Input({ required: false }) classes!: string;\n}\n","<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,sCAAsC,CAAA;AACtB,IAAA,UAAU;AACV,IAAA,QAAQ;AAClB,IAAA,SAAS,GAAG,IAAI,YAAY,EAAU;IAEjC,SAAS,GAAG,yDAAyD;AAE3F;;;AAGG;IACI,iBAAiB,CAAC,KAAY,EAAE,WAAmB,EAAA;QACxD,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;;wGAbvB,sCAAsC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sCAAsC,4SCRnD,2UAWA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDHa,sCAAsC,EAAA,UAAA,EAAA,CAAA;kBANlD,SAAS;AACE,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uBAAC,IAAI;;;ME3BN,yBAAyB,CAAA;AACT,IAAA,aAAa;AACZ,IAAA,OAAO;wGAFxB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAzB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,uJCRtC,8GAGA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDKa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,6BAA6B,EAC9B,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8GAAA,EAAA;8BAGpB,aAAa,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,OAAO,EAAA,CAAA;sBAAlC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEV5B;;AAEG;;;;"}
|
|
@@ -7,10 +7,10 @@ class GovukTableBodyRowDataComponent {
|
|
|
7
7
|
get hostId() {
|
|
8
8
|
return this.id;
|
|
9
9
|
}
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableBodyRowDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTableBodyRowDataComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]", inputs: { id: "id" }, host: { properties: { "class": "this.hostClass", "id": "this.hostId" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableBodyRowDataComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
16
16
|
}], propDecorators: { id: [{
|
|
@@ -29,10 +29,10 @@ class GovukTableBodyRowComponent {
|
|
|
29
29
|
get hostClass() {
|
|
30
30
|
return `govuk-table__row ${this.bodyRowClasses}`;
|
|
31
31
|
}
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableBodyRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTableBodyRowComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]", inputs: { bodyRowClasses: "bodyRowClasses" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableBodyRowComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
38
38
|
}], propDecorators: { bodyRowClasses: [{
|
|
@@ -48,10 +48,10 @@ class GovukTableHeadingComponent {
|
|
|
48
48
|
get hostScope() {
|
|
49
49
|
return 'col';
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
52
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTableHeadingComponent, isStandalone: true, selector: "opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]", host: { properties: { "class": "this.hostClass", "scope": "this.hostScope" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableHeadingComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{ selector: 'opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
57
57
|
}], propDecorators: { hostClass: [{
|
|
@@ -64,10 +64,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
64
64
|
|
|
65
65
|
class GovukTableComponent {
|
|
66
66
|
tableClasses;
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
68
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTableComponent, isStandalone: true, selector: "opal-lib-govuk-table", inputs: { tableClasses: "tableClasses" }, ngImport: i0, template: "<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTableComponent, decorators: [{
|
|
71
71
|
type: Component,
|
|
72
72
|
args: [{ selector: 'opal-lib-govuk-table', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n" }]
|
|
73
73
|
}], propDecorators: { tableClasses: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-table.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-heading/govuk-table-heading.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-heading/govuk-table-heading.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/hmcts-opal-frontend-common-components-govuk-govuk-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]',\n imports: [],\n templateUrl: './govuk-table-body-row-data.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableBodyRowDataComponent {\n @Input({ required: true }) id!: string;\n\n @HostBinding('class') hostClass = 'govuk-table__cell';\n @HostBinding('id') get hostId() {\n return this.id;\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]',\n imports: [],\n templateUrl: './govuk-table-body-row.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableBodyRowComponent {\n @Input({ required: false }) public bodyRowClasses: string = '';\n @HostBinding('class') get hostClass() {\n return `govuk-table__row ${this.bodyRowClasses}`;\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]',\n imports: [],\n templateUrl: './govuk-table-heading.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableHeadingComponent {\n @HostBinding('class') hostClass = `govuk-table__header`;\n @HostBinding('scope') get hostScope() {\n return 'col';\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table',\n imports: [],\n templateUrl: './govuk-table.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableComponent {\n @Input({ required: false }) public tableClasses!: string;\n}\n","<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,8BAA8B,CAAA;AACd,IAAA,EAAE;IAEP,SAAS,GAAG,mBAAmB;AACrD,IAAA,IAAuB,MAAM,GAAA;QAC3B,OAAO,IAAI,CAAC,EAAE;;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-table.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row-data/govuk-table-body-row-data.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-body-row/govuk-table-body-row.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-heading/govuk-table-heading.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table-heading/govuk-table-heading.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-table/govuk-table.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-table/hmcts-opal-frontend-common-components-govuk-govuk-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]',\n imports: [],\n templateUrl: './govuk-table-body-row-data.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableBodyRowDataComponent {\n @Input({ required: true }) id!: string;\n\n @HostBinding('class') hostClass = 'govuk-table__cell';\n @HostBinding('id') get hostId() {\n return this.id;\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]',\n imports: [],\n templateUrl: './govuk-table-body-row.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableBodyRowComponent {\n @Input({ required: false }) public bodyRowClasses: string = '';\n @HostBinding('class') get hostClass() {\n return `govuk-table__row ${this.bodyRowClasses}`;\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]',\n imports: [],\n templateUrl: './govuk-table-heading.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableHeadingComponent {\n @HostBinding('class') hostClass = `govuk-table__header`;\n @HostBinding('scope') get hostScope() {\n return 'col';\n }\n}\n","<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-table',\n imports: [],\n templateUrl: './govuk-table.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTableComponent {\n @Input({ required: false }) public tableClasses!: string;\n}\n","<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,8BAA8B,CAAA;AACd,IAAA,EAAE;IAEP,SAAS,GAAG,mBAAmB;AACrD,IAAA,IAAuB,MAAM,GAAA;QAC3B,OAAO,IAAI,CAAC,EAAE;;wGALL,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA9B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,8BAA8B,oOCR3C,6BACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDOa,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAN1C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0EAA0E,EAC3E,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6BAAA,EAAA;8BAGpB,EAAE,EAAA,CAAA;sBAA5B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAEH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areComponent({ minVersion: "14.0.0", version: "19.2.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTabListItemComponent, isStandalone: true, selector: "opal-lib-govuk-tab-list-item", inputs: { tabsId: "tabsId", tabsListItemId: "tabsListItemId", tabListItemHref: "tabListItemHref", tabListItemName: "tabListItemName" }, ngImport: i0, template: "<li class=\"govuk-tabs__list-item\" [id]=\"tabsId + _tabsListItemId\">\n <a class=\"govuk-tabs__tab\" [href]=\"tabListItemHref\"> {{ tabListItemName }} </a>\n</li>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabListItemComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'opal-lib-govuk-tab-list-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<li class=\"govuk-tabs__list-item\" [id]=\"tabsId + _tabsListItemId\">\n <a class=\"govuk-tabs__tab\" [href]=\"tabListItemHref\"> {{ tabListItemName }} </a>\n</li>\n" }]
|
|
21
21
|
}], propDecorators: { tabsId: [{
|
|
@@ -39,10 +39,10 @@ class GovukTabPanelComponent {
|
|
|
39
39
|
set tabsPanelId(tabsPanelId) {
|
|
40
40
|
this._tabsPanelId = this.utilService.upperCaseFirstLetter(tabsPanelId);
|
|
41
41
|
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTabPanelComponent, isStandalone: true, selector: "opal-lib-govuk-tab-panel", inputs: { tabsId: "tabsId", tabsPanelId: "tabsPanelId" }, ngImport: i0, template: "<div class=\"govuk-tabs__panel\" [id]=\"tabsId + _tabsPanelId\">\n <ng-content></ng-content>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabPanelComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: 'opal-lib-govuk-tab-panel', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-tabs__panel\" [id]=\"tabsId + _tabsPanelId\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
48
48
|
}], propDecorators: { tabsId: [{
|
|
@@ -68,10 +68,10 @@ class GovukTabsComponent {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
72
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTabsComponent, isStandalone: true, selector: "opal-lib-govuk-tabs", inputs: { tabsId: "tabsId" }, ngImport: i0, template: "<div class=\"govuk-tabs\" data-module=\"govuk-tabs\" [id]=\"tabsId\">\n <h2 class=\"govuk-tabs__title\">Contents</h2>\n <ul class=\"govuk-tabs__list\">\n <ng-content select=\"[items]\"></ng-content>\n </ul>\n <ng-content select=\"[panels]\"></ng-content>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTabsComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
76
|
args: [{ selector: 'opal-lib-govuk-tabs', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-tabs\" data-module=\"govuk-tabs\" [id]=\"tabsId\">\n <h2 class=\"govuk-tabs__title\">Contents</h2>\n <ul class=\"govuk-tabs__list\">\n <ng-content select=\"[items]\"></ng-content>\n </ul>\n <ng-content select=\"[panels]\"></ng-content>\n</div>\n" }]
|
|
77
77
|
}], propDecorators: { tabsId: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-panel/govuk-tab-panel.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-panel/govuk-tab-panel.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tabs.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tabs.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/hmcts-opal-frontend-common-components-govuk-govuk-tabs.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, inject } from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-tab-list-item',\n imports: [],\n templateUrl: './govuk-tab-list-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabListItemComponent {\n private readonly utilService = inject(UtilsService);\n public _tabsListItemId!: string;\n\n @Input({ required: true }) public tabsId!: string;\n @Input({ required: true }) set tabsListItemId(tabsListItemId: string) {\n this._tabsListItemId = this.utilService.upperCaseFirstLetter(tabsListItemId);\n }\n\n @Input({ required: true }) public tabListItemHref!: string;\n @Input({ required: true }) public tabListItemName!: string;\n}\n","<li class=\"govuk-tabs__list-item\" [id]=\"tabsId + _tabsListItemId\">\n <a class=\"govuk-tabs__tab\" [href]=\"tabListItemHref\"> {{ tabListItemName }} </a>\n</li>\n","import { ChangeDetectionStrategy, Component, Input, inject } from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-tab-panel',\n imports: [],\n templateUrl: './govuk-tab-panel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabPanelComponent {\n private readonly utilService = inject(UtilsService);\n public _tabsPanelId!: string;\n\n @Input({ required: true }) public tabsId!: string;\n @Input({ required: true }) set tabsPanelId(tabsPanelId: string) {\n this._tabsPanelId = this.utilService.upperCaseFirstLetter(tabsPanelId);\n }\n}\n","<div class=\"govuk-tabs__panel\" [id]=\"tabsId + _tabsPanelId\">\n <ng-content></ng-content>\n</div>\n","import { isPlatformBrowser } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Input, PLATFORM_ID, inject } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-tabs',\n imports: [],\n templateUrl: './govuk-tabs.component.html',\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabsComponent implements AfterViewInit {\n private readonly platformId = inject(PLATFORM_ID);\n\n @Input({ required: true }) public tabsId!: string;\n /**\n * Lifecycle hook that is called after Angular has fully initialized the component's view.\n * It is called only once after the first ngAfterContentChecked.\n * We use it to initialize the govuk-frontend component.\n */\n ngAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n import('govuk-frontend').then((govuk) => {\n govuk.initAll();\n });\n }\n }\n}\n","<div class=\"govuk-tabs\" data-module=\"govuk-tabs\" [id]=\"tabsId\">\n <h2 class=\"govuk-tabs__title\">Contents</h2>\n <ul class=\"govuk-tabs__list\">\n <ng-content select=\"[items]\"></ng-content>\n </ul>\n <ng-content select=\"[panels]\"></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MASa,yBAAyB,CAAA;AACnB,IAAA,WAAW,GAAG,MAAM,CAAC,YAAY,CAAC;AAC5C,IAAA,eAAe;AAEY,IAAA,MAAM;IACxC,IAA+B,cAAc,CAAC,cAAsB,EAAA;QAClE,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC,cAAc,CAAC;;AAG5C,IAAA,eAAe;AACf,IAAA,eAAe;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-list-item/govuk-tab-list-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-panel/govuk-tab-panel.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tab-panel/govuk-tab-panel.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tabs.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/govuk-tabs.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tabs/hmcts-opal-frontend-common-components-govuk-govuk-tabs.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, inject } from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-tab-list-item',\n imports: [],\n templateUrl: './govuk-tab-list-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabListItemComponent {\n private readonly utilService = inject(UtilsService);\n public _tabsListItemId!: string;\n\n @Input({ required: true }) public tabsId!: string;\n @Input({ required: true }) set tabsListItemId(tabsListItemId: string) {\n this._tabsListItemId = this.utilService.upperCaseFirstLetter(tabsListItemId);\n }\n\n @Input({ required: true }) public tabListItemHref!: string;\n @Input({ required: true }) public tabListItemName!: string;\n}\n","<li class=\"govuk-tabs__list-item\" [id]=\"tabsId + _tabsListItemId\">\n <a class=\"govuk-tabs__tab\" [href]=\"tabListItemHref\"> {{ tabListItemName }} </a>\n</li>\n","import { ChangeDetectionStrategy, Component, Input, inject } from '@angular/core';\nimport { UtilsService } from '@hmcts/opal-frontend-common/services/utils-service';\n\n@Component({\n selector: 'opal-lib-govuk-tab-panel',\n imports: [],\n templateUrl: './govuk-tab-panel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabPanelComponent {\n private readonly utilService = inject(UtilsService);\n public _tabsPanelId!: string;\n\n @Input({ required: true }) public tabsId!: string;\n @Input({ required: true }) set tabsPanelId(tabsPanelId: string) {\n this._tabsPanelId = this.utilService.upperCaseFirstLetter(tabsPanelId);\n }\n}\n","<div class=\"govuk-tabs__panel\" [id]=\"tabsId + _tabsPanelId\">\n <ng-content></ng-content>\n</div>\n","import { isPlatformBrowser } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, Input, PLATFORM_ID, inject } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-tabs',\n imports: [],\n templateUrl: './govuk-tabs.component.html',\n\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTabsComponent implements AfterViewInit {\n private readonly platformId = inject(PLATFORM_ID);\n\n @Input({ required: true }) public tabsId!: string;\n /**\n * Lifecycle hook that is called after Angular has fully initialized the component's view.\n * It is called only once after the first ngAfterContentChecked.\n * We use it to initialize the govuk-frontend component.\n */\n ngAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n import('govuk-frontend').then((govuk) => {\n govuk.initAll();\n });\n }\n }\n}\n","<div class=\"govuk-tabs\" data-module=\"govuk-tabs\" [id]=\"tabsId\">\n <h2 class=\"govuk-tabs__title\">Contents</h2>\n <ul class=\"govuk-tabs__list\">\n <ng-content select=\"[items]\"></ng-content>\n </ul>\n <ng-content select=\"[panels]\"></ng-content>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MASa,yBAAyB,CAAA;AACnB,IAAA,WAAW,GAAG,MAAM,CAAC,YAAY,CAAC;AAC5C,IAAA,eAAe;AAEY,IAAA,MAAM;IACxC,IAA+B,cAAc,CAAC,cAAsB,EAAA;QAClE,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC,cAAc,CAAC;;AAG5C,IAAA,eAAe;AACf,IAAA,eAAe;wGAVtC,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAzB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,gOCTtC,wKAGA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDMa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,8BAA8B,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,WAAW,EAAA,CAAA;sBAAzC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;MEJd,kBAAkB,CAAA;AACZ,IAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAEf,IAAA,MAAM;AACxC;;;;AAIG;IACH,eAAe,GAAA;AACb,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACtC,OAAO,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAI;gBACtC,KAAK,CAAC,OAAO,EAAE;AACjB,aAAC,CAAC;;;wGAbK,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,6GCV/B,iRAOA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDGa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EACtB,OAAA,EAAA,EAAE,EAGM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,iRAAA,EAAA;8BAKb,MAAM,EAAA,CAAA;sBAAvC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;;AEb3B;;AAEG;;;;"}
|
|
@@ -4,10 +4,10 @@ import { Input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
4
4
|
class GovukTagComponent {
|
|
5
5
|
tagId;
|
|
6
6
|
tagClasses;
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTagComponent, isStandalone: true, selector: "opal-lib-govuk-tag", inputs: { tagId: "tagId", tagClasses: "tagClasses" }, ngImport: i0, template: "<strong class=\"govuk-tag {{ tagClasses }}\" [id]=\"tagId\"> <ng-content></ng-content> </strong>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTagComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{ selector: 'opal-lib-govuk-tag', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<strong class=\"govuk-tag {{ tagClasses }}\" [id]=\"tagId\"> <ng-content></ng-content> </strong>\n" }]
|
|
13
13
|
}], propDecorators: { tagId: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-tag/govuk-tag.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tag/govuk-tag.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tag/hmcts-opal-frontend-common-components-govuk-govuk-tag.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-tag',\n imports: [],\n templateUrl: './govuk-tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTagComponent {\n @Input({ required: true }) tagId!: string;\n @Input({ required: false }) tagClasses!: string;\n}\n","<strong class=\"govuk-tag {{ tagClasses }}\" [id]=\"tagId\"> <ng-content></ng-content> </strong>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,iBAAiB,CAAA;AACD,IAAA,KAAK;AACJ,IAAA,UAAU;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-tag/govuk-tag.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-tag/govuk-tag.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-tag/hmcts-opal-frontend-common-components-govuk-govuk-tag.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-tag',\n imports: [],\n templateUrl: './govuk-tag.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTagComponent {\n @Input({ required: true }) tagId!: string;\n @Input({ required: false }) tagClasses!: string;\n}\n","<strong class=\"govuk-tag {{ tagClasses }}\" [id]=\"tagId\"> <ng-content></ng-content> </strong>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,iBAAiB,CAAA;AACD,IAAA,KAAK;AACJ,IAAA,UAAU;wGAF3B,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,oICR9B,oGACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDOa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EACrB,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,oGAAA,EAAA;8BAGpB,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,UAAU,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEV5B;;AAEG;;;;"}
|
|
@@ -5,10 +5,10 @@ class GovukTaskListItemComponent {
|
|
|
5
5
|
taskListItemId;
|
|
6
6
|
taskListStatusId;
|
|
7
7
|
taskListItemClasses;
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
9
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTaskListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTaskListItemComponent, isStandalone: true, selector: "opal-lib-govuk-task-list-item", inputs: { taskListItemId: "taskListItemId", taskListStatusId: "taskListStatusId", taskListItemClasses: "taskListItemClasses" }, ngImport: i0, template: "<li class=\"govuk-task-list__item {{ taskListItemClasses }}\" [id]=\"taskListItemId\" role=\"listitem\">\n <div class=\"govuk-task-list__name-and-hint\">\n <ng-content select=\"[name]\"></ng-content>\n </div>\n <div class=\"govuk-task-list__status\" [id]=\"taskListStatusId\">\n <ng-content select=\"[status]\"></ng-content>\n </div>\n</li>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTaskListItemComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'opal-lib-govuk-task-list-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<li class=\"govuk-task-list__item {{ taskListItemClasses }}\" [id]=\"taskListItemId\" role=\"listitem\">\n <div class=\"govuk-task-list__name-and-hint\">\n <ng-content select=\"[name]\"></ng-content>\n </div>\n <div class=\"govuk-task-list__status\" [id]=\"taskListStatusId\">\n <ng-content select=\"[status]\"></ng-content>\n </div>\n</li>\n" }]
|
|
14
14
|
}], propDecorators: { taskListItemId: [{
|
|
@@ -25,10 +25,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImpor
|
|
|
25
25
|
class GovukTaskListComponent {
|
|
26
26
|
taskListId;
|
|
27
27
|
taskListClasses;
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTaskListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.11", type: GovukTaskListComponent, isStandalone: true, selector: "opal-lib-govuk-task-list", inputs: { taskListId: "taskListId", taskListClasses: "taskListClasses" }, ngImport: i0, template: "<ul class=\"govuk-task-list {{ taskListClasses }}\" [id]=\"taskListId\" role=\"list\">\n <ng-content></ng-content>\n</ul>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTaskListComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: 'opal-lib-govuk-task-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"govuk-task-list {{ taskListClasses }}\" [id]=\"taskListId\" role=\"list\">\n <ng-content></ng-content>\n</ul>\n" }]
|
|
34
34
|
}], propDecorators: { taskListId: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/hmcts-opal-frontend-common-components-govuk-govuk-task-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-task-list-item',\n imports: [],\n templateUrl: './govuk-task-list-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTaskListItemComponent {\n @Input({ required: true }) taskListItemId!: string;\n @Input({ required: true }) taskListStatusId!: string;\n @Input({ required: false }) taskListItemClasses!: string;\n}\n","<li class=\"govuk-task-list__item {{ taskListItemClasses }}\" [id]=\"taskListItemId\" role=\"listitem\">\n <div class=\"govuk-task-list__name-and-hint\">\n <ng-content select=\"[name]\"></ng-content>\n </div>\n <div class=\"govuk-task-list__status\" [id]=\"taskListStatusId\">\n <ng-content select=\"[status]\"></ng-content>\n </div>\n</li>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-task-list',\n imports: [],\n templateUrl: './govuk-task-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTaskListComponent {\n @Input({ required: true }) taskListId!: string;\n @Input({ required: false }) taskListClasses!: string;\n}\n","<ul class=\"govuk-task-list {{ taskListClasses }}\" [id]=\"taskListId\" role=\"list\">\n <ng-content></ng-content>\n</ul>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,0BAA0B,CAAA;AACV,IAAA,cAAc;AACd,IAAA,gBAAgB;AACf,IAAA,mBAAmB;
|
|
1
|
+
{"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list-item/govuk-task-list-item.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/govuk-task-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-task-list/hmcts-opal-frontend-common-components-govuk-govuk-task-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-task-list-item',\n imports: [],\n templateUrl: './govuk-task-list-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTaskListItemComponent {\n @Input({ required: true }) taskListItemId!: string;\n @Input({ required: true }) taskListStatusId!: string;\n @Input({ required: false }) taskListItemClasses!: string;\n}\n","<li class=\"govuk-task-list__item {{ taskListItemClasses }}\" [id]=\"taskListItemId\" role=\"listitem\">\n <div class=\"govuk-task-list__name-and-hint\">\n <ng-content select=\"[name]\"></ng-content>\n </div>\n <div class=\"govuk-task-list__status\" [id]=\"taskListStatusId\">\n <ng-content select=\"[status]\"></ng-content>\n </div>\n</li>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-task-list',\n imports: [],\n templateUrl: './govuk-task-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukTaskListComponent {\n @Input({ required: true }) taskListId!: string;\n @Input({ required: false }) taskListClasses!: string;\n}\n","<ul class=\"govuk-task-list {{ taskListClasses }}\" [id]=\"taskListId\" role=\"list\">\n <ng-content></ng-content>\n</ul>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,0BAA0B,CAAA;AACV,IAAA,cAAc;AACd,IAAA,gBAAgB;AACf,IAAA,mBAAmB;wGAHpC,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,yNCRvC,kWAQA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDAa,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,EAChC,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kWAAA,EAAA;8BAGpB,cAAc,EAAA,CAAA;sBAAxC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACE,gBAAgB,EAAA,CAAA;sBAA1C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,mBAAmB,EAAA,CAAA;sBAA9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;MEHf,sBAAsB,CAAA;AACN,IAAA,UAAU;AACT,IAAA,eAAe;wGAFhC,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,8JCRnC,8HAGA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDKa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0BAA0B,EAC3B,OAAA,EAAA,EAAE,EAEM,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8HAAA,EAAA;8BAGpB,UAAU,EAAA,CAAA;sBAApC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACG,eAAe,EAAA,CAAA;sBAA1C,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEV5B;;AAEG;;;;"}
|
|
@@ -27,10 +27,10 @@ class GovukTextAreaComponent {
|
|
|
27
27
|
get remainingCharacterCount() {
|
|
28
28
|
return this.maxCharacterLimit - (this._control.value?.length ?? 0);
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
31
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTextAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.11", type: GovukTextAreaComponent, isStandalone: true, selector: "opal-lib-govuk-text-area", inputs: { labelText: "labelText", labelClasses: "labelClasses", inputId: "inputId", inputName: "inputName", inputClasses: "inputClasses", hintText: "hintText", inputMode: "inputMode", errors: "errors", rows: "rows", characterCountEnabled: "characterCountEnabled", maxCharacterLimit: "maxCharacterLimit", control: "control" }, ngImport: i0, template: "<div class=\"govuk-form-group govuk-character-count\" [class.govuk-form-group--error]=\"!!errors\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\">\n {{ labelText }}\n </label>\n </h1>\n @if (hintText) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\">\n {{ hintText }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <textarea\n class=\"govuk-textarea {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [rows]=\"rows\"\n [formControl]=\"getControl\"\n [inputMode]=\"inputMode\"\n [maxlength]=\"maxCharacterLimit\"\n ></textarea>\n @if (characterCountEnabled) {\n <div [id]=\"inputId + '-hint'\" class=\"govuk-hint\">\n You have {{ remainingCharacterCount }} character{{ remainingCharacterCount === 1 ? '' : 's' }} remaining\n </div>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: GovukTextAreaComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: 'opal-lib-govuk-text-area', imports: [CommonModule, ReactiveFormsModule], template: "<div class=\"govuk-form-group govuk-character-count\" [class.govuk-form-group--error]=\"!!errors\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"inputId\">\n {{ labelText }}\n </label>\n </h1>\n @if (hintText) {\n <div id=\"{{ inputId }}-hint\" class=\"govuk-hint\">\n {{ hintText }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.inputId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <textarea\n class=\"govuk-textarea {{ inputClasses }}\"\n [id]=\"inputId\"\n [name]=\"inputName\"\n type=\"text\"\n [rows]=\"rows\"\n [formControl]=\"getControl\"\n [inputMode]=\"inputMode\"\n [maxlength]=\"maxCharacterLimit\"\n ></textarea>\n @if (characterCountEnabled) {\n <div [id]=\"inputId + '-hint'\" class=\"govuk-hint\">\n You have {{ remainingCharacterCount }} character{{ remainingCharacterCount === 1 ? '' : 's' }} remaining\n </div>\n }\n</div>\n" }]
|
|
36
36
|
}], propDecorators: { labelText: [{
|