@hmcts/ccd-case-ui-toolkit 7.4.26-4923 → 7.4.26-pofcc-436-optional-text

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, createNgModule, ViewContainerRef, ChangeDetectionStrategy, SecurityContext, Injector, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2
+ import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
3
  import * as i5 from '@angular/common';
4
4
  import { CommonModule, AsyncPipe, CurrencyPipe, formatDate } from '@angular/common';
5
5
  import * as i1 from 'rpx-xui-translation';
@@ -14,8 +14,6 @@ import * as i1$2 from '@angular/router';
14
14
  import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
15
15
  import * as i4 from '@angular/forms';
16
16
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
17
- import { safeJsonParse } from '@hmcts/ccd-case-ui-toolkit/json-utils';
18
- export { safeJsonParse } from '@hmcts/ccd-case-ui-toolkit/json-utils';
19
17
  import moment from 'moment';
20
18
  import * as _ from 'underscore';
21
19
  import 'reflect-metadata';
@@ -27,9 +25,11 @@ import * as i1$4 from 'ngx-markdown';
27
25
  import { MarkdownModule } from 'ngx-markdown';
28
26
  import * as i6 from '@angular/material/autocomplete';
29
27
  import { MatAutocompleteTrigger, MatAutocompleteModule } from '@angular/material/autocomplete';
28
+ import * as i3 from '@hmcts/ccpay-web-component';
29
+ import { PaymentLibModule } from '@hmcts/ccpay-web-component';
30
30
  import { v4 } from 'uuid';
31
31
  import * as i4$1 from '@angular/platform-browser';
32
- import * as i3 from 'ngx-editor';
32
+ import * as i3$1 from 'ngx-editor';
33
33
  import { Editor, NgxEditorModule } from 'ngx-editor';
34
34
  import { nodes, marks } from 'ngx-editor/schema';
35
35
  import { setBlockType } from 'prosemirror-commands';
@@ -50,8 +50,10 @@ import * as i5$1 from '@angular/material/form-field';
50
50
  import { MatFormFieldModule } from '@angular/material/form-field';
51
51
  import * as i6$2 from '@angular/material/datepicker';
52
52
  import { MatDatepickerModule } from '@angular/material/datepicker';
53
- import * as i14 from '@angular/material/input';
53
+ import * as i15 from '@angular/material/input';
54
54
  import { MatInputModule } from '@angular/material/input';
55
+ import * as i14 from '@hmcts/media-viewer';
56
+ import { MediaViewerModule } from '@hmcts/media-viewer';
55
57
  import { PortalModule } from '@angular/cdk/portal';
56
58
  import * as i2$1 from 'ngx-pagination';
57
59
  import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
@@ -59,7 +61,7 @@ import * as i10 from '@angular/material/tabs';
59
61
  import { MatTabsModule } from '@angular/material/tabs';
60
62
  import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
61
63
 
62
- const _c0$1d = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
64
+ const _c0$1a = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
63
65
  const _c1$w = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
64
66
  function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
65
67
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
@@ -137,7 +139,7 @@ class FooterComponent {
137
139
  workhours;
138
140
  static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
139
141
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$w, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
140
- i0.ɵɵprojectionDef(_c0$1d);
142
+ i0.ɵɵprojectionDef(_c0$1a);
141
143
  i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
142
144
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
143
145
  i0.ɵɵelementEnd()();
@@ -778,7 +780,7 @@ class ProfileService {
778
780
  type: Injectable
779
781
  }], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
780
782
 
781
- const _c0$1c = [[["", "headerNavigation", ""]]];
783
+ const _c0$19 = [[["", "headerNavigation", ""]]];
782
784
  const _c1$v = ["[headerNavigation]"];
783
785
  function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
784
786
  i0.ɵɵelementStart(0, "div")(1, "a", 12);
@@ -829,7 +831,7 @@ class HeaderBarComponent {
829
831
  }
830
832
  static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
831
833
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$v, 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"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
832
- i0.ɵɵprojectionDef(_c0$1c);
834
+ i0.ɵɵprojectionDef(_c0$19);
833
835
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
834
836
  i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
835
837
  i0.ɵɵelementEnd();
@@ -883,13 +885,13 @@ class HeaderBarComponent {
883
885
  }] }); })();
884
886
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 11 }); })();
885
887
 
886
- const _c0$1b = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
888
+ const _c0$18 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
887
889
  const _c1$u = ["[leftNavLinks]", "[rightNavLinks]"];
888
890
  class NavigationComponent {
889
891
  isSolicitor;
890
892
  static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
891
893
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
892
- i0.ɵɵprojectionDef(_c0$1b);
894
+ i0.ɵɵprojectionDef(_c0$18);
893
895
  i0.ɵɵelementStart(0, "div")(1, "nav", 0);
894
896
  i0.ɵɵprojection(2);
895
897
  i0.ɵɵprojection(3, 1);
@@ -1007,12 +1009,12 @@ class HeadersModule {
1007
1009
  }], null, null); })();
1008
1010
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
1009
1011
 
1010
- const _c0$1a = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
1012
+ const _c0$17 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
1011
1013
  const _c1$t = ["[topBody]", "[leftBody]", "[rightBody]"];
1012
1014
  class BodyComponent {
1013
1015
  static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
1014
1016
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$t, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
1015
- i0.ɵɵprojectionDef(_c0$1a);
1017
+ i0.ɵɵprojectionDef(_c0$17);
1016
1018
  i0.ɵɵelementStart(0, "div", 0);
1017
1019
  i0.ɵɵprojection(1);
1018
1020
  i0.ɵɵprojection(2, 1);
@@ -1026,7 +1028,7 @@ class BodyComponent {
1026
1028
  }], null, null); })();
1027
1029
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
1028
1030
 
1029
- const _c0$19 = a0 => ({ "govuk-input--error": a0 });
1031
+ const _c0$16 = a0 => ({ "govuk-input--error": a0 });
1030
1032
  function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
1031
1033
  const _r5 = i0.ɵɵgetCurrentView();
1032
1034
  i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
@@ -1043,7 +1045,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
1043
1045
  i0.ɵɵadvance();
1044
1046
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
1045
1047
  i0.ɵɵadvance(2);
1046
- i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
1048
+ i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
1047
1049
  i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
1048
1050
  } }
1049
1051
  function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
@@ -1062,7 +1064,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
1062
1064
  i0.ɵɵadvance();
1063
1065
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
1064
1066
  i0.ɵɵadvance(2);
1065
- i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
1067
+ i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
1066
1068
  i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
1067
1069
  } }
1068
1070
  function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
@@ -1081,7 +1083,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
1081
1083
  i0.ɵɵadvance();
1082
1084
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
1083
1085
  i0.ɵɵadvance(2);
1084
- i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
1086
+ i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
1085
1087
  i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
1086
1088
  } }
1087
1089
  class DateInputComponent {
@@ -1317,21 +1319,21 @@ class DateInputComponent {
1317
1319
  i0.ɵɵadvance();
1318
1320
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
1319
1321
  i0.ɵɵadvance(2);
1320
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$19, ctx.isInvalid));
1322
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$16, ctx.isInvalid));
1321
1323
  i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
1322
1324
  i0.ɵɵadvance(3);
1323
1325
  i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
1324
1326
  i0.ɵɵadvance();
1325
1327
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
1326
1328
  i0.ɵɵadvance(2);
1327
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$19, ctx.isInvalid));
1329
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$16, ctx.isInvalid));
1328
1330
  i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
1329
1331
  i0.ɵɵadvance(3);
1330
1332
  i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
1331
1333
  i0.ɵɵadvance();
1332
1334
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
1333
1335
  i0.ɵɵadvance(2);
1334
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$19, ctx.isInvalid));
1336
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$16, ctx.isInvalid));
1335
1337
  i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
1336
1338
  i0.ɵɵadvance(2);
1337
1339
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
@@ -1368,7 +1370,7 @@ class DateInputComponent {
1368
1370
  }] }); })();
1369
1371
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
1370
1372
 
1371
- const _c0$18 = ["*"];
1373
+ const _c0$15 = ["*"];
1372
1374
  function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
1373
1375
  i0.ɵɵelementContainerStart(0);
1374
1376
  i0.ɵɵnamespaceSVG();
@@ -1418,7 +1420,7 @@ class AlertComponent {
1418
1420
  showIcon = true;
1419
1421
  alertMessageType = AlertMessageType;
1420
1422
  static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
1421
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$18, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
1423
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$15, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
1422
1424
  i0.ɵɵprojectionDef();
1423
1425
  i0.ɵɵelementStart(0, "div", 0);
1424
1426
  i0.ɵɵelementContainerStart(1, 1);
@@ -1632,14 +1634,14 @@ class NotificationBannerComponent {
1632
1634
  }] }); })();
1633
1635
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
1634
1636
 
1635
- const _c0$17 = ["*"];
1637
+ const _c0$14 = ["*"];
1636
1638
  const _c1$s = a0 => ({ "js-hidden": a0 });
1637
1639
  class TabComponent {
1638
1640
  id;
1639
1641
  title;
1640
1642
  selected;
1641
1643
  static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
1642
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$17, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1644
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$14, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1643
1645
  i0.ɵɵprojectionDef();
1644
1646
  i0.ɵɵelementStart(0, "div", 0);
1645
1647
  i0.ɵɵprojection(1);
@@ -1661,7 +1663,7 @@ class TabComponent {
1661
1663
  }] }); })();
1662
1664
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
1663
1665
 
1664
- const _c0$16 = ["tab"];
1666
+ const _c0$13 = ["tab"];
1665
1667
  const _c1$r = ["*"];
1666
1668
  const _c2$5 = () => ["."];
1667
1669
  const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
@@ -1708,7 +1710,7 @@ class TabsComponent {
1708
1710
  let _t;
1709
1711
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1710
1712
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1711
- i0.ɵɵviewQuery(_c0$16, 5);
1713
+ i0.ɵɵviewQuery(_c0$13, 5);
1712
1714
  } if (rf & 2) {
1713
1715
  let _t;
1714
1716
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1767,7 +1769,7 @@ class TabsModule {
1767
1769
  RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
1768
1770
  TabComponent] }); })();
1769
1771
 
1770
- const _c0$15 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1772
+ const _c0$12 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1771
1773
  class ActivityBannerComponent {
1772
1774
  bannerType;
1773
1775
  description;
@@ -1786,7 +1788,7 @@ class ActivityBannerComponent {
1786
1788
  i0.ɵɵpipe(6, "rpxTranslate");
1787
1789
  i0.ɵɵelementEnd()();
1788
1790
  } if (rf & 2) {
1789
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$15, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1791
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$12, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1790
1792
  i0.ɵɵadvance(2);
1791
1793
  i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
1792
1794
  i0.ɵɵadvance(3);
@@ -1889,6 +1891,21 @@ class SessionStorageService {
1889
1891
  }]
1890
1892
  }], null, null); })();
1891
1893
 
1894
+ const logger = new StructuredLoggerService();
1895
+ function safeJsonParse(value, fallback = null) {
1896
+ if (!value) {
1897
+ return fallback;
1898
+ }
1899
+ try {
1900
+ return JSON.parse(value);
1901
+ }
1902
+ catch (error) {
1903
+ // Log for diagnostics, then return fallback to avoid UI crashes.
1904
+ logger.error('safeJsonParse failed to parse JSON.', { error });
1905
+ return fallback;
1906
+ }
1907
+ }
1908
+
1892
1909
  const SessionErrorRoute = new InjectionToken('SessionErrorRoute');
1893
1910
  const SessionJsonErrorLogger = new InjectionToken('SessionJsonErrorLogger');
1894
1911
  class SessionStorageGuard {
@@ -6304,15 +6321,20 @@ class FormValidatorsService {
6304
6321
  static DEFAULT_INPUT_TEXT = 'text';
6305
6322
  static DEFAULT_INPUT_TEXTAREA = 'textAreas';
6306
6323
  static addValidators(caseField, control) {
6307
- if (caseField.display_context === Constants.MANDATORY &&
6308
- !FormValidatorsService.isCustomValidatedType(caseField)) {
6309
- const validators = [Validators.required];
6324
+ const isMandatory = caseField.display_context === Constants.MANDATORY &&
6325
+ !FormValidatorsService.isCustomValidatedType(caseField);
6326
+ const isOptionalText = caseField.display_context === 'OPTIONAL' && caseField.field_type.type === 'Text';
6327
+ if (isMandatory || isOptionalText) {
6328
+ const validators = [];
6329
+ if (isMandatory) {
6330
+ validators.push(Validators.required);
6331
+ }
6310
6332
  if (caseField.field_type.type === 'Text') {
6311
6333
  validators.push(this.markDownPatternValidator());
6312
6334
  if (caseField.field_type.regular_expression) {
6313
6335
  validators.push(Validators.pattern(caseField.field_type.regular_expression));
6314
6336
  }
6315
- else {
6337
+ else if (isMandatory) {
6316
6338
  validators.push(this.emptyValidator());
6317
6339
  }
6318
6340
  if (caseField.field_type.min && (typeof caseField.field_type.min === 'number')) {
@@ -6331,7 +6353,7 @@ class FormValidatorsService {
6331
6353
  }
6332
6354
  control.setValidators(validators);
6333
6355
  }
6334
- else if (caseField.display_context === 'OPTIONAL' && (caseField.field_type.type === 'Text' || this.isTextAreaType(caseField.field_type.type))
6356
+ else if (caseField.display_context === 'OPTIONAL' && this.isTextAreaType(caseField.field_type.type)
6335
6357
  || (caseField.display_context === 'COMPLEX' && caseField.field_type.type === 'Complex')) {
6336
6358
  control.setValidators(this.markDownPatternValidator());
6337
6359
  }
@@ -13666,7 +13688,7 @@ class CaseEventCompletionComponent {
13666
13688
  }] }); })();
13667
13689
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 21 }); })();
13668
13690
 
13669
- const _c0$14 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13691
+ const _c0$11 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13670
13692
  class CaseEventCompletionTaskCancelledComponent {
13671
13693
  context;
13672
13694
  notifyEventCompletionCancelled = new EventEmitter();
@@ -13735,7 +13757,7 @@ class CaseEventCompletionTaskCancelledComponent {
13735
13757
  i0.ɵɵadvance(4);
13736
13758
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
13737
13759
  i0.ɵɵadvance(2);
13738
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$14, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13760
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$11, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13739
13761
  i0.ɵɵadvance();
13740
13762
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
13741
13763
  } }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -13750,7 +13772,7 @@ class CaseEventCompletionTaskCancelledComponent {
13750
13772
  }] }); })();
13751
13773
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 10 }); })();
13752
13774
 
13753
- const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13775
+ const _c0$10 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13754
13776
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
13755
13777
  const _r1 = i0.ɵɵgetCurrentView();
13756
13778
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -13803,7 +13825,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
13803
13825
  i0.ɵɵadvance(4);
13804
13826
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
13805
13827
  i0.ɵɵadvance(2);
13806
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$13, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13828
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$10, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13807
13829
  i0.ɵɵadvance();
13808
13830
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
13809
13831
  } }
@@ -14206,7 +14228,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
14206
14228
  }] }); })();
14207
14229
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
14208
14230
 
14209
- const _c0$12 = ["writeComplexFieldComponent"];
14231
+ const _c0$$ = ["writeComplexFieldComponent"];
14210
14232
  const _c1$q = a0 => ({ "form-group-error": a0 });
14211
14233
  const _c2$4 = a0 => ({ "govuk-input--error": a0 });
14212
14234
  function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
@@ -14485,7 +14507,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14485
14507
  }
14486
14508
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
14487
14509
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
14488
- i0.ɵɵviewQuery(_c0$12, 5);
14510
+ i0.ɵɵviewQuery(_c0$$, 5);
14489
14511
  i0.ɵɵviewQuery(FocusElementDirective, 5);
14490
14512
  } if (rf & 2) {
14491
14513
  let _t;
@@ -14548,7 +14570,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
14548
14570
  type: Input
14549
14571
  }] }); })();
14550
14572
 
14551
- const _c0$11 = ["journeyChild"];
14573
+ const _c0$_ = ["journeyChild"];
14552
14574
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14553
14575
  multipageComponentStateService;
14554
14576
  journeyStartPageNumber = 0;
@@ -14623,7 +14645,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14623
14645
  ;
14624
14646
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14625
14647
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14626
- i0.ɵɵviewQuery(_c0$11, 5);
14648
+ i0.ɵɵviewQuery(_c0$_, 5);
14627
14649
  } if (rf & 2) {
14628
14650
  let _t;
14629
14651
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -14638,7 +14660,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14638
14660
  args: ['journeyChild']
14639
14661
  }] }); })();
14640
14662
 
14641
- const _c0$10 = ["journeyChild"];
14663
+ const _c0$Z = ["journeyChild"];
14642
14664
  class AbstractJourneyComponent {
14643
14665
  multipageComponentStateService;
14644
14666
  journeyStartPageNumber = 0;
@@ -14700,7 +14722,7 @@ class AbstractJourneyComponent {
14700
14722
  onPageChange() { }
14701
14723
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14702
14724
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14703
- i0.ɵɵviewQuery(_c0$10, 5);
14725
+ i0.ɵɵviewQuery(_c0$Z, 5);
14704
14726
  } if (rf & 2) {
14705
14727
  let _t;
14706
14728
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -14729,9 +14751,8 @@ var DisplayContextCustomParameter;
14729
14751
  DisplayContextCustomParameter["QueryManagementWriteTest"] = "QueryManagementWriteTest";
14730
14752
  })(DisplayContextCustomParameter || (DisplayContextCustomParameter = {}));
14731
14753
 
14732
- const _c0$$ = ["mediaViewerHost"];
14733
14754
  function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
14734
- i0.ɵɵelementStart(0, "li")(1, "button", 9);
14755
+ i0.ɵɵelementStart(0, "li")(1, "button", 8);
14735
14756
  i0.ɵɵtext(2);
14736
14757
  i0.ɵɵelementEnd()();
14737
14758
  } if (rf & 2) {
@@ -14741,11 +14762,11 @@ function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (
14741
14762
  } }
14742
14763
  function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
14743
14764
  i0.ɵɵelementContainerStart(0);
14744
- i0.ɵɵelementStart(1, "div", 3)(2, "div", 4)(3, "h2", 5);
14765
+ i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "h2", 4);
14745
14766
  i0.ɵɵtext(4, "There is a problem");
14746
14767
  i0.ɵɵelementEnd();
14747
- i0.ɵɵelementStart(5, "div", 6)(6, "ul", 7);
14748
- i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li", 8);
14768
+ i0.ɵɵelementStart(5, "div", 5)(6, "ul", 6);
14769
+ i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li", 7);
14749
14770
  i0.ɵɵelementEnd()()()();
14750
14771
  i0.ɵɵelementContainerEnd();
14751
14772
  } if (rf & 2) {
@@ -14754,29 +14775,33 @@ function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf &
14754
14775
  i0.ɵɵproperty("ngForOf", ctx_r1.errorMessages);
14755
14776
  } }
14756
14777
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
14757
- i0.ɵɵelementStart(0, "div", 10)(1, "h1", 11);
14778
+ i0.ɵɵelementStart(0, "div", 9)(1, "h1", 10);
14758
14779
  i0.ɵɵtext(2, "Sorry, there is a problem with the service");
14759
14780
  i0.ɵɵelementEnd();
14760
- i0.ɵɵelementStart(3, "p", 12);
14781
+ i0.ɵɵelementStart(3, "p", 11);
14761
14782
  i0.ɵɵtext(4, "Try again later.");
14762
14783
  i0.ɵɵelementEnd()();
14763
14784
  } }
14764
14785
  function CaseFileViewFieldComponent_div_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
14765
14786
  i0.ɵɵelementContainerStart(0);
14766
- i0.ɵɵelementContainer(1, null, 0);
14787
+ i0.ɵɵelement(1, "mv-media-viewer", 18);
14767
14788
  i0.ɵɵelementContainerEnd();
14789
+ } if (rf & 2) {
14790
+ const ctx_r1 = i0.ɵɵnextContext(2);
14791
+ i0.ɵɵadvance();
14792
+ i0.ɵɵproperty("url", ctx_r1.currentDocument.document_binary_url)("downloadFileName", ctx_r1.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r1.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh")("caseId", ctx_r1.caseId)("multimediaPlayerEnabled", true)("enableICP", ctx_r1.isIcpEnabled());
14768
14793
  } }
14769
14794
  function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
14770
14795
  const _r3 = i0.ɵɵgetCurrentView();
14771
- i0.ɵɵelementStart(0, "div")(1, "h2", 13);
14796
+ i0.ɵɵelementStart(0, "div")(1, "h2", 12);
14772
14797
  i0.ɵɵtext(2, "Case file");
14773
14798
  i0.ɵɵelementEnd();
14774
- i0.ɵɵelementStart(3, "div", 14)(4, "div", 15)(5, "ccd-case-file-view-folder", 16);
14799
+ i0.ɵɵelementStart(3, "div", 13)(4, "div", 14)(5, "ccd-case-file-view-folder", 15);
14775
14800
  i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.setMediaViewerFile($event); return i0.ɵɵresetView(ctx_r1.resetErrorMessages()); })("moveDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.moveDocument($event)); });
14776
14801
  i0.ɵɵelementEnd()();
14777
- i0.ɵɵelement(6, "div", 17);
14778
- i0.ɵɵelementStart(7, "div", 18);
14779
- i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 3, 0, "ng-container", 1);
14802
+ i0.ɵɵelement(6, "div", 16);
14803
+ i0.ɵɵelementStart(7, "div", 17);
14804
+ i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 2, 10, "ng-container", 0);
14780
14805
  i0.ɵɵelementEnd()()();
14781
14806
  } if (rf & 2) {
14782
14807
  const ctx_r1 = i0.ɵɵnextContext();
@@ -14787,8 +14812,6 @@ function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
14787
14812
  } }
14788
14813
  class CaseFileViewFieldComponent {
14789
14814
  elementRef;
14790
- changeDetectorRef;
14791
- environmentInjector;
14792
14815
  route;
14793
14816
  caseFileViewService;
14794
14817
  documentManagementService;
@@ -14809,14 +14832,8 @@ class CaseFileViewFieldComponent {
14809
14832
  icp_jurisdictions = [];
14810
14833
  icpEnabled = false;
14811
14834
  caseId;
14812
- mediaViewerHost;
14813
- mediaViewerComponentRef;
14814
- mediaViewerModuleRef;
14815
- mediaViewerRenderId = 0;
14816
- constructor(elementRef, changeDetectorRef, environmentInjector, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, windowService, caseNotifier, abstractConfig) {
14835
+ constructor(elementRef, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, windowService, caseNotifier, abstractConfig) {
14817
14836
  this.elementRef = elementRef;
14818
- this.changeDetectorRef = changeDetectorRef;
14819
- this.environmentInjector = environmentInjector;
14820
14837
  this.route = route;
14821
14838
  this.caseFileViewService = caseFileViewService;
14822
14839
  this.documentManagementService = documentManagementService;
@@ -14879,7 +14896,6 @@ class CaseFileViewFieldComponent {
14879
14896
  if (this.documentManagementService.isHtmlDocument(documentDetails)) {
14880
14897
  const documentBinaryUrl = this.documentManagementService.getDocumentBinaryUrl(documentDetails);
14881
14898
  if (documentBinaryUrl) {
14882
- this.destroyMediaViewer();
14883
14899
  this.currentDocument = undefined;
14884
14900
  this.windowService.openOnNewTab(documentBinaryUrl);
14885
14901
  return;
@@ -14887,7 +14903,6 @@ class CaseFileViewFieldComponent {
14887
14903
  }
14888
14904
  const mediaViewerInfo = this.documentManagementService.getMediaViewerInfo(documentDetails);
14889
14905
  this.currentDocument = JSON.parse(mediaViewerInfo);
14890
- void this.renderMediaViewer();
14891
14906
  }
14892
14907
  moveDocument(data) {
14893
14908
  const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
@@ -14913,9 +14928,6 @@ class CaseFileViewFieldComponent {
14913
14928
  this.errorMessages = [];
14914
14929
  }
14915
14930
  ngOnDestroy() {
14916
- this.mediaViewerRenderId++;
14917
- this.destroyMediaViewer();
14918
- this.mediaViewerModuleRef?.destroy();
14919
14931
  if (this.categoriesAndDocumentsSubscription) {
14920
14932
  this.categoriesAndDocumentsSubscription.unsubscribe();
14921
14933
  }
@@ -14923,43 +14935,6 @@ class CaseFileViewFieldComponent {
14923
14935
  isIcpEnabled() {
14924
14936
  return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
14925
14937
  }
14926
- async renderMediaViewer() {
14927
- const renderId = ++this.mediaViewerRenderId;
14928
- this.destroyMediaViewer();
14929
- this.changeDetectorRef.detectChanges();
14930
- let mediaViewer;
14931
- try {
14932
- mediaViewer = await import('@hmcts/media-viewer');
14933
- }
14934
- catch {
14935
- if (renderId === this.mediaViewerRenderId) {
14936
- this.errorMessages = ['The document viewer could not be loaded. Please try again.'];
14937
- }
14938
- return;
14939
- }
14940
- if (renderId !== this.mediaViewerRenderId || !this.currentDocument || !this.mediaViewerHost) {
14941
- return;
14942
- }
14943
- const { MediaViewerComponent, MediaViewerModule } = mediaViewer;
14944
- this.mediaViewerModuleRef ??= createNgModule(MediaViewerModule, this.environmentInjector);
14945
- this.mediaViewerComponentRef = this.mediaViewerHost.createComponent(MediaViewerComponent, {
14946
- ngModuleRef: this.mediaViewerModuleRef
14947
- });
14948
- this.mediaViewerComponentRef.setInput('url', this.currentDocument.document_binary_url);
14949
- this.mediaViewerComponentRef.setInput('downloadFileName', this.currentDocument.document_filename);
14950
- this.mediaViewerComponentRef.setInput('showToolbar', true);
14951
- this.mediaViewerComponentRef.setInput('contentType', this.currentDocument.content_type);
14952
- this.mediaViewerComponentRef.setInput('enableAnnotations', true);
14953
- this.mediaViewerComponentRef.setInput('enableRedactions', true);
14954
- this.mediaViewerComponentRef.setInput('height', '94.5vh');
14955
- this.mediaViewerComponentRef.setInput('caseId', this.caseId);
14956
- this.mediaViewerComponentRef.setInput('multimediaPlayerEnabled', true);
14957
- this.mediaViewerComponentRef.setInput('enableICP', this.isIcpEnabled());
14958
- }
14959
- destroyMediaViewer() {
14960
- this.mediaViewerHost?.clear();
14961
- this.mediaViewerComponentRef = undefined;
14962
- }
14963
14938
  moveDocumentError(err) {
14964
14939
  const defaultMsg = 'We couldn\'t move the document. Please try again.';
14965
14940
  if (!(err instanceof HttpErrorResponse)) {
@@ -14985,14 +14960,9 @@ class CaseFileViewFieldComponent {
14985
14960
  return defaultMsg;
14986
14961
  }
14987
14962
  }
14988
- static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.EnvironmentInjector), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
14989
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], viewQuery: function CaseFileViewFieldComponent_Query(rf, ctx) { if (rf & 1) {
14990
- i0.ɵɵviewQuery(_c0$$, 5, ViewContainerRef);
14991
- } if (rf & 2) {
14992
- let _t;
14993
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.mediaViewerHost = _t.first);
14994
- } }, standalone: false, decls: 3, vars: 3, consts: [["mediaViewerHost", ""], [4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["type", "button", 1, "govuk-js-link"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
14995
- i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 1)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 2)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 1);
14963
+ static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
14964
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], standalone: false, decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["type", "button", 1, "govuk-js-link"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "caseId", "multimediaPlayerEnabled", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
14965
+ i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
14996
14966
  } if (rf & 2) {
14997
14967
  i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
14998
14968
  i0.ɵɵadvance();
@@ -15003,12 +14973,9 @@ class CaseFileViewFieldComponent {
15003
14973
  }
15004
14974
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
15005
14975
  type: Component,
15006
- args: [{ selector: 'ccd-case-file-view-field', standalone: false, template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <ng-container #mediaViewerHost></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
15007
- }], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.EnvironmentInjector }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], { mediaViewerHost: [{
15008
- type: ViewChild,
15009
- args: ['mediaViewerHost', { read: ViewContainerRef }]
15010
- }] }); })();
15011
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 33 }); })();
14976
+ args: [{ selector: 'ccd-case-file-view-field', standalone: false, template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer\n [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [caseId]=\"caseId\"\n [multimediaPlayerEnabled]=\"true\"\n [enableICP]=\"isIcpEnabled()\"\n >\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
14977
+ }], () => [{ type: i0.ElementRef }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
14978
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 20 }); })();
15012
14979
 
15013
14980
  const PVP_FLAG_CODE = 'PF0021';
15014
14981
  const PVP_DISPLAY_TEXT = 'POTENTIALLY VIOLENT PERSON';
@@ -16240,7 +16207,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
16240
16207
  }], null, null); })();
16241
16208
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
16242
16209
 
16243
- const _c0$_ = ["writeComplexFieldComponent"];
16210
+ const _c0$Y = ["writeComplexFieldComponent"];
16244
16211
  const _c1$p = a0 => ({ "form-group-error": a0 });
16245
16212
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16246
16213
  i0.ɵɵelementStart(0, "span", 6);
@@ -16321,7 +16288,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16321
16288
  }
16322
16289
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
16323
16290
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
16324
- i0.ɵɵviewQuery(_c0$_, 5);
16291
+ i0.ɵɵviewQuery(_c0$Y, 5);
16325
16292
  } if (rf & 2) {
16326
16293
  let _t;
16327
16294
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -16355,7 +16322,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16355
16322
  }] }); })();
16356
16323
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
16357
16324
 
16358
- const _c0$Z = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
16325
+ const _c0$X = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
16359
16326
  const _c1$o = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
16360
16327
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
16361
16328
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
@@ -16366,7 +16333,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
16366
16333
  } if (rf & 2) {
16367
16334
  const ctx_r0 = i0.ɵɵnextContext(2);
16368
16335
  i0.ɵɵadvance(4);
16369
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$Z, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
16336
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$X, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
16370
16337
  } }
16371
16338
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
16372
16339
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -16488,7 +16455,7 @@ class RemoveDialogComponent {
16488
16455
  }], () => [{ type: i1$3.MatDialogRef }], null); })();
16489
16456
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
16490
16457
 
16491
- const _c0$Y = ["collectionItem"];
16458
+ const _c0$W = ["collectionItem"];
16492
16459
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
16493
16460
  i0.ɵɵelementStart(0, "h2", 7);
16494
16461
  i0.ɵɵtext(1);
@@ -16909,7 +16876,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
16909
16876
  }
16910
16877
  static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
16911
16878
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
16912
- i0.ɵɵviewQuery(_c0$Y, 5);
16879
+ i0.ɵɵviewQuery(_c0$W, 5);
16913
16880
  } if (rf & 2) {
16914
16881
  let _t;
16915
16882
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -17225,7 +17192,7 @@ class FileUploadStateService {
17225
17192
  type: Injectable
17226
17193
  }], null, null); })();
17227
17194
 
17228
- const _c0$X = ["fileInput"];
17195
+ const _c0$V = ["fileInput"];
17229
17196
  const _c1$n = a0 => ({ "form-group-error bottom-30": a0 });
17230
17197
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
17231
17198
  i0.ɵɵelementStart(0, "span", 12);
@@ -17604,7 +17571,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
17604
17571
  }
17605
17572
  static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
17606
17573
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
17607
- i0.ɵɵviewQuery(_c0$X, 5);
17574
+ i0.ɵɵviewQuery(_c0$V, 5);
17608
17575
  } if (rf & 2) {
17609
17576
  let _t;
17610
17577
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -17719,7 +17686,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
17719
17686
  }], null, null); })();
17720
17687
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
17721
17688
 
17722
- const _c0$W = a0 => ({ "form-group-error": a0 });
17689
+ const _c0$U = a0 => ({ "form-group-error": a0 });
17723
17690
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
17724
17691
  i0.ɵɵelementStart(0, "span", 8);
17725
17692
  i0.ɵɵtext(1);
@@ -17807,7 +17774,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
17807
17774
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
17808
17775
  i0.ɵɵelementEnd()();
17809
17776
  } if (rf & 2) {
17810
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$W, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17777
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$U, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17811
17778
  i0.ɵɵadvance();
17812
17779
  i0.ɵɵproperty("for", ctx.id());
17813
17780
  i0.ɵɵadvance();
@@ -17988,7 +17955,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
17988
17955
  }], null, null); })();
17989
17956
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 10 }); })();
17990
17957
 
17991
- const _c0$V = a0 => ({ "error": a0 });
17958
+ const _c0$T = a0 => ({ "error": a0 });
17992
17959
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
17993
17960
  i0.ɵɵelementStart(0, "span", 5);
17994
17961
  i0.ɵɵtext(1);
@@ -18108,7 +18075,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
18108
18075
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
18109
18076
  i0.ɵɵelementEnd()();
18110
18077
  } if (rf & 2) {
18111
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$V, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
18078
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$T, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
18112
18079
  i0.ɵɵadvance(3);
18113
18080
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
18114
18081
  i0.ɵɵadvance();
@@ -18188,7 +18155,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
18188
18155
  }], null, null); })();
18189
18156
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 9 }); })();
18190
18157
 
18191
- const _c0$U = a0 => ({ "form-group-error": a0 });
18158
+ const _c0$S = a0 => ({ "form-group-error": a0 });
18192
18159
  const _c1$m = a0 => ({ selected: a0 });
18193
18160
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18194
18161
  i0.ɵɵelementStart(0, "span", 7);
@@ -18283,7 +18250,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
18283
18250
  i0.ɵɵelementContainerEnd();
18284
18251
  i0.ɵɵelementEnd()();
18285
18252
  } if (rf & 2) {
18286
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18253
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$S, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18287
18254
  i0.ɵɵadvance(3);
18288
18255
  i0.ɵɵproperty("for", ctx.id());
18289
18256
  i0.ɵɵadvance();
@@ -18337,7 +18304,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
18337
18304
  }], null, null); })();
18338
18305
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
18339
18306
 
18340
- const _c0$T = a0 => ({ "form-group-error": a0 });
18307
+ const _c0$R = a0 => ({ "form-group-error": a0 });
18341
18308
  const _c1$l = a0 => ({ "govuk-input--error": a0 });
18342
18309
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18343
18310
  i0.ɵɵelementStart(0, "span", 6);
@@ -18383,7 +18350,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
18383
18350
  i0.ɵɵelement(5, "input", 5);
18384
18351
  i0.ɵɵelementEnd();
18385
18352
  } if (rf & 2) {
18386
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$T, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18353
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$R, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18387
18354
  i0.ɵɵadvance();
18388
18355
  i0.ɵɵproperty("for", ctx.id());
18389
18356
  i0.ɵɵadvance();
@@ -18425,7 +18392,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
18425
18392
  }], null, null); })();
18426
18393
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
18427
18394
 
18428
- const _c0$S = a0 => ({ "form-group-error": a0 });
18395
+ const _c0$Q = a0 => ({ "form-group-error": a0 });
18429
18396
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18430
18397
  i0.ɵɵelementStart(0, "span", 8);
18431
18398
  i0.ɵɵtext(1);
@@ -18500,7 +18467,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
18500
18467
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
18501
18468
  i0.ɵɵelementEnd()();
18502
18469
  } if (rf & 2) {
18503
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18470
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$Q, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18504
18471
  i0.ɵɵadvance();
18505
18472
  i0.ɵɵproperty("for", ctx.id());
18506
18473
  i0.ɵɵadvance();
@@ -18563,7 +18530,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
18563
18530
  }], null, null); })();
18564
18531
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 9 }); })();
18565
18532
 
18566
- const _c0$R = a0 => ({ "form-group-error": a0 });
18533
+ const _c0$P = a0 => ({ "form-group-error": a0 });
18567
18534
  const _c1$k = a0 => ({ selected: a0 });
18568
18535
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18569
18536
  i0.ɵɵelementStart(0, "span", 6);
@@ -18631,7 +18598,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
18631
18598
  i0.ɵɵelementContainerEnd();
18632
18599
  i0.ɵɵelementEnd()();
18633
18600
  } if (rf & 2) {
18634
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$R, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18601
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$P, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18635
18602
  i0.ɵɵadvance(3);
18636
18603
  i0.ɵɵproperty("for", ctx.id());
18637
18604
  i0.ɵɵadvance();
@@ -18707,7 +18674,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
18707
18674
  }], () => [{ type: JurisdictionService }], null); })();
18708
18675
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
18709
18676
 
18710
- const _c0$Q = a0 => ({ "form-group-error": a0 });
18677
+ const _c0$O = a0 => ({ "form-group-error": a0 });
18711
18678
  const _c1$j = a0 => ({ "hide-autocomplete": a0 });
18712
18679
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18713
18680
  i0.ɵɵelementStart(0, "span", 10);
@@ -18941,7 +18908,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
18941
18908
  i0.ɵɵelementEnd()();
18942
18909
  } if (rf & 2) {
18943
18910
  const autoComplete_r4 = i0.ɵɵreference(7);
18944
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.judicialUserControl && ctx.errors));
18911
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$O, !!ctx.judicialUserControl && ctx.errors));
18945
18912
  i0.ɵɵadvance();
18946
18913
  i0.ɵɵproperty("for", ctx.id());
18947
18914
  i0.ɵɵadvance();
@@ -19023,7 +18990,7 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
19023
18990
  }], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
19024
18991
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
19025
18992
 
19026
- const _c0$P = a0 => ({ "form-group-error": a0 });
18993
+ const _c0$N = a0 => ({ "form-group-error": a0 });
19027
18994
  const _c1$i = a0 => ({ "hide-autocomplete": a0 });
19028
18995
  function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19029
18996
  i0.ɵɵelementStart(0, "span", 10);
@@ -19262,7 +19229,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
19262
19229
  i0.ɵɵelementEnd()();
19263
19230
  } if (rf & 2) {
19264
19231
  const autoComplete_r5 = i0.ɵɵreference(7);
19265
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$P, !!ctx.staffUserControl && ctx.errors));
19232
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$N, !!ctx.staffUserControl && ctx.errors));
19266
19233
  i0.ɵɵadvance();
19267
19234
  i0.ɵɵproperty("for", ctx.id());
19268
19235
  i0.ɵɵadvance();
@@ -19727,7 +19694,7 @@ class ValidatorsUtils {
19727
19694
  args: [{ providedIn: 'root' }]
19728
19695
  }], null, null); })();
19729
19696
 
19730
- const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
19697
+ const _c0$M = a0 => ({ "govuk-form-group--error": a0 });
19731
19698
  const _c1$h = a0 => ({ "table-group-error": a0 });
19732
19699
  function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
19733
19700
  i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
@@ -19794,7 +19761,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
19794
19761
  i0.ɵɵelementEnd()();
19795
19762
  } if (rf & 2) {
19796
19763
  const ctx_r1 = i0.ɵɵnextContext(2);
19797
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
19764
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$M, !!ctx_r1.caseReasonCommentsError));
19798
19765
  i0.ɵɵadvance(3);
19799
19766
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
19800
19767
  } }
@@ -19838,11 +19805,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
19838
19805
  const ctx_r1 = i0.ɵɵnextContext();
19839
19806
  i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
19840
19807
  i0.ɵɵadvance();
19841
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
19808
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$M, !!ctx_r1.caseNumberError));
19842
19809
  i0.ɵɵadvance(3);
19843
19810
  i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
19844
19811
  i0.ɵɵadvance(2);
19845
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
19812
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$M, !!ctx_r1.caseReasonError));
19846
19813
  i0.ɵɵadvance(5);
19847
19814
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
19848
19815
  i0.ɵɵadvance(2);
@@ -20270,7 +20237,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
20270
20237
  i0.ɵɵadvance(4);
20271
20238
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
20272
20239
  i0.ɵɵadvance(4);
20273
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
20240
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$M, !!ctx.noSelectedCaseError));
20274
20241
  i0.ɵɵadvance();
20275
20242
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
20276
20243
  i0.ɵɵadvance(18);
@@ -20863,7 +20830,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
20863
20830
  }], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
20864
20831
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 13 }); })();
20865
20832
 
20866
- const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
20833
+ const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
20867
20834
  function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
20868
20835
  i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
20869
20836
  i0.ɵɵtext(2, "Error:");
@@ -20901,7 +20868,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
20901
20868
  i0.ɵɵelementEnd()();
20902
20869
  } if (rf & 2) {
20903
20870
  const ctx_r0 = i0.ɵɵnextContext(2);
20904
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
20871
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$L, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
20905
20872
  i0.ɵɵadvance();
20906
20873
  i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
20907
20874
  i0.ɵɵadvance(2);
@@ -21838,7 +21805,7 @@ class MoneyGbpInputComponent {
21838
21805
  }] }); })();
21839
21806
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
21840
21807
 
21841
- const _c0$M = a0 => ({ "form-group-error": a0 });
21808
+ const _c0$K = a0 => ({ "form-group-error": a0 });
21842
21809
  function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
21843
21810
  i0.ɵɵelementStart(0, "span", 8);
21844
21811
  i0.ɵɵtext(1);
@@ -21887,7 +21854,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
21887
21854
  i0.ɵɵpipe(9, "ccdIsMandatory");
21888
21855
  i0.ɵɵelementEnd()();
21889
21856
  } if (rf & 2) {
21890
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$M, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
21857
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$K, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
21891
21858
  i0.ɵɵadvance();
21892
21859
  i0.ɵɵproperty("for", ctx.id());
21893
21860
  i0.ɵɵadvance();
@@ -21953,7 +21920,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
21953
21920
  }], null, null); })();
21954
21921
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 10 }); })();
21955
21922
 
21956
- const _c0$L = a0 => ({ "error": a0 });
21923
+ const _c0$J = a0 => ({ "error": a0 });
21957
21924
  function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
21958
21925
  i0.ɵɵelementStart(0, "span", 5);
21959
21926
  i0.ɵɵtext(1);
@@ -22054,7 +22021,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
22054
22021
  i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
22055
22022
  i0.ɵɵelementEnd()();
22056
22023
  } if (rf & 2) {
22057
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
22024
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$J, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
22058
22025
  i0.ɵɵadvance(3);
22059
22026
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
22060
22027
  i0.ɵɵadvance();
@@ -22093,7 +22060,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
22093
22060
  }], null, null); })();
22094
22061
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
22095
22062
 
22096
- const _c0$K = a0 => ({ "form-group-error": a0 });
22063
+ const _c0$I = a0 => ({ "form-group-error": a0 });
22097
22064
  const _c1$g = a0 => ({ "govuk-input--error": a0 });
22098
22065
  function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
22099
22066
  i0.ɵɵelementStart(0, "span", 6);
@@ -22139,7 +22106,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
22139
22106
  i0.ɵɵelement(5, "input", 5);
22140
22107
  i0.ɵɵelementEnd();
22141
22108
  } if (rf & 2) {
22142
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
22109
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !ctx.numberControl.valid && ctx.numberControl.dirty));
22143
22110
  i0.ɵɵadvance();
22144
22111
  i0.ɵɵproperty("for", ctx.id());
22145
22112
  i0.ɵɵadvance();
@@ -22318,7 +22285,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
22318
22285
  }] }); })();
22319
22286
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
22320
22287
 
22321
- const _c0$J = a0 => ({ "scroll-container ": a0 });
22288
+ const _c0$H = a0 => ({ "scroll-container ": a0 });
22322
22289
  function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
22323
22290
  i0.ɵɵelementStart(0, "fieldset", 3);
22324
22291
  i0.ɵɵelement(1, "legend", 4);
@@ -22397,7 +22364,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
22397
22364
  let tmp_3_0;
22398
22365
  let tmp_5_0;
22399
22366
  const ctx_r2 = i0.ɵɵnextContext(2);
22400
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$J, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
22367
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$H, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
22401
22368
  i0.ɵɵadvance(2);
22402
22369
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
22403
22370
  i0.ɵɵadvance(2);
@@ -22739,98 +22706,38 @@ class PaymentField extends AbstractFieldReadComponent {
22739
22706
  }
22740
22707
  }
22741
22708
 
22742
- const _c0$I = ["paymentHost"];
22743
- function CasePaymentHistoryViewerFieldComponent_p_9_Template(rf, ctx) { if (rf & 1) {
22744
- i0.ɵɵelementStart(0, "p", 6);
22745
- i0.ɵɵtext(1, "The payment information could not be loaded. Please try again.");
22746
- i0.ɵɵelementEnd();
22747
- } }
22748
22709
  class CasePaymentHistoryViewerFieldComponent extends PaymentField {
22749
- environmentInjector;
22750
22710
  PAYMENT_HISTORY_WARNING = 'Recent payments may take a few minutes to reflect here.';
22751
- paymentLoadError = false;
22752
- paymentHost;
22753
- paymentComponentRef;
22754
- paymentModuleRef;
22755
- constructor(appConfig, sessionStorage, environmentInjector) {
22711
+ constructor(appConfig, sessionStorage) {
22756
22712
  super(appConfig, sessionStorage);
22757
- this.environmentInjector = environmentInjector;
22758
22713
  }
22759
- ngAfterViewInit() {
22760
- void this.renderPayment();
22761
- }
22762
- ngOnDestroy() {
22763
- this.paymentHost?.clear();
22764
- this.paymentComponentRef = undefined;
22765
- this.paymentModuleRef?.destroy();
22766
- }
22767
- async renderPayment() {
22768
- let paymentLibrary;
22769
- try {
22770
- paymentLibrary = await import('@hmcts/ccpay-web-component');
22771
- }
22772
- catch {
22773
- this.paymentLoadError = true;
22774
- return;
22775
- }
22776
- const { PaymentLibComponent, PaymentLibModule } = paymentLibrary;
22777
- this.paymentModuleRef = createNgModule(PaymentLibModule, this.environmentInjector);
22778
- this.paymentComponentRef = this.paymentHost.createComponent(PaymentLibComponent, {
22779
- ngModuleRef: this.paymentModuleRef
22780
- });
22781
- this.paymentComponentRef.setInput('API_ROOT', this.getBaseURL());
22782
- this.paymentComponentRef.setInput('CCD_CASE_NUMBER', this.caseReference);
22783
- this.paymentComponentRef.setInput('BULKSCAN_API_ROOT', this.getPayBulkScanBaseURL());
22784
- this.paymentComponentRef.setInput('SELECTED_OPTION', 'CCDorException');
22785
- this.paymentComponentRef.setInput('ISBSENABLE', 'true');
22786
- this.paymentComponentRef.setInput('LOGGEDINUSEREMAIL', this.getUserEmail());
22787
- this.paymentComponentRef.setInput('LOGGEDINUSERROLES', this.getUserRoles());
22788
- this.paymentComponentRef.setInput('REFUNDS_API_ROOT', this.getRefundsUrl());
22789
- this.paymentComponentRef.setInput('NOTIFICATION_API_ROOT', this.getNotificationUrl());
22790
- this.paymentComponentRef.setInput('VIEW', 'case-transactions');
22791
- this.paymentComponentRef.setInput('TAKEPAYMENT', false);
22792
- this.paymentComponentRef.setInput('SERVICEREQUEST', false);
22793
- this.paymentComponentRef.setInput('PAYMENT_GROUP_REF', null);
22794
- this.paymentComponentRef.setInput('EXC_REFERENCE', this.caseReference);
22795
- this.paymentComponentRef.setInput('DCN_NUMBER', null);
22796
- this.paymentComponentRef.setInput('ISPAYMENTSTATUSENABLED', 'Enable');
22797
- }
22798
- static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePaymentHistoryViewerFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i0.EnvironmentInjector)); };
22799
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], viewQuery: function CasePaymentHistoryViewerFieldComponent_Query(rf, ctx) { if (rf & 1) {
22800
- i0.ɵɵviewQuery(_c0$I, 5, ViewContainerRef);
22801
- } if (rf & 2) {
22802
- let _t;
22803
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paymentHost = _t.first);
22804
- } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 7, consts: [["paymentHost", ""], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-error-message"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
22805
- i0.ɵɵelementStart(0, "div", 1)(1, "span", 2);
22714
+ static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePaymentHistoryViewerFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
22715
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 22, consts: [[1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
22716
+ i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
22806
22717
  i0.ɵɵtext(2, "!");
22807
22718
  i0.ɵɵelementEnd();
22808
- i0.ɵɵelementStart(3, "strong", 3)(4, "span", 4);
22719
+ i0.ɵɵelementStart(3, "strong", 2)(4, "span", 3);
22809
22720
  i0.ɵɵtext(5);
22810
22721
  i0.ɵɵpipe(6, "rpxTranslate");
22811
22722
  i0.ɵɵelementEnd();
22812
22723
  i0.ɵɵtext(7);
22813
22724
  i0.ɵɵpipe(8, "rpxTranslate");
22814
22725
  i0.ɵɵelementEnd()();
22815
- i0.ɵɵtemplate(9, CasePaymentHistoryViewerFieldComponent_p_9_Template, 2, 0, "p", 5);
22816
- i0.ɵɵelementContainer(10, null, 0);
22726
+ i0.ɵɵelement(9, "ccpay-payment-lib", 4);
22817
22727
  } if (rf & 2) {
22818
22728
  i0.ɵɵadvance(5);
22819
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 3, "Warning"));
22729
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 18, "Warning"));
22820
22730
  i0.ɵɵadvance(2);
22821
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 5, ctx.PAYMENT_HISTORY_WARNING), " ");
22731
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 20, ctx.PAYMENT_HISTORY_WARNING), " ");
22822
22732
  i0.ɵɵadvance(2);
22823
- i0.ɵɵproperty("ngIf", ctx.paymentLoadError);
22824
- } }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], styles: [".govuk-warning-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:-20px}"] });
22733
+ i0.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx.getNotificationUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
22734
+ } }, dependencies: [i3.PaymentLibComponent, i1.RpxTranslatePipe], styles: [".govuk-warning-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:-20px}"] });
22825
22735
  }
22826
22736
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
22827
22737
  type: Component,
22828
- args: [{ selector: 'ccd-case-payment-history-viewer-field', standalone: false, template: "<div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{PAYMENT_HISTORY_WARNING | rpxTranslate}}\n </strong>\n</div>\n<p *ngIf=\"paymentLoadError\" class=\"govuk-error-message\">The payment information could not be loaded. Please try again.</p>\n<ng-container #paymentHost></ng-container>\n", styles: [".govuk-warning-text{margin-top:20px;margin-bottom:-20px}\n"] }]
22829
- }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }, { type: i0.EnvironmentInjector }], { paymentHost: [{
22830
- type: ViewChild,
22831
- args: ['paymentHost', { read: ViewContainerRef }]
22832
- }] }); })();
22833
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePaymentHistoryViewerFieldComponent, { className: "CasePaymentHistoryViewerFieldComponent", filePath: "lib/shared/components/palette/payment/case-payment-history-viewer-field.component.ts", lineNumber: 22 }); })();
22738
+ args: [{ selector: 'ccd-case-payment-history-viewer-field', standalone: false, template: "<div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{PAYMENT_HISTORY_WARNING | rpxTranslate}}\n </strong>\n</div>\n<ccpay-payment-lib\n [API_ROOT]=\"getBaseURL()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [ISBSENABLE]=\"'true'\"\n [LOGGEDINUSEREMAIL]=\"getUserEmail()\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [NOTIFICATION_API_ROOT]=\"getNotificationUrl()\"\n [VIEW]=\"'case-transactions'\"\n [TAKEPAYMENT]=\"false\"\n [SERVICEREQUEST]=\"false\"\n [PAYMENT_GROUP_REF]=\"null\"\n [EXC_REFERENCE]=\"caseReference\"\n [DCN_NUMBER]=\"null\"\n [ISPAYMENTSTATUSENABLED]=\"'Enable'\"\n></ccpay-payment-lib>\n", styles: [".govuk-warning-text{margin-top:20px;margin-bottom:-20px}\n"] }]
22739
+ }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }], null); })();
22740
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePaymentHistoryViewerFieldComponent, { className: "CasePaymentHistoryViewerFieldComponent", filePath: "lib/shared/components/palette/payment/case-payment-history-viewer-field.component.ts", lineNumber: 12 }); })();
22834
22741
 
22835
22742
  class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
22836
22743
  static ɵfac = /*@__PURE__*/ (() => { let ɵReadPhoneUKFieldComponent_BaseFactory; return function ReadPhoneUKFieldComponent_Factory(__ngFactoryType__) { return (ɵReadPhoneUKFieldComponent_BaseFactory || (ɵReadPhoneUKFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadPhoneUKFieldComponent)))(__ngFactoryType__ || ReadPhoneUKFieldComponent); }; })();
@@ -22853,7 +22760,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
22853
22760
  }], null, null); })();
22854
22761
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
22855
22762
 
22856
- const _c0$H = a0 => ({ "form-group-error": a0 });
22763
+ const _c0$G = a0 => ({ "form-group-error": a0 });
22857
22764
  const _c1$f = a0 => ({ "govuk-input--error": a0 });
22858
22765
  function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
22859
22766
  i0.ɵɵelementStart(0, "span", 6);
@@ -22899,7 +22806,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
22899
22806
  i0.ɵɵelement(5, "input", 5);
22900
22807
  i0.ɵɵelementEnd();
22901
22808
  } if (rf & 2) {
22902
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
22809
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
22903
22810
  i0.ɵɵadvance();
22904
22811
  i0.ɵɵproperty("for", ctx.id());
22905
22812
  i0.ɵɵadvance();
@@ -25393,7 +25300,7 @@ class QueryWriteDateInputComponent {
25393
25300
  }] }); })();
25394
25301
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 16 }); })();
25395
25302
 
25396
- const _c0$G = a0 => ({ "govuk-form-group--error": a0 });
25303
+ const _c0$F = a0 => ({ "govuk-form-group--error": a0 });
25397
25304
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
25398
25305
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
25399
25306
  } if (rf & 2) {
@@ -25473,7 +25380,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
25473
25380
  } if (rf & 2) {
25474
25381
  const ctx_r0 = i0.ɵɵnextContext(2);
25475
25382
  i0.ɵɵadvance();
25476
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
25383
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
25477
25384
  i0.ɵɵadvance(4);
25478
25385
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
25479
25386
  i0.ɵɵadvance(2);
@@ -25540,7 +25447,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25540
25447
  i0.ɵɵadvance(8);
25541
25448
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
25542
25449
  i0.ɵɵadvance(2);
25543
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25450
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25544
25451
  i0.ɵɵadvance(3);
25545
25452
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
25546
25453
  i0.ɵɵadvance(3);
@@ -25548,7 +25455,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25548
25455
  i0.ɵɵadvance(2);
25549
25456
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
25550
25457
  i0.ɵɵadvance(2);
25551
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25458
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25552
25459
  i0.ɵɵadvance(3);
25553
25460
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
25554
25461
  i0.ɵɵadvance(3);
@@ -25559,7 +25466,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25559
25466
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
25560
25467
  i0.ɵɵproperty("formControlName", "body");
25561
25468
  i0.ɵɵadvance(2);
25562
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25469
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25563
25470
  i0.ɵɵadvance(4);
25564
25471
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
25565
25472
  i0.ɵɵadvance(2);
@@ -26183,7 +26090,7 @@ class CloseQueryComponent {
26183
26090
  }] }); })();
26184
26091
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 9 }); })();
26185
26092
 
26186
- const _c0$F = (a0, a1) => ["/query-management", "query", a0, "4", a1];
26093
+ const _c0$E = (a0, a1) => ["/query-management", "query", a0, "4", a1];
26187
26094
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
26188
26095
  const _r1 = i0.ɵɵgetCurrentView();
26189
26096
  i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
@@ -26222,7 +26129,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
26222
26129
  } if (rf & 2) {
26223
26130
  const ctx_r1 = i0.ɵɵnextContext(3);
26224
26131
  i0.ɵɵadvance();
26225
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
26132
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$E, ctx_r1.caseId, ctx_r1.query.id));
26226
26133
  i0.ɵɵadvance();
26227
26134
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
26228
26135
  } }
@@ -26236,7 +26143,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
26236
26143
  } if (rf & 2) {
26237
26144
  const ctx_r1 = i0.ɵɵnextContext(4);
26238
26145
  i0.ɵɵadvance();
26239
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
26146
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$E, ctx_r1.caseId, ctx_r1.query.id));
26240
26147
  i0.ɵɵadvance();
26241
26148
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
26242
26149
  } }
@@ -26649,7 +26556,7 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
26649
26556
  }], () => [{ type: i4$1.DomSanitizer }], null); })();
26650
26557
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadRichTextAreaFieldComponent, { className: "ReadRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/read-rich-text-area-field.component.ts", lineNumber: 13 }); })();
26651
26558
 
26652
- const _c0$E = ["editorHost"];
26559
+ const _c0$D = ["editorHost"];
26653
26560
  const _c1$e = a0 => ({ "form-group-error": a0 });
26654
26561
  const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
26655
26562
  const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
@@ -29271,7 +29178,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
29271
29178
  }
29272
29179
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
29273
29180
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
29274
- i0.ɵɵviewQuery(_c0$E, 5);
29181
+ i0.ɵɵviewQuery(_c0$D, 5);
29275
29182
  } if (rf & 2) {
29276
29183
  let _t;
29277
29184
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
@@ -29432,7 +29339,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
29432
29339
  i0.ɵɵproperty("ngIf", !ctx.isOrderedListActive());
29433
29340
  i0.ɵɵadvance(16);
29434
29341
  i0.ɵɵproperty("editor", ctx.editor)("formControl", ctx.richTextAreaControl);
29435
- } }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3.NgxEditorComponent, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__keyboard-instructions{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2px;margin-bottom:10px;max-width:100%;padding:6px 8px;row-gap:6px;width:fit-content}.ccd-rich-text-area__toolbar-group{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.ccd-rich-text-area__toolbar-group--list{max-width:100%}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__heading-level{display:inline-flex;margin-right:3px}.ccd-rich-text-area__heading-level-label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__heading-level-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:108px;padding:2px 24px 2px 6px;width:150px}.ccd-rich-text-area__heading-level-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px;min-width:0}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;max-width:100%;min-width:0;padding:2px 28px 2px 8px;width:260px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}@media(max-width:480px){.ccd-rich-text-area__toolbar-group--list{flex-wrap:wrap}.ccd-rich-text-area__list-style{flex:1 1 100%;margin-left:0}.ccd-rich-text-area__list-style-select{flex:1 1 auto;width:auto}}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .ProseMirror h2{font-size:18px;font-weight:700}.ccd-rich-text-area .ProseMirror h3{font-size:16px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;font-size:14px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{font-size:14px;min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol,.ccd-rich-text-area .ProseMirror li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"], encapsulation: 2 });
29342
+ } }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3$1.NgxEditorComponent, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__keyboard-instructions{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2px;margin-bottom:10px;max-width:100%;padding:6px 8px;row-gap:6px;width:fit-content}.ccd-rich-text-area__toolbar-group{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.ccd-rich-text-area__toolbar-group--list{max-width:100%}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__heading-level{display:inline-flex;margin-right:3px}.ccd-rich-text-area__heading-level-label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__heading-level-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:108px;padding:2px 24px 2px 6px;width:150px}.ccd-rich-text-area__heading-level-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px;min-width:0}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;max-width:100%;min-width:0;padding:2px 28px 2px 8px;width:260px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}@media(max-width:480px){.ccd-rich-text-area__toolbar-group--list{flex-wrap:wrap}.ccd-rich-text-area__list-style{flex:1 1 100%;margin-left:0}.ccd-rich-text-area__list-style-select{flex:1 1 auto;width:auto}}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .ProseMirror h2{font-size:18px;font-weight:700}.ccd-rich-text-area .ProseMirror h3{font-size:16px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;font-size:14px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{font-size:14px;min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol,.ccd-rich-text-area .ProseMirror li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"], encapsulation: 2 });
29436
29343
  }
29437
29344
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteRichTextAreaFieldComponent, [{
29438
29345
  type: Component,
@@ -29464,7 +29371,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
29464
29371
  }], null, null); })();
29465
29372
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
29466
29373
 
29467
- const _c0$D = a0 => ({ "form-group-error": a0 });
29374
+ const _c0$C = a0 => ({ "form-group-error": a0 });
29468
29375
  const _c1$d = a0 => ({ "govuk-input--error": a0 });
29469
29376
  function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
29470
29377
  i0.ɵɵelementStart(0, "span", 7);
@@ -29522,7 +29429,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
29522
29429
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
29523
29430
  i0.ɵɵelementEnd()();
29524
29431
  } if (rf & 2) {
29525
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
29432
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
29526
29433
  i0.ɵɵadvance();
29527
29434
  i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
29528
29435
  i0.ɵɵadvance();
@@ -29560,7 +29467,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
29560
29467
  }], null, null); })();
29561
29468
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
29562
29469
 
29563
- const _c0$C = a0 => ({ "form-group-error": a0 });
29470
+ const _c0$B = a0 => ({ "form-group-error": a0 });
29564
29471
  const _c1$c = a0 => ({ "govuk-textarea--error": a0 });
29565
29472
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
29566
29473
  i0.ɵɵelementStart(0, "span", 6);
@@ -29619,7 +29526,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
29619
29526
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
29620
29527
  i0.ɵɵelementEnd()();
29621
29528
  } if (rf & 2) {
29622
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
29529
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
29623
29530
  i0.ɵɵadvance();
29624
29531
  i0.ɵɵproperty("for", ctx.id());
29625
29532
  i0.ɵɵadvance();
@@ -29656,86 +29563,31 @@ class UnsupportedFieldComponent {
29656
29563
  }], null, null); })();
29657
29564
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnsupportedFieldComponent, { className: "UnsupportedFieldComponent", filePath: "lib/shared/components/palette/unsupported-field.component.ts", lineNumber: 8 }); })();
29658
29565
 
29659
- const _c0$B = ["paymentHost"];
29660
- function WaysToPayFieldComponent_p_0_Template(rf, ctx) { if (rf & 1) {
29661
- i0.ɵɵelementStart(0, "p", 2);
29662
- i0.ɵɵtext(1, "The payment information could not be loaded. Please try again.");
29663
- i0.ɵɵelementEnd();
29566
+ function WaysToPayFieldComponent_ccpay_payment_lib_0_Template(rf, ctx) { if (rf & 1) {
29567
+ i0.ɵɵelement(0, "ccpay-payment-lib", 1);
29568
+ } if (rf & 2) {
29569
+ const ctx_r0 = i0.ɵɵnextContext();
29570
+ i0.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx_r0.getNotificationUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
29664
29571
  } }
29665
29572
  class WaysToPayFieldComponent extends PaymentField {
29666
- environmentInjector;
29667
- paymentLoadError = false;
29668
- paymentHost;
29669
- paymentComponentRef;
29670
- paymentModuleRef;
29671
- constructor(appConfig, sessionStorage, environmentInjector) {
29573
+ constructor(appConfig, sessionStorage) {
29672
29574
  super(appConfig, sessionStorage);
29673
- this.environmentInjector = environmentInjector;
29674
- }
29675
- ngAfterViewInit() {
29676
- if (this.getUserRoles().length > 0) {
29677
- void this.renderPayment();
29678
- }
29679
- }
29680
- ngOnDestroy() {
29681
- this.paymentHost?.clear();
29682
- this.paymentComponentRef = undefined;
29683
- this.paymentModuleRef?.destroy();
29684
29575
  }
29685
29576
  getCardPaymentReturnUrl() {
29686
29577
  return this.appConfig.getPaymentReturnUrl();
29687
29578
  }
29688
- async renderPayment() {
29689
- let paymentLibrary;
29690
- try {
29691
- paymentLibrary = await import('@hmcts/ccpay-web-component');
29692
- }
29693
- catch {
29694
- this.paymentLoadError = true;
29695
- return;
29696
- }
29697
- const { PaymentLibComponent, PaymentLibModule } = paymentLibrary;
29698
- this.paymentModuleRef = createNgModule(PaymentLibModule, this.environmentInjector);
29699
- this.paymentComponentRef = this.paymentHost.createComponent(PaymentLibComponent, {
29700
- ngModuleRef: this.paymentModuleRef
29701
- });
29702
- this.paymentComponentRef.setInput('API_ROOT', this.getBaseURL());
29703
- this.paymentComponentRef.setInput('BULKSCAN_API_ROOT', this.getPayBulkScanBaseURL());
29704
- this.paymentComponentRef.setInput('REFUNDS_API_ROOT', this.getRefundsUrl());
29705
- this.paymentComponentRef.setInput('NOTIFICATION_API_ROOT', this.getNotificationUrl());
29706
- this.paymentComponentRef.setInput('CCD_CASE_NUMBER', this.caseReference);
29707
- this.paymentComponentRef.setInput('VIEW', 'case-transactions');
29708
- this.paymentComponentRef.setInput('TAKEPAYMENT', false);
29709
- this.paymentComponentRef.setInput('SERVICEREQUEST', true);
29710
- this.paymentComponentRef.setInput('PAYMENT_GROUP_REF', null);
29711
- this.paymentComponentRef.setInput('EXC_REFERENCE', this.caseReference);
29712
- this.paymentComponentRef.setInput('DCN_NUMBER', null);
29713
- this.paymentComponentRef.setInput('SELECTED_OPTION', 'CCDorException');
29714
- this.paymentComponentRef.setInput('LOGGEDINUSERROLES', this.getUserRoles());
29715
- this.paymentComponentRef.setInput('CARDPAYMENTRETURNURL', this.getCardPaymentReturnUrl());
29716
- this.paymentComponentRef.setInput('ISPAYMENTSTATUSENABLED', 'Enable');
29717
- }
29718
- static ɵfac = function WaysToPayFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i0.EnvironmentInjector)); };
29719
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], viewQuery: function WaysToPayFieldComponent_Query(rf, ctx) { if (rf & 1) {
29720
- i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
29721
- } if (rf & 2) {
29722
- let _t;
29723
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paymentHost = _t.first);
29724
- } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [["paymentHost", ""], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-error-message"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
29725
- i0.ɵɵtemplate(0, WaysToPayFieldComponent_p_0_Template, 2, 0, "p", 1);
29726
- i0.ɵɵelementContainer(1, null, 0);
29579
+ static ɵfac = function WaysToPayFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
29580
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
29581
+ i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
29727
29582
  } if (rf & 2) {
29728
- i0.ɵɵproperty("ngIf", ctx.paymentLoadError);
29729
- } }, dependencies: [i5.NgIf], encapsulation: 2 });
29583
+ i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
29584
+ } }, dependencies: [i5.NgIf, i3.PaymentLibComponent], encapsulation: 2 });
29730
29585
  }
29731
29586
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
29732
29587
  type: Component,
29733
- args: [{ selector: 'ccd-ways-to-pay-field', standalone: false, template: "<p *ngIf=\"paymentLoadError\" class=\"govuk-error-message\">The payment information could not be loaded. Please try again.</p>\n<ng-container #paymentHost></ng-container>\n" }]
29734
- }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }, { type: i0.EnvironmentInjector }], { paymentHost: [{
29735
- type: ViewChild,
29736
- args: ['paymentHost', { read: ViewContainerRef }]
29737
- }] }); })();
29738
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WaysToPayFieldComponent, { className: "WaysToPayFieldComponent", filePath: "lib/shared/components/palette/waystopay/waystopay-field.component.ts", lineNumber: 21 }); })();
29588
+ args: [{ selector: 'ccd-ways-to-pay-field', standalone: false, template: "<ccpay-payment-lib *ngIf=\"getUserRoles().length > 0\"\n [API_ROOT]=\"getBaseURL()\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [NOTIFICATION_API_ROOT]=\"getNotificationUrl()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [VIEW]=\"'case-transactions'\"\n [TAKEPAYMENT]=\"false\"\n [SERVICEREQUEST]=\"true\"\n [PAYMENT_GROUP_REF]=\"null\"\n [EXC_REFERENCE]=\"caseReference\"\n [DCN_NUMBER]=\"null\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [CARDPAYMENTRETURNURL]=\"getCardPaymentReturnUrl()\"\n [ISPAYMENTSTATUSENABLED]=\"'Enable'\"\n></ccpay-payment-lib>" }]
29589
+ }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }], null); })();
29590
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WaysToPayFieldComponent, { className: "WaysToPayFieldComponent", filePath: "lib/shared/components/palette/waystopay/waystopay-field.component.ts", lineNumber: 11 }); })();
29739
29591
 
29740
29592
  class YesNoService {
29741
29593
  static YES_INPUTS = [
@@ -37006,10 +36858,12 @@ class PaletteModule {
37006
36858
  MatAutocompleteModule,
37007
36859
  CdkTreeModule,
37008
36860
  OverlayModule,
36861
+ PaymentLibModule,
37009
36862
  RpxTranslationModule.forChild(),
37010
36863
  CdkTreeModule,
37011
36864
  OverlayModule,
37012
36865
  MatDialogModule,
36866
+ MediaViewerModule,
37013
36867
  LoadingModule,
37014
36868
  MarkdownComponentModule,
37015
36869
  ErrorsModule,
@@ -37060,10 +36914,12 @@ class PaletteModule {
37060
36914
  MatAutocompleteModule,
37061
36915
  CdkTreeModule,
37062
36916
  OverlayModule,
36917
+ PaymentLibModule,
37063
36918
  RpxTranslationModule.forChild(),
37064
36919
  CdkTreeModule,
37065
36920
  OverlayModule,
37066
36921
  MatDialogModule,
36922
+ MediaViewerModule,
37067
36923
  LoadingModule,
37068
36924
  MarkdownComponentModule,
37069
36925
  ErrorsModule,
@@ -37285,12 +37141,14 @@ class PaletteModule {
37285
37141
  MatDatepickerModule,
37286
37142
  MatAutocompleteModule,
37287
37143
  CdkTreeModule,
37288
- OverlayModule, i1.RpxTranslationModule, CdkTreeModule,
37144
+ OverlayModule,
37145
+ PaymentLibModule, i1.RpxTranslationModule, CdkTreeModule,
37289
37146
  OverlayModule,
37290
37147
  MatDialogModule,
37148
+ MediaViewerModule,
37291
37149
  LoadingModule,
37292
37150
  MarkdownComponentModule,
37293
- ErrorsModule, i3.NgxEditorModule], exports: [NgxMatDatepickerActions,
37151
+ ErrorsModule, i3$1.NgxEditorModule], exports: [NgxMatDatepickerActions,
37294
37152
  NgxMatDatepickerApply,
37295
37153
  NgxMatDatepickerInput,
37296
37154
  NgxMatDatetimepicker,
@@ -37479,12 +37337,12 @@ i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return
37479
37337
  i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
37480
37338
  i0.ɵɵsetComponentScope(
37481
37339
  // ComponentLauncher web components
37482
- CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, CaseFileViewFolderComponent]; }, []);
37340
+ CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
37483
37341
  i0.ɵɵsetComponentScope(
37484
37342
  // Components for case flags
37485
37343
  CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
37486
37344
  i0.ɵɵsetComponentScope(SelectFlagTypeComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.CheckboxControlValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName]; }, function () { return [i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
37487
- i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i14.MatInput, i6.MatAutocomplete, i6.MatOption, i6.MatAutocompleteTrigger]; }, function () { return [i5.AsyncPipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe,
37345
+ i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i15.MatInput, i6.MatAutocomplete, i6.MatOption, i6.MatAutocompleteTrigger]; }, function () { return [i5.AsyncPipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe,
37488
37346
  LanguageInterpreterDisplayPipe]; });
37489
37347
  i0.ɵɵsetComponentScope(ManageCaseFlagsComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective]; }, function () { return [i1.RpxTranslatePipe, ManageCaseFlagsLabelDisplayPipe]; });
37490
37348
  i0.ɵɵsetComponentScope(UpdateFlagComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i5.NgTemplateOutlet, i4.DefaultValueAccessor, i4.CheckboxControlValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName]; }, function () { return [i1.RpxTranslatePipe, UpdateFlagTitleDisplayPipe]; });
@@ -46788,5 +46646,5 @@ class TestRouteSnapshotBuilder {
46788
46646
  * Generated bundle index. Do not edit.
46789
46647
  */
46790
46648
 
46791
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, textFieldType, viewerRouting };
46649
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
46792
46650
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map