@hmcts/ccd-case-ui-toolkit 7.3.43-hearing-demo → 7.3.44-4371-2

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.
@@ -58,7 +58,7 @@ import * as i10 from '@angular/material/legacy-tabs';
58
58
  import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
59
59
  import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
60
60
 
61
- const _c0$18 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
61
+ const _c0$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
62
62
  const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
63
63
  function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
64
64
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
@@ -136,7 +136,7 @@ class FooterComponent {
136
136
  workhours;
137
137
  static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
138
138
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
139
- i0.ɵɵprojectionDef(_c0$18);
139
+ i0.ɵɵprojectionDef(_c0$17);
140
140
  i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
141
141
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
142
142
  i0.ɵɵelementEnd()();
@@ -163,7 +163,7 @@ class FooterComponent {
163
163
  }] }); })();
164
164
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 9 }); })();
165
165
 
166
- const _c0$17 = [[["", "headerNavigation", ""]]];
166
+ const _c0$16 = [[["", "headerNavigation", ""]]];
167
167
  const _c1$t = ["[headerNavigation]"];
168
168
  function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
169
169
  i0.ɵɵelementStart(0, "div")(1, "a", 12);
@@ -206,7 +206,7 @@ class HeaderBarComponent {
206
206
  }
207
207
  static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
208
208
  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$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["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) {
209
- i0.ɵɵprojectionDef(_c0$17);
209
+ i0.ɵɵprojectionDef(_c0$16);
210
210
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
211
211
  i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
212
212
  i0.ɵɵelementEnd();
@@ -256,13 +256,13 @@ class HeaderBarComponent {
256
256
  }] }); })();
257
257
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 9 }); })();
258
258
 
259
- const _c0$16 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
259
+ const _c0$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
260
260
  const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
261
261
  class NavigationComponent {
262
262
  isSolicitor;
263
263
  static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
264
264
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
265
- i0.ɵɵprojectionDef(_c0$16);
265
+ i0.ɵɵprojectionDef(_c0$15);
266
266
  i0.ɵɵelementStart(0, "div")(1, "nav", 0);
267
267
  i0.ɵɵprojection(2);
268
268
  i0.ɵɵprojection(3, 1);
@@ -380,12 +380,12 @@ class HeadersModule {
380
380
  }], null, null); })();
381
381
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
382
382
 
383
- const _c0$15 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
383
+ const _c0$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
384
384
  const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
385
385
  class BodyComponent {
386
386
  static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
387
387
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
388
- i0.ɵɵprojectionDef(_c0$15);
388
+ i0.ɵɵprojectionDef(_c0$14);
389
389
  i0.ɵɵelementStart(0, "div", 0);
390
390
  i0.ɵɵprojection(1);
391
391
  i0.ɵɵprojection(2, 1);
@@ -399,7 +399,7 @@ class BodyComponent {
399
399
  }], null, null); })();
400
400
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
401
401
 
402
- const _c0$14 = a0 => ({ "govuk-input--error": a0 });
402
+ const _c0$13 = a0 => ({ "govuk-input--error": a0 });
403
403
  function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
404
404
  const _r5 = i0.ɵɵgetCurrentView();
405
405
  i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
@@ -416,7 +416,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
416
416
  i0.ɵɵadvance();
417
417
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
418
418
  i0.ɵɵadvance(2);
419
- i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
419
+ i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
420
420
  i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
421
421
  } }
422
422
  function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
@@ -435,7 +435,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
435
435
  i0.ɵɵadvance();
436
436
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
437
437
  i0.ɵɵadvance(2);
438
- i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
438
+ i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
439
439
  i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
440
440
  } }
441
441
  function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
@@ -454,7 +454,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
454
454
  i0.ɵɵadvance();
455
455
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
456
456
  i0.ɵɵadvance(2);
457
- i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
457
+ i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
458
458
  i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
459
459
  } }
460
460
  class DateInputComponent {
@@ -690,21 +690,21 @@ class DateInputComponent {
690
690
  i0.ɵɵadvance();
691
691
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
692
692
  i0.ɵɵadvance(2);
693
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$14, ctx.isInvalid));
693
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$13, ctx.isInvalid));
694
694
  i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
695
695
  i0.ɵɵadvance(3);
696
696
  i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
697
697
  i0.ɵɵadvance();
698
698
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
699
699
  i0.ɵɵadvance(2);
700
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$14, ctx.isInvalid));
700
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$13, ctx.isInvalid));
701
701
  i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
702
702
  i0.ɵɵadvance(3);
703
703
  i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
704
704
  i0.ɵɵadvance();
705
705
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
706
706
  i0.ɵɵadvance(2);
707
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$14, ctx.isInvalid));
707
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$13, ctx.isInvalid));
708
708
  i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
709
709
  i0.ɵɵadvance(2);
710
710
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
@@ -741,7 +741,7 @@ class DateInputComponent {
741
741
  }] }); })();
742
742
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
743
743
 
744
- const _c0$13 = ["*"];
744
+ const _c0$12 = ["*"];
745
745
  function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
746
746
  i0.ɵɵelementContainerStart(0);
747
747
  i0.ɵɵnamespaceSVG();
@@ -791,7 +791,7 @@ class AlertComponent {
791
791
  showIcon = true;
792
792
  alertMessageType = AlertMessageType;
793
793
  static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
794
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$13, 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) {
794
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$12, 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) {
795
795
  i0.ɵɵprojectionDef();
796
796
  i0.ɵɵelementStart(0, "div", 0);
797
797
  i0.ɵɵelementContainerStart(1, 1);
@@ -1005,14 +1005,14 @@ class NotificationBannerComponent {
1005
1005
  }] }); })();
1006
1006
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
1007
1007
 
1008
- const _c0$12 = ["*"];
1008
+ const _c0$11 = ["*"];
1009
1009
  const _c1$q = a0 => ({ "js-hidden": a0 });
1010
1010
  class TabComponent {
1011
1011
  id;
1012
1012
  title;
1013
1013
  selected;
1014
1014
  static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
1015
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$12, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1015
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$11, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1016
1016
  i0.ɵɵprojectionDef();
1017
1017
  i0.ɵɵelementStart(0, "div", 0);
1018
1018
  i0.ɵɵprojection(1);
@@ -1034,7 +1034,7 @@ class TabComponent {
1034
1034
  }] }); })();
1035
1035
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
1036
1036
 
1037
- const _c0$11 = ["tab"];
1037
+ const _c0$10 = ["tab"];
1038
1038
  const _c1$p = ["*"];
1039
1039
  const _c2$4 = () => ["."];
1040
1040
  const _c3 = a0 => ({ "tabs-toggle-selected": a0 });
@@ -1081,7 +1081,7 @@ class TabsComponent {
1081
1081
  let _t;
1082
1082
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1083
1083
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1084
- i0.ɵɵviewQuery(_c0$11, 5);
1084
+ i0.ɵɵviewQuery(_c0$10, 5);
1085
1085
  } if (rf & 2) {
1086
1086
  let _t;
1087
1087
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1140,7 +1140,7 @@ class TabsModule {
1140
1140
  RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
1141
1141
  TabComponent] }); })();
1142
1142
 
1143
- const _c0$10 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1143
+ const _c0$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1144
1144
  class ActivityBannerComponent {
1145
1145
  bannerType;
1146
1146
  description;
@@ -1159,7 +1159,7 @@ class ActivityBannerComponent {
1159
1159
  i0.ɵɵpipe(6, "rpxTranslate");
1160
1160
  i0.ɵɵelementEnd()();
1161
1161
  } if (rf & 2) {
1162
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$10, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1162
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1163
1163
  i0.ɵɵadvance(2);
1164
1164
  i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
1165
1165
  i0.ɵɵadvance(3);
@@ -9837,6 +9837,11 @@ class CaseEditComponent {
9837
9837
  const userTask = FieldsUtils.getUserTaskFromClientContext(clientContextStr);
9838
9838
  const [task, taskToBeCompleted] = userTask ? [userTask.task_data, userTask.complete_task] : [null, false];
9839
9839
  const assignNeeded = this.sessionStorageService.getItem('assignNeeded') === 'true';
9840
+ if (this.caseDetails && (this.caseDetails.case_id !== task?.case_id)) {
9841
+ this.abstractConfig.logMessage(`postCompleteTaskIfRequired: task in session storage with taskId ${task?.id} has caseId: ${task?.case_id} which does not match case details case id ${this.caseDetails.case_id}, NOT completing task and clearing client context`);
9842
+ this.sessionStorageService.removeItem(CaseEditComponent.CLIENT_CONTEXT);
9843
+ return of(true);
9844
+ }
9840
9845
  if (task && assignNeeded && taskToBeCompleted) {
9841
9846
  this.abstractConfig.logMessage(`postCompleteTaskIfRequired with assignNeeded: taskId ${task.id} and event name ${this.eventTrigger?.name}`);
9842
9847
  return this.workAllocationService.assignAndCompleteTask(task.id, this.eventTrigger.name);
@@ -12125,7 +12130,7 @@ class CaseEventCompletionComponent {
12125
12130
  }] }); })();
12126
12131
  (() => { (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 }); })();
12127
12132
 
12128
- const _c0$$ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12133
+ const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12129
12134
  class CaseEventCompletionTaskCancelledComponent {
12130
12135
  context;
12131
12136
  notifyEventCompletionCancelled = new EventEmitter();
@@ -12194,7 +12199,7 @@ class CaseEventCompletionTaskCancelledComponent {
12194
12199
  i0.ɵɵadvance(4);
12195
12200
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
12196
12201
  i0.ɵɵadvance(2);
12197
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$$, ctx.jurisdiction, ctx.caseType, ctx.caseId));
12202
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$_, ctx.jurisdiction, ctx.caseType, ctx.caseId));
12198
12203
  i0.ɵɵadvance();
12199
12204
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
12200
12205
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -12209,7 +12214,7 @@ class CaseEventCompletionTaskCancelledComponent {
12209
12214
  }] }); })();
12210
12215
  (() => { (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 }); })();
12211
12216
 
12212
- const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12217
+ const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12213
12218
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
12214
12219
  const _r1 = i0.ɵɵgetCurrentView();
12215
12220
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -12262,7 +12267,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
12262
12267
  i0.ɵɵadvance(4);
12263
12268
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
12264
12269
  i0.ɵɵadvance(2);
12265
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$_, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12270
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12266
12271
  i0.ɵɵadvance();
12267
12272
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
12268
12273
  } }
@@ -12668,7 +12673,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
12668
12673
  }] }); })();
12669
12674
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
12670
12675
 
12671
- const _c0$Z = ["writeComplexFieldComponent"];
12676
+ const _c0$Y = ["writeComplexFieldComponent"];
12672
12677
  const _c1$o = a0 => ({ "form-group-error": a0 });
12673
12678
  const _c2$3 = a0 => ({ "govuk-input--error": a0 });
12674
12679
  function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
@@ -12934,7 +12939,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
12934
12939
  }
12935
12940
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
12936
12941
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
12937
- i0.ɵɵviewQuery(_c0$Z, 5);
12942
+ i0.ɵɵviewQuery(_c0$Y, 5);
12938
12943
  i0.ɵɵviewQuery(FocusElementDirective, 5);
12939
12944
  } if (rf & 2) {
12940
12945
  let _t;
@@ -12997,7 +13002,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
12997
13002
  type: Input
12998
13003
  }] }); })();
12999
13004
 
13000
- const _c0$Y = ["journeyChild"];
13005
+ const _c0$X = ["journeyChild"];
13001
13006
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13002
13007
  multipageComponentStateService;
13003
13008
  journeyStartPageNumber = 0;
@@ -13072,7 +13077,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13072
13077
  ;
13073
13078
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13074
13079
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13075
- i0.ɵɵviewQuery(_c0$Y, 5);
13080
+ i0.ɵɵviewQuery(_c0$X, 5);
13076
13081
  } if (rf & 2) {
13077
13082
  let _t;
13078
13083
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13087,7 +13092,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13087
13092
  args: ['journeyChild']
13088
13093
  }] }); })();
13089
13094
 
13090
- const _c0$X = ["journeyChild"];
13095
+ const _c0$W = ["journeyChild"];
13091
13096
  class AbstractJourneyComponent {
13092
13097
  multipageComponentStateService;
13093
13098
  journeyStartPageNumber = 0;
@@ -13149,7 +13154,7 @@ class AbstractJourneyComponent {
13149
13154
  onPageChange() { }
13150
13155
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13151
13156
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13152
- i0.ɵɵviewQuery(_c0$X, 5);
13157
+ i0.ɵɵviewQuery(_c0$W, 5);
13153
13158
  } if (rf & 2) {
13154
13159
  let _t;
13155
13160
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13375,110 +13380,6 @@ class CaseFileViewFieldComponent {
13375
13380
  }], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
13376
13381
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 18 }); })();
13377
13382
 
13378
- const PVP_FLAG_CODE = 'PF0021';
13379
- const PVP_DISPLAY_TEXT = 'POTENTIALLY VIOLENT PERSON';
13380
- function isPvpFlag(flagDetail) {
13381
- return flagDetail?.flagCode === PVP_FLAG_CODE;
13382
- }
13383
- function hasPvpFlag(flagsWithFormGroupPath) {
13384
- return !!flagsWithFormGroupPath?.flags?.details?.some(isPvpFlag);
13385
- }
13386
- function isActivePvpFlag(flagDetail) {
13387
- return isPvpFlag(flagDetail) && flagDetail?.status === CaseFlagStatus.ACTIVE;
13388
- }
13389
- function hasActivePvpFlag(flagsWithFormGroupPath) {
13390
- return !!flagsWithFormGroupPath?.flags?.details?.some(isActivePvpFlag);
13391
- }
13392
- function getFlagCreationTime(flagDetail) {
13393
- const createdDateValue = flagDetail?.dateTimeCreated;
13394
- const createdMoment = createdDateValue instanceof Date
13395
- ? moment(createdDateValue)
13396
- : moment(createdDateValue, moment.ISO_8601, true);
13397
- return createdMoment.valueOf();
13398
- }
13399
- function compareByCreationDateDesc(flagA, flagB) {
13400
- return getFlagCreationTime(flagB) - getFlagCreationTime(flagA);
13401
- }
13402
- function prioritisePvpFlags(flagDetails = []) {
13403
- const activePvpFlags = [];
13404
- const remainingFlags = [];
13405
- flagDetails.forEach((flagDetail) => {
13406
- if (isActivePvpFlag(flagDetail)) {
13407
- activePvpFlags.push(flagDetail);
13408
- }
13409
- else {
13410
- remainingFlags.push(flagDetail);
13411
- }
13412
- });
13413
- remainingFlags.sort(compareByCreationDateDesc);
13414
- return [...activePvpFlags, ...remainingFlags];
13415
- }
13416
- function prioritisePvpParties(partyFlagsData = []) {
13417
- const pvpParties = [];
13418
- const nonPvpParties = [];
13419
- partyFlagsData.forEach((partyFlags) => {
13420
- const prioritisedPartyFlags = {
13421
- ...partyFlags,
13422
- flags: {
13423
- ...partyFlags.flags,
13424
- details: partyFlags?.flags?.details ? prioritisePvpFlags(partyFlags.flags.details) : partyFlags?.flags?.details
13425
- }
13426
- };
13427
- if (hasActivePvpFlag(prioritisedPartyFlags)) {
13428
- pvpParties.push(prioritisedPartyFlags);
13429
- }
13430
- else {
13431
- nonPvpParties.push(prioritisedPartyFlags);
13432
- }
13433
- });
13434
- return [...pvpParties, ...nonPvpParties];
13435
- }
13436
- function hasActivePvpFlagInCaseFields(caseFields = []) {
13437
- return caseFields
13438
- .filter((caseField) => !FieldsUtils.isFlagLauncherCaseField(caseField) && caseField.value)
13439
- .some((caseField) => hasActivePvpFlagInCaseField(caseField));
13440
- }
13441
- function hasActivePvpFlagInCaseField(caseField, currentValue) {
13442
- const fieldType = caseField?.field_type;
13443
- const value = caseField?.value ? caseField.value : currentValue;
13444
- if (fieldType?.type === 'Complex') {
13445
- return hasActivePvpFlagInComplexField(caseField, value);
13446
- }
13447
- if (fieldType?.type === 'Collection') {
13448
- return hasActivePvpFlagInCollectionField(caseField, value);
13449
- }
13450
- return false;
13451
- }
13452
- function hasActivePvpFlagInComplexField(caseField, value) {
13453
- if (FieldsUtils.isFlagsCaseField(caseField)) {
13454
- return hasActivePvpFlagInFlagsValue(value);
13455
- }
13456
- const complexFields = caseField?.field_type?.complex_fields;
13457
- if (!complexFields || !value || !FieldsUtils.isNonEmptyObject(value)) {
13458
- return false;
13459
- }
13460
- return complexFields.some((subField) => hasActivePvpFlagInCaseField(subField, value[subField.id]));
13461
- }
13462
- function hasActivePvpFlagInCollectionField(caseField, value) {
13463
- if (!value || !Array.isArray(value)) {
13464
- return false;
13465
- }
13466
- const collectionFieldType = caseField?.field_type?.collection_field_type;
13467
- if (FieldsUtils.isFlagsFieldType(collectionFieldType)) {
13468
- return value.some((item) => hasActivePvpFlagInFlagsValue(item?.value));
13469
- }
13470
- if (collectionFieldType?.type !== 'Complex' || !collectionFieldType.complex_fields) {
13471
- return false;
13472
- }
13473
- return value.some((item) => collectionFieldType.complex_fields.some((subField) => hasActivePvpFlagInCaseField(subField, item?.value?.[subField.id])));
13474
- }
13475
- function hasActivePvpFlagInFlagsValue(value) {
13476
- if (!value || !FieldsUtils.isNonEmptyObject(value) || !value.details || !Array.isArray(value.details)) {
13477
- return false;
13478
- }
13479
- return value.details.some((detail) => isActivePvpFlag(detail?.value ?? detail));
13480
- }
13481
-
13482
13383
  function ReadCaseFlagFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
13483
13384
  const _r1 = i0.ɵɵgetCurrentView();
13484
13385
  i0.ɵɵelementContainerStart(0);
@@ -13645,8 +13546,6 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13645
13546
  this.partyLevelCaseFlagData.filter((f) => !f.flags.groupId).forEach((f) => uniquePartyData.push(f));
13646
13547
  this.partyLevelCaseFlagData = uniquePartyData;
13647
13548
  }
13648
- // Prioritise active PVP flags (PF0021), then order the remaining flags by creation date (most recent first).
13649
- this.partyLevelCaseFlagData = prioritisePvpParties(this.partyLevelCaseFlagData);
13650
13549
  // There will be only one case-level flags instance containing all case-level flag details
13651
13550
  this.caseLevelCaseFlagData = this.flagsData.find((instance) => instance.pathToFlagsFormGroup === this.caseLevelCaseFlagsFieldId);
13652
13551
  }
@@ -13749,7 +13648,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13749
13648
  type: Component,
13750
13649
  args: [{ selector: 'ccd-read-case-flag-field', standalone: false, template: "<ng-container *ngIf=\"context === paletteContext.CHECK_YOUR_ANSWER\">\n <ccd-case-flag-summary-list\n [flagForSummaryDisplay]=\"flagForSummaryDisplay\"\n [displayContextParameter]=\"displayContextParameter\"\n (changeButtonEmitter)=\"navigateBackToForm($event)\">\n </ccd-case-flag-summary-list>\n</ng-container>\n\n<ng-container *ngIf=\"context !== paletteContext.CHECK_YOUR_ANSWER\">\n <ng-container [ngSwitch]=\"displayContextParameter\">\n <ng-container *ngSwitchCase=\"caseFlagDisplayContextParameter.READ_EXTERNAL\">\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Support requested' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"''\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"flagData.flags.partyName\"\n [caseFlagsExternalUser]=\"caseFlagsExternalUser\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Case flags' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"flagData.flags.partyName\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"'Party level flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n <div *ngIf=\"caseLevelCaseFlagData\">\n <ccd-case-flag-table\n [tableCaption]=\"'Case level flags' | rpxTranslate\"\n [flagData]=\"caseLevelCaseFlagData\"\n [firstColumnHeader]=\"'Case flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".govuk-heading-l{margin-top:30px}\n"] }]
13751
13650
  }], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CaseFlagStateService }], null); })();
13752
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseFlagFieldComponent, { className: "ReadCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/read-case-flag-field.component.ts", lineNumber: 18 }); })();
13651
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseFlagFieldComponent, { className: "ReadCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/read-case-flag-field.component.ts", lineNumber: 17 }); })();
13753
13652
 
13754
13653
  function WriteCaseFlagFieldComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
13755
13654
  const _r1 = i0.ɵɵgetCurrentView();
@@ -14605,7 +14504,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
14605
14504
  }], null, null); })();
14606
14505
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
14607
14506
 
14608
- const _c0$W = ["writeComplexFieldComponent"];
14507
+ const _c0$V = ["writeComplexFieldComponent"];
14609
14508
  const _c1$n = a0 => ({ "form-group-error": a0 });
14610
14509
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
14611
14510
  i0.ɵɵelementStart(0, "span", 6);
@@ -14686,7 +14585,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14686
14585
  }
14687
14586
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
14688
14587
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
14689
- i0.ɵɵviewQuery(_c0$W, 5);
14588
+ i0.ɵɵviewQuery(_c0$V, 5);
14690
14589
  } if (rf & 2) {
14691
14590
  let _t;
14692
14591
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -14720,7 +14619,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14720
14619
  }] }); })();
14721
14620
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
14722
14621
 
14723
- const _c0$V = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
14622
+ const _c0$U = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
14724
14623
  const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
14725
14624
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
14726
14625
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
@@ -14731,7 +14630,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
14731
14630
  } if (rf & 2) {
14732
14631
  const ctx_r0 = i0.ɵɵnextContext(2);
14733
14632
  i0.ɵɵadvance(4);
14734
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$V, 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);
14633
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$U, 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);
14735
14634
  } }
14736
14635
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
14737
14636
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -14853,7 +14752,7 @@ class RemoveDialogComponent {
14853
14752
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
14854
14753
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
14855
14754
 
14856
- const _c0$U = ["collectionItem"];
14755
+ const _c0$T = ["collectionItem"];
14857
14756
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
14858
14757
  i0.ɵɵelementStart(0, "h2", 7);
14859
14758
  i0.ɵɵtext(1);
@@ -15251,7 +15150,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
15251
15150
  }
15252
15151
  static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
15253
15152
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
15254
- i0.ɵɵviewQuery(_c0$U, 5);
15153
+ i0.ɵɵviewQuery(_c0$T, 5);
15255
15154
  } if (rf & 2) {
15256
15155
  let _t;
15257
15156
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -15570,7 +15469,7 @@ class FileUploadStateService {
15570
15469
  type: Injectable
15571
15470
  }], null, null); })();
15572
15471
 
15573
- const _c0$T = ["fileInput"];
15472
+ const _c0$S = ["fileInput"];
15574
15473
  const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
15575
15474
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
15576
15475
  i0.ɵɵelementStart(0, "span", 12);
@@ -15951,7 +15850,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15951
15850
  }
15952
15851
  static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
15953
15852
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
15954
- i0.ɵɵviewQuery(_c0$T, 5);
15853
+ i0.ɵɵviewQuery(_c0$S, 5);
15955
15854
  } if (rf & 2) {
15956
15855
  let _t;
15957
15856
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -16066,7 +15965,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
16066
15965
  }], null, null); })();
16067
15966
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
16068
15967
 
16069
- const _c0$S = a0 => ({ "form-group-error": a0 });
15968
+ const _c0$R = a0 => ({ "form-group-error": a0 });
16070
15969
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16071
15970
  i0.ɵɵelementStart(0, "span", 8);
16072
15971
  i0.ɵɵtext(1);
@@ -16154,7 +16053,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
16154
16053
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
16155
16054
  i0.ɵɵelementEnd()();
16156
16055
  } if (rf & 2) {
16157
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$S, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16056
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16158
16057
  i0.ɵɵadvance();
16159
16058
  i0.ɵɵproperty("for", ctx.id());
16160
16059
  i0.ɵɵadvance();
@@ -16333,7 +16232,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
16333
16232
  }], null, null); })();
16334
16233
  (() => { (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 }); })();
16335
16234
 
16336
- const _c0$R = a0 => ({ "error": a0 });
16235
+ const _c0$Q = a0 => ({ "error": a0 });
16337
16236
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
16338
16237
  i0.ɵɵelementStart(0, "span", 5);
16339
16238
  i0.ɵɵtext(1);
@@ -16453,7 +16352,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
16453
16352
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
16454
16353
  i0.ɵɵelementEnd()();
16455
16354
  } if (rf & 2) {
16456
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$R, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16355
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16457
16356
  i0.ɵɵadvance(3);
16458
16357
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
16459
16358
  i0.ɵɵadvance();
@@ -16533,7 +16432,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
16533
16432
  }], null, null); })();
16534
16433
  (() => { (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 }); })();
16535
16434
 
16536
- const _c0$Q = a0 => ({ "form-group-error": a0 });
16435
+ const _c0$P = a0 => ({ "form-group-error": a0 });
16537
16436
  const _c1$k = a0 => ({ selected: a0 });
16538
16437
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16539
16438
  i0.ɵɵelementStart(0, "span", 7);
@@ -16628,7 +16527,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
16628
16527
  i0.ɵɵelementContainerEnd();
16629
16528
  i0.ɵɵelementEnd()();
16630
16529
  } if (rf & 2) {
16631
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$Q, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16530
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16632
16531
  i0.ɵɵadvance(3);
16633
16532
  i0.ɵɵproperty("for", ctx.id());
16634
16533
  i0.ɵɵadvance();
@@ -16682,7 +16581,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
16682
16581
  }], null, null); })();
16683
16582
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
16684
16583
 
16685
- const _c0$P = a0 => ({ "form-group-error": a0 });
16584
+ const _c0$O = a0 => ({ "form-group-error": a0 });
16686
16585
  const _c1$j = a0 => ({ "govuk-input--error": a0 });
16687
16586
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16688
16587
  i0.ɵɵelementStart(0, "span", 6);
@@ -16728,7 +16627,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
16728
16627
  i0.ɵɵelement(5, "input", 5);
16729
16628
  i0.ɵɵelementEnd();
16730
16629
  } if (rf & 2) {
16731
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16630
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16732
16631
  i0.ɵɵadvance();
16733
16632
  i0.ɵɵproperty("for", ctx.id());
16734
16633
  i0.ɵɵadvance();
@@ -16770,7 +16669,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
16770
16669
  }], null, null); })();
16771
16670
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
16772
16671
 
16773
- const _c0$O = a0 => ({ "form-group-error": a0 });
16672
+ const _c0$N = a0 => ({ "form-group-error": a0 });
16774
16673
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16775
16674
  i0.ɵɵelementStart(0, "span", 8);
16776
16675
  i0.ɵɵtext(1);
@@ -16845,7 +16744,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
16845
16744
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
16846
16745
  i0.ɵɵelementEnd()();
16847
16746
  } if (rf & 2) {
16848
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16747
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16849
16748
  i0.ɵɵadvance();
16850
16749
  i0.ɵɵproperty("for", ctx.id());
16851
16750
  i0.ɵɵadvance();
@@ -16908,7 +16807,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
16908
16807
  }], null, null); })();
16909
16808
  (() => { (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 }); })();
16910
16809
 
16911
- const _c0$N = a0 => ({ "form-group-error": a0 });
16810
+ const _c0$M = a0 => ({ "form-group-error": a0 });
16912
16811
  const _c1$i = a0 => ({ selected: a0 });
16913
16812
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16914
16813
  i0.ɵɵelementStart(0, "span", 6);
@@ -16976,7 +16875,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
16976
16875
  i0.ɵɵelementContainerEnd();
16977
16876
  i0.ɵɵelementEnd()();
16978
16877
  } if (rf & 2) {
16979
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$N, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16878
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16980
16879
  i0.ɵɵadvance(3);
16981
16880
  i0.ɵɵproperty("for", ctx.id());
16982
16881
  i0.ɵɵadvance();
@@ -17052,7 +16951,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
17052
16951
  }], () => [{ type: JurisdictionService }], null); })();
17053
16952
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
17054
16953
 
17055
- const _c0$M = a0 => ({ "form-group-error": a0 });
16954
+ const _c0$L = a0 => ({ "form-group-error": a0 });
17056
16955
  const _c1$h = a0 => ({ "hide-autocomplete": a0 });
17057
16956
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
17058
16957
  i0.ɵɵelementStart(0, "span", 10);
@@ -17272,7 +17171,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
17272
17171
  i0.ɵɵelementEnd()();
17273
17172
  } if (rf & 2) {
17274
17173
  const autoComplete_r5 = i0.ɵɵreference(7);
17275
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$M, !!ctx.judicialUserControl && ctx.errors));
17174
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
17276
17175
  i0.ɵɵadvance();
17277
17176
  i0.ɵɵproperty("for", ctx.id());
17278
17177
  i0.ɵɵadvance();
@@ -17737,7 +17636,7 @@ class ValidatorsUtils {
17737
17636
  args: [{ providedIn: 'root' }]
17738
17637
  }], null, null); })();
17739
17638
 
17740
- const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
17639
+ const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
17741
17640
  const _c1$g = a0 => ({ "table-group-error": a0 });
17742
17641
  function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
17743
17642
  i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
@@ -17804,7 +17703,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
17804
17703
  i0.ɵɵelementEnd()();
17805
17704
  } if (rf & 2) {
17806
17705
  const ctx_r1 = i0.ɵɵnextContext(2);
17807
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$L, !!ctx_r1.caseReasonCommentsError));
17706
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
17808
17707
  i0.ɵɵadvance(3);
17809
17708
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
17810
17709
  } }
@@ -17848,11 +17747,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
17848
17747
  const ctx_r1 = i0.ɵɵnextContext();
17849
17748
  i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
17850
17749
  i0.ɵɵadvance();
17851
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$L, !!ctx_r1.caseNumberError));
17750
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
17852
17751
  i0.ɵɵadvance(3);
17853
17752
  i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
17854
17753
  i0.ɵɵadvance(2);
17855
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$L, !!ctx_r1.caseReasonError));
17754
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
17856
17755
  i0.ɵɵadvance(5);
17857
17756
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
17858
17757
  i0.ɵɵadvance(2);
@@ -18280,7 +18179,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
18280
18179
  i0.ɵɵadvance(4);
18281
18180
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
18282
18181
  i0.ɵɵadvance(4);
18283
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, !!ctx.noSelectedCaseError));
18182
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
18284
18183
  i0.ɵɵadvance();
18285
18184
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
18286
18185
  i0.ɵɵadvance(18);
@@ -18873,7 +18772,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
18873
18772
  }], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
18874
18773
  (() => { (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 }); })();
18875
18774
 
18876
- const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
18775
+ const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
18877
18776
  function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
18878
18777
  i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
18879
18778
  i0.ɵɵtext(2, "Error:");
@@ -18911,7 +18810,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
18911
18810
  i0.ɵɵelementEnd()();
18912
18811
  } if (rf & 2) {
18913
18812
  const ctx_r0 = i0.ɵɵnextContext(2);
18914
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$K, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18813
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18915
18814
  i0.ɵɵadvance();
18916
18815
  i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
18917
18816
  i0.ɵɵadvance(2);
@@ -19842,7 +19741,7 @@ class MoneyGbpInputComponent {
19842
19741
  }] }); })();
19843
19742
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
19844
19743
 
19845
- const _c0$J = a0 => ({ "form-group-error": a0 });
19744
+ const _c0$I = a0 => ({ "form-group-error": a0 });
19846
19745
  function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19847
19746
  i0.ɵɵelementStart(0, "span", 8);
19848
19747
  i0.ɵɵtext(1);
@@ -19891,7 +19790,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
19891
19790
  i0.ɵɵpipe(9, "ccdIsMandatory");
19892
19791
  i0.ɵɵelementEnd()();
19893
19792
  } if (rf & 2) {
19894
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$J, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19793
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19895
19794
  i0.ɵɵadvance();
19896
19795
  i0.ɵɵproperty("for", ctx.id());
19897
19796
  i0.ɵɵadvance();
@@ -19950,7 +19849,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
19950
19849
  }], null, null); })();
19951
19850
  (() => { (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 }); })();
19952
19851
 
19953
- const _c0$I = a0 => ({ "error": a0 });
19852
+ const _c0$H = a0 => ({ "error": a0 });
19954
19853
  function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
19955
19854
  i0.ɵɵelementStart(0, "span", 5);
19956
19855
  i0.ɵɵtext(1);
@@ -20051,7 +19950,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
20051
19950
  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);
20052
19951
  i0.ɵɵelementEnd()();
20053
19952
  } if (rf & 2) {
20054
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$I, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19953
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
20055
19954
  i0.ɵɵadvance(3);
20056
19955
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
20057
19956
  i0.ɵɵadvance();
@@ -20090,7 +19989,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
20090
19989
  }], null, null); })();
20091
19990
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
20092
19991
 
20093
- const _c0$H = a0 => ({ "form-group-error": a0 });
19992
+ const _c0$G = a0 => ({ "form-group-error": a0 });
20094
19993
  const _c1$f = a0 => ({ "govuk-input--error": a0 });
20095
19994
  function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
20096
19995
  i0.ɵɵelementStart(0, "span", 6);
@@ -20136,7 +20035,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
20136
20035
  i0.ɵɵelement(5, "input", 5);
20137
20036
  i0.ɵɵelementEnd();
20138
20037
  } if (rf & 2) {
20139
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.numberControl.valid && ctx.numberControl.dirty));
20038
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
20140
20039
  i0.ɵɵadvance();
20141
20040
  i0.ɵɵproperty("for", ctx.id());
20142
20041
  i0.ɵɵadvance();
@@ -20315,7 +20214,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
20315
20214
  }] }); })();
20316
20215
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
20317
20216
 
20318
- const _c0$G = a0 => ({ "scroll-container ": a0 });
20217
+ const _c0$F = a0 => ({ "scroll-container ": a0 });
20319
20218
  function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
20320
20219
  i0.ɵɵelementStart(0, "fieldset", 3);
20321
20220
  i0.ɵɵelement(1, "legend", 4);
@@ -20394,7 +20293,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
20394
20293
  let tmp_3_0;
20395
20294
  let tmp_5_0;
20396
20295
  const ctx_r2 = i0.ɵɵnextContext(2);
20397
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$G, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
20296
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
20398
20297
  i0.ɵɵadvance(2);
20399
20298
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
20400
20299
  i0.ɵɵadvance(2);
@@ -20790,7 +20689,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
20790
20689
  }], null, null); })();
20791
20690
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
20792
20691
 
20793
- const _c0$F = a0 => ({ "form-group-error": a0 });
20692
+ const _c0$E = a0 => ({ "form-group-error": a0 });
20794
20693
  const _c1$e = a0 => ({ "govuk-input--error": a0 });
20795
20694
  function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
20796
20695
  i0.ɵɵelementStart(0, "span", 6);
@@ -20836,7 +20735,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
20836
20735
  i0.ɵɵelement(5, "input", 5);
20837
20736
  i0.ɵɵelementEnd();
20838
20737
  } if (rf & 2) {
20839
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20738
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20840
20739
  i0.ɵɵadvance();
20841
20740
  i0.ɵɵproperty("for", ctx.id());
20842
20741
  i0.ɵɵadvance();
@@ -23314,7 +23213,7 @@ class QueryWriteDateInputComponent {
23314
23213
  }] }); })();
23315
23214
  (() => { (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 }); })();
23316
23215
 
23317
- const _c0$E = a0 => ({ "govuk-form-group--error": a0 });
23216
+ const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
23318
23217
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
23319
23218
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
23320
23219
  } if (rf & 2) {
@@ -23394,7 +23293,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
23394
23293
  } if (rf & 2) {
23395
23294
  const ctx_r0 = i0.ɵɵnextContext(2);
23396
23295
  i0.ɵɵadvance();
23397
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
23296
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
23398
23297
  i0.ɵɵadvance(4);
23399
23298
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
23400
23299
  i0.ɵɵadvance(2);
@@ -23461,7 +23360,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23461
23360
  i0.ɵɵadvance(8);
23462
23361
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
23463
23362
  i0.ɵɵadvance(2);
23464
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23363
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23465
23364
  i0.ɵɵadvance(3);
23466
23365
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
23467
23366
  i0.ɵɵadvance(3);
@@ -23469,7 +23368,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23469
23368
  i0.ɵɵadvance(2);
23470
23369
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
23471
23370
  i0.ɵɵadvance(2);
23472
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23371
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23473
23372
  i0.ɵɵadvance(3);
23474
23373
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
23475
23374
  i0.ɵɵadvance(3);
@@ -23480,7 +23379,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23480
23379
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
23481
23380
  i0.ɵɵproperty("formControlName", "body");
23482
23381
  i0.ɵɵadvance(2);
23483
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23382
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23484
23383
  i0.ɵɵadvance(4);
23485
23384
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
23486
23385
  i0.ɵɵadvance(2);
@@ -24101,7 +24000,7 @@ class CloseQueryComponent {
24101
24000
  }] }); })();
24102
24001
  (() => { (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 }); })();
24103
24002
 
24104
- const _c0$D = (a0, a1) => ["/query-management", "query", a0, "4", a1];
24003
+ const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
24105
24004
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
24106
24005
  const _r1 = i0.ɵɵgetCurrentView();
24107
24006
  i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
@@ -24140,7 +24039,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
24140
24039
  } if (rf & 2) {
24141
24040
  const ctx_r1 = i0.ɵɵnextContext(3);
24142
24041
  i0.ɵɵadvance();
24143
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24042
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24144
24043
  i0.ɵɵadvance();
24145
24044
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24146
24045
  } }
@@ -24154,7 +24053,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
24154
24053
  } if (rf & 2) {
24155
24054
  const ctx_r1 = i0.ɵɵnextContext(4);
24156
24055
  i0.ɵɵadvance();
24157
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24056
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24158
24057
  i0.ɵɵadvance();
24159
24058
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24160
24059
  } }
@@ -24342,7 +24241,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
24342
24241
  }], null, null); })();
24343
24242
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
24344
24243
 
24345
- const _c0$C = a0 => ({ "form-group-error": a0 });
24244
+ const _c0$B = a0 => ({ "form-group-error": a0 });
24346
24245
  const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
24347
24246
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
24348
24247
  i0.ɵɵelementStart(0, "span", 6);
@@ -24401,7 +24300,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
24401
24300
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
24402
24301
  i0.ɵɵelementEnd()();
24403
24302
  } if (rf & 2) {
24404
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24303
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24405
24304
  i0.ɵɵadvance();
24406
24305
  i0.ɵɵproperty("for", ctx.id());
24407
24306
  i0.ɵɵadvance();
@@ -24441,7 +24340,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
24441
24340
  }], null, null); })();
24442
24341
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
24443
24342
 
24444
- const _c0$B = a0 => ({ "form-group-error": a0 });
24343
+ const _c0$A = a0 => ({ "form-group-error": a0 });
24445
24344
  const _c1$c = a0 => ({ "govuk-input--error": a0 });
24446
24345
  function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
24447
24346
  i0.ɵɵelementStart(0, "span", 7);
@@ -24499,7 +24398,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
24499
24398
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
24500
24399
  i0.ɵɵelementEnd()();
24501
24400
  } if (rf & 2) {
24502
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24401
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24503
24402
  i0.ɵɵadvance();
24504
24403
  i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
24505
24404
  i0.ɵɵadvance();
@@ -24640,7 +24539,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
24640
24539
  }], () => [{ type: YesNoService }], null); })();
24641
24540
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
24642
24541
 
24643
- const _c0$A = a0 => ({ "form-group-error": a0 });
24542
+ const _c0$z = a0 => ({ "form-group-error": a0 });
24644
24543
  const _c1$b = a0 => ({ selected: a0 });
24645
24544
  function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
24646
24545
  i0.ɵɵelementStart(0, "span", 7);
@@ -24712,7 +24611,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
24712
24611
  i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
24713
24612
  i0.ɵɵelementEnd()()();
24714
24613
  } if (rf & 2) {
24715
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$A, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24614
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24716
24615
  i0.ɵɵadvance(3);
24717
24616
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
24718
24617
  i0.ɵɵadvance();
@@ -24829,7 +24728,7 @@ class PaletteService {
24829
24728
  type: Injectable
24830
24729
  }], null, null); })();
24831
24730
 
24832
- const _c0$z = ["fieldContainer"];
24731
+ const _c0$y = ["fieldContainer"];
24833
24732
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24834
24733
  class FieldReadComponent extends AbstractFieldReadComponent {
24835
24734
  resolver;
@@ -24878,7 +24777,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24878
24777
  }
24879
24778
  static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24880
24779
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
24881
- i0.ɵɵviewQuery(_c0$z, 5, ViewContainerRef);
24780
+ i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
24882
24781
  } if (rf & 2) {
24883
24782
  let _t;
24884
24783
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24907,7 +24806,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24907
24806
  }] }); })();
24908
24807
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 16 }); })();
24909
24808
 
24910
- const _c0$y = ["fieldContainer"];
24809
+ const _c0$x = ["fieldContainer"];
24911
24810
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24912
24811
  class FieldWriteComponent extends AbstractFieldWriteComponent {
24913
24812
  resolver;
@@ -24953,7 +24852,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24953
24852
  }
24954
24853
  static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24955
24854
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
24956
- i0.ɵɵviewQuery(_c0$y, 7, ViewContainerRef);
24855
+ i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
24957
24856
  } if (rf & 2) {
24958
24857
  let _t;
24959
24858
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24977,7 +24876,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24977
24876
  }] }); })();
24978
24877
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
24979
24878
 
24980
- const _c0$x = ["*"];
24879
+ const _c0$w = ["*"];
24981
24880
  function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
24982
24881
  i0.ɵɵelementContainer(0);
24983
24882
  } }
@@ -25031,7 +24930,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
25031
24930
  }
25032
24931
  }
25033
24932
  static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
25034
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$x, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
24933
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$w, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
25035
24934
  i0.ɵɵprojectionDef();
25036
24935
  i0.ɵɵelementStart(0, "div", 1);
25037
24936
  i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
@@ -25052,7 +24951,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
25052
24951
  }] }); })();
25053
24952
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
25054
24953
 
25055
- const _c0$w = a0 => ({ cat: a0, level: 1 });
24954
+ const _c0$v = a0 => ({ cat: a0, level: 1 });
25056
24955
  const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
25057
24956
  function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25058
24957
  i0.ɵɵelementContainer(0);
@@ -25066,7 +24965,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
25066
24965
  i0.ɵɵnextContext();
25067
24966
  const folder_r3 = i0.ɵɵreference(13);
25068
24967
  i0.ɵɵadvance();
25069
- i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$w, cat_r2));
24968
+ i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
25070
24969
  } }
25071
24970
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25072
24971
  i0.ɵɵelementContainer(0);
@@ -25204,7 +25103,7 @@ class CaseFileViewFolderSelectorComponent {
25204
25103
  }] }], null); })();
25205
25104
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 13 }); })();
25206
25105
 
25207
- const _c0$v = [[["", "trigger", ""]]];
25106
+ const _c0$u = [[["", "trigger", ""]]];
25208
25107
  const _c1$9 = ["[trigger]"];
25209
25108
  function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25210
25109
  i0.ɵɵelementContainerStart(0);
@@ -25277,7 +25176,7 @@ class CaseFileViewOverlayMenuComponent {
25277
25176
  static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
25278
25177
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, standalone: false, ngContentSelectors: _c1$9, decls: 5, vars: 5, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", "aria-haspopup", "true", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", "aria-hidden", "true", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], ["aria-hidden", "true", 1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
25279
25178
  const _r1 = i0.ɵɵgetCurrentView();
25280
- i0.ɵɵprojectionDef(_c0$v);
25179
+ i0.ɵɵprojectionDef(_c0$u);
25281
25180
  i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
25282
25181
  i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
25283
25182
  i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
@@ -25972,7 +25871,7 @@ class CaseFileViewFolderComponent {
25972
25871
  }] }); })();
25973
25872
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 28 }); })();
25974
25873
 
25975
- const _c0$u = a0 => ({ "form-group-error": a0 });
25874
+ const _c0$t = a0 => ({ "form-group-error": a0 });
25976
25875
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
25977
25876
  i0.ɵɵelementStart(0, "span");
25978
25877
  i0.ɵɵtext(1);
@@ -26126,7 +26025,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
26126
26025
  } if (rf & 2) {
26127
26026
  i0.ɵɵproperty("formGroup", ctx.formGroup);
26128
26027
  i0.ɵɵadvance(2);
26129
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$u, ctx.errorMessages.length > 0));
26028
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
26130
26029
  i0.ɵɵadvance(2);
26131
26030
  i0.ɵɵproperty("for", ctx.flagCommentsControlName);
26132
26031
  i0.ɵɵadvance();
@@ -26457,7 +26356,6 @@ class CaseFlagSummaryListComponent {
26457
26356
  }] }); })();
26458
26357
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagSummaryListComponent, { className: "CaseFlagSummaryListComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.ts", lineNumber: 16 }); })();
26459
26358
 
26460
- const _c0$t = a0 => ({ "govuk-!-font-weight-bold": a0 });
26461
26359
  function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
26462
26360
  i0.ɵɵelementStart(0, "caption", 13);
26463
26361
  i0.ɵɵtext(1);
@@ -26476,33 +26374,8 @@ function CaseFlagTableComponent_table_0_tr_19_Template(rf, ctx) { if (rf & 1) {
26476
26374
  i0.ɵɵadvance(2);
26477
26375
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "None"));
26478
26376
  } }
26479
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_2_Template(rf, ctx) { if (rf & 1) {
26480
- i0.ɵɵelementStart(0, "div");
26481
- i0.ɵɵnamespaceSVG();
26482
- i0.ɵɵelementStart(1, "svg", 24);
26483
- i0.ɵɵelement(2, "path", 25);
26484
- i0.ɵɵelementEnd();
26485
- i0.ɵɵnamespaceHTML();
26486
- i0.ɵɵelementStart(3, "span", 26);
26487
- i0.ɵɵtext(4);
26488
- i0.ɵɵelementEnd()();
26489
- } if (rf & 2) {
26490
- const ctx_r0 = i0.ɵɵnextContext(4);
26491
- i0.ɵɵadvance(4);
26492
- i0.ɵɵtextInterpolate(ctx_r0.pvpDisplayText);
26493
- } }
26494
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_3_Template(rf, ctx) { if (rf & 1) {
26495
- i0.ɵɵelementStart(0, "div");
26496
- i0.ɵɵtext(1);
26497
- i0.ɵɵpipe(2, "flagFieldDisplay");
26498
- i0.ɵɵelementEnd();
26499
- } if (rf & 2) {
26500
- const flagDetail_r2 = i0.ɵɵnextContext().$implicit;
26501
- i0.ɵɵadvance();
26502
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, flagDetail_r2, "name"));
26503
- } }
26504
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template(rf, ctx) { if (rf & 1) {
26505
- i0.ɵɵelementStart(0, "div")(1, "span", 26);
26377
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template(rf, ctx) { if (rf & 1) {
26378
+ i0.ɵɵelementStart(0, "div")(1, "span", 23);
26506
26379
  i0.ɵɵtext(2);
26507
26380
  i0.ɵɵelementEnd()();
26508
26381
  } if (rf & 2) {
@@ -26510,8 +26383,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template(rf, ctx) {
26510
26383
  i0.ɵɵadvance(2);
26511
26384
  i0.ɵɵtextInterpolate1("Update Reason: ", flagDetail_r2.flagUpdateComment);
26512
26385
  } }
26513
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template(rf, ctx) { if (rf & 1) {
26514
- i0.ɵɵelementStart(0, "strong", 27);
26386
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26387
+ i0.ɵɵelementStart(0, "strong", 24);
26515
26388
  i0.ɵɵtext(1);
26516
26389
  i0.ɵɵpipe(2, "rpxTranslate");
26517
26390
  i0.ɵɵelementEnd();
@@ -26519,8 +26392,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template(rf, ctx
26519
26392
  i0.ɵɵadvance();
26520
26393
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Active"));
26521
26394
  } }
26522
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26523
- i0.ɵɵelementStart(0, "strong", 28);
26395
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26396
+ i0.ɵɵelementStart(0, "strong", 25);
26524
26397
  i0.ɵɵtext(1);
26525
26398
  i0.ɵɵpipe(2, "rpxTranslate");
26526
26399
  i0.ɵɵelementEnd();
@@ -26528,8 +26401,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx
26528
26401
  i0.ɵɵadvance();
26529
26402
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Inactive"));
26530
26403
  } }
26531
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26532
- i0.ɵɵelementStart(0, "strong", 29);
26404
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26405
+ i0.ɵɵelementStart(0, "strong", 26);
26533
26406
  i0.ɵɵtext(1);
26534
26407
  i0.ɵɵpipe(2, "rpxTranslate");
26535
26408
  i0.ɵɵelementEnd();
@@ -26537,8 +26410,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx
26537
26410
  i0.ɵɵadvance();
26538
26411
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Requested"));
26539
26412
  } }
26540
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26541
- i0.ɵɵelementStart(0, "strong", 30);
26413
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template(rf, ctx) { if (rf & 1) {
26414
+ i0.ɵɵelementStart(0, "strong", 27);
26542
26415
  i0.ɵɵtext(1);
26543
26416
  i0.ɵɵpipe(2, "rpxTranslate");
26544
26417
  i0.ɵɵelementEnd();
@@ -26547,54 +26420,52 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx
26547
26420
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Not approved"));
26548
26421
  } }
26549
26422
  function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf & 1) {
26550
- i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17);
26551
- i0.ɵɵtemplate(2, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_2_Template, 5, 1, "div", 11)(3, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_3_Template, 3, 4, "div", 11);
26552
- i0.ɵɵelementStart(4, "div");
26553
- i0.ɵɵtext(5);
26554
- i0.ɵɵpipe(6, "flagFieldDisplay");
26423
+ i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17)(2, "div");
26424
+ i0.ɵɵtext(3);
26425
+ i0.ɵɵpipe(4, "flagFieldDisplay");
26555
26426
  i0.ɵɵelementEnd();
26556
- i0.ɵɵelementStart(7, "div");
26557
- i0.ɵɵtext(8);
26558
- i0.ɵɵpipe(9, "flagFieldDisplay");
26427
+ i0.ɵɵelementStart(5, "div");
26428
+ i0.ɵɵtext(6);
26429
+ i0.ɵɵpipe(7, "flagFieldDisplay");
26430
+ i0.ɵɵelementEnd();
26431
+ i0.ɵɵelementStart(8, "div");
26432
+ i0.ɵɵtext(9);
26433
+ i0.ɵɵpipe(10, "flagFieldDisplay");
26559
26434
  i0.ɵɵelementEnd()();
26560
- i0.ɵɵelementStart(10, "td", 17)(11, "div", 18);
26561
- i0.ɵɵtext(12);
26562
- i0.ɵɵpipe(13, "flagFieldDisplay");
26435
+ i0.ɵɵelementStart(11, "td", 17)(12, "div");
26436
+ i0.ɵɵtext(13);
26437
+ i0.ɵɵpipe(14, "flagFieldDisplay");
26563
26438
  i0.ɵɵelementEnd();
26564
- i0.ɵɵtemplate(14, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template, 3, 1, "div", 11);
26439
+ i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template, 3, 1, "div", 11);
26565
26440
  i0.ɵɵelementEnd();
26566
- i0.ɵɵelementStart(15, "td", 17);
26567
- i0.ɵɵtext(16);
26568
- i0.ɵɵpipe(17, "date");
26441
+ i0.ɵɵelementStart(16, "td", 17);
26442
+ i0.ɵɵtext(17);
26443
+ i0.ɵɵpipe(18, "date");
26569
26444
  i0.ɵɵelementEnd();
26570
- i0.ɵɵelementStart(18, "td", 17);
26571
- i0.ɵɵtext(19);
26572
- i0.ɵɵpipe(20, "date");
26445
+ i0.ɵɵelementStart(19, "td", 17);
26446
+ i0.ɵɵtext(20);
26447
+ i0.ɵɵpipe(21, "date");
26573
26448
  i0.ɵɵelementEnd();
26574
- i0.ɵɵelementStart(21, "td", 19);
26575
- i0.ɵɵtemplate(22, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template, 3, 3, "strong", 20)(23, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template, 3, 3, "strong", 21)(24, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template, 3, 3, "strong", 22)(25, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template, 3, 3, "strong", 23);
26449
+ i0.ɵɵelementStart(22, "td", 18);
26450
+ i0.ɵɵtemplate(23, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template, 3, 3, "strong", 19)(24, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template, 3, 3, "strong", 20)(25, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template, 3, 3, "strong", 21)(26, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template, 3, 3, "strong", 22);
26576
26451
  i0.ɵɵelementEnd()();
26577
26452
  } if (rf & 2) {
26578
26453
  const flagDetail_r2 = ctx.$implicit;
26579
26454
  const ctx_r0 = i0.ɵɵnextContext(3);
26580
- i0.ɵɵadvance(2);
26581
- i0.ɵɵproperty("ngIf", ctx_r0.isActivePvpFlag(flagDetail_r2));
26582
- i0.ɵɵadvance();
26583
- i0.ɵɵproperty("ngIf", !ctx_r0.isActivePvpFlag(flagDetail_r2));
26584
- i0.ɵɵadvance(2);
26585
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 13, flagDetail_r2, "otherDescription"));
26586
26455
  i0.ɵɵadvance(3);
26587
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
26456
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 11, flagDetail_r2, "name"));
26588
26457
  i0.ɵɵadvance(3);
26589
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$t, ctx_r0.isActivePvpFlag(flagDetail_r2)));
26590
- i0.ɵɵadvance();
26591
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
26458
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 14, flagDetail_r2, "otherDescription"));
26459
+ i0.ɵɵadvance(3);
26460
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 17, flagDetail_r2, "subTypeValue"));
26461
+ i0.ɵɵadvance(4);
26462
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 20, flagDetail_r2, "flagComment"));
26592
26463
  i0.ɵɵadvance(2);
26593
26464
  i0.ɵɵproperty("ngIf", !ctx_r0.caseFlagsExternalUser && (flagDetail_r2.status === ctx_r0.caseFlagStatus.NOT_APPROVED || flagDetail_r2.status === ctx_r0.caseFlagStatus.INACTIVE) && flagDetail_r2.flagUpdateComment);
26594
26465
  i0.ɵɵadvance(2);
26595
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 22, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26466
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(18, 23, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26596
26467
  i0.ɵɵadvance(3);
26597
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(20, 25, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26468
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(21, 26, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26598
26469
  i0.ɵɵadvance(3);
26599
26470
  i0.ɵɵproperty("ngIf", flagDetail_r2.status === ctx_r0.caseFlagStatus.ACTIVE);
26600
26471
  i0.ɵɵadvance();
@@ -26606,7 +26477,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
26606
26477
  } }
26607
26478
  function CaseFlagTableComponent_table_0_tbody_20_Template(rf, ctx) { if (rf & 1) {
26608
26479
  i0.ɵɵelementStart(0, "tbody", 10);
26609
- i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 26, 30, "tr", 15);
26480
+ i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 27, 29, "tr", 15);
26610
26481
  i0.ɵɵelementEnd();
26611
26482
  } if (rf & 2) {
26612
26483
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -26664,18 +26535,11 @@ class CaseFlagTableComponent {
26664
26535
  flagData;
26665
26536
  firstColumnHeader;
26666
26537
  caseFlagsExternalUser = false;
26667
- pvpDisplayText = PVP_DISPLAY_TEXT;
26668
26538
  get caseFlagStatus() {
26669
26539
  return CaseFlagStatus;
26670
26540
  }
26671
- isPvpFlag(flagDetail) {
26672
- return isPvpFlag(flagDetail);
26673
- }
26674
- isActivePvpFlag(flagDetail) {
26675
- return isPvpFlag(flagDetail) && flagDetail?.status === CaseFlagStatus.ACTIVE;
26676
- }
26677
26541
  static ɵfac = function CaseFlagTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagTableComponent)(); };
26678
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader", caseFlagsExternalUser: "caseFlagsExternalUser" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], ["class", "govuk-table__caption govuk-table__caption--l", 4, "ngIf"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__caption", "govuk-table__caption--l"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], [3, "ngClass"], [1, "govuk-table__cell", "cell-flag-status"], ["class", "govuk-tag govuk-tag--turquoise", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--yellow", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], ["fill", "currentColor", "role", "presentation", "aria-hidden", "true", "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"], [1, "govuk-!-font-weight-bold"], [1, "govuk-tag", "govuk-tag--turquoise"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--yellow"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
26542
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader", caseFlagsExternalUser: "caseFlagsExternalUser" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], ["class", "govuk-table__caption govuk-table__caption--l", 4, "ngIf"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__caption", "govuk-table__caption--l"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], [1, "govuk-table__cell", "cell-flag-status"], ["class", "govuk-tag govuk-tag--turquoise", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--yellow", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], [1, "govuk-!-font-weight-bold"], [1, "govuk-tag", "govuk-tag--turquoise"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--yellow"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
26679
26543
  i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 21, 16, "table", 0);
26680
26544
  } if (rf & 2) {
26681
26545
  i0.ɵɵproperty("ngIf", ctx.flagData);
@@ -26683,7 +26547,7 @@ class CaseFlagTableComponent {
26683
26547
  }
26684
26548
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagTableComponent, [{
26685
26549
  type: Component,
26686
- args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div *ngIf=\"isActivePvpFlag(flagDetail)\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" aria-hidden=\"true\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path 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\"></path>\n </svg>\n <span class=\"govuk-!-font-weight-bold\">{{pvpDisplayText}}</span>\n </div>\n <div *ngIf=\"!isActivePvpFlag(flagDetail)\">{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div [ngClass]=\"{'govuk-!-font-weight-bold': isActivePvpFlag(flagDetail)}\">\n {{flagDetail | flagFieldDisplay:'flagComment'}}\n </div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
26550
+ args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'flagComment'}}</div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
26687
26551
  }], null, { tableCaption: [{
26688
26552
  type: Input
26689
26553
  }], flagData: [{
@@ -26693,7 +26557,7 @@ class CaseFlagTableComponent {
26693
26557
  }], caseFlagsExternalUser: [{
26694
26558
  type: Input
26695
26559
  }] }); })();
26696
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 12 }); })();
26560
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 11 }); })();
26697
26561
 
26698
26562
  const _c0$s = a0 => ({ "form-group-error": a0 });
26699
26563
  function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
@@ -32132,7 +31996,7 @@ i0.ɵɵsetComponentScope(
32132
31996
  CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
32133
31997
  i0.ɵɵsetComponentScope(
32134
31998
  // Components for case flags
32135
- CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
31999
+ CaseFlagTableComponent, function () { return [i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
32136
32000
  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]; });
32137
32001
  i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i15.MatLegacyInput, i6.MatLegacyAutocomplete, i6.MatLegacyAutocompleteTrigger, i7.MatLegacyOption]; }, function () { return [i5.AsyncPipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe,
32138
32002
  LanguageInterpreterDisplayPipe]; });
@@ -36006,6 +35870,99 @@ class DialogsModule {
36006
35870
  SaveOrDiscardDialogComponent,
36007
35871
  RemoveDialogComponent] }); })();
36008
35872
 
35873
+ const PVP_FLAG_CODE = 'PF0021';
35874
+ const PVP_DISPLAY_TEXT = 'POTENTIALLY VIOLENT PERSON';
35875
+ function isPvpFlag(flagDetail) {
35876
+ return flagDetail?.flagCode === PVP_FLAG_CODE;
35877
+ }
35878
+ function hasPvpFlag(flagsWithFormGroupPath) {
35879
+ return !!flagsWithFormGroupPath?.flags?.details?.some(isPvpFlag);
35880
+ }
35881
+ function isActivePvpFlag(flagDetail) {
35882
+ return isPvpFlag(flagDetail) && flagDetail?.status === CaseFlagStatus.ACTIVE;
35883
+ }
35884
+ function hasActivePvpFlag(flagsWithFormGroupPath) {
35885
+ return !!flagsWithFormGroupPath?.flags?.details?.some(isActivePvpFlag);
35886
+ }
35887
+ function prioritisePvpFlags(flagDetails = []) {
35888
+ const activePvpFlags = [];
35889
+ const remainingFlags = [];
35890
+ flagDetails.forEach((flagDetail) => {
35891
+ if (isActivePvpFlag(flagDetail)) {
35892
+ activePvpFlags.push(flagDetail);
35893
+ }
35894
+ else {
35895
+ remainingFlags.push(flagDetail);
35896
+ }
35897
+ });
35898
+ return [...activePvpFlags, ...remainingFlags];
35899
+ }
35900
+ function prioritisePvpParties(partyFlagsData = []) {
35901
+ const pvpParties = [];
35902
+ const nonPvpParties = [];
35903
+ partyFlagsData.forEach((partyFlags) => {
35904
+ const prioritisedPartyFlags = {
35905
+ ...partyFlags,
35906
+ flags: {
35907
+ ...partyFlags.flags,
35908
+ details: partyFlags?.flags?.details ? prioritisePvpFlags(partyFlags.flags.details) : partyFlags?.flags?.details
35909
+ }
35910
+ };
35911
+ if (hasActivePvpFlag(prioritisedPartyFlags)) {
35912
+ pvpParties.push(prioritisedPartyFlags);
35913
+ }
35914
+ else {
35915
+ nonPvpParties.push(prioritisedPartyFlags);
35916
+ }
35917
+ });
35918
+ return [...pvpParties, ...nonPvpParties];
35919
+ }
35920
+ function hasActivePvpFlagInCaseFields(caseFields = []) {
35921
+ return caseFields
35922
+ .filter((caseField) => !FieldsUtils.isFlagLauncherCaseField(caseField) && caseField.value)
35923
+ .some((caseField) => hasActivePvpFlagInCaseField(caseField));
35924
+ }
35925
+ function hasActivePvpFlagInCaseField(caseField, currentValue) {
35926
+ const fieldType = caseField?.field_type;
35927
+ const value = caseField?.value ? caseField.value : currentValue;
35928
+ if (fieldType?.type === 'Complex') {
35929
+ return hasActivePvpFlagInComplexField(caseField, value);
35930
+ }
35931
+ if (fieldType?.type === 'Collection') {
35932
+ return hasActivePvpFlagInCollectionField(caseField, value);
35933
+ }
35934
+ return false;
35935
+ }
35936
+ function hasActivePvpFlagInComplexField(caseField, value) {
35937
+ if (FieldsUtils.isFlagsCaseField(caseField)) {
35938
+ return hasActivePvpFlagInFlagsValue(value);
35939
+ }
35940
+ const complexFields = caseField?.field_type?.complex_fields;
35941
+ if (!complexFields || !value || !FieldsUtils.isNonEmptyObject(value)) {
35942
+ return false;
35943
+ }
35944
+ return complexFields.some((subField) => hasActivePvpFlagInCaseField(subField, value[subField.id]));
35945
+ }
35946
+ function hasActivePvpFlagInCollectionField(caseField, value) {
35947
+ if (!value || !Array.isArray(value)) {
35948
+ return false;
35949
+ }
35950
+ const collectionFieldType = caseField?.field_type?.collection_field_type;
35951
+ if (FieldsUtils.isFlagsFieldType(collectionFieldType)) {
35952
+ return value.some((item) => hasActivePvpFlagInFlagsValue(item?.value));
35953
+ }
35954
+ if (collectionFieldType?.type !== 'Complex' || !collectionFieldType.complex_fields) {
35955
+ return false;
35956
+ }
35957
+ return value.some((item) => collectionFieldType.complex_fields.some((subField) => hasActivePvpFlagInCaseField(subField, item?.value?.[subField.id])));
35958
+ }
35959
+ function hasActivePvpFlagInFlagsValue(value) {
35960
+ if (!value || !FieldsUtils.isNonEmptyObject(value) || !value.details || !Array.isArray(value.details)) {
35961
+ return false;
35962
+ }
35963
+ return value.details.some((detail) => isActivePvpFlag(detail?.value ?? detail));
35964
+ }
35965
+
36009
35966
  const _c0$c = ["tabGroup"];
36010
35967
  const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
36011
35968
  function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {