@hmcts/ccd-case-ui-toolkit 6.0.2-migration-dynamic-list → 6.0.10-eui-7534-table-headers-fix

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 (42) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +77 -368
  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/palette/base-field/field-read.component.js +2 -2
  6. package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -2
  7. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +1 -1
  8. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +2 -13
  9. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +6 -5
  10. package/esm2015/lib/shared/components/palette/index.js +1 -2
  11. package/esm2015/lib/shared/components/palette/palette.module.js +4 -35
  12. package/esm2015/lib/shared/components/palette/palette.service.js +1 -4
  13. package/esm2015/lib/shared/components/search-result/search-result.component.js +10 -14
  14. package/esm2015/lib/shared/domain/definition/case-field.model.js +3 -6
  15. package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
  16. package/esm2015/lib/shared/services/form/field-type-sanitiser.js +1 -16
  17. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +79 -331
  18. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  19. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +0 -1
  20. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
  21. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
  22. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
  23. package/lib/shared/components/palette/index.d.ts +0 -1
  24. package/lib/shared/components/palette/index.d.ts.map +1 -1
  25. package/lib/shared/components/palette/palette.module.d.ts +59 -61
  26. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  27. package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
  28. package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
  29. package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
  30. package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
  31. package/lib/shared/services/form/field-type-sanitiser.d.ts +0 -2
  32. package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +0 -3
  35. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +0 -47
  36. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +0 -153
  37. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +0 -3
  38. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +0 -1
  39. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +0 -9
  40. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +0 -1
  41. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +0 -17
  42. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +0 -1
@@ -118,7 +118,7 @@
118
118
  i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
119
119
  }
120
120
  }
121
- var _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
121
+ var _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
122
122
  var _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
123
123
  var FooterComponent = /** @class */ (function () {
124
124
  function FooterComponent() {
@@ -128,7 +128,7 @@
128
128
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
129
129
  FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, 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) {
130
130
  if (rf & 1) {
131
- i0__namespace.ɵɵprojectionDef(_c0$$);
131
+ i0__namespace.ɵɵprojectionDef(_c0$_);
132
132
  i0__namespace.ɵɵelementStart(0, "footer", 0);
133
133
  i0__namespace.ɵɵelementStart(1, "div", 1);
134
134
  i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
@@ -207,7 +207,7 @@
207
207
  i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
208
208
  }
209
209
  }
210
- var _c0$_ = [[["", "headerNavigation", ""]]];
210
+ var _c0$Z = [[["", "headerNavigation", ""]]];
211
211
  var _c1$q = ["[headerNavigation]"];
212
212
  var HeaderBarComponent = /** @class */ (function () {
213
213
  function HeaderBarComponent() {
@@ -221,7 +221,7 @@
221
221
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
222
222
  HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, decls: 15, vars: 8, 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) {
223
223
  if (rf & 1) {
224
- i0__namespace.ɵɵprojectionDef(_c0$_);
224
+ i0__namespace.ɵɵprojectionDef(_c0$Z);
225
225
  i0__namespace.ɵɵelementStart(0, "header", 0);
226
226
  i0__namespace.ɵɵelementStart(1, "div", 1);
227
227
  i0__namespace.ɵɵelementStart(2, "div", 2);
@@ -282,7 +282,7 @@
282
282
  }] });
283
283
  })();
284
284
 
285
- var _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
285
+ var _c0$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
286
286
  var _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
287
287
  var NavigationComponent = /** @class */ (function () {
288
288
  function NavigationComponent() {
@@ -292,7 +292,7 @@
292
292
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
293
293
  NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
294
294
  if (rf & 1) {
295
- i0__namespace.ɵɵprojectionDef(_c0$Z);
295
+ i0__namespace.ɵɵprojectionDef(_c0$Y);
296
296
  i0__namespace.ɵɵelementStart(0, "div");
297
297
  i0__namespace.ɵɵelementStart(1, "nav", 0);
298
298
  i0__namespace.ɵɵprojection(2);
@@ -437,7 +437,7 @@
437
437
  }], null, null);
438
438
  })();
439
439
 
440
- var _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
440
+ var _c0$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
441
441
  var _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
442
442
  var BodyComponent = /** @class */ (function () {
443
443
  function BodyComponent() {
@@ -447,7 +447,7 @@
447
447
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
448
448
  BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
449
449
  if (rf & 1) {
450
- i0__namespace.ɵɵprojectionDef(_c0$Y);
450
+ i0__namespace.ɵɵprojectionDef(_c0$X);
451
451
  i0__namespace.ɵɵelementStart(0, "div", 0);
452
452
  i0__namespace.ɵɵprojection(1);
453
453
  i0__namespace.ɵɵprojection(2, 1);
@@ -794,7 +794,7 @@
794
794
  return typeof state === "function" ? receiver === state : state.has(receiver);
795
795
  }
796
796
 
797
- var _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
797
+ var _c0$W = function (a0) { return { "govuk-input--error": a0 }; };
798
798
  function DateInputComponent_div_16_Template(rf, ctx) {
799
799
  if (rf & 1) {
800
800
  var _r8_1 = i0__namespace.ɵɵgetCurrentView();
@@ -812,7 +812,7 @@
812
812
  i0__namespace.ɵɵadvance(1);
813
813
  i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
814
814
  i0__namespace.ɵɵadvance(2);
815
- i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r3.isInvalid));
815
+ i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$W, ctx_r3.isInvalid));
816
816
  }
817
817
  }
818
818
  function DateInputComponent_div_17_Template(rf, ctx) {
@@ -832,7 +832,7 @@
832
832
  i0__namespace.ɵɵadvance(1);
833
833
  i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
834
834
  i0__namespace.ɵɵadvance(2);
835
- i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r4.isInvalid));
835
+ i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$W, ctx_r4.isInvalid));
836
836
  }
837
837
  }
838
838
  function DateInputComponent_div_18_Template(rf, ctx) {
@@ -852,7 +852,7 @@
852
852
  i0__namespace.ɵɵadvance(1);
853
853
  i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
854
854
  i0__namespace.ɵɵadvance(2);
855
- i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r5.isInvalid));
855
+ i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$W, ctx_r5.isInvalid));
856
856
  }
857
857
  }
858
858
  var DateInputComponent = /** @class */ (function () {
@@ -1086,15 +1086,15 @@
1086
1086
  i0__namespace.ɵɵadvance(2);
1087
1087
  i0__namespace.ɵɵproperty("for", ctx.dayId());
1088
1088
  i0__namespace.ɵɵadvance(2);
1089
- i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$X, ctx.isInvalid));
1089
+ i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$W, ctx.isInvalid));
1090
1090
  i0__namespace.ɵɵadvance(3);
1091
1091
  i0__namespace.ɵɵproperty("for", ctx.monthId());
1092
1092
  i0__namespace.ɵɵadvance(2);
1093
- i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$X, ctx.isInvalid));
1093
+ i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$W, ctx.isInvalid));
1094
1094
  i0__namespace.ɵɵadvance(3);
1095
1095
  i0__namespace.ɵɵproperty("for", ctx.yearId());
1096
1096
  i0__namespace.ɵɵadvance(2);
1097
- i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$X, ctx.isInvalid));
1097
+ i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$W, ctx.isInvalid));
1098
1098
  i0__namespace.ɵɵadvance(2);
1099
1099
  i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
1100
1100
  i0__namespace.ɵɵadvance(1);
@@ -1175,7 +1175,7 @@
1175
1175
  i0__namespace.ɵɵelementContainerEnd();
1176
1176
  }
1177
1177
  }
1178
- var _c0$W = ["*"];
1178
+ var _c0$V = ["*"];
1179
1179
  exports.AlertMessageType = void 0;
1180
1180
  (function (AlertMessageType) {
1181
1181
  AlertMessageType["WARNING"] = "warning";
@@ -1196,7 +1196,7 @@
1196
1196
  AlertComponent.TYPE_ERROR = 'error';
1197
1197
  AlertComponent.TYPE_INFORMATION = 'information';
1198
1198
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
1199
- AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$W, decls: 10, vars: 10, 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) {
1199
+ AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$V, decls: 10, vars: 10, 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) {
1200
1200
  if (rf & 1) {
1201
1201
  i0__namespace.ɵɵprojectionDef();
1202
1202
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1471,7 +1471,7 @@
1471
1471
  }] });
1472
1472
  })();
1473
1473
 
1474
- var _c0$V = function (a0) { return { "js-hidden": a0 }; };
1474
+ var _c0$U = function (a0) { return { "js-hidden": a0 }; };
1475
1475
  var _c1$n = ["*"];
1476
1476
  var TabComponent = /** @class */ (function () {
1477
1477
  function TabComponent() {
@@ -1487,7 +1487,7 @@
1487
1487
  i0__namespace.ɵɵelementEnd();
1488
1488
  }
1489
1489
  if (rf & 2) {
1490
- i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
1490
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$U, !ctx.selected));
1491
1491
  i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
1492
1492
  }
1493
1493
  }, directives: [i1__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}}"] });
@@ -1510,7 +1510,7 @@
1510
1510
  }] });
1511
1511
  })();
1512
1512
 
1513
- var _c0$U = ["tab"];
1513
+ var _c0$T = ["tab"];
1514
1514
  var _c1$m = function () { return ["."]; };
1515
1515
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1516
1516
  function TabsComponent_li_2_Template(rf, ctx) {
@@ -1564,7 +1564,7 @@
1564
1564
  }
1565
1565
  }, viewQuery: function TabsComponent_Query(rf, ctx) {
1566
1566
  if (rf & 1) {
1567
- i0__namespace.ɵɵviewQuery(_c0$U, 1);
1567
+ i0__namespace.ɵɵviewQuery(_c0$T, 1);
1568
1568
  }
1569
1569
  if (rf & 2) {
1570
1570
  var _t = void 0;
@@ -1643,7 +1643,7 @@
1643
1643
  }], null, null);
1644
1644
  })();
1645
1645
 
1646
- var _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1646
+ var _c0$S = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1647
1647
  var ActivityBannerComponent = /** @class */ (function () {
1648
1648
  function ActivityBannerComponent() {
1649
1649
  }
@@ -1664,7 +1664,7 @@
1664
1664
  i0__namespace.ɵɵelementEnd();
1665
1665
  }
1666
1666
  if (rf & 2) {
1667
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1667
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$S, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1668
1668
  i0__namespace.ɵɵadvance(2);
1669
1669
  i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
1670
1670
  i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
@@ -3311,12 +3311,9 @@
3311
3311
  }
3312
3312
  Object.defineProperty(CaseField.prototype, "value", {
3313
3313
  get: function () {
3314
- if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
3314
+ if (this.isDynamic()) {
3315
3315
  return this._value && this._value.value ? this._value.value.code : this._value;
3316
3316
  }
3317
- else if (this.field_type && this.field_type.type === 'DynamicMultiSelectList') {
3318
- return this._value && this._value.value ? this._value.value : this._value;
3319
- }
3320
3317
  else {
3321
3318
  return this._value;
3322
3319
  }
@@ -3406,7 +3403,7 @@
3406
3403
  };
3407
3404
  CaseField.prototype.isDynamic = function () {
3408
3405
  var _this = this;
3409
- var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList', 'DynamicMultiSelectList'];
3406
+ var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList'];
3410
3407
  if (!this.field_type) {
3411
3408
  return false;
3412
3409
  }
@@ -5501,9 +5498,6 @@
5501
5498
  }
5502
5499
  caseFields.forEach(function (caseField) {
5503
5500
  switch (caseField.field_type.type) {
5504
- case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST:
5505
- _this.convertArrayToDynamicListOutput(caseField, data);
5506
- break;
5507
5501
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST:
5508
5502
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST:
5509
5503
  _this.convertStringToDynamicListOutput(caseField, data);
@@ -5521,17 +5515,6 @@
5521
5515
  }
5522
5516
  });
5523
5517
  };
5524
- FieldTypeSanitiser.prototype.convertArrayToDynamicListOutput = function (field, data) {
5525
- var values = data[field.id];
5526
- if (Array.isArray(values)) {
5527
- var listItems = this.getListItems(field);
5528
- var matches = listItems.filter(function (item) { return values.map(function (v) { return v.code; }).indexOf(item.code) !== -1; });
5529
- data[field.id] = {
5530
- value: matches,
5531
- list_items: listItems
5532
- };
5533
- }
5534
- };
5535
5518
  FieldTypeSanitiser.prototype.convertStringToDynamicListOutput = function (field, data) {
5536
5519
  var stringValue = data[field.id];
5537
5520
  if (typeof stringValue === 'string') {
@@ -5562,7 +5545,6 @@
5562
5545
  FieldTypeSanitiser.FIELD_TYPE_COLLECTION = 'Collection';
5563
5546
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST = 'DynamicList';
5564
5547
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST = 'DynamicRadioList';
5565
- FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST = 'DynamicMultiSelectList';
5566
5548
  FieldTypeSanitiser.ɵfac = function FieldTypeSanitiser_Factory(t) { return new (t || FieldTypeSanitiser)(); };
5567
5549
  FieldTypeSanitiser.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
5568
5550
  (function () {
@@ -11705,7 +11687,7 @@
11705
11687
  return AddressOption;
11706
11688
  }());
11707
11689
 
11708
- var _c0$S = ["writeComplexFieldComponent"];
11690
+ var _c0$R = ["writeComplexFieldComponent"];
11709
11691
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
11710
11692
  if (rf & 1) {
11711
11693
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -11919,7 +11901,7 @@
11919
11901
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
11920
11902
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
11921
11903
  if (rf & 1) {
11922
- i0__namespace.ɵɵviewQuery(_c0$S, 1);
11904
+ i0__namespace.ɵɵviewQuery(_c0$R, 1);
11923
11905
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
11924
11906
  }
11925
11907
  if (rf & 2) {
@@ -12579,7 +12561,7 @@
12579
12561
  i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
12580
12562
  }
12581
12563
  }
12582
- var _c0$R = function (a0) { return { "form-group-error": a0 }; };
12564
+ var _c0$Q = function (a0) { return { "form-group-error": a0 }; };
12583
12565
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
12584
12566
  if (rf & 1) {
12585
12567
  i0__namespace.ɵɵelementStart(0, "div", 8);
@@ -12600,7 +12582,7 @@
12600
12582
  i0__namespace.ɵɵadvance(1);
12601
12583
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
12602
12584
  i0__namespace.ɵɵadvance(1);
12603
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$R, ctx_r1.errorMessages.length > 0));
12585
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$Q, ctx_r1.errorMessages.length > 0));
12604
12586
  i0__namespace.ɵɵadvance(1);
12605
12587
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
12606
12588
  i0__namespace.ɵɵadvance(1);
@@ -13052,7 +13034,7 @@
13052
13034
  }], null, null);
13053
13035
  })();
13054
13036
 
13055
- var _c0$Q = ["writeComplexFieldComponent"];
13037
+ var _c0$P = ["writeComplexFieldComponent"];
13056
13038
  function WriteCaseLinkFieldComponent_div_1_span_2_Template(rf, ctx) {
13057
13039
  if (rf & 1) {
13058
13040
  i0__namespace.ɵɵelementStart(0, "span", 6);
@@ -13178,7 +13160,7 @@
13178
13160
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return new (t || WriteCaseLinkFieldComponent)(i0__namespace.ɵɵdirectiveInject(LinkedCasesService)); };
13179
13161
  WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
13180
13162
  if (rf & 1) {
13181
- i0__namespace.ɵɵviewQuery(_c0$Q, 1);
13163
+ i0__namespace.ɵɵviewQuery(_c0$P, 1);
13182
13164
  }
13183
13165
  if (rf & 2) {
13184
13166
  var _t = void 0;
@@ -13215,7 +13197,7 @@
13215
13197
  }] });
13216
13198
  })();
13217
13199
 
13218
- 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 }; };
13200
+ var _c0$O = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
13219
13201
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
13220
13202
  if (rf & 1) {
13221
13203
  i0__namespace.ɵɵelementStart(0, "tbody");
@@ -13230,7 +13212,7 @@
13230
13212
  if (rf & 2) {
13231
13213
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
13232
13214
  i0__namespace.ɵɵadvance(4);
13233
- 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);
13215
+ i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$O, 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);
13234
13216
  }
13235
13217
  }
13236
13218
  var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
@@ -13381,7 +13363,7 @@
13381
13363
  }], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
13382
13364
  })();
13383
13365
 
13384
- var _c0$O = ["collectionItem"];
13366
+ var _c0$N = ["collectionItem"];
13385
13367
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) {
13386
13368
  if (rf & 1) {
13387
13369
  i0__namespace.ɵɵelementStart(0, "span", 9);
@@ -13623,11 +13605,6 @@
13623
13605
  // Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
13624
13606
  this.formArray.setErrors(null);
13625
13607
  var item = { value: null };
13626
- if (this.isCollectionDynamic()) {
13627
- item = Object.assign({}, this.caseField.value[this.caseField.value.length - 1]);
13628
- var key = Number(item['id'][item['id'].length - 1]) + 1;
13629
- item.id = item['id'].replace(/.$/, key.toString());
13630
- }
13631
13608
  this.caseField.value.push(item);
13632
13609
  var index = this.caseField.value.length - 1;
13633
13610
  var caseField = this.buildCaseField(item, index, true);
@@ -13650,12 +13627,6 @@
13650
13627
  setTimeout(function () { return _this.focusLastItem(); });
13651
13628
  }
13652
13629
  };
13653
- WriteCollectionFieldComponent.prototype.isCollectionDynamic = function () {
13654
- if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
13655
- return false;
13656
- }
13657
- return this.caseField.field_type.collection_field_type.id === 'DynamicRadioList';
13658
- };
13659
13630
  WriteCollectionFieldComponent.prototype.newCaseField = function (id, item, index, isNew) {
13660
13631
  if (isNew === void 0) { isNew = false; }
13661
13632
  var isNotAuthorisedToUpdate = !isNew && this.isNotAuthorisedToUpdate(index);
@@ -13805,7 +13776,7 @@
13805
13776
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
13806
13777
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
13807
13778
  if (rf & 1) {
13808
- i0__namespace.ɵɵviewQuery(_c0$O, 1);
13779
+ i0__namespace.ɵɵviewQuery(_c0$N, 1);
13809
13780
  }
13810
13781
  if (rf & 2) {
13811
13782
  var _t = void 0;
@@ -14393,7 +14364,7 @@
14393
14364
  }], null, null);
14394
14365
  })();
14395
14366
 
14396
- var _c0$N = ["fileInput"];
14367
+ var _c0$M = ["fileInput"];
14397
14368
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) {
14398
14369
  if (rf & 1) {
14399
14370
  i0__namespace.ɵɵelementStart(0, "span", 12);
@@ -14687,7 +14658,7 @@
14687
14658
  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)); };
14688
14659
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
14689
14660
  if (rf & 1) {
14690
- i0__namespace.ɵɵviewQuery(_c0$N, 1);
14661
+ i0__namespace.ɵɵviewQuery(_c0$M, 1);
14691
14662
  }
14692
14663
  if (rf & 2) {
14693
14664
  var _t = void 0;
@@ -14887,7 +14858,7 @@
14887
14858
  i0__namespace.ɵɵtextInterpolate(type_r5.label);
14888
14859
  }
14889
14860
  }
14890
- var _c0$M = function (a0) { return { "form-group-error": a0 }; };
14861
+ var _c0$L = function (a0) { return { "form-group-error": a0 }; };
14891
14862
  var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
14892
14863
  __extends(WriteDynamicListFieldComponent, _super);
14893
14864
  function WriteDynamicListFieldComponent() {
@@ -14936,7 +14907,7 @@
14936
14907
  i0__namespace.ɵɵelementEnd();
14937
14908
  }
14938
14909
  if (rf & 2) {
14939
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14910
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14940
14911
  i0__namespace.ɵɵadvance(1);
14941
14912
  i0__namespace.ɵɵproperty("for", ctx.id());
14942
14913
  i0__namespace.ɵɵadvance(1);
@@ -15086,7 +15057,7 @@
15086
15057
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
15087
15058
  }
15088
15059
  }
15089
- var _c0$L = function (a0) { return { selected: a0 }; };
15060
+ var _c0$K = function (a0) { return { selected: a0 }; };
15090
15061
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15091
15062
  if (rf & 1) {
15092
15063
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -15099,11 +15070,12 @@
15099
15070
  if (rf & 2) {
15100
15071
  var radioButton_r5 = ctx.$implicit;
15101
15072
  var ctx_r4 = i0__namespace.ɵɵnextContext();
15102
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15073
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15103
15074
  i0__namespace.ɵɵadvance(1);
15104
- i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
15075
+ i0__namespace.ɵɵpropertyInterpolate("name", ctx_r4.id());
15076
+ i0__namespace.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
15105
15077
  i0__namespace.ɵɵadvance(1);
15106
- i0__namespace.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
15078
+ i0__namespace.ɵɵproperty("for", ctx_r4.buildElementId(radioButton_r5.code));
15107
15079
  i0__namespace.ɵɵadvance(1);
15108
15080
  i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
15109
15081
  }
@@ -15132,8 +15104,8 @@
15132
15104
  this.dynamicRadioListControl = this.registerControl(new i2.FormControl(this.caseField.value));
15133
15105
  this.dynamicRadioListControl.setValue(this.caseField.value);
15134
15106
  };
15135
- WriteDynamicRadioListFieldComponent.prototype.createElementId = function (name) {
15136
- return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : _super.prototype.createElementId.call(this, name);
15107
+ WriteDynamicRadioListFieldComponent.prototype.buildElementId = function (name) {
15108
+ return this.id() + "-" + name;
15137
15109
  };
15138
15110
  return WriteDynamicRadioListFieldComponent;
15139
15111
  }(AbstractFieldWriteComponent));
@@ -15263,7 +15235,7 @@
15263
15235
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
15264
15236
  }
15265
15237
  }
15266
- var _c0$K = function (a0) { return { "form-group-error": a0 }; };
15238
+ var _c0$J = function (a0) { return { "form-group-error": a0 }; };
15267
15239
  var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
15268
15240
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
15269
15241
  __extends(WriteEmailFieldComponent, _super);
@@ -15288,7 +15260,7 @@
15288
15260
  i0__namespace.ɵɵelementEnd();
15289
15261
  }
15290
15262
  if (rf & 2) {
15291
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15263
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15292
15264
  i0__namespace.ɵɵadvance(1);
15293
15265
  i0__namespace.ɵɵproperty("for", ctx.id());
15294
15266
  i0__namespace.ɵɵadvance(1);
@@ -15420,7 +15392,7 @@
15420
15392
  i0__namespace.ɵɵtextInterpolate(type_r4.label);
15421
15393
  }
15422
15394
  }
15423
- var _c0$J = function (a0) { return { "form-group-error": a0 }; };
15395
+ var _c0$I = function (a0) { return { "form-group-error": a0 }; };
15424
15396
  var WriteFixedListFieldComponent = /** @class */ (function (_super) {
15425
15397
  __extends(WriteFixedListFieldComponent, _super);
15426
15398
  function WriteFixedListFieldComponent() {
@@ -15469,7 +15441,7 @@
15469
15441
  i0__namespace.ɵɵelementEnd();
15470
15442
  }
15471
15443
  if (rf & 2) {
15472
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15444
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15473
15445
  i0__namespace.ɵɵadvance(1);
15474
15446
  i0__namespace.ɵɵproperty("for", ctx.id());
15475
15447
  i0__namespace.ɵɵadvance(1);
@@ -15587,7 +15559,7 @@
15587
15559
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
15588
15560
  }
15589
15561
  }
15590
- var _c0$I = function (a0) { return { selected: a0 }; };
15562
+ var _c0$H = function (a0) { return { selected: a0 }; };
15591
15563
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
15592
15564
  if (rf & 1) {
15593
15565
  i0__namespace.ɵɵelementStart(0, "div", 9);
@@ -15600,7 +15572,7 @@
15600
15572
  if (rf & 2) {
15601
15573
  var radioButton_r4 = ctx.$implicit;
15602
15574
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15603
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
15575
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
15604
15576
  i0__namespace.ɵɵadvance(1);
15605
15577
  i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
15606
15578
  i0__namespace.ɵɵadvance(1);
@@ -15770,7 +15742,7 @@
15770
15742
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
15771
15743
  }
15772
15744
  }
15773
- var _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
15745
+ var _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
15774
15746
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
15775
15747
  if (rf & 1) {
15776
15748
  var _r7_1 = i0__namespace.ɵɵgetCurrentView();
@@ -15782,7 +15754,7 @@
15782
15754
  if (rf & 2) {
15783
15755
  var judicialUser_r5 = ctx.$implicit;
15784
15756
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15785
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15757
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$G, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15786
15758
  i0__namespace.ɵɵadvance(1);
15787
15759
  i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
15788
15760
  }
@@ -16129,7 +16101,7 @@
16129
16101
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
16130
16102
  }
16131
16103
  }
16132
- var _c0$G = function (a0) { return { "form-group-error": a0 }; };
16104
+ var _c0$F = function (a0) { return { "form-group-error": a0 }; };
16133
16105
  var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
16134
16106
  __extends(WriteMoneyGbpFieldComponent, _super);
16135
16107
  function WriteMoneyGbpFieldComponent() {
@@ -16159,7 +16131,7 @@
16159
16131
  i0__namespace.ɵɵelementEnd();
16160
16132
  }
16161
16133
  if (rf & 2) {
16162
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16134
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$F, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16163
16135
  i0__namespace.ɵɵadvance(1);
16164
16136
  i0__namespace.ɵɵproperty("for", ctx.id());
16165
16137
  i0__namespace.ɵɵadvance(1);
@@ -16307,7 +16279,7 @@
16307
16279
  i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
16308
16280
  }
16309
16281
  }
16310
- var _c0$F = function (a0) { return { "error": a0 }; };
16282
+ var _c0$E = function (a0) { return { "error": a0 }; };
16311
16283
  var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
16312
16284
  __extends(WriteMultiSelectListFieldComponent, _super);
16313
16285
  function WriteMultiSelectListFieldComponent() {
@@ -16371,7 +16343,7 @@
16371
16343
  i0__namespace.ɵɵelementEnd();
16372
16344
  }
16373
16345
  if (rf & 2) {
16374
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
16346
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$E, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
16375
16347
  i0__namespace.ɵɵadvance(3);
16376
16348
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
16377
16349
  i0__namespace.ɵɵadvance(1);
@@ -16462,7 +16434,7 @@
16462
16434
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
16463
16435
  }
16464
16436
  }
16465
- var _c0$E = function (a0) { return { "form-group-error": a0 }; };
16437
+ var _c0$D = function (a0) { return { "form-group-error": a0 }; };
16466
16438
  var _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
16467
16439
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
16468
16440
  __extends(WriteNumberFieldComponent, _super);
@@ -16487,7 +16459,7 @@
16487
16459
  i0__namespace.ɵɵelementEnd();
16488
16460
  }
16489
16461
  if (rf & 2) {
16490
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
16462
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$D, !ctx.numberControl.valid && ctx.numberControl.dirty));
16491
16463
  i0__namespace.ɵɵadvance(1);
16492
16464
  i0__namespace.ɵɵproperty("for", ctx.id());
16493
16465
  i0__namespace.ɵɵadvance(1);
@@ -16788,7 +16760,7 @@
16788
16760
  i0__namespace.ɵɵelementEnd();
16789
16761
  }
16790
16762
  }
16791
- var _c0$D = function (a0) { return { "scroll-container ": a0 }; };
16763
+ var _c0$C = function (a0) { return { "scroll-container ": a0 }; };
16792
16764
  function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) {
16793
16765
  if (rf & 1) {
16794
16766
  i0__namespace.ɵɵelementStart(0, "div", 26);
@@ -16804,7 +16776,7 @@
16804
16776
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
16805
16777
  var tmp_0_0 = null;
16806
16778
  var tmp_2_0 = null;
16807
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
16779
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$C, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
16808
16780
  i0__namespace.ɵɵadvance(2);
16809
16781
  i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
16810
16782
  i0__namespace.ɵɵadvance(2);
@@ -17208,231 +17180,6 @@
17208
17180
  }], function () { return [{ type: AbstractAppConfig }, { type: SessionStorageService }]; }, null);
17209
17181
  })();
17210
17182
 
17211
- function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) {
17212
- if (rf & 1) {
17213
- i0__namespace.ɵɵelementStart(0, "div");
17214
- i0__namespace.ɵɵtext(1);
17215
- i0__namespace.ɵɵpipe(2, "ccdFixedList");
17216
- i0__namespace.ɵɵelementEnd();
17217
- }
17218
- if (rf & 2) {
17219
- var value_r1 = ctx.$implicit;
17220
- var ctx_r0 = i0__namespace.ɵɵnextContext();
17221
- i0__namespace.ɵɵadvance(1);
17222
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items), "\n");
17223
- }
17224
- }
17225
- var ReadDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
17226
- __extends(ReadDynamicMultiSelectListFieldComponent, _super);
17227
- function ReadDynamicMultiSelectListFieldComponent() {
17228
- return _super !== null && _super.apply(this, arguments) || this;
17229
- }
17230
- ReadDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
17231
- /**
17232
- *
17233
- * Reassigning list_items from formatted_list when list_items is empty
17234
- */
17235
- if (!this.caseField.list_items && this.caseField.formatted_value && this.caseField.formatted_value.list_items) {
17236
- this.caseField.list_items = this.caseField.formatted_value.list_items;
17237
- }
17238
- if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
17239
- this.caseField.value = this.caseField.formatted_value.value;
17240
- }
17241
- _super.prototype.ngOnInit.call(this);
17242
- };
17243
- return ReadDynamicMultiSelectListFieldComponent;
17244
- }(AbstractFieldReadComponent));
17245
- ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
17246
- ReadDynamicMultiSelectListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicMultiSelectListFieldComponent, selectors: [["ccd-read-dynamic-multi-select-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
17247
- if (rf & 1) {
17248
- i0__namespace.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
17249
- }
17250
- if (rf & 2) {
17251
- i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.value);
17252
- }
17253
- }, directives: [i1__namespace.NgForOf], pipes: [FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}"] });
17254
- var ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
17255
- (function () {
17256
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
17257
- type: i0.Component,
17258
- args: [{
17259
- selector: 'ccd-read-dynamic-multi-select-list-field',
17260
- templateUrl: './read-dynamic-multi-select-list-field.html',
17261
- styleUrls: ['./read-dynamic-multi-select-list-field.component.scss']
17262
- }]
17263
- }], null, null);
17264
- })();
17265
-
17266
- function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) {
17267
- if (rf & 1) {
17268
- i0__namespace.ɵɵelementStart(0, "span", 5);
17269
- i0__namespace.ɵɵtext(1);
17270
- i0__namespace.ɵɵpipe(2, "ccdFieldLabel");
17271
- i0__namespace.ɵɵelementEnd();
17272
- }
17273
- if (rf & 2) {
17274
- var ctx_r0 = i0__namespace.ɵɵnextContext();
17275
- i0__namespace.ɵɵadvance(1);
17276
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
17277
- }
17278
- }
17279
- function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) {
17280
- if (rf & 1) {
17281
- i0__namespace.ɵɵelementStart(0, "span", 6);
17282
- i0__namespace.ɵɵtext(1);
17283
- i0__namespace.ɵɵelementEnd();
17284
- }
17285
- if (rf & 2) {
17286
- var ctx_r1 = i0__namespace.ɵɵnextContext();
17287
- i0__namespace.ɵɵadvance(1);
17288
- i0__namespace.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
17289
- }
17290
- }
17291
- function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) {
17292
- if (rf & 1) {
17293
- i0__namespace.ɵɵelementStart(0, "span", 7);
17294
- i0__namespace.ɵɵtext(1);
17295
- i0__namespace.ɵɵpipe(2, "ccdFirstError");
17296
- i0__namespace.ɵɵelementEnd();
17297
- }
17298
- if (rf & 2) {
17299
- var ctx_r2 = i0__namespace.ɵɵnextContext();
17300
- i0__namespace.ɵɵadvance(1);
17301
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
17302
- }
17303
- }
17304
- function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
17305
- if (rf & 1) {
17306
- var _r6_1 = i0__namespace.ɵɵgetCurrentView();
17307
- i0__namespace.ɵɵelementContainerStart(0);
17308
- i0__namespace.ɵɵelementStart(1, "div", 8);
17309
- i0__namespace.ɵɵelementStart(2, "input", 9);
17310
- i0__namespace.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.onCheckChange($event); });
17311
- i0__namespace.ɵɵelementEnd();
17312
- i0__namespace.ɵɵelementStart(3, "label", 10);
17313
- i0__namespace.ɵɵtext(4);
17314
- i0__namespace.ɵɵelementEnd();
17315
- i0__namespace.ɵɵelementEnd();
17316
- i0__namespace.ɵɵelementContainerEnd();
17317
- }
17318
- if (rf & 2) {
17319
- var checkbox_r4 = ctx.$implicit;
17320
- var ctx_r3 = i0__namespace.ɵɵnextContext();
17321
- i0__namespace.ɵɵadvance(2);
17322
- i0__namespace.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
17323
- i0__namespace.ɵɵpropertyInterpolate("name", ctx_r3.id());
17324
- i0__namespace.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
17325
- i0__namespace.ɵɵadvance(1);
17326
- i0__namespace.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
17327
- i0__namespace.ɵɵadvance(1);
17328
- i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
17329
- }
17330
- }
17331
- var _c0$C = function (a0) { return { "error": a0 }; };
17332
- var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
17333
- __extends(WriteDynamicMultiSelectListFieldComponent, _super);
17334
- function WriteDynamicMultiSelectListFieldComponent() {
17335
- return _super !== null && _super.apply(this, arguments) || this;
17336
- }
17337
- WriteDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
17338
- var _this = this;
17339
- this.checkboxes = new i2.FormArray([]);
17340
- this.setInitialCaseList();
17341
- this.setInitialCaseFieldValue();
17342
- // Initialise array with existing values
17343
- if (this.caseField.value && Array.isArray(this.caseField.value)) {
17344
- var values = this.caseField.value;
17345
- values.forEach(function (value) {
17346
- _this.checkboxes.push(new i2.FormControl(value));
17347
- });
17348
- }
17349
- this.dynamicListFormControl = this.registerControl(new i2.FormControl(this.checkboxes.value));
17350
- this.dynamicListFormControl.setValue(this.checkboxes.value);
17351
- };
17352
- WriteDynamicMultiSelectListFieldComponent.prototype.onCheckChange = function (event) {
17353
- var _this = this;
17354
- var target = event.target;
17355
- if (!target || !target.value) {
17356
- return;
17357
- }
17358
- var selectedListItem = this.getValueListItem(target.value);
17359
- if (!this.isSelected(target.value)) {
17360
- // Add a new control in the FormArray
17361
- this.checkboxes.push(new i2.FormControl(selectedListItem));
17362
- }
17363
- else {
17364
- // Remove the control from the FormArray
17365
- this.checkboxes.controls.forEach(function (ctrl, i) {
17366
- if (ctrl.value.code === target.value) {
17367
- _this.checkboxes.removeAt(i);
17368
- }
17369
- });
17370
- }
17371
- this.dynamicListFormControl.setValue(this.checkboxes.value);
17372
- };
17373
- WriteDynamicMultiSelectListFieldComponent.prototype.isSelected = function (code) {
17374
- if (this.checkboxes && this.checkboxes.controls) {
17375
- return this.checkboxes.controls.find(function (control) { return control.value.code === code; });
17376
- }
17377
- };
17378
- WriteDynamicMultiSelectListFieldComponent.prototype.getValueListItem = function (value) {
17379
- return this.caseField.list_items.find(function (i) { return i.code === value; });
17380
- };
17381
- WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseList = function () {
17382
- var hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
17383
- var hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
17384
- if (!hasListItems && hasFormattedListItems) {
17385
- this.caseField.list_items = this.caseField.formatted_value.list_items;
17386
- }
17387
- };
17388
- WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseFieldValue = function () {
17389
- if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
17390
- this.caseField.value = this.caseField.formatted_value.value;
17391
- }
17392
- var isNull = this.caseField.value === undefined || this.caseField.value === '';
17393
- if (isNull || !Array.isArray(this.caseField.value)) {
17394
- this.caseField.value = [];
17395
- }
17396
- };
17397
- return WriteDynamicMultiSelectListFieldComponent;
17398
- }(AbstractFieldWriteComponent));
17399
- WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
17400
- WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "id", "name", "value", "checked", "change"], [1, "form-label", 3, "for"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
17401
- if (rf & 1) {
17402
- i0__namespace.ɵɵelementStart(0, "div", 0);
17403
- i0__namespace.ɵɵelementStart(1, "fieldset");
17404
- i0__namespace.ɵɵelementStart(2, "legend");
17405
- i0__namespace.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
17406
- i0__namespace.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
17407
- i0__namespace.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
17408
- i0__namespace.ɵɵelementEnd();
17409
- i0__namespace.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
17410
- i0__namespace.ɵɵelementEnd();
17411
- i0__namespace.ɵɵelementEnd();
17412
- }
17413
- if (rf & 2) {
17414
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
17415
- i0__namespace.ɵɵadvance(3);
17416
- i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
17417
- i0__namespace.ɵɵadvance(1);
17418
- i0__namespace.ɵɵproperty("ngIf", ctx.caseField.hint_text);
17419
- i0__namespace.ɵɵadvance(1);
17420
- i0__namespace.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
17421
- i0__namespace.ɵɵadvance(1);
17422
- i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
17423
- }
17424
- }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
17425
- var ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
17426
- (function () {
17427
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
17428
- type: i0.Component,
17429
- args: [{
17430
- selector: 'ccd-write-dynamic-multi-select-list-field',
17431
- templateUrl: './write-dynamic-multi-select-list-field.html'
17432
- }]
17433
- }], null, null);
17434
- })();
17435
-
17436
17183
  var ReadPhoneUKFieldComponent = /** @class */ (function (_super) {
17437
17184
  __extends(ReadPhoneUKFieldComponent, _super);
17438
17185
  function ReadPhoneUKFieldComponent() {
@@ -18093,8 +17840,6 @@
18093
17840
  return write ? WriteFixedListFieldComponent : ReadFixedListFieldComponent;
18094
17841
  case 'DynamicRadioList':
18095
17842
  return write ? WriteDynamicRadioListFieldComponent : ReadDynamicRadioListFieldComponent;
18096
- case 'DynamicMultiSelectList':
18097
- return write ? WriteDynamicMultiSelectListFieldComponent : ReadDynamicMultiSelectListFieldComponent;
18098
17843
  case 'FixedRadioList':
18099
17844
  return write ? WriteFixedRadioListFieldComponent : ReadFixedRadioListFieldComponent;
18100
17845
  case 'Complex':
@@ -18163,7 +17908,7 @@
18163
17908
  })();
18164
17909
 
18165
17910
  var _c0$x = ["fieldContainer"];
18166
- var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
17911
+ var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
18167
17912
  var FieldReadComponent = /** @class */ (function (_super) {
18168
17913
  __extends(FieldReadComponent, _super);
18169
17914
  function FieldReadComponent(resolver, paletteService) {
@@ -18253,7 +17998,7 @@
18253
17998
  })();
18254
17999
 
18255
18000
  var _c0$w = ["fieldContainer"];
18256
- var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
18001
+ var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
18257
18002
  var FieldWriteComponent = /** @class */ (function (_super) {
18258
18003
  __extends(FieldWriteComponent, _super);
18259
18004
  function FieldWriteComponent(resolver, paletteService) {
@@ -18615,7 +18360,7 @@
18615
18360
  i0__namespace.ɵɵadvance(2);
18616
18361
  i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
18617
18362
  }
18618
- }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder,.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
18363
+ }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
18619
18364
  (function () {
18620
18365
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
18621
18366
  type: i0.Component,
@@ -25342,9 +25087,6 @@
25342
25087
  WriteDocumentFieldComponent,
25343
25088
  WriteDynamicListFieldComponent,
25344
25089
  WriteDynamicRadioListFieldComponent,
25345
- WriteDynamicMultiSelectListFieldComponent,
25346
- ReadDynamicMultiSelectListFieldComponent,
25347
- WriteDynamicMultiSelectListFieldComponent,
25348
25090
  WriteTextFieldComponent,
25349
25091
  WriteDateContainerFieldComponent,
25350
25092
  WriteTextAreaFieldComponent,
@@ -25380,14 +25122,7 @@
25380
25122
  CheckYourAnswersComponent,
25381
25123
  WriteLinkedCasesComponent,
25382
25124
  UnLinkCasesComponent,
25383
- NoLinkedCasesComponent,
25384
- // component for dynamic list
25385
- WriteDynamicMultiSelectListFieldComponent,
25386
- WriteDynamicRadioListFieldComponent,
25387
- WriteDynamicListFieldComponent,
25388
- ReadDynamicMultiSelectListFieldComponent,
25389
- ReadDynamicListFieldComponent,
25390
- ReadDynamicRadioListFieldComponent
25125
+ NoLinkedCasesComponent
25391
25126
  ];
25392
25127
  var PaletteModule = /** @class */ (function () {
25393
25128
  function PaletteModule() {
@@ -25511,9 +25246,6 @@
25511
25246
  WriteDocumentFieldComponent,
25512
25247
  WriteDynamicListFieldComponent,
25513
25248
  WriteDynamicRadioListFieldComponent,
25514
- WriteDynamicMultiSelectListFieldComponent,
25515
- ReadDynamicMultiSelectListFieldComponent,
25516
- WriteDynamicMultiSelectListFieldComponent,
25517
25249
  WriteTextFieldComponent,
25518
25250
  WriteDateContainerFieldComponent,
25519
25251
  WriteTextAreaFieldComponent,
@@ -25549,14 +25281,7 @@
25549
25281
  CheckYourAnswersComponent,
25550
25282
  WriteLinkedCasesComponent,
25551
25283
  UnLinkCasesComponent,
25552
- NoLinkedCasesComponent,
25553
- // component for dynamic list
25554
- WriteDynamicMultiSelectListFieldComponent,
25555
- WriteDynamicRadioListFieldComponent,
25556
- WriteDynamicListFieldComponent,
25557
- ReadDynamicMultiSelectListFieldComponent,
25558
- ReadDynamicListFieldComponent,
25559
- ReadDynamicRadioListFieldComponent], imports: [i1.CommonModule,
25284
+ NoLinkedCasesComponent], imports: [i1.CommonModule,
25560
25285
  i1$1.RouterModule,
25561
25286
  i2.FormsModule,
25562
25287
  i2.ReactiveFormsModule,
@@ -25639,9 +25364,6 @@
25639
25364
  WriteDocumentFieldComponent,
25640
25365
  WriteDynamicListFieldComponent,
25641
25366
  WriteDynamicRadioListFieldComponent,
25642
- WriteDynamicMultiSelectListFieldComponent,
25643
- ReadDynamicMultiSelectListFieldComponent,
25644
- WriteDynamicMultiSelectListFieldComponent,
25645
25367
  WriteTextFieldComponent,
25646
25368
  WriteDateContainerFieldComponent,
25647
25369
  WriteTextAreaFieldComponent,
@@ -25677,14 +25399,7 @@
25677
25399
  CheckYourAnswersComponent,
25678
25400
  WriteLinkedCasesComponent,
25679
25401
  UnLinkCasesComponent,
25680
- NoLinkedCasesComponent,
25681
- // component for dynamic list
25682
- WriteDynamicMultiSelectListFieldComponent,
25683
- WriteDynamicRadioListFieldComponent,
25684
- WriteDynamicListFieldComponent,
25685
- ReadDynamicMultiSelectListFieldComponent,
25686
- ReadDynamicListFieldComponent,
25687
- ReadDynamicRadioListFieldComponent] });
25402
+ NoLinkedCasesComponent] });
25688
25403
  })();
25689
25404
  (function () {
25690
25405
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -34321,12 +34036,12 @@
34321
34036
  i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
34322
34037
  }
34323
34038
  }
34324
- function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
34039
+ function SearchResultComponent_table_0_th_10_div_4_Template(rf, ctx) {
34325
34040
  if (rf & 1) {
34326
34041
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
34327
34042
  i0__namespace.ɵɵelementStart(0, "div", 27);
34328
34043
  i0__namespace.ɵɵelementStart(1, "a", 28);
34329
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
34044
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_4_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
34330
34045
  i0__namespace.ɵɵelementEnd();
34331
34046
  i0__namespace.ɵɵelementEnd();
34332
34047
  }
@@ -34341,16 +34056,12 @@
34341
34056
  if (rf & 1) {
34342
34057
  var _r22_1 = i0__namespace.ɵɵgetCurrentView();
34343
34058
  i0__namespace.ɵɵelementStart(0, "th");
34344
- i0__namespace.ɵɵelementStart(1, "table", 24);
34345
- i0__namespace.ɵɵelementStart(2, "tr");
34346
- i0__namespace.ɵɵelementStart(3, "th");
34347
- i0__namespace.ɵɵelementStart(4, "div", 25);
34348
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
34349
- i0__namespace.ɵɵtext(5);
34350
- i0__namespace.ɵɵelementEnd();
34351
- i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
34352
- i0__namespace.ɵɵelementEnd();
34059
+ i0__namespace.ɵɵelementStart(1, "div", 24);
34060
+ i0__namespace.ɵɵelementStart(2, "div", 25);
34061
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_2_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
34062
+ i0__namespace.ɵɵtext(3);
34353
34063
  i0__namespace.ɵɵelementEnd();
34064
+ i0__namespace.ɵɵtemplate(4, SearchResultComponent_table_0_th_10_div_4_Template, 2, 1, "div", 26);
34354
34065
  i0__namespace.ɵɵelementEnd();
34355
34066
  i0__namespace.ɵɵelementEnd();
34356
34067
  }
@@ -34359,7 +34070,7 @@
34359
34070
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
34360
34071
  i0__namespace.ɵɵadvance(1);
34361
34072
  i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
34362
- i0__namespace.ɵɵadvance(4);
34073
+ i0__namespace.ɵɵadvance(2);
34363
34074
  i0__namespace.ɵɵtextInterpolate(col_r15.label);
34364
34075
  i0__namespace.ɵɵadvance(1);
34365
34076
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
@@ -34695,7 +34406,7 @@
34695
34406
  i0__namespace.ɵɵelementStart(7, "thead");
34696
34407
  i0__namespace.ɵɵelementStart(8, "tr", 7);
34697
34408
  i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
34698
- i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
34409
+ i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 5, 3, "th", 9);
34699
34410
  i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
34700
34411
  i0__namespace.ɵɵelementEnd();
34701
34412
  i0__namespace.ɵɵelementEnd();
@@ -35725,7 +35436,6 @@
35725
35436
  exports.ReadDateFieldComponent = ReadDateFieldComponent;
35726
35437
  exports.ReadDocumentFieldComponent = ReadDocumentFieldComponent;
35727
35438
  exports.ReadDynamicListFieldComponent = ReadDynamicListFieldComponent;
35728
- exports.ReadDynamicMultiSelectListFieldComponent = ReadDynamicMultiSelectListFieldComponent;
35729
35439
  exports.ReadDynamicRadioListFieldComponent = ReadDynamicRadioListFieldComponent;
35730
35440
  exports.ReadEmailFieldComponent = ReadEmailFieldComponent;
35731
35441
  exports.ReadFieldsFilterPipe = ReadFieldsFilterPipe;
@@ -35802,7 +35512,6 @@
35802
35512
  exports.WriteDateFieldComponent = WriteDateFieldComponent;
35803
35513
  exports.WriteDocumentFieldComponent = WriteDocumentFieldComponent;
35804
35514
  exports.WriteDynamicListFieldComponent = WriteDynamicListFieldComponent;
35805
- exports.WriteDynamicMultiSelectListFieldComponent = WriteDynamicMultiSelectListFieldComponent;
35806
35515
  exports.WriteDynamicRadioListFieldComponent = WriteDynamicRadioListFieldComponent;
35807
35516
  exports.WriteEmailFieldComponent = WriteEmailFieldComponent;
35808
35517
  exports.WriteFixedListFieldComponent = WriteFixedListFieldComponent;