@hmcts/ccd-case-ui-toolkit 6.19.9-rc4 → 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.
Files changed (22) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +122 -154
  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 +1 -4
  6. package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +9 -13
  7. package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +1 -2
  8. package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +3 -4
  9. package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +2 -16
  10. package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +2 -2
  11. package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +13 -20
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +121 -151
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  14. package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
  15. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +1 -2
  16. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
  17. package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -1
  18. package/lib/shared/components/palette/document/write-document-field.component.d.ts +0 -1
  19. package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
  20. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
  21. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
  22. package/package.json +1 -1
@@ -144,7 +144,7 @@
144
144
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
145
145
  }
146
146
  }
147
- var _c0$10 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
147
+ var _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
148
148
  var _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
149
149
  var FooterComponent = /** @class */ (function () {
150
150
  function FooterComponent() {
@@ -154,7 +154,7 @@
154
154
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
155
155
  FooterComponent.ɵcmp = i0__namespace.ɵɵ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) {
156
156
  if (rf & 1) {
157
- i0__namespace.ɵɵprojectionDef(_c0$10);
157
+ i0__namespace.ɵɵprojectionDef(_c0$$);
158
158
  i0__namespace.ɵɵelementStart(0, "footer", 0);
159
159
  i0__namespace.ɵɵelementStart(1, "div", 1);
160
160
  i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
@@ -240,7 +240,7 @@
240
240
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 1, ctx_r2.title));
241
241
  }
242
242
  }
243
- var _c0$$ = [[["", "headerNavigation", ""]]];
243
+ var _c0$_ = [[["", "headerNavigation", ""]]];
244
244
  var _c1$s = ["[headerNavigation]"];
245
245
  var HeaderBarComponent = /** @class */ (function () {
246
246
  function HeaderBarComponent() {
@@ -254,7 +254,7 @@
254
254
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
255
255
  HeaderBarComponent.ɵcmp = i0__namespace.ɵɵ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) {
256
256
  if (rf & 1) {
257
- i0__namespace.ɵɵprojectionDef(_c0$$);
257
+ i0__namespace.ɵɵprojectionDef(_c0$_);
258
258
  i0__namespace.ɵɵelementStart(0, "header", 0);
259
259
  i0__namespace.ɵɵelementStart(1, "div", 1);
260
260
  i0__namespace.ɵɵelementStart(2, "div", 2);
@@ -321,7 +321,7 @@
321
321
  }] });
322
322
  })();
323
323
 
324
- var _c0$_ = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
324
+ var _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
325
325
  var _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
326
326
  var NavigationComponent = /** @class */ (function () {
327
327
  function NavigationComponent() {
@@ -331,7 +331,7 @@
331
331
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
332
332
  NavigationComponent.ɵcmp = i0__namespace.ɵɵ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) {
333
333
  if (rf & 1) {
334
- i0__namespace.ɵɵprojectionDef(_c0$_);
334
+ i0__namespace.ɵɵprojectionDef(_c0$Z);
335
335
  i0__namespace.ɵɵelementStart(0, "div");
336
336
  i0__namespace.ɵɵelementStart(1, "nav", 0);
337
337
  i0__namespace.ɵɵprojection(2);
@@ -487,7 +487,7 @@
487
487
  }], null, null);
488
488
  })();
489
489
 
490
- var _c0$Z = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
490
+ var _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
491
491
  var _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
492
492
  var BodyComponent = /** @class */ (function () {
493
493
  function BodyComponent() {
@@ -497,7 +497,7 @@
497
497
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
498
498
  BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
499
499
  if (rf & 1) {
500
- i0__namespace.ɵɵprojectionDef(_c0$Z);
500
+ i0__namespace.ɵɵprojectionDef(_c0$Y);
501
501
  i0__namespace.ɵɵelementStart(0, "div", 0);
502
502
  i0__namespace.ɵɵprojection(1);
503
503
  i0__namespace.ɵɵprojection(2, 1);
@@ -981,7 +981,7 @@
981
981
  __disposeResources: __disposeResources,
982
982
  };
983
983
 
984
- var _c0$Y = function (a0) { return { "govuk-input--error": a0 }; };
984
+ var _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
985
985
  function DateInputComponent_div_19_Template(rf, ctx) {
986
986
  if (rf & 1) {
987
987
  var _r8_1 = i0__namespace.ɵɵgetCurrentView();
@@ -1002,7 +1002,7 @@
1002
1002
  i0__namespace.ɵɵadvance(1);
1003
1003
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Hour"));
1004
1004
  i0__namespace.ɵɵadvance(2);
1005
- i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$Y, ctx_r3.isInvalid));
1005
+ i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r3.isInvalid));
1006
1006
  }
1007
1007
  }
1008
1008
  function DateInputComponent_div_20_Template(rf, ctx) {
@@ -1025,7 +1025,7 @@
1025
1025
  i0__namespace.ɵɵadvance(1);
1026
1026
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Minute"));
1027
1027
  i0__namespace.ɵɵadvance(2);
1028
- i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$Y, ctx_r4.isInvalid));
1028
+ i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r4.isInvalid));
1029
1029
  }
1030
1030
  }
1031
1031
  function DateInputComponent_div_21_Template(rf, ctx) {
@@ -1048,7 +1048,7 @@
1048
1048
  i0__namespace.ɵɵadvance(1);
1049
1049
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Second"));
1050
1050
  i0__namespace.ɵɵadvance(2);
1051
- i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$Y, ctx_r5.isInvalid));
1051
+ i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r5.isInvalid));
1052
1052
  }
1053
1053
  }
1054
1054
  var DateInputComponent = /** @class */ (function () {
@@ -1287,19 +1287,19 @@
1287
1287
  i0__namespace.ɵɵadvance(1);
1288
1288
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Day"));
1289
1289
  i0__namespace.ɵɵadvance(2);
1290
- i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$Y, ctx.isInvalid));
1290
+ i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$X, ctx.isInvalid));
1291
1291
  i0__namespace.ɵɵadvance(3);
1292
1292
  i0__namespace.ɵɵproperty("for", ctx.monthId());
1293
1293
  i0__namespace.ɵɵadvance(1);
1294
1294
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 23, "Month"));
1295
1295
  i0__namespace.ɵɵadvance(2);
1296
- i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$Y, ctx.isInvalid));
1296
+ i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$X, ctx.isInvalid));
1297
1297
  i0__namespace.ɵɵadvance(3);
1298
1298
  i0__namespace.ɵɵproperty("for", ctx.yearId());
1299
1299
  i0__namespace.ɵɵadvance(1);
1300
1300
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 25, "Year"));
1301
1301
  i0__namespace.ɵɵadvance(2);
1302
- i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$Y, ctx.isInvalid));
1302
+ i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$X, ctx.isInvalid));
1303
1303
  i0__namespace.ɵɵadvance(2);
1304
1304
  i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
1305
1305
  i0__namespace.ɵɵadvance(1);
@@ -1380,7 +1380,7 @@
1380
1380
  i0__namespace.ɵɵelementContainerEnd();
1381
1381
  }
1382
1382
  }
1383
- var _c0$X = ["*"];
1383
+ var _c0$W = ["*"];
1384
1384
  exports.AlertMessageType = void 0;
1385
1385
  (function (AlertMessageType) {
1386
1386
  AlertMessageType["WARNING"] = "warning";
@@ -1401,7 +1401,7 @@
1401
1401
  AlertComponent.TYPE_ERROR = 'error';
1402
1402
  AlertComponent.TYPE_INFORMATION = 'information';
1403
1403
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
1404
- AlertComponent.ɵcmp = i0__namespace.ɵɵ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) {
1404
+ AlertComponent.ɵcmp = i0__namespace.ɵɵ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) {
1405
1405
  if (rf & 1) {
1406
1406
  i0__namespace.ɵɵprojectionDef();
1407
1407
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1683,7 +1683,7 @@
1683
1683
  }] });
1684
1684
  })();
1685
1685
 
1686
- var _c0$W = function (a0) { return { "js-hidden": a0 }; };
1686
+ var _c0$V = function (a0) { return { "js-hidden": a0 }; };
1687
1687
  var _c1$p = ["*"];
1688
1688
  var TabComponent = /** @class */ (function () {
1689
1689
  function TabComponent() {
@@ -1699,7 +1699,7 @@
1699
1699
  i0__namespace.ɵɵelementEnd();
1700
1700
  }
1701
1701
  if (rf & 2) {
1702
- i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$W, !ctx.selected));
1702
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
1703
1703
  i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
1704
1704
  }
1705
1705
  }, directives: [i2__namespace.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}}"] });
@@ -1722,7 +1722,7 @@
1722
1722
  }] });
1723
1723
  })();
1724
1724
 
1725
- var _c0$V = ["tab"];
1725
+ var _c0$U = ["tab"];
1726
1726
  var _c1$o = function () { return ["."]; };
1727
1727
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1728
1728
  function TabsComponent_li_2_Template(rf, ctx) {
@@ -1778,7 +1778,7 @@
1778
1778
  }
1779
1779
  }, viewQuery: function TabsComponent_Query(rf, ctx) {
1780
1780
  if (rf & 1) {
1781
- i0__namespace.ɵɵviewQuery(_c0$V, 1);
1781
+ i0__namespace.ɵɵviewQuery(_c0$U, 1);
1782
1782
  }
1783
1783
  if (rf & 2) {
1784
1784
  var _t = void 0;
@@ -1859,7 +1859,7 @@
1859
1859
  }], null, null);
1860
1860
  })();
1861
1861
 
1862
- var _c0$U = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1862
+ var _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1863
1863
  var ActivityBannerComponent = /** @class */ (function () {
1864
1864
  function ActivityBannerComponent() {
1865
1865
  }
@@ -1882,7 +1882,7 @@
1882
1882
  i0__namespace.ɵɵelementEnd();
1883
1883
  }
1884
1884
  if (rf & 2) {
1885
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$U, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1885
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1886
1886
  i0__namespace.ɵɵadvance(2);
1887
1887
  i0__namespace.ɵɵpropertyInterpolate("alt", i0__namespace.ɵɵpipeBind1(3, 4, ctx.description));
1888
1888
  i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
@@ -4868,7 +4868,7 @@
4868
4868
  };
4869
4869
  ConditionParser.findValueForComplexConditionInArray = function (fields, head, tail, path) {
4870
4870
  // use the path to resolve which array element we refer to
4871
- if (path && path.startsWith(head)) {
4871
+ if (path.startsWith(head)) {
4872
4872
  var _a = __read(path.split(/[_]+/g)), _ = _a[0], pathTail = _a.slice(1);
4873
4873
  if (pathTail.length > 0) {
4874
4874
  try {
@@ -8700,7 +8700,6 @@
8700
8700
  childrenCaseFields.forEach(function (e) { return _this.hideParentIfAllChildrenHidden(e); });
8701
8701
  if (childrenCaseFields.length > 0 && this.allCaseFieldsHidden(childrenCaseFields)) {
8702
8702
  caseField.hidden = true;
8703
- caseField.display_context = 'HIDDEN';
8704
8703
  }
8705
8704
  };
8706
8705
  WizardPageFieldToCaseFieldMapper.prototype.getCaseFieldChildren = function (caseField) {
@@ -9894,26 +9893,22 @@
9894
9893
  .mergeCaseFieldsAndFormFields(eventTriggerFields, data);
9895
9894
  return page.parsedShowCondition.match(fields);
9896
9895
  };
9897
- ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage) {
9898
- if (fromPreviousPage === void 0) { fromPreviousPage = false; }
9899
- var pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
9900
- if (!fromPreviousPage && pageListCaseFields.length > 0) {
9901
- Object.keys(caseEventDatadata).forEach(function (key) {
9902
- if (pageListCaseFields.findIndex(function (element) { return element.id === key; }) < 0) {
9903
- delete caseEventDatadata[key];
9904
- }
9905
- });
9906
- }
9907
- };
9908
- ValidPageListCaseFieldsService.prototype.validPageListCaseFields = function (validPageList, data, eventTriggerFields) {
9896
+ ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList, data, eventTriggerFields, fromPreviousPage) {
9909
9897
  var _this = this;
9898
+ if (fromPreviousPage === void 0) { fromPreviousPage = false; }
9910
9899
  var validPageListCaseFields = [];
9911
9900
  validPageList.forEach(function (page) {
9912
9901
  if (_this.isShown(page, eventTriggerFields, data)) {
9913
9902
  page.case_fields.forEach(function (field) { return validPageListCaseFields.push(field); });
9914
9903
  }
9915
9904
  });
9916
- return validPageListCaseFields;
9905
+ if (!fromPreviousPage && validPageListCaseFields.length > 0) {
9906
+ Object.keys(data).forEach(function (key) {
9907
+ if (validPageListCaseFields.findIndex(function (element) { return element.id === key; }) < 0) {
9908
+ delete data[key];
9909
+ }
9910
+ });
9911
+ }
9917
9912
  };
9918
9913
  return ValidPageListCaseFieldsService;
9919
9914
  }());
@@ -10115,9 +10110,6 @@
10115
10110
  this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
10116
10111
  // delete fields which are not part of the case event journey wizard pages case fields
10117
10112
  this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
10118
- var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
10119
- // // Remove unnesessary case fields which are hidden
10120
- this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
10121
10113
  caseEventData.event_token = eventTrigger.event_token;
10122
10114
  caseEventData.ignore_warning = this.ignoreWarning;
10123
10115
  if (this.confirmation) {
@@ -11778,7 +11770,7 @@
11778
11770
  return AddressOption;
11779
11771
  }());
11780
11772
 
11781
- var _c0$T = ["writeComplexFieldComponent"];
11773
+ var _c0$S = ["writeComplexFieldComponent"];
11782
11774
  function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
11783
11775
  if (rf & 1) {
11784
11776
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -12013,7 +12005,7 @@
12013
12005
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
12014
12006
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
12015
12007
  if (rf & 1) {
12016
- i0__namespace.ɵɵviewQuery(_c0$T, 1);
12008
+ i0__namespace.ɵɵviewQuery(_c0$S, 1);
12017
12009
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
12018
12010
  }
12019
12011
  if (rf & 2) {
@@ -12667,7 +12659,7 @@
12667
12659
  i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
12668
12660
  }
12669
12661
  }
12670
- var _c0$S = function (a0) { return { "form-group-error": a0 }; };
12662
+ var _c0$R = function (a0) { return { "form-group-error": a0 }; };
12671
12663
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
12672
12664
  if (rf & 1) {
12673
12665
  i0__namespace.ɵɵelementStart(0, "div", 8);
@@ -12689,7 +12681,7 @@
12689
12681
  i0__namespace.ɵɵadvance(1);
12690
12682
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
12691
12683
  i0__namespace.ɵɵadvance(1);
12692
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$S, ctx_r1.errorMessages.length > 0));
12684
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$R, ctx_r1.errorMessages.length > 0));
12693
12685
  i0__namespace.ɵɵadvance(1);
12694
12686
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
12695
12687
  i0__namespace.ɵɵadvance(2);
@@ -13165,7 +13157,7 @@
13165
13157
  }], null, null);
13166
13158
  })();
13167
13159
 
13168
- var _c0$R = ["writeComplexFieldComponent"];
13160
+ var _c0$Q = ["writeComplexFieldComponent"];
13169
13161
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
13170
13162
  if (rf & 1) {
13171
13163
  i0__namespace.ɵɵelementStart(0, "span", 6);
@@ -13273,7 +13265,7 @@
13273
13265
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
13274
13266
  WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
13275
13267
  if (rf & 1) {
13276
- i0__namespace.ɵɵviewQuery(_c0$R, 1);
13268
+ i0__namespace.ɵɵviewQuery(_c0$Q, 1);
13277
13269
  }
13278
13270
  if (rf & 2) {
13279
13271
  var _t = void 0;
@@ -13318,7 +13310,7 @@
13318
13310
  }] });
13319
13311
  })();
13320
13312
 
13321
- var _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 }; };
13313
+ var _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 }; };
13322
13314
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
13323
13315
  if (rf & 1) {
13324
13316
  i0__namespace.ɵɵelementStart(0, "tbody");
@@ -13333,7 +13325,7 @@
13333
13325
  if (rf & 2) {
13334
13326
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
13335
13327
  i0__namespace.ɵɵadvance(4);
13336
- i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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);
13328
+ i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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);
13337
13329
  }
13338
13330
  }
13339
13331
  var _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
@@ -13498,7 +13490,7 @@
13498
13490
  }], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
13499
13491
  })();
13500
13492
 
13501
- var _c0$P = ["collectionItem"];
13493
+ var _c0$O = ["collectionItem"];
13502
13494
  function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
13503
13495
  if (rf & 1) {
13504
13496
  i0__namespace.ɵɵelementStart(0, "span", 9);
@@ -13931,7 +13923,7 @@
13931
13923
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
13932
13924
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
13933
13925
  if (rf & 1) {
13934
- i0__namespace.ɵɵviewQuery(_c0$P, 1);
13926
+ i0__namespace.ɵɵviewQuery(_c0$O, 1);
13935
13927
  }
13936
13928
  if (rf & 2) {
13937
13929
  var _t = void 0;
@@ -14644,7 +14636,7 @@
14644
14636
  }], null, null);
14645
14637
  })();
14646
14638
 
14647
- var _c0$O = ["fileInput"];
14639
+ var _c0$N = ["fileInput"];
14648
14640
  function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
14649
14641
  if (rf & 1) {
14650
14642
  i0__namespace.ɵɵelementStart(0, "span", 12);
@@ -14694,15 +14686,6 @@
14694
14686
  _this.valid = true;
14695
14687
  return _this;
14696
14688
  }
14697
- WriteDocumentFieldComponent.prototype.clickout = function (event) {
14698
- // Capturing the event of the associated ElementRef <input type="file" #fileInpu
14699
- if (this.fileInput.nativeElement.contains(event.target)) {
14700
- this.clickInsideTheDocument = true;
14701
- }
14702
- else {
14703
- this.fileValidations();
14704
- }
14705
- };
14706
14689
  WriteDocumentFieldComponent.prototype.ngOnInit = function () {
14707
14690
  this.secureModeOn = this.appConfig.getDocumentSecureMode();
14708
14691
  if (this.secureModeOn) {
@@ -14958,16 +14941,12 @@
14958
14941
  WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService), i0__namespace.ɵɵdirectiveInject(JurisdictionService)); };
14959
14942
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
14960
14943
  if (rf & 1) {
14961
- i0__namespace.ɵɵviewQuery(_c0$O, 1);
14944
+ i0__namespace.ɵɵviewQuery(_c0$N, 1);
14962
14945
  }
14963
14946
  if (rf & 2) {
14964
14947
  var _t = void 0;
14965
14948
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
14966
14949
  }
14967
- }, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) {
14968
- if (rf & 1) {
14969
- i0__namespace.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0__namespace.ɵɵresolveDocument);
14970
- }
14971
14950
  }, features: [i0__namespace.ɵɵ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) {
14972
14951
  if (rf & 1) {
14973
14952
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -15036,9 +15015,6 @@
15036
15015
  }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
15037
15016
  type: i0.ViewChild,
15038
15017
  args: ['fileInput', { static: false }]
15039
- }], clickout: [{
15040
- type: i0.HostListener,
15041
- args: ['document:click', ['$event']]
15042
15018
  }] });
15043
15019
  })();
15044
15020
 
@@ -15172,7 +15148,7 @@
15172
15148
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
15173
15149
  }
15174
15150
  }
15175
- var _c0$N = function (a0) { return { "form-group-error": a0 }; };
15151
+ var _c0$M = function (a0) { return { "form-group-error": a0 }; };
15176
15152
  var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
15177
15153
  __extends(WriteDynamicListFieldComponent, _super);
15178
15154
  function WriteDynamicListFieldComponent() {
@@ -15222,7 +15198,7 @@
15222
15198
  i0__namespace.ɵɵelementEnd();
15223
15199
  }
15224
15200
  if (rf & 2) {
15225
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$N, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15201
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15226
15202
  i0__namespace.ɵɵadvance(1);
15227
15203
  i0__namespace.ɵɵproperty("for", ctx.id());
15228
15204
  i0__namespace.ɵɵadvance(1);
@@ -15449,7 +15425,7 @@
15449
15425
  i0__namespace.ɵɵproperty("content", checkbox_r4.label);
15450
15426
  }
15451
15427
  }
15452
- var _c0$M = function (a0) { return { "error": a0 }; };
15428
+ var _c0$L = function (a0) { return { "error": a0 }; };
15453
15429
  var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
15454
15430
  __extends(WriteDynamicMultiSelectListFieldComponent, _super);
15455
15431
  function WriteDynamicMultiSelectListFieldComponent() {
@@ -15532,7 +15508,7 @@
15532
15508
  i0__namespace.ɵɵelementEnd();
15533
15509
  }
15534
15510
  if (rf & 2) {
15535
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$M, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15511
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15536
15512
  i0__namespace.ɵɵadvance(3);
15537
15513
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
15538
15514
  i0__namespace.ɵɵadvance(1);
@@ -15684,7 +15660,7 @@
15684
15660
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
15685
15661
  }
15686
15662
  }
15687
- var _c0$L = function (a0) { return { selected: a0 }; };
15663
+ var _c0$K = function (a0) { return { selected: a0 }; };
15688
15664
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15689
15665
  if (rf & 1) {
15690
15666
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -15698,7 +15674,7 @@
15698
15674
  if (rf & 2) {
15699
15675
  var radioButton_r5 = ctx.$implicit;
15700
15676
  var ctx_r4 = i0__namespace.ɵɵnextContext();
15701
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15677
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15702
15678
  i0__namespace.ɵɵadvance(1);
15703
15679
  i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
15704
15680
  i0__namespace.ɵɵadvance(1);
@@ -15864,7 +15840,7 @@
15864
15840
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
15865
15841
  }
15866
15842
  }
15867
- var _c0$K = function (a0) { return { "form-group-error": a0 }; };
15843
+ var _c0$J = function (a0) { return { "form-group-error": a0 }; };
15868
15844
  var _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
15869
15845
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
15870
15846
  __extends(WriteEmailFieldComponent, _super);
@@ -15889,7 +15865,7 @@
15889
15865
  i0__namespace.ɵɵelementEnd();
15890
15866
  }
15891
15867
  if (rf & 2) {
15892
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15868
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15893
15869
  i0__namespace.ɵɵadvance(1);
15894
15870
  i0__namespace.ɵɵproperty("for", ctx.id());
15895
15871
  i0__namespace.ɵɵadvance(1);
@@ -16000,7 +15976,7 @@
16000
15976
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
16001
15977
  }
16002
15978
  }
16003
- var _c0$J = function (a0) { return { "form-group-error": a0 }; };
15979
+ var _c0$I = function (a0) { return { "form-group-error": a0 }; };
16004
15980
  var WriteFixedListFieldComponent = /** @class */ (function (_super) {
16005
15981
  __extends(WriteFixedListFieldComponent, _super);
16006
15982
  function WriteFixedListFieldComponent() {
@@ -16049,7 +16025,7 @@
16049
16025
  i0__namespace.ɵɵelementEnd();
16050
16026
  }
16051
16027
  if (rf & 2) {
16052
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16028
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16053
16029
  i0__namespace.ɵɵadvance(1);
16054
16030
  i0__namespace.ɵɵproperty("for", ctx.id());
16055
16031
  i0__namespace.ɵɵadvance(1);
@@ -16171,7 +16147,7 @@
16171
16147
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
16172
16148
  }
16173
16149
  }
16174
- var _c0$I = function (a0) { return { selected: a0 }; };
16150
+ var _c0$H = function (a0) { return { selected: a0 }; };
16175
16151
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
16176
16152
  if (rf & 1) {
16177
16153
  i0__namespace.ɵɵelementStart(0, "div", 9);
@@ -16185,7 +16161,7 @@
16185
16161
  if (rf & 2) {
16186
16162
  var radioButton_r4 = ctx.$implicit;
16187
16163
  var ctx_r3 = i0__namespace.ɵɵnextContext();
16188
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
16164
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
16189
16165
  i0__namespace.ɵɵadvance(1);
16190
16166
  i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
16191
16167
  i0__namespace.ɵɵadvance(1);
@@ -16368,7 +16344,7 @@
16368
16344
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
16369
16345
  }
16370
16346
  }
16371
- var _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
16347
+ var _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
16372
16348
  function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
16373
16349
  if (rf & 1) {
16374
16350
  var _r9_1 = i0__namespace.ɵɵgetCurrentView();
@@ -16380,7 +16356,7 @@
16380
16356
  if (rf & 2) {
16381
16357
  var judicialUser_r7 = ctx.$implicit;
16382
16358
  var ctx_r4 = i0__namespace.ɵɵnextContext();
16383
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
16359
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$G, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
16384
16360
  i0__namespace.ɵɵadvance(1);
16385
16361
  i0__namespace.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
16386
16362
  }
@@ -17309,7 +17285,7 @@
17309
17285
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
17310
17286
  }
17311
17287
  }
17312
- var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
17288
+ var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
17313
17289
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
17314
17290
  if (rf & 1) {
17315
17291
  i0__namespace.ɵɵelementStart(0, "div", 35);
@@ -17327,7 +17303,7 @@
17327
17303
  }
17328
17304
  if (rf & 2) {
17329
17305
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
17330
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
17306
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
17331
17307
  i0__namespace.ɵɵadvance(3);
17332
17308
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
17333
17309
  }
@@ -17384,11 +17360,11 @@
17384
17360
  var ctx_r0 = i0__namespace.ɵɵnextContext();
17385
17361
  i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
17386
17362
  i0__namespace.ɵɵadvance(1);
17387
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
17363
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
17388
17364
  i0__namespace.ɵɵadvance(3);
17389
17365
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
17390
17366
  i0__namespace.ɵɵadvance(2);
17391
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
17367
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
17392
17368
  i0__namespace.ɵɵadvance(5);
17393
17369
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
17394
17370
  i0__namespace.ɵɵadvance(2);
@@ -17822,7 +17798,7 @@
17822
17798
  i0__namespace.ɵɵadvance(4);
17823
17799
  i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
17824
17800
  i0__namespace.ɵɵadvance(4);
17825
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
17801
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
17826
17802
  i0__namespace.ɵɵadvance(1);
17827
17803
  i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
17828
17804
  i0__namespace.ɵɵadvance(18);
@@ -18529,7 +18505,7 @@
18529
18505
  i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
18530
18506
  }
18531
18507
  }
18532
- var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
18508
+ var _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
18533
18509
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
18534
18510
  if (rf & 1) {
18535
18511
  i0__namespace.ɵɵelementStart(0, "div", 7);
@@ -18541,7 +18517,7 @@
18541
18517
  }
18542
18518
  if (rf & 2) {
18543
18519
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
18544
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
18520
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
18545
18521
  i0__namespace.ɵɵadvance(1);
18546
18522
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
18547
18523
  i0__namespace.ɵɵadvance(2);
@@ -19428,7 +19404,7 @@
19428
19404
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
19429
19405
  }
19430
19406
  }
19431
- var _c0$E = function (a0) { return { "form-group-error": a0 }; };
19407
+ var _c0$D = function (a0) { return { "form-group-error": a0 }; };
19432
19408
  var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
19433
19409
  __extends(WriteMoneyGbpFieldComponent, _super);
19434
19410
  function WriteMoneyGbpFieldComponent() {
@@ -19458,7 +19434,7 @@
19458
19434
  i0__namespace.ɵɵelementEnd();
19459
19435
  }
19460
19436
  if (rf & 2) {
19461
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19437
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19462
19438
  i0__namespace.ɵɵadvance(1);
19463
19439
  i0__namespace.ɵɵproperty("for", ctx.id());
19464
19440
  i0__namespace.ɵɵadvance(1);
@@ -19613,7 +19589,7 @@
19613
19589
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
19614
19590
  }
19615
19591
  }
19616
- var _c0$D = function (a0) { return { "error": a0 }; };
19592
+ var _c0$C = function (a0) { return { "error": a0 }; };
19617
19593
  var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
19618
19594
  __extends(WriteMultiSelectListFieldComponent, _super);
19619
19595
  function WriteMultiSelectListFieldComponent() {
@@ -19677,7 +19653,7 @@
19677
19653
  i0__namespace.ɵɵelementEnd();
19678
19654
  }
19679
19655
  if (rf & 2) {
19680
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19656
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19681
19657
  i0__namespace.ɵɵadvance(3);
19682
19658
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
19683
19659
  i0__namespace.ɵɵadvance(1);
@@ -19771,7 +19747,7 @@
19771
19747
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
19772
19748
  }
19773
19749
  }
19774
- var _c0$C = function (a0) { return { "form-group-error": a0 }; };
19750
+ var _c0$B = function (a0) { return { "form-group-error": a0 }; };
19775
19751
  var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
19776
19752
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
19777
19753
  __extends(WriteNumberFieldComponent, _super);
@@ -19796,7 +19772,7 @@
19796
19772
  i0__namespace.ɵɵelementEnd();
19797
19773
  }
19798
19774
  if (rf & 2) {
19799
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
19775
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
19800
19776
  i0__namespace.ɵɵadvance(1);
19801
19777
  i0__namespace.ɵɵproperty("for", ctx.id());
19802
19778
  i0__namespace.ɵɵadvance(1);
@@ -20135,7 +20111,7 @@
20135
20111
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
20136
20112
  }
20137
20113
  }
20138
- var _c0$B = function (a0) { return { "scroll-container ": a0 }; };
20114
+ var _c0$A = function (a0) { return { "scroll-container ": a0 }; };
20139
20115
  function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
20140
20116
  if (rf & 1) {
20141
20117
  i0__namespace.ɵɵelementStart(0, "div", 26);
@@ -20151,7 +20127,7 @@
20151
20127
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
20152
20128
  var tmp_0_0 = null;
20153
20129
  var tmp_2_0 = null;
20154
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
20130
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
20155
20131
  i0__namespace.ɵɵadvance(2);
20156
20132
  i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
20157
20133
  i0__namespace.ɵɵadvance(2);
@@ -20649,7 +20625,7 @@
20649
20625
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
20650
20626
  }
20651
20627
  }
20652
- var _c0$A = function (a0) { return { "form-group-error": a0 }; };
20628
+ var _c0$z = function (a0) { return { "form-group-error": a0 }; };
20653
20629
  var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
20654
20630
  var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
20655
20631
  __extends(WritePhoneUKFieldComponent, _super);
@@ -20674,7 +20650,7 @@
20674
20650
  i0__namespace.ɵɵelementEnd();
20675
20651
  }
20676
20652
  if (rf & 2) {
20677
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$A, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20653
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20678
20654
  i0__namespace.ɵɵadvance(1);
20679
20655
  i0__namespace.ɵɵproperty("for", ctx.id());
20680
20656
  i0__namespace.ɵɵadvance(1);
@@ -20770,7 +20746,7 @@
20770
20746
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
20771
20747
  }
20772
20748
  }
20773
- var _c0$z = function (a0) { return { "form-group-error": a0 }; };
20749
+ var _c0$y = function (a0) { return { "form-group-error": a0 }; };
20774
20750
  var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
20775
20751
  var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
20776
20752
  __extends(WriteTextAreaFieldComponent, _super);
@@ -20806,7 +20782,7 @@
20806
20782
  i0__namespace.ɵɵelementEnd();
20807
20783
  }
20808
20784
  if (rf & 2) {
20809
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$z, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
20785
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
20810
20786
  i0__namespace.ɵɵadvance(1);
20811
20787
  i0__namespace.ɵɵproperty("for", ctx.id());
20812
20788
  i0__namespace.ɵɵadvance(1);
@@ -20902,7 +20878,7 @@
20902
20878
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
20903
20879
  }
20904
20880
  }
20905
- var _c0$y = function (a0) { return { "form-group-error": a0 }; };
20881
+ var _c0$x = function (a0) { return { "form-group-error": a0 }; };
20906
20882
  var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
20907
20883
  var WriteTextFieldComponent = /** @class */ (function (_super) {
20908
20884
  __extends(WriteTextFieldComponent, _super);
@@ -20932,7 +20908,7 @@
20932
20908
  i0__namespace.ɵɵelementEnd();
20933
20909
  }
20934
20910
  if (rf & 2) {
20935
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$y, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
20911
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
20936
20912
  i0__namespace.ɵɵadvance(1);
20937
20913
  i0__namespace.ɵɵproperty("for", ctx.id());
20938
20914
  i0__namespace.ɵɵadvance(1);
@@ -21145,7 +21121,7 @@
21145
21121
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
21146
21122
  }
21147
21123
  }
21148
- var _c0$x = function (a0) { return { selected: a0 }; };
21124
+ var _c0$w = function (a0) { return { selected: a0 }; };
21149
21125
  function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
21150
21126
  if (rf & 1) {
21151
21127
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -21158,7 +21134,7 @@
21158
21134
  if (rf & 2) {
21159
21135
  var value_r4 = ctx.$implicit;
21160
21136
  var ctx_r3 = i0__namespace.ɵɵnextContext();
21161
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$x, ctx_r3.yesNoControl.value === value_r4));
21137
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
21162
21138
  i0__namespace.ɵɵadvance(1);
21163
21139
  i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
21164
21140
  i0__namespace.ɵɵattribute("name", ctx_r3.id());
@@ -21326,7 +21302,7 @@
21326
21302
  }], null, null);
21327
21303
  })();
21328
21304
 
21329
- var _c0$w = ["fieldContainer"];
21305
+ var _c0$v = ["fieldContainer"];
21330
21306
  var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
21331
21307
  var FieldReadComponent = /** @class */ (function (_super) {
21332
21308
  __extends(FieldReadComponent, _super);
@@ -21379,7 +21355,7 @@
21379
21355
  FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
21380
21356
  FieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
21381
21357
  if (rf & 1) {
21382
- i0__namespace.ɵɵviewQuery(_c0$w, 1, i0.ViewContainerRef);
21358
+ i0__namespace.ɵɵviewQuery(_c0$v, 1, i0.ViewContainerRef);
21383
21359
  }
21384
21360
  if (rf & 2) {
21385
21361
  var _t = void 0;
@@ -21420,7 +21396,7 @@
21420
21396
  }] });
21421
21397
  })();
21422
21398
 
21423
- var _c0$v = ["fieldContainer"];
21399
+ var _c0$u = ["fieldContainer"];
21424
21400
  var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
21425
21401
  var FieldWriteComponent = /** @class */ (function (_super) {
21426
21402
  __extends(FieldWriteComponent, _super);
@@ -21468,7 +21444,7 @@
21468
21444
  FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
21469
21445
  FieldWriteComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
21470
21446
  if (rf & 1) {
21471
- i0__namespace.ɵɵviewQuery(_c0$v, 3, i0.ViewContainerRef);
21447
+ i0__namespace.ɵɵviewQuery(_c0$u, 3, i0.ViewContainerRef);
21472
21448
  }
21473
21449
  if (rf & 2) {
21474
21450
  var _t = void 0;
@@ -21532,7 +21508,7 @@
21532
21508
  i0__namespace.ɵɵprojection(0);
21533
21509
  }
21534
21510
  }
21535
- var _c0$u = ["*"];
21511
+ var _c0$t = ["*"];
21536
21512
  var FieldReadLabelComponent = /** @class */ (function (_super) {
21537
21513
  __extends(FieldReadLabelComponent, _super);
21538
21514
  function FieldReadLabelComponent() {
@@ -21570,7 +21546,7 @@
21570
21546
  return FieldReadLabelComponent;
21571
21547
  }(AbstractFieldReadComponent));
21572
21548
  FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
21573
- FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵ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) {
21549
+ FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵ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) {
21574
21550
  if (rf & 1) {
21575
21551
  i0__namespace.ɵɵprojectionDef();
21576
21552
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -21609,7 +21585,7 @@
21609
21585
  i0__namespace.ɵɵelementContainer(0);
21610
21586
  }
21611
21587
  }
21612
- var _c0$t = function (a0) { return { cat: a0, level: 1 }; };
21588
+ var _c0$s = function (a0) { return { cat: a0, level: 1 }; };
21613
21589
  function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
21614
21590
  if (rf & 1) {
21615
21591
  i0__namespace.ɵɵelementContainerStart(0);
@@ -21621,7 +21597,7 @@
21621
21597
  i0__namespace.ɵɵnextContext();
21622
21598
  var _r1 = i0__namespace.ɵɵreference(13);
21623
21599
  i0__namespace.ɵɵadvance(1);
21624
- i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$t, cat_r3));
21600
+ i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$s, cat_r3));
21625
21601
  }
21626
21602
  }
21627
21603
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
@@ -21863,7 +21839,7 @@
21863
21839
  i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
21864
21840
  }
21865
21841
  }
21866
- var _c0$s = [[["", "trigger", ""]]];
21842
+ var _c0$r = [[["", "trigger", ""]]];
21867
21843
  var _c1$8 = ["[trigger]"];
21868
21844
  var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
21869
21845
  function CaseFileViewOverlayMenuComponent() {
@@ -21881,7 +21857,7 @@
21881
21857
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
21882
21858
  CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵ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) {
21883
21859
  if (rf & 1) {
21884
- i0__namespace.ɵɵprojectionDef(_c0$s);
21860
+ i0__namespace.ɵɵprojectionDef(_c0$r);
21885
21861
  i0__namespace.ɵɵelementStart(0, "div");
21886
21862
  i0__namespace.ɵɵelementStart(1, "button", 0, 1);
21887
21863
  i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
@@ -22551,7 +22527,7 @@
22551
22527
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
22552
22528
  }
22553
22529
  }
22554
- var _c0$r = function (a0) { return { "form-group-error": a0 }; };
22530
+ var _c0$q = function (a0) { return { "form-group-error": a0 }; };
22555
22531
  var AddCommentsComponent = /** @class */ (function () {
22556
22532
  function AddCommentsComponent() {
22557
22533
  this.optional = false;
@@ -22636,7 +22612,7 @@
22636
22612
  if (rf & 2) {
22637
22613
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
22638
22614
  i0__namespace.ɵɵadvance(2);
22639
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$r, ctx.errorMessages.length > 0));
22615
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$q, ctx.errorMessages.length > 0));
22640
22616
  i0__namespace.ɵɵadvance(2);
22641
22617
  i0__namespace.ɵɵproperty("for", ctx.flagCommentsControlName);
22642
22618
  i0__namespace.ɵɵadvance(1);
@@ -23010,7 +22986,7 @@
23010
22986
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
23011
22987
  }
23012
22988
  }
23013
- var _c0$q = function (a0) { return { "form-group-error": a0 }; };
22989
+ var _c0$p = function (a0) { return { "form-group-error": a0 }; };
23014
22990
  var ManageCaseFlagsComponent = /** @class */ (function () {
23015
22991
  function ManageCaseFlagsComponent() {
23016
22992
  this.caseFlagStateEmitter = new i0.EventEmitter();
@@ -23171,7 +23147,7 @@
23171
23147
  if (rf & 2) {
23172
23148
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
23173
23149
  i0__namespace.ɵɵadvance(1);
23174
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$q, ctx.errorMessages.length > 0));
23150
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
23175
23151
  i0__namespace.ɵɵadvance(4);
23176
23152
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
23177
23153
  i0__namespace.ɵɵadvance(2);
@@ -23282,7 +23258,7 @@
23282
23258
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
23283
23259
  }
23284
23260
  }
23285
- var _c0$p = function (a0) { return { "form-group-error": a0 }; };
23261
+ var _c0$o = function (a0) { return { "form-group-error": a0 }; };
23286
23262
  function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) {
23287
23263
  if (rf & 1) {
23288
23264
  i0__namespace.ɵɵelementStart(0, "div", 25);
@@ -23299,7 +23275,7 @@
23299
23275
  if (rf & 2) {
23300
23276
  var ctx_r5 = i0__namespace.ɵɵnextContext();
23301
23277
  i0__namespace.ɵɵadvance(1);
23302
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$p, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
23278
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$o, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
23303
23279
  i0__namespace.ɵɵadvance(2);
23304
23280
  i0__namespace.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
23305
23281
  i0__namespace.ɵɵadvance(1);
@@ -23474,7 +23450,7 @@
23474
23450
  var _r2 = i0__namespace.ɵɵreference(12);
23475
23451
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
23476
23452
  i0__namespace.ɵɵadvance(1);
23477
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$p, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
23453
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$o, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
23478
23454
  i0__namespace.ɵɵadvance(2);
23479
23455
  i0__namespace.ɵɵproperty("for", ctx.languageSearchTermControlName);
23480
23456
  i0__namespace.ɵɵadvance(1);
@@ -23619,7 +23595,7 @@
23619
23595
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
23620
23596
  }
23621
23597
  }
23622
- var _c0$o = function (a0) { return { "form-group-error": a0 }; };
23598
+ var _c0$n = function (a0) { return { "form-group-error": a0 }; };
23623
23599
  var SelectFlagLocationComponent = /** @class */ (function () {
23624
23600
  function SelectFlagLocationComponent() {
23625
23601
  this.caseFlagStateEmitter = new i0.EventEmitter();
@@ -23709,7 +23685,7 @@
23709
23685
  if (rf & 2) {
23710
23686
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
23711
23687
  i0__namespace.ɵɵadvance(1);
23712
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$o, ctx.errorMessages.length > 0));
23688
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$n, ctx.errorMessages.length > 0));
23713
23689
  i0__namespace.ɵɵadvance(4);
23714
23690
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
23715
23691
  i0__namespace.ɵɵadvance(2);
@@ -23791,7 +23767,7 @@
23791
23767
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
23792
23768
  }
23793
23769
  }
23794
- var _c0$n = function (a0) { return { "form-group-error": a0 }; };
23770
+ var _c0$m = function (a0) { return { "form-group-error": a0 }; };
23795
23771
  var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
23796
23772
  function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
23797
23773
  if (rf & 1) {
@@ -23808,7 +23784,7 @@
23808
23784
  if (rf & 2) {
23809
23785
  var ctx_r2 = i0__namespace.ɵɵnextContext();
23810
23786
  i0__namespace.ɵɵadvance(1);
23811
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$n, ctx_r2.flagTypeErrorMessage.length > 0));
23787
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$m, ctx_r2.flagTypeErrorMessage.length > 0));
23812
23788
  i0__namespace.ɵɵadvance(3);
23813
23789
  i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
23814
23790
  i0__namespace.ɵɵadvance(1);
@@ -23977,7 +23953,7 @@
23977
23953
  if (rf & 2) {
23978
23954
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
23979
23955
  i0__namespace.ɵɵadvance(1);
23980
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$n, ctx.flagTypeNotSelectedErrorMessage.length > 0));
23956
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$m, ctx.flagTypeNotSelectedErrorMessage.length > 0));
23981
23957
  i0__namespace.ɵɵadvance(4);
23982
23958
  i0__namespace.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
23983
23959
  i0__namespace.ɵɵadvance(1);
@@ -24052,7 +24028,7 @@
24052
24028
  i0__namespace.ɵɵelementEnd();
24053
24029
  }
24054
24030
  }
24055
- var _c0$m = function (a0) { return { "form-group-error": a0 }; };
24031
+ var _c0$l = function (a0) { return { "form-group-error": a0 }; };
24056
24032
  var _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
24057
24033
  var UpdateFlagComponent = /** @class */ (function () {
24058
24034
  function UpdateFlagComponent() {
@@ -24174,7 +24150,7 @@
24174
24150
  if (rf & 2) {
24175
24151
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
24176
24152
  i0__namespace.ɵɵadvance(2);
24177
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$m, ctx.errorMessages.length > 0));
24153
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
24178
24154
  i0__namespace.ɵɵadvance(2);
24179
24155
  i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
24180
24156
  i0__namespace.ɵɵadvance(1);
@@ -24240,7 +24216,7 @@
24240
24216
  i0__namespace.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
24241
24217
  }
24242
24218
  }
24243
- var _c0$l = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
24219
+ var _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
24244
24220
  /**
24245
24221
  * Display a complex type fields as a list of values without labels.
24246
24222
  * This is intended for rendering of Check Your Answer page.
@@ -24264,7 +24240,7 @@
24264
24240
  }
24265
24241
  if (rf & 2) {
24266
24242
  i0__namespace.ɵɵadvance(1);
24267
- i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
24243
+ i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
24268
24244
  }
24269
24245
  }, 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}"] });
24270
24246
  var ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
@@ -24345,7 +24321,6 @@
24345
24321
  i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
24346
24322
  }
24347
24323
  }
24348
- var _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
24349
24324
  var ReadComplexFieldTableComponent = /** @class */ (function (_super) {
24350
24325
  __extends(ReadComplexFieldTableComponent, _super);
24351
24326
  function ReadComplexFieldTableComponent() {
@@ -24356,7 +24331,7 @@
24356
24331
  return ReadComplexFieldTableComponent;
24357
24332
  }(AbstractFieldReadComponent));
24358
24333
  ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
24359
- ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵ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) {
24334
+ ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵ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) {
24360
24335
  if (rf & 1) {
24361
24336
  i0__namespace.ɵɵelementStart(0, "div", 0);
24362
24337
  i0__namespace.ɵɵelementStart(1, "dl", 1);
@@ -24380,7 +24355,7 @@
24380
24355
  i0__namespace.ɵɵadvance(4);
24381
24356
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 2, ctx.caseField.label));
24382
24357
  i0__namespace.ɵɵadvance(5);
24383
- i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(10, 4, i0__namespace.ɵɵpureFunction3(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
24358
+ i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind4(10, 4, ctx.caseField, false, undefined, true));
24384
24359
  }
24385
24360
  }, 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}"] });
24386
24361
  var ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
@@ -26414,17 +26389,17 @@
26414
26389
  /**
26415
26390
  * Complex type should have at least on simple field descendant with a value.
26416
26391
  */
26417
- ReadFieldsFilterPipe.isValidComplex = function (field, values, checkConditionalShowAgainst) {
26392
+ ReadFieldsFilterPipe.isValidComplex = function (field, values) {
26418
26393
  values = values || {};
26419
26394
  var type = field.field_type;
26420
26395
  var value = ReadFieldsFilterPipe.getValue(field, values);
26421
26396
  var hasChildrenWithValue = type.complex_fields.find(function (f) {
26422
- var willKeep = ReadFieldsFilterPipe.keepField(f, value, true, checkConditionalShowAgainst);
26423
- return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, checkConditionalShowAgainst).hidden !== true;
26397
+ var willKeep = ReadFieldsFilterPipe.keepField(f, value, true);
26398
+ return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, value).hidden !== true;
26424
26399
  });
26425
26400
  return !!hasChildrenWithValue;
26426
26401
  };
26427
- ReadFieldsFilterPipe.isValidCollection = function (field, values, checkConditionalShowAgainst) {
26402
+ ReadFieldsFilterPipe.isValidCollection = function (field, values) {
26428
26403
  // if field is collection and it has complex/collection child field; parent field doesnt have value defined
26429
26404
  if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
26430
26405
  return true;
@@ -26438,7 +26413,7 @@
26438
26413
  value: item.value,
26439
26414
  label: null,
26440
26415
  });
26441
- return ReadFieldsFilterPipe.isValidComplex(complexField, undefined, checkConditionalShowAgainst);
26416
+ return ReadFieldsFilterPipe.isValidComplex(complexField);
26442
26417
  });
26443
26418
  }
26444
26419
  return isNotEmpty;
@@ -26450,11 +26425,11 @@
26450
26425
  ReadFieldsFilterPipe.isCompound = function (field) {
26451
26426
  return ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type];
26452
26427
  };
26453
- ReadFieldsFilterPipe.isValidCompound = function (field, value, checkConditionalShowAgainst) {
26428
+ ReadFieldsFilterPipe.isValidCompound = function (field, value) {
26454
26429
  return ReadFieldsFilterPipe.isCompound(field)
26455
- && ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value, checkConditionalShowAgainst);
26430
+ && ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value);
26456
26431
  };
26457
- ReadFieldsFilterPipe.keepField = function (field, value, ignoreLabels, checkConditionalShowAgainst) {
26432
+ ReadFieldsFilterPipe.keepField = function (field, value, ignoreLabels) {
26458
26433
  if (ignoreLabels === void 0) { ignoreLabels = false; }
26459
26434
  // We shouldn't ditch labels.
26460
26435
  if (!ignoreLabels && field.field_type.type === 'Label' && (field.label || '').length > 0) {
@@ -26466,7 +26441,7 @@
26466
26441
  }
26467
26442
  value = value || {};
26468
26443
  if (ReadFieldsFilterPipe.isCompound(field)) {
26469
- return ReadFieldsFilterPipe.isValidCompound(field, value, checkConditionalShowAgainst);
26444
+ return ReadFieldsFilterPipe.isValidCompound(field, value);
26470
26445
  }
26471
26446
  return !ReadFieldsFilterPipe.isEmpty(field.value)
26472
26447
  || !ReadFieldsFilterPipe.isEmpty(value[field.id]);
@@ -26509,7 +26484,7 @@
26509
26484
  /**
26510
26485
  * Filter out fields having no data to display and harmonise field values coming parent's value.
26511
26486
  */
26512
- ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path, idPrefix) {
26487
+ ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path) {
26513
26488
  if (setupHidden === void 0) { setupHidden = false; }
26514
26489
  if (!complexField || !complexField.field_type) {
26515
26490
  return [];
@@ -26519,15 +26494,8 @@
26519
26494
  var checkConditionalShowAgainst = values;
26520
26495
  var formGroupAvailable = false;
26521
26496
  if (formGroup) {
26522
- checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
26497
+ checkConditionalShowAgainst = formGroup.value;
26523
26498
  formGroupAvailable = true;
26524
- if (idPrefix) {
26525
- var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
26526
- if (checkConditionalShowAgainst[fieldId]) {
26527
- checkConditionalShowAgainst = values;
26528
- formGroupAvailable = false;
26529
- }
26530
- }
26531
26499
  }
26532
26500
  return fields
26533
26501
  .map(function (f) {
@@ -26547,7 +26515,7 @@
26547
26515
  }
26548
26516
  return f;
26549
26517
  })
26550
- .filter(function (f) { return keepEmpty || ReadFieldsFilterPipe.keepField(f, undefined, false, checkConditionalShowAgainst); });
26518
+ .filter(function (f) { return keepEmpty || ReadFieldsFilterPipe.keepField(f); });
26551
26519
  };
26552
26520
  return ReadFieldsFilterPipe;
26553
26521
  }());