@hmcts/ccd-case-ui-toolkit 5.0.47-fee-pay-props → 5.0.47-fix-related-cases-tab

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 (31) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +161 -115
  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/app.config.js +1 -1
  6. package/esm2015/lib/shared/components/palette/base-field/abstract-form-field.component.js +13 -11
  7. package/esm2015/lib/shared/components/palette/base-field/payment-field.component.js +1 -4
  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/case-file-view-folder.component.js +3 -4
  11. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +26 -25
  12. package/esm2015/lib/shared/components/palette/case-link/read-case-link-field.component.js +3 -2
  13. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +84 -41
  14. package/esm2015/lib/shared/components/palette/palette.module.js +2 -2
  15. package/esm2015/lib/shared/components/palette/palette.service.js +3 -3
  16. package/esm2015/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.js +3 -3
  17. package/esm2015/lib/shared/components/palette/waystopay/waystopay-field.component.js +4 -4
  18. package/esm2015/lib/shared/services/fields/fields.utils.js +2 -2
  19. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +150 -108
  20. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  21. package/lib/app.config.d.ts +0 -2
  22. package/lib/app.config.d.ts.map +1 -1
  23. package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
  24. package/lib/shared/components/palette/base-field/payment-field.component.d.ts +0 -1
  25. package/lib/shared/components/palette/base-field/payment-field.component.d.ts.map +1 -1
  26. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  27. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
  28. package/lib/shared/components/palette/case-link/read-case-link-field.component.d.ts.map +1 -1
  29. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts +6 -3
  30. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts.map +1 -1
  31. package/package.json +1 -1
@@ -119,14 +119,14 @@
119
119
  }
120
120
  }
121
121
  var _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
122
- var _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
122
+ var _c1$s = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
123
123
  var FooterComponent = /** @class */ (function () {
124
124
  function FooterComponent() {
125
125
  }
126
126
  return FooterComponent;
127
127
  }());
128
128
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
129
- FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
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
131
  i0__namespace.ɵɵprojectionDef(_c0$_);
132
132
  i0__namespace.ɵɵelementStart(0, "footer", 0);
@@ -208,7 +208,7 @@
208
208
  }
209
209
  }
210
210
  var _c0$Z = [[["", "headerNavigation", ""]]];
211
- var _c1$q = ["[headerNavigation]"];
211
+ var _c1$r = ["[headerNavigation]"];
212
212
  var HeaderBarComponent = /** @class */ (function () {
213
213
  function HeaderBarComponent() {
214
214
  this.signOutRequest = new i0.EventEmitter();
@@ -219,7 +219,7 @@
219
219
  return HeaderBarComponent;
220
220
  }());
221
221
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
222
- HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
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
224
  i0__namespace.ɵɵprojectionDef(_c0$Z);
225
225
  i0__namespace.ɵɵelementStart(0, "header", 0);
@@ -283,14 +283,14 @@
283
283
  })();
284
284
 
285
285
  var _c0$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
286
- var _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
286
+ var _c1$q = ["[leftNavLinks]", "[rightNavLinks]"];
287
287
  var NavigationComponent = /** @class */ (function () {
288
288
  function NavigationComponent() {
289
289
  }
290
290
  return NavigationComponent;
291
291
  }());
292
292
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
293
- NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
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
295
  i0__namespace.ɵɵprojectionDef(_c0$Y);
296
296
  i0__namespace.ɵɵelementStart(0, "div");
@@ -438,14 +438,14 @@
438
438
  })();
439
439
 
440
440
  var _c0$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
441
- var _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
441
+ var _c1$p = ["[topBody]", "[leftBody]", "[rightBody]"];
442
442
  var BodyComponent = /** @class */ (function () {
443
443
  function BodyComponent() {
444
444
  }
445
445
  return BodyComponent;
446
446
  }());
447
447
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
448
- BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
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
450
  i0__namespace.ɵɵprojectionDef(_c0$X);
451
451
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1472,14 +1472,14 @@
1472
1472
  })();
1473
1473
 
1474
1474
  var _c0$U = function (a0) { return { "js-hidden": a0 }; };
1475
- var _c1$n = ["*"];
1475
+ var _c1$o = ["*"];
1476
1476
  var TabComponent = /** @class */ (function () {
1477
1477
  function TabComponent() {
1478
1478
  }
1479
1479
  return TabComponent;
1480
1480
  }());
1481
1481
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
1482
- TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$n, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1482
+ TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$o, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1483
1483
  if (rf & 1) {
1484
1484
  i0__namespace.ɵɵprojectionDef();
1485
1485
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1511,7 +1511,7 @@
1511
1511
  })();
1512
1512
 
1513
1513
  var _c0$T = ["tab"];
1514
- var _c1$m = function () { return ["."]; };
1514
+ var _c1$n = function () { return ["."]; };
1515
1515
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1516
1516
  function TabsComponent_li_2_Template(rf, ctx) {
1517
1517
  if (rf & 1) {
@@ -1526,7 +1526,7 @@
1526
1526
  if (rf & 2) {
1527
1527
  var panel_r1 = ctx.$implicit;
1528
1528
  i0__namespace.ɵɵadvance(1);
1529
- i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$m))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1529
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$n))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1530
1530
  i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1531
1531
  i0__namespace.ɵɵadvance(2);
1532
1532
  i0__namespace.ɵɵtextInterpolate(panel_r1.title);
@@ -3923,7 +3923,7 @@
3923
3923
  if (!caseField) {
3924
3924
  return false;
3925
3925
  }
3926
- return caseField.field_type.collection_field_type.id === 'CaseLink';
3926
+ return caseField.field_type.collection_field_type.id === 'CaseLink' && caseField.id === 'caseLinks';
3927
3927
  };
3928
3928
  FieldsUtils.cloneObject = function (obj) {
3929
3929
  return Object.assign({}, obj);
@@ -4863,18 +4863,19 @@
4863
4863
  return control;
4864
4864
  };
4865
4865
  AbstractFormFieldComponent.prototype.addControlToFormGroup = function (control, parent, replace) {
4866
- if (replace) {
4867
- if (this.caseField.field_type && this.caseField.field_type.collection_field_type
4868
- && this.caseField.field_type.collection_field_type.id === 'CaseLink'
4869
- && this.caseField.field_type.type === 'Complex' && /^-?\d+$/.test(this.caseField.id)) {
4870
- parent.setControl('CaseReference', control['controls']['CaseReference']);
4871
- }
4872
- else {
4873
- parent.setControl(this.caseField.id, control);
4874
- }
4866
+ if (!replace) {
4867
+ parent.addControl(this.caseField.id, control);
4868
+ return control;
4869
+ }
4870
+ if (this.caseField.field_type && this.caseField.field_type.id === 'CaseLink'
4871
+ && this.caseField.field_type.type === 'Complex'
4872
+ && this.caseField.field_type.complex_fields.some(function (cf) { return cf.id === 'CaseReference'; })
4873
+ && this.caseField.id !== 'caseLinks'
4874
+ && this instanceof AbstractFieldWriteComponent) {
4875
+ parent.setControl('CaseReference', control['controls']['CaseReference']);
4875
4876
  }
4876
4877
  else {
4877
- parent.addControl(this.caseField.id, control);
4878
+ parent.setControl(this.caseField.id, control);
4878
4879
  }
4879
4880
  return control;
4880
4881
  };
@@ -11695,7 +11696,7 @@
11695
11696
  i0__namespace.ɵɵelementEnd();
11696
11697
  }
11697
11698
  }
11698
- var _c1$l = function (a0) { return { "form-group-error": a0 }; };
11699
+ var _c1$m = function (a0) { return { "form-group-error": a0 }; };
11699
11700
  var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
11700
11701
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
11701
11702
  if (rf & 1) {
@@ -11716,7 +11717,7 @@
11716
11717
  }
11717
11718
  if (rf & 2) {
11718
11719
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
11719
- i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
11720
+ i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$m, ctx_r2.missingPostcode));
11720
11721
  i0__namespace.ɵɵadvance(1);
11721
11722
  i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
11722
11723
  i0__namespace.ɵɵadvance(3);
@@ -12003,7 +12004,7 @@
12003
12004
  if (rf & 2) {
12004
12005
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
12005
12006
  i0__namespace.ɵɵadvance(1);
12006
- 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);
12007
+ 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");
12007
12008
  }
12008
12009
  }
12009
12010
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
@@ -12021,7 +12022,7 @@
12021
12022
  i0__namespace.ɵɵelementEnd();
12022
12023
  i0__namespace.ɵɵelement(6, "div", 9);
12023
12024
  i0__namespace.ɵɵelementStart(7, "div", 10);
12024
- i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
12025
+ i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
12025
12026
  i0__namespace.ɵɵelementEnd();
12026
12027
  i0__namespace.ɵɵelementEnd();
12027
12028
  i0__namespace.ɵɵelementEnd();
@@ -12102,7 +12103,7 @@
12102
12103
  }());
12103
12104
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
12104
12105
  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)); };
12105
- 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"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
12106
+ 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) {
12106
12107
  if (rf & 1) {
12107
12108
  i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
12108
12109
  i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
@@ -12145,7 +12146,7 @@
12145
12146
  if (rf & 2) {
12146
12147
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
12147
12148
  i0__namespace.ɵɵadvance(1);
12148
- 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);
12149
+ 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");
12149
12150
  }
12150
12151
  }
12151
12152
  function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) {
@@ -12163,7 +12164,7 @@
12163
12164
  i0__namespace.ɵɵelementEnd();
12164
12165
  i0__namespace.ɵɵelement(6, "div", 9);
12165
12166
  i0__namespace.ɵɵelementStart(7, "div", 10);
12166
- i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
12167
+ i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
12167
12168
  i0__namespace.ɵɵelementEnd();
12168
12169
  i0__namespace.ɵɵelementEnd();
12169
12170
  i0__namespace.ɵɵelementEnd();
@@ -12186,7 +12187,7 @@
12186
12187
  return CaseFileViewFieldReadComponent;
12187
12188
  }(CaseFileViewFieldComponent));
12188
12189
  CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
12189
- 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"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) {
12190
+ 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) {
12190
12191
  if (rf & 1) {
12191
12192
  i0__namespace.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
12192
12193
  i0__namespace.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
@@ -13007,7 +13008,8 @@
13007
13008
  ReadCaseLinkFieldComponent.prototype.hasCaseLinkCollection = function () {
13008
13009
  return (this.caseField.field_type &&
13009
13010
  this.caseField.field_type.type === 'Collection' &&
13010
- this.caseField.field_type.collection_field_type.id === 'CaseLink');
13011
+ this.caseField.field_type.collection_field_type.id === 'CaseLink' &&
13012
+ this.caseField.id === 'caseLinks');
13011
13013
  };
13012
13014
  return ReadCaseLinkFieldComponent;
13013
13015
  }(AbstractFieldReadComponent));
@@ -13037,7 +13039,7 @@
13037
13039
  var _c0$P = ["writeComplexFieldComponent"];
13038
13040
  function WriteCaseLinkFieldComponent_div_1_span_2_Template(rf, ctx) {
13039
13041
  if (rf & 1) {
13040
- i0__namespace.ɵɵelementStart(0, "span", 6);
13042
+ i0__namespace.ɵɵelementStart(0, "span", 8);
13041
13043
  i0__namespace.ɵɵtext(1);
13042
13044
  i0__namespace.ɵɵpipe(2, "ccdFieldLabel");
13043
13045
  i0__namespace.ɵɵelementEnd();
@@ -13050,7 +13052,7 @@
13050
13052
  }
13051
13053
  function WriteCaseLinkFieldComponent_div_1_span_3_Template(rf, ctx) {
13052
13054
  if (rf & 1) {
13053
- i0__namespace.ɵɵelementStart(0, "span", 7);
13055
+ i0__namespace.ɵɵelementStart(0, "span", 9);
13054
13056
  i0__namespace.ɵɵtext(1);
13055
13057
  i0__namespace.ɵɵelementEnd();
13056
13058
  }
@@ -13060,34 +13062,52 @@
13060
13062
  i0__namespace.ɵɵtextInterpolate(ctx_r3.caseField.hint_text);
13061
13063
  }
13062
13064
  }
13065
+ function WriteCaseLinkFieldComponent_div_1_span_4_Template(rf, ctx) {
13066
+ if (rf & 1) {
13067
+ i0__namespace.ɵɵelementStart(0, "span", 10);
13068
+ i0__namespace.ɵɵtext(1);
13069
+ i0__namespace.ɵɵpipe(2, "ccdFirstError");
13070
+ i0__namespace.ɵɵelementEnd();
13071
+ }
13072
+ if (rf & 2) {
13073
+ var ctx_r4 = i0__namespace.ɵɵnextContext(2);
13074
+ i0__namespace.ɵɵadvance(1);
13075
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r4.caseReferenceControl.errors, ctx_r4.caseField.label));
13076
+ }
13077
+ }
13078
+ var _c1$l = function (a0) { return { "form-group-error": a0 }; };
13063
13079
  function WriteCaseLinkFieldComponent_div_1_Template(rf, ctx) {
13064
13080
  if (rf & 1) {
13065
- i0__namespace.ɵɵelementStart(0, "div", 1);
13066
- i0__namespace.ɵɵelementStart(1, "label", 2);
13067
- i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_1_span_2_Template, 3, 3, "span", 3);
13081
+ i0__namespace.ɵɵelementStart(0, "div", 2);
13082
+ i0__namespace.ɵɵelementStart(1, "label", 3);
13083
+ i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_1_span_2_Template, 3, 3, "span", 4);
13068
13084
  i0__namespace.ɵɵelementEnd();
13069
- i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_div_1_span_3_Template, 2, 1, "span", 4);
13070
- i0__namespace.ɵɵelement(4, "input", 5);
13085
+ i0__namespace.ɵɵtemplate(3, WriteCaseLinkFieldComponent_div_1_span_3_Template, 2, 1, "span", 5);
13086
+ i0__namespace.ɵɵtemplate(4, WriteCaseLinkFieldComponent_div_1_span_4_Template, 3, 4, "span", 6);
13087
+ i0__namespace.ɵɵelement(5, "input", 7);
13071
13088
  i0__namespace.ɵɵelementEnd();
13072
13089
  }
13073
13090
  if (rf & 2) {
13074
13091
  var ctx_r0 = i0__namespace.ɵɵnextContext();
13092
+ i0__namespace.ɵɵproperty("formGroup", ctx_r0.caseLinkGroup)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$l, !ctx_r0.caseReferenceControl.valid && (ctx_r0.caseReferenceControl.dirty || ctx_r0.caseReferenceControl.touched)));
13075
13093
  i0__namespace.ɵɵadvance(1);
13076
- i0__namespace.ɵɵproperty("for", ctx_r0.id());
13094
+ i0__namespace.ɵɵproperty("for", ctx_r0.caseReferenceControl);
13077
13095
  i0__namespace.ɵɵadvance(1);
13078
13096
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseField.label);
13079
13097
  i0__namespace.ɵɵadvance(1);
13080
13098
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseField.hint_text);
13081
13099
  i0__namespace.ɵɵadvance(1);
13082
- i0__namespace.ɵɵproperty("id", ctx_r0.id())("formControl", ctx_r0.caseReferenceControl);
13100
+ i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReferenceControl.errors && (ctx_r0.caseReferenceControl.dirty || ctx_r0.caseReferenceControl.touched));
13101
+ i0__namespace.ɵɵadvance(1);
13102
+ i0__namespace.ɵɵproperty("id", ctx_r0.caseReferenceControl)("formControl", ctx_r0.caseReferenceControl);
13083
13103
  }
13084
13104
  }
13085
13105
  function WriteCaseLinkFieldComponent_div_2_Template(rf, ctx) {
13086
13106
  if (rf & 1) {
13087
- var _r5_1 = i0__namespace.ɵɵgetCurrentView();
13088
- i0__namespace.ɵɵelementStart(0, "div", 1);
13089
- i0__namespace.ɵɵelementStart(1, "ccd-write-linked-cases", 8);
13090
- i0__namespace.ɵɵlistener("onLinkedCasesSelected", function WriteCaseLinkFieldComponent_div_2_Template_ccd_write_linked_cases_onLinkedCasesSelected_1_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.submitLinkedCases(); });
13107
+ var _r6_1 = i0__namespace.ɵɵgetCurrentView();
13108
+ i0__namespace.ɵɵelementStart(0, "div", 11);
13109
+ i0__namespace.ɵɵelementStart(1, "ccd-write-linked-cases", 12);
13110
+ i0__namespace.ɵɵlistener("onLinkedCasesSelected", function WriteCaseLinkFieldComponent_div_2_Template_ccd_write_linked_cases_onLinkedCasesSelected_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.submitLinkedCases(); });
13091
13111
  i0__namespace.ɵɵelementEnd();
13092
13112
  i0__namespace.ɵɵelementEnd();
13093
13113
  }
@@ -13107,32 +13127,72 @@
13107
13127
  }
13108
13128
  WriteCaseLinkFieldComponent.prototype.ngOnInit = function () {
13109
13129
  var e_1, _a;
13110
- this.formArray = this.registerControl(new i2.FormArray([]), true);
13111
- this.formArray['caseField'] = this.caseField;
13112
- if (!this.hasCaseLinkCollection()) {
13113
- this.caseLinkGroup = this.registerControl(new i2.FormGroup({
13114
- CaseReference: new i2.FormControl(this.caseField.value.CaseReference, i2.Validators.required),
13115
- }), true);
13130
+ // Will be TRUE for new Case link/unlink journey
13131
+ this.containsCaseLinkCollection = this.hasCaseLinkCollection();
13132
+ if (!this.containsCaseLinkCollection) {
13133
+ if (this.caseField.value) {
13134
+ this.caseLinkGroup = this.registerControl(new i2.FormGroup({
13135
+ CaseReference: new i2.FormControl(this.caseField.value.CaseReference, i2.Validators.required),
13136
+ }), true);
13137
+ }
13138
+ else {
13139
+ this.caseLinkGroup = this.registerControl(new i2.FormGroup({
13140
+ CaseReference: new i2.FormControl(null, i2.Validators.required),
13141
+ }), true);
13142
+ }
13143
+ this.caseReferenceControl = this.caseLinkGroup.controls['CaseReference'];
13144
+ this.caseReferenceControl.setValidators(this.caseReferenceValidator());
13145
+ // Ensure that all sub-fields inherit the same value for retain_hidden_value as this parent; although a CaseLink
13146
+ // field uses the Complex type, it is meant to be treated as one field
13147
+ if (this.caseField && this.caseField.field_type.type === 'Complex') {
13148
+ try {
13149
+ for (var _b = __values(this.caseField.field_type.complex_fields), _c = _b.next(); !_c.done; _c = _b.next()) {
13150
+ var caseLinkSubField = _c.value;
13151
+ caseLinkSubField.retain_hidden_value = this.caseField.retain_hidden_value;
13152
+ }
13153
+ }
13154
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
13155
+ finally {
13156
+ try {
13157
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13158
+ }
13159
+ finally { if (e_1) throw e_1.error; }
13160
+ }
13161
+ }
13116
13162
  }
13117
- // Ensure that all sub-fields inherit the same value for retain_hidden_value as this parent; although a CaseLink
13118
- // field uses the Complex type, it is meant to be treated as one field
13119
- if (this.caseField && this.caseField.field_type.type === 'Complex') {
13120
- try {
13121
- for (var _b = __values(this.caseField.field_type.complex_fields), _c = _b.next(); !_c.done; _c = _b.next()) {
13122
- var caseLinkSubField = _c.value;
13123
- caseLinkSubField.retain_hidden_value = this.caseField.retain_hidden_value;
13163
+ };
13164
+ WriteCaseLinkFieldComponent.prototype.caseReferenceValidator = function () {
13165
+ var _this = this;
13166
+ return function (control) {
13167
+ if (control.value) {
13168
+ if (_this.validCaseReference(control.value)) {
13169
+ return null;
13124
13170
  }
13171
+ return { error: 'Please use a valid 16 Digit Case Reference' };
13125
13172
  }
13126
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
13127
- finally {
13128
- try {
13129
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13173
+ else {
13174
+ if (control.touched) {
13175
+ return { error: 'Please use a valid 16 Digit Case Reference' };
13130
13176
  }
13131
- finally { if (e_1) throw e_1.error; }
13132
13177
  }
13178
+ return null;
13179
+ };
13180
+ };
13181
+ WriteCaseLinkFieldComponent.prototype.validCaseReference = function (valueString) {
13182
+ if (!valueString) {
13183
+ return false;
13133
13184
  }
13134
- this.containsCaseLinkCollection = this.hasCaseLinkCollection();
13185
+ return new RegExp('^\\b\\d{4}[ -]?\\d{4}[ -]?\\d{4}[ -]?\\d{4}\\b$').test(valueString.trim());
13186
+ };
13187
+ WriteCaseLinkFieldComponent.prototype.hasCaseLinkCollection = function () {
13188
+ return (this.caseField.field_type &&
13189
+ this.caseField.field_type.type === 'Collection' &&
13190
+ this.caseField.field_type.collection_field_type.id === 'CaseLink' &&
13191
+ this.caseField.id === 'caseLinks');
13135
13192
  };
13193
+ /**
13194
+ * This method is applicable only for new Case link/unlink journey
13195
+ */
13136
13196
  WriteCaseLinkFieldComponent.prototype.submitLinkedCases = function () {
13137
13197
  var formGroup = this.formGroup;
13138
13198
  if (!this.linkedCasesService.isLinkedCasesEventTrigger) {
@@ -13144,17 +13204,6 @@
13144
13204
  this.formGroup.value.caseLinks = this.linkedCasesService.caseFieldValue;
13145
13205
  }
13146
13206
  };
13147
- WriteCaseLinkFieldComponent.prototype.validCaseReference = function (valueString) {
13148
- if (!valueString) {
13149
- return false;
13150
- }
13151
- return new RegExp('^\\b\\d{4}[ -]?\\d{4}[ -]?\\d{4}[ -]?\\d{4}\\b$').test(valueString.trim());
13152
- };
13153
- WriteCaseLinkFieldComponent.prototype.hasCaseLinkCollection = function () {
13154
- return (this.caseField.field_type &&
13155
- this.caseField.field_type.type === 'Collection' &&
13156
- this.caseField.field_type.collection_field_type.id === 'CaseLink');
13157
- };
13158
13207
  return WriteCaseLinkFieldComponent;
13159
13208
  }(AbstractFieldWriteComponent));
13160
13209
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return new (t || WriteCaseLinkFieldComponent)(i0__namespace.ɵɵdirectiveInject(LinkedCasesService)); };
@@ -13166,11 +13215,11 @@
13166
13215
  var _t = void 0;
13167
13216
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
13168
13217
  }
13169
- }, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [3, "caseFields", "caseField", "formGroup", "isLinkedCasesJourney", "onLinkedCasesSelected"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) {
13218
+ }, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["class", "form-group", 3, "formGroup", "ngClass", 4, "ngIf"], ["class", "form-group", 4, "ngIf"], [1, "form-group", 3, "formGroup", "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "form-group"], [3, "caseFields", "caseField", "formGroup", "isLinkedCasesJourney", "onLinkedCasesSelected"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) {
13170
13219
  if (rf & 1) {
13171
13220
  i0__namespace.ɵɵelementContainerStart(0);
13172
- i0__namespace.ɵɵtemplate(1, WriteCaseLinkFieldComponent_div_1_Template, 5, 5, "div", 0);
13173
- i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 4, "div", 0);
13221
+ i0__namespace.ɵɵtemplate(1, WriteCaseLinkFieldComponent_div_1_Template, 6, 10, "div", 0);
13222
+ i0__namespace.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 4, "div", 1);
13174
13223
  i0__namespace.ɵɵelementContainerEnd();
13175
13224
  }
13176
13225
  if (rf & 2) {
@@ -17137,9 +17186,6 @@
17137
17186
  PaymentField.prototype.getRefundsUrl = function () {
17138
17187
  return this.appConfig.getRefundsUrl();
17139
17188
  };
17140
- PaymentField.prototype.getNotificationUrl = function () {
17141
- return this.appConfig.getNotificationUrl();
17142
- };
17143
17189
  PaymentField.prototype.getUserRoles = function () {
17144
17190
  var userDetails = JSON.parse(this.sessionStorage.getItem('userDetails') || null);
17145
17191
  if (!userDetails || !userDetails.hasOwnProperty('roles')) {
@@ -17165,12 +17211,12 @@
17165
17211
  return CasePaymentHistoryViewerFieldComponent;
17166
17212
  }(PaymentField));
17167
17213
  CasePaymentHistoryViewerFieldComponent.ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(t) { return new (t || CasePaymentHistoryViewerFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
17168
- CasePaymentHistoryViewerFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 16, consts: [[3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) {
17214
+ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 15, consts: [[3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) {
17169
17215
  if (rf & 1) {
17170
17216
  i0__namespace.ɵɵelement(0, "ccpay-payment-lib", 0);
17171
17217
  }
17172
17218
  if (rf & 2) {
17173
- i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx.getNotificationUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
17219
+ i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
17174
17220
  }
17175
17221
  }, directives: [i3__namespace.PaymentLibComponent], encapsulation: 2 });
17176
17222
  (function () {
@@ -17578,7 +17624,7 @@
17578
17624
  }
17579
17625
  if (rf & 2) {
17580
17626
  var ctx_r0 = i0__namespace.ɵɵnextContext();
17581
- i0__namespace.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx_r0.getNotificationUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
17627
+ i0__namespace.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
17582
17628
  }
17583
17629
  }
17584
17630
  var WaysToPayFieldComponent = /** @class */ (function (_super) {
@@ -17592,9 +17638,9 @@
17592
17638
  return WaysToPayFieldComponent;
17593
17639
  }(PaymentField));
17594
17640
  WaysToPayFieldComponent.ɵfac = function WaysToPayFieldComponent_Factory(t) { return new (t || WaysToPayFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
17595
- WaysToPayFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) {
17641
+ WaysToPayFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) {
17596
17642
  if (rf & 1) {
17597
- i0__namespace.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
17643
+ i0__namespace.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 14, "ccpay-payment-lib", 0);
17598
17644
  }
17599
17645
  if (rf & 2) {
17600
17646
  i0__namespace.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
@@ -17856,11 +17902,11 @@
17856
17902
  return write ? WriteOrganisationFieldComponent : ReadOrganisationFieldComponent;
17857
17903
  case 'JudicialUser':
17858
17904
  return write ? WriteJudicialUserFieldComponent : ReadJudicialUserFieldComponent;
17859
- case 'CaseLink':
17860
- return write ? WriteCaseLinkFieldComponent : ReadCaseLinkFieldComponent;
17861
17905
  default:
17862
17906
  return write ? WriteComplexFieldComponent : ReadComplexFieldComponent;
17863
17907
  }
17908
+ case 'CaseLink':
17909
+ return write ? WriteCaseLinkFieldComponent : ReadCaseLinkFieldComponent;
17864
17910
  case 'Collection':
17865
17911
  switch (caseField.field_type.collection_field_type.id) {
17866
17912
  case 'CaseLink':
@@ -18183,16 +18229,16 @@
18183
18229
  }] });
18184
18230
  })();
18185
18231
 
18186
- function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) {
18232
+ function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) {
18187
18233
  if (rf & 1) {
18188
18234
  i0__namespace.ɵɵelementContainer(0);
18189
18235
  }
18190
18236
  }
18191
18237
  var _c0$u = function (a0) { return { cat: a0, level: 1 }; };
18192
- function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) {
18238
+ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
18193
18239
  if (rf & 1) {
18194
18240
  i0__namespace.ɵɵelementContainerStart(0);
18195
- i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
18241
+ i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
18196
18242
  i0__namespace.ɵɵelementContainerEnd();
18197
18243
  }
18198
18244
  if (rf & 2) {
@@ -18235,7 +18281,7 @@
18235
18281
  i0__namespace.ɵɵelement(3, "img", 12);
18236
18282
  i0__namespace.ɵɵtext(4);
18237
18283
  i0__namespace.ɵɵelementEnd();
18238
- i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
18284
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
18239
18285
  i0__namespace.ɵɵelementEnd();
18240
18286
  }
18241
18287
  if (rf & 2) {
@@ -18331,46 +18377,47 @@
18331
18377
  return CaseFileViewFolderSelectorComponent;
18332
18378
  }());
18333
18379
  CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialogRef), i0__namespace.ɵɵdirectiveInject(i1$3.MAT_DIALOG_DATA)); };
18334
- CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) {
18380
+ CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) {
18335
18381
  if (rf & 1) {
18336
- i0__namespace.ɵɵelementStart(0, "h2", 0);
18337
- i0__namespace.ɵɵtext(1, "Move File");
18382
+ i0__namespace.ɵɵelementStart(0, "div", 0);
18383
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
18338
18384
  i0__namespace.ɵɵelementEnd();
18339
- i0__namespace.ɵɵelementStart(2, "p");
18340
- i0__namespace.ɵɵtext(3);
18385
+ i0__namespace.ɵɵelementStart(1, "h2", 1);
18386
+ i0__namespace.ɵɵtext(2, "Move File");
18341
18387
  i0__namespace.ɵɵelementEnd();
18342
- i0__namespace.ɵɵelementStart(4, "div", 1);
18343
- i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
18388
+ i0__namespace.ɵɵelementStart(3, "p");
18389
+ i0__namespace.ɵɵtext(4);
18344
18390
  i0__namespace.ɵɵelementEnd();
18345
- i0__namespace.ɵɵelementStart(6, "div", 3);
18346
- i0__namespace.ɵɵelementStart(7, "button", 4);
18347
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
18348
- i0__namespace.ɵɵtext(8, "Save");
18391
+ i0__namespace.ɵɵelementStart(5, "div", 2);
18392
+ i0__namespace.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
18349
18393
  i0__namespace.ɵɵelementEnd();
18350
- i0__namespace.ɵɵelementStart(9, "a", 5);
18351
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
18352
- i0__namespace.ɵɵtext(10, "Cancel");
18394
+ i0__namespace.ɵɵelementStart(7, "div", 4);
18395
+ i0__namespace.ɵɵelementStart(8, "button", 5);
18396
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
18397
+ i0__namespace.ɵɵtext(9, "Save");
18353
18398
  i0__namespace.ɵɵelementEnd();
18399
+ i0__namespace.ɵɵelementStart(10, "a", 6);
18400
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
18401
+ i0__namespace.ɵɵtext(11, "Cancel");
18354
18402
  i0__namespace.ɵɵelementEnd();
18355
- i0__namespace.ɵɵelementStart(11, "div", 6);
18356
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
18357
18403
  i0__namespace.ɵɵelementEnd();
18358
18404
  i0__namespace.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
18359
18405
  }
18360
18406
  if (rf & 2) {
18361
- i0__namespace.ɵɵadvance(3);
18407
+ i0__namespace.ɵɵadvance(4);
18362
18408
  i0__namespace.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
18363
18409
  i0__namespace.ɵɵadvance(2);
18364
18410
  i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
18365
18411
  }
18366
- }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
18412
+ }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
18367
18413
  (function () {
18368
18414
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
18369
18415
  type: i0.Component,
18370
18416
  args: [{
18371
18417
  selector: 'xui-case-file-view-folder-selector',
18372
18418
  templateUrl: './case-file-view-folder-selector.component.html',
18373
- styleUrls: ['./case-file-view-folder-selector.component.scss']
18419
+ styleUrls: ['./case-file-view-folder-selector.component.scss'],
18420
+ encapsulation: i0.ViewEncapsulation.None
18374
18421
  }]
18375
18422
  }], function () {
18376
18423
  return [{ type: i1__namespace$3.MatDialogRef }, { type: undefined, decorators: [{
@@ -18922,7 +18969,7 @@
18922
18969
  return Object.assign(documentTreeNode, node);
18923
18970
  }
18924
18971
  var filteredData = this.documentTreeData;
18925
- if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
18972
+ if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 0) {
18926
18973
  filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
18927
18974
  if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
18928
18975
  return true;
@@ -19004,7 +19051,6 @@
19004
19051
  CaseFileViewFolderComponent.prototype.openMoveDialog = function (node) {
19005
19052
  var _this = this;
19006
19053
  var dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
19007
- width: '570px',
19008
19054
  data: { categories: this.categories, document: node }
19009
19055
  });
19010
19056
  dialogRef.afterClosed().subscribe(function (newCatId) {
@@ -19030,7 +19076,7 @@
19030
19076
  }());
19031
19077
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
19032
19078
  CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
19033
- CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
19079
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
19034
19080
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)); };
19035
19081
  CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
19036
19082
  if (rf & 1) {
@@ -25514,7 +25560,7 @@
25514
25560
  WriteOrganisationComplexFieldComponent], [i1__namespace.AsyncPipe]);
25515
25561
  i0__namespace.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, [ReadOrderSummaryFieldComponent], []);
25516
25562
  i0__namespace.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1__namespace.NgIf, DatetimePickerComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, WriteDateFieldComponent], []);
25517
- i0__namespace.ɵɵsetComponentScope(WriteCaseLinkFieldComponent, [i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, WriteLinkedCasesComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective], [FieldLabelPipe]);
25563
+ i0__namespace.ɵɵsetComponentScope(WriteCaseLinkFieldComponent, [i1__namespace.NgIf, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, WriteLinkedCasesComponent], [FieldLabelPipe, FirstErrorPipe]);
25518
25564
  i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
25519
25565
  i0__namespace.ɵɵsetComponentScope(
25520
25566
  // ComponentLauncher web components