@hmcts/ccd-case-ui-toolkit 7.2.49-test-log-errors → 7.2.50-exui-3209
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/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +16 -5
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +34 -26
- package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +26 -20
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +76 -52
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +4 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,18 +9,28 @@ import * as i4 from "../utils/first-error.pipe";
|
|
|
9
9
|
import * as i5 from "rpx-xui-translation";
|
|
10
10
|
const _c0 = a0 => ({ "form-group-error": a0 });
|
|
11
11
|
const _c1 = a0 => ({ "govuk-input--error": a0 });
|
|
12
|
-
function
|
|
13
|
-
i0.ɵɵelementStart(0, "span",
|
|
12
|
+
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
14
14
|
i0.ɵɵtext(1);
|
|
15
15
|
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
16
16
|
i0.ɵɵelementEnd();
|
|
17
17
|
} if (rf & 2) {
|
|
18
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
23
|
-
i0.ɵɵelementStart(0, "
|
|
22
|
+
function WriteTextFieldComponent_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "label", 5);
|
|
24
|
+
i0.ɵɵtemplate(1, WriteTextFieldComponent_label_1_span_1_Template, 3, 3, "span", 6);
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
28
|
+
i0.ɵɵproperty("for", ctx_r0.id());
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("ngIf", ctx_r0.caseField.label);
|
|
31
|
+
} }
|
|
32
|
+
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵelementStart(0, "span", 8);
|
|
24
34
|
i0.ɵɵtext(1);
|
|
25
35
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
26
36
|
i0.ɵɵelementEnd();
|
|
@@ -29,8 +39,8 @@ function WriteTextFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
29
39
|
i0.ɵɵadvance();
|
|
30
40
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField.hint_text));
|
|
31
41
|
} }
|
|
32
|
-
function
|
|
33
|
-
i0.ɵɵelementStart(0, "span",
|
|
42
|
+
function WriteTextFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
34
44
|
i0.ɵɵtext(1);
|
|
35
45
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
36
46
|
i0.ɵɵelementEnd();
|
|
@@ -48,31 +58,27 @@ export class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
48
58
|
$event.target.value = $event.target.value.trim();
|
|
49
59
|
}
|
|
50
60
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteTextFieldComponent_BaseFactory; return function WriteTextFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteTextFieldComponent_BaseFactory || (ɵWriteTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteTextFieldComponent)))(__ngFactoryType__ || WriteTextFieldComponent); }; })();
|
|
51
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
52
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
53
|
-
i0.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
54
|
-
i0.ɵɵ
|
|
55
|
-
i0.ɵɵ
|
|
56
|
-
i0.ɵɵelementStart(5, "input", 5);
|
|
57
|
-
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
61
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "blur", "ngClass", "id", "type", "formControl"], [3, "for"], ["class", "form-label", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
63
|
+
i0.ɵɵtemplate(1, WriteTextFieldComponent_label_1_Template, 2, 2, "label", 1)(2, WriteTextFieldComponent_span_2_Template, 3, 3, "span", 2)(3, WriteTextFieldComponent_span_3_Template, 3, 4, "span", 3);
|
|
64
|
+
i0.ɵɵelementStart(4, "input", 4);
|
|
65
|
+
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
58
66
|
i0.ɵɵelementEnd()();
|
|
59
67
|
} if (rf & 2) {
|
|
60
68
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
61
69
|
i0.ɵɵadvance();
|
|
62
|
-
i0.ɵɵproperty("
|
|
63
|
-
i0.ɵɵadvance();
|
|
64
|
-
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
70
|
+
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
65
71
|
i0.ɵɵadvance();
|
|
66
72
|
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
67
73
|
i0.ɵɵadvance();
|
|
68
74
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
69
75
|
i0.ɵɵadvance();
|
|
70
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
76
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("type", ctx.caseField.hidden ? "hidden" : "text")("formControl", ctx.textControl);
|
|
71
77
|
} }, dependencies: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i3.FieldLabelPipe, i4.FirstErrorPipe, i5.RpxTranslatePipe], encapsulation: 2 });
|
|
72
78
|
}
|
|
73
79
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
74
80
|
type: Component,
|
|
75
|
-
args: [{ selector: 'ccd-write-text-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !!textControl && !textControl.valid && (textControl.dirty || textControl.touched)}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"textControl?.errors && (textControl.dirty || textControl.touched)\">\n {{textControl.errors | ccdFirstError:caseField.label}}\n </span>\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': textControl?.errors && (textControl.dirty || textControl.touched)}\"\n
|
|
81
|
+
args: [{ selector: 'ccd-write-text-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !!textControl && !textControl.valid && (textControl.dirty || textControl.touched)}\">\n <label [for]=\"id()\" *ngIf=\"!caseField.hidden\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"textControl?.errors && (textControl.dirty || textControl.touched)\">\n {{textControl.errors | ccdFirstError:caseField.label}}\n </span>\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': textControl?.errors && (textControl.dirty || textControl.touched)}\"\n [id]=\"id()\" [type]=\"caseField.hidden ? 'hidden' : 'text'\" [formControl]=\"textControl\" (blur)=\"onBlur($event)\">\n</div>\n" }]
|
|
76
82
|
}], null, null); })();
|
|
77
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteTextFieldComponent, { className: "WriteTextFieldComponent", filePath: "lib/shared/components/palette/text/write-text-field.component.ts", lineNumber: 9 }); })();
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtdGV4dC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS90ZXh0L3dyaXRlLXRleHQtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdGV4dC93cml0ZS10ZXh0LWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sOENBQThDLENBQUM7Ozs7Ozs7Ozs7SUNBdkYsK0JBQWlEO0lBQUEsWUFBNkI7O0lBQUEsaUJBQU87OztJQUFwQyxjQUE2QjtJQUE3Qiw0REFBNkI7OztJQURoRixnQ0FBOEM7SUFDNUMsa0ZBQWlEO0lBQ25ELGlCQUFROzs7SUFGRCxpQ0FBWTtJQUNTLGNBQXFCO0lBQXJCLDZDQUFxQjs7O0lBRWpELCtCQUFvRDtJQUFBLFlBQXNDOztJQUFBLGlCQUFPOzs7SUFBN0MsY0FBc0M7SUFBdEMsc0VBQXNDOzs7SUFDMUYsK0JBQXNHO0lBQ3BHLFlBQ0Y7O0lBQUEsaUJBQU87OztJQURMLGNBQ0Y7SUFERSx3R0FDRjs7QURDRixNQUFNLE9BQU8sdUJBQXdCLFNBQVEsMkJBQTJCO0lBRS9ELFdBQVcsQ0FBYztJQUV6QixRQUFRO1FBQ2IsSUFBSSxDQUFDLFdBQVcsR0FBRyxJQUFJLENBQUMsZUFBZSxDQUFDLElBQUksV0FBVyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsS0FBSyxDQUFDLENBQWdCLENBQUM7SUFDaEcsQ0FBQztJQUVNLE1BQU0sQ0FBQyxNQUFNO1FBQ2xCLE1BQU0sQ0FBQyxNQUFNLENBQUMsS0FBSyxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ25ELENBQUM7eVFBVlUsdUJBQXVCLHlCQUF2Qix1QkFBdUI7NkRBQXZCLHVCQUF1QjtZQ1JwQyw4QkFBNEk7WUFLMUksQUFEQSxBQUhBLDRFQUE4Qyw2REFHTSw2REFDa0Q7WUFHdEcsZ0NBQ2dIO1lBQXhCLHVHQUFRLGtCQUFjLElBQUM7WUFDakgsQUFGRSxpQkFDZ0gsRUFDNUc7O1lBVmtCLHVKQUFtSDtZQUNwSCxjQUF1QjtZQUF2Qiw0Q0FBdUI7WUFHbkIsY0FBeUI7WUFBekIsOENBQXlCO1lBQ3JCLGNBQXVFO1lBQXZFLHNJQUF1RTtZQUc5RCxjQUFxRztZQUMvRSxBQUE5QyxBQUFaLEFBRG9DLHNLQUFxRyxnQkFDOUgsa0RBQThDLGdDQUE0Qjs7O2lGREQ1RSx1QkFBdUI7Y0FKbkMsU0FBUzsyQkFDRSxzQkFBc0I7O2tGQUdyQix1QkFBdUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRm9ybUNvbnRyb2wgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgeyBBYnN0cmFjdEZpZWxkV3JpdGVDb21wb25lbnQgfSBmcm9tICcuLi9iYXNlLWZpZWxkL2Fic3RyYWN0LWZpZWxkLXdyaXRlLmNvbXBvbmVudCc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2NjZC13cml0ZS10ZXh0LWZpZWxkJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3dyaXRlLXRleHQtZmllbGQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgV3JpdGVUZXh0RmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkV3JpdGVDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIHB1YmxpYyB0ZXh0Q29udHJvbDogRm9ybUNvbnRyb2w7XG5cbiAgcHVibGljIG5nT25Jbml0KCkge1xuICAgIHRoaXMudGV4dENvbnRyb2wgPSB0aGlzLnJlZ2lzdGVyQ29udHJvbChuZXcgRm9ybUNvbnRyb2wodGhpcy5jYXNlRmllbGQudmFsdWUpKSBhcyBGb3JtQ29udHJvbDtcbiAgfVxuXG4gIHB1YmxpYyBvbkJsdXIoJGV2ZW50KSB7XG4gICAgJGV2ZW50LnRhcmdldC52YWx1ZSA9ICRldmVudC50YXJnZXQudmFsdWUudHJpbSgpO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiIFtuZ0NsYXNzXT1cInsnZm9ybS1ncm91cC1lcnJvcic6ICEhdGV4dENvbnRyb2wgJiYgIXRleHRDb250cm9sLnZhbGlkICYmICh0ZXh0Q29udHJvbC5kaXJ0eSB8fCB0ZXh0Q29udHJvbC50b3VjaGVkKX1cIj5cbiAgPGxhYmVsIFtmb3JdPVwiaWQoKVwiICpuZ0lmPVwiIWNhc2VGaWVsZC5oaWRkZW5cIj5cbiAgICA8c3BhbiBjbGFzcz1cImZvcm0tbGFiZWxcIiAqbmdJZj1cImNhc2VGaWVsZC5sYWJlbFwiPnt7Y2FzZUZpZWxkIHwgY2NkRmllbGRMYWJlbH19PC9zcGFuPlxuICA8L2xhYmVsPlxuICA8c3BhbiBjbGFzcz1cImZvcm0taGludFwiICpuZ0lmPVwiY2FzZUZpZWxkLmhpbnRfdGV4dFwiPnt7Y2FzZUZpZWxkLmhpbnRfdGV4dCB8IHJweFRyYW5zbGF0ZX19PC9zcGFuPlxuICA8c3BhbiBjbGFzcz1cImVycm9yLW1lc3NhZ2VcIiAqbmdJZj1cInRleHRDb250cm9sPy5lcnJvcnMgJiYgKHRleHRDb250cm9sLmRpcnR5IHx8IHRleHRDb250cm9sLnRvdWNoZWQpXCI+XG4gICAge3t0ZXh0Q29udHJvbC5lcnJvcnMgfCBjY2RGaXJzdEVycm9yOmNhc2VGaWVsZC5sYWJlbH19XG4gIDwvc3Bhbj5cbiAgPGlucHV0IGNsYXNzPVwiZm9ybS1jb250cm9sIGJvdHRvbS0zMFwiIFtuZ0NsYXNzXT1cInsnZ292dWstaW5wdXQtLWVycm9yJzogdGV4dENvbnRyb2w/LmVycm9ycyAmJiAodGV4dENvbnRyb2wuZGlydHkgfHwgdGV4dENvbnRyb2wudG91Y2hlZCl9XCJcbiAgICBbaWRdPVwiaWQoKVwiIFt0eXBlXT1cImNhc2VGaWVsZC5oaWRkZW4gPyAnaGlkZGVuJyA6ICd0ZXh0J1wiIFtmb3JtQ29udHJvbF09XCJ0ZXh0Q29udHJvbFwiIChibHVyKT1cIm9uQmx1cigkZXZlbnQpXCI+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -14566,7 +14566,17 @@ class RemoveDialogComponent {
|
|
|
14566
14566
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 9 }); })();
|
|
14567
14567
|
|
|
14568
14568
|
const _c0$S = ["collectionItem"];
|
|
14569
|
-
function
|
|
14569
|
+
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
14570
|
+
i0.ɵɵelementStart(0, "h2", 7);
|
|
14571
|
+
i0.ɵɵtext(1);
|
|
14572
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
14573
|
+
i0.ɵɵelementEnd();
|
|
14574
|
+
} if (rf & 2) {
|
|
14575
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
14576
|
+
i0.ɵɵadvance();
|
|
14577
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField), " ");
|
|
14578
|
+
} }
|
|
14579
|
+
function WriteCollectionFieldComponent_h2_6_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14570
14580
|
i0.ɵɵelementStart(0, "span", 10);
|
|
14571
14581
|
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
14572
14582
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14576,7 +14586,7 @@ function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf &
|
|
|
14576
14586
|
i0.ɵɵadvance();
|
|
14577
14587
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField.hint_text));
|
|
14578
14588
|
} }
|
|
14579
|
-
function
|
|
14589
|
+
function WriteCollectionFieldComponent_h2_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14580
14590
|
i0.ɵɵelementStart(0, "span", 12);
|
|
14581
14591
|
i0.ɵɵtext(1);
|
|
14582
14592
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
@@ -14586,9 +14596,9 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14586
14596
|
i0.ɵɵadvance();
|
|
14587
14597
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r0.formArray.errors, ctx_r0.caseField.label), " ");
|
|
14588
14598
|
} }
|
|
14589
|
-
function
|
|
14590
|
-
i0.ɵɵelementStart(0, "h2",
|
|
14591
|
-
i0.ɵɵtemplate(1,
|
|
14599
|
+
function WriteCollectionFieldComponent_h2_6_Template(rf, ctx) { if (rf & 1) {
|
|
14600
|
+
i0.ɵɵelementStart(0, "h2", 7);
|
|
14601
|
+
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_6_span_1_Template, 3, 3, "span", 8)(2, WriteCollectionFieldComponent_h2_6_span_2_Template, 3, 4, "span", 9);
|
|
14592
14602
|
i0.ɵɵelementEnd();
|
|
14593
14603
|
} if (rf & 2) {
|
|
14594
14604
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14597,14 +14607,14 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14597
14607
|
i0.ɵɵadvance();
|
|
14598
14608
|
i0.ɵɵproperty("ngIf", ctx_r0.formArray.errors);
|
|
14599
14609
|
} }
|
|
14600
|
-
function
|
|
14610
|
+
function WriteCollectionFieldComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14601
14611
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14602
14612
|
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 16)(3, "div", 17)(4, "legend", 18)(5, "label", 19)(6, "h3", 20);
|
|
14603
14613
|
i0.ɵɵtext(7);
|
|
14604
14614
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14605
14615
|
i0.ɵɵelementEnd()()()();
|
|
14606
14616
|
i0.ɵɵelementStart(9, "div", 21)(10, "button", 22);
|
|
14607
|
-
i0.ɵɵlistener("click", function
|
|
14617
|
+
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_div_7_div_2_Template_button_click_10_listener() { const i_r3 = i0.ɵɵrestoreView(_r2).index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.openModal(i_r3)); });
|
|
14608
14618
|
i0.ɵɵtext(11);
|
|
14609
14619
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14610
14620
|
i0.ɵɵelementEnd()()();
|
|
@@ -14627,9 +14637,9 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14627
14637
|
i0.ɵɵadvance(2);
|
|
14628
14638
|
i0.ɵɵproperty("caseField", item_r4.caseField)("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("parent", item_r4.container)("idPrefix", item_r4.prefix)("hidden", item_r4.caseField.hidden)("isExpanded", ctx_r0.isExpanded)("isInSearchBlock", ctx_r0.isInSearchBlock);
|
|
14629
14639
|
} }
|
|
14630
|
-
function
|
|
14640
|
+
function WriteCollectionFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
14631
14641
|
i0.ɵɵelementStart(0, "div", 13)(1, "fieldset", 14);
|
|
14632
|
-
i0.ɵɵtemplate(2,
|
|
14642
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_7_div_2_Template, 14, 19, "div", 15);
|
|
14633
14643
|
i0.ɵɵelementEnd()();
|
|
14634
14644
|
} if (rf & 2) {
|
|
14635
14645
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14637,10 +14647,10 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14637
14647
|
i0.ɵɵadvance(2);
|
|
14638
14648
|
i0.ɵɵproperty("ngForOf", ctx_r0.collItems);
|
|
14639
14649
|
} }
|
|
14640
|
-
function
|
|
14650
|
+
function WriteCollectionFieldComponent_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
14641
14651
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14642
14652
|
i0.ɵɵelementStart(0, "button", 24);
|
|
14643
|
-
i0.ɵɵlistener("click", function
|
|
14653
|
+
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.addItem(false)); });
|
|
14644
14654
|
i0.ɵɵtext(1);
|
|
14645
14655
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
14646
14656
|
i0.ɵɵelementEnd();
|
|
@@ -14957,26 +14967,24 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14957
14967
|
} if (rf & 2) {
|
|
14958
14968
|
let _t;
|
|
14959
14969
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
14960
|
-
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
14961
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)
|
|
14962
|
-
i0.ɵɵ
|
|
14963
|
-
i0.ɵɵ
|
|
14964
|
-
i0.ɵɵ
|
|
14965
|
-
i0.ɵɵ
|
|
14966
|
-
i0.ɵɵ
|
|
14967
|
-
i0.ɵɵtext(6);
|
|
14968
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
14970
|
+
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 9, consts: [["collectionItem", ""], [1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "click", "disabled"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], [1, "heading-h2", "error-spacing"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [3, "content"], [1, "error-message"], [1, "form-group", 3, "hidden"], [1, "govuk-fieldset"], ["class", "form-group", 3, "id", 4, "ngFor", "ngForOf"], [1, "collection-title"], [1, "float-left"], [1, "govuk-fieldset__legend"], [3, "for"], [1, "heading-h3"], [1, "float-right"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"], ["type", "button", 1, "button", "write-collection-add-item__bottom", 3, "click", "disabled"]], template: function WriteCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14971
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
14972
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_h2_2_Template, 3, 3, "h2", 3);
|
|
14973
|
+
i0.ɵɵelementStart(3, "button", 4);
|
|
14974
|
+
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_Template_button_click_3_listener() { return ctx.addItem(true); });
|
|
14975
|
+
i0.ɵɵtext(4);
|
|
14976
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
14969
14977
|
i0.ɵɵelementEnd();
|
|
14970
|
-
i0.ɵɵtemplate(
|
|
14978
|
+
i0.ɵɵtemplate(6, WriteCollectionFieldComponent_h2_6_Template, 3, 2, "h2", 3)(7, WriteCollectionFieldComponent_div_7_Template, 3, 2, "div", 5)(8, WriteCollectionFieldComponent_button_8_Template, 3, 4, "button", 6);
|
|
14971
14979
|
i0.ɵɵelementEnd()();
|
|
14972
14980
|
} if (rf & 2) {
|
|
14973
14981
|
i0.ɵɵproperty("id", ctx.id());
|
|
14974
|
-
i0.ɵɵadvance(3);
|
|
14975
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 7, ctx.caseField), " ");
|
|
14976
14982
|
i0.ɵɵadvance(2);
|
|
14983
|
+
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
14984
|
+
i0.ɵɵadvance();
|
|
14977
14985
|
i0.ɵɵproperty("disabled", ctx.isNotAuthorisedToCreate() || ctx.isSearchFilter());
|
|
14978
14986
|
i0.ɵɵadvance();
|
|
14979
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
14987
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 7, "Add new"));
|
|
14980
14988
|
i0.ɵɵadvance(2);
|
|
14981
14989
|
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text || ctx.formArray.errors);
|
|
14982
14990
|
i0.ɵɵadvance();
|
|
@@ -14987,7 +14995,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14987
14995
|
}
|
|
14988
14996
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14989
14997
|
type: Component,
|
|
14990
|
-
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <ccd-markdown [content]=\"caseField.hint_text | rpxTranslate\"></ccd-markdown>\n </span>\n <span *ngIf=\"formArray.errors\" class=\"error-message\">\n {{(formArray.errors | ccdFirstError:caseField.label)}}\n </span>\n </h2>\n\n <div class=\"form-group\" [hidden]=\"caseField.hidden\" *ngIf=\"caseField.value && caseField.value.length\">\n <fieldset class=\"govuk-fieldset\">\n <div *ngFor=\"let item of collItems; let i = index\" #collectionItem\n [id]=\"this.buildIdPrefix(i) + i\" class=\"form-group\">\n <div class=\"collection-title\">\n <div class=\"float-left\">\n <legend class=\"govuk-fieldset__legend\">\n <label [for]=\"item.prefix + i\"><h3 class=\"heading-h3\">{{itemLabel(i) | rpxTranslate}}</h3></label>\n </legend>\n </div>\n <div class=\"float-right\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"openModal(i)\"\n [disabled]=\"isNotAuthorisedToDelete(i)\"\n attr.aria-label=\"Remove {{ itemLabel(i) }}\">{{'Remove' | rpxTranslate}}</button>\n </div>\n </div>\n <ccd-field-write [caseField]=\"item.caseField\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [parent]=\"item.container\"\n [idPrefix]=\"item.prefix\"\n [hidden]=\"item.caseField.hidden\"\n [isExpanded]=\"isExpanded\"\n [isInSearchBlock]=\"isInSearchBlock\">\n </ccd-field-write>\n </div>\n </fieldset>\n </div>\n\n <button class=\"button write-collection-add-item__bottom\" type=\"button\" (click)=\"addItem(false)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\" *ngIf=\"caseField.value && caseField.value.length\">{{'Add new' | rpxTranslate }}</button>\n\n </div>\n\n</div>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
14998
|
+
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"!caseField.hidden\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <ccd-markdown [content]=\"caseField.hint_text | rpxTranslate\"></ccd-markdown>\n </span>\n <span *ngIf=\"formArray.errors\" class=\"error-message\">\n {{(formArray.errors | ccdFirstError:caseField.label)}}\n </span>\n </h2>\n\n <div class=\"form-group\" [hidden]=\"caseField.hidden\" *ngIf=\"caseField.value && caseField.value.length\">\n <fieldset class=\"govuk-fieldset\">\n <div *ngFor=\"let item of collItems; let i = index\" #collectionItem\n [id]=\"this.buildIdPrefix(i) + i\" class=\"form-group\">\n <div class=\"collection-title\">\n <div class=\"float-left\">\n <legend class=\"govuk-fieldset__legend\">\n <label [for]=\"item.prefix + i\"><h3 class=\"heading-h3\">{{itemLabel(i) | rpxTranslate}}</h3></label>\n </legend>\n </div>\n <div class=\"float-right\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"openModal(i)\"\n [disabled]=\"isNotAuthorisedToDelete(i)\"\n attr.aria-label=\"Remove {{ itemLabel(i) }}\">{{'Remove' | rpxTranslate}}</button>\n </div>\n </div>\n <ccd-field-write [caseField]=\"item.caseField\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [parent]=\"item.container\"\n [idPrefix]=\"item.prefix\"\n [hidden]=\"item.caseField.hidden\"\n [isExpanded]=\"isExpanded\"\n [isInSearchBlock]=\"isInSearchBlock\">\n </ccd-field-write>\n </div>\n </fieldset>\n </div>\n\n <button class=\"button write-collection-add-item__bottom\" type=\"button\" (click)=\"addItem(false)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\" *ngIf=\"caseField.value && caseField.value.length\">{{'Add new' | rpxTranslate }}</button>\n\n </div>\n\n</div>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
14991
14999
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14992
15000
|
type: Input
|
|
14993
15001
|
}], items: [{
|
|
@@ -18732,7 +18740,7 @@ class UnLinkCasesComponent extends AbstractFieldWriteJourneyComponent {
|
|
|
18732
18740
|
this.errorMessages.push({
|
|
18733
18741
|
title: 'case-selection',
|
|
18734
18742
|
description: LinkedCasesErrorMessages.UnlinkCaseSelectionError,
|
|
18735
|
-
fieldId: `case-reference-${this.linkedCases[0]
|
|
18743
|
+
fieldId: `case-reference-${this.linkedCases[0]?.caseReference}`
|
|
18736
18744
|
});
|
|
18737
18745
|
this.unlinkErrorMessage = LinkedCasesErrorMessages.UnlinkCaseSelectionError;
|
|
18738
18746
|
navigateToNextPage = false;
|
|
@@ -22729,15 +22737,15 @@ class QueryWriteAddDocumentsComponent {
|
|
|
22729
22737
|
this.documentFormControlSubscription?.unsubscribe();
|
|
22730
22738
|
}
|
|
22731
22739
|
static ɵfac = function QueryWriteAddDocumentsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteAddDocumentsComponent)(); };
|
|
22732
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup", label: "label", hintText: "hintText" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "
|
|
22740
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup", label: "label", hintText: "hintText" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22733
22741
|
i0.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
22734
22742
|
} if (rf & 2) {
|
|
22735
|
-
i0.ɵɵproperty("formGroup", ctx.documentFormGroup)("
|
|
22743
|
+
i0.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
22736
22744
|
} }, encapsulation: 2 });
|
|
22737
22745
|
}
|
|
22738
22746
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
22739
22747
|
type: Component,
|
|
22740
|
-
args: [{ selector: 'ccd-query-write-add-documents', template: "<ccd-write-collection-field [formGroup]=\"documentFormGroup\" [
|
|
22748
|
+
args: [{ selector: 'ccd-query-write-add-documents', template: "<ccd-write-collection-field [formGroup]=\"documentFormGroup\" [caseField]=\"mockDocumentCaseField\">\n</ccd-write-collection-field>\n" }]
|
|
22741
22749
|
}], null, { formGroup: [{
|
|
22742
22750
|
type: Input
|
|
22743
22751
|
}], label: [{
|
|
@@ -23897,18 +23905,28 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
23897
23905
|
|
|
23898
23906
|
const _c0$z = a0 => ({ "form-group-error": a0 });
|
|
23899
23907
|
const _c1$c = a0 => ({ "govuk-input--error": a0 });
|
|
23900
|
-
function
|
|
23901
|
-
i0.ɵɵelementStart(0, "span",
|
|
23908
|
+
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
23909
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
23902
23910
|
i0.ɵɵtext(1);
|
|
23903
23911
|
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
23904
23912
|
i0.ɵɵelementEnd();
|
|
23905
23913
|
} if (rf & 2) {
|
|
23906
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
23914
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23907
23915
|
i0.ɵɵadvance();
|
|
23908
23916
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
23909
23917
|
} }
|
|
23910
|
-
function
|
|
23911
|
-
i0.ɵɵelementStart(0, "
|
|
23918
|
+
function WriteTextFieldComponent_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
23919
|
+
i0.ɵɵelementStart(0, "label", 5);
|
|
23920
|
+
i0.ɵɵtemplate(1, WriteTextFieldComponent_label_1_span_1_Template, 3, 3, "span", 6);
|
|
23921
|
+
i0.ɵɵelementEnd();
|
|
23922
|
+
} if (rf & 2) {
|
|
23923
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
23924
|
+
i0.ɵɵproperty("for", ctx_r0.id());
|
|
23925
|
+
i0.ɵɵadvance();
|
|
23926
|
+
i0.ɵɵproperty("ngIf", ctx_r0.caseField.label);
|
|
23927
|
+
} }
|
|
23928
|
+
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23929
|
+
i0.ɵɵelementStart(0, "span", 8);
|
|
23912
23930
|
i0.ɵɵtext(1);
|
|
23913
23931
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
23914
23932
|
i0.ɵɵelementEnd();
|
|
@@ -23917,8 +23935,8 @@ function WriteTextFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
23917
23935
|
i0.ɵɵadvance();
|
|
23918
23936
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField.hint_text));
|
|
23919
23937
|
} }
|
|
23920
|
-
function
|
|
23921
|
-
i0.ɵɵelementStart(0, "span",
|
|
23938
|
+
function WriteTextFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
23939
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
23922
23940
|
i0.ɵɵtext(1);
|
|
23923
23941
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
23924
23942
|
i0.ɵɵelementEnd();
|
|
@@ -23936,31 +23954,27 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23936
23954
|
$event.target.value = $event.target.value.trim();
|
|
23937
23955
|
}
|
|
23938
23956
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteTextFieldComponent_BaseFactory; return function WriteTextFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteTextFieldComponent_BaseFactory || (ɵWriteTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteTextFieldComponent)))(__ngFactoryType__ || WriteTextFieldComponent); }; })();
|
|
23939
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
23940
|
-
i0.ɵɵelementStart(0, "div", 0)
|
|
23941
|
-
i0.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
23942
|
-
i0.ɵɵ
|
|
23943
|
-
i0.ɵɵ
|
|
23944
|
-
i0.ɵɵelementStart(5, "input", 5);
|
|
23945
|
-
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
23957
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "blur", "ngClass", "id", "type", "formControl"], [3, "for"], ["class", "form-label", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23958
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
23959
|
+
i0.ɵɵtemplate(1, WriteTextFieldComponent_label_1_Template, 2, 2, "label", 1)(2, WriteTextFieldComponent_span_2_Template, 3, 3, "span", 2)(3, WriteTextFieldComponent_span_3_Template, 3, 4, "span", 3);
|
|
23960
|
+
i0.ɵɵelementStart(4, "input", 4);
|
|
23961
|
+
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
23946
23962
|
i0.ɵɵelementEnd()();
|
|
23947
23963
|
} if (rf & 2) {
|
|
23948
23964
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
23949
23965
|
i0.ɵɵadvance();
|
|
23950
|
-
i0.ɵɵproperty("
|
|
23951
|
-
i0.ɵɵadvance();
|
|
23952
|
-
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
23966
|
+
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
23953
23967
|
i0.ɵɵadvance();
|
|
23954
23968
|
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
23955
23969
|
i0.ɵɵadvance();
|
|
23956
23970
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
23957
23971
|
i0.ɵɵadvance();
|
|
23958
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
23972
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("type", ctx.caseField.hidden ? "hidden" : "text")("formControl", ctx.textControl);
|
|
23959
23973
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
23960
23974
|
}
|
|
23961
23975
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
23962
23976
|
type: Component,
|
|
23963
|
-
args: [{ selector: 'ccd-write-text-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !!textControl && !textControl.valid && (textControl.dirty || textControl.touched)}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"textControl?.errors && (textControl.dirty || textControl.touched)\">\n {{textControl.errors | ccdFirstError:caseField.label}}\n </span>\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': textControl?.errors && (textControl.dirty || textControl.touched)}\"\n
|
|
23977
|
+
args: [{ selector: 'ccd-write-text-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': !!textControl && !textControl.valid && (textControl.dirty || textControl.touched)}\">\n <label [for]=\"id()\" *ngIf=\"!caseField.hidden\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"textControl?.errors && (textControl.dirty || textControl.touched)\">\n {{textControl.errors | ccdFirstError:caseField.label}}\n </span>\n <input class=\"form-control bottom-30\" [ngClass]=\"{'govuk-input--error': textControl?.errors && (textControl.dirty || textControl.touched)}\"\n [id]=\"id()\" [type]=\"caseField.hidden ? 'hidden' : 'text'\" [formControl]=\"textControl\" (blur)=\"onBlur($event)\">\n</div>\n" }]
|
|
23964
23978
|
}], null, null); })();
|
|
23965
23979
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteTextFieldComponent, { className: "WriteTextFieldComponent", filePath: "lib/shared/components/palette/text/write-text-field.component.ts", lineNumber: 9 }); })();
|
|
23966
23980
|
|
|
@@ -31843,6 +31857,7 @@ class CaseEditSubmitComponent {
|
|
|
31843
31857
|
formValidatorsService;
|
|
31844
31858
|
caseFlagStateService;
|
|
31845
31859
|
linkedCasesService;
|
|
31860
|
+
router;
|
|
31846
31861
|
eventTrigger;
|
|
31847
31862
|
editForm;
|
|
31848
31863
|
triggerText;
|
|
@@ -31878,7 +31893,7 @@ class CaseEditSubmitComponent {
|
|
|
31878
31893
|
// not been disabled.
|
|
31879
31894
|
return this.caseEdit.isSubmitting || this.hasErrors;
|
|
31880
31895
|
}
|
|
31881
|
-
constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier, multipageComponentStateService, formValidatorsService, caseFlagStateService, linkedCasesService) {
|
|
31896
|
+
constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier, multipageComponentStateService, formValidatorsService, caseFlagStateService, linkedCasesService, router) {
|
|
31882
31897
|
this.caseEdit = caseEdit;
|
|
31883
31898
|
this.fieldsUtils = fieldsUtils;
|
|
31884
31899
|
this.caseFieldService = caseFieldService;
|
|
@@ -31889,12 +31904,14 @@ class CaseEditSubmitComponent {
|
|
|
31889
31904
|
this.formValidatorsService = formValidatorsService;
|
|
31890
31905
|
this.caseFlagStateService = caseFlagStateService;
|
|
31891
31906
|
this.linkedCasesService = linkedCasesService;
|
|
31907
|
+
this.router = router;
|
|
31892
31908
|
}
|
|
31893
31909
|
ngOnInit() {
|
|
31894
31910
|
this.profileSubscription = this.profileNotifier.profile.subscribe((_) => this.profile = _);
|
|
31895
31911
|
this.eventTrigger = this.caseEdit.eventTrigger;
|
|
31896
31912
|
this.triggerText = this.eventTrigger.end_button_label || CallbackErrorsComponent.TRIGGER_TEXT_SUBMIT;
|
|
31897
31913
|
this.editForm = this.caseEdit.form;
|
|
31914
|
+
this.redirectIfFormEmpty();
|
|
31898
31915
|
this.wizard = this.caseEdit.wizard;
|
|
31899
31916
|
this.showSummaryFields = this.sortFieldsByShowSummaryContent(this.eventTrigger.case_fields);
|
|
31900
31917
|
this.caseEdit.isSubmitting = false;
|
|
@@ -32131,7 +32148,14 @@ class CaseEditSubmitComponent {
|
|
|
32131
32148
|
}
|
|
32132
32149
|
return 'Cancel';
|
|
32133
32150
|
}
|
|
32134
|
-
|
|
32151
|
+
redirectIfFormEmpty() {
|
|
32152
|
+
const data = this.editForm?.getRawValue()?.data;
|
|
32153
|
+
const isEmpty = !data || (typeof data === 'object' && Object.keys(data).length === 0);
|
|
32154
|
+
if (isEmpty) {
|
|
32155
|
+
this.router.navigate(['/cases/case-filter']);
|
|
32156
|
+
}
|
|
32157
|
+
}
|
|
32158
|
+
static ɵfac = function CaseEditSubmitComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(FormValidatorsService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
32135
32159
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 25, vars: 24, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content", "text-16"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32136
32160
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
32137
32161
|
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
@@ -32194,8 +32218,8 @@ class CaseEditSubmitComponent {
|
|
|
32194
32218
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
32195
32219
|
type: Component,
|
|
32196
32220
|
args: [{ selector: 'ccd-case-edit-submit', template: "<div>\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data'] | rpxTranslate\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content text-16\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!summary && !summary.valid && (summary.dirty || summary.touched)}\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <span class=\"error-message\" *ngIf=\"summary?.errors && (summary.dirty || summary.touched)\">\n {{summary.errors | ccdFirstError: eventSummaryLabel | rpxTranslate}}\n </span>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\"\n [ngClass]=\"{'govuk-input--error': summary?.errors && (summary.dirty || summary.touched)}\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!description && !description.valid && (description.dirty || description.touched)}\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <span class=\"error-message\" *ngIf=\"description?.errors && (description.dirty || description.touched)\">\n {{description.errors | ccdFirstError: eventDescriptionLabel | rpxTranslate}}\n </span>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n [ngClass]=\"{'govuk-input--error': description?.errors && (description.dirty || description.touched)}\" maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n </div>\n <ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n </ccd-case-event-completion>\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
|
|
32197
|
-
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: MultipageComponentStateService }, { type: FormValidatorsService }, { type: CaseFlagStateService }, { type: LinkedCasesService }], null); })();
|
|
32198
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditSubmitComponent, { className: "CaseEditSubmitComponent", filePath: "lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts", lineNumber:
|
|
32221
|
+
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: MultipageComponentStateService }, { type: FormValidatorsService }, { type: CaseFlagStateService }, { type: LinkedCasesService }, { type: i1$1.Router }], null); })();
|
|
32222
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditSubmitComponent, { className: "CaseEditSubmitComponent", filePath: "lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts", lineNumber: 32 }); })();
|
|
32199
32223
|
|
|
32200
32224
|
function CaseProgressComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
32201
32225
|
const _r1 = i0.ɵɵgetCurrentView();
|