@hmcts/ccd-case-ui-toolkit 6.19.10-doc-upload → 6.19.10

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.
Files changed (24) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +155 -122
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +4 -1
  6. package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +13 -9
  7. package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +2 -1
  8. package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +2 -1
  9. package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +4 -3
  10. package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +16 -2
  11. package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +2 -2
  12. package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +20 -13
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +152 -121
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  15. package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
  16. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +2 -1
  17. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
  18. package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -1
  19. package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/document/write-document-field.component.d.ts +1 -0
  21. package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
  22. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
  23. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
  24. 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$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
145
+ const _c0$10 = [[["", "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$10);
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$_ = [[["", "headerNavigation", ""]]];
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$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
299
+ const _c0$_ = [[["", "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$Z);
305
+ i0.ɵɵprojectionDef(_c0$_);
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$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
433
+ const _c0$Z = [[["", "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$Y);
439
+ i0.ɵɵprojectionDef(_c0$Z);
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$X = function (a0) { return { "govuk-input--error": a0 }; };
456
+ const _c0$Y = 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$X, ctx_r3.isInvalid));
475
+ i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, 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$X, ctx_r4.isInvalid));
495
+ i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, 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$X, ctx_r5.isInvalid));
515
+ i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, 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$X, ctx.isInvalid));
749
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$Y, 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$X, ctx.isInvalid));
755
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$Y, 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$X, ctx.isInvalid));
761
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$Y, 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$W = ["*"];
831
+ const _c0$X = ["*"];
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$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) {
851
+ AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$X, 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$V = function (a0) { return { "js-hidden": a0 }; };
1089
+ const _c0$W = 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$V, !ctx.selected));
1100
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$W, !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$U = ["tab"];
1120
+ const _c0$V = ["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$U, 1);
1167
+ i0.ɵɵviewQuery(_c0$V, 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$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1234
+ const _c0$U = 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$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1253
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$U, 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.startsWith(head)) {
4228
+ if (path && path.startsWith(head)) {
4229
4229
  const [_, ...pathTail] = path.split(/[_]+/g);
4230
4230
  if (pathTail.length > 0) {
4231
4231
  try {
@@ -7400,6 +7400,7 @@ class WizardPageFieldToCaseFieldMapper {
7400
7400
  childrenCaseFields.forEach(e => this.hideParentIfAllChildrenHidden(e));
7401
7401
  if (childrenCaseFields.length > 0 && this.allCaseFieldsHidden(childrenCaseFields)) {
7402
7402
  caseField.hidden = true;
7403
+ caseField.display_context = 'HIDDEN';
7403
7404
  }
7404
7405
  }
7405
7406
  getCaseFieldChildren(caseField) {
@@ -8519,20 +8520,24 @@ class ValidPageListCaseFieldsService {
8519
8520
  .mergeCaseFieldsAndFormFields(eventTriggerFields, data);
8520
8521
  return page.parsedShowCondition.match(fields);
8521
8522
  }
8522
- deleteNonValidatedFields(validPageList, data, eventTriggerFields, fromPreviousPage = false) {
8523
+ deleteNonValidatedFields(validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage = false) {
8524
+ const pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
8525
+ if (!fromPreviousPage && pageListCaseFields.length > 0) {
8526
+ Object.keys(caseEventDatadata).forEach(key => {
8527
+ if (pageListCaseFields.findIndex((element) => element.id === key) < 0) {
8528
+ delete caseEventDatadata[key];
8529
+ }
8530
+ });
8531
+ }
8532
+ }
8533
+ validPageListCaseFields(validPageList, data, eventTriggerFields) {
8523
8534
  const validPageListCaseFields = [];
8524
8535
  validPageList.forEach(page => {
8525
8536
  if (this.isShown(page, eventTriggerFields, data)) {
8526
8537
  page.case_fields.forEach(field => validPageListCaseFields.push(field));
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
+ return validPageListCaseFields;
8536
8541
  }
8537
8542
  }
8538
8543
  ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(i0.ɵɵinject(FieldsUtils)); };
@@ -8727,6 +8732,9 @@ class CaseEditComponent {
8727
8732
  this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
8728
8733
  // delete fields which are not part of the case event journey wizard pages case fields
8729
8734
  this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
8735
+ const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
8736
+ // // Remove unnesessary case fields which are hidden
8737
+ this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
8730
8738
  caseEventData.event_token = eventTrigger.event_token;
8731
8739
  caseEventData.ignore_warning = this.ignoreWarning;
8732
8740
  if (this.confirmation) {
@@ -10489,7 +10497,7 @@ WriteComplexFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteComplexFi
10489
10497
  type: Input
10490
10498
  }] }); })();
10491
10499
 
10492
- const _c0$S = ["writeComplexFieldComponent"];
10500
+ const _c0$T = ["writeComplexFieldComponent"];
10493
10501
  function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
10494
10502
  i0.ɵɵelementStart(0, "span", 14);
10495
10503
  i0.ɵɵtext(1);
@@ -10701,7 +10709,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
10701
10709
  }
10702
10710
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
10703
10711
  WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
10704
- i0.ɵɵviewQuery(_c0$S, 1);
10712
+ i0.ɵɵviewQuery(_c0$T, 1);
10705
10713
  i0.ɵɵviewQuery(FocusElementDirective, 1);
10706
10714
  } if (rf & 2) {
10707
10715
  let _t;
@@ -11279,7 +11287,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
11279
11287
  i0.ɵɵadvance(1);
11280
11288
  i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
11281
11289
  } }
11282
- const _c0$R = function (a0) { return { "form-group-error": a0 }; };
11290
+ const _c0$S = function (a0) { return { "form-group-error": a0 }; };
11283
11291
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11284
11292
  i0.ɵɵelementStart(0, "div", 8);
11285
11293
  i0.ɵɵelementStart(1, "div", 9);
@@ -11299,7 +11307,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11299
11307
  i0.ɵɵadvance(1);
11300
11308
  i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
11301
11309
  i0.ɵɵadvance(1);
11302
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$R, ctx_r1.errorMessages.length > 0));
11310
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$S, ctx_r1.errorMessages.length > 0));
11303
11311
  i0.ɵɵadvance(1);
11304
11312
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
11305
11313
  i0.ɵɵadvance(2);
@@ -11736,7 +11744,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
11736
11744
  }]
11737
11745
  }], null, null); })();
11738
11746
 
11739
- const _c0$Q = ["writeComplexFieldComponent"];
11747
+ const _c0$R = ["writeComplexFieldComponent"];
11740
11748
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
11741
11749
  i0.ɵɵelementStart(0, "span", 6);
11742
11750
  i0.ɵɵtext(1);
@@ -11817,7 +11825,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11817
11825
  }
11818
11826
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
11819
11827
  WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
11820
- i0.ɵɵviewQuery(_c0$Q, 1);
11828
+ i0.ɵɵviewQuery(_c0$R, 1);
11821
11829
  } if (rf & 2) {
11822
11830
  let _t;
11823
11831
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -11855,7 +11863,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
11855
11863
  args: ['writeComplexFieldComponent']
11856
11864
  }] }); })();
11857
11865
 
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
+ const _c0$Q = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11859
11867
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
11860
11868
  i0.ɵɵelementStart(0, "tbody");
11861
11869
  i0.ɵɵelementStart(1, "tr");
@@ -11868,7 +11876,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
11868
11876
  } if (rf & 2) {
11869
11877
  const ctx_r1 = i0.ɵɵnextContext(2);
11870
11878
  i0.ɵɵadvance(4);
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
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$Q, 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);
11872
11880
  } }
11873
11881
  const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
11874
11882
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
@@ -12009,7 +12017,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
12009
12017
  }]
12010
12018
  }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
12011
12019
 
12012
- const _c0$O = ["collectionItem"];
12020
+ const _c0$P = ["collectionItem"];
12013
12021
  function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) { if (rf & 1) {
12014
12022
  i0.ɵɵelementStart(0, "span", 9);
12015
12023
  i0.ɵɵtext(1);
@@ -12403,7 +12411,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
12403
12411
  }
12404
12412
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
12405
12413
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
12406
- i0.ɵɵviewQuery(_c0$O, 1);
12414
+ i0.ɵɵviewQuery(_c0$P, 1);
12407
12415
  } if (rf & 2) {
12408
12416
  let _t;
12409
12417
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -12740,7 +12748,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
12740
12748
  type: Injectable
12741
12749
  }], null, null); })();
12742
12750
 
12743
- const _c0$N = ["fileInput"];
12751
+ const _c0$O = ["fileInput"];
12744
12752
  function WriteDocumentFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
12745
12753
  i0.ɵɵelementStart(0, "span", 12);
12746
12754
  i0.ɵɵtext(1);
@@ -12779,6 +12787,15 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
12779
12787
  this.jurisdictionService = jurisdictionService;
12780
12788
  this.valid = true;
12781
12789
  }
12790
+ clickout(event) {
12791
+ // Capturing the event of the associated ElementRef <input type="file" #fileInpu
12792
+ if (this.fileInput.nativeElement.contains(event.target)) {
12793
+ this.clickInsideTheDocument = true;
12794
+ }
12795
+ else {
12796
+ this.fileValidations();
12797
+ }
12798
+ }
12782
12799
  ngOnInit() {
12783
12800
  this.secureModeOn = this.appConfig.getDocumentSecureMode();
12784
12801
  if (this.secureModeOn) {
@@ -13029,10 +13046,12 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
13029
13046
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
13030
13047
  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)); };
13031
13048
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
13032
- i0.ɵɵviewQuery(_c0$N, 1);
13049
+ i0.ɵɵviewQuery(_c0$O, 1);
13033
13050
  } if (rf & 2) {
13034
13051
  let _t;
13035
13052
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
13053
+ } }, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) { if (rf & 1) {
13054
+ i0.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0.ɵɵresolveDocument);
13036
13055
  } }, 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) {
13037
13056
  i0.ɵɵelementStart(0, "div", 0);
13038
13057
  i0.ɵɵelementStart(1, "label", 1);
@@ -13097,6 +13116,9 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
13097
13116
  }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
13098
13117
  type: ViewChild,
13099
13118
  args: ['fileInput', { static: false }]
13119
+ }], clickout: [{
13120
+ type: HostListener,
13121
+ args: ['document:click', ['$event']]
13100
13122
  }] }); })();
13101
13123
 
13102
13124
  class DynamicListPipe {
@@ -13199,7 +13221,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1
13199
13221
  i0.ɵɵadvance(1);
13200
13222
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
13201
13223
  } }
13202
- const _c0$M = function (a0) { return { "form-group-error": a0 }; };
13224
+ const _c0$N = function (a0) { return { "form-group-error": a0 }; };
13203
13225
  class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
13204
13226
  ngOnInit() {
13205
13227
  /**
@@ -13242,7 +13264,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
13242
13264
  i0.ɵɵelementEnd();
13243
13265
  i0.ɵɵelementEnd();
13244
13266
  } if (rf & 2) {
13245
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13267
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$N, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13246
13268
  i0.ɵɵadvance(1);
13247
13269
  i0.ɵɵproperty("for", ctx.id());
13248
13270
  i0.ɵɵadvance(1);
@@ -13427,7 +13449,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
13427
13449
  i0.ɵɵadvance(1);
13428
13450
  i0.ɵɵproperty("content", checkbox_r4.label);
13429
13451
  } }
13430
- const _c0$L = function (a0) { return { "error": a0 }; };
13452
+ const _c0$M = function (a0) { return { "error": a0 }; };
13431
13453
  class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
13432
13454
  ngOnInit() {
13433
13455
  this.checkboxes = new FormArray([]);
@@ -13501,7 +13523,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type:
13501
13523
  i0.ɵɵelementEnd();
13502
13524
  i0.ɵɵelementEnd();
13503
13525
  } if (rf & 2) {
13504
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
13526
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$M, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
13505
13527
  i0.ɵɵadvance(3);
13506
13528
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
13507
13529
  i0.ɵɵadvance(1);
@@ -13623,7 +13645,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
13623
13645
  i0.ɵɵadvance(1);
13624
13646
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
13625
13647
  } }
13626
- const _c0$K = function (a0) { return { selected: a0 }; };
13648
+ const _c0$L = function (a0) { return { selected: a0 }; };
13627
13649
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
13628
13650
  i0.ɵɵelementStart(0, "div", 10);
13629
13651
  i0.ɵɵelement(1, "input", 11);
@@ -13635,7 +13657,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
13635
13657
  } if (rf & 2) {
13636
13658
  const radioButton_r5 = ctx.$implicit;
13637
13659
  const ctx_r4 = i0.ɵɵnextContext();
13638
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13660
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13639
13661
  i0.ɵɵadvance(1);
13640
13662
  i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
13641
13663
  i0.ɵɵadvance(1);
@@ -13770,7 +13792,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13770
13792
  i0.ɵɵadvance(1);
13771
13793
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
13772
13794
  } }
13773
- const _c0$J = function (a0) { return { "form-group-error": a0 }; };
13795
+ const _c0$K = function (a0) { return { "form-group-error": a0 }; };
13774
13796
  const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
13775
13797
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
13776
13798
  ngOnInit() {
@@ -13788,7 +13810,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
13788
13810
  i0.ɵɵelement(5, "input", 5);
13789
13811
  i0.ɵɵelementEnd();
13790
13812
  } if (rf & 2) {
13791
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13813
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13792
13814
  i0.ɵɵadvance(1);
13793
13815
  i0.ɵɵproperty("for", ctx.id());
13794
13816
  i0.ɵɵadvance(1);
@@ -13874,7 +13896,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
13874
13896
  i0.ɵɵadvance(1);
13875
13897
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
13876
13898
  } }
13877
- const _c0$I = function (a0) { return { "form-group-error": a0 }; };
13899
+ const _c0$J = function (a0) { return { "form-group-error": a0 }; };
13878
13900
  class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
13879
13901
  get listItems() {
13880
13902
  if (this.caseField) {
@@ -13912,7 +13934,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
13912
13934
  i0.ɵɵelementEnd();
13913
13935
  i0.ɵɵelementEnd();
13914
13936
  } if (rf & 2) {
13915
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13937
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13916
13938
  i0.ɵɵadvance(1);
13917
13939
  i0.ɵɵproperty("for", ctx.id());
13918
13940
  i0.ɵɵadvance(1);
@@ -14007,7 +14029,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
14007
14029
  i0.ɵɵadvance(1);
14008
14030
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
14009
14031
  } }
14010
- const _c0$H = function (a0) { return { selected: a0 }; };
14032
+ const _c0$I = function (a0) { return { selected: a0 }; };
14011
14033
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
14012
14034
  i0.ɵɵelementStart(0, "div", 9);
14013
14035
  i0.ɵɵelement(1, "input", 10);
@@ -14019,7 +14041,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
14019
14041
  } if (rf & 2) {
14020
14042
  const radioButton_r4 = ctx.$implicit;
14021
14043
  const ctx_r3 = i0.ɵɵnextContext();
14022
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
14044
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
14023
14045
  i0.ɵɵadvance(1);
14024
14046
  i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
14025
14047
  i0.ɵɵadvance(1);
@@ -14160,7 +14182,7 @@ function WriteJudicialUserFieldComponent_span_4_Template(rf, ctx) { if (rf & 1)
14160
14182
  i0.ɵɵadvance(1);
14161
14183
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
14162
14184
  } }
14163
- const _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
14185
+ const _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
14164
14186
  function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf & 1) {
14165
14187
  const _r9 = i0.ɵɵgetCurrentView();
14166
14188
  i0.ɵɵelementStart(0, "mat-option", 13);
@@ -14170,7 +14192,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
14170
14192
  } if (rf & 2) {
14171
14193
  const judicialUser_r7 = ctx.$implicit;
14172
14194
  const ctx_r4 = i0.ɵɵnextContext();
14173
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$G, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
14195
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$H, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
14174
14196
  i0.ɵɵadvance(1);
14175
14197
  i0.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
14176
14198
  } }
@@ -14994,7 +15016,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) { if (rf & 1)
14994
15016
  i0.ɵɵadvance(3);
14995
15017
  i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
14996
15018
  } }
14997
- const _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
15019
+ const _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
14998
15020
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
14999
15021
  i0.ɵɵelementStart(0, "div", 35);
15000
15022
  i0.ɵɵelementStart(1, "h3", 22);
@@ -15010,7 +15032,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
15010
15032
  i0.ɵɵelementEnd();
15011
15033
  } if (rf & 2) {
15012
15034
  const ctx_r7 = i0.ɵɵnextContext(2);
15013
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
15035
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
15014
15036
  i0.ɵɵadvance(3);
15015
15037
  i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
15016
15038
  } }
@@ -15061,11 +15083,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
15061
15083
  const ctx_r0 = i0.ɵɵnextContext();
15062
15084
  i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
15063
15085
  i0.ɵɵadvance(1);
15064
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
15086
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
15065
15087
  i0.ɵɵadvance(3);
15066
15088
  i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
15067
15089
  i0.ɵɵadvance(2);
15068
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
15090
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
15069
15091
  i0.ɵɵadvance(5);
15070
15092
  i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
15071
15093
  i0.ɵɵadvance(2);
@@ -15476,7 +15498,7 @@ LinkCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LinkCasesComponent, se
15476
15498
  i0.ɵɵadvance(4);
15477
15499
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
15478
15500
  i0.ɵɵadvance(4);
15479
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
15501
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
15480
15502
  i0.ɵɵadvance(1);
15481
15503
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
15482
15504
  i0.ɵɵadvance(18);
@@ -16107,7 +16129,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) { if (rf & 1)
16107
16129
  i0.ɵɵadvance(1);
16108
16130
  i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
16109
16131
  } }
16110
- const _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
16132
+ const _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
16111
16133
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
16112
16134
  i0.ɵɵelementStart(0, "div", 7);
16113
16135
  i0.ɵɵtemplate(1, UnLinkCasesComponent_div_0_div_4_p_1_Template, 4, 1, "p", 8);
@@ -16117,7 +16139,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
16117
16139
  i0.ɵɵelementEnd();
16118
16140
  } if (rf & 2) {
16119
16141
  const ctx_r1 = i0.ɵɵnextContext(2);
16120
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
16142
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
16121
16143
  i0.ɵɵadvance(1);
16122
16144
  i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
16123
16145
  i0.ɵɵadvance(2);
@@ -16887,7 +16909,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16887
16909
  i0.ɵɵadvance(1);
16888
16910
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
16889
16911
  } }
16890
- const _c0$D = function (a0) { return { "form-group-error": a0 }; };
16912
+ const _c0$E = function (a0) { return { "form-group-error": a0 }; };
16891
16913
  class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
16892
16914
  ngOnInit() {
16893
16915
  this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
@@ -16910,7 +16932,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
16910
16932
  i0.ɵɵelementEnd();
16911
16933
  i0.ɵɵelementEnd();
16912
16934
  } if (rf & 2) {
16913
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16935
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16914
16936
  i0.ɵɵadvance(1);
16915
16937
  i0.ɵɵproperty("for", ctx.id());
16916
16938
  i0.ɵɵadvance(1);
@@ -17034,7 +17056,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
17034
17056
  i0.ɵɵadvance(1);
17035
17057
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
17036
17058
  } }
17037
- const _c0$C = function (a0) { return { "error": a0 }; };
17059
+ const _c0$D = function (a0) { return { "error": a0 }; };
17038
17060
  class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
17039
17061
  ngOnInit() {
17040
17062
  this.checkboxes = new FormArray([]);
@@ -17089,7 +17111,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
17089
17111
  i0.ɵɵelementEnd();
17090
17112
  i0.ɵɵelementEnd();
17091
17113
  } if (rf & 2) {
17092
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
17114
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
17093
17115
  i0.ɵɵadvance(3);
17094
17116
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
17095
17117
  i0.ɵɵadvance(1);
@@ -17161,7 +17183,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
17161
17183
  i0.ɵɵadvance(1);
17162
17184
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
17163
17185
  } }
17164
- const _c0$B = function (a0) { return { "form-group-error": a0 }; };
17186
+ const _c0$C = function (a0) { return { "form-group-error": a0 }; };
17165
17187
  const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
17166
17188
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
17167
17189
  ngOnInit() {
@@ -17179,7 +17201,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
17179
17201
  i0.ɵɵelement(5, "input", 5);
17180
17202
  i0.ɵɵelementEnd();
17181
17203
  } if (rf & 2) {
17182
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
17204
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
17183
17205
  i0.ɵɵadvance(1);
17184
17206
  i0.ɵɵproperty("for", ctx.id());
17185
17207
  i0.ɵɵadvance(1);
@@ -17465,7 +17487,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
17465
17487
  i0.ɵɵadvance(2);
17466
17488
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
17467
17489
  } }
17468
- const _c0$A = function (a0) { return { "scroll-container ": a0 }; };
17490
+ const _c0$B = function (a0) { return { "scroll-container ": a0 }; };
17469
17491
  function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { if (rf & 1) {
17470
17492
  i0.ɵɵelementStart(0, "div", 26);
17471
17493
  i0.ɵɵpipe(1, "async");
@@ -17479,7 +17501,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
17479
17501
  const ctx_r2 = i0.ɵɵnextContext(2);
17480
17502
  let tmp_0_0 = null;
17481
17503
  let tmp_2_0 = null;
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
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
17483
17505
  i0.ɵɵadvance(2);
17484
17506
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
17485
17507
  i0.ɵɵadvance(2);
@@ -17904,7 +17926,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
17904
17926
  i0.ɵɵadvance(1);
17905
17927
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
17906
17928
  } }
17907
- const _c0$z = function (a0) { return { "form-group-error": a0 }; };
17929
+ const _c0$A = function (a0) { return { "form-group-error": a0 }; };
17908
17930
  const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
17909
17931
  class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
17910
17932
  ngOnInit() {
@@ -17922,7 +17944,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
17922
17944
  i0.ɵɵelement(5, "input", 5);
17923
17945
  i0.ɵɵelementEnd();
17924
17946
  } if (rf & 2) {
17925
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
17947
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
17926
17948
  i0.ɵɵadvance(1);
17927
17949
  i0.ɵɵproperty("for", ctx.id());
17928
17950
  i0.ɵɵadvance(1);
@@ -17996,7 +18018,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
17996
18018
  i0.ɵɵadvance(1);
17997
18019
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
17998
18020
  } }
17999
- const _c0$y = function (a0) { return { "form-group-error": a0 }; };
18021
+ const _c0$z = function (a0) { return { "form-group-error": a0 }; };
18000
18022
  const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
18001
18023
  class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
18002
18024
  constructor(browserService) {
@@ -18027,7 +18049,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
18027
18049
  i0.ɵɵelementEnd();
18028
18050
  i0.ɵɵelementEnd();
18029
18051
  } if (rf & 2) {
18030
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
18052
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
18031
18053
  i0.ɵɵadvance(1);
18032
18054
  i0.ɵɵproperty("for", ctx.id());
18033
18055
  i0.ɵɵadvance(1);
@@ -18101,7 +18123,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18101
18123
  i0.ɵɵadvance(1);
18102
18124
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
18103
18125
  } }
18104
- const _c0$x = function (a0) { return { "form-group-error": a0 }; };
18126
+ const _c0$y = function (a0) { return { "form-group-error": a0 }; };
18105
18127
  const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
18106
18128
  class WriteTextFieldComponent extends AbstractFieldWriteComponent {
18107
18129
  ngOnInit() {
@@ -18124,7 +18146,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
18124
18146
  i0.ɵɵelementEnd();
18125
18147
  i0.ɵɵelementEnd();
18126
18148
  } if (rf & 2) {
18127
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
18149
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
18128
18150
  i0.ɵɵadvance(1);
18129
18151
  i0.ɵɵproperty("for", ctx.id());
18130
18152
  i0.ɵɵadvance(1);
@@ -18295,7 +18317,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
18295
18317
  i0.ɵɵadvance(1);
18296
18318
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
18297
18319
  } }
18298
- const _c0$w = function (a0) { return { selected: a0 }; };
18320
+ const _c0$x = function (a0) { return { selected: a0 }; };
18299
18321
  function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
18300
18322
  i0.ɵɵelementStart(0, "div", 10);
18301
18323
  i0.ɵɵelement(1, "input", 11);
@@ -18306,7 +18328,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
18306
18328
  } if (rf & 2) {
18307
18329
  const value_r4 = ctx.$implicit;
18308
18330
  const ctx_r3 = i0.ɵɵnextContext();
18309
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
18331
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, ctx_r3.yesNoControl.value === value_r4));
18310
18332
  i0.ɵɵadvance(1);
18311
18333
  i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
18312
18334
  i0.ɵɵattribute("name", ctx_r3.id());
@@ -18461,7 +18483,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
18461
18483
  type: Injectable
18462
18484
  }], null, null); })();
18463
18485
 
18464
- const _c0$v = ["fieldContainer"];
18486
+ const _c0$w = ["fieldContainer"];
18465
18487
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
18466
18488
  class FieldReadComponent extends AbstractFieldReadComponent {
18467
18489
  constructor(resolver, paletteService) {
@@ -18509,7 +18531,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
18509
18531
  }
18510
18532
  FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
18511
18533
  FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
18512
- i0.ɵɵviewQuery(_c0$v, 1, ViewContainerRef);
18534
+ i0.ɵɵviewQuery(_c0$w, 1, ViewContainerRef);
18513
18535
  } if (rf & 2) {
18514
18536
  let _t;
18515
18537
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -18543,7 +18565,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
18543
18565
  args: ['fieldContainer', { static: false, read: ViewContainerRef }]
18544
18566
  }] }); })();
18545
18567
 
18546
- const _c0$u = ["fieldContainer"];
18568
+ const _c0$v = ["fieldContainer"];
18547
18569
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
18548
18570
  class FieldWriteComponent extends AbstractFieldWriteComponent {
18549
18571
  constructor(resolver, paletteService) {
@@ -18587,7 +18609,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
18587
18609
  }
18588
18610
  FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
18589
18611
  FieldWriteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
18590
- i0.ɵɵviewQuery(_c0$u, 3, ViewContainerRef);
18612
+ i0.ɵɵviewQuery(_c0$v, 3, ViewContainerRef);
18591
18613
  } if (rf & 2) {
18592
18614
  let _t;
18593
18615
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -18637,7 +18659,7 @@ function FieldReadLabelComponent_dl_1_Template(rf, ctx) { if (rf & 1) {
18637
18659
  function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
18638
18660
  i0.ɵɵprojection(0);
18639
18661
  } }
18640
- const _c0$t = ["*"];
18662
+ const _c0$u = ["*"];
18641
18663
  class FieldReadLabelComponent extends AbstractFieldReadComponent {
18642
18664
  constructor() {
18643
18665
  super(...arguments);
@@ -18672,7 +18694,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
18672
18694
  }
18673
18695
  }
18674
18696
  FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
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
+ FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$u, 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) {
18676
18698
  i0.ɵɵprojectionDef();
18677
18699
  i0.ɵɵelementStart(0, "div", 0);
18678
18700
  i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 1);
@@ -18704,7 +18726,7 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
18704
18726
  function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18705
18727
  i0.ɵɵelementContainer(0);
18706
18728
  } }
18707
- const _c0$s = function (a0) { return { cat: a0, level: 1 }; };
18729
+ const _c0$t = function (a0) { return { cat: a0, level: 1 }; };
18708
18730
  function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
18709
18731
  i0.ɵɵelementContainerStart(0);
18710
18732
  i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
@@ -18714,7 +18736,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
18714
18736
  i0.ɵɵnextContext();
18715
18737
  const _r1 = i0.ɵɵreference(13);
18716
18738
  i0.ɵɵadvance(1);
18717
- i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$s, cat_r3));
18739
+ i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$t, cat_r3));
18718
18740
  } }
18719
18741
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18720
18742
  i0.ɵɵelementContainer(0);
@@ -18905,7 +18927,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
18905
18927
  i0.ɵɵadvance(1);
18906
18928
  i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
18907
18929
  } }
18908
- const _c0$r = [[["", "trigger", ""]]];
18930
+ const _c0$s = [[["", "trigger", ""]]];
18909
18931
  const _c1$8 = ["[trigger]"];
18910
18932
  class CaseFileViewOverlayMenuComponent {
18911
18933
  constructor() {
@@ -18921,7 +18943,7 @@ class CaseFileViewOverlayMenuComponent {
18921
18943
  }
18922
18944
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
18923
18945
  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) {
18924
- i0.ɵɵprojectionDef(_c0$r);
18946
+ i0.ɵɵprojectionDef(_c0$s);
18925
18947
  i0.ɵɵelementStart(0, "div");
18926
18948
  i0.ɵɵelementStart(1, "button", 0, 1);
18927
18949
  i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
@@ -19520,7 +19542,7 @@ function AddCommentsComponent_div_12_Template(rf, ctx) { if (rf & 1) {
19520
19542
  i0.ɵɵadvance(2);
19521
19543
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
19522
19544
  } }
19523
- const _c0$q = function (a0) { return { "form-group-error": a0 }; };
19545
+ const _c0$r = function (a0) { return { "form-group-error": a0 }; };
19524
19546
  class AddCommentsComponent {
19525
19547
  constructor() {
19526
19548
  this.optional = false;
@@ -19602,7 +19624,7 @@ AddCommentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddCommentsComponent
19602
19624
  } if (rf & 2) {
19603
19625
  i0.ɵɵproperty("formGroup", ctx.formGroup);
19604
19626
  i0.ɵɵadvance(2);
19605
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$q, ctx.errorMessages.length > 0));
19627
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$r, ctx.errorMessages.length > 0));
19606
19628
  i0.ɵɵadvance(2);
19607
19629
  i0.ɵɵproperty("for", ctx.flagCommentsControlName);
19608
19630
  i0.ɵɵadvance(1);
@@ -19923,7 +19945,7 @@ function ManageCaseFlagsComponent_div_10_Template(rf, ctx) { if (rf & 1) {
19923
19945
  i0.ɵɵadvance(2);
19924
19946
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
19925
19947
  } }
19926
- const _c0$p = function (a0) { return { "form-group-error": a0 }; };
19948
+ const _c0$q = function (a0) { return { "form-group-error": a0 }; };
19927
19949
  class ManageCaseFlagsComponent {
19928
19950
  constructor() {
19929
19951
  this.caseFlagStateEmitter = new EventEmitter();
@@ -20083,7 +20105,7 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
20083
20105
  } if (rf & 2) {
20084
20106
  i0.ɵɵproperty("formGroup", ctx.formGroup);
20085
20107
  i0.ɵɵadvance(1);
20086
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
20108
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$q, ctx.errorMessages.length > 0));
20087
20109
  i0.ɵɵadvance(4);
20088
20110
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
20089
20111
  i0.ɵɵadvance(2);
@@ -20174,7 +20196,7 @@ function SearchLanguageInterpreterComponent_div_21_div_5_Template(rf, ctx) { if
20174
20196
  i0.ɵɵadvance(3);
20175
20197
  i0.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
20176
20198
  } }
20177
- const _c0$o = function (a0) { return { "form-group-error": a0 }; };
20199
+ const _c0$p = function (a0) { return { "form-group-error": a0 }; };
20178
20200
  function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf & 1) {
20179
20201
  i0.ɵɵelementStart(0, "div", 25);
20180
20202
  i0.ɵɵelementStart(1, "div", 1);
@@ -20189,7 +20211,7 @@ function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf &
20189
20211
  } if (rf & 2) {
20190
20212
  const ctx_r5 = i0.ɵɵnextContext();
20191
20213
  i0.ɵɵadvance(1);
20192
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$o, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
20214
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$p, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
20193
20215
  i0.ɵɵadvance(2);
20194
20216
  i0.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
20195
20217
  i0.ɵɵadvance(1);
@@ -20355,7 +20377,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
20355
20377
  const _r2 = i0.ɵɵreference(12);
20356
20378
  i0.ɵɵproperty("formGroup", ctx.formGroup);
20357
20379
  i0.ɵɵadvance(1);
20358
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$o, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
20380
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$p, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
20359
20381
  i0.ɵɵadvance(2);
20360
20382
  i0.ɵɵproperty("for", ctx.languageSearchTermControlName);
20361
20383
  i0.ɵɵadvance(1);
@@ -20479,7 +20501,7 @@ function SelectFlagLocationComponent_div_10_Template(rf, ctx) { if (rf & 1) {
20479
20501
  i0.ɵɵadvance(2);
20480
20502
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
20481
20503
  } }
20482
- const _c0$n = function (a0) { return { "form-group-error": a0 }; };
20504
+ const _c0$o = function (a0) { return { "form-group-error": a0 }; };
20483
20505
  class SelectFlagLocationComponent {
20484
20506
  constructor() {
20485
20507
  this.caseFlagStateEmitter = new EventEmitter();
@@ -20565,7 +20587,7 @@ SelectFlagLocationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagLoc
20565
20587
  } if (rf & 2) {
20566
20588
  i0.ɵɵproperty("formGroup", ctx.formGroup);
20567
20589
  i0.ɵɵadvance(1);
20568
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$n, ctx.errorMessages.length > 0));
20590
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$o, ctx.errorMessages.length > 0));
20569
20591
  i0.ɵɵadvance(4);
20570
20592
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
20571
20593
  i0.ɵɵadvance(2);
@@ -20635,7 +20657,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
20635
20657
  i0.ɵɵadvance(3);
20636
20658
  i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
20637
20659
  } }
20638
- const _c0$m = function (a0) { return { "form-group-error": a0 }; };
20660
+ const _c0$n = function (a0) { return { "form-group-error": a0 }; };
20639
20661
  const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
20640
20662
  function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
20641
20663
  i0.ɵɵelementStart(0, "div", 15);
@@ -20650,7 +20672,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
20650
20672
  } if (rf & 2) {
20651
20673
  const ctx_r2 = i0.ɵɵnextContext();
20652
20674
  i0.ɵɵadvance(1);
20653
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$m, ctx_r2.flagTypeErrorMessage.length > 0));
20675
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$n, ctx_r2.flagTypeErrorMessage.length > 0));
20654
20676
  i0.ɵɵadvance(3);
20655
20677
  i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
20656
20678
  i0.ɵɵadvance(1);
@@ -20808,7 +20830,7 @@ SelectFlagTypeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagTypeCom
20808
20830
  } if (rf & 2) {
20809
20831
  i0.ɵɵproperty("formGroup", ctx.formGroup);
20810
20832
  i0.ɵɵadvance(1);
20811
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$m, ctx.flagTypeNotSelectedErrorMessage.length > 0));
20833
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$n, ctx.flagTypeNotSelectedErrorMessage.length > 0));
20812
20834
  i0.ɵɵadvance(4);
20813
20835
  i0.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
20814
20836
  i0.ɵɵadvance(1);
@@ -20872,7 +20894,7 @@ function UpdateFlagComponent_button_22_Template(rf, ctx) { if (rf & 1) {
20872
20894
  i0.ɵɵtext(1, " Make inactive ");
20873
20895
  i0.ɵɵelementEnd();
20874
20896
  } }
20875
- const _c0$l = function (a0) { return { "form-group-error": a0 }; };
20897
+ const _c0$m = function (a0) { return { "form-group-error": a0 }; };
20876
20898
  const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
20877
20899
  class UpdateFlagComponent {
20878
20900
  constructor() {
@@ -20991,7 +21013,7 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
20991
21013
  } if (rf & 2) {
20992
21014
  i0.ɵɵproperty("formGroup", ctx.formGroup);
20993
21015
  i0.ɵɵadvance(2);
20994
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
21016
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$m, ctx.errorMessages.length > 0));
20995
21017
  i0.ɵɵadvance(2);
20996
21018
  i0.ɵɵproperty("for", ctx.updateFlagControlName);
20997
21019
  i0.ɵɵadvance(1);
@@ -21051,7 +21073,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
21051
21073
  i0.ɵɵadvance(1);
21052
21074
  i0.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
21053
21075
  } }
21054
- const _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
21076
+ const _c0$l = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
21055
21077
  /**
21056
21078
  * Display a complex type fields as a list of values without labels.
21057
21079
  * This is intended for rendering of Check Your Answer page.
@@ -21070,7 +21092,7 @@ ReadComplexFieldRawComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexF
21070
21092
  i0.ɵɵelementEnd();
21071
21093
  } if (rf & 2) {
21072
21094
  i0.ɵɵadvance(1);
21073
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
21095
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
21074
21096
  } }, 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}"] });
21075
21097
  const ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
21076
21098
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
@@ -21139,6 +21161,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
21139
21161
  i0.ɵɵadvance(1);
21140
21162
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
21141
21163
  } }
21164
+ const _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
21142
21165
  class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
21143
21166
  constructor() {
21144
21167
  super(...arguments);
@@ -21146,7 +21169,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
21146
21169
  }
21147
21170
  }
21148
21171
  ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
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
+ ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, 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) {
21150
21173
  i0.ɵɵelementStart(0, "div", 0);
21151
21174
  i0.ɵɵelementStart(1, "dl", 1);
21152
21175
  i0.ɵɵelementStart(2, "dt");
@@ -21168,7 +21191,7 @@ ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComple
21168
21191
  i0.ɵɵadvance(4);
21169
21192
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
21170
21193
  i0.ɵɵadvance(5);
21171
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind4(10, 4, ctx.caseField, false, undefined, true));
21194
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction3(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
21172
21195
  } }, 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}"] });
21173
21196
  const ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
21174
21197
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
@@ -22926,17 +22949,17 @@ class ReadFieldsFilterPipe {
22926
22949
  /**
22927
22950
  * Complex type should have at least on simple field descendant with a value.
22928
22951
  */
22929
- static isValidComplex(field, values) {
22952
+ static isValidComplex(field, values, checkConditionalShowAgainst) {
22930
22953
  values = values || {};
22931
22954
  const type = field.field_type;
22932
22955
  const value = ReadFieldsFilterPipe.getValue(field, values);
22933
22956
  const hasChildrenWithValue = type.complex_fields.find(f => {
22934
- const willKeep = ReadFieldsFilterPipe.keepField(f, value, true);
22935
- return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, value).hidden !== true;
22957
+ const willKeep = ReadFieldsFilterPipe.keepField(f, value, true, checkConditionalShowAgainst);
22958
+ return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, checkConditionalShowAgainst).hidden !== true;
22936
22959
  });
22937
22960
  return !!hasChildrenWithValue;
22938
22961
  }
22939
- static isValidCollection(field, values) {
22962
+ static isValidCollection(field, values, checkConditionalShowAgainst) {
22940
22963
  // if field is collection and it has complex/collection child field; parent field doesnt have value defined
22941
22964
  if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
22942
22965
  return true;
@@ -22950,7 +22973,7 @@ class ReadFieldsFilterPipe {
22950
22973
  value: item.value,
22951
22974
  label: null,
22952
22975
  });
22953
- return ReadFieldsFilterPipe.isValidComplex(complexField);
22976
+ return ReadFieldsFilterPipe.isValidComplex(complexField, undefined, checkConditionalShowAgainst);
22954
22977
  });
22955
22978
  }
22956
22979
  return isNotEmpty;
@@ -22962,11 +22985,11 @@ class ReadFieldsFilterPipe {
22962
22985
  static isCompound(field) {
22963
22986
  return ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type];
22964
22987
  }
22965
- static isValidCompound(field, value) {
22988
+ static isValidCompound(field, value, checkConditionalShowAgainst) {
22966
22989
  return ReadFieldsFilterPipe.isCompound(field)
22967
- && ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value);
22990
+ && ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value, checkConditionalShowAgainst);
22968
22991
  }
22969
- static keepField(field, value, ignoreLabels = false) {
22992
+ static keepField(field, value, ignoreLabels = false, checkConditionalShowAgainst) {
22970
22993
  // We shouldn't ditch labels.
22971
22994
  if (!ignoreLabels && field.field_type.type === 'Label' && (field.label || '').length > 0) {
22972
22995
  return true;
@@ -22977,7 +23000,7 @@ class ReadFieldsFilterPipe {
22977
23000
  }
22978
23001
  value = value || {};
22979
23002
  if (ReadFieldsFilterPipe.isCompound(field)) {
22980
- return ReadFieldsFilterPipe.isValidCompound(field, value);
23003
+ return ReadFieldsFilterPipe.isValidCompound(field, value, checkConditionalShowAgainst);
22981
23004
  }
22982
23005
  return !ReadFieldsFilterPipe.isEmpty(field.value)
22983
23006
  || !ReadFieldsFilterPipe.isEmpty(value[field.id]);
@@ -23020,7 +23043,7 @@ class ReadFieldsFilterPipe {
23020
23043
  /**
23021
23044
  * Filter out fields having no data to display and harmonise field values coming parent's value.
23022
23045
  */
23023
- transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path) {
23046
+ transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path, idPrefix) {
23024
23047
  if (!complexField || !complexField.field_type) {
23025
23048
  return [];
23026
23049
  }
@@ -23029,8 +23052,15 @@ class ReadFieldsFilterPipe {
23029
23052
  let checkConditionalShowAgainst = values;
23030
23053
  let formGroupAvailable = false;
23031
23054
  if (formGroup) {
23032
- checkConditionalShowAgainst = formGroup.value;
23055
+ checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
23033
23056
  formGroupAvailable = true;
23057
+ if (idPrefix) {
23058
+ const fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
23059
+ if (checkConditionalShowAgainst[fieldId]) {
23060
+ checkConditionalShowAgainst = values;
23061
+ formGroupAvailable = false;
23062
+ }
23063
+ }
23034
23064
  }
23035
23065
  return fields
23036
23066
  .map(f => {
@@ -23050,7 +23080,7 @@ class ReadFieldsFilterPipe {
23050
23080
  }
23051
23081
  return f;
23052
23082
  })
23053
- .filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f));
23083
+ .filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f, undefined, false, checkConditionalShowAgainst));
23054
23084
  }
23055
23085
  }
23056
23086
  ReadFieldsFilterPipe.EMPTY_VALUES = [
@@ -28290,6 +28320,7 @@ class CaseFullAccessViewComponent {
28290
28320
  const targetTabIndex = this.tabGroup._tabs.toArray().findIndex(tab => tab.textLabel === triggerOutputEventText);
28291
28321
  if (targetTabIndex > -1) {
28292
28322
  this.selectedTabIndex = targetTabIndex;
28323
+ this.tabGroup.selectedIndex = targetTabIndex;
28293
28324
  }
28294
28325
  }
28295
28326
  hasActiveCaseFlags() {