@hmcts/ccd-case-ui-toolkit 6.13.10-eui-8000 → 6.13.10-f

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 (51) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +379 -177
  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/case-file-view-field.component.js +12 -5
  8. package/esm2015/lib/shared/components/palette/case-file-view/index.js +1 -2
  9. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +13 -2
  10. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
  11. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
  12. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
  13. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +5 -6
  14. package/esm2015/lib/shared/components/palette/index.js +2 -1
  15. package/esm2015/lib/shared/components/palette/palette.module.js +29 -6
  16. package/esm2015/lib/shared/components/palette/palette.service.js +5 -3
  17. package/esm2015/lib/shared/domain/definition/case-field.model.js +6 -3
  18. package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
  19. package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +14 -11
  20. package/esm2015/lib/shared/services/form/field-type-sanitiser.js +16 -1
  21. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +342 -160
  22. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  23. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +5 -2
  24. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
  25. package/lib/shared/components/palette/case-file-view/index.d.ts +0 -1
  26. package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -1
  27. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -0
  28. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
  29. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
  30. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
  31. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
  32. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
  33. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
  34. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
  35. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
  36. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
  37. package/lib/shared/components/palette/index.d.ts +1 -0
  38. package/lib/shared/components/palette/index.d.ts.map +1 -1
  39. package/lib/shared/components/palette/palette.module.d.ts +60 -59
  40. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  41. package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
  42. package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
  43. package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
  44. package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
  45. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
  46. package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
  47. package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +0 -72
  50. package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts +0 -11
  51. package/lib/shared/components/palette/case-file-view/case-file-view-field-read.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$s = ["[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$s, 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$Z = [[["", "headerNavigation", ""]]];
210
+ var _c0$_ = [[["", "headerNavigation", ""]]];
211
211
  var _c1$r = ["[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$r, 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$Z);
224
+ i0__namespace.ɵɵprojectionDef(_c0$_);
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$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
285
+ var _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
286
286
  var _c1$q = ["[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$q, 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$Y);
295
+ i0__namespace.ɵɵprojectionDef(_c0$Z);
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$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
440
+ var _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
441
441
  var _c1$p = ["[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$p, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
449
449
  if (rf & 1) {
450
- i0__namespace.ɵɵprojectionDef(_c0$X);
450
+ i0__namespace.ɵɵprojectionDef(_c0$Y);
451
451
  i0__namespace.ɵɵelementStart(0, "div", 0);
452
452
  i0__namespace.ɵɵprojection(1);
453
453
  i0__namespace.ɵɵprojection(2, 1);
@@ -852,7 +852,7 @@
852
852
  return typeof state === "function" ? receiver === state : state.has(receiver);
853
853
  }
854
854
 
855
- var _c0$W = function (a0) { return { "govuk-input--error": a0 }; };
855
+ var _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
856
856
  function DateInputComponent_div_16_Template(rf, ctx) {
857
857
  if (rf & 1) {
858
858
  var _r8_1 = i0__namespace.ɵɵgetCurrentView();
@@ -870,7 +870,7 @@
870
870
  i0__namespace.ɵɵadvance(1);
871
871
  i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
872
872
  i0__namespace.ɵɵadvance(2);
873
- 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));
873
+ 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));
874
874
  }
875
875
  }
876
876
  function DateInputComponent_div_17_Template(rf, ctx) {
@@ -890,7 +890,7 @@
890
890
  i0__namespace.ɵɵadvance(1);
891
891
  i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
892
892
  i0__namespace.ɵɵadvance(2);
893
- 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));
893
+ 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));
894
894
  }
895
895
  }
896
896
  function DateInputComponent_div_18_Template(rf, ctx) {
@@ -910,7 +910,7 @@
910
910
  i0__namespace.ɵɵadvance(1);
911
911
  i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
912
912
  i0__namespace.ɵɵadvance(2);
913
- 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));
913
+ 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));
914
914
  }
915
915
  }
916
916
  var DateInputComponent = /** @class */ (function () {
@@ -1144,15 +1144,15 @@
1144
1144
  i0__namespace.ɵɵadvance(2);
1145
1145
  i0__namespace.ɵɵproperty("for", ctx.dayId());
1146
1146
  i0__namespace.ɵɵadvance(2);
1147
- i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$W, ctx.isInvalid));
1147
+ i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$X, ctx.isInvalid));
1148
1148
  i0__namespace.ɵɵadvance(3);
1149
1149
  i0__namespace.ɵɵproperty("for", ctx.monthId());
1150
1150
  i0__namespace.ɵɵadvance(2);
1151
- i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$W, ctx.isInvalid));
1151
+ i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$X, ctx.isInvalid));
1152
1152
  i0__namespace.ɵɵadvance(3);
1153
1153
  i0__namespace.ɵɵproperty("for", ctx.yearId());
1154
1154
  i0__namespace.ɵɵadvance(2);
1155
- i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$W, ctx.isInvalid));
1155
+ i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$X, ctx.isInvalid));
1156
1156
  i0__namespace.ɵɵadvance(2);
1157
1157
  i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
1158
1158
  i0__namespace.ɵɵadvance(1);
@@ -1233,7 +1233,7 @@
1233
1233
  i0__namespace.ɵɵelementContainerEnd();
1234
1234
  }
1235
1235
  }
1236
- var _c0$V = ["*"];
1236
+ var _c0$W = ["*"];
1237
1237
  exports.AlertMessageType = void 0;
1238
1238
  (function (AlertMessageType) {
1239
1239
  AlertMessageType["WARNING"] = "warning";
@@ -1254,7 +1254,7 @@
1254
1254
  AlertComponent.TYPE_ERROR = 'error';
1255
1255
  AlertComponent.TYPE_INFORMATION = 'information';
1256
1256
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
1257
- 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) {
1257
+ 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) {
1258
1258
  if (rf & 1) {
1259
1259
  i0__namespace.ɵɵprojectionDef();
1260
1260
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1529,7 +1529,7 @@
1529
1529
  }] });
1530
1530
  })();
1531
1531
 
1532
- var _c0$U = function (a0) { return { "js-hidden": a0 }; };
1532
+ var _c0$V = function (a0) { return { "js-hidden": a0 }; };
1533
1533
  var _c1$o = ["*"];
1534
1534
  var TabComponent = /** @class */ (function () {
1535
1535
  function TabComponent() {
@@ -1545,7 +1545,7 @@
1545
1545
  i0__namespace.ɵɵelementEnd();
1546
1546
  }
1547
1547
  if (rf & 2) {
1548
- i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$U, !ctx.selected));
1548
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
1549
1549
  i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
1550
1550
  }
1551
1551
  }, 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}}"] });
@@ -1568,7 +1568,7 @@
1568
1568
  }] });
1569
1569
  })();
1570
1570
 
1571
- var _c0$T = ["tab"];
1571
+ var _c0$U = ["tab"];
1572
1572
  var _c1$n = function () { return ["."]; };
1573
1573
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1574
1574
  function TabsComponent_li_2_Template(rf, ctx) {
@@ -1622,7 +1622,7 @@
1622
1622
  }
1623
1623
  }, viewQuery: function TabsComponent_Query(rf, ctx) {
1624
1624
  if (rf & 1) {
1625
- i0__namespace.ɵɵviewQuery(_c0$T, 1);
1625
+ i0__namespace.ɵɵviewQuery(_c0$U, 1);
1626
1626
  }
1627
1627
  if (rf & 2) {
1628
1628
  var _t = void 0;
@@ -1701,7 +1701,7 @@
1701
1701
  }], null, null);
1702
1702
  })();
1703
1703
 
1704
- var _c0$S = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1704
+ var _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1705
1705
  var ActivityBannerComponent = /** @class */ (function () {
1706
1706
  function ActivityBannerComponent() {
1707
1707
  }
@@ -1722,7 +1722,7 @@
1722
1722
  i0__namespace.ɵɵelementEnd();
1723
1723
  }
1724
1724
  if (rf & 2) {
1725
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$S, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1725
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1726
1726
  i0__namespace.ɵɵadvance(2);
1727
1727
  i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
1728
1728
  i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
@@ -3360,9 +3360,12 @@
3360
3360
  }
3361
3361
  Object.defineProperty(CaseField.prototype, "value", {
3362
3362
  get: function () {
3363
- if (this.isDynamic()) {
3363
+ if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
3364
3364
  return this._value && this._value.value ? this._value.value.code : this._value;
3365
3365
  }
3366
+ else if (this.field_type && this.field_type.type === 'DynamicMultiSelectList') {
3367
+ return this._value && this._value.value ? this._value.value : this._value;
3368
+ }
3366
3369
  else {
3367
3370
  return this._value;
3368
3371
  }
@@ -3452,7 +3455,7 @@
3452
3455
  };
3453
3456
  CaseField.prototype.isDynamic = function () {
3454
3457
  var _this = this;
3455
- var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList'];
3458
+ var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList', 'DynamicMultiSelectList'];
3456
3459
  if (!this.field_type) {
3457
3460
  return false;
3458
3461
  }
@@ -5653,6 +5656,9 @@
5653
5656
  }
5654
5657
  caseFields.forEach(function (caseField) {
5655
5658
  switch (caseField.field_type.type) {
5659
+ case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST:
5660
+ _this.convertArrayToDynamicListOutput(caseField, data);
5661
+ break;
5656
5662
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST:
5657
5663
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST:
5658
5664
  _this.convertStringToDynamicListOutput(caseField, data);
@@ -5670,6 +5676,17 @@
5670
5676
  }
5671
5677
  });
5672
5678
  };
5679
+ FieldTypeSanitiser.prototype.convertArrayToDynamicListOutput = function (field, data) {
5680
+ var values = data[field.id];
5681
+ if (Array.isArray(values)) {
5682
+ var listItems = this.getListItems(field);
5683
+ var matches = listItems.filter(function (item) { return values.map(function (v) { return v.code; }).indexOf(item.code) !== -1; });
5684
+ data[field.id] = {
5685
+ value: matches,
5686
+ list_items: listItems
5687
+ };
5688
+ }
5689
+ };
5673
5690
  FieldTypeSanitiser.prototype.convertStringToDynamicListOutput = function (field, data) {
5674
5691
  var stringValue = data[field.id];
5675
5692
  if (typeof stringValue === 'string') {
@@ -5700,6 +5717,7 @@
5700
5717
  FieldTypeSanitiser.FIELD_TYPE_COLLECTION = 'Collection';
5701
5718
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST = 'DynamicList';
5702
5719
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST = 'DynamicRadioList';
5720
+ FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST = 'DynamicMultiSelectList';
5703
5721
  FieldTypeSanitiser.ɵfac = function FieldTypeSanitiser_Factory(t) { return new (t || FieldTypeSanitiser)(); };
5704
5722
  FieldTypeSanitiser.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
5705
5723
  (function () {
@@ -11012,7 +11030,7 @@
11012
11030
  return AddressOption;
11013
11031
  }());
11014
11032
 
11015
- var _c0$R = ["writeComplexFieldComponent"];
11033
+ var _c0$S = ["writeComplexFieldComponent"];
11016
11034
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
11017
11035
  if (rf & 1) {
11018
11036
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -11226,7 +11244,7 @@
11226
11244
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
11227
11245
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
11228
11246
  if (rf & 1) {
11229
- i0__namespace.ɵɵviewQuery(_c0$R, 1);
11247
+ i0__namespace.ɵɵviewQuery(_c0$S, 1);
11230
11248
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
11231
11249
  }
11232
11250
  if (rf & 2) {
@@ -11372,12 +11390,13 @@
11372
11390
  }
11373
11391
  }
11374
11392
  var CaseFileViewFieldComponent = /** @class */ (function () {
11375
- function CaseFileViewFieldComponent(elementRef, route, caseFileViewService, documentManagementService, loadingService) {
11393
+ function CaseFileViewFieldComponent(elementRef, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService) {
11376
11394
  this.elementRef = elementRef;
11377
11395
  this.route = route;
11378
11396
  this.caseFileViewService = caseFileViewService;
11379
11397
  this.documentManagementService = documentManagementService;
11380
11398
  this.loadingService = loadingService;
11399
+ this.sessionStorageService = sessionStorageService;
11381
11400
  this.allowMoving = true;
11382
11401
  this.getCategoriesAndDocumentsError = false;
11383
11402
  }
@@ -11391,6 +11410,12 @@
11391
11410
  },
11392
11411
  error: function (_) { return _this.getCategoriesAndDocumentsError = true; }
11393
11412
  });
11413
+ // EXUI-8000
11414
+ var userInfo = JSON.parse(this.sessionStorageService.getItem('userDetails'));
11415
+ // Get acls that intersects from acl roles and user roles
11416
+ var acls = this.caseField.acls.filter(function (acl) { return userInfo.roles.includes(acl.role); });
11417
+ // As there can be more than one intersecting role, if any acls are update: true
11418
+ this.allowMoving = acls.some(function (acl) { return acl.update; });
11394
11419
  };
11395
11420
  CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
11396
11421
  var slider = this.elementRef.nativeElement.querySelector('.slider');
@@ -11438,7 +11463,7 @@
11438
11463
  return CaseFileViewFieldComponent;
11439
11464
  }());
11440
11465
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
11441
- CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
11466
+ CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
11442
11467
  CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
11443
11468
  if (rf & 1) {
11444
11469
  i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
@@ -11458,94 +11483,7 @@
11458
11483
  templateUrl: './case-file-view-field.component.html',
11459
11484
  styleUrls: ['./case-file-view-field.component.scss'],
11460
11485
  }]
11461
- }], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }]; }, null);
11462
- })();
11463
-
11464
- function CaseFileViewFieldReadComponent_div_0_Template(rf, ctx) {
11465
- if (rf & 1) {
11466
- i0__namespace.ɵɵelementStart(0, "div", 2);
11467
- i0__namespace.ɵɵelementStart(1, "h1", 3);
11468
- i0__namespace.ɵɵtext(2, "Sorry, there is a problem with the service");
11469
- i0__namespace.ɵɵelementEnd();
11470
- i0__namespace.ɵɵelementStart(3, "p", 4);
11471
- i0__namespace.ɵɵtext(4, "Try again later.");
11472
- i0__namespace.ɵɵelementEnd();
11473
- i0__namespace.ɵɵelementEnd();
11474
- }
11475
- }
11476
- function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
11477
- if (rf & 1) {
11478
- i0__namespace.ɵɵelementContainerStart(0);
11479
- i0__namespace.ɵɵelement(1, "mv-media-viewer", 11);
11480
- i0__namespace.ɵɵelementContainerEnd();
11481
- }
11482
- if (rf & 2) {
11483
- var ctx_r2 = i0__namespace.ɵɵnextContext(2);
11484
- i0__namespace.ɵɵadvance(1);
11485
- i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
11486
- }
11487
- }
11488
- function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) {
11489
- if (rf & 1) {
11490
- var _r4_1 = i0__namespace.ɵɵgetCurrentView();
11491
- i0__namespace.ɵɵelementStart(0, "div");
11492
- i0__namespace.ɵɵelementStart(1, "h2", 5);
11493
- i0__namespace.ɵɵtext(2, "Case file");
11494
- i0__namespace.ɵɵelementEnd();
11495
- i0__namespace.ɵɵelementStart(3, "div", 6);
11496
- i0__namespace.ɵɵelementStart(4, "div", 7);
11497
- i0__namespace.ɵɵelementStart(5, "ccd-case-file-view-folder", 8);
11498
- i0__namespace.ɵɵlistener("clickedDocument", function CaseFileViewFieldReadComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); })("moveDocument", function CaseFileViewFieldReadComponent_div_1_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.moveDocument($event); });
11499
- i0__namespace.ɵɵelementEnd();
11500
- i0__namespace.ɵɵelementEnd();
11501
- i0__namespace.ɵɵelement(6, "div", 9);
11502
- i0__namespace.ɵɵelementStart(7, "div", 10);
11503
- i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
11504
- i0__namespace.ɵɵelementEnd();
11505
- i0__namespace.ɵɵelementEnd();
11506
- i0__namespace.ɵɵelementEnd();
11507
- }
11508
- if (rf & 2) {
11509
- var ctx_r1 = i0__namespace.ɵɵnextContext();
11510
- i0__namespace.ɵɵadvance(5);
11511
- i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx_r1.categoriesAndDocuments$)("allowMoving", ctx_r1.allowMoving);
11512
- i0__namespace.ɵɵadvance(3);
11513
- i0__namespace.ɵɵproperty("ngIf", ctx_r1.currentDocument);
11514
- }
11515
- }
11516
- var CaseFileViewFieldReadComponent = /** @class */ (function (_super) {
11517
- __extends(CaseFileViewFieldReadComponent, _super);
11518
- function CaseFileViewFieldReadComponent() {
11519
- return _super !== null && _super.apply(this, arguments) || this;
11520
- }
11521
- CaseFileViewFieldReadComponent.prototype.ngOnInit = function () {
11522
- _super.prototype.ngOnInit.call(this);
11523
- this.allowMoving = this.caseField.acls.some(function (acl) { return acl.update; });
11524
- };
11525
- return CaseFileViewFieldReadComponent;
11526
- }(CaseFileViewFieldComponent));
11527
- CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
11528
- CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) {
11529
- if (rf & 1) {
11530
- i0__namespace.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
11531
- i0__namespace.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
11532
- }
11533
- if (rf & 2) {
11534
- i0__namespace.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
11535
- i0__namespace.ɵɵadvance(1);
11536
- i0__namespace.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
11537
- }
11538
- }, styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9;height:100vh;position:relative}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{background-color:#dee0e2;flex:1 1 0;overflow:hidden}"] });
11539
- var ɵCaseFileViewFieldReadComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(CaseFileViewFieldReadComponent);
11540
- (function () {
11541
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldReadComponent, [{
11542
- type: i0.Component,
11543
- args: [{
11544
- selector: 'ccd-case-file-view-field',
11545
- templateUrl: './case-file-view-field.component.html',
11546
- styleUrls: ['./case-file-view-field.component.scss'],
11547
- }]
11548
- }], null, null);
11486
+ }], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }]; }, null);
11549
11487
  })();
11550
11488
 
11551
11489
  exports.AddCommentsErrorMessage = void 0;
@@ -11900,7 +11838,7 @@
11900
11838
  i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
11901
11839
  }
11902
11840
  }
11903
- var _c0$Q = function (a0) { return { "form-group-error": a0 }; };
11841
+ var _c0$R = function (a0) { return { "form-group-error": a0 }; };
11904
11842
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
11905
11843
  if (rf & 1) {
11906
11844
  i0__namespace.ɵɵelementStart(0, "div", 8);
@@ -11921,7 +11859,7 @@
11921
11859
  i0__namespace.ɵɵadvance(1);
11922
11860
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
11923
11861
  i0__namespace.ɵɵadvance(1);
11924
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$Q, ctx_r1.errorMessages.length > 0));
11862
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$R, ctx_r1.errorMessages.length > 0));
11925
11863
  i0__namespace.ɵɵadvance(1);
11926
11864
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
11927
11865
  i0__namespace.ɵɵadvance(1);
@@ -12397,7 +12335,7 @@
12397
12335
  }], null, null);
12398
12336
  })();
12399
12337
 
12400
- var _c0$P = ["writeComplexFieldComponent"];
12338
+ var _c0$Q = ["writeComplexFieldComponent"];
12401
12339
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
12402
12340
  if (rf & 1) {
12403
12341
  i0__namespace.ɵɵelementStart(0, "span", 6);
@@ -12502,7 +12440,7 @@
12502
12440
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
12503
12441
  WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
12504
12442
  if (rf & 1) {
12505
- i0__namespace.ɵɵviewQuery(_c0$P, 1);
12443
+ i0__namespace.ɵɵviewQuery(_c0$Q, 1);
12506
12444
  }
12507
12445
  if (rf & 2) {
12508
12446
  var _t = void 0;
@@ -12547,7 +12485,7 @@
12547
12485
  }] });
12548
12486
  })();
12549
12487
 
12550
- 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 }; };
12488
+ 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 }; };
12551
12489
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
12552
12490
  if (rf & 1) {
12553
12491
  i0__namespace.ɵɵelementStart(0, "tbody");
@@ -12562,7 +12500,7 @@
12562
12500
  if (rf & 2) {
12563
12501
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
12564
12502
  i0__namespace.ɵɵadvance(4);
12565
- 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);
12503
+ 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);
12566
12504
  }
12567
12505
  }
12568
12506
  var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
@@ -12713,7 +12651,7 @@
12713
12651
  }], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
12714
12652
  })();
12715
12653
 
12716
- var _c0$N = ["collectionItem"];
12654
+ var _c0$O = ["collectionItem"];
12717
12655
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) {
12718
12656
  if (rf & 1) {
12719
12657
  i0__namespace.ɵɵelementStart(0, "span", 9);
@@ -12955,6 +12893,11 @@
12955
12893
  // Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
12956
12894
  this.formArray.setErrors(null);
12957
12895
  var item = { value: null };
12896
+ if (this.isCollectionDynamic()) {
12897
+ item = Object.assign({}, this.caseField.value[this.caseField.value.length - 1]);
12898
+ var key = Number(item['id'][item['id'].length - 1]) + 1;
12899
+ item.id = item['id'].replace(/.$/, key.toString());
12900
+ }
12958
12901
  this.caseField.value.push(item);
12959
12902
  var index = this.caseField.value.length - 1;
12960
12903
  var caseField = this.buildCaseField(item, index, true);
@@ -12977,6 +12920,12 @@
12977
12920
  setTimeout(function () { return _this.focusLastItem(); });
12978
12921
  }
12979
12922
  };
12923
+ WriteCollectionFieldComponent.prototype.isCollectionDynamic = function () {
12924
+ if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
12925
+ return false;
12926
+ }
12927
+ return this.caseField.field_type.collection_field_type.id === 'DynamicRadioList';
12928
+ };
12980
12929
  WriteCollectionFieldComponent.prototype.newCaseField = function (id, item, index, isNew) {
12981
12930
  if (isNew === void 0) { isNew = false; }
12982
12931
  var isNotAuthorisedToUpdate = !isNew && this.isNotAuthorisedToUpdate(index);
@@ -13126,7 +13075,7 @@
13126
13075
  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)); };
13127
13076
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
13128
13077
  if (rf & 1) {
13129
- i0__namespace.ɵɵviewQuery(_c0$N, 1);
13078
+ i0__namespace.ɵɵviewQuery(_c0$O, 1);
13130
13079
  }
13131
13080
  if (rf & 2) {
13132
13081
  var _t = void 0;
@@ -13820,7 +13769,7 @@
13820
13769
  }], null, null);
13821
13770
  })();
13822
13771
 
13823
- var _c0$M = ["fileInput"];
13772
+ var _c0$N = ["fileInput"];
13824
13773
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) {
13825
13774
  if (rf & 1) {
13826
13775
  i0__namespace.ɵɵelementStart(0, "span", 12);
@@ -14114,7 +14063,7 @@
14114
14063
  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)); };
14115
14064
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
14116
14065
  if (rf & 1) {
14117
- i0__namespace.ɵɵviewQuery(_c0$M, 1);
14066
+ i0__namespace.ɵɵviewQuery(_c0$N, 1);
14118
14067
  }
14119
14068
  if (rf & 2) {
14120
14069
  var _t = void 0;
@@ -14314,7 +14263,7 @@
14314
14263
  i0__namespace.ɵɵtextInterpolate(type_r5.label);
14315
14264
  }
14316
14265
  }
14317
- var _c0$L = function (a0) { return { "form-group-error": a0 }; };
14266
+ var _c0$M = function (a0) { return { "form-group-error": a0 }; };
14318
14267
  var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
14319
14268
  __extends(WriteDynamicListFieldComponent, _super);
14320
14269
  function WriteDynamicListFieldComponent() {
@@ -14363,7 +14312,7 @@
14363
14312
  i0__namespace.ɵɵelementEnd();
14364
14313
  }
14365
14314
  if (rf & 2) {
14366
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14315
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14367
14316
  i0__namespace.ɵɵadvance(1);
14368
14317
  i0__namespace.ɵɵproperty("for", ctx.id());
14369
14318
  i0__namespace.ɵɵadvance(1);
@@ -14513,7 +14462,7 @@
14513
14462
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
14514
14463
  }
14515
14464
  }
14516
- var _c0$K = function (a0) { return { selected: a0 }; };
14465
+ var _c0$L = function (a0) { return { selected: a0 }; };
14517
14466
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
14518
14467
  if (rf & 1) {
14519
14468
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -14526,12 +14475,11 @@
14526
14475
  if (rf & 2) {
14527
14476
  var radioButton_r5 = ctx.$implicit;
14528
14477
  var ctx_r4 = i0__namespace.ɵɵnextContext();
14529
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
14478
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
14530
14479
  i0__namespace.ɵɵadvance(1);
14531
- i0__namespace.ɵɵpropertyInterpolate("name", ctx_r4.id());
14532
- i0__namespace.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
14480
+ 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);
14533
14481
  i0__namespace.ɵɵadvance(1);
14534
- i0__namespace.ɵɵproperty("for", ctx_r4.buildElementId(radioButton_r5.code));
14482
+ i0__namespace.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
14535
14483
  i0__namespace.ɵɵadvance(1);
14536
14484
  i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
14537
14485
  }
@@ -14560,8 +14508,8 @@
14560
14508
  this.dynamicRadioListControl = this.registerControl(new i2.FormControl(this.caseField.value));
14561
14509
  this.dynamicRadioListControl.setValue(this.caseField.value);
14562
14510
  };
14563
- WriteDynamicRadioListFieldComponent.prototype.buildElementId = function (name) {
14564
- return this.id() + "-" + name;
14511
+ WriteDynamicRadioListFieldComponent.prototype.createElementId = function (name) {
14512
+ return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : _super.prototype.createElementId.call(this, name);
14565
14513
  };
14566
14514
  return WriteDynamicRadioListFieldComponent;
14567
14515
  }(AbstractFieldWriteComponent));
@@ -14691,7 +14639,7 @@
14691
14639
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
14692
14640
  }
14693
14641
  }
14694
- var _c0$J = function (a0) { return { "form-group-error": a0 }; };
14642
+ var _c0$K = function (a0) { return { "form-group-error": a0 }; };
14695
14643
  var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
14696
14644
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
14697
14645
  __extends(WriteEmailFieldComponent, _super);
@@ -14716,7 +14664,7 @@
14716
14664
  i0__namespace.ɵɵelementEnd();
14717
14665
  }
14718
14666
  if (rf & 2) {
14719
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
14667
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
14720
14668
  i0__namespace.ɵɵadvance(1);
14721
14669
  i0__namespace.ɵɵproperty("for", ctx.id());
14722
14670
  i0__namespace.ɵɵadvance(1);
@@ -14848,7 +14796,7 @@
14848
14796
  i0__namespace.ɵɵtextInterpolate(type_r4.label);
14849
14797
  }
14850
14798
  }
14851
- var _c0$I = function (a0) { return { "form-group-error": a0 }; };
14799
+ var _c0$J = function (a0) { return { "form-group-error": a0 }; };
14852
14800
  var WriteFixedListFieldComponent = /** @class */ (function (_super) {
14853
14801
  __extends(WriteFixedListFieldComponent, _super);
14854
14802
  function WriteFixedListFieldComponent() {
@@ -14897,7 +14845,7 @@
14897
14845
  i0__namespace.ɵɵelementEnd();
14898
14846
  }
14899
14847
  if (rf & 2) {
14900
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
14848
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
14901
14849
  i0__namespace.ɵɵadvance(1);
14902
14850
  i0__namespace.ɵɵproperty("for", ctx.id());
14903
14851
  i0__namespace.ɵɵadvance(1);
@@ -15015,7 +14963,7 @@
15015
14963
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
15016
14964
  }
15017
14965
  }
15018
- var _c0$H = function (a0) { return { selected: a0 }; };
14966
+ var _c0$I = function (a0) { return { selected: a0 }; };
15019
14967
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
15020
14968
  if (rf & 1) {
15021
14969
  i0__namespace.ɵɵelementStart(0, "div", 9);
@@ -15028,7 +14976,7 @@
15028
14976
  if (rf & 2) {
15029
14977
  var radioButton_r4 = ctx.$implicit;
15030
14978
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15031
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
14979
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
15032
14980
  i0__namespace.ɵɵadvance(1);
15033
14981
  i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
15034
14982
  i0__namespace.ɵɵadvance(1);
@@ -15198,7 +15146,7 @@
15198
15146
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
15199
15147
  }
15200
15148
  }
15201
- var _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
15149
+ var _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
15202
15150
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
15203
15151
  if (rf & 1) {
15204
15152
  var _r7_1 = i0__namespace.ɵɵgetCurrentView();
@@ -15210,7 +15158,7 @@
15210
15158
  if (rf & 2) {
15211
15159
  var judicialUser_r5 = ctx.$implicit;
15212
15160
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15213
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$G, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15161
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15214
15162
  i0__namespace.ɵɵadvance(1);
15215
15163
  i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
15216
15164
  }
@@ -16000,7 +15948,7 @@
16000
15948
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
16001
15949
  }
16002
15950
  }
16003
- var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
15951
+ var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
16004
15952
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
16005
15953
  if (rf & 1) {
16006
15954
  i0__namespace.ɵɵelementStart(0, "div", 35);
@@ -16018,7 +15966,7 @@
16018
15966
  }
16019
15967
  if (rf & 2) {
16020
15968
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
16021
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
15969
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
16022
15970
  i0__namespace.ɵɵadvance(3);
16023
15971
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
16024
15972
  }
@@ -16075,11 +16023,11 @@
16075
16023
  var ctx_r0 = i0__namespace.ɵɵnextContext();
16076
16024
  i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
16077
16025
  i0__namespace.ɵɵadvance(1);
16078
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
16026
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
16079
16027
  i0__namespace.ɵɵadvance(3);
16080
16028
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
16081
16029
  i0__namespace.ɵɵadvance(2);
16082
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
16030
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
16083
16031
  i0__namespace.ɵɵadvance(5);
16084
16032
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
16085
16033
  i0__namespace.ɵɵadvance(2);
@@ -16513,7 +16461,7 @@
16513
16461
  i0__namespace.ɵɵadvance(4);
16514
16462
  i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
16515
16463
  i0__namespace.ɵɵadvance(4);
16516
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
16464
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
16517
16465
  i0__namespace.ɵɵadvance(1);
16518
16466
  i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
16519
16467
  i0__namespace.ɵɵadvance(18);
@@ -17197,7 +17145,7 @@
17197
17145
  i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
17198
17146
  }
17199
17147
  }
17200
- var _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
17148
+ var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
17201
17149
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
17202
17150
  if (rf & 1) {
17203
17151
  i0__namespace.ɵɵelementStart(0, "div", 7);
@@ -17209,7 +17157,7 @@
17209
17157
  }
17210
17158
  if (rf & 2) {
17211
17159
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
17212
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
17160
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
17213
17161
  i0__namespace.ɵɵadvance(1);
17214
17162
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
17215
17163
  i0__namespace.ɵɵadvance(2);
@@ -18151,7 +18099,7 @@
18151
18099
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
18152
18100
  }
18153
18101
  }
18154
- var _c0$D = function (a0) { return { "form-group-error": a0 }; };
18102
+ var _c0$E = function (a0) { return { "form-group-error": a0 }; };
18155
18103
  var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
18156
18104
  __extends(WriteMoneyGbpFieldComponent, _super);
18157
18105
  function WriteMoneyGbpFieldComponent() {
@@ -18181,7 +18129,7 @@
18181
18129
  i0__namespace.ɵɵelementEnd();
18182
18130
  }
18183
18131
  if (rf & 2) {
18184
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
18132
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
18185
18133
  i0__namespace.ɵɵadvance(1);
18186
18134
  i0__namespace.ɵɵproperty("for", ctx.id());
18187
18135
  i0__namespace.ɵɵadvance(1);
@@ -18329,7 +18277,7 @@
18329
18277
  i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
18330
18278
  }
18331
18279
  }
18332
- var _c0$C = function (a0) { return { "error": a0 }; };
18280
+ var _c0$D = function (a0) { return { "error": a0 }; };
18333
18281
  var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
18334
18282
  __extends(WriteMultiSelectListFieldComponent, _super);
18335
18283
  function WriteMultiSelectListFieldComponent() {
@@ -18393,7 +18341,7 @@
18393
18341
  i0__namespace.ɵɵelementEnd();
18394
18342
  }
18395
18343
  if (rf & 2) {
18396
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
18344
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
18397
18345
  i0__namespace.ɵɵadvance(3);
18398
18346
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
18399
18347
  i0__namespace.ɵɵadvance(1);
@@ -18484,7 +18432,7 @@
18484
18432
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
18485
18433
  }
18486
18434
  }
18487
- var _c0$B = function (a0) { return { "form-group-error": a0 }; };
18435
+ var _c0$C = function (a0) { return { "form-group-error": a0 }; };
18488
18436
  var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
18489
18437
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
18490
18438
  __extends(WriteNumberFieldComponent, _super);
@@ -18509,7 +18457,7 @@
18509
18457
  i0__namespace.ɵɵelementEnd();
18510
18458
  }
18511
18459
  if (rf & 2) {
18512
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
18460
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
18513
18461
  i0__namespace.ɵɵadvance(1);
18514
18462
  i0__namespace.ɵɵproperty("for", ctx.id());
18515
18463
  i0__namespace.ɵɵadvance(1);
@@ -18810,7 +18758,7 @@
18810
18758
  i0__namespace.ɵɵelementEnd();
18811
18759
  }
18812
18760
  }
18813
- var _c0$A = function (a0) { return { "scroll-container ": a0 }; };
18761
+ var _c0$B = function (a0) { return { "scroll-container ": a0 }; };
18814
18762
  function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) {
18815
18763
  if (rf & 1) {
18816
18764
  i0__namespace.ɵɵelementStart(0, "div", 26);
@@ -18826,7 +18774,7 @@
18826
18774
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
18827
18775
  var tmp_0_0 = null;
18828
18776
  var tmp_2_0 = null;
18829
- 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));
18777
+ 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));
18830
18778
  i0__namespace.ɵɵadvance(2);
18831
18779
  i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
18832
18780
  i0__namespace.ɵɵadvance(2);
@@ -19230,6 +19178,231 @@
19230
19178
  }], function () { return [{ type: AbstractAppConfig }, { type: SessionStorageService }]; }, null);
19231
19179
  })();
19232
19180
 
19181
+ function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) {
19182
+ if (rf & 1) {
19183
+ i0__namespace.ɵɵelementStart(0, "div");
19184
+ i0__namespace.ɵɵtext(1);
19185
+ i0__namespace.ɵɵpipe(2, "ccdFixedList");
19186
+ i0__namespace.ɵɵelementEnd();
19187
+ }
19188
+ if (rf & 2) {
19189
+ var value_r1 = ctx.$implicit;
19190
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
19191
+ i0__namespace.ɵɵadvance(1);
19192
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items), "\n");
19193
+ }
19194
+ }
19195
+ var ReadDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
19196
+ __extends(ReadDynamicMultiSelectListFieldComponent, _super);
19197
+ function ReadDynamicMultiSelectListFieldComponent() {
19198
+ return _super !== null && _super.apply(this, arguments) || this;
19199
+ }
19200
+ ReadDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
19201
+ /**
19202
+ *
19203
+ * Reassigning list_items from formatted_list when list_items is empty
19204
+ */
19205
+ if (!this.caseField.list_items && this.caseField.formatted_value && this.caseField.formatted_value.list_items) {
19206
+ this.caseField.list_items = this.caseField.formatted_value.list_items;
19207
+ }
19208
+ if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
19209
+ this.caseField.value = this.caseField.formatted_value.value;
19210
+ }
19211
+ _super.prototype.ngOnInit.call(this);
19212
+ };
19213
+ return ReadDynamicMultiSelectListFieldComponent;
19214
+ }(AbstractFieldReadComponent));
19215
+ ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
19216
+ 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) {
19217
+ if (rf & 1) {
19218
+ i0__namespace.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
19219
+ }
19220
+ if (rf & 2) {
19221
+ i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.value);
19222
+ }
19223
+ }, 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}"] });
19224
+ var ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
19225
+ (function () {
19226
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
19227
+ type: i0.Component,
19228
+ args: [{
19229
+ selector: 'ccd-read-dynamic-multi-select-list-field',
19230
+ templateUrl: './read-dynamic-multi-select-list-field.html',
19231
+ styleUrls: ['./read-dynamic-multi-select-list-field.component.scss']
19232
+ }]
19233
+ }], null, null);
19234
+ })();
19235
+
19236
+ function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) {
19237
+ if (rf & 1) {
19238
+ i0__namespace.ɵɵelementStart(0, "span", 5);
19239
+ i0__namespace.ɵɵtext(1);
19240
+ i0__namespace.ɵɵpipe(2, "ccdFieldLabel");
19241
+ i0__namespace.ɵɵelementEnd();
19242
+ }
19243
+ if (rf & 2) {
19244
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
19245
+ i0__namespace.ɵɵadvance(1);
19246
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
19247
+ }
19248
+ }
19249
+ function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) {
19250
+ if (rf & 1) {
19251
+ i0__namespace.ɵɵelementStart(0, "span", 6);
19252
+ i0__namespace.ɵɵtext(1);
19253
+ i0__namespace.ɵɵelementEnd();
19254
+ }
19255
+ if (rf & 2) {
19256
+ var ctx_r1 = i0__namespace.ɵɵnextContext();
19257
+ i0__namespace.ɵɵadvance(1);
19258
+ i0__namespace.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
19259
+ }
19260
+ }
19261
+ function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) {
19262
+ if (rf & 1) {
19263
+ i0__namespace.ɵɵelementStart(0, "span", 7);
19264
+ i0__namespace.ɵɵtext(1);
19265
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
19266
+ i0__namespace.ɵɵelementEnd();
19267
+ }
19268
+ if (rf & 2) {
19269
+ var ctx_r2 = i0__namespace.ɵɵnextContext();
19270
+ i0__namespace.ɵɵadvance(1);
19271
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
19272
+ }
19273
+ }
19274
+ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
19275
+ if (rf & 1) {
19276
+ var _r6_1 = i0__namespace.ɵɵgetCurrentView();
19277
+ i0__namespace.ɵɵelementContainerStart(0);
19278
+ i0__namespace.ɵɵelementStart(1, "div", 8);
19279
+ i0__namespace.ɵɵelementStart(2, "input", 9);
19280
+ 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); });
19281
+ i0__namespace.ɵɵelementEnd();
19282
+ i0__namespace.ɵɵelementStart(3, "label", 10);
19283
+ i0__namespace.ɵɵtext(4);
19284
+ i0__namespace.ɵɵelementEnd();
19285
+ i0__namespace.ɵɵelementEnd();
19286
+ i0__namespace.ɵɵelementContainerEnd();
19287
+ }
19288
+ if (rf & 2) {
19289
+ var checkbox_r4 = ctx.$implicit;
19290
+ var ctx_r3 = i0__namespace.ɵɵnextContext();
19291
+ i0__namespace.ɵɵadvance(2);
19292
+ i0__namespace.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
19293
+ i0__namespace.ɵɵpropertyInterpolate("name", ctx_r3.id());
19294
+ i0__namespace.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
19295
+ i0__namespace.ɵɵadvance(1);
19296
+ i0__namespace.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
19297
+ i0__namespace.ɵɵadvance(1);
19298
+ i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
19299
+ }
19300
+ }
19301
+ var _c0$A = function (a0) { return { "error": a0 }; };
19302
+ var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
19303
+ __extends(WriteDynamicMultiSelectListFieldComponent, _super);
19304
+ function WriteDynamicMultiSelectListFieldComponent() {
19305
+ return _super !== null && _super.apply(this, arguments) || this;
19306
+ }
19307
+ WriteDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
19308
+ var _this = this;
19309
+ this.checkboxes = new i2.FormArray([]);
19310
+ this.setInitialCaseList();
19311
+ this.setInitialCaseFieldValue();
19312
+ // Initialise array with existing values
19313
+ if (this.caseField.value && Array.isArray(this.caseField.value)) {
19314
+ var values = this.caseField.value;
19315
+ values.forEach(function (value) {
19316
+ _this.checkboxes.push(new i2.FormControl(value));
19317
+ });
19318
+ }
19319
+ this.dynamicListFormControl = this.registerControl(new i2.FormControl(this.checkboxes.value));
19320
+ this.dynamicListFormControl.setValue(this.checkboxes.value);
19321
+ };
19322
+ WriteDynamicMultiSelectListFieldComponent.prototype.onCheckChange = function (event) {
19323
+ var _this = this;
19324
+ var target = event.target;
19325
+ if (!target || !target.value) {
19326
+ return;
19327
+ }
19328
+ var selectedListItem = this.getValueListItem(target.value);
19329
+ if (!this.isSelected(target.value)) {
19330
+ // Add a new control in the FormArray
19331
+ this.checkboxes.push(new i2.FormControl(selectedListItem));
19332
+ }
19333
+ else {
19334
+ // Remove the control from the FormArray
19335
+ this.checkboxes.controls.forEach(function (ctrl, i) {
19336
+ if (ctrl.value.code === target.value) {
19337
+ _this.checkboxes.removeAt(i);
19338
+ }
19339
+ });
19340
+ }
19341
+ this.dynamicListFormControl.setValue(this.checkboxes.value);
19342
+ };
19343
+ WriteDynamicMultiSelectListFieldComponent.prototype.isSelected = function (code) {
19344
+ if (this.checkboxes && this.checkboxes.controls) {
19345
+ return this.checkboxes.controls.find(function (control) { return control.value.code === code; });
19346
+ }
19347
+ };
19348
+ WriteDynamicMultiSelectListFieldComponent.prototype.getValueListItem = function (value) {
19349
+ return this.caseField.list_items.find(function (i) { return i.code === value; });
19350
+ };
19351
+ WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseList = function () {
19352
+ var hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
19353
+ var hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
19354
+ if (!hasListItems && hasFormattedListItems) {
19355
+ this.caseField.list_items = this.caseField.formatted_value.list_items;
19356
+ }
19357
+ };
19358
+ WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseFieldValue = function () {
19359
+ if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
19360
+ this.caseField.value = this.caseField.formatted_value.value;
19361
+ }
19362
+ var isNull = this.caseField.value === undefined || this.caseField.value === '';
19363
+ if (isNull || !Array.isArray(this.caseField.value)) {
19364
+ this.caseField.value = [];
19365
+ }
19366
+ };
19367
+ return WriteDynamicMultiSelectListFieldComponent;
19368
+ }(AbstractFieldWriteComponent));
19369
+ WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
19370
+ 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) {
19371
+ if (rf & 1) {
19372
+ i0__namespace.ɵɵelementStart(0, "div", 0);
19373
+ i0__namespace.ɵɵelementStart(1, "fieldset");
19374
+ i0__namespace.ɵɵelementStart(2, "legend");
19375
+ i0__namespace.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
19376
+ i0__namespace.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
19377
+ i0__namespace.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
19378
+ i0__namespace.ɵɵelementEnd();
19379
+ i0__namespace.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
19380
+ i0__namespace.ɵɵelementEnd();
19381
+ i0__namespace.ɵɵelementEnd();
19382
+ }
19383
+ if (rf & 2) {
19384
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$A, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
19385
+ i0__namespace.ɵɵadvance(3);
19386
+ i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
19387
+ i0__namespace.ɵɵadvance(1);
19388
+ i0__namespace.ɵɵproperty("ngIf", ctx.caseField.hint_text);
19389
+ i0__namespace.ɵɵadvance(1);
19390
+ i0__namespace.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
19391
+ i0__namespace.ɵɵadvance(1);
19392
+ i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
19393
+ }
19394
+ }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
19395
+ var ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
19396
+ (function () {
19397
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
19398
+ type: i0.Component,
19399
+ args: [{
19400
+ selector: 'ccd-write-dynamic-multi-select-list-field',
19401
+ templateUrl: './write-dynamic-multi-select-list-field.html'
19402
+ }]
19403
+ }], null, null);
19404
+ })();
19405
+
19233
19406
  var ReadPhoneUKFieldComponent = /** @class */ (function (_super) {
19234
19407
  __extends(ReadPhoneUKFieldComponent, _super);
19235
19408
  function ReadPhoneUKFieldComponent() {
@@ -19862,7 +20035,7 @@
19862
20035
  function PaletteService() {
19863
20036
  var _b;
19864
20037
  this.componentLauncherRegistry = (_b = {},
19865
- _b[DisplayContextCustomParameter.CaseFileView] = [CaseFileViewFieldComponent, CaseFileViewFieldReadComponent],
20038
+ _b[DisplayContextCustomParameter.CaseFileView] = [CaseFileViewFieldComponent, CaseFileViewFieldComponent],
19866
20039
  _b[DisplayContextCustomParameter.LinkedCases] = [WriteLinkedCasesFieldComponent, ReadLinkedCasesFieldComponent],
19867
20040
  _b);
19868
20041
  }
@@ -19892,6 +20065,8 @@
19892
20065
  return write ? WriteFixedListFieldComponent : ReadFixedListFieldComponent;
19893
20066
  case 'DynamicRadioList':
19894
20067
  return write ? WriteDynamicRadioListFieldComponent : ReadDynamicRadioListFieldComponent;
20068
+ case 'DynamicMultiSelectList':
20069
+ return write ? WriteDynamicMultiSelectListFieldComponent : ReadDynamicMultiSelectListFieldComponent;
19895
20070
  case 'FixedRadioList':
19896
20071
  return write ? WriteFixedRadioListFieldComponent : ReadFixedRadioListFieldComponent;
19897
20072
  case 'Complex':
@@ -19961,7 +20136,7 @@
19961
20136
  })();
19962
20137
 
19963
20138
  var _c0$v = ["fieldContainer"];
19964
- var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
20139
+ var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
19965
20140
  var FieldReadComponent = /** @class */ (function (_super) {
19966
20141
  __extends(FieldReadComponent, _super);
19967
20142
  function FieldReadComponent(resolver, paletteService) {
@@ -20051,7 +20226,7 @@
20051
20226
  })();
20052
20227
 
20053
20228
  var _c0$u = ["fieldContainer"];
20054
- var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
20229
+ var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
20055
20230
  var FieldWriteComponent = /** @class */ (function (_super) {
20056
20231
  __extends(FieldWriteComponent, _super);
20057
20232
  function FieldWriteComponent(resolver, paletteService) {
@@ -25011,23 +25186,26 @@
25011
25186
  || !ReadFieldsFilterPipe.isEmpty(value[field.id]);
25012
25187
  };
25013
25188
  ReadFieldsFilterPipe.getValue = function (field, values, index) {
25014
- var value;
25015
- if (index >= 0) {
25016
- value = values[index].value[field.id];
25017
- }
25018
- else {
25019
- value = values[field.id];
25189
+ if (ReadFieldsFilterPipe.isEmpty(field.value)) {
25190
+ var value = void 0;
25191
+ if (index >= 0) {
25192
+ value = values[index].value[field.id];
25193
+ }
25194
+ else {
25195
+ value = values[field.id];
25196
+ }
25197
+ return value;
25020
25198
  }
25021
- return ReadFieldsFilterPipe.isEmpty(field.value) ? value : field.value;
25199
+ return field.value;
25022
25200
  };
25023
- ReadFieldsFilterPipe.evaluateConditionalShow = function (field, formValue, path, formGroupAvaliable, fieldId) {
25201
+ ReadFieldsFilterPipe.evaluateConditionalShow = function (field, formValue, path, formGroupAvailable, fieldId) {
25024
25202
  if (field.display_context === 'HIDDEN') {
25025
25203
  field.hidden = true;
25026
25204
  }
25027
25205
  else if (field.show_condition) {
25028
25206
  var cond = void 0;
25029
- if (fieldId && field.show_condition.indexOf(fieldId) > -1 && !formGroupAvaliable && !!Object.keys(formValue).length) {
25030
- var search = fieldId + '.';
25207
+ if (fieldId && field.show_condition.indexOf(fieldId + ".") > -1 && !formGroupAvailable && !!Object.keys(formValue).length) {
25208
+ var search = fieldId + ".";
25031
25209
  var searchRegExp = new RegExp(search, 'g');
25032
25210
  var replaceWith = '';
25033
25211
  cond = ShowCondition.getInstance(field.show_condition.replace(searchRegExp, replaceWith));
@@ -25436,6 +25614,8 @@
25436
25614
  WriteDocumentFieldComponent,
25437
25615
  WriteDynamicListFieldComponent,
25438
25616
  WriteDynamicRadioListFieldComponent,
25617
+ WriteDynamicMultiSelectListFieldComponent,
25618
+ ReadDynamicMultiSelectListFieldComponent,
25439
25619
  WriteTextFieldComponent,
25440
25620
  WriteDateContainerFieldComponent,
25441
25621
  WriteTextAreaFieldComponent,
@@ -25459,12 +25639,18 @@
25459
25639
  WriteCollectionFieldComponent,
25460
25640
  // ComponentLauncher web components
25461
25641
  CaseFileViewFieldComponent,
25462
- CaseFileViewFieldReadComponent,
25463
25642
  CaseFileViewFolderComponent,
25464
25643
  CaseFileViewFolderSortComponent,
25465
25644
  CaseFileViewOverlayMenuComponent,
25466
25645
  CaseFileViewFolderDocumentActionsComponent,
25467
25646
  CaseFileViewFolderSelectorComponent,
25647
+ // component for dynamic list
25648
+ WriteDynamicMultiSelectListFieldComponent,
25649
+ WriteDynamicRadioListFieldComponent,
25650
+ WriteDynamicListFieldComponent,
25651
+ ReadDynamicMultiSelectListFieldComponent,
25652
+ ReadDynamicListFieldComponent,
25653
+ ReadDynamicRadioListFieldComponent,
25468
25654
  LinkedCasesToTableComponent,
25469
25655
  LinkedCasesFromTableComponent,
25470
25656
  BeforeYouStartComponent,
@@ -25595,6 +25781,8 @@
25595
25781
  WriteDocumentFieldComponent,
25596
25782
  WriteDynamicListFieldComponent,
25597
25783
  WriteDynamicRadioListFieldComponent,
25784
+ WriteDynamicMultiSelectListFieldComponent,
25785
+ ReadDynamicMultiSelectListFieldComponent,
25598
25786
  WriteTextFieldComponent,
25599
25787
  WriteDateContainerFieldComponent,
25600
25788
  WriteTextAreaFieldComponent,
@@ -25618,12 +25806,18 @@
25618
25806
  WriteCollectionFieldComponent,
25619
25807
  // ComponentLauncher web components
25620
25808
  CaseFileViewFieldComponent,
25621
- CaseFileViewFieldReadComponent,
25622
25809
  CaseFileViewFolderComponent,
25623
25810
  CaseFileViewFolderSortComponent,
25624
25811
  CaseFileViewOverlayMenuComponent,
25625
25812
  CaseFileViewFolderDocumentActionsComponent,
25626
25813
  CaseFileViewFolderSelectorComponent,
25814
+ // component for dynamic list
25815
+ WriteDynamicMultiSelectListFieldComponent,
25816
+ WriteDynamicRadioListFieldComponent,
25817
+ WriteDynamicListFieldComponent,
25818
+ ReadDynamicMultiSelectListFieldComponent,
25819
+ ReadDynamicListFieldComponent,
25820
+ ReadDynamicRadioListFieldComponent,
25627
25821
  LinkedCasesToTableComponent,
25628
25822
  LinkedCasesFromTableComponent,
25629
25823
  BeforeYouStartComponent,
@@ -25713,6 +25907,8 @@
25713
25907
  WriteDocumentFieldComponent,
25714
25908
  WriteDynamicListFieldComponent,
25715
25909
  WriteDynamicRadioListFieldComponent,
25910
+ WriteDynamicMultiSelectListFieldComponent,
25911
+ ReadDynamicMultiSelectListFieldComponent,
25716
25912
  WriteTextFieldComponent,
25717
25913
  WriteDateContainerFieldComponent,
25718
25914
  WriteTextAreaFieldComponent,
@@ -25736,12 +25932,18 @@
25736
25932
  WriteCollectionFieldComponent,
25737
25933
  // ComponentLauncher web components
25738
25934
  CaseFileViewFieldComponent,
25739
- CaseFileViewFieldReadComponent,
25740
25935
  CaseFileViewFolderComponent,
25741
25936
  CaseFileViewFolderSortComponent,
25742
25937
  CaseFileViewOverlayMenuComponent,
25743
25938
  CaseFileViewFolderDocumentActionsComponent,
25744
25939
  CaseFileViewFolderSelectorComponent,
25940
+ // component for dynamic list
25941
+ WriteDynamicMultiSelectListFieldComponent,
25942
+ WriteDynamicRadioListFieldComponent,
25943
+ WriteDynamicListFieldComponent,
25944
+ ReadDynamicMultiSelectListFieldComponent,
25945
+ ReadDynamicListFieldComponent,
25946
+ ReadDynamicRadioListFieldComponent,
25745
25947
  LinkedCasesToTableComponent,
25746
25948
  LinkedCasesFromTableComponent,
25747
25949
  BeforeYouStartComponent,
@@ -25868,7 +26070,6 @@
25868
26070
  i0__namespace.ɵɵsetComponentScope(
25869
26071
  // ComponentLauncher web components
25870
26072
  CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.ɵcs], []);
25871
- i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.ɵcs], []);
25872
26073
  i0__namespace.ɵɵsetComponentScope(LinkedCasesToTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesReasonValuePipe]);
25873
26074
  i0__namespace.ɵɵsetComponentScope(LinkedCasesFromTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesFromReasonValuePipe]);
25874
26075
  i0__namespace.ɵɵsetComponentScope(LinkCasesComponent, [i1__namespace.NgIf, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName, i2__namespace.FormArrayName, i1__namespace.NgForOf, i2__namespace.FormGroupName, i2__namespace.CheckboxControlValueAccessor], [CaseReferencePipe, LinkCasesReasonValuePipe]);
@@ -35618,7 +35819,6 @@
35618
35819
  exports.CaseField = CaseField;
35619
35820
  exports.CaseFieldService = CaseFieldService;
35620
35821
  exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
35621
- exports.CaseFileViewFieldReadComponent = CaseFileViewFieldReadComponent;
35622
35822
  exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
35623
35823
  exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
35624
35824
  exports.CaseFileViewFolderSelectorComponent = CaseFileViewFolderSelectorComponent;
@@ -35808,6 +36008,7 @@
35808
36008
  exports.ReadDateFieldComponent = ReadDateFieldComponent;
35809
36009
  exports.ReadDocumentFieldComponent = ReadDocumentFieldComponent;
35810
36010
  exports.ReadDynamicListFieldComponent = ReadDynamicListFieldComponent;
36011
+ exports.ReadDynamicMultiSelectListFieldComponent = ReadDynamicMultiSelectListFieldComponent;
35811
36012
  exports.ReadDynamicRadioListFieldComponent = ReadDynamicRadioListFieldComponent;
35812
36013
  exports.ReadEmailFieldComponent = ReadEmailFieldComponent;
35813
36014
  exports.ReadFieldsFilterPipe = ReadFieldsFilterPipe;
@@ -35884,6 +36085,7 @@
35884
36085
  exports.WriteDateFieldComponent = WriteDateFieldComponent;
35885
36086
  exports.WriteDocumentFieldComponent = WriteDocumentFieldComponent;
35886
36087
  exports.WriteDynamicListFieldComponent = WriteDynamicListFieldComponent;
36088
+ exports.WriteDynamicMultiSelectListFieldComponent = WriteDynamicMultiSelectListFieldComponent;
35887
36089
  exports.WriteDynamicRadioListFieldComponent = WriteDynamicRadioListFieldComponent;
35888
36090
  exports.WriteEmailFieldComponent = WriteEmailFieldComponent;
35889
36091
  exports.WriteFixedListFieldComponent = WriteFixedListFieldComponent;