@hmcts/ccd-case-ui-toolkit 5.0.49-restricted-case-access → 6.0.2-migration-dynamic-list

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 (45) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +366 -84
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/case-viewer/services/case.resolver.js +6 -11
  6. package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +2 -2
  7. package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -2
  8. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +4 -4
  9. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
  10. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +1 -1
  11. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +13 -2
  12. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
  13. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
  14. package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
  15. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +5 -6
  16. package/esm2015/lib/shared/components/palette/index.js +2 -1
  17. package/esm2015/lib/shared/components/palette/palette.module.js +35 -4
  18. package/esm2015/lib/shared/components/palette/palette.service.js +4 -1
  19. package/esm2015/lib/shared/domain/definition/case-field.model.js +6 -3
  20. package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
  21. package/esm2015/lib/shared/services/form/field-type-sanitiser.js +16 -1
  22. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +329 -86
  23. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  24. package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
  25. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -0
  26. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
  27. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
  28. package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
  29. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
  30. package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
  31. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
  32. package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
  33. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
  34. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
  35. package/lib/shared/components/palette/index.d.ts +1 -0
  36. package/lib/shared/components/palette/index.d.ts.map +1 -1
  37. package/lib/shared/components/palette/palette.module.d.ts +61 -59
  38. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  39. package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
  40. package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
  41. package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
  42. package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
  43. package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
  44. package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
  45. package/package.json +1 -1
@@ -115,13 +115,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
115
115
  i0.ɵɵadvance(3);
116
116
  i0.ɵɵtextInterpolate(ctx_r1.workhours);
117
117
  } }
118
- const _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
118
+ const _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
119
119
  const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
120
120
  class FooterComponent {
121
121
  }
122
122
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
123
123
  FooterComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
124
- i0.ɵɵprojectionDef(_c0$_);
124
+ i0.ɵɵprojectionDef(_c0$$);
125
125
  i0.ɵɵelementStart(0, "footer", 0);
126
126
  i0.ɵɵelementStart(1, "div", 1);
127
127
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
@@ -188,7 +188,7 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
188
188
  i0.ɵɵadvance(3);
189
189
  i0.ɵɵtextInterpolate(ctx_r2.title);
190
190
  } }
191
- const _c0$Z = [[["", "headerNavigation", ""]]];
191
+ const _c0$_ = [[["", "headerNavigation", ""]]];
192
192
  const _c1$q = ["[headerNavigation]"];
193
193
  class HeaderBarComponent {
194
194
  constructor() {
@@ -200,7 +200,7 @@ class HeaderBarComponent {
200
200
  }
201
201
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
202
202
  HeaderBarComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
203
- i0.ɵɵprojectionDef(_c0$Z);
203
+ i0.ɵɵprojectionDef(_c0$_);
204
204
  i0.ɵɵelementStart(0, "header", 0);
205
205
  i0.ɵɵelementStart(1, "div", 1);
206
206
  i0.ɵɵelementStart(2, "div", 2);
@@ -257,13 +257,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
257
257
  type: Output
258
258
  }] }); })();
259
259
 
260
- const _c0$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
260
+ const _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
261
261
  const _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
262
262
  class NavigationComponent {
263
263
  }
264
264
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
265
265
  NavigationComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
266
- i0.ɵɵprojectionDef(_c0$Y);
266
+ i0.ɵɵprojectionDef(_c0$Z);
267
267
  i0.ɵɵelementStart(0, "div");
268
268
  i0.ɵɵelementStart(1, "nav", 0);
269
269
  i0.ɵɵprojection(2);
@@ -380,13 +380,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
380
380
  }]
381
381
  }], null, null); })();
382
382
 
383
- const _c0$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
383
+ const _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
384
384
  const _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
385
385
  class BodyComponent {
386
386
  }
387
387
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
388
388
  BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
389
- i0.ɵɵprojectionDef(_c0$X);
389
+ i0.ɵɵprojectionDef(_c0$Y);
390
390
  i0.ɵɵelementStart(0, "div", 0);
391
391
  i0.ɵɵprojection(1);
392
392
  i0.ɵɵprojection(2, 1);
@@ -403,7 +403,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
403
403
  }]
404
404
  }], null, null); })();
405
405
 
406
- const _c0$W = function (a0) { return { "govuk-input--error": a0 }; };
406
+ const _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
407
407
  function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
408
408
  const _r8 = i0.ɵɵgetCurrentView();
409
409
  i0.ɵɵelementStart(0, "div", 12);
@@ -419,7 +419,7 @@ function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
419
419
  i0.ɵɵadvance(1);
420
420
  i0.ɵɵproperty("for", ctx_r3.hourId());
421
421
  i0.ɵɵadvance(2);
422
- i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$W, ctx_r3.isInvalid));
422
+ i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$X, ctx_r3.isInvalid));
423
423
  } }
424
424
  function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
425
425
  const _r13 = i0.ɵɵgetCurrentView();
@@ -436,7 +436,7 @@ function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
436
436
  i0.ɵɵadvance(1);
437
437
  i0.ɵɵproperty("for", ctx_r4.minuteId());
438
438
  i0.ɵɵadvance(2);
439
- i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$W, ctx_r4.isInvalid));
439
+ i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$X, ctx_r4.isInvalid));
440
440
  } }
441
441
  function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
442
442
  const _r18 = i0.ɵɵgetCurrentView();
@@ -453,7 +453,7 @@ function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
453
453
  i0.ɵɵadvance(1);
454
454
  i0.ɵɵproperty("for", ctx_r5.secondId());
455
455
  i0.ɵɵadvance(2);
456
- i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$W, ctx_r5.isInvalid));
456
+ i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$X, ctx_r5.isInvalid));
457
457
  } }
458
458
  class DateInputComponent {
459
459
  constructor() {
@@ -682,15 +682,15 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
682
682
  i0.ɵɵadvance(2);
683
683
  i0.ɵɵproperty("for", ctx.dayId());
684
684
  i0.ɵɵadvance(2);
685
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$W, ctx.isInvalid));
685
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$X, ctx.isInvalid));
686
686
  i0.ɵɵadvance(3);
687
687
  i0.ɵɵproperty("for", ctx.monthId());
688
688
  i0.ɵɵadvance(2);
689
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$W, ctx.isInvalid));
689
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$X, ctx.isInvalid));
690
690
  i0.ɵɵadvance(3);
691
691
  i0.ɵɵproperty("for", ctx.yearId());
692
692
  i0.ɵɵadvance(2);
693
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$W, ctx.isInvalid));
693
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$X, ctx.isInvalid));
694
694
  i0.ɵɵadvance(2);
695
695
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
696
696
  i0.ɵɵadvance(1);
@@ -760,7 +760,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
760
760
  i0.ɵɵelementEnd();
761
761
  i0.ɵɵelementContainerEnd();
762
762
  } }
763
- const _c0$V = ["*"];
763
+ const _c0$W = ["*"];
764
764
  var AlertMessageType;
765
765
  (function (AlertMessageType) {
766
766
  AlertMessageType["WARNING"] = "warning";
@@ -780,7 +780,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
780
780
  AlertComponent.TYPE_ERROR = 'error';
781
781
  AlertComponent.TYPE_INFORMATION = 'information';
782
782
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
783
- AlertComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
783
+ AlertComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
784
784
  i0.ɵɵprojectionDef();
785
785
  i0.ɵɵelementStart(0, "div", 0);
786
786
  i0.ɵɵelementContainerStart(1, 1);
@@ -1011,7 +1011,7 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
1011
1011
  type: Output
1012
1012
  }] }); })();
1013
1013
 
1014
- const _c0$U = function (a0) { return { "js-hidden": a0 }; };
1014
+ const _c0$V = function (a0) { return { "js-hidden": a0 }; };
1015
1015
  const _c1$n = ["*"];
1016
1016
  class TabComponent {
1017
1017
  }
@@ -1022,7 +1022,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
1022
1022
  i0.ɵɵprojection(1);
1023
1023
  i0.ɵɵelementEnd();
1024
1024
  } if (rf & 2) {
1025
- i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$U, !ctx.selected));
1025
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
1026
1026
  i0.ɵɵattribute("aria-hidden", !ctx.selected);
1027
1027
  } }, directives: [i1.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}}"] });
1028
1028
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
@@ -1042,7 +1042,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
1042
1042
  type: Input
1043
1043
  }] }); })();
1044
1044
 
1045
- const _c0$T = ["tab"];
1045
+ const _c0$U = ["tab"];
1046
1046
  const _c1$m = function () { return ["."]; };
1047
1047
  const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1048
1048
  function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
@@ -1087,7 +1087,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
1087
1087
  let _t;
1088
1088
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1089
1089
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1090
- i0.ɵɵviewQuery(_c0$T, 1);
1090
+ i0.ɵɵviewQuery(_c0$U, 1);
1091
1091
  } if (rf & 2) {
1092
1092
  let _t;
1093
1093
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1152,7 +1152,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
1152
1152
  }]
1153
1153
  }], null, null); })();
1154
1154
 
1155
- const _c0$S = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1155
+ const _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1156
1156
  class ActivityBannerComponent {
1157
1157
  constructor() { }
1158
1158
  ngOnInit() {
@@ -1169,7 +1169,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
1169
1169
  i0.ɵɵelementEnd();
1170
1170
  i0.ɵɵelementEnd();
1171
1171
  } if (rf & 2) {
1172
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$S, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1172
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1173
1173
  i0.ɵɵadvance(2);
1174
1174
  i0.ɵɵpropertyInterpolate("alt", ctx.description);
1175
1175
  i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
@@ -2829,9 +2829,12 @@ class CaseField {
2829
2829
  this._list_items = [];
2830
2830
  }
2831
2831
  get value() {
2832
- if (this.isDynamic()) {
2832
+ if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
2833
2833
  return this._value && this._value.value ? this._value.value.code : this._value;
2834
2834
  }
2835
+ else if (this.field_type && this.field_type.type === 'DynamicMultiSelectList') {
2836
+ return this._value && this._value.value ? this._value.value : this._value;
2837
+ }
2835
2838
  else {
2836
2839
  return this._value;
2837
2840
  }
@@ -2905,7 +2908,7 @@ class CaseField {
2905
2908
  return this.field_type && this.field_type.type === 'Complex';
2906
2909
  }
2907
2910
  isDynamic() {
2908
- const dynamicFieldTypes = ['DynamicList', 'DynamicRadioList'];
2911
+ const dynamicFieldTypes = ['DynamicList', 'DynamicRadioList', 'DynamicMultiSelectList'];
2909
2912
  if (!this.field_type) {
2910
2913
  return false;
2911
2914
  }
@@ -4776,6 +4779,9 @@ class FieldTypeSanitiser {
4776
4779
  }
4777
4780
  caseFields.forEach(caseField => {
4778
4781
  switch (caseField.field_type.type) {
4782
+ case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST:
4783
+ this.convertArrayToDynamicListOutput(caseField, data);
4784
+ break;
4779
4785
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST:
4780
4786
  case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST:
4781
4787
  this.convertStringToDynamicListOutput(caseField, data);
@@ -4793,6 +4799,17 @@ class FieldTypeSanitiser {
4793
4799
  }
4794
4800
  });
4795
4801
  }
4802
+ convertArrayToDynamicListOutput(field, data) {
4803
+ const values = data[field.id];
4804
+ if (Array.isArray(values)) {
4805
+ const listItems = this.getListItems(field);
4806
+ const matches = listItems.filter(item => values.map(v => v.code).indexOf(item.code) !== -1);
4807
+ data[field.id] = {
4808
+ value: matches,
4809
+ list_items: listItems
4810
+ };
4811
+ }
4812
+ }
4796
4813
  convertStringToDynamicListOutput(field, data) {
4797
4814
  const stringValue = data[field.id];
4798
4815
  if (typeof stringValue === 'string') {
@@ -4822,6 +4839,7 @@ FieldTypeSanitiser.FIELD_TYPE_COMPLEX = 'Complex';
4822
4839
  FieldTypeSanitiser.FIELD_TYPE_COLLECTION = 'Collection';
4823
4840
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST = 'DynamicList';
4824
4841
  FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST = 'DynamicRadioList';
4842
+ FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST = 'DynamicMultiSelectList';
4825
4843
  FieldTypeSanitiser.ɵfac = function FieldTypeSanitiser_Factory(t) { return new (t || FieldTypeSanitiser)(); };
4826
4844
  FieldTypeSanitiser.ɵprov = i0.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
4827
4845
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldTypeSanitiser, [{
@@ -10278,7 +10296,7 @@ class AddressOption {
10278
10296
  }
10279
10297
  }
10280
10298
 
10281
- const _c0$R = ["writeComplexFieldComponent"];
10299
+ const _c0$S = ["writeComplexFieldComponent"];
10282
10300
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (rf & 1) {
10283
10301
  i0.ɵɵelementStart(0, "span", 14);
10284
10302
  i0.ɵɵtext(1, "Enter the Postcode");
@@ -10471,7 +10489,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
10471
10489
  }
10472
10490
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
10473
10491
  WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
10474
- i0.ɵɵviewQuery(_c0$R, 1);
10492
+ i0.ɵɵviewQuery(_c0$S, 1);
10475
10493
  i0.ɵɵviewQuery(FocusElementDirective, 1);
10476
10494
  } if (rf & 2) {
10477
10495
  let _t;
@@ -10557,7 +10575,7 @@ function CaseFileViewFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
10557
10575
  } if (rf & 2) {
10558
10576
  const ctx_r2 = i0.ɵɵnextContext(2);
10559
10577
  i0.ɵɵadvance(1);
10560
- i0.ɵɵ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);
10578
+ i0.ɵɵ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");
10561
10579
  } }
10562
10580
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10563
10581
  const _r4 = i0.ɵɵgetCurrentView();
@@ -10573,7 +10591,7 @@ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10573
10591
  i0.ɵɵelementEnd();
10574
10592
  i0.ɵɵelement(6, "div", 9);
10575
10593
  i0.ɵɵelementStart(7, "div", 10);
10576
- i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
10594
+ i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
10577
10595
  i0.ɵɵelementEnd();
10578
10596
  i0.ɵɵelementEnd();
10579
10597
  i0.ɵɵelementEnd();
@@ -10649,7 +10667,7 @@ class CaseFileViewFieldComponent {
10649
10667
  }
10650
10668
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
10651
10669
  CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService)); };
10652
- CaseFileViewFieldComponent.ɵcmp = i0.ɵɵ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"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
10670
+ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
10653
10671
  i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
10654
10672
  i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
10655
10673
  } if (rf & 2) {
@@ -10683,7 +10701,7 @@ function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
10683
10701
  } if (rf & 2) {
10684
10702
  const ctx_r2 = i0.ɵɵnextContext(2);
10685
10703
  i0.ɵɵadvance(1);
10686
- i0.ɵɵ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);
10704
+ i0.ɵɵ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");
10687
10705
  } }
10688
10706
  function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10689
10707
  const _r4 = i0.ɵɵgetCurrentView();
@@ -10699,7 +10717,7 @@ function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10699
10717
  i0.ɵɵelementEnd();
10700
10718
  i0.ɵɵelement(6, "div", 9);
10701
10719
  i0.ɵɵelementStart(7, "div", 10);
10702
- i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
10720
+ i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
10703
10721
  i0.ɵɵelementEnd();
10704
10722
  i0.ɵɵelementEnd();
10705
10723
  i0.ɵɵelementEnd();
@@ -10717,7 +10735,7 @@ class CaseFileViewFieldReadComponent extends CaseFileViewFieldComponent {
10717
10735
  }
10718
10736
  }
10719
10737
  CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
10720
- CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵ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"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
10738
+ CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵ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) { if (rf & 1) {
10721
10739
  i0.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
10722
10740
  i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
10723
10741
  } if (rf & 2) {
@@ -11045,7 +11063,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_7_Template(rf, ctx) { if
11045
11063
  i0.ɵɵadvance(1);
11046
11064
  i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
11047
11065
  } }
11048
- const _c0$Q = function (a0) { return { "form-group-error": a0 }; };
11066
+ const _c0$R = function (a0) { return { "form-group-error": a0 }; };
11049
11067
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11050
11068
  i0.ɵɵelementStart(0, "div", 8);
11051
11069
  i0.ɵɵelementStart(1, "div", 9);
@@ -11064,7 +11082,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11064
11082
  i0.ɵɵadvance(1);
11065
11083
  i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
11066
11084
  i0.ɵɵadvance(1);
11067
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$Q, ctx_r1.errorMessages.length > 0));
11085
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$R, ctx_r1.errorMessages.length > 0));
11068
11086
  i0.ɵɵadvance(1);
11069
11087
  i0.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
11070
11088
  i0.ɵɵadvance(1);
@@ -11481,7 +11499,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
11481
11499
  }]
11482
11500
  }], null, null); })();
11483
11501
 
11484
- const _c0$P = ["writeComplexFieldComponent"];
11502
+ const _c0$Q = ["writeComplexFieldComponent"];
11485
11503
  function WriteCaseLinkFieldComponent_div_1_span_2_Template(rf, ctx) { if (rf & 1) {
11486
11504
  i0.ɵɵelementStart(0, "span", 6);
11487
11505
  i0.ɵɵtext(1);
@@ -11580,7 +11598,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11580
11598
  }
11581
11599
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return new (t || WriteCaseLinkFieldComponent)(i0.ɵɵdirectiveInject(LinkedCasesService)); };
11582
11600
  WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
11583
- i0.ɵɵviewQuery(_c0$P, 1);
11601
+ i0.ɵɵviewQuery(_c0$Q, 1);
11584
11602
  } if (rf & 2) {
11585
11603
  let _t;
11586
11604
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -11610,7 +11628,7 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
11610
11628
  args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
11611
11629
  }] }); })();
11612
11630
 
11613
- const _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 }; };
11631
+ const _c0$P = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11614
11632
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
11615
11633
  i0.ɵɵelementStart(0, "tbody");
11616
11634
  i0.ɵɵelementStart(1, "tr");
@@ -11623,7 +11641,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
11623
11641
  } if (rf & 2) {
11624
11642
  const ctx_r1 = i0.ɵɵnextContext(2);
11625
11643
  i0.ɵɵadvance(4);
11626
- i0.ɵɵproperty("caseField", i0.ɵɵ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);
11644
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$P, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
11627
11645
  } }
11628
11646
  const _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
11629
11647
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
@@ -11751,7 +11769,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
11751
11769
  }]
11752
11770
  }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
11753
11771
 
11754
- const _c0$N = ["collectionItem"];
11772
+ const _c0$O = ["collectionItem"];
11755
11773
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
11756
11774
  i0.ɵɵelementStart(0, "span", 9);
11757
11775
  i0.ɵɵtext(1);
@@ -11958,7 +11976,12 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
11958
11976
  addItem(doScroll) {
11959
11977
  // Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
11960
11978
  this.formArray.setErrors(null);
11961
- const item = { value: null };
11979
+ let item = { value: null };
11980
+ if (this.isCollectionDynamic()) {
11981
+ item = Object.assign({}, this.caseField.value[this.caseField.value.length - 1]);
11982
+ const key = Number(item['id'][item['id'].length - 1]) + 1;
11983
+ item.id = item['id'].replace(/.$/, key.toString());
11984
+ }
11962
11985
  this.caseField.value.push(item);
11963
11986
  const index = this.caseField.value.length - 1;
11964
11987
  const caseField = this.buildCaseField(item, index, true);
@@ -11981,6 +12004,12 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
11981
12004
  setTimeout(() => this.focusLastItem());
11982
12005
  }
11983
12006
  }
12007
+ isCollectionDynamic() {
12008
+ if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
12009
+ return false;
12010
+ }
12011
+ return this.caseField.field_type.collection_field_type.id === 'DynamicRadioList';
12012
+ }
11984
12013
  newCaseField(id, item, index, isNew = false) {
11985
12014
  const isNotAuthorisedToUpdate = !isNew && this.isNotAuthorisedToUpdate(index);
11986
12015
  const fieldType = plainToClassFromExist(new FieldType(), this.caseField.field_type.collection_field_type);
@@ -12125,7 +12154,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
12125
12154
  }
12126
12155
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
12127
12156
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
12128
- i0.ɵɵviewQuery(_c0$N, 1);
12157
+ i0.ɵɵviewQuery(_c0$O, 1);
12129
12158
  } if (rf & 2) {
12130
12159
  let _t;
12131
12160
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -12445,7 +12474,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
12445
12474
  type: Injectable
12446
12475
  }], null, null); })();
12447
12476
 
12448
- const _c0$M = ["fileInput"];
12477
+ const _c0$N = ["fileInput"];
12449
12478
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
12450
12479
  i0.ɵɵelementStart(0, "span", 12);
12451
12480
  i0.ɵɵtext(1);
@@ -12723,7 +12752,7 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
12723
12752
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
12724
12753
  WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
12725
12754
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
12726
- i0.ɵɵviewQuery(_c0$M, 1);
12755
+ i0.ɵɵviewQuery(_c0$N, 1);
12727
12756
  } if (rf & 2) {
12728
12757
  let _t;
12729
12758
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -12885,7 +12914,7 @@ function WriteDynamicListFieldComponent_option_9_Template(rf, ctx) { if (rf & 1)
12885
12914
  i0.ɵɵadvance(1);
12886
12915
  i0.ɵɵtextInterpolate(type_r5.label);
12887
12916
  } }
12888
- const _c0$L = function (a0) { return { "form-group-error": a0 }; };
12917
+ const _c0$M = function (a0) { return { "form-group-error": a0 }; };
12889
12918
  class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
12890
12919
  ngOnInit() {
12891
12920
  /**
@@ -12927,7 +12956,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
12927
12956
  i0.ɵɵelementEnd();
12928
12957
  i0.ɵɵelementEnd();
12929
12958
  } if (rf & 2) {
12930
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$L, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
12959
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
12931
12960
  i0.ɵɵadvance(1);
12932
12961
  i0.ɵɵproperty("for", ctx.id());
12933
12962
  i0.ɵɵadvance(1);
@@ -13048,7 +13077,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
13048
13077
  i0.ɵɵadvance(1);
13049
13078
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
13050
13079
  } }
13051
- const _c0$K = function (a0) { return { selected: a0 }; };
13080
+ const _c0$L = function (a0) { return { selected: a0 }; };
13052
13081
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
13053
13082
  i0.ɵɵelementStart(0, "div", 10);
13054
13083
  i0.ɵɵelement(1, "input", 11);
@@ -13059,12 +13088,11 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
13059
13088
  } if (rf & 2) {
13060
13089
  const radioButton_r5 = ctx.$implicit;
13061
13090
  const ctx_r4 = i0.ɵɵnextContext();
13062
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13091
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13063
13092
  i0.ɵɵadvance(1);
13064
- i0.ɵɵpropertyInterpolate("name", ctx_r4.id());
13065
- i0.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
13093
+ i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
13066
13094
  i0.ɵɵadvance(1);
13067
- i0.ɵɵproperty("for", ctx_r4.buildElementId(radioButton_r5.code));
13095
+ i0.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
13068
13096
  i0.ɵɵadvance(1);
13069
13097
  i0.ɵɵtextInterpolate(radioButton_r5.label);
13070
13098
  } }
@@ -13088,8 +13116,8 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
13088
13116
  this.dynamicRadioListControl = this.registerControl(new FormControl(this.caseField.value));
13089
13117
  this.dynamicRadioListControl.setValue(this.caseField.value);
13090
13118
  }
13091
- buildElementId(name) {
13092
- return `${this.id()}-${name}`;
13119
+ createElementId(name) {
13120
+ return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : super.createElementId(name);
13093
13121
  }
13094
13122
  }
13095
13123
  WriteDynamicRadioListFieldComponent.ɵfac = function WriteDynamicRadioListFieldComponent_Factory(t) { return ɵWriteDynamicRadioListFieldComponent_BaseFactory(t || WriteDynamicRadioListFieldComponent); };
@@ -13193,7 +13221,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13193
13221
  i0.ɵɵadvance(1);
13194
13222
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
13195
13223
  } }
13196
- const _c0$J = function (a0) { return { "form-group-error": a0 }; };
13224
+ const _c0$K = function (a0) { return { "form-group-error": a0 }; };
13197
13225
  const _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
13198
13226
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
13199
13227
  ngOnInit() {
@@ -13211,7 +13239,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
13211
13239
  i0.ɵɵelement(5, "input", 5);
13212
13240
  i0.ɵɵelementEnd();
13213
13241
  } if (rf & 2) {
13214
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13242
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13215
13243
  i0.ɵɵadvance(1);
13216
13244
  i0.ɵɵproperty("for", ctx.id());
13217
13245
  i0.ɵɵadvance(1);
@@ -13313,7 +13341,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
13313
13341
  i0.ɵɵadvance(1);
13314
13342
  i0.ɵɵtextInterpolate(type_r4.label);
13315
13343
  } }
13316
- const _c0$I = function (a0) { return { "form-group-error": a0 }; };
13344
+ const _c0$J = function (a0) { return { "form-group-error": a0 }; };
13317
13345
  class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
13318
13346
  get listItems() {
13319
13347
  if (this.caseField) {
@@ -13351,7 +13379,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
13351
13379
  i0.ɵɵelementEnd();
13352
13380
  i0.ɵɵelementEnd();
13353
13381
  } if (rf & 2) {
13354
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13382
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13355
13383
  i0.ɵɵadvance(1);
13356
13384
  i0.ɵɵproperty("for", ctx.id());
13357
13385
  i0.ɵɵadvance(1);
@@ -13442,7 +13470,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
13442
13470
  i0.ɵɵadvance(1);
13443
13471
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
13444
13472
  } }
13445
- const _c0$H = function (a0) { return { selected: a0 }; };
13473
+ const _c0$I = function (a0) { return { selected: a0 }; };
13446
13474
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
13447
13475
  i0.ɵɵelementStart(0, "div", 9);
13448
13476
  i0.ɵɵelement(1, "input", 10);
@@ -13453,7 +13481,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
13453
13481
  } if (rf & 2) {
13454
13482
  const radioButton_r4 = ctx.$implicit;
13455
13483
  const ctx_r3 = i0.ɵɵnextContext();
13456
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
13484
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
13457
13485
  i0.ɵɵadvance(1);
13458
13486
  i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
13459
13487
  i0.ɵɵadvance(1);
@@ -13584,7 +13612,7 @@ function WriteJudicialUserFieldComponent_span_3_Template(rf, ctx) { if (rf & 1)
13584
13612
  i0.ɵɵadvance(1);
13585
13613
  i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
13586
13614
  } }
13587
- const _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
13615
+ const _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
13588
13616
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf & 1) {
13589
13617
  const _r7 = i0.ɵɵgetCurrentView();
13590
13618
  i0.ɵɵelementStart(0, "mat-option", 11);
@@ -13594,7 +13622,7 @@ function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf
13594
13622
  } if (rf & 2) {
13595
13623
  const judicialUser_r5 = ctx.$implicit;
13596
13624
  const ctx_r3 = i0.ɵɵnextContext();
13597
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$G, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
13625
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$H, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
13598
13626
  i0.ɵɵadvance(1);
13599
13627
  i0.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
13600
13628
  } }
@@ -13902,7 +13930,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13902
13930
  i0.ɵɵadvance(1);
13903
13931
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
13904
13932
  } }
13905
- const _c0$F = function (a0) { return { "form-group-error": a0 }; };
13933
+ const _c0$G = function (a0) { return { "form-group-error": a0 }; };
13906
13934
  class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
13907
13935
  ngOnInit() {
13908
13936
  this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
@@ -13925,7 +13953,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
13925
13953
  i0.ɵɵelementEnd();
13926
13954
  i0.ɵɵelementEnd();
13927
13955
  } if (rf & 2) {
13928
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
13956
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
13929
13957
  i0.ɵɵadvance(1);
13930
13958
  i0.ɵɵproperty("for", ctx.id());
13931
13959
  i0.ɵɵadvance(1);
@@ -14042,7 +14070,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
14042
14070
  i0.ɵɵadvance(1);
14043
14071
  i0.ɵɵtextInterpolate(checkbox_r4.label);
14044
14072
  } }
14045
- const _c0$E = function (a0) { return { "error": a0 }; };
14073
+ const _c0$F = function (a0) { return { "error": a0 }; };
14046
14074
  class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
14047
14075
  ngOnInit() {
14048
14076
  this.checkboxes = new FormArray([]);
@@ -14097,7 +14125,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
14097
14125
  i0.ɵɵelementEnd();
14098
14126
  i0.ɵɵelementEnd();
14099
14127
  } if (rf & 2) {
14100
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$E, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
14128
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
14101
14129
  i0.ɵɵadvance(3);
14102
14130
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
14103
14131
  i0.ɵɵadvance(1);
@@ -14166,7 +14194,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14166
14194
  i0.ɵɵadvance(1);
14167
14195
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
14168
14196
  } }
14169
- const _c0$D = function (a0) { return { "form-group-error": a0 }; };
14197
+ const _c0$E = function (a0) { return { "form-group-error": a0 }; };
14170
14198
  const _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
14171
14199
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
14172
14200
  ngOnInit() {
@@ -14184,7 +14212,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
14184
14212
  i0.ɵɵelement(5, "input", 5);
14185
14213
  i0.ɵɵelementEnd();
14186
14214
  } if (rf & 2) {
14187
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.numberControl.valid && ctx.numberControl.dirty));
14215
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
14188
14216
  i0.ɵɵadvance(1);
14189
14217
  i0.ɵɵproperty("for", ctx.id());
14190
14218
  i0.ɵɵadvance(1);
@@ -14434,7 +14462,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_div_4_Template(rf, ct
14434
14462
  i0.ɵɵelementEnd();
14435
14463
  i0.ɵɵelementEnd();
14436
14464
  } }
14437
- const _c0$C = function (a0) { return { "scroll-container ": a0 }; };
14465
+ const _c0$D = function (a0) { return { "scroll-container ": a0 }; };
14438
14466
  function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { if (rf & 1) {
14439
14467
  i0.ɵɵelementStart(0, "div", 26);
14440
14468
  i0.ɵɵpipe(1, "async");
@@ -14448,7 +14476,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { i
14448
14476
  const ctx_r2 = i0.ɵɵnextContext(2);
14449
14477
  let tmp_0_0 = null;
14450
14478
  let tmp_2_0 = null;
14451
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$C, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
14479
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
14452
14480
  i0.ɵɵadvance(2);
14453
14481
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
14454
14482
  i0.ɵɵadvance(2);
@@ -14798,6 +14826,194 @@ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Ca
14798
14826
  }]
14799
14827
  }], function () { return [{ type: AbstractAppConfig }, { type: SessionStorageService }]; }, null); })();
14800
14828
 
14829
+ function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) { if (rf & 1) {
14830
+ i0.ɵɵelementStart(0, "div");
14831
+ i0.ɵɵtext(1);
14832
+ i0.ɵɵpipe(2, "ccdFixedList");
14833
+ i0.ɵɵelementEnd();
14834
+ } if (rf & 2) {
14835
+ const value_r1 = ctx.$implicit;
14836
+ const ctx_r0 = i0.ɵɵnextContext();
14837
+ i0.ɵɵadvance(1);
14838
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items), "\n");
14839
+ } }
14840
+ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponent {
14841
+ ngOnInit() {
14842
+ /**
14843
+ *
14844
+ * Reassigning list_items from formatted_list when list_items is empty
14845
+ */
14846
+ if (!this.caseField.list_items && this.caseField.formatted_value && this.caseField.formatted_value.list_items) {
14847
+ this.caseField.list_items = this.caseField.formatted_value.list_items;
14848
+ }
14849
+ if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
14850
+ this.caseField.value = this.caseField.formatted_value.value;
14851
+ }
14852
+ super.ngOnInit();
14853
+ }
14854
+ }
14855
+ ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
14856
+ ReadDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicMultiSelectListFieldComponent, selectors: [["ccd-read-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
14857
+ i0.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
14858
+ } if (rf & 2) {
14859
+ i0.ɵɵproperty("ngForOf", ctx.caseField.value);
14860
+ } }, directives: [i1.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}"] });
14861
+ const ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
14862
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
14863
+ type: Component,
14864
+ args: [{
14865
+ selector: 'ccd-read-dynamic-multi-select-list-field',
14866
+ templateUrl: './read-dynamic-multi-select-list-field.html',
14867
+ styleUrls: ['./read-dynamic-multi-select-list-field.component.scss']
14868
+ }]
14869
+ }], null, null); })();
14870
+
14871
+ function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
14872
+ i0.ɵɵelementStart(0, "span", 5);
14873
+ i0.ɵɵtext(1);
14874
+ i0.ɵɵpipe(2, "ccdFieldLabel");
14875
+ i0.ɵɵelementEnd();
14876
+ } if (rf & 2) {
14877
+ const ctx_r0 = i0.ɵɵnextContext();
14878
+ i0.ɵɵadvance(1);
14879
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
14880
+ } }
14881
+ function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14882
+ i0.ɵɵelementStart(0, "span", 6);
14883
+ i0.ɵɵtext(1);
14884
+ i0.ɵɵelementEnd();
14885
+ } if (rf & 2) {
14886
+ const ctx_r1 = i0.ɵɵnextContext();
14887
+ i0.ɵɵadvance(1);
14888
+ i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
14889
+ } }
14890
+ function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
14891
+ i0.ɵɵelementStart(0, "span", 7);
14892
+ i0.ɵɵtext(1);
14893
+ i0.ɵɵpipe(2, "ccdFirstError");
14894
+ i0.ɵɵelementEnd();
14895
+ } if (rf & 2) {
14896
+ const ctx_r2 = i0.ɵɵnextContext();
14897
+ i0.ɵɵadvance(1);
14898
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
14899
+ } }
14900
+ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
14901
+ const _r6 = i0.ɵɵgetCurrentView();
14902
+ i0.ɵɵelementContainerStart(0);
14903
+ i0.ɵɵelementStart(1, "div", 8);
14904
+ i0.ɵɵelementStart(2, "input", 9);
14905
+ i0.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onCheckChange($event); });
14906
+ i0.ɵɵelementEnd();
14907
+ i0.ɵɵelementStart(3, "label", 10);
14908
+ i0.ɵɵtext(4);
14909
+ i0.ɵɵelementEnd();
14910
+ i0.ɵɵelementEnd();
14911
+ i0.ɵɵelementContainerEnd();
14912
+ } if (rf & 2) {
14913
+ const checkbox_r4 = ctx.$implicit;
14914
+ const ctx_r3 = i0.ɵɵnextContext();
14915
+ i0.ɵɵadvance(2);
14916
+ i0.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
14917
+ i0.ɵɵpropertyInterpolate("name", ctx_r3.id());
14918
+ i0.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
14919
+ i0.ɵɵadvance(1);
14920
+ i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
14921
+ i0.ɵɵadvance(1);
14922
+ i0.ɵɵtextInterpolate(checkbox_r4.label);
14923
+ } }
14924
+ const _c0$C = function (a0) { return { "error": a0 }; };
14925
+ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
14926
+ ngOnInit() {
14927
+ this.checkboxes = new FormArray([]);
14928
+ this.setInitialCaseList();
14929
+ this.setInitialCaseFieldValue();
14930
+ // Initialise array with existing values
14931
+ if (this.caseField.value && Array.isArray(this.caseField.value)) {
14932
+ const values = this.caseField.value;
14933
+ values.forEach(value => {
14934
+ this.checkboxes.push(new FormControl(value));
14935
+ });
14936
+ }
14937
+ this.dynamicListFormControl = this.registerControl(new FormControl(this.checkboxes.value));
14938
+ this.dynamicListFormControl.setValue(this.checkboxes.value);
14939
+ }
14940
+ onCheckChange(event) {
14941
+ const target = event.target;
14942
+ if (!target || !target.value) {
14943
+ return;
14944
+ }
14945
+ const selectedListItem = this.getValueListItem(target.value);
14946
+ if (!this.isSelected(target.value)) {
14947
+ // Add a new control in the FormArray
14948
+ this.checkboxes.push(new FormControl(selectedListItem));
14949
+ }
14950
+ else {
14951
+ // Remove the control from the FormArray
14952
+ this.checkboxes.controls.forEach((ctrl, i) => {
14953
+ if (ctrl.value.code === target.value) {
14954
+ this.checkboxes.removeAt(i);
14955
+ }
14956
+ });
14957
+ }
14958
+ this.dynamicListFormControl.setValue(this.checkboxes.value);
14959
+ }
14960
+ isSelected(code) {
14961
+ if (this.checkboxes && this.checkboxes.controls) {
14962
+ return this.checkboxes.controls.find(control => control.value.code === code);
14963
+ }
14964
+ }
14965
+ getValueListItem(value) {
14966
+ return this.caseField.list_items.find(i => i.code === value);
14967
+ }
14968
+ setInitialCaseList() {
14969
+ const hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
14970
+ const hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
14971
+ if (!hasListItems && hasFormattedListItems) {
14972
+ this.caseField.list_items = this.caseField.formatted_value.list_items;
14973
+ }
14974
+ }
14975
+ setInitialCaseFieldValue() {
14976
+ if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
14977
+ this.caseField.value = this.caseField.formatted_value.value;
14978
+ }
14979
+ const isNull = this.caseField.value === undefined || this.caseField.value === '';
14980
+ if (isNull || !Array.isArray(this.caseField.value)) {
14981
+ this.caseField.value = [];
14982
+ }
14983
+ }
14984
+ }
14985
+ WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
14986
+ WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵ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) { if (rf & 1) {
14987
+ i0.ɵɵelementStart(0, "div", 0);
14988
+ i0.ɵɵelementStart(1, "fieldset");
14989
+ i0.ɵɵelementStart(2, "legend");
14990
+ i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
14991
+ i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
14992
+ i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
14993
+ i0.ɵɵelementEnd();
14994
+ i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
14995
+ i0.ɵɵelementEnd();
14996
+ i0.ɵɵelementEnd();
14997
+ } if (rf & 2) {
14998
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
14999
+ i0.ɵɵadvance(3);
15000
+ i0.ɵɵproperty("ngIf", ctx.caseField.label);
15001
+ i0.ɵɵadvance(1);
15002
+ i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
15003
+ i0.ɵɵadvance(1);
15004
+ i0.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
15005
+ i0.ɵɵadvance(1);
15006
+ i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
15007
+ } }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
15008
+ const ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
15009
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
15010
+ type: Component,
15011
+ args: [{
15012
+ selector: 'ccd-write-dynamic-multi-select-list-field',
15013
+ templateUrl: './write-dynamic-multi-select-list-field.html'
15014
+ }]
15015
+ }], null, null); })();
15016
+
14801
15017
  class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
14802
15018
  }
14803
15019
  ReadPhoneUKFieldComponent.ɵfac = function ReadPhoneUKFieldComponent_Factory(t) { return ɵReadPhoneUKFieldComponent_BaseFactory(t || ReadPhoneUKFieldComponent); };
@@ -15323,6 +15539,8 @@ class PaletteService {
15323
15539
  return write ? WriteFixedListFieldComponent : ReadFixedListFieldComponent;
15324
15540
  case 'DynamicRadioList':
15325
15541
  return write ? WriteDynamicRadioListFieldComponent : ReadDynamicRadioListFieldComponent;
15542
+ case 'DynamicMultiSelectList':
15543
+ return write ? WriteDynamicMultiSelectListFieldComponent : ReadDynamicMultiSelectListFieldComponent;
15326
15544
  case 'FixedRadioList':
15327
15545
  return write ? WriteFixedRadioListFieldComponent : ReadFixedRadioListFieldComponent;
15328
15546
  case 'Complex':
@@ -15388,7 +15606,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
15388
15606
  }], null, null); })();
15389
15607
 
15390
15608
  const _c0$x = ["fieldContainer"];
15391
- const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
15609
+ const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
15392
15610
  class FieldReadComponent extends AbstractFieldReadComponent {
15393
15611
  constructor(resolver, paletteService) {
15394
15612
  super();
@@ -15466,7 +15684,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
15466
15684
  }] }); })();
15467
15685
 
15468
15686
  const _c0$w = ["fieldContainer"];
15469
- const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
15687
+ const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
15470
15688
  class FieldWriteComponent extends AbstractFieldWriteComponent {
15471
15689
  constructor(resolver, paletteService) {
15472
15690
  super();
@@ -15763,7 +15981,7 @@ CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseF
15763
15981
  i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
15764
15982
  i0.ɵɵadvance(2);
15765
15983
  i0.ɵɵproperty("ngForOf", ctx.currentCategories);
15766
- } }, directives: [i1.NgForOf, i1.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 });
15984
+ } }, directives: [i1.NgForOf, i1.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 });
15767
15985
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
15768
15986
  type: Component,
15769
15987
  args: [{
@@ -21714,6 +21932,9 @@ const PALETTE_COMPONENTS = [
21714
21932
  WriteDocumentFieldComponent,
21715
21933
  WriteDynamicListFieldComponent,
21716
21934
  WriteDynamicRadioListFieldComponent,
21935
+ WriteDynamicMultiSelectListFieldComponent,
21936
+ ReadDynamicMultiSelectListFieldComponent,
21937
+ WriteDynamicMultiSelectListFieldComponent,
21717
21938
  WriteTextFieldComponent,
21718
21939
  WriteDateContainerFieldComponent,
21719
21940
  WriteTextAreaFieldComponent,
@@ -21749,7 +21970,14 @@ const PALETTE_COMPONENTS = [
21749
21970
  CheckYourAnswersComponent,
21750
21971
  WriteLinkedCasesComponent,
21751
21972
  UnLinkCasesComponent,
21752
- NoLinkedCasesComponent
21973
+ NoLinkedCasesComponent,
21974
+ // component for dynamic list
21975
+ WriteDynamicMultiSelectListFieldComponent,
21976
+ WriteDynamicRadioListFieldComponent,
21977
+ WriteDynamicListFieldComponent,
21978
+ ReadDynamicMultiSelectListFieldComponent,
21979
+ ReadDynamicListFieldComponent,
21980
+ ReadDynamicRadioListFieldComponent
21753
21981
  ];
21754
21982
  class PaletteModule {
21755
21983
  }
@@ -21869,6 +22097,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21869
22097
  WriteDocumentFieldComponent,
21870
22098
  WriteDynamicListFieldComponent,
21871
22099
  WriteDynamicRadioListFieldComponent,
22100
+ WriteDynamicMultiSelectListFieldComponent,
22101
+ ReadDynamicMultiSelectListFieldComponent,
22102
+ WriteDynamicMultiSelectListFieldComponent,
21872
22103
  WriteTextFieldComponent,
21873
22104
  WriteDateContainerFieldComponent,
21874
22105
  WriteTextAreaFieldComponent,
@@ -21904,7 +22135,14 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21904
22135
  CheckYourAnswersComponent,
21905
22136
  WriteLinkedCasesComponent,
21906
22137
  UnLinkCasesComponent,
21907
- NoLinkedCasesComponent], imports: [CommonModule,
22138
+ NoLinkedCasesComponent,
22139
+ // component for dynamic list
22140
+ WriteDynamicMultiSelectListFieldComponent,
22141
+ WriteDynamicRadioListFieldComponent,
22142
+ WriteDynamicListFieldComponent,
22143
+ ReadDynamicMultiSelectListFieldComponent,
22144
+ ReadDynamicListFieldComponent,
22145
+ ReadDynamicRadioListFieldComponent], imports: [CommonModule,
21908
22146
  RouterModule,
21909
22147
  FormsModule,
21910
22148
  ReactiveFormsModule,
@@ -21987,6 +22225,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21987
22225
  WriteDocumentFieldComponent,
21988
22226
  WriteDynamicListFieldComponent,
21989
22227
  WriteDynamicRadioListFieldComponent,
22228
+ WriteDynamicMultiSelectListFieldComponent,
22229
+ ReadDynamicMultiSelectListFieldComponent,
22230
+ WriteDynamicMultiSelectListFieldComponent,
21990
22231
  WriteTextFieldComponent,
21991
22232
  WriteDateContainerFieldComponent,
21992
22233
  WriteTextAreaFieldComponent,
@@ -22022,7 +22263,14 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
22022
22263
  CheckYourAnswersComponent,
22023
22264
  WriteLinkedCasesComponent,
22024
22265
  UnLinkCasesComponent,
22025
- NoLinkedCasesComponent] }); })();
22266
+ NoLinkedCasesComponent,
22267
+ // component for dynamic list
22268
+ WriteDynamicMultiSelectListFieldComponent,
22269
+ WriteDynamicRadioListFieldComponent,
22270
+ WriteDynamicListFieldComponent,
22271
+ ReadDynamicMultiSelectListFieldComponent,
22272
+ ReadDynamicListFieldComponent,
22273
+ ReadDynamicRadioListFieldComponent] }); })();
22026
22274
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
22027
22275
  type: NgModule,
22028
22276
  args: [{
@@ -25404,7 +25652,7 @@ class CaseResolver {
25404
25652
  }
25405
25653
  else {
25406
25654
  return this.caseNotifier.fetchAndRefresh(cid)
25407
- .pipe(catchError(error => this.checkAuthorizationError(error, cid)))
25655
+ .pipe(catchError(error => this.checkAuthorizationError(error)))
25408
25656
  .toPromise();
25409
25657
  }
25410
25658
  }
@@ -25416,25 +25664,20 @@ class CaseResolver {
25416
25664
  this.caseNotifier.cachedCaseView = plainToClassFromExist(new CaseView(), caseView);
25417
25665
  this.caseNotifier.announceCase(this.caseNotifier.cachedCaseView);
25418
25666
  return this.caseNotifier.cachedCaseView;
25419
- }), catchError(error => this.checkAuthorizationError(error, cid))).toPromise();
25667
+ }), catchError(error => this.checkAuthorizationError(error))).toPromise();
25420
25668
  }
25421
- checkAuthorizationError(error, caseReference) {
25422
- console.error(error);
25669
+ checkAuthorizationError(error) {
25423
25670
  // TODO Should be logged to remote logging infrastructure
25424
25671
  if (error.status === 400) {
25425
25672
  this.router.navigate(['/search/noresults']);
25426
25673
  return of(null);
25427
25674
  }
25428
- // Error 403, navigate to restricted case access page
25429
- if (error.status === 403) {
25430
- this.router.navigate([`/cases/restricted-case-access/${caseReference}`]);
25431
- return of(null);
25432
- }
25675
+ console.error(error);
25433
25676
  if (CaseResolver.EVENT_REGEX.test(this.previousUrl) && error.status === 404) {
25434
25677
  this.router.navigate(['/list/case']);
25435
25678
  return of(null);
25436
25679
  }
25437
- if (error.status !== 401) {
25680
+ if (error.status !== 401 && error.status !== 403) {
25438
25681
  this.router.navigate(['/error']);
25439
25682
  }
25440
25683
  this.goToDefaultPage();
@@ -30823,5 +31066,5 @@ class TestRouteSnapshotBuilder {
30823
31066
  * Generated bundle index. Do not edit.
30824
31067
  */
30825
31068
 
30826
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
31069
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
30827
31070
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map