@hmcts/ccd-case-ui-toolkit 7.3.44-4371-2 → 7.3.44-exui-4297-mv

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$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
61
+ const _c0$18 = [[["", "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$17);
139
+ i0.ɵɵprojectionDef(_c0$18);
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$16 = [[["", "headerNavigation", ""]]];
166
+ const _c0$17 = [[["", "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$16);
209
+ i0.ɵɵprojectionDef(_c0$17);
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$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
259
+ const _c0$16 = [[["", "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$15);
265
+ i0.ɵɵprojectionDef(_c0$16);
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$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
383
+ const _c0$15 = [[["", "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$14);
388
+ i0.ɵɵprojectionDef(_c0$15);
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$13 = a0 => ({ "govuk-input--error": a0 });
402
+ const _c0$14 = 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$13, ctx_r6.isInvalid));
419
+ i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, 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$13, ctx_r6.isInvalid));
438
+ i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, 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$13, ctx_r6.isInvalid));
457
+ i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, 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$13, ctx.isInvalid));
693
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$14, 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$13, ctx.isInvalid));
700
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$14, 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$13, ctx.isInvalid));
707
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$14, 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$12 = ["*"];
744
+ const _c0$13 = ["*"];
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$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) {
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) {
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$11 = ["*"];
1008
+ const _c0$12 = ["*"];
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$11, 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$12, 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$10 = ["tab"];
1037
+ const _c0$11 = ["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$10, 5);
1084
+ i0.ɵɵviewQuery(_c0$11, 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$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1143
+ const _c0$10 = (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$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1162
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$10, 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,11 +9837,6 @@ 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
- }
9845
9840
  if (task && assignNeeded && taskToBeCompleted) {
9846
9841
  this.abstractConfig.logMessage(`postCompleteTaskIfRequired with assignNeeded: taskId ${task.id} and event name ${this.eventTrigger?.name}`);
9847
9842
  return this.workAllocationService.assignAndCompleteTask(task.id, this.eventTrigger.name);
@@ -12130,7 +12125,7 @@ class CaseEventCompletionComponent {
12130
12125
  }] }); })();
12131
12126
  (() => { (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 }); })();
12132
12127
 
12133
- const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12128
+ const _c0$$ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12134
12129
  class CaseEventCompletionTaskCancelledComponent {
12135
12130
  context;
12136
12131
  notifyEventCompletionCancelled = new EventEmitter();
@@ -12199,7 +12194,7 @@ class CaseEventCompletionTaskCancelledComponent {
12199
12194
  i0.ɵɵadvance(4);
12200
12195
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
12201
12196
  i0.ɵɵadvance(2);
12202
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$_, ctx.jurisdiction, ctx.caseType, ctx.caseId));
12197
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$$, ctx.jurisdiction, ctx.caseType, ctx.caseId));
12203
12198
  i0.ɵɵadvance();
12204
12199
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
12205
12200
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -12214,7 +12209,7 @@ class CaseEventCompletionTaskCancelledComponent {
12214
12209
  }] }); })();
12215
12210
  (() => { (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 }); })();
12216
12211
 
12217
- const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12212
+ const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12218
12213
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
12219
12214
  const _r1 = i0.ɵɵgetCurrentView();
12220
12215
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -12267,7 +12262,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
12267
12262
  i0.ɵɵadvance(4);
12268
12263
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
12269
12264
  i0.ɵɵadvance(2);
12270
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12265
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$_, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12271
12266
  i0.ɵɵadvance();
12272
12267
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
12273
12268
  } }
@@ -12673,7 +12668,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
12673
12668
  }] }); })();
12674
12669
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
12675
12670
 
12676
- const _c0$Y = ["writeComplexFieldComponent"];
12671
+ const _c0$Z = ["writeComplexFieldComponent"];
12677
12672
  const _c1$o = a0 => ({ "form-group-error": a0 });
12678
12673
  const _c2$3 = a0 => ({ "govuk-input--error": a0 });
12679
12674
  function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
@@ -12939,7 +12934,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
12939
12934
  }
12940
12935
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
12941
12936
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
12942
- i0.ɵɵviewQuery(_c0$Y, 5);
12937
+ i0.ɵɵviewQuery(_c0$Z, 5);
12943
12938
  i0.ɵɵviewQuery(FocusElementDirective, 5);
12944
12939
  } if (rf & 2) {
12945
12940
  let _t;
@@ -13002,7 +12997,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
13002
12997
  type: Input
13003
12998
  }] }); })();
13004
12999
 
13005
- const _c0$X = ["journeyChild"];
13000
+ const _c0$Y = ["journeyChild"];
13006
13001
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13007
13002
  multipageComponentStateService;
13008
13003
  journeyStartPageNumber = 0;
@@ -13077,7 +13072,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13077
13072
  ;
13078
13073
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13079
13074
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13080
- i0.ɵɵviewQuery(_c0$X, 5);
13075
+ i0.ɵɵviewQuery(_c0$Y, 5);
13081
13076
  } if (rf & 2) {
13082
13077
  let _t;
13083
13078
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13092,7 +13087,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13092
13087
  args: ['journeyChild']
13093
13088
  }] }); })();
13094
13089
 
13095
- const _c0$W = ["journeyChild"];
13090
+ const _c0$X = ["journeyChild"];
13096
13091
  class AbstractJourneyComponent {
13097
13092
  multipageComponentStateService;
13098
13093
  journeyStartPageNumber = 0;
@@ -13154,7 +13149,7 @@ class AbstractJourneyComponent {
13154
13149
  onPageChange() { }
13155
13150
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13156
13151
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13157
- i0.ɵɵviewQuery(_c0$W, 5);
13152
+ i0.ɵɵviewQuery(_c0$X, 5);
13158
13153
  } if (rf & 2) {
13159
13154
  let _t;
13160
13155
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13380,6 +13375,110 @@ class CaseFileViewFieldComponent {
13380
13375
  }], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
13381
13376
  (() => { (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 }); })();
13382
13377
 
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
+
13383
13482
  function ReadCaseFlagFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
13384
13483
  const _r1 = i0.ɵɵgetCurrentView();
13385
13484
  i0.ɵɵelementContainerStart(0);
@@ -13546,6 +13645,8 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13546
13645
  this.partyLevelCaseFlagData.filter((f) => !f.flags.groupId).forEach((f) => uniquePartyData.push(f));
13547
13646
  this.partyLevelCaseFlagData = uniquePartyData;
13548
13647
  }
13648
+ // Prioritise active PVP flags (PF0021), then order the remaining flags by creation date (most recent first).
13649
+ this.partyLevelCaseFlagData = prioritisePvpParties(this.partyLevelCaseFlagData);
13549
13650
  // There will be only one case-level flags instance containing all case-level flag details
13550
13651
  this.caseLevelCaseFlagData = this.flagsData.find((instance) => instance.pathToFlagsFormGroup === this.caseLevelCaseFlagsFieldId);
13551
13652
  }
@@ -13648,7 +13749,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13648
13749
  type: Component,
13649
13750
  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"] }]
13650
13751
  }], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CaseFlagStateService }], null); })();
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 }); })();
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 }); })();
13652
13753
 
13653
13754
  function WriteCaseFlagFieldComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
13654
13755
  const _r1 = i0.ɵɵgetCurrentView();
@@ -14504,7 +14605,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
14504
14605
  }], null, null); })();
14505
14606
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
14506
14607
 
14507
- const _c0$V = ["writeComplexFieldComponent"];
14608
+ const _c0$W = ["writeComplexFieldComponent"];
14508
14609
  const _c1$n = a0 => ({ "form-group-error": a0 });
14509
14610
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
14510
14611
  i0.ɵɵelementStart(0, "span", 6);
@@ -14585,7 +14686,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14585
14686
  }
14586
14687
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
14587
14688
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
14588
- i0.ɵɵviewQuery(_c0$V, 5);
14689
+ i0.ɵɵviewQuery(_c0$W, 5);
14589
14690
  } if (rf & 2) {
14590
14691
  let _t;
14591
14692
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -14619,7 +14720,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14619
14720
  }] }); })();
14620
14721
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
14621
14722
 
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 });
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 });
14623
14724
  const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
14624
14725
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
14625
14726
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
@@ -14630,7 +14731,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
14630
14731
  } if (rf & 2) {
14631
14732
  const ctx_r0 = i0.ɵɵnextContext(2);
14632
14733
  i0.ɵɵadvance(4);
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);
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);
14634
14735
  } }
14635
14736
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
14636
14737
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -14752,7 +14853,7 @@ class RemoveDialogComponent {
14752
14853
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
14753
14854
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
14754
14855
 
14755
- const _c0$T = ["collectionItem"];
14856
+ const _c0$U = ["collectionItem"];
14756
14857
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
14757
14858
  i0.ɵɵelementStart(0, "h2", 7);
14758
14859
  i0.ɵɵtext(1);
@@ -15150,7 +15251,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
15150
15251
  }
15151
15252
  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)); };
15152
15253
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
15153
- i0.ɵɵviewQuery(_c0$T, 5);
15254
+ i0.ɵɵviewQuery(_c0$U, 5);
15154
15255
  } if (rf & 2) {
15155
15256
  let _t;
15156
15257
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -15469,7 +15570,7 @@ class FileUploadStateService {
15469
15570
  type: Injectable
15470
15571
  }], null, null); })();
15471
15572
 
15472
- const _c0$S = ["fileInput"];
15573
+ const _c0$T = ["fileInput"];
15473
15574
  const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
15474
15575
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
15475
15576
  i0.ɵɵelementStart(0, "span", 12);
@@ -15850,7 +15951,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15850
15951
  }
15851
15952
  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)); };
15852
15953
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
15853
- i0.ɵɵviewQuery(_c0$S, 5);
15954
+ i0.ɵɵviewQuery(_c0$T, 5);
15854
15955
  } if (rf & 2) {
15855
15956
  let _t;
15856
15957
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -15965,7 +16066,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
15965
16066
  }], null, null); })();
15966
16067
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
15967
16068
 
15968
- const _c0$R = a0 => ({ "form-group-error": a0 });
16069
+ const _c0$S = a0 => ({ "form-group-error": a0 });
15969
16070
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
15970
16071
  i0.ɵɵelementStart(0, "span", 8);
15971
16072
  i0.ɵɵtext(1);
@@ -16053,7 +16154,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
16053
16154
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
16054
16155
  i0.ɵɵelementEnd()();
16055
16156
  } if (rf & 2) {
16056
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16157
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$S, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16057
16158
  i0.ɵɵadvance();
16058
16159
  i0.ɵɵproperty("for", ctx.id());
16059
16160
  i0.ɵɵadvance();
@@ -16232,7 +16333,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
16232
16333
  }], null, null); })();
16233
16334
  (() => { (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 }); })();
16234
16335
 
16235
- const _c0$Q = a0 => ({ "error": a0 });
16336
+ const _c0$R = a0 => ({ "error": a0 });
16236
16337
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
16237
16338
  i0.ɵɵelementStart(0, "span", 5);
16238
16339
  i0.ɵɵtext(1);
@@ -16352,7 +16453,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
16352
16453
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
16353
16454
  i0.ɵɵelementEnd()();
16354
16455
  } if (rf & 2) {
16355
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16456
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$R, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16356
16457
  i0.ɵɵadvance(3);
16357
16458
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
16358
16459
  i0.ɵɵadvance();
@@ -16432,7 +16533,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
16432
16533
  }], null, null); })();
16433
16534
  (() => { (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 }); })();
16434
16535
 
16435
- const _c0$P = a0 => ({ "form-group-error": a0 });
16536
+ const _c0$Q = a0 => ({ "form-group-error": a0 });
16436
16537
  const _c1$k = a0 => ({ selected: a0 });
16437
16538
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16438
16539
  i0.ɵɵelementStart(0, "span", 7);
@@ -16527,7 +16628,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
16527
16628
  i0.ɵɵelementContainerEnd();
16528
16629
  i0.ɵɵelementEnd()();
16529
16630
  } if (rf & 2) {
16530
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16631
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$Q, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16531
16632
  i0.ɵɵadvance(3);
16532
16633
  i0.ɵɵproperty("for", ctx.id());
16533
16634
  i0.ɵɵadvance();
@@ -16581,7 +16682,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
16581
16682
  }], null, null); })();
16582
16683
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
16583
16684
 
16584
- const _c0$O = a0 => ({ "form-group-error": a0 });
16685
+ const _c0$P = a0 => ({ "form-group-error": a0 });
16585
16686
  const _c1$j = a0 => ({ "govuk-input--error": a0 });
16586
16687
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16587
16688
  i0.ɵɵelementStart(0, "span", 6);
@@ -16627,7 +16728,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
16627
16728
  i0.ɵɵelement(5, "input", 5);
16628
16729
  i0.ɵɵelementEnd();
16629
16730
  } if (rf & 2) {
16630
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16731
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16631
16732
  i0.ɵɵadvance();
16632
16733
  i0.ɵɵproperty("for", ctx.id());
16633
16734
  i0.ɵɵadvance();
@@ -16669,7 +16770,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
16669
16770
  }], null, null); })();
16670
16771
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
16671
16772
 
16672
- const _c0$N = a0 => ({ "form-group-error": a0 });
16773
+ const _c0$O = a0 => ({ "form-group-error": a0 });
16673
16774
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16674
16775
  i0.ɵɵelementStart(0, "span", 8);
16675
16776
  i0.ɵɵtext(1);
@@ -16744,7 +16845,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
16744
16845
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
16745
16846
  i0.ɵɵelementEnd()();
16746
16847
  } if (rf & 2) {
16747
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16848
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16748
16849
  i0.ɵɵadvance();
16749
16850
  i0.ɵɵproperty("for", ctx.id());
16750
16851
  i0.ɵɵadvance();
@@ -16807,7 +16908,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
16807
16908
  }], null, null); })();
16808
16909
  (() => { (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 }); })();
16809
16910
 
16810
- const _c0$M = a0 => ({ "form-group-error": a0 });
16911
+ const _c0$N = a0 => ({ "form-group-error": a0 });
16811
16912
  const _c1$i = a0 => ({ selected: a0 });
16812
16913
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16813
16914
  i0.ɵɵelementStart(0, "span", 6);
@@ -16875,7 +16976,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
16875
16976
  i0.ɵɵelementContainerEnd();
16876
16977
  i0.ɵɵelementEnd()();
16877
16978
  } if (rf & 2) {
16878
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16979
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$N, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16879
16980
  i0.ɵɵadvance(3);
16880
16981
  i0.ɵɵproperty("for", ctx.id());
16881
16982
  i0.ɵɵadvance();
@@ -16951,7 +17052,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
16951
17052
  }], () => [{ type: JurisdictionService }], null); })();
16952
17053
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
16953
17054
 
16954
- const _c0$L = a0 => ({ "form-group-error": a0 });
17055
+ const _c0$M = a0 => ({ "form-group-error": a0 });
16955
17056
  const _c1$h = a0 => ({ "hide-autocomplete": a0 });
16956
17057
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16957
17058
  i0.ɵɵelementStart(0, "span", 10);
@@ -17171,7 +17272,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
17171
17272
  i0.ɵɵelementEnd()();
17172
17273
  } if (rf & 2) {
17173
17274
  const autoComplete_r5 = i0.ɵɵreference(7);
17174
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
17275
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$M, !!ctx.judicialUserControl && ctx.errors));
17175
17276
  i0.ɵɵadvance();
17176
17277
  i0.ɵɵproperty("for", ctx.id());
17177
17278
  i0.ɵɵadvance();
@@ -17636,7 +17737,7 @@ class ValidatorsUtils {
17636
17737
  args: [{ providedIn: 'root' }]
17637
17738
  }], null, null); })();
17638
17739
 
17639
- const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
17740
+ const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
17640
17741
  const _c1$g = a0 => ({ "table-group-error": a0 });
17641
17742
  function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
17642
17743
  i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
@@ -17703,7 +17804,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
17703
17804
  i0.ɵɵelementEnd()();
17704
17805
  } if (rf & 2) {
17705
17806
  const ctx_r1 = i0.ɵɵnextContext(2);
17706
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
17807
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$L, !!ctx_r1.caseReasonCommentsError));
17707
17808
  i0.ɵɵadvance(3);
17708
17809
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
17709
17810
  } }
@@ -17747,11 +17848,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
17747
17848
  const ctx_r1 = i0.ɵɵnextContext();
17748
17849
  i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
17749
17850
  i0.ɵɵadvance();
17750
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
17851
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$L, !!ctx_r1.caseNumberError));
17751
17852
  i0.ɵɵadvance(3);
17752
17853
  i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
17753
17854
  i0.ɵɵadvance(2);
17754
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
17855
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$L, !!ctx_r1.caseReasonError));
17755
17856
  i0.ɵɵadvance(5);
17756
17857
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
17757
17858
  i0.ɵɵadvance(2);
@@ -18179,7 +18280,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
18179
18280
  i0.ɵɵadvance(4);
18180
18281
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
18181
18282
  i0.ɵɵadvance(4);
18182
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
18283
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, !!ctx.noSelectedCaseError));
18183
18284
  i0.ɵɵadvance();
18184
18285
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
18185
18286
  i0.ɵɵadvance(18);
@@ -18772,7 +18873,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
18772
18873
  }], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
18773
18874
  (() => { (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 }); })();
18774
18875
 
18775
- const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
18876
+ const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
18776
18877
  function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
18777
18878
  i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
18778
18879
  i0.ɵɵtext(2, "Error:");
@@ -18810,7 +18911,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
18810
18911
  i0.ɵɵelementEnd()();
18811
18912
  } if (rf & 2) {
18812
18913
  const ctx_r0 = i0.ɵɵnextContext(2);
18813
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18914
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$K, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18814
18915
  i0.ɵɵadvance();
18815
18916
  i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
18816
18917
  i0.ɵɵadvance(2);
@@ -19741,7 +19842,7 @@ class MoneyGbpInputComponent {
19741
19842
  }] }); })();
19742
19843
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
19743
19844
 
19744
- const _c0$I = a0 => ({ "form-group-error": a0 });
19845
+ const _c0$J = a0 => ({ "form-group-error": a0 });
19745
19846
  function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19746
19847
  i0.ɵɵelementStart(0, "span", 8);
19747
19848
  i0.ɵɵtext(1);
@@ -19790,7 +19891,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
19790
19891
  i0.ɵɵpipe(9, "ccdIsMandatory");
19791
19892
  i0.ɵɵelementEnd()();
19792
19893
  } if (rf & 2) {
19793
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19894
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$J, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19794
19895
  i0.ɵɵadvance();
19795
19896
  i0.ɵɵproperty("for", ctx.id());
19796
19897
  i0.ɵɵadvance();
@@ -19849,7 +19950,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
19849
19950
  }], null, null); })();
19850
19951
  (() => { (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 }); })();
19851
19952
 
19852
- const _c0$H = a0 => ({ "error": a0 });
19953
+ const _c0$I = a0 => ({ "error": a0 });
19853
19954
  function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
19854
19955
  i0.ɵɵelementStart(0, "span", 5);
19855
19956
  i0.ɵɵtext(1);
@@ -19950,7 +20051,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
19950
20051
  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);
19951
20052
  i0.ɵɵelementEnd()();
19952
20053
  } if (rf & 2) {
19953
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
20054
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$I, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19954
20055
  i0.ɵɵadvance(3);
19955
20056
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
19956
20057
  i0.ɵɵadvance();
@@ -19989,7 +20090,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
19989
20090
  }], null, null); })();
19990
20091
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
19991
20092
 
19992
- const _c0$G = a0 => ({ "form-group-error": a0 });
20093
+ const _c0$H = a0 => ({ "form-group-error": a0 });
19993
20094
  const _c1$f = a0 => ({ "govuk-input--error": a0 });
19994
20095
  function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19995
20096
  i0.ɵɵelementStart(0, "span", 6);
@@ -20035,7 +20136,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
20035
20136
  i0.ɵɵelement(5, "input", 5);
20036
20137
  i0.ɵɵelementEnd();
20037
20138
  } if (rf & 2) {
20038
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
20139
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.numberControl.valid && ctx.numberControl.dirty));
20039
20140
  i0.ɵɵadvance();
20040
20141
  i0.ɵɵproperty("for", ctx.id());
20041
20142
  i0.ɵɵadvance();
@@ -20214,7 +20315,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
20214
20315
  }] }); })();
20215
20316
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
20216
20317
 
20217
- const _c0$F = a0 => ({ "scroll-container ": a0 });
20318
+ const _c0$G = a0 => ({ "scroll-container ": a0 });
20218
20319
  function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
20219
20320
  i0.ɵɵelementStart(0, "fieldset", 3);
20220
20321
  i0.ɵɵelement(1, "legend", 4);
@@ -20293,7 +20394,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
20293
20394
  let tmp_3_0;
20294
20395
  let tmp_5_0;
20295
20396
  const ctx_r2 = i0.ɵɵnextContext(2);
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));
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));
20297
20398
  i0.ɵɵadvance(2);
20298
20399
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
20299
20400
  i0.ɵɵadvance(2);
@@ -20689,7 +20790,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
20689
20790
  }], null, null); })();
20690
20791
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
20691
20792
 
20692
- const _c0$E = a0 => ({ "form-group-error": a0 });
20793
+ const _c0$F = a0 => ({ "form-group-error": a0 });
20693
20794
  const _c1$e = a0 => ({ "govuk-input--error": a0 });
20694
20795
  function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
20695
20796
  i0.ɵɵelementStart(0, "span", 6);
@@ -20735,7 +20836,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
20735
20836
  i0.ɵɵelement(5, "input", 5);
20736
20837
  i0.ɵɵelementEnd();
20737
20838
  } if (rf & 2) {
20738
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20839
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20739
20840
  i0.ɵɵadvance();
20740
20841
  i0.ɵɵproperty("for", ctx.id());
20741
20842
  i0.ɵɵadvance();
@@ -23213,7 +23314,7 @@ class QueryWriteDateInputComponent {
23213
23314
  }] }); })();
23214
23315
  (() => { (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 }); })();
23215
23316
 
23216
- const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
23317
+ const _c0$E = a0 => ({ "govuk-form-group--error": a0 });
23217
23318
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
23218
23319
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
23219
23320
  } if (rf & 2) {
@@ -23293,7 +23394,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
23293
23394
  } if (rf & 2) {
23294
23395
  const ctx_r0 = i0.ɵɵnextContext(2);
23295
23396
  i0.ɵɵadvance();
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));
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));
23297
23398
  i0.ɵɵadvance(4);
23298
23399
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
23299
23400
  i0.ɵɵadvance(2);
@@ -23360,7 +23461,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23360
23461
  i0.ɵɵadvance(8);
23361
23462
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
23362
23463
  i0.ɵɵadvance(2);
23363
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23464
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23364
23465
  i0.ɵɵadvance(3);
23365
23466
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
23366
23467
  i0.ɵɵadvance(3);
@@ -23368,7 +23469,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23368
23469
  i0.ɵɵadvance(2);
23369
23470
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
23370
23471
  i0.ɵɵadvance(2);
23371
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23472
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23372
23473
  i0.ɵɵadvance(3);
23373
23474
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
23374
23475
  i0.ɵɵadvance(3);
@@ -23379,7 +23480,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23379
23480
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
23380
23481
  i0.ɵɵproperty("formControlName", "body");
23381
23482
  i0.ɵɵadvance(2);
23382
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23483
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23383
23484
  i0.ɵɵadvance(4);
23384
23485
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
23385
23486
  i0.ɵɵadvance(2);
@@ -24000,7 +24101,7 @@ class CloseQueryComponent {
24000
24101
  }] }); })();
24001
24102
  (() => { (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 }); })();
24002
24103
 
24003
- const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
24104
+ const _c0$D = (a0, a1) => ["/query-management", "query", a0, "4", a1];
24004
24105
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
24005
24106
  const _r1 = i0.ɵɵgetCurrentView();
24006
24107
  i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
@@ -24039,7 +24140,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
24039
24140
  } if (rf & 2) {
24040
24141
  const ctx_r1 = i0.ɵɵnextContext(3);
24041
24142
  i0.ɵɵadvance();
24042
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24143
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24043
24144
  i0.ɵɵadvance();
24044
24145
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24045
24146
  } }
@@ -24053,7 +24154,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
24053
24154
  } if (rf & 2) {
24054
24155
  const ctx_r1 = i0.ɵɵnextContext(4);
24055
24156
  i0.ɵɵadvance();
24056
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24157
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24057
24158
  i0.ɵɵadvance();
24058
24159
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24059
24160
  } }
@@ -24241,7 +24342,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
24241
24342
  }], null, null); })();
24242
24343
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
24243
24344
 
24244
- const _c0$B = a0 => ({ "form-group-error": a0 });
24345
+ const _c0$C = a0 => ({ "form-group-error": a0 });
24245
24346
  const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
24246
24347
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
24247
24348
  i0.ɵɵelementStart(0, "span", 6);
@@ -24300,7 +24401,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
24300
24401
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
24301
24402
  i0.ɵɵelementEnd()();
24302
24403
  } if (rf & 2) {
24303
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24404
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24304
24405
  i0.ɵɵadvance();
24305
24406
  i0.ɵɵproperty("for", ctx.id());
24306
24407
  i0.ɵɵadvance();
@@ -24340,7 +24441,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
24340
24441
  }], null, null); })();
24341
24442
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
24342
24443
 
24343
- const _c0$A = a0 => ({ "form-group-error": a0 });
24444
+ const _c0$B = a0 => ({ "form-group-error": a0 });
24344
24445
  const _c1$c = a0 => ({ "govuk-input--error": a0 });
24345
24446
  function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
24346
24447
  i0.ɵɵelementStart(0, "span", 7);
@@ -24398,7 +24499,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
24398
24499
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
24399
24500
  i0.ɵɵelementEnd()();
24400
24501
  } if (rf & 2) {
24401
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24502
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24402
24503
  i0.ɵɵadvance();
24403
24504
  i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
24404
24505
  i0.ɵɵadvance();
@@ -24539,7 +24640,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
24539
24640
  }], () => [{ type: YesNoService }], null); })();
24540
24641
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
24541
24642
 
24542
- const _c0$z = a0 => ({ "form-group-error": a0 });
24643
+ const _c0$A = a0 => ({ "form-group-error": a0 });
24543
24644
  const _c1$b = a0 => ({ selected: a0 });
24544
24645
  function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
24545
24646
  i0.ɵɵelementStart(0, "span", 7);
@@ -24611,7 +24712,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
24611
24712
  i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
24612
24713
  i0.ɵɵelementEnd()()();
24613
24714
  } if (rf & 2) {
24614
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24715
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$A, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24615
24716
  i0.ɵɵadvance(3);
24616
24717
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
24617
24718
  i0.ɵɵadvance();
@@ -24728,7 +24829,7 @@ class PaletteService {
24728
24829
  type: Injectable
24729
24830
  }], null, null); })();
24730
24831
 
24731
- const _c0$y = ["fieldContainer"];
24832
+ const _c0$z = ["fieldContainer"];
24732
24833
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24733
24834
  class FieldReadComponent extends AbstractFieldReadComponent {
24734
24835
  resolver;
@@ -24777,7 +24878,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24777
24878
  }
24778
24879
  static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24779
24880
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
24780
- i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
24881
+ i0.ɵɵviewQuery(_c0$z, 5, ViewContainerRef);
24781
24882
  } if (rf & 2) {
24782
24883
  let _t;
24783
24884
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24806,7 +24907,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24806
24907
  }] }); })();
24807
24908
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 16 }); })();
24808
24909
 
24809
- const _c0$x = ["fieldContainer"];
24910
+ const _c0$y = ["fieldContainer"];
24810
24911
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24811
24912
  class FieldWriteComponent extends AbstractFieldWriteComponent {
24812
24913
  resolver;
@@ -24852,7 +24953,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24852
24953
  }
24853
24954
  static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24854
24955
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
24855
- i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
24956
+ i0.ɵɵviewQuery(_c0$y, 7, ViewContainerRef);
24856
24957
  } if (rf & 2) {
24857
24958
  let _t;
24858
24959
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24876,7 +24977,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24876
24977
  }] }); })();
24877
24978
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
24878
24979
 
24879
- const _c0$w = ["*"];
24980
+ const _c0$x = ["*"];
24880
24981
  function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
24881
24982
  i0.ɵɵelementContainer(0);
24882
24983
  } }
@@ -24930,7 +25031,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
24930
25031
  }
24931
25032
  }
24932
25033
  static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
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) {
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) {
24934
25035
  i0.ɵɵprojectionDef();
24935
25036
  i0.ɵɵelementStart(0, "div", 1);
24936
25037
  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);
@@ -24951,7 +25052,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
24951
25052
  }] }); })();
24952
25053
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
24953
25054
 
24954
- const _c0$v = a0 => ({ cat: a0, level: 1 });
25055
+ const _c0$w = a0 => ({ cat: a0, level: 1 });
24955
25056
  const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
24956
25057
  function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
24957
25058
  i0.ɵɵelementContainer(0);
@@ -24965,7 +25066,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
24965
25066
  i0.ɵɵnextContext();
24966
25067
  const folder_r3 = i0.ɵɵreference(13);
24967
25068
  i0.ɵɵadvance();
24968
- i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
25069
+ i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$w, cat_r2));
24969
25070
  } }
24970
25071
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
24971
25072
  i0.ɵɵelementContainer(0);
@@ -25103,7 +25204,7 @@ class CaseFileViewFolderSelectorComponent {
25103
25204
  }] }], null); })();
25104
25205
  (() => { (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 }); })();
25105
25206
 
25106
- const _c0$u = [[["", "trigger", ""]]];
25207
+ const _c0$v = [[["", "trigger", ""]]];
25107
25208
  const _c1$9 = ["[trigger]"];
25108
25209
  function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25109
25210
  i0.ɵɵelementContainerStart(0);
@@ -25176,7 +25277,7 @@ class CaseFileViewOverlayMenuComponent {
25176
25277
  static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
25177
25278
  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) {
25178
25279
  const _r1 = i0.ɵɵgetCurrentView();
25179
- i0.ɵɵprojectionDef(_c0$u);
25280
+ i0.ɵɵprojectionDef(_c0$v);
25180
25281
  i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
25181
25282
  i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
25182
25283
  i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
@@ -25871,7 +25972,7 @@ class CaseFileViewFolderComponent {
25871
25972
  }] }); })();
25872
25973
  (() => { (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 }); })();
25873
25974
 
25874
- const _c0$t = a0 => ({ "form-group-error": a0 });
25975
+ const _c0$u = a0 => ({ "form-group-error": a0 });
25875
25976
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
25876
25977
  i0.ɵɵelementStart(0, "span");
25877
25978
  i0.ɵɵtext(1);
@@ -26025,7 +26126,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
26025
26126
  } if (rf & 2) {
26026
26127
  i0.ɵɵproperty("formGroup", ctx.formGroup);
26027
26128
  i0.ɵɵadvance(2);
26028
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
26129
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$u, ctx.errorMessages.length > 0));
26029
26130
  i0.ɵɵadvance(2);
26030
26131
  i0.ɵɵproperty("for", ctx.flagCommentsControlName);
26031
26132
  i0.ɵɵadvance();
@@ -26356,6 +26457,7 @@ class CaseFlagSummaryListComponent {
26356
26457
  }] }); })();
26357
26458
  (() => { (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 }); })();
26358
26459
 
26460
+ const _c0$t = a0 => ({ "govuk-!-font-weight-bold": a0 });
26359
26461
  function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
26360
26462
  i0.ɵɵelementStart(0, "caption", 13);
26361
26463
  i0.ɵɵtext(1);
@@ -26374,8 +26476,33 @@ function CaseFlagTableComponent_table_0_tr_19_Template(rf, ctx) { if (rf & 1) {
26374
26476
  i0.ɵɵadvance(2);
26375
26477
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "None"));
26376
26478
  } }
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);
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);
26379
26506
  i0.ɵɵtext(2);
26380
26507
  i0.ɵɵelementEnd()();
26381
26508
  } if (rf & 2) {
@@ -26383,8 +26510,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template(rf, ctx) {
26383
26510
  i0.ɵɵadvance(2);
26384
26511
  i0.ɵɵtextInterpolate1("Update Reason: ", flagDetail_r2.flagUpdateComment);
26385
26512
  } }
26386
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26387
- i0.ɵɵelementStart(0, "strong", 24);
26513
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template(rf, ctx) { if (rf & 1) {
26514
+ i0.ɵɵelementStart(0, "strong", 27);
26388
26515
  i0.ɵɵtext(1);
26389
26516
  i0.ɵɵpipe(2, "rpxTranslate");
26390
26517
  i0.ɵɵelementEnd();
@@ -26392,8 +26519,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx
26392
26519
  i0.ɵɵadvance();
26393
26520
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Active"));
26394
26521
  } }
26395
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26396
- i0.ɵɵelementStart(0, "strong", 25);
26522
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26523
+ i0.ɵɵelementStart(0, "strong", 28);
26397
26524
  i0.ɵɵtext(1);
26398
26525
  i0.ɵɵpipe(2, "rpxTranslate");
26399
26526
  i0.ɵɵelementEnd();
@@ -26401,8 +26528,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx
26401
26528
  i0.ɵɵadvance();
26402
26529
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Inactive"));
26403
26530
  } }
26404
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26405
- i0.ɵɵelementStart(0, "strong", 26);
26531
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26532
+ i0.ɵɵelementStart(0, "strong", 29);
26406
26533
  i0.ɵɵtext(1);
26407
26534
  i0.ɵɵpipe(2, "rpxTranslate");
26408
26535
  i0.ɵɵelementEnd();
@@ -26410,8 +26537,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx
26410
26537
  i0.ɵɵadvance();
26411
26538
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Requested"));
26412
26539
  } }
26413
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template(rf, ctx) { if (rf & 1) {
26414
- i0.ɵɵelementStart(0, "strong", 27);
26540
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26541
+ i0.ɵɵelementStart(0, "strong", 30);
26415
26542
  i0.ɵɵtext(1);
26416
26543
  i0.ɵɵpipe(2, "rpxTranslate");
26417
26544
  i0.ɵɵelementEnd();
@@ -26420,52 +26547,54 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template(rf, ctx
26420
26547
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Not approved"));
26421
26548
  } }
26422
26549
  function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf & 1) {
26423
- i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17)(2, "div");
26424
- i0.ɵɵtext(3);
26425
- i0.ɵɵpipe(4, "flagFieldDisplay");
26426
- i0.ɵɵelementEnd();
26427
- i0.ɵɵelementStart(5, "div");
26428
- i0.ɵɵtext(6);
26429
- i0.ɵɵpipe(7, "flagFieldDisplay");
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");
26430
26555
  i0.ɵɵelementEnd();
26431
- i0.ɵɵelementStart(8, "div");
26432
- i0.ɵɵtext(9);
26433
- i0.ɵɵpipe(10, "flagFieldDisplay");
26556
+ i0.ɵɵelementStart(7, "div");
26557
+ i0.ɵɵtext(8);
26558
+ i0.ɵɵpipe(9, "flagFieldDisplay");
26434
26559
  i0.ɵɵelementEnd()();
26435
- i0.ɵɵelementStart(11, "td", 17)(12, "div");
26436
- i0.ɵɵtext(13);
26437
- i0.ɵɵpipe(14, "flagFieldDisplay");
26560
+ i0.ɵɵelementStart(10, "td", 17)(11, "div", 18);
26561
+ i0.ɵɵtext(12);
26562
+ i0.ɵɵpipe(13, "flagFieldDisplay");
26438
26563
  i0.ɵɵelementEnd();
26439
- i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template, 3, 1, "div", 11);
26564
+ i0.ɵɵtemplate(14, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template, 3, 1, "div", 11);
26440
26565
  i0.ɵɵelementEnd();
26441
- i0.ɵɵelementStart(16, "td", 17);
26442
- i0.ɵɵtext(17);
26443
- i0.ɵɵpipe(18, "date");
26566
+ i0.ɵɵelementStart(15, "td", 17);
26567
+ i0.ɵɵtext(16);
26568
+ i0.ɵɵpipe(17, "date");
26444
26569
  i0.ɵɵelementEnd();
26445
- i0.ɵɵelementStart(19, "td", 17);
26446
- i0.ɵɵtext(20);
26447
- i0.ɵɵpipe(21, "date");
26570
+ i0.ɵɵelementStart(18, "td", 17);
26571
+ i0.ɵɵtext(19);
26572
+ i0.ɵɵpipe(20, "date");
26448
26573
  i0.ɵɵelementEnd();
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);
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);
26451
26576
  i0.ɵɵelementEnd()();
26452
26577
  } if (rf & 2) {
26453
26578
  const flagDetail_r2 = ctx.$implicit;
26454
26579
  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"));
26455
26586
  i0.ɵɵadvance(3);
26456
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 11, flagDetail_r2, "name"));
26457
- i0.ɵɵadvance(3);
26458
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 14, flagDetail_r2, "otherDescription"));
26587
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
26459
26588
  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"));
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"), " ");
26463
26592
  i0.ɵɵadvance(2);
26464
26593
  i0.ɵɵproperty("ngIf", !ctx_r0.caseFlagsExternalUser && (flagDetail_r2.status === ctx_r0.caseFlagStatus.NOT_APPROVED || flagDetail_r2.status === ctx_r0.caseFlagStatus.INACTIVE) && flagDetail_r2.flagUpdateComment);
26465
26594
  i0.ɵɵadvance(2);
26466
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(18, 23, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26595
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 22, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26467
26596
  i0.ɵɵadvance(3);
26468
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(21, 26, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26597
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(20, 25, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26469
26598
  i0.ɵɵadvance(3);
26470
26599
  i0.ɵɵproperty("ngIf", flagDetail_r2.status === ctx_r0.caseFlagStatus.ACTIVE);
26471
26600
  i0.ɵɵadvance();
@@ -26477,7 +26606,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
26477
26606
  } }
26478
26607
  function CaseFlagTableComponent_table_0_tbody_20_Template(rf, ctx) { if (rf & 1) {
26479
26608
  i0.ɵɵelementStart(0, "tbody", 10);
26480
- i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 27, 29, "tr", 15);
26609
+ i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 26, 30, "tr", 15);
26481
26610
  i0.ɵɵelementEnd();
26482
26611
  } if (rf & 2) {
26483
26612
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -26535,11 +26664,18 @@ class CaseFlagTableComponent {
26535
26664
  flagData;
26536
26665
  firstColumnHeader;
26537
26666
  caseFlagsExternalUser = false;
26667
+ pvpDisplayText = PVP_DISPLAY_TEXT;
26538
26668
  get caseFlagStatus() {
26539
26669
  return CaseFlagStatus;
26540
26670
  }
26671
+ isPvpFlag(flagDetail) {
26672
+ return isPvpFlag(flagDetail);
26673
+ }
26674
+ isActivePvpFlag(flagDetail) {
26675
+ return isPvpFlag(flagDetail) && flagDetail?.status === CaseFlagStatus.ACTIVE;
26676
+ }
26541
26677
  static ɵfac = function CaseFlagTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagTableComponent)(); };
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) {
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) {
26543
26679
  i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 21, 16, "table", 0);
26544
26680
  } if (rf & 2) {
26545
26681
  i0.ɵɵproperty("ngIf", ctx.flagData);
@@ -26547,7 +26683,7 @@ class CaseFlagTableComponent {
26547
26683
  }
26548
26684
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagTableComponent, [{
26549
26685
  type: Component,
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"] }]
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"] }]
26551
26687
  }], null, { tableCaption: [{
26552
26688
  type: Input
26553
26689
  }], flagData: [{
@@ -26557,7 +26693,7 @@ class CaseFlagTableComponent {
26557
26693
  }], caseFlagsExternalUser: [{
26558
26694
  type: Input
26559
26695
  }] }); })();
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 }); })();
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 }); })();
26561
26697
 
26562
26698
  const _c0$s = a0 => ({ "form-group-error": a0 });
26563
26699
  function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
@@ -31996,7 +32132,7 @@ i0.ɵɵsetComponentScope(
31996
32132
  CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
31997
32133
  i0.ɵɵsetComponentScope(
31998
32134
  // Components for case flags
31999
- CaseFlagTableComponent, function () { return [i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
32135
+ CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
32000
32136
  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]; });
32001
32137
  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,
32002
32138
  LanguageInterpreterDisplayPipe]; });
@@ -35870,99 +36006,6 @@ class DialogsModule {
35870
36006
  SaveOrDiscardDialogComponent,
35871
36007
  RemoveDialogComponent] }); })();
35872
36008
 
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
-
35966
36009
  const _c0$c = ["tabGroup"];
35967
36010
  const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
35968
36011
  function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {