@hmcts/ccd-case-ui-toolkit 7.3.68-govuk → 7.3.68-govuk2
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.
|
@@ -37531,38 +37531,58 @@ class CaseViewerComponent {
|
|
|
37531
37531
|
/**
|
|
37532
37532
|
* Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.ts
|
|
37533
37533
|
*/
|
|
37534
|
+
function ErrorMessageComponent_ng_container_0_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
37535
|
+
i0.ɵɵelementStart(0, "a", 6);
|
|
37536
|
+
i0.ɵɵtext(1);
|
|
37537
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37538
|
+
i0.ɵɵelementEnd();
|
|
37539
|
+
} if (rf & 2) {
|
|
37540
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37541
|
+
i0.ɵɵproperty("fragment", ctx_r0.error.fieldId);
|
|
37542
|
+
i0.ɵɵadvance();
|
|
37543
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.error.description));
|
|
37544
|
+
} }
|
|
37545
|
+
function ErrorMessageComponent_ng_container_0_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
37546
|
+
i0.ɵɵelementStart(0, "span");
|
|
37547
|
+
i0.ɵɵtext(1);
|
|
37548
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
37549
|
+
i0.ɵɵelementEnd();
|
|
37550
|
+
} if (rf & 2) {
|
|
37551
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
37552
|
+
i0.ɵɵadvance();
|
|
37553
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.error.description));
|
|
37554
|
+
} }
|
|
37534
37555
|
function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
37535
37556
|
i0.ɵɵelementContainerStart(0);
|
|
37536
37557
|
i0.ɵɵelementStart(1, "div", 1)(2, "h2", 2);
|
|
37537
37558
|
i0.ɵɵtext(3);
|
|
37538
37559
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
37539
37560
|
i0.ɵɵelementEnd();
|
|
37540
|
-
i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li")
|
|
37541
|
-
i0.ɵɵ
|
|
37542
|
-
i0.ɵɵ
|
|
37543
|
-
i0.ɵɵelementEnd()()()()();
|
|
37561
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li");
|
|
37562
|
+
i0.ɵɵtemplate(8, ErrorMessageComponent_ng_container_0_a_8_Template, 3, 4, "a", 5)(9, ErrorMessageComponent_ng_container_0_span_9_Template, 3, 3, "span", 0);
|
|
37563
|
+
i0.ɵɵelementEnd()()()();
|
|
37544
37564
|
i0.ɵɵelementContainerEnd();
|
|
37545
37565
|
} if (rf & 2) {
|
|
37546
37566
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
37547
37567
|
i0.ɵɵadvance(3);
|
|
37548
37568
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 3, ctx_r0.error.title));
|
|
37549
37569
|
i0.ɵɵadvance(5);
|
|
37550
|
-
i0.ɵɵproperty("
|
|
37570
|
+
i0.ɵɵproperty("ngIf", ctx_r0.error.fieldId);
|
|
37551
37571
|
i0.ɵɵadvance();
|
|
37552
|
-
i0.ɵɵ
|
|
37572
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.error.fieldId);
|
|
37553
37573
|
} }
|
|
37554
37574
|
class ErrorMessageComponent {
|
|
37555
37575
|
error;
|
|
37556
37576
|
static ɵfac = function ErrorMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorMessageComponent)(); };
|
|
37557
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["routerLink", ".", "tabindex", "0", 3, "fragment"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37558
|
-
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template,
|
|
37577
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["routerLink", ".", "tabindex", "0", 3, "fragment", 4, "ngIf"], ["routerLink", ".", "tabindex", "0", 3, "fragment"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37578
|
+
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template, 10, 5, "ng-container", 0);
|
|
37559
37579
|
} if (rf & 2) {
|
|
37560
37580
|
i0.ɵɵproperty("ngIf", ctx.error);
|
|
37561
37581
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37562
37582
|
}
|
|
37563
37583
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMessageComponent, [{
|
|
37564
37584
|
type: Component,
|
|
37565
|
-
args: [{ selector: 'exui-error-message', standalone: false, template: "<!-- Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.html -->\n<ng-container *ngIf=\"error\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">{{error.title | rpxTranslate}}</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a routerLink=\".\" tabindex=\"0\" [fragment]=\"error.fieldId\">{{error.description | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n" }]
|
|
37585
|
+
args: [{ selector: 'exui-error-message', standalone: false, template: "<!-- Cloned from rpx-xui-webapp src/app/components/error-message/error-message.component.html -->\n<ng-container *ngIf=\"error\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">{{error.title | rpxTranslate}}</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a *ngIf=\"error.fieldId\" routerLink=\".\" tabindex=\"0\" [fragment]=\"error.fieldId\">{{error.description | rpxTranslate}}</a>\n <span *ngIf=\"!error.fieldId\">{{error.description | rpxTranslate}}</span>\n </li>\n </ul>\n </div>\n </div>\n</ng-container>\n" }]
|
|
37566
37586
|
}], null, { error: [{
|
|
37567
37587
|
type: Input
|
|
37568
37588
|
}] }); })();
|
|
@@ -38869,7 +38889,8 @@ class CaseChallengedAccessRequestComponent {
|
|
|
38869
38889
|
if (this.formGroup.get(this.radioSelectedControlName).invalid) {
|
|
38870
38890
|
this.errorMessage = {
|
|
38871
38891
|
title: this.genericError,
|
|
38872
|
-
description: ChallengedAccessRequestErrors.NO_SELECTION
|
|
38892
|
+
description: ChallengedAccessRequestErrors.NO_SELECTION,
|
|
38893
|
+
fieldId: 'error-message'
|
|
38873
38894
|
};
|
|
38874
38895
|
}
|
|
38875
38896
|
else {
|