@hmcts/ccd-case-ui-toolkit 6.19.9 → 6.19.10-doc-upload
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +112 -143
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +1 -4
- package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +9 -13
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +3 -4
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +2 -16
- package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +2 -2
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +3 -10
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +111 -140
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +1 -2
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +0 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -142,13 +142,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
142
142
|
i0.ɵɵadvance(4);
|
|
143
143
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
144
144
|
} }
|
|
145
|
-
const _c0
|
|
145
|
+
const _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
146
146
|
const _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
147
147
|
class FooterComponent {
|
|
148
148
|
}
|
|
149
149
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
150
150
|
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$t, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
-
i0.ɵɵprojectionDef(_c0
|
|
151
|
+
i0.ɵɵprojectionDef(_c0$$);
|
|
152
152
|
i0.ɵɵelementStart(0, "footer", 0);
|
|
153
153
|
i0.ɵɵelementStart(1, "div", 1);
|
|
154
154
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
@@ -221,7 +221,7 @@ function HeaderBarComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
221
221
|
i0.ɵɵadvance(3);
|
|
222
222
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
223
223
|
} }
|
|
224
|
-
const _c0
|
|
224
|
+
const _c0$_ = [[["", "headerNavigation", ""]]];
|
|
225
225
|
const _c1$s = ["[headerNavigation]"];
|
|
226
226
|
class HeaderBarComponent {
|
|
227
227
|
constructor() {
|
|
@@ -233,7 +233,7 @@ class HeaderBarComponent {
|
|
|
233
233
|
}
|
|
234
234
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
235
235
|
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$s, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
236
|
-
i0.ɵɵprojectionDef(_c0
|
|
236
|
+
i0.ɵɵprojectionDef(_c0$_);
|
|
237
237
|
i0.ɵɵelementStart(0, "header", 0);
|
|
238
238
|
i0.ɵɵelementStart(1, "div", 1);
|
|
239
239
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -296,13 +296,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
|
|
|
296
296
|
type: Output
|
|
297
297
|
}] }); })();
|
|
298
298
|
|
|
299
|
-
const _c0$
|
|
299
|
+
const _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
300
300
|
const _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
301
301
|
class NavigationComponent {
|
|
302
302
|
}
|
|
303
303
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
304
304
|
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$r, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
305
|
-
i0.ɵɵprojectionDef(_c0$
|
|
305
|
+
i0.ɵɵprojectionDef(_c0$Z);
|
|
306
306
|
i0.ɵɵelementStart(0, "div");
|
|
307
307
|
i0.ɵɵelementStart(1, "nav", 0);
|
|
308
308
|
i0.ɵɵprojection(2);
|
|
@@ -430,13 +430,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
|
|
|
430
430
|
}]
|
|
431
431
|
}], null, null); })();
|
|
432
432
|
|
|
433
|
-
const _c0$
|
|
433
|
+
const _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
434
434
|
const _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
435
435
|
class BodyComponent {
|
|
436
436
|
}
|
|
437
437
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
438
438
|
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
439
|
-
i0.ɵɵprojectionDef(_c0$
|
|
439
|
+
i0.ɵɵprojectionDef(_c0$Y);
|
|
440
440
|
i0.ɵɵelementStart(0, "div", 0);
|
|
441
441
|
i0.ɵɵprojection(1);
|
|
442
442
|
i0.ɵɵprojection(2, 1);
|
|
@@ -453,7 +453,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
|
|
|
453
453
|
}]
|
|
454
454
|
}], null, null); })();
|
|
455
455
|
|
|
456
|
-
const _c0$
|
|
456
|
+
const _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
|
|
457
457
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
458
458
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
459
459
|
i0.ɵɵelementStart(0, "div", 12);
|
|
@@ -472,7 +472,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
472
472
|
i0.ɵɵadvance(1);
|
|
473
473
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Hour"));
|
|
474
474
|
i0.ɵɵadvance(2);
|
|
475
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
475
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r3.isInvalid));
|
|
476
476
|
} }
|
|
477
477
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
478
478
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
@@ -492,7 +492,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
492
492
|
i0.ɵɵadvance(1);
|
|
493
493
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Minute"));
|
|
494
494
|
i0.ɵɵadvance(2);
|
|
495
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
495
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r4.isInvalid));
|
|
496
496
|
} }
|
|
497
497
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
498
498
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
@@ -512,7 +512,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
512
512
|
i0.ɵɵadvance(1);
|
|
513
513
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Second"));
|
|
514
514
|
i0.ɵɵadvance(2);
|
|
515
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
515
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r5.isInvalid));
|
|
516
516
|
} }
|
|
517
517
|
class DateInputComponent {
|
|
518
518
|
constructor() {
|
|
@@ -746,19 +746,19 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
|
|
|
746
746
|
i0.ɵɵadvance(1);
|
|
747
747
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Day"));
|
|
748
748
|
i0.ɵɵadvance(2);
|
|
749
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$
|
|
749
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$X, ctx.isInvalid));
|
|
750
750
|
i0.ɵɵadvance(3);
|
|
751
751
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
752
752
|
i0.ɵɵadvance(1);
|
|
753
753
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 23, "Month"));
|
|
754
754
|
i0.ɵɵadvance(2);
|
|
755
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$
|
|
755
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$X, ctx.isInvalid));
|
|
756
756
|
i0.ɵɵadvance(3);
|
|
757
757
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
758
758
|
i0.ɵɵadvance(1);
|
|
759
759
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 25, "Year"));
|
|
760
760
|
i0.ɵɵadvance(2);
|
|
761
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$
|
|
761
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$X, ctx.isInvalid));
|
|
762
762
|
i0.ɵɵadvance(2);
|
|
763
763
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
764
764
|
i0.ɵɵadvance(1);
|
|
@@ -828,7 +828,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
828
828
|
i0.ɵɵelementEnd();
|
|
829
829
|
i0.ɵɵelementContainerEnd();
|
|
830
830
|
} }
|
|
831
|
-
const _c0$
|
|
831
|
+
const _c0$W = ["*"];
|
|
832
832
|
var AlertMessageType;
|
|
833
833
|
(function (AlertMessageType) {
|
|
834
834
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -848,7 +848,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
848
848
|
AlertComponent.TYPE_ERROR = 'error';
|
|
849
849
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
850
850
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
851
|
-
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
851
|
+
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$W, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
852
852
|
i0.ɵɵprojectionDef();
|
|
853
853
|
i0.ɵɵelementStart(0, "div", 0);
|
|
854
854
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1086,7 +1086,7 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
|
|
|
1086
1086
|
type: Output
|
|
1087
1087
|
}] }); })();
|
|
1088
1088
|
|
|
1089
|
-
const _c0$
|
|
1089
|
+
const _c0$V = function (a0) { return { "js-hidden": a0 }; };
|
|
1090
1090
|
const _c1$p = ["*"];
|
|
1091
1091
|
class TabComponent {
|
|
1092
1092
|
}
|
|
@@ -1097,7 +1097,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1097
1097
|
i0.ɵɵprojection(1);
|
|
1098
1098
|
i0.ɵɵelementEnd();
|
|
1099
1099
|
} if (rf & 2) {
|
|
1100
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
1100
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
|
|
1101
1101
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1102
1102
|
} }, directives: [i2.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
1103
1103
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
|
|
@@ -1117,7 +1117,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1117
1117
|
type: Input
|
|
1118
1118
|
}] }); })();
|
|
1119
1119
|
|
|
1120
|
-
const _c0$
|
|
1120
|
+
const _c0$U = ["tab"];
|
|
1121
1121
|
const _c1$o = function () { return ["."]; };
|
|
1122
1122
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1123
1123
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1164,7 +1164,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
|
|
|
1164
1164
|
let _t;
|
|
1165
1165
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1166
1166
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1167
|
-
i0.ɵɵviewQuery(_c0$
|
|
1167
|
+
i0.ɵɵviewQuery(_c0$U, 1);
|
|
1168
1168
|
} if (rf & 2) {
|
|
1169
1169
|
let _t;
|
|
1170
1170
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1231,7 +1231,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
1231
1231
|
}]
|
|
1232
1232
|
}], null, null); })();
|
|
1233
1233
|
|
|
1234
|
-
const _c0$
|
|
1234
|
+
const _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1235
1235
|
class ActivityBannerComponent {
|
|
1236
1236
|
constructor() { }
|
|
1237
1237
|
ngOnInit() {
|
|
@@ -1250,7 +1250,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
|
|
|
1250
1250
|
i0.ɵɵelementEnd();
|
|
1251
1251
|
i0.ɵɵelementEnd();
|
|
1252
1252
|
} if (rf & 2) {
|
|
1253
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$
|
|
1253
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1254
1254
|
i0.ɵɵadvance(2);
|
|
1255
1255
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1256
1256
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -4225,7 +4225,7 @@ class ConditionParser {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
static findValueForComplexConditionInArray(fields, head, tail, path) {
|
|
4227
4227
|
// use the path to resolve which array element we refer to
|
|
4228
|
-
if (path
|
|
4228
|
+
if (path.startsWith(head)) {
|
|
4229
4229
|
const [_, ...pathTail] = path.split(/[_]+/g);
|
|
4230
4230
|
if (pathTail.length > 0) {
|
|
4231
4231
|
try {
|
|
@@ -8519,24 +8519,20 @@ class ValidPageListCaseFieldsService {
|
|
|
8519
8519
|
.mergeCaseFieldsAndFormFields(eventTriggerFields, data);
|
|
8520
8520
|
return page.parsedShowCondition.match(fields);
|
|
8521
8521
|
}
|
|
8522
|
-
deleteNonValidatedFields(validPageList,
|
|
8523
|
-
const pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
|
|
8524
|
-
if (!fromPreviousPage && pageListCaseFields.length > 0) {
|
|
8525
|
-
Object.keys(caseEventDatadata).forEach(key => {
|
|
8526
|
-
if (pageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8527
|
-
delete caseEventDatadata[key];
|
|
8528
|
-
}
|
|
8529
|
-
});
|
|
8530
|
-
}
|
|
8531
|
-
}
|
|
8532
|
-
validPageListCaseFields(validPageList, data, eventTriggerFields) {
|
|
8522
|
+
deleteNonValidatedFields(validPageList, data, eventTriggerFields, fromPreviousPage = false) {
|
|
8533
8523
|
const validPageListCaseFields = [];
|
|
8534
8524
|
validPageList.forEach(page => {
|
|
8535
8525
|
if (this.isShown(page, eventTriggerFields, data)) {
|
|
8536
8526
|
page.case_fields.forEach(field => validPageListCaseFields.push(field));
|
|
8537
8527
|
}
|
|
8538
8528
|
});
|
|
8539
|
-
|
|
8529
|
+
if (!fromPreviousPage && validPageListCaseFields.length > 0) {
|
|
8530
|
+
Object.keys(data).forEach(key => {
|
|
8531
|
+
if (validPageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8532
|
+
delete data[key];
|
|
8533
|
+
}
|
|
8534
|
+
});
|
|
8535
|
+
}
|
|
8540
8536
|
}
|
|
8541
8537
|
}
|
|
8542
8538
|
ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(i0.ɵɵinject(FieldsUtils)); };
|
|
@@ -8731,9 +8727,6 @@ class CaseEditComponent {
|
|
|
8731
8727
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
8732
8728
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
8733
8729
|
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
8734
|
-
const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
8735
|
-
// // Remove unnesessary case fields which are hidden
|
|
8736
|
-
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
8737
8730
|
caseEventData.event_token = eventTrigger.event_token;
|
|
8738
8731
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
8739
8732
|
if (this.confirmation) {
|
|
@@ -10496,7 +10489,7 @@ WriteComplexFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteComplexFi
|
|
|
10496
10489
|
type: Input
|
|
10497
10490
|
}] }); })();
|
|
10498
10491
|
|
|
10499
|
-
const _c0$
|
|
10492
|
+
const _c0$S = ["writeComplexFieldComponent"];
|
|
10500
10493
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
10501
10494
|
i0.ɵɵelementStart(0, "span", 14);
|
|
10502
10495
|
i0.ɵɵtext(1);
|
|
@@ -10708,7 +10701,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
10708
10701
|
}
|
|
10709
10702
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
10710
10703
|
WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10711
|
-
i0.ɵɵviewQuery(_c0$
|
|
10704
|
+
i0.ɵɵviewQuery(_c0$S, 1);
|
|
10712
10705
|
i0.ɵɵviewQuery(FocusElementDirective, 1);
|
|
10713
10706
|
} if (rf & 2) {
|
|
10714
10707
|
let _t;
|
|
@@ -11286,7 +11279,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
|
|
|
11286
11279
|
i0.ɵɵadvance(1);
|
|
11287
11280
|
i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
11288
11281
|
} }
|
|
11289
|
-
const _c0$
|
|
11282
|
+
const _c0$R = function (a0) { return { "form-group-error": a0 }; };
|
|
11290
11283
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
11291
11284
|
i0.ɵɵelementStart(0, "div", 8);
|
|
11292
11285
|
i0.ɵɵelementStart(1, "div", 9);
|
|
@@ -11306,7 +11299,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11306
11299
|
i0.ɵɵadvance(1);
|
|
11307
11300
|
i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
11308
11301
|
i0.ɵɵadvance(1);
|
|
11309
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
11302
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$R, ctx_r1.errorMessages.length > 0));
|
|
11310
11303
|
i0.ɵɵadvance(1);
|
|
11311
11304
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
|
|
11312
11305
|
i0.ɵɵadvance(2);
|
|
@@ -11743,7 +11736,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
11743
11736
|
}]
|
|
11744
11737
|
}], null, null); })();
|
|
11745
11738
|
|
|
11746
|
-
const _c0$
|
|
11739
|
+
const _c0$Q = ["writeComplexFieldComponent"];
|
|
11747
11740
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11748
11741
|
i0.ɵɵelementStart(0, "span", 6);
|
|
11749
11742
|
i0.ɵɵtext(1);
|
|
@@ -11824,7 +11817,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11824
11817
|
}
|
|
11825
11818
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
11826
11819
|
WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11827
|
-
i0.ɵɵviewQuery(_c0$
|
|
11820
|
+
i0.ɵɵviewQuery(_c0$Q, 1);
|
|
11828
11821
|
} if (rf & 2) {
|
|
11829
11822
|
let _t;
|
|
11830
11823
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -11862,7 +11855,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
|
|
|
11862
11855
|
args: ['writeComplexFieldComponent']
|
|
11863
11856
|
}] }); })();
|
|
11864
11857
|
|
|
11865
|
-
const _c0$
|
|
11858
|
+
const _c0$P = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
11866
11859
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
11867
11860
|
i0.ɵɵelementStart(0, "tbody");
|
|
11868
11861
|
i0.ɵɵelementStart(1, "tr");
|
|
@@ -11875,7 +11868,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11875
11868
|
} if (rf & 2) {
|
|
11876
11869
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11877
11870
|
i0.ɵɵadvance(4);
|
|
11878
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$
|
|
11871
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$P, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
11879
11872
|
} }
|
|
11880
11873
|
const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11881
11874
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -12016,7 +12009,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
12016
12009
|
}]
|
|
12017
12010
|
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
12018
12011
|
|
|
12019
|
-
const _c0$
|
|
12012
|
+
const _c0$O = ["collectionItem"];
|
|
12020
12013
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
12021
12014
|
i0.ɵɵelementStart(0, "span", 9);
|
|
12022
12015
|
i0.ɵɵtext(1);
|
|
@@ -12410,7 +12403,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12410
12403
|
}
|
|
12411
12404
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
12412
12405
|
WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12413
|
-
i0.ɵɵviewQuery(_c0$
|
|
12406
|
+
i0.ɵɵviewQuery(_c0$O, 1);
|
|
12414
12407
|
} if (rf & 2) {
|
|
12415
12408
|
let _t;
|
|
12416
12409
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -12747,7 +12740,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
|
|
|
12747
12740
|
type: Injectable
|
|
12748
12741
|
}], null, null); })();
|
|
12749
12742
|
|
|
12750
|
-
const _c0$
|
|
12743
|
+
const _c0$N = ["fileInput"];
|
|
12751
12744
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
12752
12745
|
i0.ɵɵelementStart(0, "span", 12);
|
|
12753
12746
|
i0.ɵɵtext(1);
|
|
@@ -12786,15 +12779,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12786
12779
|
this.jurisdictionService = jurisdictionService;
|
|
12787
12780
|
this.valid = true;
|
|
12788
12781
|
}
|
|
12789
|
-
clickout(event) {
|
|
12790
|
-
// Capturing the event of the associated ElementRef <input type="file" #fileInpu
|
|
12791
|
-
if (this.fileInput.nativeElement.contains(event.target)) {
|
|
12792
|
-
this.clickInsideTheDocument = true;
|
|
12793
|
-
}
|
|
12794
|
-
else {
|
|
12795
|
-
this.fileValidations();
|
|
12796
|
-
}
|
|
12797
|
-
}
|
|
12798
12782
|
ngOnInit() {
|
|
12799
12783
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
12800
12784
|
if (this.secureModeOn) {
|
|
@@ -13045,12 +13029,10 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
|
|
|
13045
13029
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
13046
13030
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
13047
13031
|
WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13048
|
-
i0.ɵɵviewQuery(_c0$
|
|
13032
|
+
i0.ɵɵviewQuery(_c0$N, 1);
|
|
13049
13033
|
} if (rf & 2) {
|
|
13050
13034
|
let _t;
|
|
13051
13035
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
13052
|
-
} }, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
13053
|
-
i0.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0.ɵɵresolveDocument);
|
|
13054
13036
|
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 22, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "id", "click"], ["type", "file", 1, "form-control", "bottom-30", 3, "id", "accept", "keydown.Tab", "change"], ["fileInput", ""], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "disabled", "click"], [1, "form-hint"], [1, "error-message"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13055
13037
|
i0.ɵɵelementStart(0, "div", 0);
|
|
13056
13038
|
i0.ɵɵelementStart(1, "label", 1);
|
|
@@ -13115,9 +13097,6 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
13115
13097
|
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
|
|
13116
13098
|
type: ViewChild,
|
|
13117
13099
|
args: ['fileInput', { static: false }]
|
|
13118
|
-
}], clickout: [{
|
|
13119
|
-
type: HostListener,
|
|
13120
|
-
args: ['document:click', ['$event']]
|
|
13121
13100
|
}] }); })();
|
|
13122
13101
|
|
|
13123
13102
|
class DynamicListPipe {
|
|
@@ -13220,7 +13199,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1
|
|
|
13220
13199
|
i0.ɵɵadvance(1);
|
|
13221
13200
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
13222
13201
|
} }
|
|
13223
|
-
const _c0$
|
|
13202
|
+
const _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
13224
13203
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
13225
13204
|
ngOnInit() {
|
|
13226
13205
|
/**
|
|
@@ -13263,7 +13242,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
13263
13242
|
i0.ɵɵelementEnd();
|
|
13264
13243
|
i0.ɵɵelementEnd();
|
|
13265
13244
|
} if (rf & 2) {
|
|
13266
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
13245
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
13267
13246
|
i0.ɵɵadvance(1);
|
|
13268
13247
|
i0.ɵɵproperty("for", ctx.id());
|
|
13269
13248
|
i0.ɵɵadvance(1);
|
|
@@ -13448,7 +13427,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
13448
13427
|
i0.ɵɵadvance(1);
|
|
13449
13428
|
i0.ɵɵproperty("content", checkbox_r4.label);
|
|
13450
13429
|
} }
|
|
13451
|
-
const _c0$
|
|
13430
|
+
const _c0$L = function (a0) { return { "error": a0 }; };
|
|
13452
13431
|
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
13453
13432
|
ngOnInit() {
|
|
13454
13433
|
this.checkboxes = new FormArray([]);
|
|
@@ -13522,7 +13501,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type:
|
|
|
13522
13501
|
i0.ɵɵelementEnd();
|
|
13523
13502
|
i0.ɵɵelementEnd();
|
|
13524
13503
|
} if (rf & 2) {
|
|
13525
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
13504
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
13526
13505
|
i0.ɵɵadvance(3);
|
|
13527
13506
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
13528
13507
|
i0.ɵɵadvance(1);
|
|
@@ -13644,7 +13623,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
|
|
|
13644
13623
|
i0.ɵɵadvance(1);
|
|
13645
13624
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
13646
13625
|
} }
|
|
13647
|
-
const _c0$
|
|
13626
|
+
const _c0$K = function (a0) { return { selected: a0 }; };
|
|
13648
13627
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
13649
13628
|
i0.ɵɵelementStart(0, "div", 10);
|
|
13650
13629
|
i0.ɵɵelement(1, "input", 11);
|
|
@@ -13656,7 +13635,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
13656
13635
|
} if (rf & 2) {
|
|
13657
13636
|
const radioButton_r5 = ctx.$implicit;
|
|
13658
13637
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
13659
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
13638
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
13660
13639
|
i0.ɵɵadvance(1);
|
|
13661
13640
|
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
13662
13641
|
i0.ɵɵadvance(1);
|
|
@@ -13791,7 +13770,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13791
13770
|
i0.ɵɵadvance(1);
|
|
13792
13771
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
13793
13772
|
} }
|
|
13794
|
-
const _c0$
|
|
13773
|
+
const _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
13795
13774
|
const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13796
13775
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
13797
13776
|
ngOnInit() {
|
|
@@ -13809,7 +13788,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
13809
13788
|
i0.ɵɵelement(5, "input", 5);
|
|
13810
13789
|
i0.ɵɵelementEnd();
|
|
13811
13790
|
} if (rf & 2) {
|
|
13812
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
13791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
13813
13792
|
i0.ɵɵadvance(1);
|
|
13814
13793
|
i0.ɵɵproperty("for", ctx.id());
|
|
13815
13794
|
i0.ɵɵadvance(1);
|
|
@@ -13895,7 +13874,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
13895
13874
|
i0.ɵɵadvance(1);
|
|
13896
13875
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
13897
13876
|
} }
|
|
13898
|
-
const _c0$
|
|
13877
|
+
const _c0$I = function (a0) { return { "form-group-error": a0 }; };
|
|
13899
13878
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
13900
13879
|
get listItems() {
|
|
13901
13880
|
if (this.caseField) {
|
|
@@ -13933,7 +13912,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
13933
13912
|
i0.ɵɵelementEnd();
|
|
13934
13913
|
i0.ɵɵelementEnd();
|
|
13935
13914
|
} if (rf & 2) {
|
|
13936
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
13915
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
13937
13916
|
i0.ɵɵadvance(1);
|
|
13938
13917
|
i0.ɵɵproperty("for", ctx.id());
|
|
13939
13918
|
i0.ɵɵadvance(1);
|
|
@@ -14028,7 +14007,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
|
|
|
14028
14007
|
i0.ɵɵadvance(1);
|
|
14029
14008
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
14030
14009
|
} }
|
|
14031
|
-
const _c0$
|
|
14010
|
+
const _c0$H = function (a0) { return { selected: a0 }; };
|
|
14032
14011
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
14033
14012
|
i0.ɵɵelementStart(0, "div", 9);
|
|
14034
14013
|
i0.ɵɵelement(1, "input", 10);
|
|
@@ -14040,7 +14019,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
14040
14019
|
} if (rf & 2) {
|
|
14041
14020
|
const radioButton_r4 = ctx.$implicit;
|
|
14042
14021
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
14043
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
14022
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
14044
14023
|
i0.ɵɵadvance(1);
|
|
14045
14024
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
14046
14025
|
i0.ɵɵadvance(1);
|
|
@@ -14181,7 +14160,7 @@ function WriteJudicialUserFieldComponent_span_4_Template(rf, ctx) { if (rf & 1)
|
|
|
14181
14160
|
i0.ɵɵadvance(1);
|
|
14182
14161
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
14183
14162
|
} }
|
|
14184
|
-
const _c0$
|
|
14163
|
+
const _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
14185
14164
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
14186
14165
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
14187
14166
|
i0.ɵɵelementStart(0, "mat-option", 13);
|
|
@@ -14191,7 +14170,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
|
|
|
14191
14170
|
} if (rf & 2) {
|
|
14192
14171
|
const judicialUser_r7 = ctx.$implicit;
|
|
14193
14172
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
14194
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
14173
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$G, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
14195
14174
|
i0.ɵɵadvance(1);
|
|
14196
14175
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
14197
14176
|
} }
|
|
@@ -15015,7 +14994,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) { if (rf & 1)
|
|
|
15015
14994
|
i0.ɵɵadvance(3);
|
|
15016
14995
|
i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
15017
14996
|
} }
|
|
15018
|
-
const _c0$
|
|
14997
|
+
const _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
15019
14998
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
15020
14999
|
i0.ɵɵelementStart(0, "div", 35);
|
|
15021
15000
|
i0.ɵɵelementStart(1, "h3", 22);
|
|
@@ -15031,7 +15010,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
15031
15010
|
i0.ɵɵelementEnd();
|
|
15032
15011
|
} if (rf & 2) {
|
|
15033
15012
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
15034
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
15013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
|
|
15035
15014
|
i0.ɵɵadvance(3);
|
|
15036
15015
|
i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
15037
15016
|
} }
|
|
@@ -15082,11 +15061,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
15082
15061
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
15083
15062
|
i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
15084
15063
|
i0.ɵɵadvance(1);
|
|
15085
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
15064
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
|
|
15086
15065
|
i0.ɵɵadvance(3);
|
|
15087
15066
|
i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
15088
15067
|
i0.ɵɵadvance(2);
|
|
15089
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
15068
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
|
|
15090
15069
|
i0.ɵɵadvance(5);
|
|
15091
15070
|
i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
15092
15071
|
i0.ɵɵadvance(2);
|
|
@@ -15497,7 +15476,7 @@ LinkCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LinkCasesComponent, se
|
|
|
15497
15476
|
i0.ɵɵadvance(4);
|
|
15498
15477
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
15499
15478
|
i0.ɵɵadvance(4);
|
|
15500
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
15479
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
|
|
15501
15480
|
i0.ɵɵadvance(1);
|
|
15502
15481
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
15503
15482
|
i0.ɵɵadvance(18);
|
|
@@ -16128,7 +16107,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) { if (rf & 1)
|
|
|
16128
16107
|
i0.ɵɵadvance(1);
|
|
16129
16108
|
i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
16130
16109
|
} }
|
|
16131
|
-
const _c0$
|
|
16110
|
+
const _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16132
16111
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
16133
16112
|
i0.ɵɵelementStart(0, "div", 7);
|
|
16134
16113
|
i0.ɵɵtemplate(1, UnLinkCasesComponent_div_0_div_4_p_1_Template, 4, 1, "p", 8);
|
|
@@ -16138,7 +16117,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16138
16117
|
i0.ɵɵelementEnd();
|
|
16139
16118
|
} if (rf & 2) {
|
|
16140
16119
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
16141
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
16120
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
16142
16121
|
i0.ɵɵadvance(1);
|
|
16143
16122
|
i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
16144
16123
|
i0.ɵɵadvance(2);
|
|
@@ -16908,7 +16887,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16908
16887
|
i0.ɵɵadvance(1);
|
|
16909
16888
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
16910
16889
|
} }
|
|
16911
|
-
const _c0$
|
|
16890
|
+
const _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
16912
16891
|
class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
16913
16892
|
ngOnInit() {
|
|
16914
16893
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -16931,7 +16910,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
|
|
|
16931
16910
|
i0.ɵɵelementEnd();
|
|
16932
16911
|
i0.ɵɵelementEnd();
|
|
16933
16912
|
} if (rf & 2) {
|
|
16934
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
16913
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
16935
16914
|
i0.ɵɵadvance(1);
|
|
16936
16915
|
i0.ɵɵproperty("for", ctx.id());
|
|
16937
16916
|
i0.ɵɵadvance(1);
|
|
@@ -17055,7 +17034,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
|
|
|
17055
17034
|
i0.ɵɵadvance(1);
|
|
17056
17035
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
17057
17036
|
} }
|
|
17058
|
-
const _c0$
|
|
17037
|
+
const _c0$C = function (a0) { return { "error": a0 }; };
|
|
17059
17038
|
class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
17060
17039
|
ngOnInit() {
|
|
17061
17040
|
this.checkboxes = new FormArray([]);
|
|
@@ -17110,7 +17089,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
|
|
|
17110
17089
|
i0.ɵɵelementEnd();
|
|
17111
17090
|
i0.ɵɵelementEnd();
|
|
17112
17091
|
} if (rf & 2) {
|
|
17113
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
17092
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
17114
17093
|
i0.ɵɵadvance(3);
|
|
17115
17094
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17116
17095
|
i0.ɵɵadvance(1);
|
|
@@ -17182,7 +17161,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
17182
17161
|
i0.ɵɵadvance(1);
|
|
17183
17162
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
|
|
17184
17163
|
} }
|
|
17185
|
-
const _c0$
|
|
17164
|
+
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
17186
17165
|
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17187
17166
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
17188
17167
|
ngOnInit() {
|
|
@@ -17200,7 +17179,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
17200
17179
|
i0.ɵɵelement(5, "input", 5);
|
|
17201
17180
|
i0.ɵɵelementEnd();
|
|
17202
17181
|
} if (rf & 2) {
|
|
17203
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17182
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
17204
17183
|
i0.ɵɵadvance(1);
|
|
17205
17184
|
i0.ɵɵproperty("for", ctx.id());
|
|
17206
17185
|
i0.ɵɵadvance(1);
|
|
@@ -17486,7 +17465,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
|
|
|
17486
17465
|
i0.ɵɵadvance(2);
|
|
17487
17466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
17488
17467
|
} }
|
|
17489
|
-
const _c0$
|
|
17468
|
+
const _c0$A = function (a0) { return { "scroll-container ": a0 }; };
|
|
17490
17469
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
17491
17470
|
i0.ɵɵelementStart(0, "div", 26);
|
|
17492
17471
|
i0.ɵɵpipe(1, "async");
|
|
@@ -17500,7 +17479,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
17500
17479
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
17501
17480
|
let tmp_0_0 = null;
|
|
17502
17481
|
let tmp_2_0 = null;
|
|
17503
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
17482
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
17504
17483
|
i0.ɵɵadvance(2);
|
|
17505
17484
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
17506
17485
|
i0.ɵɵadvance(2);
|
|
@@ -17925,7 +17904,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
17925
17904
|
i0.ɵɵadvance(1);
|
|
17926
17905
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
17927
17906
|
} }
|
|
17928
|
-
const _c0$
|
|
17907
|
+
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
17929
17908
|
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17930
17909
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
17931
17910
|
ngOnInit() {
|
|
@@ -17943,7 +17922,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
17943
17922
|
i0.ɵɵelement(5, "input", 5);
|
|
17944
17923
|
i0.ɵɵelementEnd();
|
|
17945
17924
|
} if (rf & 2) {
|
|
17946
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17925
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
17947
17926
|
i0.ɵɵadvance(1);
|
|
17948
17927
|
i0.ɵɵproperty("for", ctx.id());
|
|
17949
17928
|
i0.ɵɵadvance(1);
|
|
@@ -18017,7 +17996,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18017
17996
|
i0.ɵɵadvance(1);
|
|
18018
17997
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
18019
17998
|
} }
|
|
18020
|
-
const _c0$
|
|
17999
|
+
const _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
18021
18000
|
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
18022
18001
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
18023
18002
|
constructor(browserService) {
|
|
@@ -18048,7 +18027,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
18048
18027
|
i0.ɵɵelementEnd();
|
|
18049
18028
|
i0.ɵɵelementEnd();
|
|
18050
18029
|
} if (rf & 2) {
|
|
18051
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18030
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
18052
18031
|
i0.ɵɵadvance(1);
|
|
18053
18032
|
i0.ɵɵproperty("for", ctx.id());
|
|
18054
18033
|
i0.ɵɵadvance(1);
|
|
@@ -18122,7 +18101,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18122
18101
|
i0.ɵɵadvance(1);
|
|
18123
18102
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
18124
18103
|
} }
|
|
18125
|
-
const _c0$
|
|
18104
|
+
const _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
18126
18105
|
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18127
18106
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
18128
18107
|
ngOnInit() {
|
|
@@ -18145,7 +18124,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
18145
18124
|
i0.ɵɵelementEnd();
|
|
18146
18125
|
i0.ɵɵelementEnd();
|
|
18147
18126
|
} if (rf & 2) {
|
|
18148
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
18149
18128
|
i0.ɵɵadvance(1);
|
|
18150
18129
|
i0.ɵɵproperty("for", ctx.id());
|
|
18151
18130
|
i0.ɵɵadvance(1);
|
|
@@ -18316,7 +18295,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
18316
18295
|
i0.ɵɵadvance(1);
|
|
18317
18296
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
18318
18297
|
} }
|
|
18319
|
-
const _c0$
|
|
18298
|
+
const _c0$w = function (a0) { return { selected: a0 }; };
|
|
18320
18299
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
18321
18300
|
i0.ɵɵelementStart(0, "div", 10);
|
|
18322
18301
|
i0.ɵɵelement(1, "input", 11);
|
|
@@ -18327,7 +18306,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
18327
18306
|
} if (rf & 2) {
|
|
18328
18307
|
const value_r4 = ctx.$implicit;
|
|
18329
18308
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
18330
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18309
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
18331
18310
|
i0.ɵɵadvance(1);
|
|
18332
18311
|
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
18333
18312
|
i0.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -18482,7 +18461,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
|
|
|
18482
18461
|
type: Injectable
|
|
18483
18462
|
}], null, null); })();
|
|
18484
18463
|
|
|
18485
|
-
const _c0$
|
|
18464
|
+
const _c0$v = ["fieldContainer"];
|
|
18486
18465
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
18487
18466
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
18488
18467
|
constructor(resolver, paletteService) {
|
|
@@ -18530,7 +18509,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
18530
18509
|
}
|
|
18531
18510
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
18532
18511
|
FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
18533
|
-
i0.ɵɵviewQuery(_c0$
|
|
18512
|
+
i0.ɵɵviewQuery(_c0$v, 1, ViewContainerRef);
|
|
18534
18513
|
} if (rf & 2) {
|
|
18535
18514
|
let _t;
|
|
18536
18515
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -18564,7 +18543,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
|
|
|
18564
18543
|
args: ['fieldContainer', { static: false, read: ViewContainerRef }]
|
|
18565
18544
|
}] }); })();
|
|
18566
18545
|
|
|
18567
|
-
const _c0$
|
|
18546
|
+
const _c0$u = ["fieldContainer"];
|
|
18568
18547
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
18569
18548
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
18570
18549
|
constructor(resolver, paletteService) {
|
|
@@ -18608,7 +18587,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
18608
18587
|
}
|
|
18609
18588
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
18610
18589
|
FieldWriteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
18611
|
-
i0.ɵɵviewQuery(_c0$
|
|
18590
|
+
i0.ɵɵviewQuery(_c0$u, 3, ViewContainerRef);
|
|
18612
18591
|
} if (rf & 2) {
|
|
18613
18592
|
let _t;
|
|
18614
18593
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -18658,7 +18637,7 @@ function FieldReadLabelComponent_dl_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
18658
18637
|
function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
18659
18638
|
i0.ɵɵprojection(0);
|
|
18660
18639
|
} }
|
|
18661
|
-
const _c0$
|
|
18640
|
+
const _c0$t = ["*"];
|
|
18662
18641
|
class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
18663
18642
|
constructor() {
|
|
18664
18643
|
super(...arguments);
|
|
@@ -18693,7 +18672,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
18693
18672
|
}
|
|
18694
18673
|
}
|
|
18695
18674
|
FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
|
|
18696
|
-
FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
18675
|
+
FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$t, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18697
18676
|
i0.ɵɵprojectionDef();
|
|
18698
18677
|
i0.ɵɵelementStart(0, "div", 0);
|
|
18699
18678
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 1);
|
|
@@ -18725,7 +18704,7 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
18725
18704
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18726
18705
|
i0.ɵɵelementContainer(0);
|
|
18727
18706
|
} }
|
|
18728
|
-
const _c0$
|
|
18707
|
+
const _c0$s = function (a0) { return { cat: a0, level: 1 }; };
|
|
18729
18708
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
18730
18709
|
i0.ɵɵelementContainerStart(0);
|
|
18731
18710
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -18735,7 +18714,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
18735
18714
|
i0.ɵɵnextContext();
|
|
18736
18715
|
const _r1 = i0.ɵɵreference(13);
|
|
18737
18716
|
i0.ɵɵadvance(1);
|
|
18738
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
18717
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$s, cat_r3));
|
|
18739
18718
|
} }
|
|
18740
18719
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18741
18720
|
i0.ɵɵelementContainer(0);
|
|
@@ -18926,7 +18905,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
18926
18905
|
i0.ɵɵadvance(1);
|
|
18927
18906
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
18928
18907
|
} }
|
|
18929
|
-
const _c0$
|
|
18908
|
+
const _c0$r = [[["", "trigger", ""]]];
|
|
18930
18909
|
const _c1$8 = ["[trigger]"];
|
|
18931
18910
|
class CaseFileViewOverlayMenuComponent {
|
|
18932
18911
|
constructor() {
|
|
@@ -18942,7 +18921,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
18942
18921
|
}
|
|
18943
18922
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
18944
18923
|
CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$8, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18945
|
-
i0.ɵɵprojectionDef(_c0$
|
|
18924
|
+
i0.ɵɵprojectionDef(_c0$r);
|
|
18946
18925
|
i0.ɵɵelementStart(0, "div");
|
|
18947
18926
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
18948
18927
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
@@ -19541,7 +19520,7 @@ function AddCommentsComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
19541
19520
|
i0.ɵɵadvance(2);
|
|
19542
19521
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
|
|
19543
19522
|
} }
|
|
19544
|
-
const _c0$
|
|
19523
|
+
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
19545
19524
|
class AddCommentsComponent {
|
|
19546
19525
|
constructor() {
|
|
19547
19526
|
this.optional = false;
|
|
@@ -19623,7 +19602,7 @@ AddCommentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddCommentsComponent
|
|
|
19623
19602
|
} if (rf & 2) {
|
|
19624
19603
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
19625
19604
|
i0.ɵɵadvance(2);
|
|
19626
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$
|
|
19605
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$q, ctx.errorMessages.length > 0));
|
|
19627
19606
|
i0.ɵɵadvance(2);
|
|
19628
19607
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
19629
19608
|
i0.ɵɵadvance(1);
|
|
@@ -19944,7 +19923,7 @@ function ManageCaseFlagsComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
19944
19923
|
i0.ɵɵadvance(2);
|
|
19945
19924
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
19946
19925
|
} }
|
|
19947
|
-
const _c0$
|
|
19926
|
+
const _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
19948
19927
|
class ManageCaseFlagsComponent {
|
|
19949
19928
|
constructor() {
|
|
19950
19929
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -20104,7 +20083,7 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
20104
20083
|
} if (rf & 2) {
|
|
20105
20084
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20106
20085
|
i0.ɵɵadvance(1);
|
|
20107
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20086
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
|
|
20108
20087
|
i0.ɵɵadvance(4);
|
|
20109
20088
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
20110
20089
|
i0.ɵɵadvance(2);
|
|
@@ -20195,7 +20174,7 @@ function SearchLanguageInterpreterComponent_div_21_div_5_Template(rf, ctx) { if
|
|
|
20195
20174
|
i0.ɵɵadvance(3);
|
|
20196
20175
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
|
|
20197
20176
|
} }
|
|
20198
|
-
const _c0$
|
|
20177
|
+
const _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
20199
20178
|
function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
20200
20179
|
i0.ɵɵelementStart(0, "div", 25);
|
|
20201
20180
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -20210,7 +20189,7 @@ function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf &
|
|
|
20210
20189
|
} if (rf & 2) {
|
|
20211
20190
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
20212
20191
|
i0.ɵɵadvance(1);
|
|
20213
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
20192
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$o, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
20214
20193
|
i0.ɵɵadvance(2);
|
|
20215
20194
|
i0.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
|
|
20216
20195
|
i0.ɵɵadvance(1);
|
|
@@ -20376,7 +20355,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
|
|
|
20376
20355
|
const _r2 = i0.ɵɵreference(12);
|
|
20377
20356
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20378
20357
|
i0.ɵɵadvance(1);
|
|
20379
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$
|
|
20358
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$o, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
20380
20359
|
i0.ɵɵadvance(2);
|
|
20381
20360
|
i0.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
20382
20361
|
i0.ɵɵadvance(1);
|
|
@@ -20500,7 +20479,7 @@ function SelectFlagLocationComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
20500
20479
|
i0.ɵɵadvance(2);
|
|
20501
20480
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
20502
20481
|
} }
|
|
20503
|
-
const _c0$
|
|
20482
|
+
const _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
20504
20483
|
class SelectFlagLocationComponent {
|
|
20505
20484
|
constructor() {
|
|
20506
20485
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -20586,7 +20565,7 @@ SelectFlagLocationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagLoc
|
|
|
20586
20565
|
} if (rf & 2) {
|
|
20587
20566
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20588
20567
|
i0.ɵɵadvance(1);
|
|
20589
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20568
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$n, ctx.errorMessages.length > 0));
|
|
20590
20569
|
i0.ɵɵadvance(4);
|
|
20591
20570
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
20592
20571
|
i0.ɵɵadvance(2);
|
|
@@ -20656,7 +20635,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20656
20635
|
i0.ɵɵadvance(3);
|
|
20657
20636
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
20658
20637
|
} }
|
|
20659
|
-
const _c0$
|
|
20638
|
+
const _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
20660
20639
|
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20661
20640
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
20662
20641
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -20671,7 +20650,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
20671
20650
|
} if (rf & 2) {
|
|
20672
20651
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
20673
20652
|
i0.ɵɵadvance(1);
|
|
20674
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
20653
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$m, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
20675
20654
|
i0.ɵɵadvance(3);
|
|
20676
20655
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
20677
20656
|
i0.ɵɵadvance(1);
|
|
@@ -20829,7 +20808,7 @@ SelectFlagTypeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagTypeCom
|
|
|
20829
20808
|
} if (rf & 2) {
|
|
20830
20809
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20831
20810
|
i0.ɵɵadvance(1);
|
|
20832
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
20811
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$m, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
20833
20812
|
i0.ɵɵadvance(4);
|
|
20834
20813
|
i0.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
20835
20814
|
i0.ɵɵadvance(1);
|
|
@@ -20893,7 +20872,7 @@ function UpdateFlagComponent_button_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
20893
20872
|
i0.ɵɵtext(1, " Make inactive ");
|
|
20894
20873
|
i0.ɵɵelementEnd();
|
|
20895
20874
|
} }
|
|
20896
|
-
const _c0$
|
|
20875
|
+
const _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
20897
20876
|
const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
20898
20877
|
class UpdateFlagComponent {
|
|
20899
20878
|
constructor() {
|
|
@@ -21012,7 +20991,7 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
21012
20991
|
} if (rf & 2) {
|
|
21013
20992
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21014
20993
|
i0.ɵɵadvance(2);
|
|
21015
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$
|
|
20994
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
|
|
21016
20995
|
i0.ɵɵadvance(2);
|
|
21017
20996
|
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
21018
20997
|
i0.ɵɵadvance(1);
|
|
@@ -21072,7 +21051,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
|
|
|
21072
21051
|
i0.ɵɵadvance(1);
|
|
21073
21052
|
i0.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
21074
21053
|
} }
|
|
21075
|
-
const _c0$
|
|
21054
|
+
const _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
21076
21055
|
/**
|
|
21077
21056
|
* Display a complex type fields as a list of values without labels.
|
|
21078
21057
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -21091,7 +21070,7 @@ ReadComplexFieldRawComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexF
|
|
|
21091
21070
|
i0.ɵɵelementEnd();
|
|
21092
21071
|
} if (rf & 2) {
|
|
21093
21072
|
i0.ɵɵadvance(1);
|
|
21094
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
21073
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
21095
21074
|
} }, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
|
|
21096
21075
|
const ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
|
|
21097
21076
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -21160,7 +21139,6 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
|
|
|
21160
21139
|
i0.ɵɵadvance(1);
|
|
21161
21140
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
21162
21141
|
} }
|
|
21163
|
-
const _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
21164
21142
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
21165
21143
|
constructor() {
|
|
21166
21144
|
super(...arguments);
|
|
@@ -21168,7 +21146,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
21168
21146
|
}
|
|
21169
21147
|
}
|
|
21170
21148
|
ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
|
|
21171
|
-
ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
21149
|
+
ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 9, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21172
21150
|
i0.ɵɵelementStart(0, "div", 0);
|
|
21173
21151
|
i0.ɵɵelementStart(1, "dl", 1);
|
|
21174
21152
|
i0.ɵɵelementStart(2, "dt");
|
|
@@ -21190,7 +21168,7 @@ ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComple
|
|
|
21190
21168
|
i0.ɵɵadvance(4);
|
|
21191
21169
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
21192
21170
|
i0.ɵɵadvance(5);
|
|
21193
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵ
|
|
21171
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind4(10, 4, ctx.caseField, false, undefined, true));
|
|
21194
21172
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;padding:5px 5px 2px;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[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
21195
21173
|
const ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
|
|
21196
21174
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -23042,7 +23020,7 @@ class ReadFieldsFilterPipe {
|
|
|
23042
23020
|
/**
|
|
23043
23021
|
* Filter out fields having no data to display and harmonise field values coming parent's value.
|
|
23044
23022
|
*/
|
|
23045
|
-
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path
|
|
23023
|
+
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path) {
|
|
23046
23024
|
if (!complexField || !complexField.field_type) {
|
|
23047
23025
|
return [];
|
|
23048
23026
|
}
|
|
@@ -23051,15 +23029,8 @@ class ReadFieldsFilterPipe {
|
|
|
23051
23029
|
let checkConditionalShowAgainst = values;
|
|
23052
23030
|
let formGroupAvailable = false;
|
|
23053
23031
|
if (formGroup) {
|
|
23054
|
-
checkConditionalShowAgainst = formGroup.
|
|
23032
|
+
checkConditionalShowAgainst = formGroup.value;
|
|
23055
23033
|
formGroupAvailable = true;
|
|
23056
|
-
if (idPrefix) {
|
|
23057
|
-
const fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
23058
|
-
if (checkConditionalShowAgainst[fieldId]) {
|
|
23059
|
-
checkConditionalShowAgainst = values;
|
|
23060
|
-
formGroupAvailable = false;
|
|
23061
|
-
}
|
|
23062
|
-
}
|
|
23063
23034
|
}
|
|
23064
23035
|
return fields
|
|
23065
23036
|
.map(f => {
|