@hmcts/ccd-case-ui-toolkit 7.0.34-pre-release-markdown → 7.0.34

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 (23) 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/document/write-document-field.component.mjs +4 -4
  5. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +5 -5
  6. package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +5 -5
  7. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +3 -26
  8. package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +1 -1
  9. package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +1 -4
  10. package/esm2020/lib/shared/services/form/form-validators.service.mjs +2 -27
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +109 -214
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  13. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +109 -205
  14. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
  15. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +3 -8
  16. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
  17. package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
  18. package/lib/shared/components/palette/markdown/markdown.component.d.ts +1 -4
  19. package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
  21. package/lib/shared/services/form/form-validators.service.d.ts +0 -4
  22. package/lib/shared/services/form/form-validators.service.d.ts.map +1 -1
  23. 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();
@@ -14416,7 +14385,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
14416
14385
  let _t;
14417
14386
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
14418
14387
  }
14419
- }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 20, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "id", "click", "keyUp"], ["type", "file", 1, "form-control", "bottom-30", 3, "id", "accept", "keydown.Tab", "change"], ["fileInput", ""], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "disabled", "click"], [1, "form-hint"], [1, "error-message"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) {
14388
+ }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 20, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "id", "click"], ["type", "file", 1, "form-control", "bottom-30", 3, "id", "accept", "keydown.Tab", "change"], ["fileInput", ""], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "disabled", "click"], [1, "form-hint"], [1, "error-message"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) {
14420
14389
  if (rf & 1) {
14421
14390
  i0.ɵɵelementStart(0, "div", 0)(1, "label", 1)(2, "span", 2);
14422
14391
  i0.ɵɵpipe(3, "ccdFieldLabel");
@@ -14429,7 +14398,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
14429
14398
  i0.ɵɵtemplate(9, WriteDocumentFieldComponent_ccd_read_document_field_9_Template, 1, 1, "ccd-read-document-field", 5);
14430
14399
  i0.ɵɵelementEnd();
14431
14400
  i0.ɵɵelementStart(10, "div", 6)(11, "div", 7);
14432
- i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_div_click_11_listener() { return ctx.fileSelectEvent(); })("keyUp", function WriteDocumentFieldComponent_Template_div_keyUp_11_listener() { return ctx.fileSelectEvent(); });
14401
+ i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_div_click_11_listener() { return ctx.fileSelectEvent(); });
14433
14402
  i0.ɵɵelementEnd();
14434
14403
  i0.ɵɵelementStart(12, "input", 8, 9);
14435
14404
  i0.ɵɵlistener("keydown.Tab", function WriteDocumentFieldComponent_Template_input_keydown_Tab_12_listener() { return ctx.fileValidationsOnTab(); })("change", function WriteDocumentFieldComponent_Template_input_change_12_listener($event) { return ctx.fileChangeEvent($event); });
@@ -14441,7 +14410,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
14441
14410
  i0.ɵɵelementEnd()();
14442
14411
  }
14443
14412
  if (rf & 2) {
14444
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$l, !ctx.valid));
14413
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$k, !ctx.valid));
14445
14414
  i0.ɵɵadvance(1);
14446
14415
  i0.ɵɵproperty("for", ctx.id());
14447
14416
  i0.ɵɵadvance(1);
@@ -14468,7 +14437,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
14468
14437
  (function () {
14469
14438
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDocumentFieldComponent, [{
14470
14439
  type: Component,
14471
- args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"fileUploadMessages && !valid\">{{fileUploadMessages | rpxTranslate}}</span>\n\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style='position:relative'>\n\n <div [id]=\"createElementId('fileInputWrapper')\" (click)=\"fileSelectEvent()\" (keyUp)=\"fileSelectEvent()\"></div>\n <input class=\"form-control bottom-30\" [id]=\"id()\" type=\"file\" (keydown.Tab)=\"fileValidationsOnTab()\" (change)=\"fileChangeEvent($event)\"\n accept=\"{{caseField.field_type.regular_expression}}\" #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button class=\"button button-secondary\" type=\"button\" aria-label=\"Cancel upload\" (click)=\"cancelUpload()\" [disabled]=\"!isUploadInProgress()\">{{'Cancel upload' | rpxTranslate}}</button>\n</div>\n" }]
14440
+ args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"fileUploadMessages && !valid\">{{fileUploadMessages | rpxTranslate}}</span>\n\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style='position:relative'>\n\n <div [id]=\"createElementId('fileInputWrapper')\" (click)=\"fileSelectEvent()\"></div>\n <input class=\"form-control bottom-30\" [id]=\"id()\" type=\"file\" (keydown.Tab)=\"fileValidationsOnTab()\" (change)=\"fileChangeEvent($event)\"\n accept=\"{{caseField.field_type.regular_expression}}\" #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button class=\"button button-secondary\" type=\"button\" aria-label=\"Cancel upload\" (click)=\"cancelUpload()\" [disabled]=\"!isUploadInProgress()\">{{'Cancel upload' | rpxTranslate}}</button>\n</div>\n" }]
14472
14441
  }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
14473
14442
  type: ViewChild,
14474
14443
  args: ['fileInput', { static: false }]
@@ -14665,14 +14634,9 @@ WriteDynamicListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
14665
14634
  })();
14666
14635
 
14667
14636
  class MarkdownComponent {
14668
- constructor() {
14669
- this.renderUrlToTextFeature = true;
14670
- }
14637
+ constructor() { }
14671
14638
  ngOnInit() {
14672
14639
  this.content = this.content.replace(/ \n/g, '<br>');
14673
- if (this.renderUrlToTextFeature) {
14674
- this.renderUrlToText();
14675
- }
14676
14640
  }
14677
14641
  onMarkdownClick(event) {
14678
14642
  // If we don't have an anchor tag, we don't need to do anything.
@@ -14681,28 +14645,13 @@ class MarkdownComponent {
14681
14645
  }
14682
14646
  return true;
14683
14647
  }
14684
- renderUrlToText() {
14685
- const renderer = new marked.Renderer();
14686
- renderer.link = (href, title, text) => {
14687
- // Return the text without turning it into a link if it's not an internal link
14688
- return this.isAllowedUrl(href) ? `<a href="${href}">${text}</a>` : text;
14689
- };
14690
- marked.setOptions({
14691
- renderer: renderer
14692
- });
14693
- }
14694
- isAllowedUrl(url) {
14695
- const currentOrigin = window.location.origin;
14696
- const urlOrigin = new URL(url, window.location.href).origin;
14697
- return urlOrigin === currentOrigin || url.startsWith('/'); // Check if same origin or relative
14698
- }
14699
14648
  }
14700
14649
  MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
14701
14650
  MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
14702
14651
  if (rf & 1) {
14703
14652
  i0.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
14704
14653
  }
14705
- }, 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) {
14706
14655
  if (rf & 1) {
14707
14656
  i0.ɵɵelementStart(0, "div");
14708
14657
  i0.ɵɵelement(1, "markdown", 0);
@@ -14723,8 +14672,6 @@ MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownC
14723
14672
  type: Input
14724
14673
  }], markdownUseHrefAsRouterLink: [{
14725
14674
  type: Input
14726
- }], renderUrlToTextFeature: [{
14727
- type: Input
14728
14675
  }], onMarkdownClick: [{
14729
14676
  type: HostListener,
14730
14677
  args: ['click', ['$event']]
@@ -14859,7 +14806,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
14859
14806
  i0.ɵɵadvance(1);
14860
14807
  i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
14861
14808
  i0.ɵɵadvance(1);
14862
- i0.ɵɵproperty("content", checkbox_r4.label)("renderUrlToTextFeature", false);
14809
+ i0.ɵɵproperty("content", checkbox_r4.label);
14863
14810
  }
14864
14811
  }
14865
14812
  const _c0$O = function (a0) { return { "error": a0 }; };
@@ -14924,14 +14871,14 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
14924
14871
  }
14925
14872
  }
14926
14873
  WriteDynamicMultiSelectListFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(t || WriteDynamicMultiSelectListFieldComponent); }; }();
14927
- 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) {
14928
14875
  if (rf & 1) {
14929
14876
  i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
14930
14877
  i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
14931
14878
  i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
14932
14879
  i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
14933
14880
  i0.ɵɵelementEnd();
14934
- 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);
14935
14882
  i0.ɵɵelementEnd()();
14936
14883
  }
14937
14884
  if (rf & 2) {
@@ -14949,7 +14896,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
14949
14896
  (function () {
14950
14897
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
14951
14898
  type: Component,
14952
- 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"] }]
14953
14900
  }], null, null);
14954
14901
  })();
14955
14902
 
@@ -15093,7 +15040,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15093
15040
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r5.label));
15094
15041
  }
15095
15042
  }
15096
- const _c1$k = function (a0) { return { "form-group-error": a0 }; };
15043
+ const _c1$j = function (a0) { return { "form-group-error": a0 }; };
15097
15044
  class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
15098
15045
  ngOnInit() {
15099
15046
  /**
@@ -15133,7 +15080,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent
15133
15080
  i0.ɵɵelementEnd()();
15134
15081
  }
15135
15082
  if (rf & 2) {
15136
- 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());
15137
15084
  i0.ɵɵadvance(3);
15138
15085
  i0.ɵɵproperty("for", ctx.id());
15139
15086
  i0.ɵɵadvance(1);
@@ -15234,7 +15181,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) {
15234
15181
  }
15235
15182
  }
15236
15183
  const _c0$M = function (a0) { return { "form-group-error": a0 }; };
15237
- const _c1$j = function (a0) { return { "govuk-input--error": a0 }; };
15184
+ const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
15238
15185
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
15239
15186
  ngOnInit() {
15240
15187
  this.emailControl = this.registerControl(new FormControl(this.caseField.value));
@@ -15262,7 +15209,7 @@ WriteEmailFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
15262
15209
  i0.ɵɵadvance(1);
15263
15210
  i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
15264
15211
  i0.ɵɵadvance(1);
15265
- 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);
15266
15213
  }
15267
15214
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
15268
15215
  (function () {
@@ -15517,7 +15464,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
15517
15464
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r4.label));
15518
15465
  }
15519
15466
  }
15520
- const _c1$i = function (a0) { return { "form-group-error": a0 }; };
15467
+ const _c1$h = function (a0) { return { "form-group-error": a0 }; };
15521
15468
  class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
15522
15469
  ngOnInit() {
15523
15470
  const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
@@ -15539,7 +15486,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
15539
15486
  i0.ɵɵelementEnd()();
15540
15487
  }
15541
15488
  if (rf & 2) {
15542
- 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());
15543
15490
  i0.ɵɵadvance(3);
15544
15491
  i0.ɵɵproperty("for", ctx.id());
15545
15492
  i0.ɵɵadvance(1);
@@ -15693,7 +15640,7 @@ function WriteJudicialUserFieldComponent_mat_option_11_Template(rf, ctx) {
15693
15640
  i0.ɵɵelementEnd();
15694
15641
  }
15695
15642
  }
15696
- const _c1$h = function (a0) { return { "form-group-error": a0 }; };
15643
+ const _c1$g = function (a0) { return { "form-group-error": a0 }; };
15697
15644
  class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
15698
15645
  constructor(jurisdictionService, sessionStorageService, caseFlagRefDataService, compoundPipe, validatorsService) {
15699
15646
  super(compoundPipe, validatorsService);
@@ -15846,7 +15793,7 @@ WriteJudicialUserFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
15846
15793
  }
15847
15794
  if (rf & 2) {
15848
15795
  const _r3 = i0.ɵɵreference(7);
15849
- 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));
15850
15797
  i0.ɵɵadvance(1);
15851
15798
  i0.ɵɵproperty("for", ctx.id());
15852
15799
  i0.ɵɵadvance(1);
@@ -16633,7 +16580,7 @@ function LinkCasesComponent_tr_31_span_15_Template(rf, ctx) {
16633
16580
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, reason_r19));
16634
16581
  }
16635
16582
  }
16636
- const _c1$g = function (a0) { return { "table-group-error": a0 }; };
16583
+ const _c1$f = function (a0) { return { "table-group-error": a0 }; };
16637
16584
  function LinkCasesComponent_tr_31_Template(rf, ctx) {
16638
16585
  if (rf & 1) {
16639
16586
  const _r21 = i0.ɵɵgetCurrentView();
@@ -16666,7 +16613,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) {
16666
16613
  const case_r16 = ctx.$implicit;
16667
16614
  const ctx_r2 = i0.ɵɵnextContext();
16668
16615
  i0.ɵɵadvance(2);
16669
- 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));
16670
16617
  i0.ɵɵadvance(2);
16671
16618
  i0.ɵɵtextInterpolate1("", case_r16.caseName, " ");
16672
16619
  i0.ɵɵadvance(2);
@@ -18753,7 +18700,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) {
18753
18700
  }
18754
18701
  }
18755
18702
  const _c0$E = function (a0) { return { "form-group-error": a0 }; };
18756
- const _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
18703
+ const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
18757
18704
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
18758
18705
  ngOnInit() {
18759
18706
  this.numberControl = this.registerControl(new FormControl(this.caseField.value));
@@ -18781,7 +18728,7 @@ WriteNumberFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: W
18781
18728
  i0.ɵɵadvance(1);
18782
18729
  i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
18783
18730
  i0.ɵɵadvance(1);
18784
- 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);
18785
18732
  }
18786
18733
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NumberValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
18787
18734
  (function () {
@@ -19497,7 +19444,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) {
19497
19444
  }
19498
19445
  }
19499
19446
  const _c0$C = function (a0) { return { "form-group-error": a0 }; };
19500
- const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
19447
+ const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
19501
19448
  class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
19502
19449
  ngOnInit() {
19503
19450
  this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
@@ -19525,7 +19472,7 @@ WritePhoneUKFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
19525
19472
  i0.ɵɵadvance(1);
19526
19473
  i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
19527
19474
  i0.ɵɵadvance(1);
19528
- 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);
19529
19476
  }
19530
19477
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
19531
19478
  (function () {
@@ -21767,7 +21714,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) {
21767
21714
  }
21768
21715
  }
21769
21716
  const _c0$z = function (a0) { return { "form-group-error": a0 }; };
21770
- const _c1$d = function (a0) { return { "govuk-textarea--error": a0 }; };
21717
+ const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
21771
21718
  class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
21772
21719
  constructor(browserService) {
21773
21720
  super();
@@ -21807,7 +21754,7 @@ WriteTextAreaFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
21807
21754
  i0.ɵɵadvance(1);
21808
21755
  i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
21809
21756
  i0.ɵɵadvance(1);
21810
- 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);
21811
21758
  }
21812
21759
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
21813
21760
  (function () {
@@ -21882,7 +21829,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) {
21882
21829
  }
21883
21830
  }
21884
21831
  const _c0$y = function (a0) { return { "form-group-error": a0 }; };
21885
- const _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
21832
+ const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
21886
21833
  class WriteTextFieldComponent extends AbstractFieldWriteComponent {
21887
21834
  ngOnInit() {
21888
21835
  this.textControl = this.registerControl(new FormControl(this.caseField.value));
@@ -21914,7 +21861,7 @@ WriteTextFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
21914
21861
  i0.ɵɵadvance(1);
21915
21862
  i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
21916
21863
  i0.ɵɵadvance(1);
21917
- 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);
21918
21865
  }
21919
21866
  }, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
21920
21867
  (function () {
@@ -22121,7 +22068,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
22121
22068
  i0.ɵɵtextInterpolate(ctx_r3.caseField.label ? i0.ɵɵpipeBind3(4, 8, ctx_r3.caseField.label, null, value_r4) : value_r4);
22122
22069
  }
22123
22070
  }
22124
- const _c1$b = function (a0) { return { "form-group-error": a0 }; };
22071
+ const _c1$a = function (a0) { return { "form-group-error": a0 }; };
22125
22072
  class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
22126
22073
  constructor(yesNoService) {
22127
22074
  super();
@@ -22145,7 +22092,7 @@ WriteYesNoFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
22145
22092
  i0.ɵɵelementEnd()()();
22146
22093
  }
22147
22094
  if (rf & 2) {
22148
- 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)));
22149
22096
  i0.ɵɵadvance(3);
22150
22097
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
22151
22098
  i0.ɵɵadvance(1);
@@ -22543,7 +22490,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_co
22543
22490
  i0.ɵɵelementContainer(0);
22544
22491
  }
22545
22492
  }
22546
- const _c1$a = function (a0, a1) { return { cat: a0, level: a1 }; };
22493
+ const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
22547
22494
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
22548
22495
  if (rf & 1) {
22549
22496
  i0.ɵɵelementContainerStart(0);
@@ -22556,7 +22503,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
22556
22503
  i0.ɵɵnextContext();
22557
22504
  const _r1 = i0.ɵɵreference(13);
22558
22505
  i0.ɵɵadvance(1);
22559
- 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));
22560
22507
  }
22561
22508
  }
22562
22509
  function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
@@ -22748,7 +22695,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
22748
22695
  }
22749
22696
  }
22750
22697
  const _c0$s = [[["", "trigger", ""]]];
22751
- const _c1$9 = ["[trigger]"];
22698
+ const _c1$8 = ["[trigger]"];
22752
22699
  class CaseFileViewOverlayMenuComponent {
22753
22700
  constructor() {
22754
22701
  this.title = '';
@@ -22762,7 +22709,7 @@ class CaseFileViewOverlayMenuComponent {
22762
22709
  }
22763
22710
  }
22764
22711
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
22765
- 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) {
22712
+ 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) {
22766
22713
  if (rf & 1) {
22767
22714
  i0.ɵɵprojectionDef(_c0$s);
22768
22715
  i0.ɵɵelementStart(0, "div")(1, "button", 0, 1);
@@ -25025,7 +24972,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_div_8_Template(rf, ctx) {
25025
24972
  }
25026
24973
  }
25027
24974
  const _c0$n = function (a0) { return { "form-group-error": a0 }; };
25028
- const _c1$8 = function (a0) { return { "govuk-input--error": a0 }; };
24975
+ const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
25029
24976
  function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
25030
24977
  if (rf & 1) {
25031
24978
  i0.ɵɵelementStart(0, "div", 18)(1, "div", 3)(2, "label", 19);
@@ -25047,7 +24994,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
25047
24994
  i0.ɵɵadvance(3);
25048
24995
  i0.ɵɵproperty("ngIf", ctx_r7.flagTypeErrorMessage.length > 0);
25049
24996
  i0.ɵɵadvance(1);
25050
- 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);
24997
+ 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);
25051
24998
  i0.ɵɵadvance(1);
25052
24999
  i0.ɵɵproperty("ngIf", !ctx_r7.isDisplayContextParameterExternal && !ctx_r7.isCaseLevelFlag && ctx_r7.isDisplayContextParameter2Point1Enabled);
25053
25000
  }
@@ -25617,7 +25564,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) {
25617
25564
  i0.ɵɵproperty("ngIf", ctx_r9.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
25618
25565
  }
25619
25566
  }
25620
- const _c1$7 = function (a0) { return { "form-group-error": a0 }; };
25567
+ const _c1$6 = function (a0) { return { "form-group-error": a0 }; };
25621
25568
  class UpdateFlagComponent {
25622
25569
  constructor(rpxTranslationService) {
25623
25570
  this.rpxTranslationService = rpxTranslationService;
@@ -25826,7 +25773,7 @@ UpdateFlagComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateF
25826
25773
  const _r3 = i0.ɵɵreference(17);
25827
25774
  i0.ɵɵproperty("formGroup", ctx.formGroup);
25828
25775
  i0.ɵɵadvance(2);
25829
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$7, ctx.errorMessages.length > 0));
25776
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$6, ctx.errorMessages.length > 0));
25830
25777
  i0.ɵɵadvance(3);
25831
25778
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 13, ctx.updateFlagTitle), " ");
25832
25779
  i0.ɵɵadvance(2);
@@ -27222,7 +27169,7 @@ const CUSTOM_MOMENT_FORMATS = {
27222
27169
  };
27223
27170
 
27224
27171
  const _c0$g = ["picker"];
27225
- const _c1$6 = ["input"];
27172
+ const _c1$5 = ["input"];
27226
27173
  function DatetimePickerComponent_span_3_Template(rf, ctx) {
27227
27174
  if (rf & 1) {
27228
27175
  i0.ɵɵelementStart(0, "span", 11);
@@ -27286,7 +27233,7 @@ function DatetimePickerComponent_span_7_Template(rf, ctx) {
27286
27233
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is later than the maximum date allowed"));
27287
27234
  }
27288
27235
  }
27289
- const _c2$2 = function (a0) { return { "form-group-error": a0 }; };
27236
+ const _c2$1 = function (a0) { return { "form-group-error": a0 }; };
27290
27237
  class DatetimePickerComponent extends AbstractFormFieldComponent {
27291
27238
  constructor(formatTranslationService, ngxMatDateFormats) {
27292
27239
  super();
@@ -27452,7 +27399,7 @@ DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { re
27452
27399
  DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
27453
27400
  if (rf & 1) {
27454
27401
  i0.ɵɵviewQuery(_c0$g, 5);
27455
- i0.ɵɵviewQuery(_c1$6, 5);
27402
+ i0.ɵɵviewQuery(_c1$5, 5);
27456
27403
  }
27457
27404
  if (rf & 2) {
27458
27405
  let _t;
@@ -27488,7 +27435,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
27488
27435
  }
27489
27436
  if (rf & 2) {
27490
27437
  const _r6 = i0.ɵɵreference(13);
27491
- i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$2, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
27438
+ i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$1, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
27492
27439
  i0.ɵɵadvance(3);
27493
27440
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
27494
27441
  i0.ɵɵadvance(1);
@@ -27742,12 +27689,12 @@ function EventLogTableComponent_tr_20_div_6_Template(rf, ctx) {
27742
27689
  i0.ɵɵtextInterpolate(ctx_r5.getSignificantItemDesc(event_r1));
27743
27690
  }
27744
27691
  }
27745
- const _c1$5 = function (a0) { return { "EventLogTable-Selected": a0 }; };
27692
+ const _c1$4 = function (a0) { return { "EventLogTable-Selected": a0 }; };
27746
27693
  function EventLogTableComponent_tr_20_Template(rf, ctx) {
27747
27694
  if (rf & 1) {
27748
27695
  const _r18 = i0.ɵɵgetCurrentView();
27749
27696
  i0.ɵɵelementStart(0, "tr", 4);
27750
- i0.ɵɵlistener("click", function EventLogTableComponent_tr_20_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r18); const event_r1 = restoredCtx.$implicit; const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.select(event_r1)); })("keyUp", function EventLogTableComponent_tr_20_Template_tr_keyUp_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r18); const event_r1 = restoredCtx.$implicit; const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.select(event_r1)); });
27697
+ i0.ɵɵlistener("click", function EventLogTableComponent_tr_20_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r18); const event_r1 = restoredCtx.$implicit; const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.select(event_r1)); });
27751
27698
  i0.ɵɵelementStart(1, "td");
27752
27699
  i0.ɵɵelementContainerStart(2, 5);
27753
27700
  i0.ɵɵtemplate(3, EventLogTableComponent_tr_20_div_3_Template, 2, 1, "div", 6);
@@ -27757,7 +27704,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) {
27757
27704
  i0.ɵɵtemplate(6, EventLogTableComponent_tr_20_div_6_Template, 5, 3, "div", 9);
27758
27705
  i0.ɵɵelementEnd();
27759
27706
  i0.ɵɵelementStart(7, "td", 10);
27760
- i0.ɵɵlistener("keydown.enter", function EventLogTableComponent_tr_20_Template_td_keydown_enter_7_listener() { const restoredCtx = i0.ɵɵrestoreView(_r18); const event_r1 = restoredCtx.$implicit; const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.select(event_r1)); });
27707
+ i0.ɵɵlistener("keydown.enter", function EventLogTableComponent_tr_20_Template_td_keydown_enter_7_listener() { const restoredCtx = i0.ɵɵrestoreView(_r18); const event_r1 = restoredCtx.$implicit; const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.select(event_r1)); });
27761
27708
  i0.ɵɵelementStart(8, "div", 11);
27762
27709
  i0.ɵɵtext(9);
27763
27710
  i0.ɵɵpipe(10, "ccdDate");
@@ -27775,7 +27722,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) {
27775
27722
  if (rf & 2) {
27776
27723
  const event_r1 = ctx.$implicit;
27777
27724
  const ctx_r0 = i0.ɵɵnextContext();
27778
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$5, ctx_r0.selected === event_r1));
27725
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$4, ctx_r0.selected === event_r1));
27779
27726
  i0.ɵɵattribute("aria-label", ctx_r0.getAriaLabelforRow(event_r1));
27780
27727
  i0.ɵɵadvance(2);
27781
27728
  i0.ɵɵproperty("ngSwitch", ctx_r0.isPartOfCaseTimeline);
@@ -27846,7 +27793,7 @@ class EventLogTableComponent {
27846
27793
  }
27847
27794
  }
27848
27795
  EventLogTableComponent.ɵfac = function EventLogTableComponent_Factory(t) { return new (t || EventLogTableComponent)(); };
27849
- EventLogTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogTableComponent, selectors: [["ccd-event-log-table"]], inputs: { events: "events", selected: "selected" }, outputs: { onSelect: "onSelect", onCaseHistory: "onCaseHistory" }, decls: 21, vars: 13, consts: [[1, "EventLogTable"], [1, "heading-h2"], [1, "text-16"], ["tabindex", "0", 3, "ngClass", "click", "keyUp", 4, "ngFor", "ngForOf"], ["tabindex", "0", 3, "ngClass", "click", "keyUp"], [3, "ngSwitch"], ["id", "case-timeline", 4, "ngSwitchCase"], [4, "ngSwitchCase"], [4, "ngIf"], ["class", "tooltip", 4, "ngIf"], ["tabindex", "0", 3, "keydown.enter"], [1, "tooltip", "text-16"], [1, "tooltiptext"], ["tabindex", "0"], ["id", "case-timeline"], ["class", "text-16 event-link", 3, "click", 4, "ngIf"], [1, "text-16", "event-link", 3, "click"], ["class", "text-16 event-link", 3, "routerLink", "target", 4, "ngIf"], [1, "text-16", "event-link", 3, "routerLink", "target"], [1, "tooltip"], ["target", "_blank", "rel", "noopener", 3, "href"], ["alt", "document image", "src", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABoCAYAAABmOHdtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZA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IyEqZAAAAAElFTkSuQmCC", 1, "doc-img"], [1, "tooltiptext", "doc-tooltip"]], template: function EventLogTableComponent_Template(rf, ctx) {
27796
+ EventLogTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogTableComponent, selectors: [["ccd-event-log-table"]], inputs: { events: "events", selected: "selected" }, outputs: { onSelect: "onSelect", onCaseHistory: "onCaseHistory" }, decls: 21, vars: 13, consts: [[1, "EventLogTable"], [1, "heading-h2"], [1, "text-16"], ["tabindex", "0", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 3, "ngClass", "click"], [3, "ngSwitch"], ["id", "case-timeline", 4, "ngSwitchCase"], [4, "ngSwitchCase"], [4, "ngIf"], ["class", "tooltip", 4, "ngIf"], ["tabindex", "0", 3, "keydown.enter"], [1, "tooltip", "text-16"], [1, "tooltiptext"], ["tabindex", "0"], ["id", "case-timeline"], ["class", "text-16 event-link", 3, "click", 4, "ngIf"], [1, "text-16", "event-link", 3, "click"], ["class", "text-16 event-link", 3, "routerLink", "target", 4, "ngIf"], [1, "text-16", "event-link", 3, "routerLink", "target"], [1, "tooltip"], ["target", "_blank", "rel", "noopener", 3, "href"], ["alt", "document image", "src", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABoCAYAAABmOHdtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAkoSURBVHhe7d33c5RFHAZw/wCKiF0s2LAwiigq9l5G/UV/UUeFkEAoQqiWoKKI1Dg6YxQQbGmkXQoJIQQiaSShhiQMkgIphCSXkN4buPtcnnDG9fXCa+FN9mY+M5Lce7f3ZPb2u/vu+3rRsKn+Z4ey4e7BIB4XnQ8doA7QHB2gSTpAk3SAJlk+wOG9VL/7L+gATbrgAxzlHgAM6skVcTDhw2i4daENXvbZCXd9EAU8fqRbADi/5j9JB2jSBRvg2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8LAnaCzfNDwdukOQF2OzK3MrB91sXmwMn7A3ARQXLDiI6QMUPzwfLDE76+XMW0ryEn4PDT0l5wNOeDJqDREh6IfAPwdOaz68WXVjglJCD1kTRzSXnNrlCBzhYAvwrnIIliBJG4pI+bzLBJX8+n4MO/yA8ngFy0OKUMPVYBXDp3/m9XaEDHOwBcirHDZWcyn0spmcSp3CqY50xUF4yxsHjVE0z8JYDqmON6AAHe4C8gIYX1jBAn225wPJFdawzBsibVHARgUFyEFIda0QHONgDpK/jcoHlB28e4WoBfKmY7kncUtzVLW/S091XHvHiRtWxRnSAgz7A3ptBcNmLS/a8+VjU/iLg7U5YtvB4bioatzAceHkrb27Bk0osf/7w3i7QAQ76AHtxAyVPlPNWTly6z8ivhDd8d8NLPjvBY1Mq8CZlvClZQXkd8OJDHaAO0DWTvG3gtTkRePqSgwJPmPMSLm5zO3PmDBRW1IPHehGucNuicFC9lyt0gEMtQLr7gyjg1g0uCrCrcoq2t8AOyb9VABcTbl9sA9VrD4QOUPHaA2HZAIk3Fxsx1Q/u8Y4GBsugeVKJ2+FUr3U+dIAmWT7A/5sO0CQdoEk6QJN0gCbpAE0yHSBfYKgaMcMG/YMjHeDfMB2g6iDtHB2gSTpAk3SAJukATdIBmvSvBcj/UUnfGwxWitCcKcNxhQ7QQRmOK1iIql50KFGG4wodoIMyHFfoAB2U4bhCB+igDMcVOkAHZTiu0AFK/md/Bw8XevIIyEqZAAAAAElFTkSuQmCC", 1, "doc-img"], [1, "tooltiptext", "doc-tooltip"]], template: function EventLogTableComponent_Template(rf, ctx) {
27850
27797
  if (rf & 1) {
27851
27798
  i0.ɵɵelementStart(0, "table", 0)(1, "caption")(2, "h2", 1);
27852
27799
  i0.ɵɵtext(3);
@@ -27884,7 +27831,7 @@ EventLogTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Even
27884
27831
  (function () {
27885
27832
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventLogTableComponent, [{
27886
27833
  type: Component,
27887
- args: [{ selector: 'ccd-event-log-table', template: "<table class=\"EventLogTable\">\n <caption><h2 class=\"heading-h2\">{{'History' | rpxTranslate}}</h2></caption>\n <thead>\n <tr>\n <th><span class=\"text-16\">{{'Event' | rpxTranslate}}</span></th>\n <th><span class=\"text-16\">{{'Date' | rpxTranslate}}</span></th>\n <th><span class=\"text-16\">{{'Author' | rpxTranslate}}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let event of events\" (click)=\"select(event)\" (keyUp)=\"select(event)\" [ngClass]=\"{'EventLogTable-Selected': selected === event}\" tabindex=\"0\" attr.aria-label=\"{{getAriaLabelforRow(event)}}\">\n <td>\n <ng-container [ngSwitch]=\"isPartOfCaseTimeline\">\n <div id=\"case-timeline\" *ngSwitchCase=\"true\">\n <a (click)=\"caseHistoryClicked(event.id)\"\n *ngIf=\"event.state_id !== 'Draft'\" class=\"text-16 event-link\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">{{event.event_name | rpxTranslate}}</a>\n </div>\n <div *ngSwitchCase=\"false\">\n <a [routerLink]=\"['./', 'event', event.id, 'history']\"\n [target]=\"'_blank'\"\n *ngIf=\"event.state_id !== 'Draft'\" class=\"text-16 event-link\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">{{event.event_name | rpxTranslate}}</a>\n </div>\n </ng-container>\n <span *ngIf=\"event.state_id === 'Draft'\">{{event.event_name}}</span>\n <div class=\"tooltip\" *ngIf=\"significantItemExist(event)\">\n <a href=\"{{getSignificantItemUrl(event)}}\" target=\"_blank\" rel=\"noopener\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">\n <img class=\"doc-img\" alt=\"document image\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABoCAYAAABmOHdtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAkoS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{{getSignificantItemDesc(event)}}</span>\n </div>\n </td>\n <td tabindex=\"0\" attr.aria-label=\"{{getAriaLabelforColumn(event)}}\" (keydown.enter)=\"select(event)\"><div class=\"tooltip text-16\">{{event.timestamp | ccdDate : 'local'}}\n <span class=\"tooltiptext\">{{'Local:' | rpxTranslate}} {{event.timestamp | ccdDate : 'local'}}</span>\n </div></td>\n <td tabindex=\"0\"><span class=\"text-16\">{{event.user_first_name | titlecase}} {{event.user_last_name | uppercase}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: ["#case-timeline a{cursor:pointer;text-decoration:underline;color:#005ea5}#case-timeline a:hover{color:#2b8cc4}#case-timeline a:visited{color:#4c2c92}.EventLogTable tbody>tr td:first-child{padding-left:10px}.EventLogTable tbody>tr.EventLogTable-Selected{border-left:8px solid #005ea5;background-color:#f8f8f8}.EventLogTable tbody>tr.EventLogTable-Selected td:first-child{padding-left:6px}.EventLogTable tbody>tr:not(.EventLogTable-Selected):hover{border-left:8px solid #2b8cc4;background-color:#f8f8f8;cursor:pointer;cursor:hand}.EventLogTable tbody>tr:not(.EventLogTable-Selected):hover td:first-child{padding-left:6px}.EventLogTable tbody>tr .event-link{float:left;padding-right:8px}.EventLogTable tbody>tr .doc-img{width:16px;float:left}.EventLogTable tbody>tr .doc-tooltip{left:35%;bottom:7px}.EventLogTable tbody>tr .doc-tooltip:after{border-color:transparent}\n"] }]
27834
+ args: [{ selector: 'ccd-event-log-table', template: "<table class=\"EventLogTable\">\n <caption><h2 class=\"heading-h2\">{{'History' | rpxTranslate}}</h2></caption>\n <thead>\n <tr>\n <th><span class=\"text-16\">{{'Event' | rpxTranslate}}</span></th>\n <th><span class=\"text-16\">{{'Date' | rpxTranslate}}</span></th>\n <th><span class=\"text-16\">{{'Author' | rpxTranslate}}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let event of events\" (click)=\"select(event)\" [ngClass]=\"{'EventLogTable-Selected': selected === event}\" tabindex=\"0\" attr.aria-label=\"{{getAriaLabelforRow(event)}}\">\n <td>\n <ng-container [ngSwitch]=\"isPartOfCaseTimeline\">\n <div id=\"case-timeline\" *ngSwitchCase=\"true\">\n <a (click)=\"caseHistoryClicked(event.id)\"\n *ngIf=\"event.state_id !== 'Draft'\" class=\"text-16 event-link\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">{{event.event_name | rpxTranslate}}</a>\n </div>\n <div *ngSwitchCase=\"false\">\n <a [routerLink]=\"['./', 'event', event.id, 'history']\"\n [target]=\"'_blank'\"\n *ngIf=\"event.state_id !== 'Draft'\" class=\"text-16 event-link\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">{{event.event_name | rpxTranslate}}</a>\n </div>\n </ng-container>\n <span *ngIf=\"event.state_id === 'Draft'\">{{event.event_name}}</span>\n <div class=\"tooltip\" *ngIf=\"significantItemExist(event)\">\n <a href=\"{{getSignificantItemUrl(event)}}\" target=\"_blank\" rel=\"noopener\" attr.aria-label=\"{{getAriaLabelforLink(event)}}\">\n <img class=\"doc-img\" alt=\"document image\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABoCAYAAABmOHdtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAkoSURBVHhe7d33c5RFHAZw/wCKiF0s2LAwiigq9l5G/UV/UUeFkEAoQqiWoKKI1Dg6YxQQbGmkXQoJIQQiaSShhiQMkgIphCSXkN4buPtcnnDG9fXCa+FN9mY+M5Lce7f3ZPb2u/vu+3rRsKn+Z4ey4e7BIB4XnQ8doA7QHB2gSTpAk3SAJlk+wOG9VL/7L+gATbrgAxzlHgAM6skVcTDhw2i4daENXvbZCXd9EAU8fqRbADi/5j9JB2jSBRvg2Hmh8MAnMbAl/Ths+jUPqhvboLapHXJKTkPU/mKI2FcEdyyJhOvmhoLqvczQAZp0wQU4YVEAuPnGw5GTtdDd0wOdXd3Q1uGQ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jglJCD1kTRzSXnNrlCBzhYAvwrnIIliBJG4pI+bzLBJX8+n4MO/yA8ngFy0OKUMPVYBXDp3/m9XaEDHOwBcirHDZWcyn0spmcSp3CqY50xUF4yxsHjVE0z8JYDqmON6AAHe4C8gIYX1jBAn225wPJFdawzBsibVHARgUFyEFIda0QHONgDpK/jcoHlB28e4WoBfKmY7kncUtzVLW/S091XHvHiRtWxRnSAgz7A3ptBcNmLS/a8+VjU/iLg7U5YtvB4bioatzAceHkrb27Bk0osf/7w3i7QAQ76AHtxAyVPlPNWTly6z8ivhDd8d8NLPjvBY1Mq8CZlvClZQXkd8OJDHaAO0DWTvG3gtTkRePqSgwJPmPMSLm5zO3PmDBRW1IPHehGucNuicFC9lyt0gEMtQLr7gyjg1g0uCrCrcoq2t8AOyb9VABcTbl9sA9VrD4QOUPHaA2HZAIk3Fxsx1Q/u8Y4GBsugeVKJ2+FUr3U+dIAmWT7A/5sO0CQdoEk6QJN0gCbpAE0yHSBfYKgaMcMG/YMjHeDfMB2g6iDtHB2gSTpAk3SAJukATdIBmvSvBcj/UUnfGwxWitCcKcNxhQ7QQRmOK1iIql50KFGG4wodoIMyHFfoAB2U4bhCB+igDMcVOkAHZTiu0AFK/md/Bw8XevIIyEqZAAAAAElFTkSuQmCC\"/>\n </a>\n <span class=\"tooltiptext doc-tooltip\">{{getSignificantItemDesc(event)}}</span>\n </div>\n </td>\n <td tabindex=\"0\" attr.aria-label=\"{{getAriaLabelforColumn(event)}}\" (keydown.enter)=\"select(event)\"><div class=\"tooltip text-16\">{{event.timestamp | ccdDate : 'local'}}\n <span class=\"tooltiptext\">{{'Local:' | rpxTranslate}} {{event.timestamp | ccdDate : 'local'}}</span>\n </div></td>\n <td tabindex=\"0\"><span class=\"text-16\">{{event.user_first_name | titlecase}} {{event.user_last_name | uppercase}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: ["#case-timeline a{cursor:pointer;text-decoration:underline;color:#005ea5}#case-timeline a:hover{color:#2b8cc4}#case-timeline a:visited{color:#4c2c92}.EventLogTable tbody>tr td:first-child{padding-left:10px}.EventLogTable tbody>tr.EventLogTable-Selected{border-left:8px solid #005ea5;background-color:#f8f8f8}.EventLogTable tbody>tr.EventLogTable-Selected td:first-child{padding-left:6px}.EventLogTable tbody>tr:not(.EventLogTable-Selected):hover{border-left:8px solid #2b8cc4;background-color:#f8f8f8;cursor:pointer;cursor:hand}.EventLogTable tbody>tr:not(.EventLogTable-Selected):hover td:first-child{padding-left:6px}.EventLogTable tbody>tr .event-link{float:left;padding-right:8px}.EventLogTable tbody>tr .doc-img{width:16px;float:left}.EventLogTable tbody>tr .doc-tooltip{left:35%;bottom:7px}.EventLogTable tbody>tr .doc-tooltip:after{border-color:transparent}\n"] }]
27888
27835
  }], null, { events: [{
27889
27836
  type: Input
27890
27837
  }], selected: [{
@@ -29843,36 +29790,6 @@ function CaseEditSubmitComponent_div_0_ng_container_13_Template(rf, ctx) {
29843
29790
  i0.ɵɵproperty("ngForOf", ctx_r8.showSummaryFields);
29844
29791
  }
29845
29792
  }
29846
- function CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template(rf, ctx) {
29847
- if (rf & 1) {
29848
- i0.ɵɵelementStart(0, "span", 48);
29849
- i0.ɵɵtext(1);
29850
- i0.ɵɵpipe(2, "rpxTranslate");
29851
- i0.ɵɵpipe(3, "ccdFirstError");
29852
- i0.ɵɵelementEnd();
29853
- }
29854
- if (rf & 2) {
29855
- const ctx_r36 = i0.ɵɵnextContext(3);
29856
- i0.ɵɵadvance(1);
29857
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r36.summary.errors, ctx_r36.eventSummaryLabel)), " ");
29858
- }
29859
- }
29860
- function CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template(rf, ctx) {
29861
- if (rf & 1) {
29862
- i0.ɵɵelementStart(0, "span", 48);
29863
- i0.ɵɵtext(1);
29864
- i0.ɵɵpipe(2, "rpxTranslate");
29865
- i0.ɵɵpipe(3, "ccdFirstError");
29866
- i0.ɵɵelementEnd();
29867
- }
29868
- if (rf & 2) {
29869
- const ctx_r37 = i0.ɵɵnextContext(3);
29870
- i0.ɵɵadvance(1);
29871
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r37.description.errors, ctx_r37.eventDescriptionLabel)), " ");
29872
- }
29873
- }
29874
- const _c1$4 = function (a0) { return { "form-group-error": a0 }; };
29875
- const _c2$1 = function (a0) { return { "govuk-input--error": a0 }; };
29876
29793
  function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
29877
29794
  if (rf & 1) {
29878
29795
  i0.ɵɵelementContainerStart(0);
@@ -29883,38 +29800,21 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
29883
29800
  i0.ɵɵelementStart(6, "span", 43);
29884
29801
  i0.ɵɵtext(7, "A few words describing the purpose of the event.");
29885
29802
  i0.ɵɵelementEnd()();
29886
- i0.ɵɵtemplate(8, CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template, 4, 6, "span", 44);
29887
- i0.ɵɵelement(9, "input", 45);
29803
+ i0.ɵɵelement(8, "input", 44);
29888
29804
  i0.ɵɵelementEnd();
29889
- i0.ɵɵelementStart(10, "div", 41)(11, "label", 46);
29890
- i0.ɵɵtext(12, "Event description (optional)");
29805
+ i0.ɵɵelementStart(9, "div", 41)(10, "label", 45);
29806
+ i0.ɵɵtext(11, "Event description (optional)");
29891
29807
  i0.ɵɵelementEnd();
29892
- i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template, 4, 6, "span", 44);
29893
- i0.ɵɵelement(14, "textarea", 47);
29808
+ i0.ɵɵelement(12, "textarea", 46);
29894
29809
  i0.ɵɵelementEnd()();
29895
29810
  i0.ɵɵelementContainerEnd();
29896
29811
  }
29897
- if (rf & 2) {
29898
- const ctx_r9 = i0.ɵɵnextContext(2);
29899
- i0.ɵɵadvance(3);
29900
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$4, !!ctx_r9.summary && !ctx_r9.summary.valid && (ctx_r9.summary.dirty || ctx_r9.summary.touched)));
29901
- i0.ɵɵadvance(5);
29902
- i0.ɵɵproperty("ngIf", (ctx_r9.summary == null ? null : ctx_r9.summary.errors) && (ctx_r9.summary.dirty || ctx_r9.summary.touched));
29903
- i0.ɵɵadvance(1);
29904
- 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)));
29905
- i0.ɵɵadvance(1);
29906
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$4, !!ctx_r9.description && !ctx_r9.description.valid && (ctx_r9.description.dirty || ctx_r9.description.touched)));
29907
- i0.ɵɵadvance(3);
29908
- i0.ɵɵproperty("ngIf", (ctx_r9.description == null ? null : ctx_r9.description.errors) && (ctx_r9.description.dirty || ctx_r9.description.touched));
29909
- i0.ɵɵadvance(1);
29910
- 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)));
29911
- }
29912
29812
  }
29913
29813
  function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
29914
29814
  if (rf & 1) {
29915
- const _r39 = i0.ɵɵgetCurrentView();
29916
- i0.ɵɵelementStart(0, "button", 49);
29917
- 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()); });
29815
+ const _r37 = i0.ɵɵgetCurrentView();
29816
+ i0.ɵɵelementStart(0, "button", 47);
29817
+ 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()); });
29918
29818
  i0.ɵɵtext(1);
29919
29819
  i0.ɵɵpipe(2, "rpxTranslate");
29920
29820
  i0.ɵɵelementEnd();
@@ -29928,7 +29828,7 @@ function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
29928
29828
  }
29929
29829
  function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29930
29830
  if (rf & 1) {
29931
- const _r41 = i0.ɵɵgetCurrentView();
29831
+ const _r39 = i0.ɵɵgetCurrentView();
29932
29832
  i0.ɵɵelementStart(0, "div")(1, "h1", 2);
29933
29833
  i0.ɵɵtext(2);
29934
29834
  i0.ɵɵpipe(3, "rpxTranslate");
@@ -29938,13 +29838,13 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29938
29838
  i0.ɵɵtemplate(7, CaseEditSubmitComponent_div_0_ng_template_7_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
29939
29839
  i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 6);
29940
29840
  i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
29941
- 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)); });
29841
+ 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)); });
29942
29842
  i0.ɵɵelementEnd();
29943
29843
  i0.ɵɵelementStart(11, "form", 8);
29944
- 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()); });
29844
+ 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()); });
29945
29845
  i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_0_ng_container_12_Template, 8, 5, "ng-container", 0);
29946
29846
  i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_13_Template, 4, 1, "ng-container", 0);
29947
- i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 15, 14, "ng-container", 0);
29847
+ i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 13, 0, "ng-container", 0);
29948
29848
  i0.ɵɵelementStart(15, "div", 9);
29949
29849
  i0.ɵɵtemplate(16, CaseEditSubmitComponent_div_0_button_16_Template, 3, 4, "button", 10);
29950
29850
  i0.ɵɵelementStart(17, "button", 11);
@@ -29952,7 +29852,7 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29952
29852
  i0.ɵɵpipe(19, "rpxTranslate");
29953
29853
  i0.ɵɵelementEnd()();
29954
29854
  i0.ɵɵelementStart(20, "p", 12)(21, "a", 13);
29955
- 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()); });
29855
+ 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()); });
29956
29856
  i0.ɵɵtext(22);
29957
29857
  i0.ɵɵpipe(23, "rpxTranslate");
29958
29858
  i0.ɵɵelementEnd()()()();
@@ -29991,9 +29891,9 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
29991
29891
  }
29992
29892
  function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
29993
29893
  if (rf & 1) {
29994
- const _r45 = i0.ɵɵgetCurrentView();
29995
- i0.ɵɵelementStart(0, "ccd-case-event-completion", 50);
29996
- 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)); });
29894
+ const _r43 = i0.ɵɵgetCurrentView();
29895
+ i0.ɵɵelementStart(0, "ccd-case-event-completion", 48);
29896
+ 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)); });
29997
29897
  i0.ɵɵelementEnd();
29998
29898
  }
29999
29899
  if (rf & 2) {
@@ -30003,17 +29903,14 @@ function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
30003
29903
  }
30004
29904
  // @dynamic
30005
29905
  class CaseEditSubmitComponent {
30006
- constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier, formValidatorsService) {
29906
+ constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier) {
30007
29907
  this.caseEdit = caseEdit;
30008
29908
  this.fieldsUtils = fieldsUtils;
30009
29909
  this.caseFieldService = caseFieldService;
30010
29910
  this.route = route;
30011
29911
  this.orderService = orderService;
30012
29912
  this.profileNotifier = profileNotifier;
30013
- this.formValidatorsService = formValidatorsService;
30014
29913
  this.paletteContext = PaletteContext.CHECK_YOUR_ANSWER;
30015
- this.eventSummaryLabel = 'Event summary';
30016
- this.eventDescriptionLabel = 'Event description';
30017
29914
  }
30018
29915
  get isDisabled() {
30019
29916
  // EUI-3452.
@@ -30024,7 +29921,7 @@ class CaseEditSubmitComponent {
30024
29921
  }
30025
29922
  ngOnInit() {
30026
29923
  var _a, _b, _c;
30027
- this.profileSubscription = this.profileNotifier.profile.subscribe((_) => this.profile = _);
29924
+ this.profileSubscription = this.profileNotifier.profile.subscribe(_ => this.profile = _);
30028
29925
  this.eventTrigger = this.caseEdit.eventTrigger;
30029
29926
  this.triggerText = this.eventTrigger.end_button_label || CallbackErrorsComponent.TRIGGER_TEXT_SUBMIT;
30030
29927
  this.editForm = this.caseEdit.form;
@@ -30037,12 +29934,10 @@ class CaseEditSubmitComponent {
30037
29934
  // Indicates if the submission is for a Case Flag, as opposed to a "regular" form submission, by the presence of
30038
29935
  // a FlagLauncher field in the event trigger
30039
29936
  this.caseEdit.isCaseFlagSubmission =
30040
- this.eventTrigger.case_fields.some((caseField) => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']));
29937
+ this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']));
30041
29938
  this.caseEdit.isLinkedCasesSubmission =
30042
29939
  this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['ComponentLauncher']));
30043
29940
  this.pageTitle = this.getPageTitle();
30044
- this.summary = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.summary');
30045
- this.description = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.description');
30046
29941
  }
30047
29942
  ngOnDestroy() {
30048
29943
  /* istanbul ignore else */
@@ -30051,14 +29946,12 @@ class CaseEditSubmitComponent {
30051
29946
  }
30052
29947
  }
30053
29948
  submit() {
30054
- if (this.summary.valid && this.description.valid) {
30055
- this.caseEdit.submitForm({
30056
- eventTrigger: this.eventTrigger,
30057
- form: this.editForm,
30058
- submit: this.caseEdit.submit,
30059
- caseDetails: this.caseEdit.caseDetails
30060
- });
30061
- }
29949
+ this.caseEdit.submitForm({
29950
+ eventTrigger: this.eventTrigger,
29951
+ form: this.editForm,
29952
+ submit: this.caseEdit.submit,
29953
+ caseDetails: this.caseEdit.caseDetails,
29954
+ });
30062
29955
  }
30063
29956
  onEventCanBeCompleted(eventCanBeCompleted) {
30064
29957
  this.caseEdit.onEventCanBeCompleted({
@@ -30066,7 +29959,7 @@ class CaseEditSubmitComponent {
30066
29959
  eventCanBeCompleted,
30067
29960
  caseDetails: this.caseEdit.caseDetails,
30068
29961
  form: this.editForm,
30069
- submit: this.caseEdit.submit
29962
+ submit: this.caseEdit.submit,
30070
29963
  });
30071
29964
  }
30072
29965
  getPageTitle() {
@@ -30142,7 +30035,7 @@ class CaseEditSubmitComponent {
30142
30035
  }
30143
30036
  }
30144
30037
  readOnlySummaryFieldsToDisplayExists() {
30145
- return this.eventTrigger.case_fields.some((field) => field.show_summary_content_option >= 0);
30038
+ return this.eventTrigger.case_fields.some(field => field.show_summary_content_option >= 0);
30146
30039
  }
30147
30040
  showEventNotes() {
30148
30041
  var _a;
@@ -30158,7 +30051,7 @@ class CaseEditSubmitComponent {
30158
30051
  }
30159
30052
  getLastPageShown() {
30160
30053
  let lastPage;
30161
- this.wizard.reverse().forEach((page) => {
30054
+ this.wizard.reverse().forEach(page => {
30162
30055
  if (!lastPage && this.isShown(page)) {
30163
30056
  lastPage = page;
30164
30057
  }
@@ -30177,7 +30070,7 @@ class CaseEditSubmitComponent {
30177
30070
  }
30178
30071
  isShown(page) {
30179
30072
  const fields = this.fieldsUtils
30180
- .mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls.data.value);
30073
+ .mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls['data'].value);
30181
30074
  return page.parsedShowCondition.match(fields);
30182
30075
  }
30183
30076
  canShowFieldInCYA(field) {
@@ -30186,7 +30079,7 @@ class CaseEditSubmitComponent {
30186
30079
  sortFieldsByShowSummaryContent(fields) {
30187
30080
  return this.orderService
30188
30081
  .sort(fields, CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION)
30189
- .filter((cf) => cf.show_summary_content_option);
30082
+ .filter(cf => cf.show_summary_content_option);
30190
30083
  }
30191
30084
  getCaseFields() {
30192
30085
  if (this.caseEdit.caseDetails) {
@@ -30205,7 +30098,9 @@ class CaseEditSubmitComponent {
30205
30098
  if (this.eventTrigger.can_save_draft) {
30206
30099
  return 'Return to case list';
30207
30100
  }
30208
- return 'Cancel';
30101
+ else {
30102
+ return 'Cancel';
30103
+ }
30209
30104
  }
30210
30105
  }
30211
30106
  CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
@@ -30219,8 +30114,8 @@ CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
30219
30114
  }
30220
30115
  return a.show_summary_content_option - b.show_summary_content_option;
30221
30116
  };
30222
- 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)); };
30223
- 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) {
30117
+ 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)); };
30118
+ 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) {
30224
30119
  if (rf & 1) {
30225
30120
  i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_Template, 24, 22, "div", 0);
30226
30121
  i0.ɵɵtemplate(1, CaseEditSubmitComponent_ccd_case_event_completion_1_Template, 1, 1, "ccd-case-event-completion", 1);
@@ -30234,8 +30129,8 @@ CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cas
30234
30129
  (function () {
30235
30130
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
30236
30131
  type: Component,
30237
- 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"] }]
30238
- }], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: FormValidatorsService }]; }, null);
30132
+ 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"] }]
30133
+ }], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }]; }, null);
30239
30134
  })();
30240
30135
 
30241
30136
  function CaseProgressComponent_div_0_Template(rf, ctx) {
@@ -30633,7 +30528,7 @@ i0.ɵɵsetComponentScope(CaseEditPageComponent, function () {
30633
30528
  CaseEditGenericErrorsComponent];
30634
30529
  }, function () { return [i4.AsyncPipe, CaseReferencePipe, CcdCaseTitlePipe, i1.RpxTranslatePipe]; });
30635
30530
  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]; });
30636
- 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]; });
30531
+ 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]; });
30637
30532
  i0.ɵɵsetComponentScope(CaseCreateComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
30638
30533
  i0.ɵɵsetComponentScope(CaseProgressComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
30639
30534