@hmcts/ccd-case-ui-toolkit 7.4.26-4923 → 7.4.26-exceljs-update

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 {
@@ -13666,7 +13683,7 @@ class CaseEventCompletionComponent {
13666
13683
  }] }); })();
13667
13684
  (() => { (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
13685
 
13669
- const _c0$14 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13686
+ const _c0$11 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13670
13687
  class CaseEventCompletionTaskCancelledComponent {
13671
13688
  context;
13672
13689
  notifyEventCompletionCancelled = new EventEmitter();
@@ -13735,7 +13752,7 @@ class CaseEventCompletionTaskCancelledComponent {
13735
13752
  i0.ɵɵadvance(4);
13736
13753
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
13737
13754
  i0.ɵɵadvance(2);
13738
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$14, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13755
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$11, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13739
13756
  i0.ɵɵadvance();
13740
13757
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
13741
13758
  } }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -13750,7 +13767,7 @@ class CaseEventCompletionTaskCancelledComponent {
13750
13767
  }] }); })();
13751
13768
  (() => { (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
13769
 
13753
- const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13770
+ const _c0$10 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13754
13771
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
13755
13772
  const _r1 = i0.ɵɵgetCurrentView();
13756
13773
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -13803,7 +13820,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
13803
13820
  i0.ɵɵadvance(4);
13804
13821
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
13805
13822
  i0.ɵɵadvance(2);
13806
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$13, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13823
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$10, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13807
13824
  i0.ɵɵadvance();
13808
13825
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
13809
13826
  } }
@@ -14206,7 +14223,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
14206
14223
  }] }); })();
14207
14224
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
14208
14225
 
14209
- const _c0$12 = ["writeComplexFieldComponent"];
14226
+ const _c0$$ = ["writeComplexFieldComponent"];
14210
14227
  const _c1$q = a0 => ({ "form-group-error": a0 });
14211
14228
  const _c2$4 = a0 => ({ "govuk-input--error": a0 });
14212
14229
  function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
@@ -14485,7 +14502,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14485
14502
  }
14486
14503
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
14487
14504
  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);
14505
+ i0.ɵɵviewQuery(_c0$$, 5);
14489
14506
  i0.ɵɵviewQuery(FocusElementDirective, 5);
14490
14507
  } if (rf & 2) {
14491
14508
  let _t;
@@ -14548,7 +14565,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
14548
14565
  type: Input
14549
14566
  }] }); })();
14550
14567
 
14551
- const _c0$11 = ["journeyChild"];
14568
+ const _c0$_ = ["journeyChild"];
14552
14569
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14553
14570
  multipageComponentStateService;
14554
14571
  journeyStartPageNumber = 0;
@@ -14623,7 +14640,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14623
14640
  ;
14624
14641
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14625
14642
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14626
- i0.ɵɵviewQuery(_c0$11, 5);
14643
+ i0.ɵɵviewQuery(_c0$_, 5);
14627
14644
  } if (rf & 2) {
14628
14645
  let _t;
14629
14646
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -14638,7 +14655,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14638
14655
  args: ['journeyChild']
14639
14656
  }] }); })();
14640
14657
 
14641
- const _c0$10 = ["journeyChild"];
14658
+ const _c0$Z = ["journeyChild"];
14642
14659
  class AbstractJourneyComponent {
14643
14660
  multipageComponentStateService;
14644
14661
  journeyStartPageNumber = 0;
@@ -14700,7 +14717,7 @@ class AbstractJourneyComponent {
14700
14717
  onPageChange() { }
14701
14718
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14702
14719
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14703
- i0.ɵɵviewQuery(_c0$10, 5);
14720
+ i0.ɵɵviewQuery(_c0$Z, 5);
14704
14721
  } if (rf & 2) {
14705
14722
  let _t;
14706
14723
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -14729,9 +14746,8 @@ var DisplayContextCustomParameter;
14729
14746
  DisplayContextCustomParameter["QueryManagementWriteTest"] = "QueryManagementWriteTest";
14730
14747
  })(DisplayContextCustomParameter || (DisplayContextCustomParameter = {}));
14731
14748
 
14732
- const _c0$$ = ["mediaViewerHost"];
14733
14749
  function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
14734
- i0.ɵɵelementStart(0, "li")(1, "button", 9);
14750
+ i0.ɵɵelementStart(0, "li")(1, "button", 8);
14735
14751
  i0.ɵɵtext(2);
14736
14752
  i0.ɵɵelementEnd()();
14737
14753
  } if (rf & 2) {
@@ -14741,11 +14757,11 @@ function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (
14741
14757
  } }
14742
14758
  function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
14743
14759
  i0.ɵɵelementContainerStart(0);
14744
- i0.ɵɵelementStart(1, "div", 3)(2, "div", 4)(3, "h2", 5);
14760
+ i0.ɵɵelementStart(1, "div", 2)(2, "div", 3)(3, "h2", 4);
14745
14761
  i0.ɵɵtext(4, "There is a problem");
14746
14762
  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);
14763
+ i0.ɵɵelementStart(5, "div", 5)(6, "ul", 6);
14764
+ i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li", 7);
14749
14765
  i0.ɵɵelementEnd()()()();
14750
14766
  i0.ɵɵelementContainerEnd();
14751
14767
  } if (rf & 2) {
@@ -14754,29 +14770,33 @@ function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf &
14754
14770
  i0.ɵɵproperty("ngForOf", ctx_r1.errorMessages);
14755
14771
  } }
14756
14772
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
14757
- i0.ɵɵelementStart(0, "div", 10)(1, "h1", 11);
14773
+ i0.ɵɵelementStart(0, "div", 9)(1, "h1", 10);
14758
14774
  i0.ɵɵtext(2, "Sorry, there is a problem with the service");
14759
14775
  i0.ɵɵelementEnd();
14760
- i0.ɵɵelementStart(3, "p", 12);
14776
+ i0.ɵɵelementStart(3, "p", 11);
14761
14777
  i0.ɵɵtext(4, "Try again later.");
14762
14778
  i0.ɵɵelementEnd()();
14763
14779
  } }
14764
14780
  function CaseFileViewFieldComponent_div_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
14765
14781
  i0.ɵɵelementContainerStart(0);
14766
- i0.ɵɵelementContainer(1, null, 0);
14782
+ i0.ɵɵelement(1, "mv-media-viewer", 18);
14767
14783
  i0.ɵɵelementContainerEnd();
14784
+ } if (rf & 2) {
14785
+ const ctx_r1 = i0.ɵɵnextContext(2);
14786
+ i0.ɵɵadvance();
14787
+ 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
14788
  } }
14769
14789
  function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
14770
14790
  const _r3 = i0.ɵɵgetCurrentView();
14771
- i0.ɵɵelementStart(0, "div")(1, "h2", 13);
14791
+ i0.ɵɵelementStart(0, "div")(1, "h2", 12);
14772
14792
  i0.ɵɵtext(2, "Case file");
14773
14793
  i0.ɵɵelementEnd();
14774
- i0.ɵɵelementStart(3, "div", 14)(4, "div", 15)(5, "ccd-case-file-view-folder", 16);
14794
+ i0.ɵɵelementStart(3, "div", 13)(4, "div", 14)(5, "ccd-case-file-view-folder", 15);
14775
14795
  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
14796
  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);
14797
+ i0.ɵɵelement(6, "div", 16);
14798
+ i0.ɵɵelementStart(7, "div", 17);
14799
+ i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 2, 10, "ng-container", 0);
14780
14800
  i0.ɵɵelementEnd()()();
14781
14801
  } if (rf & 2) {
14782
14802
  const ctx_r1 = i0.ɵɵnextContext();
@@ -14787,8 +14807,6 @@ function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
14787
14807
  } }
14788
14808
  class CaseFileViewFieldComponent {
14789
14809
  elementRef;
14790
- changeDetectorRef;
14791
- environmentInjector;
14792
14810
  route;
14793
14811
  caseFileViewService;
14794
14812
  documentManagementService;
@@ -14809,14 +14827,8 @@ class CaseFileViewFieldComponent {
14809
14827
  icp_jurisdictions = [];
14810
14828
  icpEnabled = false;
14811
14829
  caseId;
14812
- mediaViewerHost;
14813
- mediaViewerComponentRef;
14814
- mediaViewerModuleRef;
14815
- mediaViewerRenderId = 0;
14816
- constructor(elementRef, changeDetectorRef, environmentInjector, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, windowService, caseNotifier, abstractConfig) {
14830
+ constructor(elementRef, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, windowService, caseNotifier, abstractConfig) {
14817
14831
  this.elementRef = elementRef;
14818
- this.changeDetectorRef = changeDetectorRef;
14819
- this.environmentInjector = environmentInjector;
14820
14832
  this.route = route;
14821
14833
  this.caseFileViewService = caseFileViewService;
14822
14834
  this.documentManagementService = documentManagementService;
@@ -14879,7 +14891,6 @@ class CaseFileViewFieldComponent {
14879
14891
  if (this.documentManagementService.isHtmlDocument(documentDetails)) {
14880
14892
  const documentBinaryUrl = this.documentManagementService.getDocumentBinaryUrl(documentDetails);
14881
14893
  if (documentBinaryUrl) {
14882
- this.destroyMediaViewer();
14883
14894
  this.currentDocument = undefined;
14884
14895
  this.windowService.openOnNewTab(documentBinaryUrl);
14885
14896
  return;
@@ -14887,7 +14898,6 @@ class CaseFileViewFieldComponent {
14887
14898
  }
14888
14899
  const mediaViewerInfo = this.documentManagementService.getMediaViewerInfo(documentDetails);
14889
14900
  this.currentDocument = JSON.parse(mediaViewerInfo);
14890
- void this.renderMediaViewer();
14891
14901
  }
14892
14902
  moveDocument(data) {
14893
14903
  const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
@@ -14913,9 +14923,6 @@ class CaseFileViewFieldComponent {
14913
14923
  this.errorMessages = [];
14914
14924
  }
14915
14925
  ngOnDestroy() {
14916
- this.mediaViewerRenderId++;
14917
- this.destroyMediaViewer();
14918
- this.mediaViewerModuleRef?.destroy();
14919
14926
  if (this.categoriesAndDocumentsSubscription) {
14920
14927
  this.categoriesAndDocumentsSubscription.unsubscribe();
14921
14928
  }
@@ -14923,43 +14930,6 @@ class CaseFileViewFieldComponent {
14923
14930
  isIcpEnabled() {
14924
14931
  return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
14925
14932
  }
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
14933
  moveDocumentError(err) {
14964
14934
  const defaultMsg = 'We couldn\'t move the document. Please try again.';
14965
14935
  if (!(err instanceof HttpErrorResponse)) {
@@ -14985,14 +14955,9 @@ class CaseFileViewFieldComponent {
14985
14955
  return defaultMsg;
14986
14956
  }
14987
14957
  }
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);
14958
+ 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)); };
14959
+ 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) {
14960
+ 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
14961
  } if (rf & 2) {
14997
14962
  i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
14998
14963
  i0.ɵɵadvance();
@@ -15003,12 +14968,9 @@ class CaseFileViewFieldComponent {
15003
14968
  }
15004
14969
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
15005
14970
  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 }); })();
14971
+ 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"] }]
14972
+ }], () => [{ type: i0.ElementRef }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
14973
+ (() => { (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
14974
 
15013
14975
  const PVP_FLAG_CODE = 'PF0021';
15014
14976
  const PVP_DISPLAY_TEXT = 'POTENTIALLY VIOLENT PERSON';
@@ -16240,7 +16202,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
16240
16202
  }], null, null); })();
16241
16203
  (() => { (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
16204
 
16243
- const _c0$_ = ["writeComplexFieldComponent"];
16205
+ const _c0$Y = ["writeComplexFieldComponent"];
16244
16206
  const _c1$p = a0 => ({ "form-group-error": a0 });
16245
16207
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16246
16208
  i0.ɵɵelementStart(0, "span", 6);
@@ -16321,7 +16283,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16321
16283
  }
16322
16284
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
16323
16285
  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);
16286
+ i0.ɵɵviewQuery(_c0$Y, 5);
16325
16287
  } if (rf & 2) {
16326
16288
  let _t;
16327
16289
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -16355,7 +16317,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16355
16317
  }] }); })();
16356
16318
  (() => { (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
16319
 
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 });
16320
+ 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
16321
  const _c1$o = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
16360
16322
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
16361
16323
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
@@ -16366,7 +16328,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
16366
16328
  } if (rf & 2) {
16367
16329
  const ctx_r0 = i0.ɵɵnextContext(2);
16368
16330
  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);
16331
+ 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
16332
  } }
16371
16333
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
16372
16334
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -16488,7 +16450,7 @@ class RemoveDialogComponent {
16488
16450
  }], () => [{ type: i1$3.MatDialogRef }], null); })();
16489
16451
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
16490
16452
 
16491
- const _c0$Y = ["collectionItem"];
16453
+ const _c0$W = ["collectionItem"];
16492
16454
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
16493
16455
  i0.ɵɵelementStart(0, "h2", 7);
16494
16456
  i0.ɵɵtext(1);
@@ -16909,7 +16871,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
16909
16871
  }
16910
16872
  static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
16911
16873
  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);
16874
+ i0.ɵɵviewQuery(_c0$W, 5);
16913
16875
  } if (rf & 2) {
16914
16876
  let _t;
16915
16877
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -17225,7 +17187,7 @@ class FileUploadStateService {
17225
17187
  type: Injectable
17226
17188
  }], null, null); })();
17227
17189
 
17228
- const _c0$X = ["fileInput"];
17190
+ const _c0$V = ["fileInput"];
17229
17191
  const _c1$n = a0 => ({ "form-group-error bottom-30": a0 });
17230
17192
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
17231
17193
  i0.ɵɵelementStart(0, "span", 12);
@@ -17604,7 +17566,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
17604
17566
  }
17605
17567
  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
17568
  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);
17569
+ i0.ɵɵviewQuery(_c0$V, 5);
17608
17570
  } if (rf & 2) {
17609
17571
  let _t;
17610
17572
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -17719,7 +17681,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
17719
17681
  }], null, null); })();
17720
17682
  (() => { (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
17683
 
17722
- const _c0$W = a0 => ({ "form-group-error": a0 });
17684
+ const _c0$U = a0 => ({ "form-group-error": a0 });
17723
17685
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
17724
17686
  i0.ɵɵelementStart(0, "span", 8);
17725
17687
  i0.ɵɵtext(1);
@@ -17807,7 +17769,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
17807
17769
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
17808
17770
  i0.ɵɵelementEnd()();
17809
17771
  } if (rf & 2) {
17810
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$W, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17772
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$U, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17811
17773
  i0.ɵɵadvance();
17812
17774
  i0.ɵɵproperty("for", ctx.id());
17813
17775
  i0.ɵɵadvance();
@@ -17988,7 +17950,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
17988
17950
  }], null, null); })();
17989
17951
  (() => { (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
17952
 
17991
- const _c0$V = a0 => ({ "error": a0 });
17953
+ const _c0$T = a0 => ({ "error": a0 });
17992
17954
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
17993
17955
  i0.ɵɵelementStart(0, "span", 5);
17994
17956
  i0.ɵɵtext(1);
@@ -18108,7 +18070,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
18108
18070
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
18109
18071
  i0.ɵɵelementEnd()();
18110
18072
  } if (rf & 2) {
18111
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$V, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
18073
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$T, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
18112
18074
  i0.ɵɵadvance(3);
18113
18075
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
18114
18076
  i0.ɵɵadvance();
@@ -18188,7 +18150,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
18188
18150
  }], null, null); })();
18189
18151
  (() => { (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
18152
 
18191
- const _c0$U = a0 => ({ "form-group-error": a0 });
18153
+ const _c0$S = a0 => ({ "form-group-error": a0 });
18192
18154
  const _c1$m = a0 => ({ selected: a0 });
18193
18155
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18194
18156
  i0.ɵɵelementStart(0, "span", 7);
@@ -18283,7 +18245,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
18283
18245
  i0.ɵɵelementContainerEnd();
18284
18246
  i0.ɵɵelementEnd()();
18285
18247
  } if (rf & 2) {
18286
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18248
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$S, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18287
18249
  i0.ɵɵadvance(3);
18288
18250
  i0.ɵɵproperty("for", ctx.id());
18289
18251
  i0.ɵɵadvance();
@@ -18337,7 +18299,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
18337
18299
  }], null, null); })();
18338
18300
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
18339
18301
 
18340
- const _c0$T = a0 => ({ "form-group-error": a0 });
18302
+ const _c0$R = a0 => ({ "form-group-error": a0 });
18341
18303
  const _c1$l = a0 => ({ "govuk-input--error": a0 });
18342
18304
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18343
18305
  i0.ɵɵelementStart(0, "span", 6);
@@ -18383,7 +18345,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
18383
18345
  i0.ɵɵelement(5, "input", 5);
18384
18346
  i0.ɵɵelementEnd();
18385
18347
  } if (rf & 2) {
18386
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$T, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18348
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$R, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18387
18349
  i0.ɵɵadvance();
18388
18350
  i0.ɵɵproperty("for", ctx.id());
18389
18351
  i0.ɵɵadvance();
@@ -18425,7 +18387,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
18425
18387
  }], null, null); })();
18426
18388
  (() => { (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
18389
 
18428
- const _c0$S = a0 => ({ "form-group-error": a0 });
18390
+ const _c0$Q = a0 => ({ "form-group-error": a0 });
18429
18391
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18430
18392
  i0.ɵɵelementStart(0, "span", 8);
18431
18393
  i0.ɵɵtext(1);
@@ -18500,7 +18462,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
18500
18462
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
18501
18463
  i0.ɵɵelementEnd()();
18502
18464
  } if (rf & 2) {
18503
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18465
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$Q, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18504
18466
  i0.ɵɵadvance();
18505
18467
  i0.ɵɵproperty("for", ctx.id());
18506
18468
  i0.ɵɵadvance();
@@ -18563,7 +18525,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
18563
18525
  }], null, null); })();
18564
18526
  (() => { (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
18527
 
18566
- const _c0$R = a0 => ({ "form-group-error": a0 });
18528
+ const _c0$P = a0 => ({ "form-group-error": a0 });
18567
18529
  const _c1$k = a0 => ({ selected: a0 });
18568
18530
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18569
18531
  i0.ɵɵelementStart(0, "span", 6);
@@ -18631,7 +18593,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
18631
18593
  i0.ɵɵelementContainerEnd();
18632
18594
  i0.ɵɵelementEnd()();
18633
18595
  } if (rf & 2) {
18634
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$R, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18596
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$P, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18635
18597
  i0.ɵɵadvance(3);
18636
18598
  i0.ɵɵproperty("for", ctx.id());
18637
18599
  i0.ɵɵadvance();
@@ -18707,7 +18669,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
18707
18669
  }], () => [{ type: JurisdictionService }], null); })();
18708
18670
  (() => { (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
18671
 
18710
- const _c0$Q = a0 => ({ "form-group-error": a0 });
18672
+ const _c0$O = a0 => ({ "form-group-error": a0 });
18711
18673
  const _c1$j = a0 => ({ "hide-autocomplete": a0 });
18712
18674
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18713
18675
  i0.ɵɵelementStart(0, "span", 10);
@@ -18941,7 +18903,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
18941
18903
  i0.ɵɵelementEnd()();
18942
18904
  } if (rf & 2) {
18943
18905
  const autoComplete_r4 = i0.ɵɵreference(7);
18944
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.judicialUserControl && ctx.errors));
18906
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$O, !!ctx.judicialUserControl && ctx.errors));
18945
18907
  i0.ɵɵadvance();
18946
18908
  i0.ɵɵproperty("for", ctx.id());
18947
18909
  i0.ɵɵadvance();
@@ -19023,7 +18985,7 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
19023
18985
  }], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
19024
18986
  (() => { (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
18987
 
19026
- const _c0$P = a0 => ({ "form-group-error": a0 });
18988
+ const _c0$N = a0 => ({ "form-group-error": a0 });
19027
18989
  const _c1$i = a0 => ({ "hide-autocomplete": a0 });
19028
18990
  function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19029
18991
  i0.ɵɵelementStart(0, "span", 10);
@@ -19262,7 +19224,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
19262
19224
  i0.ɵɵelementEnd()();
19263
19225
  } if (rf & 2) {
19264
19226
  const autoComplete_r5 = i0.ɵɵreference(7);
19265
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$P, !!ctx.staffUserControl && ctx.errors));
19227
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$N, !!ctx.staffUserControl && ctx.errors));
19266
19228
  i0.ɵɵadvance();
19267
19229
  i0.ɵɵproperty("for", ctx.id());
19268
19230
  i0.ɵɵadvance();
@@ -19727,7 +19689,7 @@ class ValidatorsUtils {
19727
19689
  args: [{ providedIn: 'root' }]
19728
19690
  }], null, null); })();
19729
19691
 
19730
- const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
19692
+ const _c0$M = a0 => ({ "govuk-form-group--error": a0 });
19731
19693
  const _c1$h = a0 => ({ "table-group-error": a0 });
19732
19694
  function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
19733
19695
  i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
@@ -19794,7 +19756,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
19794
19756
  i0.ɵɵelementEnd()();
19795
19757
  } if (rf & 2) {
19796
19758
  const ctx_r1 = i0.ɵɵnextContext(2);
19797
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
19759
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$M, !!ctx_r1.caseReasonCommentsError));
19798
19760
  i0.ɵɵadvance(3);
19799
19761
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
19800
19762
  } }
@@ -19838,11 +19800,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
19838
19800
  const ctx_r1 = i0.ɵɵnextContext();
19839
19801
  i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
19840
19802
  i0.ɵɵadvance();
19841
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
19803
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$M, !!ctx_r1.caseNumberError));
19842
19804
  i0.ɵɵadvance(3);
19843
19805
  i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
19844
19806
  i0.ɵɵadvance(2);
19845
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
19807
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$M, !!ctx_r1.caseReasonError));
19846
19808
  i0.ɵɵadvance(5);
19847
19809
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
19848
19810
  i0.ɵɵadvance(2);
@@ -20270,7 +20232,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
20270
20232
  i0.ɵɵadvance(4);
20271
20233
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
20272
20234
  i0.ɵɵadvance(4);
20273
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
20235
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$M, !!ctx.noSelectedCaseError));
20274
20236
  i0.ɵɵadvance();
20275
20237
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
20276
20238
  i0.ɵɵadvance(18);
@@ -20863,7 +20825,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
20863
20825
  }], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
20864
20826
  (() => { (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
20827
 
20866
- const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
20828
+ const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
20867
20829
  function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
20868
20830
  i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
20869
20831
  i0.ɵɵtext(2, "Error:");
@@ -20901,7 +20863,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
20901
20863
  i0.ɵɵelementEnd()();
20902
20864
  } if (rf & 2) {
20903
20865
  const ctx_r0 = i0.ɵɵnextContext(2);
20904
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
20866
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$L, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
20905
20867
  i0.ɵɵadvance();
20906
20868
  i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
20907
20869
  i0.ɵɵadvance(2);
@@ -21838,7 +21800,7 @@ class MoneyGbpInputComponent {
21838
21800
  }] }); })();
21839
21801
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
21840
21802
 
21841
- const _c0$M = a0 => ({ "form-group-error": a0 });
21803
+ const _c0$K = a0 => ({ "form-group-error": a0 });
21842
21804
  function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
21843
21805
  i0.ɵɵelementStart(0, "span", 8);
21844
21806
  i0.ɵɵtext(1);
@@ -21887,7 +21849,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
21887
21849
  i0.ɵɵpipe(9, "ccdIsMandatory");
21888
21850
  i0.ɵɵelementEnd()();
21889
21851
  } if (rf & 2) {
21890
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$M, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
21852
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$K, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
21891
21853
  i0.ɵɵadvance();
21892
21854
  i0.ɵɵproperty("for", ctx.id());
21893
21855
  i0.ɵɵadvance();
@@ -21953,7 +21915,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
21953
21915
  }], null, null); })();
21954
21916
  (() => { (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
21917
 
21956
- const _c0$L = a0 => ({ "error": a0 });
21918
+ const _c0$J = a0 => ({ "error": a0 });
21957
21919
  function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
21958
21920
  i0.ɵɵelementStart(0, "span", 5);
21959
21921
  i0.ɵɵtext(1);
@@ -22054,7 +22016,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
22054
22016
  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
22017
  i0.ɵɵelementEnd()();
22056
22018
  } if (rf & 2) {
22057
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
22019
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$J, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
22058
22020
  i0.ɵɵadvance(3);
22059
22021
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
22060
22022
  i0.ɵɵadvance();
@@ -22093,7 +22055,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
22093
22055
  }], null, null); })();
22094
22056
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
22095
22057
 
22096
- const _c0$K = a0 => ({ "form-group-error": a0 });
22058
+ const _c0$I = a0 => ({ "form-group-error": a0 });
22097
22059
  const _c1$g = a0 => ({ "govuk-input--error": a0 });
22098
22060
  function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
22099
22061
  i0.ɵɵelementStart(0, "span", 6);
@@ -22139,7 +22101,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
22139
22101
  i0.ɵɵelement(5, "input", 5);
22140
22102
  i0.ɵɵelementEnd();
22141
22103
  } if (rf & 2) {
22142
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
22104
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !ctx.numberControl.valid && ctx.numberControl.dirty));
22143
22105
  i0.ɵɵadvance();
22144
22106
  i0.ɵɵproperty("for", ctx.id());
22145
22107
  i0.ɵɵadvance();
@@ -22318,7 +22280,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
22318
22280
  }] }); })();
22319
22281
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
22320
22282
 
22321
- const _c0$J = a0 => ({ "scroll-container ": a0 });
22283
+ const _c0$H = a0 => ({ "scroll-container ": a0 });
22322
22284
  function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
22323
22285
  i0.ɵɵelementStart(0, "fieldset", 3);
22324
22286
  i0.ɵɵelement(1, "legend", 4);
@@ -22397,7 +22359,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
22397
22359
  let tmp_3_0;
22398
22360
  let tmp_5_0;
22399
22361
  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));
22362
+ 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
22363
  i0.ɵɵadvance(2);
22402
22364
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
22403
22365
  i0.ɵɵadvance(2);
@@ -22739,98 +22701,38 @@ class PaymentField extends AbstractFieldReadComponent {
22739
22701
  }
22740
22702
  }
22741
22703
 
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
22704
  class CasePaymentHistoryViewerFieldComponent extends PaymentField {
22749
- environmentInjector;
22750
22705
  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) {
22706
+ constructor(appConfig, sessionStorage) {
22756
22707
  super(appConfig, sessionStorage);
22757
- this.environmentInjector = environmentInjector;
22758
- }
22759
- ngAfterViewInit() {
22760
- void this.renderPayment();
22761
- }
22762
- ngOnDestroy() {
22763
- this.paymentHost?.clear();
22764
- this.paymentComponentRef = undefined;
22765
- this.paymentModuleRef?.destroy();
22766
22708
  }
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);
22709
+ static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePaymentHistoryViewerFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
22710
+ 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) {
22711
+ i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
22806
22712
  i0.ɵɵtext(2, "!");
22807
22713
  i0.ɵɵelementEnd();
22808
- i0.ɵɵelementStart(3, "strong", 3)(4, "span", 4);
22714
+ i0.ɵɵelementStart(3, "strong", 2)(4, "span", 3);
22809
22715
  i0.ɵɵtext(5);
22810
22716
  i0.ɵɵpipe(6, "rpxTranslate");
22811
22717
  i0.ɵɵelementEnd();
22812
22718
  i0.ɵɵtext(7);
22813
22719
  i0.ɵɵpipe(8, "rpxTranslate");
22814
22720
  i0.ɵɵelementEnd()();
22815
- i0.ɵɵtemplate(9, CasePaymentHistoryViewerFieldComponent_p_9_Template, 2, 0, "p", 5);
22816
- i0.ɵɵelementContainer(10, null, 0);
22721
+ i0.ɵɵelement(9, "ccpay-payment-lib", 4);
22817
22722
  } if (rf & 2) {
22818
22723
  i0.ɵɵadvance(5);
22819
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 3, "Warning"));
22724
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 18, "Warning"));
22820
22725
  i0.ɵɵadvance(2);
22821
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 5, ctx.PAYMENT_HISTORY_WARNING), " ");
22726
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 20, ctx.PAYMENT_HISTORY_WARNING), " ");
22822
22727
  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}"] });
22728
+ 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");
22729
+ } }, dependencies: [i3.PaymentLibComponent, i1.RpxTranslatePipe], styles: [".govuk-warning-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:-20px}"] });
22825
22730
  }
22826
22731
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
22827
22732
  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 }); })();
22733
+ 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"] }]
22734
+ }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }], null); })();
22735
+ (() => { (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
22736
 
22835
22737
  class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
22836
22738
  static ɵfac = /*@__PURE__*/ (() => { let ɵReadPhoneUKFieldComponent_BaseFactory; return function ReadPhoneUKFieldComponent_Factory(__ngFactoryType__) { return (ɵReadPhoneUKFieldComponent_BaseFactory || (ɵReadPhoneUKFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadPhoneUKFieldComponent)))(__ngFactoryType__ || ReadPhoneUKFieldComponent); }; })();
@@ -22853,7 +22755,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
22853
22755
  }], null, null); })();
22854
22756
  (() => { (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
22757
 
22856
- const _c0$H = a0 => ({ "form-group-error": a0 });
22758
+ const _c0$G = a0 => ({ "form-group-error": a0 });
22857
22759
  const _c1$f = a0 => ({ "govuk-input--error": a0 });
22858
22760
  function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
22859
22761
  i0.ɵɵelementStart(0, "span", 6);
@@ -22899,7 +22801,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
22899
22801
  i0.ɵɵelement(5, "input", 5);
22900
22802
  i0.ɵɵelementEnd();
22901
22803
  } if (rf & 2) {
22902
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
22804
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
22903
22805
  i0.ɵɵadvance();
22904
22806
  i0.ɵɵproperty("for", ctx.id());
22905
22807
  i0.ɵɵadvance();
@@ -25393,7 +25295,7 @@ class QueryWriteDateInputComponent {
25393
25295
  }] }); })();
25394
25296
  (() => { (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
25297
 
25396
- const _c0$G = a0 => ({ "govuk-form-group--error": a0 });
25298
+ const _c0$F = a0 => ({ "govuk-form-group--error": a0 });
25397
25299
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
25398
25300
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
25399
25301
  } if (rf & 2) {
@@ -25473,7 +25375,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
25473
25375
  } if (rf & 2) {
25474
25376
  const ctx_r0 = i0.ɵɵnextContext(2);
25475
25377
  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));
25378
+ 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
25379
  i0.ɵɵadvance(4);
25478
25380
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
25479
25381
  i0.ɵɵadvance(2);
@@ -25540,7 +25442,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25540
25442
  i0.ɵɵadvance(8);
25541
25443
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
25542
25444
  i0.ɵɵadvance(2);
25543
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25445
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25544
25446
  i0.ɵɵadvance(3);
25545
25447
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
25546
25448
  i0.ɵɵadvance(3);
@@ -25548,7 +25450,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25548
25450
  i0.ɵɵadvance(2);
25549
25451
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
25550
25452
  i0.ɵɵadvance(2);
25551
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25453
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25552
25454
  i0.ɵɵadvance(3);
25553
25455
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
25554
25456
  i0.ɵɵadvance(3);
@@ -25559,7 +25461,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25559
25461
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
25560
25462
  i0.ɵɵproperty("formControlName", "body");
25561
25463
  i0.ɵɵadvance(2);
25562
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25464
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25563
25465
  i0.ɵɵadvance(4);
25564
25466
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
25565
25467
  i0.ɵɵadvance(2);
@@ -26183,7 +26085,7 @@ class CloseQueryComponent {
26183
26085
  }] }); })();
26184
26086
  (() => { (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
26087
 
26186
- const _c0$F = (a0, a1) => ["/query-management", "query", a0, "4", a1];
26088
+ const _c0$E = (a0, a1) => ["/query-management", "query", a0, "4", a1];
26187
26089
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
26188
26090
  const _r1 = i0.ɵɵgetCurrentView();
26189
26091
  i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
@@ -26222,7 +26124,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
26222
26124
  } if (rf & 2) {
26223
26125
  const ctx_r1 = i0.ɵɵnextContext(3);
26224
26126
  i0.ɵɵadvance();
26225
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
26127
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$E, ctx_r1.caseId, ctx_r1.query.id));
26226
26128
  i0.ɵɵadvance();
26227
26129
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
26228
26130
  } }
@@ -26236,7 +26138,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
26236
26138
  } if (rf & 2) {
26237
26139
  const ctx_r1 = i0.ɵɵnextContext(4);
26238
26140
  i0.ɵɵadvance();
26239
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
26141
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$E, ctx_r1.caseId, ctx_r1.query.id));
26240
26142
  i0.ɵɵadvance();
26241
26143
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
26242
26144
  } }
@@ -26649,7 +26551,7 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
26649
26551
  }], () => [{ type: i4$1.DomSanitizer }], null); })();
26650
26552
  (() => { (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
26553
 
26652
- const _c0$E = ["editorHost"];
26554
+ const _c0$D = ["editorHost"];
26653
26555
  const _c1$e = a0 => ({ "form-group-error": a0 });
26654
26556
  const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
26655
26557
  const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
@@ -29271,7 +29173,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
29271
29173
  }
29272
29174
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
29273
29175
  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);
29176
+ i0.ɵɵviewQuery(_c0$D, 5);
29275
29177
  } if (rf & 2) {
29276
29178
  let _t;
29277
29179
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
@@ -29432,7 +29334,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
29432
29334
  i0.ɵɵproperty("ngIf", !ctx.isOrderedListActive());
29433
29335
  i0.ɵɵadvance(16);
29434
29336
  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 });
29337
+ } }, 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
29338
  }
29437
29339
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteRichTextAreaFieldComponent, [{
29438
29340
  type: Component,
@@ -29464,7 +29366,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
29464
29366
  }], null, null); })();
29465
29367
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
29466
29368
 
29467
- const _c0$D = a0 => ({ "form-group-error": a0 });
29369
+ const _c0$C = a0 => ({ "form-group-error": a0 });
29468
29370
  const _c1$d = a0 => ({ "govuk-input--error": a0 });
29469
29371
  function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
29470
29372
  i0.ɵɵelementStart(0, "span", 7);
@@ -29522,7 +29424,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
29522
29424
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
29523
29425
  i0.ɵɵelementEnd()();
29524
29426
  } if (rf & 2) {
29525
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
29427
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
29526
29428
  i0.ɵɵadvance();
29527
29429
  i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
29528
29430
  i0.ɵɵadvance();
@@ -29560,7 +29462,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
29560
29462
  }], null, null); })();
29561
29463
  (() => { (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
29464
 
29563
- const _c0$C = a0 => ({ "form-group-error": a0 });
29465
+ const _c0$B = a0 => ({ "form-group-error": a0 });
29564
29466
  const _c1$c = a0 => ({ "govuk-textarea--error": a0 });
29565
29467
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
29566
29468
  i0.ɵɵelementStart(0, "span", 6);
@@ -29619,7 +29521,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
29619
29521
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
29620
29522
  i0.ɵɵelementEnd()();
29621
29523
  } if (rf & 2) {
29622
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
29524
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
29623
29525
  i0.ɵɵadvance();
29624
29526
  i0.ɵɵproperty("for", ctx.id());
29625
29527
  i0.ɵɵadvance();
@@ -29656,86 +29558,31 @@ class UnsupportedFieldComponent {
29656
29558
  }], null, null); })();
29657
29559
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnsupportedFieldComponent, { className: "UnsupportedFieldComponent", filePath: "lib/shared/components/palette/unsupported-field.component.ts", lineNumber: 8 }); })();
29658
29560
 
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();
29561
+ function WaysToPayFieldComponent_ccpay_payment_lib_0_Template(rf, ctx) { if (rf & 1) {
29562
+ i0.ɵɵelement(0, "ccpay-payment-lib", 1);
29563
+ } if (rf & 2) {
29564
+ const ctx_r0 = i0.ɵɵnextContext();
29565
+ 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
29566
  } }
29665
29567
  class WaysToPayFieldComponent extends PaymentField {
29666
- environmentInjector;
29667
- paymentLoadError = false;
29668
- paymentHost;
29669
- paymentComponentRef;
29670
- paymentModuleRef;
29671
- constructor(appConfig, sessionStorage, environmentInjector) {
29568
+ constructor(appConfig, sessionStorage) {
29672
29569
  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
29570
  }
29685
29571
  getCardPaymentReturnUrl() {
29686
29572
  return this.appConfig.getPaymentReturnUrl();
29687
29573
  }
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);
29574
+ static ɵfac = function WaysToPayFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
29575
+ 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) {
29576
+ i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
29727
29577
  } if (rf & 2) {
29728
- i0.ɵɵproperty("ngIf", ctx.paymentLoadError);
29729
- } }, dependencies: [i5.NgIf], encapsulation: 2 });
29578
+ i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
29579
+ } }, dependencies: [i5.NgIf, i3.PaymentLibComponent], encapsulation: 2 });
29730
29580
  }
29731
29581
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
29732
29582
  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 }); })();
29583
+ 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>" }]
29584
+ }], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }], null); })();
29585
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WaysToPayFieldComponent, { className: "WaysToPayFieldComponent", filePath: "lib/shared/components/palette/waystopay/waystopay-field.component.ts", lineNumber: 11 }); })();
29739
29586
 
29740
29587
  class YesNoService {
29741
29588
  static YES_INPUTS = [
@@ -37006,10 +36853,12 @@ class PaletteModule {
37006
36853
  MatAutocompleteModule,
37007
36854
  CdkTreeModule,
37008
36855
  OverlayModule,
36856
+ PaymentLibModule,
37009
36857
  RpxTranslationModule.forChild(),
37010
36858
  CdkTreeModule,
37011
36859
  OverlayModule,
37012
36860
  MatDialogModule,
36861
+ MediaViewerModule,
37013
36862
  LoadingModule,
37014
36863
  MarkdownComponentModule,
37015
36864
  ErrorsModule,
@@ -37060,10 +36909,12 @@ class PaletteModule {
37060
36909
  MatAutocompleteModule,
37061
36910
  CdkTreeModule,
37062
36911
  OverlayModule,
36912
+ PaymentLibModule,
37063
36913
  RpxTranslationModule.forChild(),
37064
36914
  CdkTreeModule,
37065
36915
  OverlayModule,
37066
36916
  MatDialogModule,
36917
+ MediaViewerModule,
37067
36918
  LoadingModule,
37068
36919
  MarkdownComponentModule,
37069
36920
  ErrorsModule,
@@ -37285,12 +37136,14 @@ class PaletteModule {
37285
37136
  MatDatepickerModule,
37286
37137
  MatAutocompleteModule,
37287
37138
  CdkTreeModule,
37288
- OverlayModule, i1.RpxTranslationModule, CdkTreeModule,
37139
+ OverlayModule,
37140
+ PaymentLibModule, i1.RpxTranslationModule, CdkTreeModule,
37289
37141
  OverlayModule,
37290
37142
  MatDialogModule,
37143
+ MediaViewerModule,
37291
37144
  LoadingModule,
37292
37145
  MarkdownComponentModule,
37293
- ErrorsModule, i3.NgxEditorModule], exports: [NgxMatDatepickerActions,
37146
+ ErrorsModule, i3$1.NgxEditorModule], exports: [NgxMatDatepickerActions,
37294
37147
  NgxMatDatepickerApply,
37295
37148
  NgxMatDatepickerInput,
37296
37149
  NgxMatDatetimepicker,
@@ -37479,12 +37332,12 @@ i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return
37479
37332
  i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
37480
37333
  i0.ɵɵsetComponentScope(
37481
37334
  // ComponentLauncher web components
37482
- CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, CaseFileViewFolderComponent]; }, []);
37335
+ CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
37483
37336
  i0.ɵɵsetComponentScope(
37484
37337
  // Components for case flags
37485
37338
  CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
37486
37339
  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,
37340
+ 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
37341
  LanguageInterpreterDisplayPipe]; });
37489
37342
  i0.ɵɵsetComponentScope(ManageCaseFlagsComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective]; }, function () { return [i1.RpxTranslatePipe, ManageCaseFlagsLabelDisplayPipe]; });
37490
37343
  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 +46641,5 @@ class TestRouteSnapshotBuilder {
46788
46641
  * Generated bundle index. Do not edit.
46789
46642
  */
46790
46643
 
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 };
46644
+ 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
46645
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map