@hmcts/ccd-case-ui-toolkit 7.0.22-rc2 → 7.0.22-rc3

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 (29) hide show
  1. package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +38 -83
  2. package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +5 -6
  3. package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +1 -1
  4. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +11 -10
  5. package/esm2020/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +12 -12
  6. package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +17 -1
  7. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +5 -5
  8. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +3 -20
  9. package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +1 -1
  10. package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +1 -4
  11. package/esm2020/lib/shared/domain/document/document-data.model.mjs +1 -1
  12. package/esm2020/lib/shared/services/form/form-validators.service.mjs +2 -27
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +122 -210
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  15. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +128 -201
  16. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  17. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +3 -8
  18. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
  19. package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/document/write-document-field.component.d.ts +1 -0
  21. package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
  22. package/lib/shared/components/palette/markdown/markdown.component.d.ts +1 -3
  23. package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
  24. package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
  25. package/lib/shared/domain/document/document-data.model.d.ts +1 -0
  26. package/lib/shared/domain/document/document-data.model.d.ts.map +1 -1
  27. package/lib/shared/services/form/form-validators.service.d.ts +0 -4
  28. package/lib/shared/services/form/form-validators.service.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -27,7 +27,6 @@ import { MatDialogConfig } from '@angular/material/dialog';
27
27
  import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
28
28
  import * as i2 from '@nicky-lenaers/ngx-scroll-to';
29
29
  import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
30
- import * as marked from 'marked';
31
30
  import * as i1$4 from 'ngx-md';
32
31
  import { NgxMdModule } from 'ngx-md';
33
32
  import * as i5 from '@angular/material/legacy-autocomplete';
@@ -134,11 +133,11 @@ function FooterComponent_div_3_Template(rf, ctx) {
134
133
  }
135
134
  }
136
135
  const _c0$13 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
137
- const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
136
+ const _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
138
137
  class FooterComponent {
139
138
  }
140
139
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
141
- FooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$u, 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) {
140
+ FooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$t, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
142
141
  if (rf & 1) {
143
142
  i0.ɵɵprojectionDef(_c0$13);
144
143
  i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
@@ -212,7 +211,7 @@ function HeaderBarComponent_div_10_Template(rf, ctx) {
212
211
  }
213
212
  }
214
213
  const _c0$12 = [[["", "headerNavigation", ""]]];
215
- const _c1$t = ["[headerNavigation]"];
214
+ const _c1$s = ["[headerNavigation]"];
216
215
  class HeaderBarComponent {
217
216
  constructor() {
218
217
  this.signOutRequest = new EventEmitter();
@@ -222,7 +221,7 @@ class HeaderBarComponent {
222
221
  }
223
222
  }
224
223
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
225
- HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
224
+ HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$s, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
226
225
  if (rf & 1) {
227
226
  i0.ɵɵprojectionDef(_c0$12);
228
227
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
@@ -278,11 +277,11 @@ HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBa
278
277
  })();
279
278
 
280
279
  const _c0$11 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
281
- const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
280
+ const _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
282
281
  class NavigationComponent {
283
282
  }
284
283
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
285
- NavigationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
284
+ NavigationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$r, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
286
285
  if (rf & 1) {
287
286
  i0.ɵɵprojectionDef(_c0$11);
288
287
  i0.ɵɵelementStart(0, "div")(1, "nav", 0);
@@ -413,11 +412,11 @@ HeadersModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
413
412
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
414
413
 
415
414
  const _c0$10 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
416
- const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
415
+ const _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
417
416
  class BodyComponent {
418
417
  }
419
418
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
420
- BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
419
+ BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
421
420
  if (rf & 1) {
422
421
  i0.ɵɵprojectionDef(_c0$10);
423
422
  i0.ɵɵelementStart(0, "div", 0);
@@ -1086,11 +1085,11 @@ NotificationBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
1086
1085
  })();
1087
1086
 
1088
1087
  const _c0$Z = function (a0) { return { "js-hidden": a0 }; };
1089
- const _c1$q = ["*"];
1088
+ const _c1$p = ["*"];
1090
1089
  class TabComponent {
1091
1090
  }
1092
1091
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
1093
- TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$q, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1092
+ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$p, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1094
1093
  if (rf & 1) {
1095
1094
  i0.ɵɵprojectionDef();
1096
1095
  i0.ɵɵelementStart(0, "div", 0);
@@ -1116,8 +1115,8 @@ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent,
1116
1115
  })();
1117
1116
 
1118
1117
  const _c0$Y = ["tab"];
1119
- const _c1$p = function () { return ["."]; };
1120
- const _c2$4 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1118
+ const _c1$o = function () { return ["."]; };
1119
+ const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1121
1120
  function TabsComponent_li_2_Template(rf, ctx) {
1122
1121
  if (rf & 1) {
1123
1122
  const _r4 = i0.ɵɵgetCurrentView();
@@ -1130,7 +1129,7 @@ function TabsComponent_li_2_Template(rf, ctx) {
1130
1129
  if (rf & 2) {
1131
1130
  const panel_r1 = ctx.$implicit;
1132
1131
  i0.ɵɵadvance(1);
1133
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(8, _c1$p))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(9, _c2$4, panel_r1.selected));
1132
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(8, _c1$o))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(9, _c2$3, panel_r1.selected));
1134
1133
  i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1135
1134
  i0.ɵɵadvance(2);
1136
1135
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, panel_r1.title));
@@ -2703,9 +2702,6 @@ class FirstErrorPipe {
2703
2702
  else if (keys[0] === 'pattern') {
2704
2703
  errorMessage = 'The data entered is not valid for %FIELDLABEL%';
2705
2704
  }
2706
- else if (keys[0] === 'markDownPattern') {
2707
- errorMessage = 'The data entered is not valid for %FIELDLABEL%. Link mark up characters are not allowed in this field';
2708
- }
2709
2705
  else if (keys[0] === 'minlength') {
2710
2706
  errorMessage = '%FIELDLABEL% is below the minimum length';
2711
2707
  }
@@ -4554,7 +4550,6 @@ class FormValidatorsService {
4554
4550
  FormValidatorsService.CUSTOM_VALIDATED_TYPES.indexOf(caseField.field_type.type) === -1) {
4555
4551
  const validators = [Validators.required];
4556
4552
  if (caseField.field_type.type === 'Text') {
4557
- validators.push(this.markDownPatternValidator());
4558
4553
  if (caseField.field_type.regular_expression) {
4559
4554
  validators.push(Validators.pattern(caseField.field_type.regular_expression));
4560
4555
  }
@@ -4568,38 +4563,22 @@ class FormValidatorsService {
4568
4563
  validators.push(Validators.maxLength(caseField.field_type.max));
4569
4564
  }
4570
4565
  }
4571
- if (caseField.field_type.type === 'TextArea') {
4572
- validators.push(this.emptyValidator());
4573
- validators.push(this.markDownPatternValidator());
4574
- }
4575
4566
  if (control.validator) {
4576
4567
  validators.push(control.validator);
4577
4568
  }
4578
4569
  control.setValidators(validators);
4579
4570
  }
4580
- else if (caseField.display_context === 'OPTIONAL' && (caseField.field_type.type === 'Text' || caseField.field_type.type === 'TextArea')) {
4581
- control.setValidators(this.markDownPatternValidator());
4582
- }
4583
4571
  return control;
4584
4572
  }
4585
4573
  static emptyValidator() {
4586
4574
  const validator = (control) => {
4587
- var _a;
4588
- if (((_a = control === null || control === void 0 ? void 0 : control.value) === null || _a === void 0 ? void 0 : _a.toString().trim().length) === 0) {
4575
+ if (control && control.value && control.value.toString().trim().length === 0) {
4589
4576
  return { required: {} };
4590
4577
  }
4591
4578
  return null;
4592
4579
  };
4593
4580
  return validator;
4594
4581
  }
4595
- static markDownPatternValidator() {
4596
- const pattern = /(\[[^\]]{0,500}\]\([^)]{0,500}\)|!\[[^\]]{0,500}\]\([^)]{0,500}\)|<img[^>]{0,500}>|<a[^>]{0,500}>.*?<\/a>)/;
4597
- return (control) => {
4598
- var _a;
4599
- const value = (_a = control === null || control === void 0 ? void 0 : control.value) === null || _a === void 0 ? void 0 : _a.toString().trim();
4600
- return (value && pattern.test(value)) ? { markDownPattern: {} } : null;
4601
- };
4602
- }
4603
4582
  // TODO: Strip this out as it's only here for the moment because
4604
4583
  // the service is being injected all over the place but it doesn't
4605
4584
  // need to be as FormValidatorsService.addValidators is perfectly
@@ -4607,20 +4586,10 @@ class FormValidatorsService {
4607
4586
  addValidators(caseField, control) {
4608
4587
  return FormValidatorsService.addValidators(caseField, control);
4609
4588
  }
4610
- addMarkDownValidators(formGroup, controlPath) {
4611
- const control = formGroup.get(controlPath);
4612
- if (control) {
4613
- control.setValidators(FormValidatorsService.markDownPatternValidator());
4614
- control.updateValueAndValidity();
4615
- }
4616
- return control;
4617
- }
4618
4589
  }
4619
4590
  FormValidatorsService.CUSTOM_VALIDATED_TYPES = [
4620
4591
  'Date', 'MoneyGBP', 'Label', 'JudicialUser'
4621
4592
  ];
4622
- FormValidatorsService.DEFAULT_INPUT_TEXT = 'text';
4623
- FormValidatorsService.DEFAULT_INPUT_TEXTAREA = 'textAreas';
4624
4593
  FormValidatorsService.ɵfac = function FormValidatorsService_Factory(t) { return new (t || FormValidatorsService)(); };
4625
4594
  FormValidatorsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormValidatorsService, factory: FormValidatorsService.ɵfac });
4626
4595
  (function () {
@@ -11159,8 +11128,8 @@ function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) {
11159
11128
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r5.errorMessage));
11160
11129
  }
11161
11130
  }
11162
- const _c1$o = function (a0) { return { "form-group-error": a0 }; };
11163
- const _c2$3 = function (a0) { return { "govuk-input--error": a0 }; };
11131
+ const _c1$n = function (a0) { return { "form-group-error": a0 }; };
11132
+ const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
11164
11133
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
11165
11134
  if (rf & 1) {
11166
11135
  const _r7 = i0.ɵɵgetCurrentView();
@@ -11178,7 +11147,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
11178
11147
  }
11179
11148
  if (rf & 2) {
11180
11149
  const ctx_r2 = i0.ɵɵnextContext(2);
11181
- i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(13, _c1$o, ctx_r2.missingPostcode));
11150
+ i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(13, _c1$n, ctx_r2.missingPostcode));
11182
11151
  i0.ɵɵadvance(1);
11183
11152
  i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
11184
11153
  i0.ɵɵadvance(2);
@@ -11186,7 +11155,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
11186
11155
  i0.ɵɵadvance(2);
11187
11156
  i0.ɵɵproperty("ngIf", ctx_r2.missingPostcode);
11188
11157
  i0.ɵɵadvance(1);
11189
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$3, ctx_r2.missingPostcode))("id", ctx_r2.createElementId("postcodeInput"))("formControl", ctx_r2.postcode);
11158
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$2, ctx_r2.missingPostcode))("id", ctx_r2.createElementId("postcodeInput"))("formControl", ctx_r2.postcode);
11190
11159
  i0.ɵɵadvance(2);
11191
11160
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, "Find address"));
11192
11161
  }
@@ -11233,7 +11202,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) {
11233
11202
  }
11234
11203
  if (rf & 2) {
11235
11204
  const ctx_r3 = i0.ɵɵnextContext(2);
11236
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$o, ctx_r3.noAddressSelected));
11205
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r3.noAddressSelected));
11237
11206
  i0.ɵɵadvance(1);
11238
11207
  i0.ɵɵproperty("for", ctx_r3.createElementId("addressList"));
11239
11208
  i0.ɵɵadvance(2);
@@ -12802,7 +12771,7 @@ function WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) {
12802
12771
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label), " ");
12803
12772
  }
12804
12773
  }
12805
- const _c1$n = function (a0) { return { "form-group-error": a0 }; };
12774
+ const _c1$m = function (a0) { return { "form-group-error": a0 }; };
12806
12775
  class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
12807
12776
  ngOnInit() {
12808
12777
  if (this.caseField.value) {
@@ -12868,7 +12837,7 @@ WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
12868
12837
  i0.ɵɵelementEnd();
12869
12838
  }
12870
12839
  if (rf & 2) {
12871
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$n, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
12840
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$m, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
12872
12841
  i0.ɵɵadvance(1);
12873
12842
  i0.ɵɵproperty("for", ctx.id());
12874
12843
  i0.ɵɵadvance(1);
@@ -12906,7 +12875,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
12906
12875
  i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$S, 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);
12907
12876
  }
12908
12877
  }
12909
- const _c1$m = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
12878
+ const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
12910
12879
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
12911
12880
  if (rf & 1) {
12912
12881
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -12918,7 +12887,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
12918
12887
  const i_r5 = ctx.index;
12919
12888
  const ctx_r3 = i0.ɵɵnextContext(3);
12920
12889
  i0.ɵɵadvance(2);
12921
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$m, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
12890
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$l, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
12922
12891
  }
12923
12892
  }
12924
12893
  function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
@@ -14116,7 +14085,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
14116
14085
  i0.ɵɵproperty("caseField", ctx_r2.caseField);
14117
14086
  }
14118
14087
  }
14119
- const _c1$l = function (a0) { return { "form-group-error bottom-30": a0 }; };
14088
+ const _c1$k = function (a0) { return { "form-group-error bottom-30": a0 }; };
14120
14089
  class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14121
14090
  constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService) {
14122
14091
  super();
@@ -14297,6 +14266,9 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14297
14266
  if (documentHash) {
14298
14267
  this.uploadedDocument.get(WriteDocumentFieldComponent.DOCUMENT_HASH).setValue(documentHash);
14299
14268
  }
14269
+ if (this.uploadedDocument.get(WriteDocumentFieldComponent.UPLOAD_TIMESTAMP)) {
14270
+ this.uploadedDocument.removeControl(WriteDocumentFieldComponent.UPLOAD_TIMESTAMP);
14271
+ }
14300
14272
  }
14301
14273
  createDocumentFormWithValidator(document) {
14302
14274
  let documentFormGroup = {
@@ -14304,6 +14276,9 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14304
14276
  document_binary_url: new FormControl(document.document_binary_url, Validators.required),
14305
14277
  document_filename: new FormControl(document.document_filename, Validators.required)
14306
14278
  };
14279
+ if (document.upload_timestamp && (typeof document.upload_timestamp === 'string')) {
14280
+ documentFormGroup = Object.assign(Object.assign({}, documentFormGroup), { upload_timestamp: new FormControl(document.upload_timestamp) });
14281
+ }
14307
14282
  documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new FormControl(document.document_hash) }) : documentFormGroup;
14308
14283
  this.uploadedDocument = this.registerControl(new FormGroup(documentFormGroup), true);
14309
14284
  }
@@ -14313,6 +14288,9 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
14313
14288
  document_binary_url: new FormControl(document.document_binary_url),
14314
14289
  document_filename: new FormControl(document.document_filename)
14315
14290
  };
14291
+ if (document.upload_timestamp && (typeof document.upload_timestamp === 'string')) {
14292
+ documentFormGroup = Object.assign(Object.assign({}, documentFormGroup), { upload_timestamp: new FormControl(document.upload_timestamp) });
14293
+ }
14316
14294
  documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new FormControl(document.document_hash) }) : documentFormGroup;
14317
14295
  this.uploadedDocument = this.registerControl(new FormGroup(documentFormGroup), true);
14318
14296
  }
@@ -14393,6 +14371,7 @@ WriteDocumentFieldComponent.DOCUMENT_URL = 'document_url';
14393
14371
  WriteDocumentFieldComponent.DOCUMENT_BINARY_URL = 'document_binary_url';
14394
14372
  WriteDocumentFieldComponent.DOCUMENT_FILENAME = 'document_filename';
14395
14373
  WriteDocumentFieldComponent.DOCUMENT_HASH = 'document_hash';
14374
+ WriteDocumentFieldComponent.UPLOAD_TIMESTAMP = 'upload_timestamp';
14396
14375
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
14397
14376
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
14398
14377
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
@@ -14431,7 +14410,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
14431
14410
  i0.ɵɵelementEnd()();
14432
14411
  }
14433
14412
  if (rf & 2) {
14434
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$l, !ctx.valid));
14413
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$k, !ctx.valid));
14435
14414
  i0.ɵɵadvance(1);
14436
14415
  i0.ɵɵproperty("for", ctx.id());
14437
14416
  i0.ɵɵadvance(1);
@@ -14655,14 +14634,9 @@ WriteDynamicListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
14655
14634
  })();
14656
14635
 
14657
14636
  class MarkdownComponent {
14658
- constructor() {
14659
- this.renderUrlToTextFeature = true;
14660
- }
14637
+ constructor() { }
14661
14638
  ngOnInit() {
14662
14639
  this.content = this.content.replace(/ \n/g, '<br>');
14663
- if (this.renderUrlToTextFeature) {
14664
- this.renderUrlToText();
14665
- }
14666
14640
  }
14667
14641
  onMarkdownClick(event) {
14668
14642
  // If we don't have an anchor tag, we don't need to do anything.
@@ -14671,22 +14645,13 @@ class MarkdownComponent {
14671
14645
  }
14672
14646
  return true;
14673
14647
  }
14674
- renderUrlToText() {
14675
- const renderer = new marked.Renderer();
14676
- renderer.link = (href, title, text) => {
14677
- return text; // Return the text without turning it into a link
14678
- };
14679
- marked.setOptions({
14680
- renderer: renderer
14681
- });
14682
- }
14683
14648
  }
14684
14649
  MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
14685
14650
  MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
14686
14651
  if (rf & 1) {
14687
14652
  i0.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
14688
14653
  }
14689
- }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink", renderUrlToTextFeature: "renderUrlToTextFeature" }, decls: 4, vars: 5, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
14654
+ }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 4, vars: 5, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
14690
14655
  if (rf & 1) {
14691
14656
  i0.ɵɵelementStart(0, "div");
14692
14657
  i0.ɵɵelement(1, "markdown", 0);
@@ -14707,8 +14672,6 @@ MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownC
14707
14672
  type: Input
14708
14673
  }], markdownUseHrefAsRouterLink: [{
14709
14674
  type: Input
14710
- }], renderUrlToTextFeature: [{
14711
- type: Input
14712
14675
  }], onMarkdownClick: [{
14713
14676
  type: HostListener,
14714
14677
  args: ['click', ['$event']]
@@ -14843,7 +14806,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
14843
14806
  i0.ɵɵadvance(1);
14844
14807
  i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
14845
14808
  i0.ɵɵadvance(1);
14846
- i0.ɵɵproperty("content", checkbox_r4.label)("renderUrlToTextFeature", false);
14809
+ i0.ɵɵproperty("content", checkbox_r4.label);
14847
14810
  }
14848
14811
  }
14849
14812
  const _c0$O = function (a0) { return { "error": a0 }; };
@@ -14908,14 +14871,14 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
14908
14871
  }
14909
14872
  }
14910
14873
  WriteDynamicMultiSelectListFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(t || WriteDynamicMultiSelectListFieldComponent); }; }();
14911
- WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ 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"], [3, "content", "renderUrlToTextFeature"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
14874
+ WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ 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"], [3, "content"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
14912
14875
  if (rf & 1) {
14913
14876
  i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
14914
14877
  i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
14915
14878
  i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
14916
14879
  i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
14917
14880
  i0.ɵɵelementEnd();
14918
- i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 7, "ng-container", 4);
14881
+ i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
14919
14882
  i0.ɵɵelementEnd()();
14920
14883
  }
14921
14884
  if (rf & 2) {
@@ -14933,7 +14896,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
14933
14896
  (function () {
14934
14897
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
14935
14898
  type: Component,
14936
- args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label class=\"form-label\" for=\"{{ createElementId(checkbox.code) }}\">\n <ccd-markdown [content]=\"checkbox.label\" [renderUrlToTextFeature]=\"false\"></ccd-markdown>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
14899
+ args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label class=\"form-label\" for=\"{{ createElementId(checkbox.code) }}\">\n <ccd-markdown [content]=\"checkbox.label\"></ccd-markdown>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
14937
14900
  }], null, null);
14938
14901
  })();
14939
14902
 
@@ -15077,7 +15040,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15077
15040
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r5.label));
15078
15041
  }
15079
15042
  }
15080
- const _c1$k = function (a0) { return { "form-group-error": a0 }; };
15043
+ const _c1$j = function (a0) { return { "form-group-error": a0 }; };
15081
15044
  class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
15082
15045
  ngOnInit() {
15083
15046
  /**
@@ -15117,7 +15080,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent
15117
15080
  i0.ɵɵelementEnd()();
15118
15081
  }
15119
15082
  if (rf & 2) {
15120
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$k, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
15083
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$j, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
15121
15084
  i0.ɵɵadvance(3);
15122
15085
  i0.ɵɵproperty("for", ctx.id());
15123
15086
  i0.ɵɵadvance(1);
@@ -15218,7 +15181,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) {
15218
15181
  }
15219
15182
  }
15220
15183
  const _c0$M = function (a0) { return { "form-group-error": a0 }; };
15221
- const _c1$j = function (a0) { return { "govuk-input--error": a0 }; };
15184
+ const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
15222
15185
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
15223
15186
  ngOnInit() {
15224
15187
  this.emailControl = this.registerControl(new FormControl(this.caseField.value));
@@ -15246,7 +15209,7 @@ WriteEmailFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
15246
15209
  i0.ɵɵadvance(1);
15247
15210
  i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
15248
15211
  i0.ɵɵadvance(1);
15249
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$j, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
15212
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$i, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
15250
15213
  }
15251
15214
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
15252
15215
  (function () {
@@ -15501,7 +15464,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
15501
15464
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r4.label));
15502
15465
  }
15503
15466
  }
15504
- const _c1$i = function (a0) { return { "form-group-error": a0 }; };
15467
+ const _c1$h = function (a0) { return { "form-group-error": a0 }; };
15505
15468
  class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
15506
15469
  ngOnInit() {
15507
15470
  const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
@@ -15523,7 +15486,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
15523
15486
  i0.ɵɵelementEnd()();
15524
15487
  }
15525
15488
  if (rf & 2) {
15526
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$i, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
15489
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$h, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
15527
15490
  i0.ɵɵadvance(3);
15528
15491
  i0.ɵɵproperty("for", ctx.id());
15529
15492
  i0.ɵɵadvance(1);
@@ -15677,7 +15640,7 @@ function WriteJudicialUserFieldComponent_mat_option_11_Template(rf, ctx) {
15677
15640
  i0.ɵɵelementEnd();
15678
15641
  }
15679
15642
  }
15680
- const _c1$h = function (a0) { return { "form-group-error": a0 }; };
15643
+ const _c1$g = function (a0) { return { "form-group-error": a0 }; };
15681
15644
  class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
15682
15645
  constructor(jurisdictionService, sessionStorageService, caseFlagRefDataService, compoundPipe, validatorsService) {
15683
15646
  super(compoundPipe, validatorsService);
@@ -15830,7 +15793,7 @@ WriteJudicialUserFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
15830
15793
  }
15831
15794
  if (rf & 2) {
15832
15795
  const _r3 = i0.ɵɵreference(7);
15833
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c1$h, !!ctx.judicialUserControl && ctx.errors));
15796
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c1$g, !!ctx.judicialUserControl && ctx.errors));
15834
15797
  i0.ɵɵadvance(1);
15835
15798
  i0.ɵɵproperty("for", ctx.id());
15836
15799
  i0.ɵɵadvance(1);
@@ -16617,7 +16580,7 @@ function LinkCasesComponent_tr_31_span_15_Template(rf, ctx) {
16617
16580
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, reason_r19));
16618
16581
  }
16619
16582
  }
16620
- const _c1$g = function (a0) { return { "table-group-error": a0 }; };
16583
+ const _c1$f = function (a0) { return { "table-group-error": a0 }; };
16621
16584
  function LinkCasesComponent_tr_31_Template(rf, ctx) {
16622
16585
  if (rf & 1) {
16623
16586
  const _r21 = i0.ɵɵgetCurrentView();
@@ -16650,7 +16613,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) {
16650
16613
  const case_r16 = ctx.$implicit;
16651
16614
  const ctx_r2 = i0.ɵɵnextContext();
16652
16615
  i0.ɵɵadvance(2);
16653
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$g, ctx_r2.caseSelectionError && case_r16.caseReference === ctx_r2.linkCaseForm.value.caseNumber));
16616
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$f, ctx_r2.caseSelectionError && case_r16.caseReference === ctx_r2.linkCaseForm.value.caseNumber));
16654
16617
  i0.ɵɵadvance(2);
16655
16618
  i0.ɵɵtextInterpolate1("", case_r16.caseName, " ");
16656
16619
  i0.ɵɵadvance(2);
@@ -18737,7 +18700,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) {
18737
18700
  }
18738
18701
  }
18739
18702
  const _c0$E = function (a0) { return { "form-group-error": a0 }; };
18740
- const _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
18703
+ const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
18741
18704
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
18742
18705
  ngOnInit() {
18743
18706
  this.numberControl = this.registerControl(new FormControl(this.caseField.value));
@@ -18765,7 +18728,7 @@ WriteNumberFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: W
18765
18728
  i0.ɵɵadvance(1);
18766
18729
  i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
18767
18730
  i0.ɵɵadvance(1);
18768
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$f, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
18731
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
18769
18732
  }
18770
18733
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NumberValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
18771
18734
  (function () {
@@ -19481,7 +19444,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) {
19481
19444
  }
19482
19445
  }
19483
19446
  const _c0$C = function (a0) { return { "form-group-error": a0 }; };
19484
- const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
19447
+ const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
19485
19448
  class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
19486
19449
  ngOnInit() {
19487
19450
  this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
@@ -19509,7 +19472,7 @@ WritePhoneUKFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
19509
19472
  i0.ɵɵadvance(1);
19510
19473
  i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
19511
19474
  i0.ɵɵadvance(1);
19512
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
19475
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
19513
19476
  }
19514
19477
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
19515
19478
  (function () {
@@ -21751,7 +21714,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) {
21751
21714
  }
21752
21715
  }
21753
21716
  const _c0$z = function (a0) { return { "form-group-error": a0 }; };
21754
- const _c1$d = function (a0) { return { "govuk-textarea--error": a0 }; };
21717
+ const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
21755
21718
  class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
21756
21719
  constructor(browserService) {
21757
21720
  super();
@@ -21791,7 +21754,7 @@ WriteTextAreaFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
21791
21754
  i0.ɵɵadvance(1);
21792
21755
  i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
21793
21756
  i0.ɵɵadvance(1);
21794
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
21757
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
21795
21758
  }
21796
21759
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
21797
21760
  (function () {
@@ -21866,7 +21829,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) {
21866
21829
  }
21867
21830
  }
21868
21831
  const _c0$y = function (a0) { return { "form-group-error": a0 }; };
21869
- const _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
21832
+ const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
21870
21833
  class WriteTextFieldComponent extends AbstractFieldWriteComponent {
21871
21834
  ngOnInit() {
21872
21835
  this.textControl = this.registerControl(new FormControl(this.caseField.value));
@@ -21898,7 +21861,7 @@ WriteTextFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
21898
21861
  i0.ɵɵadvance(1);
21899
21862
  i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
21900
21863
  i0.ɵɵadvance(1);
21901
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
21864
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
21902
21865
  }
21903
21866
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
21904
21867
  (function () {
@@ -22105,7 +22068,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
22105
22068
  i0.ɵɵtextInterpolate(ctx_r3.caseField.label ? i0.ɵɵpipeBind3(4, 8, ctx_r3.caseField.label, null, value_r4) : value_r4);
22106
22069
  }
22107
22070
  }
22108
- const _c1$b = function (a0) { return { "form-group-error": a0 }; };
22071
+ const _c1$a = function (a0) { return { "form-group-error": a0 }; };
22109
22072
  class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
22110
22073
  constructor(yesNoService) {
22111
22074
  super();
@@ -22129,7 +22092,7 @@ WriteYesNoFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
22129
22092
  i0.ɵɵelementEnd()()();
22130
22093
  }
22131
22094
  if (rf & 2) {
22132
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$b, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
22095
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
22133
22096
  i0.ɵɵadvance(3);
22134
22097
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
22135
22098
  i0.ɵɵadvance(1);
@@ -22527,7 +22490,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_co
22527
22490
  i0.ɵɵelementContainer(0);
22528
22491
  }
22529
22492
  }
22530
- const _c1$a = function (a0, a1) { return { cat: a0, level: a1 }; };
22493
+ const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
22531
22494
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
22532
22495
  if (rf & 1) {
22533
22496
  i0.ɵɵelementContainerStart(0);
@@ -22540,7 +22503,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
22540
22503
  i0.ɵɵnextContext();
22541
22504
  const _r1 = i0.ɵɵreference(13);
22542
22505
  i0.ɵɵadvance(1);
22543
- i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$a, subcat_r8, level_r6 + 1));
22506
+ i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
22544
22507
  }
22545
22508
  }
22546
22509
  function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
@@ -22731,7 +22694,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
22731
22694
  }
22732
22695
  }
22733
22696
  const _c0$s = [[["", "trigger", ""]]];
22734
- const _c1$9 = ["[trigger]"];
22697
+ const _c1$8 = ["[trigger]"];
22735
22698
  class CaseFileViewOverlayMenuComponent {
22736
22699
  constructor() {
22737
22700
  this.title = '';
@@ -22745,7 +22708,7 @@ class CaseFileViewOverlayMenuComponent {
22745
22708
  }
22746
22709
  }
22747
22710
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
22748
- CaseFileViewOverlayMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
22711
+ CaseFileViewOverlayMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$8, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
22749
22712
  if (rf & 1) {
22750
22713
  i0.ɵɵprojectionDef(_c0$s);
22751
22714
  i0.ɵɵelementStart(0, "div")(1, "button", 0, 1);
@@ -23035,9 +22998,10 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
23035
22998
  i0.ɵɵelement(6, "br");
23036
22999
  i0.ɵɵelementStart(7, "span", 17);
23037
23000
  i0.ɵɵtext(8);
23001
+ i0.ɵɵpipe(9, "date");
23038
23002
  i0.ɵɵelementEnd()();
23039
- i0.ɵɵelementStart(9, "div", 18)(10, "ccd-case-file-view-folder-document-actions", 19);
23040
- i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_10_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.triggerDocumentAction("changeFolder", node_r4)); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_10_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.triggerDocumentAction("openInANewTab", node_r4)); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_10_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r9 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r9.triggerDocumentAction("download", node_r4)); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_10_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.triggerDocumentAction("print", node_r4)); });
23003
+ i0.ɵɵelementStart(10, "div", 18)(11, "ccd-case-file-view-folder-document-actions", 19);
23004
+ i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_11_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.triggerDocumentAction("changeFolder", node_r4)); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_11_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.triggerDocumentAction("openInANewTab", node_r4)); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_11_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r9 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r9.triggerDocumentAction("download", node_r4)); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_11_listener() { const restoredCtx = i0.ɵɵrestoreView(_r6); const node_r4 = restoredCtx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.triggerDocumentAction("print", node_r4)); });
23041
23005
  i0.ɵɵelementEnd()()()();
23042
23006
  }
23043
23007
  if (rf & 2) {
@@ -23048,8 +23012,8 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
23048
23012
  i0.ɵɵadvance(4);
23049
23013
  i0.ɵɵtextInterpolate1(" ", node_r4.name, " ");
23050
23014
  i0.ɵɵadvance(3);
23051
- i0.ɵɵtextInterpolate(node_r4.upload_timestamp);
23052
- i0.ɵɵadvance(2);
23015
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 5, node_r4.upload_timestamp, "dd MMM YYYY"));
23016
+ i0.ɵɵadvance(3);
23053
23017
  i0.ɵɵproperty("allowMoving", ctx_r2.allowMoving);
23054
23018
  }
23055
23019
  }
@@ -23087,7 +23051,7 @@ function CaseFileViewFolderComponent_div_8_Template(rf, ctx) {
23087
23051
  i0.ɵɵelementStart(0, "div", 7);
23088
23052
  i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
23089
23053
  i0.ɵɵelementStart(2, "div")(3, "cdk-tree", 9);
23090
- i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 11, 5, "cdk-nested-tree-node", 10);
23054
+ i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 12, 8, "cdk-nested-tree-node", 10);
23091
23055
  i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 11);
23092
23056
  i0.ɵɵelementEnd()()();
23093
23057
  }
@@ -23177,7 +23141,7 @@ class CaseFileViewFolderComponent {
23177
23141
  documentTreeNode.document_binary_url = document.document_binary_url;
23178
23142
  documentTreeNode.attribute_path = document.attribute_path;
23179
23143
  documentTreeNode.upload_timestamp = this.appConfig.getEnableCaseFileViewVersion1_1()
23180
- && document.upload_timestamp ? moment$1(document.upload_timestamp).format('DD MMM YYYY') : '';
23144
+ && document.upload_timestamp ? moment$1(document.upload_timestamp).format('DD MMM YYYY HH:mm:ss') : '';
23181
23145
  documentsToReturn.push(documentTreeNode);
23182
23146
  });
23183
23147
  return documentsToReturn;
@@ -23192,7 +23156,7 @@ class CaseFileViewFolderComponent {
23192
23156
  documentTreeNode.document_binary_url = document.document_binary_url;
23193
23157
  documentTreeNode.attribute_path = document.attribute_path;
23194
23158
  documentTreeNode.upload_timestamp = this.appConfig.getEnableCaseFileViewVersion1_1()
23195
- && document.upload_timestamp ? moment$1(document.upload_timestamp).format('DD MMM YYYY') : '';
23159
+ && document.upload_timestamp ? moment$1(document.upload_timestamp).format('DD MMM YYYY HH:mm:ss') : '';
23196
23160
  documents.push(documentTreeNode);
23197
23161
  });
23198
23162
  const uncategorisedNode = new DocumentTreeNode();
@@ -23335,11 +23299,11 @@ CaseFileViewFolderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
23335
23299
  i0.ɵɵadvance(3);
23336
23300
  i0.ɵɵproperty("ngIf", ctx.documentTreeData);
23337
23301
  }
23338
- }, dependencies: [i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, i3.FormGroupDirective, i3.FormControlName, i7.CdkNestedTreeNode, i7.CdkTreeNodeDef, i7.CdkTreeNodeToggle, i7.CdkTree, i7.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderDocumentActionsComponent], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #FFF;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#EEE}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#CCC}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}"] });
23302
+ }, dependencies: [i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, i3.FormGroupDirective, i3.FormControlName, i7.CdkNestedTreeNode, i7.CdkTreeNodeDef, i7.CdkTreeNodeToggle, i7.CdkTree, i7.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderDocumentActionsComponent, i4.DatePipe], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #FFF;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#EEE}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#CCC}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}"] });
23339
23303
  (function () {
23340
23304
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
23341
23305
  type: Component,
23342
- args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input class=\"form-control document-search\"\n type=\"search\"\n id=\"document-search\"\n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\">\n </div>\n</div>\n\n<div class=\"document-folders-header\">\n <div class=\"document-folders-header__title\">Documents ({{ documentCount }})</div>\n <div>\n <ccd-case-file-view-folder-sort\n (sortAscending)=\"sortDataSourceAscending($event)\"\n (sortDescending)=\"sortDataSourceDescending($event)\"\n ></ccd-case-file-view-folder-sort>\n </div>\n</div>\n\n<div class=\"document-tree-container\" *ngIf=\"documentTreeData\">\n <div *ngIf=\"!nestedDataSource || nestedDataSource.length === 0\">\n No results found\n </div>\n <div>\n <cdk-tree [dataSource]=\"nestedDataSource\" [treeControl]=\"nestedTreeControl\">\n <!-- document -->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__node--document\" *cdkTreeNodeDef=\"let node\">\n <button class=\"node\" (click)=\"selectedNodeItem = node; clickedDocument.emit(node)\"\n [class.node--selected]=\"selectedNodeItem?.name === node.name\">\n <div class=\"node__icon\" disabled>\n <img src=\"/assets/img/case-file-view/case-file-view-document.svg\" class=\"node__iconImg\" alt=\"Document icon\">\n </div>\n <span class=\"node__name node-name-document\">\n {{node.name}}\n <br>\n <span class=\"node__document-upload-timestamp\">{{node.upload_timestamp}}</span>\n </span>\n <div class=\"node__document-options\">\n <ccd-case-file-view-folder-document-actions\n (changeFolderAction)=\"triggerDocumentAction('changeFolder', node)\"\n (openInANewTabAction)=\"triggerDocumentAction('openInANewTab', node)\"\n (downloadAction)=\"triggerDocumentAction('download', node)\"\n (printAction)=\"triggerDocumentAction('print', node)\"\n [allowMoving]=\"allowMoving\"\n >\n </ccd-case-file-view-folder-document-actions>\n </div>\n </button>\n </cdk-nested-tree-node>\n <!-- folder-->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__folder\" *cdkTreeNodeDef=\"let node; when: nestedChildren\">\n <button class=\"node\" cdkTreeNodeToggle>\n <div class=\"node__icon\" [attr.aria-label]=\"'toggle ' + node.name\" >\n <img class=\"node__iconImg\"\n [src]=\"nestedTreeControl.isExpanded(node) ? '/assets/images/folder-open.png' : '/assets/images/folder.png'\" alt=\"Folder icon\">\n <span class=\"node__count\">{{node.childDocumentCount}}</span>\n </div>\n <span class=\"node__name node__name--folder\">{{node.name}}</span>\n </button>\n\n <div [class.document-tree-invisible]=\"!nestedTreeControl.isExpanded(node)\">\n <ng-container cdkTreeNodeOutlet></ng-container>\n </div>\n </cdk-nested-tree-node>\n </cdk-tree>\n </div>\n</div>\n", styles: [":host{display:flex;height:100%;flex-direction:column}:host .document-tree-container{flex:1 0}.document-filter-container{border-bottom:2px solid #C9C9C9}.document-filter-container .document-filter{padding:10px}.document-filter-container .document-filter .document-search{background:url(/assets/images/icon-search-black.svg) no-repeat right #FFF;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container .documents-title{height:30%;margin-left:8px;font-weight:700}.document-tree-container{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node{display:block}.document-tree-container__node .document-tree-container__node{padding-left:40px}.document-tree-container .document-tree-invisible{display:none}.document-tree-container::-webkit-scrollbar{width:7px}.document-tree-container::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container::-webkit-scrollbar-button{display:none}.document-tree-container::-webkit-scrollbar-track-piece{background:#EEE}.document-tree-container::-webkit-scrollbar-thumb{background:#CCC}.document-folders-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title{font-weight:700}.node{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected{background:#fff2cc}.node__icon{position:relative;display:inline-block}.node__count{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg{display:block;height:30px;width:30px}.node__name{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options{margin-left:auto;margin-right:0}.node__document-upload-timestamp{font-size:.8rem;float:left;padding-left:10px}\n"] }]
23306
+ args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input class=\"form-control document-search\"\n type=\"search\"\n id=\"document-search\"\n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\">\n </div>\n</div>\n\n<div class=\"document-folders-header\">\n <div class=\"document-folders-header__title\">Documents ({{ documentCount }})</div>\n <div>\n <ccd-case-file-view-folder-sort\n (sortAscending)=\"sortDataSourceAscending($event)\"\n (sortDescending)=\"sortDataSourceDescending($event)\"\n ></ccd-case-file-view-folder-sort>\n </div>\n</div>\n\n<div class=\"document-tree-container\" *ngIf=\"documentTreeData\">\n <div *ngIf=\"!nestedDataSource || nestedDataSource.length === 0\">\n No results found\n </div>\n <div>\n <cdk-tree [dataSource]=\"nestedDataSource\" [treeControl]=\"nestedTreeControl\">\n <!-- document -->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__node--document\" *cdkTreeNodeDef=\"let node\">\n <button class=\"node\" (click)=\"selectedNodeItem = node; clickedDocument.emit(node)\"\n [class.node--selected]=\"selectedNodeItem?.name === node.name\">\n <div class=\"node__icon\" disabled>\n <img src=\"/assets/img/case-file-view/case-file-view-document.svg\" class=\"node__iconImg\" alt=\"Document icon\">\n </div>\n <span class=\"node__name node-name-document\">\n {{node.name}}\n <br>\n <span class=\"node__document-upload-timestamp\">{{node.upload_timestamp | date:\"dd MMM YYYY\"}}</span>\n </span>\n <div class=\"node__document-options\">\n <ccd-case-file-view-folder-document-actions\n (changeFolderAction)=\"triggerDocumentAction('changeFolder', node)\"\n (openInANewTabAction)=\"triggerDocumentAction('openInANewTab', node)\"\n (downloadAction)=\"triggerDocumentAction('download', node)\"\n (printAction)=\"triggerDocumentAction('print', node)\"\n [allowMoving]=\"allowMoving\"\n >\n </ccd-case-file-view-folder-document-actions>\n </div>\n </button>\n </cdk-nested-tree-node>\n <!-- folder-->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__folder\" *cdkTreeNodeDef=\"let node; when: nestedChildren\">\n <button class=\"node\" cdkTreeNodeToggle>\n <div class=\"node__icon\" [attr.aria-label]=\"'toggle ' + node.name\" >\n <img class=\"node__iconImg\"\n [src]=\"nestedTreeControl.isExpanded(node) ? '/assets/images/folder-open.png' : '/assets/images/folder.png'\" alt=\"Folder icon\">\n <span class=\"node__count\">{{node.childDocumentCount}}</span>\n </div>\n <span class=\"node__name node__name--folder\">{{node.name}}</span>\n </button>\n\n <div [class.document-tree-invisible]=\"!nestedTreeControl.isExpanded(node)\">\n <ng-container cdkTreeNodeOutlet></ng-container>\n </div>\n </cdk-nested-tree-node>\n </cdk-tree>\n </div>\n</div>\n", styles: [":host{display:flex;height:100%;flex-direction:column}:host .document-tree-container{flex:1 0}.document-filter-container{border-bottom:2px solid #C9C9C9}.document-filter-container .document-filter{padding:10px}.document-filter-container .document-filter .document-search{background:url(/assets/images/icon-search-black.svg) no-repeat right #FFF;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container .documents-title{height:30%;margin-left:8px;font-weight:700}.document-tree-container{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node{display:block}.document-tree-container__node .document-tree-container__node{padding-left:40px}.document-tree-container .document-tree-invisible{display:none}.document-tree-container::-webkit-scrollbar{width:7px}.document-tree-container::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container::-webkit-scrollbar-button{display:none}.document-tree-container::-webkit-scrollbar-track-piece{background:#EEE}.document-tree-container::-webkit-scrollbar-thumb{background:#CCC}.document-folders-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title{font-weight:700}.node{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected{background:#fff2cc}.node__icon{position:relative;display:inline-block}.node__count{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg{display:block;height:30px;width:30px}.node__name{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options{margin-left:auto;margin-right:0}.node__document-upload-timestamp{font-size:.8rem;float:left;padding-left:10px}\n"] }]
23343
23307
  }], function () { return [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: AbstractAppConfig }]; }, { categoriesAndDocuments: [{
23344
23308
  type: Input
23345
23309
  }], allowMoving: [{
@@ -25006,7 +24970,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_div_8_Template(rf, ctx) {
25006
24970
  }
25007
24971
  }
25008
24972
  const _c0$n = function (a0) { return { "form-group-error": a0 }; };
25009
- const _c1$8 = function (a0) { return { "govuk-input--error": a0 }; };
24973
+ const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
25010
24974
  function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
25011
24975
  if (rf & 1) {
25012
24976
  i0.ɵɵelementStart(0, "div", 18)(1, "div", 3)(2, "label", 19);
@@ -25028,7 +24992,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
25028
24992
  i0.ɵɵadvance(3);
25029
24993
  i0.ɵɵproperty("ngIf", ctx_r7.flagTypeErrorMessage.length > 0);
25030
24994
  i0.ɵɵadvance(1);
25031
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$8, ctx_r7.flagTypeErrorMessage.length > 0))("name", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION)("formControlName", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION);
24995
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$7, ctx_r7.flagTypeErrorMessage.length > 0))("name", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION)("formControlName", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION);
25032
24996
  i0.ɵɵadvance(1);
25033
24997
  i0.ɵɵproperty("ngIf", !ctx_r7.isDisplayContextParameterExternal && !ctx_r7.isCaseLevelFlag && ctx_r7.isDisplayContextParameter2Point1Enabled);
25034
24998
  }
@@ -25598,7 +25562,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) {
25598
25562
  i0.ɵɵproperty("ngIf", ctx_r9.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
25599
25563
  }
25600
25564
  }
25601
- const _c1$7 = function (a0) { return { "form-group-error": a0 }; };
25565
+ const _c1$6 = function (a0) { return { "form-group-error": a0 }; };
25602
25566
  class UpdateFlagComponent {
25603
25567
  constructor(rpxTranslationService) {
25604
25568
  this.rpxTranslationService = rpxTranslationService;
@@ -25807,7 +25771,7 @@ UpdateFlagComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateF
25807
25771
  const _r3 = i0.ɵɵreference(17);
25808
25772
  i0.ɵɵproperty("formGroup", ctx.formGroup);
25809
25773
  i0.ɵɵadvance(2);
25810
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$7, ctx.errorMessages.length > 0));
25774
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$6, ctx.errorMessages.length > 0));
25811
25775
  i0.ɵɵadvance(3);
25812
25776
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 13, ctx.updateFlagTitle), " ");
25813
25777
  i0.ɵɵadvance(2);
@@ -27203,7 +27167,7 @@ const CUSTOM_MOMENT_FORMATS = {
27203
27167
  };
27204
27168
 
27205
27169
  const _c0$g = ["picker"];
27206
- const _c1$6 = ["input"];
27170
+ const _c1$5 = ["input"];
27207
27171
  function DatetimePickerComponent_span_3_Template(rf, ctx) {
27208
27172
  if (rf & 1) {
27209
27173
  i0.ɵɵelementStart(0, "span", 11);
@@ -27267,7 +27231,7 @@ function DatetimePickerComponent_span_7_Template(rf, ctx) {
27267
27231
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is later than the maximum date allowed"));
27268
27232
  }
27269
27233
  }
27270
- const _c2$2 = function (a0) { return { "form-group-error": a0 }; };
27234
+ const _c2$1 = function (a0) { return { "form-group-error": a0 }; };
27271
27235
  class DatetimePickerComponent extends AbstractFormFieldComponent {
27272
27236
  constructor(formatTranslationService, ngxMatDateFormats) {
27273
27237
  super();
@@ -27433,7 +27397,7 @@ DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { re
27433
27397
  DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
27434
27398
  if (rf & 1) {
27435
27399
  i0.ɵɵviewQuery(_c0$g, 5);
27436
- i0.ɵɵviewQuery(_c1$6, 5);
27400
+ i0.ɵɵviewQuery(_c1$5, 5);
27437
27401
  }
27438
27402
  if (rf & 2) {
27439
27403
  let _t;
@@ -27469,7 +27433,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
27469
27433
  }
27470
27434
  if (rf & 2) {
27471
27435
  const _r6 = i0.ɵɵreference(13);
27472
- i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$2, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
27436
+ i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$1, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
27473
27437
  i0.ɵɵadvance(3);
27474
27438
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
27475
27439
  i0.ɵɵadvance(1);
@@ -27723,7 +27687,7 @@ function EventLogTableComponent_tr_20_div_6_Template(rf, ctx) {
27723
27687
  i0.ɵɵtextInterpolate(ctx_r5.getSignificantItemDesc(event_r1));
27724
27688
  }
27725
27689
  }
27726
- const _c1$5 = function (a0) { return { "EventLogTable-Selected": a0 }; };
27690
+ const _c1$4 = function (a0) { return { "EventLogTable-Selected": a0 }; };
27727
27691
  function EventLogTableComponent_tr_20_Template(rf, ctx) {
27728
27692
  if (rf & 1) {
27729
27693
  const _r18 = i0.ɵɵgetCurrentView();
@@ -27756,7 +27720,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) {
27756
27720
  if (rf & 2) {
27757
27721
  const event_r1 = ctx.$implicit;
27758
27722
  const ctx_r0 = i0.ɵɵnextContext();
27759
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$5, ctx_r0.selected === event_r1));
27723
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$4, ctx_r0.selected === event_r1));
27760
27724
  i0.ɵɵattribute("aria-label", ctx_r0.getAriaLabelforRow(event_r1));
27761
27725
  i0.ɵɵadvance(2);
27762
27726
  i0.ɵɵproperty("ngSwitch", ctx_r0.isPartOfCaseTimeline);
@@ -29824,36 +29788,6 @@ function CaseEditSubmitComponent_div_0_ng_container_13_Template(rf, ctx) {
29824
29788
  i0.ɵɵproperty("ngForOf", ctx_r8.showSummaryFields);
29825
29789
  }
29826
29790
  }
29827
- function CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template(rf, ctx) {
29828
- if (rf & 1) {
29829
- i0.ɵɵelementStart(0, "span", 48);
29830
- i0.ɵɵtext(1);
29831
- i0.ɵɵpipe(2, "rpxTranslate");
29832
- i0.ɵɵpipe(3, "ccdFirstError");
29833
- i0.ɵɵelementEnd();
29834
- }
29835
- if (rf & 2) {
29836
- const ctx_r36 = i0.ɵɵnextContext(3);
29837
- i0.ɵɵadvance(1);
29838
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r36.summary.errors, ctx_r36.eventSummaryLabel)), " ");
29839
- }
29840
- }
29841
- function CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template(rf, ctx) {
29842
- if (rf & 1) {
29843
- i0.ɵɵelementStart(0, "span", 48);
29844
- i0.ɵɵtext(1);
29845
- i0.ɵɵpipe(2, "rpxTranslate");
29846
- i0.ɵɵpipe(3, "ccdFirstError");
29847
- i0.ɵɵelementEnd();
29848
- }
29849
- if (rf & 2) {
29850
- const ctx_r37 = i0.ɵɵnextContext(3);
29851
- i0.ɵɵadvance(1);
29852
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r37.description.errors, ctx_r37.eventDescriptionLabel)), " ");
29853
- }
29854
- }
29855
- const _c1$4 = function (a0) { return { "form-group-error": a0 }; };
29856
- const _c2$1 = function (a0) { return { "govuk-input--error": a0 }; };
29857
29791
  function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
29858
29792
  if (rf & 1) {
29859
29793
  i0.ɵɵelementContainerStart(0);
@@ -29864,38 +29798,21 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
29864
29798
  i0.ɵɵelementStart(6, "span", 43);
29865
29799
  i0.ɵɵtext(7, "A few words describing the purpose of the event.");
29866
29800
  i0.ɵɵelementEnd()();
29867
- i0.ɵɵtemplate(8, CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template, 4, 6, "span", 44);
29868
- i0.ɵɵelement(9, "input", 45);
29801
+ i0.ɵɵelement(8, "input", 44);
29869
29802
  i0.ɵɵelementEnd();
29870
- i0.ɵɵelementStart(10, "div", 41)(11, "label", 46);
29871
- i0.ɵɵtext(12, "Event description (optional)");
29803
+ i0.ɵɵelementStart(9, "div", 41)(10, "label", 45);
29804
+ i0.ɵɵtext(11, "Event description (optional)");
29872
29805
  i0.ɵɵelementEnd();
29873
- i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template, 4, 6, "span", 44);
29874
- i0.ɵɵelement(14, "textarea", 47);
29806
+ i0.ɵɵelement(12, "textarea", 46);
29875
29807
  i0.ɵɵelementEnd()();
29876
29808
  i0.ɵɵelementContainerEnd();
29877
29809
  }
29878
- if (rf & 2) {
29879
- const ctx_r9 = i0.ɵɵnextContext(2);
29880
- i0.ɵɵadvance(3);
29881
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$4, !!ctx_r9.summary && !ctx_r9.summary.valid && (ctx_r9.summary.dirty || ctx_r9.summary.touched)));
29882
- i0.ɵɵadvance(5);
29883
- i0.ɵɵproperty("ngIf", (ctx_r9.summary == null ? null : ctx_r9.summary.errors) && (ctx_r9.summary.dirty || ctx_r9.summary.touched));
29884
- i0.ɵɵadvance(1);
29885
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$1, (ctx_r9.summary == null ? null : ctx_r9.summary.errors) && (ctx_r9.summary.dirty || ctx_r9.summary.touched)));
29886
- i0.ɵɵadvance(1);
29887
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$4, !!ctx_r9.description && !ctx_r9.description.valid && (ctx_r9.description.dirty || ctx_r9.description.touched)));
29888
- i0.ɵɵadvance(3);
29889
- i0.ɵɵproperty("ngIf", (ctx_r9.description == null ? null : ctx_r9.description.errors) && (ctx_r9.description.dirty || ctx_r9.description.touched));
29890
- i0.ɵɵadvance(1);
29891
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$1, (ctx_r9.description == null ? null : ctx_r9.description.errors) && (ctx_r9.description.dirty || ctx_r9.description.touched)));
29892
- }
29893
29810
  }
29894
29811
  function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
29895
29812
  if (rf & 1) {
29896
- const _r39 = i0.ɵɵgetCurrentView();
29897
- i0.ɵɵelementStart(0, "button", 49);
29898
- i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r39); const ctx_r38 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r38.previous()); });
29813
+ const _r37 = i0.ɵɵgetCurrentView();
29814
+ i0.ɵɵelementStart(0, "button", 47);
29815
+ i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.previous()); });
29899
29816
  i0.ɵɵtext(1);
29900
29817
  i0.ɵɵpipe(2, "rpxTranslate");
29901
29818
  i0.ɵɵelementEnd();
@@ -29909,7 +29826,7 @@ function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
29909
29826
  }
29910
29827
  function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29911
29828
  if (rf & 1) {
29912
- const _r41 = i0.ɵɵgetCurrentView();
29829
+ const _r39 = i0.ɵɵgetCurrentView();
29913
29830
  i0.ɵɵelementStart(0, "div")(1, "h1", 2);
29914
29831
  i0.ɵɵtext(2);
29915
29832
  i0.ɵɵpipe(3, "rpxTranslate");
@@ -29919,13 +29836,13 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29919
29836
  i0.ɵɵtemplate(7, CaseEditSubmitComponent_div_0_ng_template_7_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
29920
29837
  i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 6);
29921
29838
  i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
29922
- i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r40.callbackErrorsNotify($event)); });
29839
+ i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r39); const ctx_r38 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r38.callbackErrorsNotify($event)); });
29923
29840
  i0.ɵɵelementEnd();
29924
29841
  i0.ɵɵelementStart(11, "form", 8);
29925
- i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r41); const ctx_r42 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r42.submit()); });
29842
+ i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r39); const ctx_r40 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r40.submit()); });
29926
29843
  i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_0_ng_container_12_Template, 8, 5, "ng-container", 0);
29927
29844
  i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_13_Template, 4, 1, "ng-container", 0);
29928
- i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 15, 14, "ng-container", 0);
29845
+ i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 13, 0, "ng-container", 0);
29929
29846
  i0.ɵɵelementStart(15, "div", 9);
29930
29847
  i0.ɵɵtemplate(16, CaseEditSubmitComponent_div_0_button_16_Template, 3, 4, "button", 10);
29931
29848
  i0.ɵɵelementStart(17, "button", 11);
@@ -29933,7 +29850,7 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29933
29850
  i0.ɵɵpipe(19, "rpxTranslate");
29934
29851
  i0.ɵɵelementEnd()();
29935
29852
  i0.ɵɵelementStart(20, "p", 12)(21, "a", 13);
29936
- i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r41); const ctx_r43 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r43.cancel()); });
29853
+ i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r39); const ctx_r41 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r41.cancel()); });
29937
29854
  i0.ɵɵtext(22);
29938
29855
  i0.ɵɵpipe(23, "rpxTranslate");
29939
29856
  i0.ɵɵelementEnd()()()();
@@ -29972,9 +29889,9 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29972
29889
  }
29973
29890
  function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
29974
29891
  if (rf & 1) {
29975
- const _r45 = i0.ɵɵgetCurrentView();
29976
- i0.ɵɵelementStart(0, "ccd-case-event-completion", 50);
29977
- i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r45); const ctx_r44 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r44.onEventCanBeCompleted($event)); });
29892
+ const _r43 = i0.ɵɵgetCurrentView();
29893
+ i0.ɵɵelementStart(0, "ccd-case-event-completion", 48);
29894
+ i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r43); const ctx_r42 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r42.onEventCanBeCompleted($event)); });
29978
29895
  i0.ɵɵelementEnd();
29979
29896
  }
29980
29897
  if (rf & 2) {
@@ -29984,17 +29901,14 @@ function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
29984
29901
  }
29985
29902
  // @dynamic
29986
29903
  class CaseEditSubmitComponent {
29987
- constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier, formValidatorsService) {
29904
+ constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier) {
29988
29905
  this.caseEdit = caseEdit;
29989
29906
  this.fieldsUtils = fieldsUtils;
29990
29907
  this.caseFieldService = caseFieldService;
29991
29908
  this.route = route;
29992
29909
  this.orderService = orderService;
29993
29910
  this.profileNotifier = profileNotifier;
29994
- this.formValidatorsService = formValidatorsService;
29995
29911
  this.paletteContext = PaletteContext.CHECK_YOUR_ANSWER;
29996
- this.eventSummaryLabel = 'Event summary';
29997
- this.eventDescriptionLabel = 'Event description';
29998
29912
  }
29999
29913
  get isDisabled() {
30000
29914
  // EUI-3452.
@@ -30005,7 +29919,7 @@ class CaseEditSubmitComponent {
30005
29919
  }
30006
29920
  ngOnInit() {
30007
29921
  var _a, _b, _c;
30008
- this.profileSubscription = this.profileNotifier.profile.subscribe((_) => this.profile = _);
29922
+ this.profileSubscription = this.profileNotifier.profile.subscribe(_ => this.profile = _);
30009
29923
  this.eventTrigger = this.caseEdit.eventTrigger;
30010
29924
  this.triggerText = this.eventTrigger.end_button_label || CallbackErrorsComponent.TRIGGER_TEXT_SUBMIT;
30011
29925
  this.editForm = this.caseEdit.form;
@@ -30018,12 +29932,10 @@ class CaseEditSubmitComponent {
30018
29932
  // Indicates if the submission is for a Case Flag, as opposed to a "regular" form submission, by the presence of
30019
29933
  // a FlagLauncher field in the event trigger
30020
29934
  this.caseEdit.isCaseFlagSubmission =
30021
- this.eventTrigger.case_fields.some((caseField) => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']));
29935
+ this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']));
30022
29936
  this.caseEdit.isLinkedCasesSubmission =
30023
29937
  this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['ComponentLauncher']));
30024
29938
  this.pageTitle = this.getPageTitle();
30025
- this.summary = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.summary');
30026
- this.description = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.description');
30027
29939
  }
30028
29940
  ngOnDestroy() {
30029
29941
  /* istanbul ignore else */
@@ -30032,14 +29944,12 @@ class CaseEditSubmitComponent {
30032
29944
  }
30033
29945
  }
30034
29946
  submit() {
30035
- if (this.summary.valid && this.description.valid) {
30036
- this.caseEdit.submitForm({
30037
- eventTrigger: this.eventTrigger,
30038
- form: this.editForm,
30039
- submit: this.caseEdit.submit,
30040
- caseDetails: this.caseEdit.caseDetails
30041
- });
30042
- }
29947
+ this.caseEdit.submitForm({
29948
+ eventTrigger: this.eventTrigger,
29949
+ form: this.editForm,
29950
+ submit: this.caseEdit.submit,
29951
+ caseDetails: this.caseEdit.caseDetails,
29952
+ });
30043
29953
  }
30044
29954
  onEventCanBeCompleted(eventCanBeCompleted) {
30045
29955
  this.caseEdit.onEventCanBeCompleted({
@@ -30047,7 +29957,7 @@ class CaseEditSubmitComponent {
30047
29957
  eventCanBeCompleted,
30048
29958
  caseDetails: this.caseEdit.caseDetails,
30049
29959
  form: this.editForm,
30050
- submit: this.caseEdit.submit
29960
+ submit: this.caseEdit.submit,
30051
29961
  });
30052
29962
  }
30053
29963
  getPageTitle() {
@@ -30123,7 +30033,7 @@ class CaseEditSubmitComponent {
30123
30033
  }
30124
30034
  }
30125
30035
  readOnlySummaryFieldsToDisplayExists() {
30126
- return this.eventTrigger.case_fields.some((field) => field.show_summary_content_option >= 0);
30036
+ return this.eventTrigger.case_fields.some(field => field.show_summary_content_option >= 0);
30127
30037
  }
30128
30038
  showEventNotes() {
30129
30039
  var _a;
@@ -30139,7 +30049,7 @@ class CaseEditSubmitComponent {
30139
30049
  }
30140
30050
  getLastPageShown() {
30141
30051
  let lastPage;
30142
- this.wizard.reverse().forEach((page) => {
30052
+ this.wizard.reverse().forEach(page => {
30143
30053
  if (!lastPage && this.isShown(page)) {
30144
30054
  lastPage = page;
30145
30055
  }
@@ -30158,7 +30068,7 @@ class CaseEditSubmitComponent {
30158
30068
  }
30159
30069
  isShown(page) {
30160
30070
  const fields = this.fieldsUtils
30161
- .mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls.data.value);
30071
+ .mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls['data'].value);
30162
30072
  return page.parsedShowCondition.match(fields);
30163
30073
  }
30164
30074
  canShowFieldInCYA(field) {
@@ -30167,7 +30077,7 @@ class CaseEditSubmitComponent {
30167
30077
  sortFieldsByShowSummaryContent(fields) {
30168
30078
  return this.orderService
30169
30079
  .sort(fields, CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION)
30170
- .filter((cf) => cf.show_summary_content_option);
30080
+ .filter(cf => cf.show_summary_content_option);
30171
30081
  }
30172
30082
  getCaseFields() {
30173
30083
  if (this.caseEdit.caseDetails) {
@@ -30186,7 +30096,9 @@ class CaseEditSubmitComponent {
30186
30096
  if (this.eventTrigger.can_save_draft) {
30187
30097
  return 'Return to case list';
30188
30098
  }
30189
- return 'Cancel';
30099
+ else {
30100
+ return 'Cancel';
30101
+ }
30190
30102
  }
30191
30103
  }
30192
30104
  CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
@@ -30200,8 +30112,8 @@ CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
30200
30112
  }
30201
30113
  return a.show_summary_content_option - b.show_summary_content_option;
30202
30114
  };
30203
- CaseEditSubmitComponent.ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(FormValidatorsService)); };
30204
- CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], [3, "error"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditSubmitComponent_Template(rf, ctx) {
30115
+ CaseEditSubmitComponent.ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
30116
+ CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], [3, "error"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditSubmitComponent_Template(rf, ctx) {
30205
30117
  if (rf & 1) {
30206
30118
  i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_Template, 24, 22, "div", 0);
30207
30119
  i0.ɵɵtemplate(1, CaseEditSubmitComponent_ccd_case_event_completion_1_Template, 1, 1, "ccd-case-event-completion", 1);
@@ -30215,8 +30127,8 @@ CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cas
30215
30127
  (function () {
30216
30128
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
30217
30129
  type: Component,
30218
- args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!summary && !summary.valid && (summary.dirty || summary.touched)}\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <span class=\"error-message\" *ngIf=\"summary?.errors && (summary.dirty || summary.touched)\">\n {{summary.errors | ccdFirstError: eventSummaryLabel | rpxTranslate}}\n </span>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\"\n [ngClass]=\"{'govuk-input--error': summary?.errors && (summary.dirty || summary.touched)}\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!description && !description.valid && (description.dirty || description.touched)}\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <span class=\"error-message\" *ngIf=\"description?.errors && (description.dirty || description.touched)\">\n {{description.errors | ccdFirstError: eventDescriptionLabel | rpxTranslate}}\n </span>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n [ngClass]=\"{'govuk-input--error': description?.errors && (description.dirty || description.touched)}\" maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n <div class=\"form-group form-group-related\">\n <button *ngIf=\"!caseEdit.isCaseFlagSubmission\" class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
30219
- }], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: FormValidatorsService }]; }, null);
30130
+ args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n <div class=\"form-group form-group-related\">\n <button *ngIf=\"!caseEdit.isCaseFlagSubmission\" class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
30131
+ }], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }]; }, null);
30220
30132
  })();
30221
30133
 
30222
30134
  function CaseProgressComponent_div_0_Template(rf, ctx) {
@@ -30614,7 +30526,7 @@ i0.ɵɵsetComponentScope(CaseEditPageComponent, function () {
30614
30526
  CaseEditGenericErrorsComponent];
30615
30527
  }, function () { return [i4.AsyncPipe, CaseReferencePipe, CcdCaseTitlePipe, i1.RpxTranslatePipe]; });
30616
30528
  i0.ɵɵsetComponentScope(CaseEditFormComponent, function () { return [i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i3.NgControlStatusGroup, i3.FormGroupDirective, LabelSubstitutorDirective, ConditionalShowFormDirective, FieldReadComponent, FieldWriteComponent]; }, function () { return [IsCompoundPipe, IsReadOnlyAndNotCollectionPipe]; });
30617
- i0.ɵɵsetComponentScope(CaseEditSubmitComponent, function () { return [i4.NgClass, i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i3.ɵNgNoValidate, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, i3.MaxLengthValidator, i3.FormGroupDirective, i3.FormControlName, i3.FormGroupName, LabelSubstitutorDirective, CallbackErrorsComponent, MarkdownComponent, FieldReadComponent, CaseEventCompletionComponent, CaseEditGenericErrorsComponent]; }, function () { return [FirstErrorPipe, IsCompoundPipe, CaseReferencePipe, CcdCaseTitlePipe, CcdCYAPageLabelFilterPipe, ReadFieldsFilterPipe, CcdPageFieldsPipe, i1.RpxTranslatePipe]; });
30529
+ i0.ɵɵsetComponentScope(CaseEditSubmitComponent, function () { return [i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i3.ɵNgNoValidate, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, i3.MaxLengthValidator, i3.FormGroupDirective, i3.FormControlName, i3.FormGroupName, LabelSubstitutorDirective, CallbackErrorsComponent, MarkdownComponent, FieldReadComponent, CaseEventCompletionComponent, CaseEditGenericErrorsComponent]; }, function () { return [IsCompoundPipe, CaseReferencePipe, CcdCaseTitlePipe, CcdCYAPageLabelFilterPipe, ReadFieldsFilterPipe, CcdPageFieldsPipe, i1.RpxTranslatePipe]; });
30618
30530
  i0.ɵɵsetComponentScope(CaseCreateComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
30619
30531
  i0.ɵɵsetComponentScope(CaseProgressComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
30620
30532