@hmcts/ccd-case-ui-toolkit 7.3.43-hearing-demo → 7.3.44-cve-fix

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ import * as i10 from '@angular/material/legacy-tabs';
58
58
  import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
59
59
  import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
60
60
 
61
- const _c0$18 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
61
+ const _c0$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
62
62
  const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
63
63
  function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
64
64
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
@@ -136,7 +136,7 @@ class FooterComponent {
136
136
  workhours;
137
137
  static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
138
138
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
139
- i0.ɵɵprojectionDef(_c0$18);
139
+ i0.ɵɵprojectionDef(_c0$17);
140
140
  i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
141
141
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
142
142
  i0.ɵɵelementEnd()();
@@ -163,7 +163,7 @@ class FooterComponent {
163
163
  }] }); })();
164
164
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 9 }); })();
165
165
 
166
- const _c0$17 = [[["", "headerNavigation", ""]]];
166
+ const _c0$16 = [[["", "headerNavigation", ""]]];
167
167
  const _c1$t = ["[headerNavigation]"];
168
168
  function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
169
169
  i0.ɵɵelementStart(0, "div")(1, "a", 12);
@@ -206,7 +206,7 @@ class HeaderBarComponent {
206
206
  }
207
207
  static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
208
208
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
209
- i0.ɵɵprojectionDef(_c0$17);
209
+ i0.ɵɵprojectionDef(_c0$16);
210
210
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
211
211
  i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
212
212
  i0.ɵɵelementEnd();
@@ -256,13 +256,13 @@ class HeaderBarComponent {
256
256
  }] }); })();
257
257
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 9 }); })();
258
258
 
259
- const _c0$16 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
259
+ const _c0$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
260
260
  const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
261
261
  class NavigationComponent {
262
262
  isSolicitor;
263
263
  static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
264
264
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
265
- i0.ɵɵprojectionDef(_c0$16);
265
+ i0.ɵɵprojectionDef(_c0$15);
266
266
  i0.ɵɵelementStart(0, "div")(1, "nav", 0);
267
267
  i0.ɵɵprojection(2);
268
268
  i0.ɵɵprojection(3, 1);
@@ -380,12 +380,12 @@ class HeadersModule {
380
380
  }], null, null); })();
381
381
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
382
382
 
383
- const _c0$15 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
383
+ const _c0$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
384
384
  const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
385
385
  class BodyComponent {
386
386
  static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
387
387
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
388
- i0.ɵɵprojectionDef(_c0$15);
388
+ i0.ɵɵprojectionDef(_c0$14);
389
389
  i0.ɵɵelementStart(0, "div", 0);
390
390
  i0.ɵɵprojection(1);
391
391
  i0.ɵɵprojection(2, 1);
@@ -399,7 +399,7 @@ class BodyComponent {
399
399
  }], null, null); })();
400
400
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
401
401
 
402
- const _c0$14 = a0 => ({ "govuk-input--error": a0 });
402
+ const _c0$13 = a0 => ({ "govuk-input--error": a0 });
403
403
  function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
404
404
  const _r5 = i0.ɵɵgetCurrentView();
405
405
  i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
@@ -416,7 +416,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
416
416
  i0.ɵɵadvance();
417
417
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
418
418
  i0.ɵɵadvance(2);
419
- i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
419
+ i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
420
420
  i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
421
421
  } }
422
422
  function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
@@ -435,7 +435,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
435
435
  i0.ɵɵadvance();
436
436
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
437
437
  i0.ɵɵadvance(2);
438
- i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
438
+ i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
439
439
  i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
440
440
  } }
441
441
  function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
@@ -454,7 +454,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
454
454
  i0.ɵɵadvance();
455
455
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
456
456
  i0.ɵɵadvance(2);
457
- i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$14, ctx_r6.isInvalid));
457
+ i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
458
458
  i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
459
459
  } }
460
460
  class DateInputComponent {
@@ -690,21 +690,21 @@ class DateInputComponent {
690
690
  i0.ɵɵadvance();
691
691
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
692
692
  i0.ɵɵadvance(2);
693
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$14, ctx.isInvalid));
693
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$13, ctx.isInvalid));
694
694
  i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
695
695
  i0.ɵɵadvance(3);
696
696
  i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
697
697
  i0.ɵɵadvance();
698
698
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
699
699
  i0.ɵɵadvance(2);
700
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$14, ctx.isInvalid));
700
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$13, ctx.isInvalid));
701
701
  i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
702
702
  i0.ɵɵadvance(3);
703
703
  i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
704
704
  i0.ɵɵadvance();
705
705
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
706
706
  i0.ɵɵadvance(2);
707
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$14, ctx.isInvalid));
707
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$13, ctx.isInvalid));
708
708
  i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
709
709
  i0.ɵɵadvance(2);
710
710
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
@@ -741,7 +741,7 @@ class DateInputComponent {
741
741
  }] }); })();
742
742
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
743
743
 
744
- const _c0$13 = ["*"];
744
+ const _c0$12 = ["*"];
745
745
  function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
746
746
  i0.ɵɵelementContainerStart(0);
747
747
  i0.ɵɵnamespaceSVG();
@@ -791,7 +791,7 @@ class AlertComponent {
791
791
  showIcon = true;
792
792
  alertMessageType = AlertMessageType;
793
793
  static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
794
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$13, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
794
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$12, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
795
795
  i0.ɵɵprojectionDef();
796
796
  i0.ɵɵelementStart(0, "div", 0);
797
797
  i0.ɵɵelementContainerStart(1, 1);
@@ -993,11 +993,11 @@ class NotificationBannerComponent {
993
993
  i0.ɵɵtemplate(0, NotificationBannerComponent_div_0_Template, 14, 10, "div", 0);
994
994
  } if (rf & 2) {
995
995
  i0.ɵɵproperty("ngIf", ctx.notificationBannerConfig);
996
- } }, dependencies: [i5.NgClass, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase], styles: [".govuk-notification-banner[_ngcontent-%COMP%] .govuk-notification-banner__content[_ngcontent-%COMP%] .govuk-notification-banner__heading[_ngcontent-%COMP%]{margin-left:0;max-width:fit-content}.govuk-notification-banner[_ngcontent-%COMP%] .govuk-notification-banner__content[_ngcontent-%COMP%] .govuk-notification-banner__heading[_ngcontent-%COMP%] .govuk-notification-banner__link[_ngcontent-%COMP%]{margin-left:10px}.notification-banner-information[_ngcontent-%COMP%], .notification-banner-error[_ngcontent-%COMP%]{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning[_ngcontent-%COMP%]{background-color:#912b88;border:5px solid #912b88}.notification-banner-success[_ngcontent-%COMP%]{background-color:#006435;border:5px solid #006435}"] });
996
+ } }, dependencies: [i5.NgClass, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase], styles: [".govuk-notification-banner[_ngcontent-%COMP%] .govuk-notification-banner__content[_ngcontent-%COMP%] .govuk-notification-banner__heading[_ngcontent-%COMP%]{margin-left:0;max-width:900px}.govuk-notification-banner[_ngcontent-%COMP%] .govuk-notification-banner__content[_ngcontent-%COMP%] .govuk-notification-banner__heading[_ngcontent-%COMP%] .govuk-notification-banner__link[_ngcontent-%COMP%]{margin-left:10px}.notification-banner-information[_ngcontent-%COMP%], .notification-banner-error[_ngcontent-%COMP%]{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning[_ngcontent-%COMP%]{background-color:#912b88;border:5px solid #912b88}.notification-banner-success[_ngcontent-%COMP%]{background-color:#006435;border:5px solid #006435}"] });
997
997
  }
998
998
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationBannerComponent, [{
999
999
  type: Component,
1000
- args: [{ selector: 'ccd-notification-banner', standalone: false, template: "<div *ngIf=\"notificationBannerConfig\"\n class=\"govuk-notification-banner\"\n [ngClass]=\"notificationBannerConfig.headerClass\"\n role=\"region\"\n aria-labelledby=\"govuk-notification-banner-title\"\n data-module=\"govuk-notification-banner\">\n\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" id=\"govuk-notification-banner-title\">\n {{notificationBannerConfig.headingText}}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <p class=\"govuk-notification-banner__heading\">\n <ng-container [ngSwitch]=\"notificationBannerConfig.bannerType\">\n <ng-container *ngSwitchCase=\"notificationBannerType.WARNING\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\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 </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.ERROR\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\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 </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.SUCCESS\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.INFORMATION\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n </ng-container>\n {{notificationBannerConfig.description}}\n <a *ngIf=\"notificationBannerConfig.showLink && !notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"{{notificationBannerConfig.linkUrl}}\">{{notificationBannerConfig.linkText}}</a>\n <a *ngIf=\"notificationBannerConfig.showLink && notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"#\"\n (click)=\"onLinkClick(notificationBannerConfig.triggerOutputEventText); $event.preventDefault()\">{{notificationBannerConfig.linkText}}</a>\n </p>\n </div>\n</div>\n", styles: [".govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading{margin-left:0;max-width:fit-content}.govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading .govuk-notification-banner__link{margin-left:10px}.notification-banner-information,.notification-banner-error{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning{background-color:#912b88;border:5px solid #912b88}.notification-banner-success{background-color:#006435;border:5px solid #006435}\n"] }]
1000
+ args: [{ selector: 'ccd-notification-banner', standalone: false, template: "<div *ngIf=\"notificationBannerConfig\"\n class=\"govuk-notification-banner\"\n [ngClass]=\"notificationBannerConfig.headerClass\"\n role=\"region\"\n aria-labelledby=\"govuk-notification-banner-title\"\n data-module=\"govuk-notification-banner\">\n\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" id=\"govuk-notification-banner-title\">\n {{notificationBannerConfig.headingText}}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <p class=\"govuk-notification-banner__heading\">\n <ng-container [ngSwitch]=\"notificationBannerConfig.bannerType\">\n <ng-container *ngSwitchCase=\"notificationBannerType.WARNING\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\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 </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.ERROR\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\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 </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.SUCCESS\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.INFORMATION\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n </ng-container>\n {{notificationBannerConfig.description}}\n <a *ngIf=\"notificationBannerConfig.showLink && !notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"{{notificationBannerConfig.linkUrl}}\">{{notificationBannerConfig.linkText}}</a>\n <a *ngIf=\"notificationBannerConfig.showLink && notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"#\"\n (click)=\"onLinkClick(notificationBannerConfig.triggerOutputEventText); $event.preventDefault()\">{{notificationBannerConfig.linkText}}</a>\n </p>\n </div>\n</div>\n", styles: [".govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading{margin-left:0;max-width:900px}.govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading .govuk-notification-banner__link{margin-left:10px}.notification-banner-information,.notification-banner-error{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning{background-color:#912b88;border:5px solid #912b88}.notification-banner-success{background-color:#006435;border:5px solid #006435}\n"] }]
1001
1001
  }], null, { notificationBannerConfig: [{
1002
1002
  type: Input
1003
1003
  }], linkClicked: [{
@@ -1005,14 +1005,14 @@ class NotificationBannerComponent {
1005
1005
  }] }); })();
1006
1006
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
1007
1007
 
1008
- const _c0$12 = ["*"];
1008
+ const _c0$11 = ["*"];
1009
1009
  const _c1$q = a0 => ({ "js-hidden": a0 });
1010
1010
  class TabComponent {
1011
1011
  id;
1012
1012
  title;
1013
1013
  selected;
1014
1014
  static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
1015
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$12, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1015
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$11, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1016
1016
  i0.ɵɵprojectionDef();
1017
1017
  i0.ɵɵelementStart(0, "div", 0);
1018
1018
  i0.ɵɵprojection(1);
@@ -1034,7 +1034,7 @@ class TabComponent {
1034
1034
  }] }); })();
1035
1035
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
1036
1036
 
1037
- const _c0$11 = ["tab"];
1037
+ const _c0$10 = ["tab"];
1038
1038
  const _c1$p = ["*"];
1039
1039
  const _c2$4 = () => ["."];
1040
1040
  const _c3 = a0 => ({ "tabs-toggle-selected": a0 });
@@ -1081,7 +1081,7 @@ class TabsComponent {
1081
1081
  let _t;
1082
1082
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1083
1083
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1084
- i0.ɵɵviewQuery(_c0$11, 5);
1084
+ i0.ɵɵviewQuery(_c0$10, 5);
1085
1085
  } if (rf & 2) {
1086
1086
  let _t;
1087
1087
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1140,7 +1140,7 @@ class TabsModule {
1140
1140
  RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
1141
1141
  TabComponent] }); })();
1142
1142
 
1143
- const _c0$10 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1143
+ const _c0$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1144
1144
  class ActivityBannerComponent {
1145
1145
  bannerType;
1146
1146
  description;
@@ -1159,7 +1159,7 @@ class ActivityBannerComponent {
1159
1159
  i0.ɵɵpipe(6, "rpxTranslate");
1160
1160
  i0.ɵɵelementEnd()();
1161
1161
  } if (rf & 2) {
1162
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$10, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1162
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1163
1163
  i0.ɵɵadvance(2);
1164
1164
  i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
1165
1165
  i0.ɵɵadvance(3);
@@ -12125,7 +12125,7 @@ class CaseEventCompletionComponent {
12125
12125
  }] }); })();
12126
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 }); })();
12127
12127
 
12128
- 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"];
12129
12129
  class CaseEventCompletionTaskCancelledComponent {
12130
12130
  context;
12131
12131
  notifyEventCompletionCancelled = new EventEmitter();
@@ -12194,7 +12194,7 @@ class CaseEventCompletionTaskCancelledComponent {
12194
12194
  i0.ɵɵadvance(4);
12195
12195
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
12196
12196
  i0.ɵɵadvance(2);
12197
- 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));
12198
12198
  i0.ɵɵadvance();
12199
12199
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
12200
12200
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -12209,7 +12209,7 @@ class CaseEventCompletionTaskCancelledComponent {
12209
12209
  }] }); })();
12210
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 }); })();
12211
12211
 
12212
- const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12212
+ const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
12213
12213
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
12214
12214
  const _r1 = i0.ɵɵgetCurrentView();
12215
12215
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -12262,7 +12262,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
12262
12262
  i0.ɵɵadvance(4);
12263
12263
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
12264
12264
  i0.ɵɵadvance(2);
12265
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$_, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12265
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
12266
12266
  i0.ɵɵadvance();
12267
12267
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
12268
12268
  } }
@@ -12668,7 +12668,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
12668
12668
  }] }); })();
12669
12669
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
12670
12670
 
12671
- const _c0$Z = ["writeComplexFieldComponent"];
12671
+ const _c0$Y = ["writeComplexFieldComponent"];
12672
12672
  const _c1$o = a0 => ({ "form-group-error": a0 });
12673
12673
  const _c2$3 = a0 => ({ "govuk-input--error": a0 });
12674
12674
  function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
@@ -12934,7 +12934,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
12934
12934
  }
12935
12935
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
12936
12936
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
12937
- i0.ɵɵviewQuery(_c0$Z, 5);
12937
+ i0.ɵɵviewQuery(_c0$Y, 5);
12938
12938
  i0.ɵɵviewQuery(FocusElementDirective, 5);
12939
12939
  } if (rf & 2) {
12940
12940
  let _t;
@@ -12997,7 +12997,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
12997
12997
  type: Input
12998
12998
  }] }); })();
12999
12999
 
13000
- const _c0$Y = ["journeyChild"];
13000
+ const _c0$X = ["journeyChild"];
13001
13001
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13002
13002
  multipageComponentStateService;
13003
13003
  journeyStartPageNumber = 0;
@@ -13072,7 +13072,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13072
13072
  ;
13073
13073
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13074
13074
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13075
- i0.ɵɵviewQuery(_c0$Y, 5);
13075
+ i0.ɵɵviewQuery(_c0$X, 5);
13076
13076
  } if (rf & 2) {
13077
13077
  let _t;
13078
13078
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13087,7 +13087,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
13087
13087
  args: ['journeyChild']
13088
13088
  }] }); })();
13089
13089
 
13090
- const _c0$X = ["journeyChild"];
13090
+ const _c0$W = ["journeyChild"];
13091
13091
  class AbstractJourneyComponent {
13092
13092
  multipageComponentStateService;
13093
13093
  journeyStartPageNumber = 0;
@@ -13149,7 +13149,7 @@ class AbstractJourneyComponent {
13149
13149
  onPageChange() { }
13150
13150
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
13151
13151
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
13152
- i0.ɵɵviewQuery(_c0$X, 5);
13152
+ i0.ɵɵviewQuery(_c0$W, 5);
13153
13153
  } if (rf & 2) {
13154
13154
  let _t;
13155
13155
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -13375,110 +13375,6 @@ class CaseFileViewFieldComponent {
13375
13375
  }], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
13376
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 }); })();
13377
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
-
13482
13378
  function ReadCaseFlagFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
13483
13379
  const _r1 = i0.ɵɵgetCurrentView();
13484
13380
  i0.ɵɵelementContainerStart(0);
@@ -13645,8 +13541,6 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13645
13541
  this.partyLevelCaseFlagData.filter((f) => !f.flags.groupId).forEach((f) => uniquePartyData.push(f));
13646
13542
  this.partyLevelCaseFlagData = uniquePartyData;
13647
13543
  }
13648
- // Prioritise active PVP flags (PF0021), then order the remaining flags by creation date (most recent first).
13649
- this.partyLevelCaseFlagData = prioritisePvpParties(this.partyLevelCaseFlagData);
13650
13544
  // There will be only one case-level flags instance containing all case-level flag details
13651
13545
  this.caseLevelCaseFlagData = this.flagsData.find((instance) => instance.pathToFlagsFormGroup === this.caseLevelCaseFlagsFieldId);
13652
13546
  }
@@ -13749,7 +13643,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
13749
13643
  type: Component,
13750
13644
  args: [{ selector: 'ccd-read-case-flag-field', standalone: false, template: "<ng-container *ngIf=\"context === paletteContext.CHECK_YOUR_ANSWER\">\n <ccd-case-flag-summary-list\n [flagForSummaryDisplay]=\"flagForSummaryDisplay\"\n [displayContextParameter]=\"displayContextParameter\"\n (changeButtonEmitter)=\"navigateBackToForm($event)\">\n </ccd-case-flag-summary-list>\n</ng-container>\n\n<ng-container *ngIf=\"context !== paletteContext.CHECK_YOUR_ANSWER\">\n <ng-container [ngSwitch]=\"displayContextParameter\">\n <ng-container *ngSwitchCase=\"caseFlagDisplayContextParameter.READ_EXTERNAL\">\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Support requested' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"''\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"flagData.flags.partyName\"\n [caseFlagsExternalUser]=\"caseFlagsExternalUser\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <h2 id=\"read-case-flag-title\" class=\"govuk-heading-l\">\n {{ 'Case flags' | rpxTranslate }}\n </h2>\n\n <div *ngFor=\"let flagData of partyLevelCaseFlagData\">\n <ccd-case-flag-table *ngIf=\"flagData.flags.partyName\"\n [tableCaption]=\"flagData.flags.partyName\"\n [flagData]=\"flagData\"\n [firstColumnHeader]=\"'Party level flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n <div *ngIf=\"caseLevelCaseFlagData\">\n <ccd-case-flag-table\n [tableCaption]=\"'Case level flags' | rpxTranslate\"\n [flagData]=\"caseLevelCaseFlagData\"\n [firstColumnHeader]=\"'Case flags' | rpxTranslate\"\n ></ccd-case-flag-table>\n </div>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".govuk-heading-l{margin-top:30px}\n"] }]
13751
13645
  }], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CaseFlagStateService }], null); })();
13752
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseFlagFieldComponent, { className: "ReadCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/read-case-flag-field.component.ts", lineNumber: 18 }); })();
13646
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseFlagFieldComponent, { className: "ReadCaseFlagFieldComponent", filePath: "lib/shared/components/palette/case-flag/read-case-flag-field.component.ts", lineNumber: 17 }); })();
13753
13647
 
13754
13648
  function WriteCaseFlagFieldComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
13755
13649
  const _r1 = i0.ɵɵgetCurrentView();
@@ -14605,7 +14499,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
14605
14499
  }], null, null); })();
14606
14500
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
14607
14501
 
14608
- const _c0$W = ["writeComplexFieldComponent"];
14502
+ const _c0$V = ["writeComplexFieldComponent"];
14609
14503
  const _c1$n = a0 => ({ "form-group-error": a0 });
14610
14504
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
14611
14505
  i0.ɵɵelementStart(0, "span", 6);
@@ -14686,7 +14580,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14686
14580
  }
14687
14581
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
14688
14582
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
14689
- i0.ɵɵviewQuery(_c0$W, 5);
14583
+ i0.ɵɵviewQuery(_c0$V, 5);
14690
14584
  } if (rf & 2) {
14691
14585
  let _t;
14692
14586
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -14720,7 +14614,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
14720
14614
  }] }); })();
14721
14615
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
14722
14616
 
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 });
14617
+ const _c0$U = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
14724
14618
  const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
14725
14619
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
14726
14620
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
@@ -14731,7 +14625,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
14731
14625
  } if (rf & 2) {
14732
14626
  const ctx_r0 = i0.ɵɵnextContext(2);
14733
14627
  i0.ɵɵadvance(4);
14734
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$V, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
14628
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$U, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
14735
14629
  } }
14736
14630
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
14737
14631
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -14853,7 +14747,7 @@ class RemoveDialogComponent {
14853
14747
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
14854
14748
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
14855
14749
 
14856
- const _c0$U = ["collectionItem"];
14750
+ const _c0$T = ["collectionItem"];
14857
14751
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
14858
14752
  i0.ɵɵelementStart(0, "h2", 7);
14859
14753
  i0.ɵɵtext(1);
@@ -15251,7 +15145,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
15251
15145
  }
15252
15146
  static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
15253
15147
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
15254
- i0.ɵɵviewQuery(_c0$U, 5);
15148
+ i0.ɵɵviewQuery(_c0$T, 5);
15255
15149
  } if (rf & 2) {
15256
15150
  let _t;
15257
15151
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -15570,7 +15464,7 @@ class FileUploadStateService {
15570
15464
  type: Injectable
15571
15465
  }], null, null); })();
15572
15466
 
15573
- const _c0$T = ["fileInput"];
15467
+ const _c0$S = ["fileInput"];
15574
15468
  const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
15575
15469
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
15576
15470
  i0.ɵɵelementStart(0, "span", 12);
@@ -15951,7 +15845,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
15951
15845
  }
15952
15846
  static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
15953
15847
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
15954
- i0.ɵɵviewQuery(_c0$T, 5);
15848
+ i0.ɵɵviewQuery(_c0$S, 5);
15955
15849
  } if (rf & 2) {
15956
15850
  let _t;
15957
15851
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -16066,7 +15960,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
16066
15960
  }], null, null); })();
16067
15961
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
16068
15962
 
16069
- const _c0$S = a0 => ({ "form-group-error": a0 });
15963
+ const _c0$R = a0 => ({ "form-group-error": a0 });
16070
15964
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16071
15965
  i0.ɵɵelementStart(0, "span", 8);
16072
15966
  i0.ɵɵtext(1);
@@ -16154,7 +16048,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
16154
16048
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
16155
16049
  i0.ɵɵelementEnd()();
16156
16050
  } if (rf & 2) {
16157
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$S, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16051
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
16158
16052
  i0.ɵɵadvance();
16159
16053
  i0.ɵɵproperty("for", ctx.id());
16160
16054
  i0.ɵɵadvance();
@@ -16333,7 +16227,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
16333
16227
  }], null, null); })();
16334
16228
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 10 }); })();
16335
16229
 
16336
- const _c0$R = a0 => ({ "error": a0 });
16230
+ const _c0$Q = a0 => ({ "error": a0 });
16337
16231
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
16338
16232
  i0.ɵɵelementStart(0, "span", 5);
16339
16233
  i0.ɵɵtext(1);
@@ -16453,7 +16347,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
16453
16347
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
16454
16348
  i0.ɵɵelementEnd()();
16455
16349
  } if (rf & 2) {
16456
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$R, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16350
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
16457
16351
  i0.ɵɵadvance(3);
16458
16352
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
16459
16353
  i0.ɵɵadvance();
@@ -16533,7 +16427,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
16533
16427
  }], null, null); })();
16534
16428
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 9 }); })();
16535
16429
 
16536
- const _c0$Q = a0 => ({ "form-group-error": a0 });
16430
+ const _c0$P = a0 => ({ "form-group-error": a0 });
16537
16431
  const _c1$k = a0 => ({ selected: a0 });
16538
16432
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16539
16433
  i0.ɵɵelementStart(0, "span", 7);
@@ -16628,7 +16522,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
16628
16522
  i0.ɵɵelementContainerEnd();
16629
16523
  i0.ɵɵelementEnd()();
16630
16524
  } if (rf & 2) {
16631
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$Q, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16525
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
16632
16526
  i0.ɵɵadvance(3);
16633
16527
  i0.ɵɵproperty("for", ctx.id());
16634
16528
  i0.ɵɵadvance();
@@ -16682,7 +16576,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
16682
16576
  }], null, null); })();
16683
16577
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
16684
16578
 
16685
- const _c0$P = a0 => ({ "form-group-error": a0 });
16579
+ const _c0$O = a0 => ({ "form-group-error": a0 });
16686
16580
  const _c1$j = a0 => ({ "govuk-input--error": a0 });
16687
16581
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16688
16582
  i0.ɵɵelementStart(0, "span", 6);
@@ -16728,7 +16622,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
16728
16622
  i0.ɵɵelement(5, "input", 5);
16729
16623
  i0.ɵɵelementEnd();
16730
16624
  } if (rf & 2) {
16731
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16625
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
16732
16626
  i0.ɵɵadvance();
16733
16627
  i0.ɵɵproperty("for", ctx.id());
16734
16628
  i0.ɵɵadvance();
@@ -16770,7 +16664,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
16770
16664
  }], null, null); })();
16771
16665
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
16772
16666
 
16773
- const _c0$O = a0 => ({ "form-group-error": a0 });
16667
+ const _c0$N = a0 => ({ "form-group-error": a0 });
16774
16668
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16775
16669
  i0.ɵɵelementStart(0, "span", 8);
16776
16670
  i0.ɵɵtext(1);
@@ -16845,7 +16739,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
16845
16739
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
16846
16740
  i0.ɵɵelementEnd()();
16847
16741
  } if (rf & 2) {
16848
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16742
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
16849
16743
  i0.ɵɵadvance();
16850
16744
  i0.ɵɵproperty("for", ctx.id());
16851
16745
  i0.ɵɵadvance();
@@ -16908,7 +16802,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
16908
16802
  }], null, null); })();
16909
16803
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 9 }); })();
16910
16804
 
16911
- const _c0$N = a0 => ({ "form-group-error": a0 });
16805
+ const _c0$M = a0 => ({ "form-group-error": a0 });
16912
16806
  const _c1$i = a0 => ({ selected: a0 });
16913
16807
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16914
16808
  i0.ɵɵelementStart(0, "span", 6);
@@ -16976,7 +16870,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
16976
16870
  i0.ɵɵelementContainerEnd();
16977
16871
  i0.ɵɵelementEnd()();
16978
16872
  } if (rf & 2) {
16979
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$N, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16873
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
16980
16874
  i0.ɵɵadvance(3);
16981
16875
  i0.ɵɵproperty("for", ctx.id());
16982
16876
  i0.ɵɵadvance();
@@ -17052,7 +16946,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
17052
16946
  }], () => [{ type: JurisdictionService }], null); })();
17053
16947
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
17054
16948
 
17055
- const _c0$M = a0 => ({ "form-group-error": a0 });
16949
+ const _c0$L = a0 => ({ "form-group-error": a0 });
17056
16950
  const _c1$h = a0 => ({ "hide-autocomplete": a0 });
17057
16951
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
17058
16952
  i0.ɵɵelementStart(0, "span", 10);
@@ -17272,7 +17166,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
17272
17166
  i0.ɵɵelementEnd()();
17273
17167
  } if (rf & 2) {
17274
17168
  const autoComplete_r5 = i0.ɵɵreference(7);
17275
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$M, !!ctx.judicialUserControl && ctx.errors));
17169
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
17276
17170
  i0.ɵɵadvance();
17277
17171
  i0.ɵɵproperty("for", ctx.id());
17278
17172
  i0.ɵɵadvance();
@@ -17737,7 +17631,7 @@ class ValidatorsUtils {
17737
17631
  args: [{ providedIn: 'root' }]
17738
17632
  }], null, null); })();
17739
17633
 
17740
- const _c0$L = a0 => ({ "govuk-form-group--error": a0 });
17634
+ const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
17741
17635
  const _c1$g = a0 => ({ "table-group-error": a0 });
17742
17636
  function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
17743
17637
  i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
@@ -17804,7 +17698,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
17804
17698
  i0.ɵɵelementEnd()();
17805
17699
  } if (rf & 2) {
17806
17700
  const ctx_r1 = i0.ɵɵnextContext(2);
17807
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$L, !!ctx_r1.caseReasonCommentsError));
17701
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
17808
17702
  i0.ɵɵadvance(3);
17809
17703
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
17810
17704
  } }
@@ -17848,11 +17742,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
17848
17742
  const ctx_r1 = i0.ɵɵnextContext();
17849
17743
  i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
17850
17744
  i0.ɵɵadvance();
17851
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$L, !!ctx_r1.caseNumberError));
17745
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
17852
17746
  i0.ɵɵadvance(3);
17853
17747
  i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
17854
17748
  i0.ɵɵadvance(2);
17855
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$L, !!ctx_r1.caseReasonError));
17749
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
17856
17750
  i0.ɵɵadvance(5);
17857
17751
  i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
17858
17752
  i0.ɵɵadvance(2);
@@ -18280,7 +18174,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
18280
18174
  i0.ɵɵadvance(4);
18281
18175
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
18282
18176
  i0.ɵɵadvance(4);
18283
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, !!ctx.noSelectedCaseError));
18177
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
18284
18178
  i0.ɵɵadvance();
18285
18179
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
18286
18180
  i0.ɵɵadvance(18);
@@ -18873,7 +18767,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
18873
18767
  }], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
18874
18768
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 13 }); })();
18875
18769
 
18876
- const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
18770
+ const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
18877
18771
  function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
18878
18772
  i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
18879
18773
  i0.ɵɵtext(2, "Error:");
@@ -18911,7 +18805,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
18911
18805
  i0.ɵɵelementEnd()();
18912
18806
  } if (rf & 2) {
18913
18807
  const ctx_r0 = i0.ɵɵnextContext(2);
18914
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$K, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18808
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
18915
18809
  i0.ɵɵadvance();
18916
18810
  i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
18917
18811
  i0.ɵɵadvance(2);
@@ -19842,7 +19736,7 @@ class MoneyGbpInputComponent {
19842
19736
  }] }); })();
19843
19737
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
19844
19738
 
19845
- const _c0$J = a0 => ({ "form-group-error": a0 });
19739
+ const _c0$I = a0 => ({ "form-group-error": a0 });
19846
19740
  function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
19847
19741
  i0.ɵɵelementStart(0, "span", 8);
19848
19742
  i0.ɵɵtext(1);
@@ -19891,7 +19785,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
19891
19785
  i0.ɵɵpipe(9, "ccdIsMandatory");
19892
19786
  i0.ɵɵelementEnd()();
19893
19787
  } if (rf & 2) {
19894
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$J, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19788
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19895
19789
  i0.ɵɵadvance();
19896
19790
  i0.ɵɵproperty("for", ctx.id());
19897
19791
  i0.ɵɵadvance();
@@ -19950,7 +19844,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
19950
19844
  }], null, null); })();
19951
19845
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 10 }); })();
19952
19846
 
19953
- const _c0$I = a0 => ({ "error": a0 });
19847
+ const _c0$H = a0 => ({ "error": a0 });
19954
19848
  function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
19955
19849
  i0.ɵɵelementStart(0, "span", 5);
19956
19850
  i0.ɵɵtext(1);
@@ -20051,7 +19945,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
20051
19945
  i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
20052
19946
  i0.ɵɵelementEnd()();
20053
19947
  } if (rf & 2) {
20054
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$I, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19948
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
20055
19949
  i0.ɵɵadvance(3);
20056
19950
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
20057
19951
  i0.ɵɵadvance();
@@ -20090,7 +19984,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
20090
19984
  }], null, null); })();
20091
19985
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
20092
19986
 
20093
- const _c0$H = a0 => ({ "form-group-error": a0 });
19987
+ const _c0$G = a0 => ({ "form-group-error": a0 });
20094
19988
  const _c1$f = a0 => ({ "govuk-input--error": a0 });
20095
19989
  function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
20096
19990
  i0.ɵɵelementStart(0, "span", 6);
@@ -20136,7 +20030,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
20136
20030
  i0.ɵɵelement(5, "input", 5);
20137
20031
  i0.ɵɵelementEnd();
20138
20032
  } if (rf & 2) {
20139
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.numberControl.valid && ctx.numberControl.dirty));
20033
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
20140
20034
  i0.ɵɵadvance();
20141
20035
  i0.ɵɵproperty("for", ctx.id());
20142
20036
  i0.ɵɵadvance();
@@ -20315,7 +20209,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
20315
20209
  }] }); })();
20316
20210
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
20317
20211
 
20318
- const _c0$G = a0 => ({ "scroll-container ": a0 });
20212
+ const _c0$F = a0 => ({ "scroll-container ": a0 });
20319
20213
  function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
20320
20214
  i0.ɵɵelementStart(0, "fieldset", 3);
20321
20215
  i0.ɵɵelement(1, "legend", 4);
@@ -20394,7 +20288,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
20394
20288
  let tmp_3_0;
20395
20289
  let tmp_5_0;
20396
20290
  const ctx_r2 = i0.ɵɵnextContext(2);
20397
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$G, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
20291
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
20398
20292
  i0.ɵɵadvance(2);
20399
20293
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
20400
20294
  i0.ɵɵadvance(2);
@@ -20790,7 +20684,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
20790
20684
  }], null, null); })();
20791
20685
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
20792
20686
 
20793
- const _c0$F = a0 => ({ "form-group-error": a0 });
20687
+ const _c0$E = a0 => ({ "form-group-error": a0 });
20794
20688
  const _c1$e = a0 => ({ "govuk-input--error": a0 });
20795
20689
  function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
20796
20690
  i0.ɵɵelementStart(0, "span", 6);
@@ -20836,7 +20730,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
20836
20730
  i0.ɵɵelement(5, "input", 5);
20837
20731
  i0.ɵɵelementEnd();
20838
20732
  } if (rf & 2) {
20839
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20733
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20840
20734
  i0.ɵɵadvance();
20841
20735
  i0.ɵɵproperty("for", ctx.id());
20842
20736
  i0.ɵɵadvance();
@@ -23314,7 +23208,7 @@ class QueryWriteDateInputComponent {
23314
23208
  }] }); })();
23315
23209
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 16 }); })();
23316
23210
 
23317
- const _c0$E = a0 => ({ "govuk-form-group--error": a0 });
23211
+ const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
23318
23212
  function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
23319
23213
  i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
23320
23214
  } if (rf & 2) {
@@ -23394,7 +23288,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
23394
23288
  } if (rf & 2) {
23395
23289
  const ctx_r0 = i0.ɵɵnextContext(2);
23396
23290
  i0.ɵɵadvance();
23397
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
23291
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
23398
23292
  i0.ɵɵadvance(4);
23399
23293
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
23400
23294
  i0.ɵɵadvance(2);
@@ -23461,7 +23355,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23461
23355
  i0.ɵɵadvance(8);
23462
23356
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
23463
23357
  i0.ɵɵadvance(2);
23464
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23358
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
23465
23359
  i0.ɵɵadvance(3);
23466
23360
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
23467
23361
  i0.ɵɵadvance(3);
@@ -23469,7 +23363,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23469
23363
  i0.ɵɵadvance(2);
23470
23364
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
23471
23365
  i0.ɵɵadvance(2);
23472
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23366
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
23473
23367
  i0.ɵɵadvance(3);
23474
23368
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
23475
23369
  i0.ɵɵadvance(3);
@@ -23480,7 +23374,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
23480
23374
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
23481
23375
  i0.ɵɵproperty("formControlName", "body");
23482
23376
  i0.ɵɵadvance(2);
23483
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$E, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23377
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
23484
23378
  i0.ɵɵadvance(4);
23485
23379
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
23486
23380
  i0.ɵɵadvance(2);
@@ -24101,7 +23995,7 @@ class CloseQueryComponent {
24101
23995
  }] }); })();
24102
23996
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 9 }); })();
24103
23997
 
24104
- const _c0$D = (a0, a1) => ["/query-management", "query", a0, "4", a1];
23998
+ const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
24105
23999
  function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
24106
24000
  const _r1 = i0.ɵɵgetCurrentView();
24107
24001
  i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
@@ -24140,7 +24034,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
24140
24034
  } if (rf & 2) {
24141
24035
  const ctx_r1 = i0.ɵɵnextContext(3);
24142
24036
  i0.ɵɵadvance();
24143
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24037
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24144
24038
  i0.ɵɵadvance();
24145
24039
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24146
24040
  } }
@@ -24154,7 +24048,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
24154
24048
  } if (rf & 2) {
24155
24049
  const ctx_r1 = i0.ɵɵnextContext(4);
24156
24050
  i0.ɵɵadvance();
24157
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$D, ctx_r1.caseId, ctx_r1.query.id));
24051
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
24158
24052
  i0.ɵɵadvance();
24159
24053
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
24160
24054
  } }
@@ -24342,7 +24236,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
24342
24236
  }], null, null); })();
24343
24237
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
24344
24238
 
24345
- const _c0$C = a0 => ({ "form-group-error": a0 });
24239
+ const _c0$B = a0 => ({ "form-group-error": a0 });
24346
24240
  const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
24347
24241
  function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
24348
24242
  i0.ɵɵelementStart(0, "span", 6);
@@ -24401,7 +24295,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
24401
24295
  i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
24402
24296
  i0.ɵɵelementEnd()();
24403
24297
  } if (rf & 2) {
24404
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24298
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
24405
24299
  i0.ɵɵadvance();
24406
24300
  i0.ɵɵproperty("for", ctx.id());
24407
24301
  i0.ɵɵadvance();
@@ -24441,7 +24335,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
24441
24335
  }], null, null); })();
24442
24336
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
24443
24337
 
24444
- const _c0$B = a0 => ({ "form-group-error": a0 });
24338
+ const _c0$A = a0 => ({ "form-group-error": a0 });
24445
24339
  const _c1$c = a0 => ({ "govuk-input--error": a0 });
24446
24340
  function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
24447
24341
  i0.ɵɵelementStart(0, "span", 7);
@@ -24499,7 +24393,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
24499
24393
  i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
24500
24394
  i0.ɵɵelementEnd()();
24501
24395
  } if (rf & 2) {
24502
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24396
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
24503
24397
  i0.ɵɵadvance();
24504
24398
  i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
24505
24399
  i0.ɵɵadvance();
@@ -24640,7 +24534,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
24640
24534
  }], () => [{ type: YesNoService }], null); })();
24641
24535
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
24642
24536
 
24643
- const _c0$A = a0 => ({ "form-group-error": a0 });
24537
+ const _c0$z = a0 => ({ "form-group-error": a0 });
24644
24538
  const _c1$b = a0 => ({ selected: a0 });
24645
24539
  function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
24646
24540
  i0.ɵɵelementStart(0, "span", 7);
@@ -24712,7 +24606,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
24712
24606
  i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
24713
24607
  i0.ɵɵelementEnd()()();
24714
24608
  } if (rf & 2) {
24715
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$A, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24609
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
24716
24610
  i0.ɵɵadvance(3);
24717
24611
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
24718
24612
  i0.ɵɵadvance();
@@ -24829,7 +24723,7 @@ class PaletteService {
24829
24723
  type: Injectable
24830
24724
  }], null, null); })();
24831
24725
 
24832
- const _c0$z = ["fieldContainer"];
24726
+ const _c0$y = ["fieldContainer"];
24833
24727
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24834
24728
  class FieldReadComponent extends AbstractFieldReadComponent {
24835
24729
  resolver;
@@ -24878,7 +24772,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24878
24772
  }
24879
24773
  static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24880
24774
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
24881
- i0.ɵɵviewQuery(_c0$z, 5, ViewContainerRef);
24775
+ i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
24882
24776
  } if (rf & 2) {
24883
24777
  let _t;
24884
24778
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24907,7 +24801,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
24907
24801
  }] }); })();
24908
24802
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 16 }); })();
24909
24803
 
24910
- const _c0$y = ["fieldContainer"];
24804
+ const _c0$x = ["fieldContainer"];
24911
24805
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
24912
24806
  class FieldWriteComponent extends AbstractFieldWriteComponent {
24913
24807
  resolver;
@@ -24953,7 +24847,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24953
24847
  }
24954
24848
  static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
24955
24849
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
24956
- i0.ɵɵviewQuery(_c0$y, 7, ViewContainerRef);
24850
+ i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
24957
24851
  } if (rf & 2) {
24958
24852
  let _t;
24959
24853
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -24977,7 +24871,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
24977
24871
  }] }); })();
24978
24872
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
24979
24873
 
24980
- const _c0$x = ["*"];
24874
+ const _c0$w = ["*"];
24981
24875
  function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
24982
24876
  i0.ɵɵelementContainer(0);
24983
24877
  } }
@@ -25031,7 +24925,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
25031
24925
  }
25032
24926
  }
25033
24927
  static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
25034
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$x, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
24928
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$w, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
25035
24929
  i0.ɵɵprojectionDef();
25036
24930
  i0.ɵɵelementStart(0, "div", 1);
25037
24931
  i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
@@ -25052,7 +24946,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
25052
24946
  }] }); })();
25053
24947
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
25054
24948
 
25055
- const _c0$w = a0 => ({ cat: a0, level: 1 });
24949
+ const _c0$v = a0 => ({ cat: a0, level: 1 });
25056
24950
  const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
25057
24951
  function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25058
24952
  i0.ɵɵelementContainer(0);
@@ -25066,7 +24960,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
25066
24960
  i0.ɵɵnextContext();
25067
24961
  const folder_r3 = i0.ɵɵreference(13);
25068
24962
  i0.ɵɵadvance();
25069
- i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$w, cat_r2));
24963
+ i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
25070
24964
  } }
25071
24965
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25072
24966
  i0.ɵɵelementContainer(0);
@@ -25204,7 +25098,7 @@ class CaseFileViewFolderSelectorComponent {
25204
25098
  }] }], null); })();
25205
25099
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 13 }); })();
25206
25100
 
25207
- const _c0$v = [[["", "trigger", ""]]];
25101
+ const _c0$u = [[["", "trigger", ""]]];
25208
25102
  const _c1$9 = ["[trigger]"];
25209
25103
  function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
25210
25104
  i0.ɵɵelementContainerStart(0);
@@ -25277,7 +25171,7 @@ class CaseFileViewOverlayMenuComponent {
25277
25171
  static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
25278
25172
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, standalone: false, ngContentSelectors: _c1$9, decls: 5, vars: 5, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", "aria-haspopup", "true", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", "aria-hidden", "true", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], ["aria-hidden", "true", 1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
25279
25173
  const _r1 = i0.ɵɵgetCurrentView();
25280
- i0.ɵɵprojectionDef(_c0$v);
25174
+ i0.ɵɵprojectionDef(_c0$u);
25281
25175
  i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
25282
25176
  i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
25283
25177
  i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
@@ -25972,7 +25866,7 @@ class CaseFileViewFolderComponent {
25972
25866
  }] }); })();
25973
25867
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 28 }); })();
25974
25868
 
25975
- const _c0$u = a0 => ({ "form-group-error": a0 });
25869
+ const _c0$t = a0 => ({ "form-group-error": a0 });
25976
25870
  function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
25977
25871
  i0.ɵɵelementStart(0, "span");
25978
25872
  i0.ɵɵtext(1);
@@ -26126,7 +26020,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
26126
26020
  } if (rf & 2) {
26127
26021
  i0.ɵɵproperty("formGroup", ctx.formGroup);
26128
26022
  i0.ɵɵadvance(2);
26129
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$u, ctx.errorMessages.length > 0));
26023
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
26130
26024
  i0.ɵɵadvance(2);
26131
26025
  i0.ɵɵproperty("for", ctx.flagCommentsControlName);
26132
26026
  i0.ɵɵadvance();
@@ -26457,7 +26351,6 @@ class CaseFlagSummaryListComponent {
26457
26351
  }] }); })();
26458
26352
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagSummaryListComponent, { className: "CaseFlagSummaryListComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.ts", lineNumber: 16 }); })();
26459
26353
 
26460
- const _c0$t = a0 => ({ "govuk-!-font-weight-bold": a0 });
26461
26354
  function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
26462
26355
  i0.ɵɵelementStart(0, "caption", 13);
26463
26356
  i0.ɵɵtext(1);
@@ -26476,33 +26369,8 @@ function CaseFlagTableComponent_table_0_tr_19_Template(rf, ctx) { if (rf & 1) {
26476
26369
  i0.ɵɵadvance(2);
26477
26370
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "None"));
26478
26371
  } }
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);
26372
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template(rf, ctx) { if (rf & 1) {
26373
+ i0.ɵɵelementStart(0, "div")(1, "span", 23);
26506
26374
  i0.ɵɵtext(2);
26507
26375
  i0.ɵɵelementEnd()();
26508
26376
  } if (rf & 2) {
@@ -26510,8 +26378,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template(rf, ctx) {
26510
26378
  i0.ɵɵadvance(2);
26511
26379
  i0.ɵɵtextInterpolate1("Update Reason: ", flagDetail_r2.flagUpdateComment);
26512
26380
  } }
26513
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template(rf, ctx) { if (rf & 1) {
26514
- i0.ɵɵelementStart(0, "strong", 27);
26381
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26382
+ i0.ɵɵelementStart(0, "strong", 24);
26515
26383
  i0.ɵɵtext(1);
26516
26384
  i0.ɵɵpipe(2, "rpxTranslate");
26517
26385
  i0.ɵɵelementEnd();
@@ -26519,8 +26387,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template(rf, ctx
26519
26387
  i0.ɵɵadvance();
26520
26388
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Active"));
26521
26389
  } }
26522
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
26523
- i0.ɵɵelementStart(0, "strong", 28);
26390
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26391
+ i0.ɵɵelementStart(0, "strong", 25);
26524
26392
  i0.ɵɵtext(1);
26525
26393
  i0.ɵɵpipe(2, "rpxTranslate");
26526
26394
  i0.ɵɵelementEnd();
@@ -26528,8 +26396,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx
26528
26396
  i0.ɵɵadvance();
26529
26397
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Inactive"));
26530
26398
  } }
26531
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
26532
- i0.ɵɵelementStart(0, "strong", 29);
26399
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26400
+ i0.ɵɵelementStart(0, "strong", 26);
26533
26401
  i0.ɵɵtext(1);
26534
26402
  i0.ɵɵpipe(2, "rpxTranslate");
26535
26403
  i0.ɵɵelementEnd();
@@ -26537,8 +26405,8 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx
26537
26405
  i0.ɵɵadvance();
26538
26406
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Requested"));
26539
26407
  } }
26540
- function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
26541
- i0.ɵɵelementStart(0, "strong", 30);
26408
+ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template(rf, ctx) { if (rf & 1) {
26409
+ i0.ɵɵelementStart(0, "strong", 27);
26542
26410
  i0.ɵɵtext(1);
26543
26411
  i0.ɵɵpipe(2, "rpxTranslate");
26544
26412
  i0.ɵɵelementEnd();
@@ -26547,54 +26415,52 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx
26547
26415
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Not approved"));
26548
26416
  } }
26549
26417
  function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf & 1) {
26550
- i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17);
26551
- i0.ɵɵtemplate(2, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_2_Template, 5, 1, "div", 11)(3, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_3_Template, 3, 4, "div", 11);
26552
- i0.ɵɵelementStart(4, "div");
26553
- i0.ɵɵtext(5);
26554
- i0.ɵɵpipe(6, "flagFieldDisplay");
26418
+ i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17)(2, "div");
26419
+ i0.ɵɵtext(3);
26420
+ i0.ɵɵpipe(4, "flagFieldDisplay");
26555
26421
  i0.ɵɵelementEnd();
26556
- i0.ɵɵelementStart(7, "div");
26557
- i0.ɵɵtext(8);
26558
- i0.ɵɵpipe(9, "flagFieldDisplay");
26422
+ i0.ɵɵelementStart(5, "div");
26423
+ i0.ɵɵtext(6);
26424
+ i0.ɵɵpipe(7, "flagFieldDisplay");
26425
+ i0.ɵɵelementEnd();
26426
+ i0.ɵɵelementStart(8, "div");
26427
+ i0.ɵɵtext(9);
26428
+ i0.ɵɵpipe(10, "flagFieldDisplay");
26559
26429
  i0.ɵɵelementEnd()();
26560
- i0.ɵɵelementStart(10, "td", 17)(11, "div", 18);
26561
- i0.ɵɵtext(12);
26562
- i0.ɵɵpipe(13, "flagFieldDisplay");
26430
+ i0.ɵɵelementStart(11, "td", 17)(12, "div");
26431
+ i0.ɵɵtext(13);
26432
+ i0.ɵɵpipe(14, "flagFieldDisplay");
26563
26433
  i0.ɵɵelementEnd();
26564
- i0.ɵɵtemplate(14, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_14_Template, 3, 1, "div", 11);
26434
+ i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template, 3, 1, "div", 11);
26565
26435
  i0.ɵɵelementEnd();
26566
- i0.ɵɵelementStart(15, "td", 17);
26567
- i0.ɵɵtext(16);
26568
- i0.ɵɵpipe(17, "date");
26436
+ i0.ɵɵelementStart(16, "td", 17);
26437
+ i0.ɵɵtext(17);
26438
+ i0.ɵɵpipe(18, "date");
26569
26439
  i0.ɵɵelementEnd();
26570
- i0.ɵɵelementStart(18, "td", 17);
26571
- i0.ɵɵtext(19);
26572
- i0.ɵɵpipe(20, "date");
26440
+ i0.ɵɵelementStart(19, "td", 17);
26441
+ i0.ɵɵtext(20);
26442
+ i0.ɵɵpipe(21, "date");
26573
26443
  i0.ɵɵelementEnd();
26574
- i0.ɵɵelementStart(21, "td", 19);
26575
- i0.ɵɵtemplate(22, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_22_Template, 3, 3, "strong", 20)(23, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template, 3, 3, "strong", 21)(24, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template, 3, 3, "strong", 22)(25, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template, 3, 3, "strong", 23);
26444
+ i0.ɵɵelementStart(22, "td", 18);
26445
+ i0.ɵɵtemplate(23, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template, 3, 3, "strong", 19)(24, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template, 3, 3, "strong", 20)(25, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template, 3, 3, "strong", 21)(26, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template, 3, 3, "strong", 22);
26576
26446
  i0.ɵɵelementEnd()();
26577
26447
  } if (rf & 2) {
26578
26448
  const flagDetail_r2 = ctx.$implicit;
26579
26449
  const ctx_r0 = i0.ɵɵnextContext(3);
26580
- i0.ɵɵadvance(2);
26581
- i0.ɵɵproperty("ngIf", ctx_r0.isActivePvpFlag(flagDetail_r2));
26582
- i0.ɵɵadvance();
26583
- i0.ɵɵproperty("ngIf", !ctx_r0.isActivePvpFlag(flagDetail_r2));
26584
- i0.ɵɵadvance(2);
26585
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 13, flagDetail_r2, "otherDescription"));
26586
26450
  i0.ɵɵadvance(3);
26587
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
26451
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 11, flagDetail_r2, "name"));
26588
26452
  i0.ɵɵadvance(3);
26589
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$t, ctx_r0.isActivePvpFlag(flagDetail_r2)));
26590
- i0.ɵɵadvance();
26591
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
26453
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 14, flagDetail_r2, "otherDescription"));
26454
+ i0.ɵɵadvance(3);
26455
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 17, flagDetail_r2, "subTypeValue"));
26456
+ i0.ɵɵadvance(4);
26457
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 20, flagDetail_r2, "flagComment"));
26592
26458
  i0.ɵɵadvance(2);
26593
26459
  i0.ɵɵproperty("ngIf", !ctx_r0.caseFlagsExternalUser && (flagDetail_r2.status === ctx_r0.caseFlagStatus.NOT_APPROVED || flagDetail_r2.status === ctx_r0.caseFlagStatus.INACTIVE) && flagDetail_r2.flagUpdateComment);
26594
26460
  i0.ɵɵadvance(2);
26595
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 22, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26461
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(18, 23, flagDetail_r2.dateTimeCreated, "dd LLL yyyy"));
26596
26462
  i0.ɵɵadvance(3);
26597
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(20, 25, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26463
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(21, 26, flagDetail_r2.dateTimeModified, "dd LLL yyyy"));
26598
26464
  i0.ɵɵadvance(3);
26599
26465
  i0.ɵɵproperty("ngIf", flagDetail_r2.status === ctx_r0.caseFlagStatus.ACTIVE);
26600
26466
  i0.ɵɵadvance();
@@ -26606,7 +26472,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
26606
26472
  } }
26607
26473
  function CaseFlagTableComponent_table_0_tbody_20_Template(rf, ctx) { if (rf & 1) {
26608
26474
  i0.ɵɵelementStart(0, "tbody", 10);
26609
- i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 26, 30, "tr", 15);
26475
+ i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 27, 29, "tr", 15);
26610
26476
  i0.ɵɵelementEnd();
26611
26477
  } if (rf & 2) {
26612
26478
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -26664,18 +26530,11 @@ class CaseFlagTableComponent {
26664
26530
  flagData;
26665
26531
  firstColumnHeader;
26666
26532
  caseFlagsExternalUser = false;
26667
- pvpDisplayText = PVP_DISPLAY_TEXT;
26668
26533
  get caseFlagStatus() {
26669
26534
  return CaseFlagStatus;
26670
26535
  }
26671
- isPvpFlag(flagDetail) {
26672
- return isPvpFlag(flagDetail);
26673
- }
26674
- isActivePvpFlag(flagDetail) {
26675
- return isPvpFlag(flagDetail) && flagDetail?.status === CaseFlagStatus.ACTIVE;
26676
- }
26677
26536
  static ɵfac = function CaseFlagTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagTableComponent)(); };
26678
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader", caseFlagsExternalUser: "caseFlagsExternalUser" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], ["class", "govuk-table__caption govuk-table__caption--l", 4, "ngIf"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__caption", "govuk-table__caption--l"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], [3, "ngClass"], [1, "govuk-table__cell", "cell-flag-status"], ["class", "govuk-tag govuk-tag--turquoise", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--yellow", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], ["fill", "currentColor", "role", "presentation", "aria-hidden", "true", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], [1, "govuk-!-font-weight-bold"], [1, "govuk-tag", "govuk-tag--turquoise"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--yellow"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
26537
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader", caseFlagsExternalUser: "caseFlagsExternalUser" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], ["class", "govuk-table__caption govuk-table__caption--l", 4, "ngIf"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__caption", "govuk-table__caption--l"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], [1, "govuk-table__cell", "cell-flag-status"], ["class", "govuk-tag govuk-tag--turquoise", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--yellow", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], [1, "govuk-!-font-weight-bold"], [1, "govuk-tag", "govuk-tag--turquoise"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--yellow"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
26679
26538
  i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 21, 16, "table", 0);
26680
26539
  } if (rf & 2) {
26681
26540
  i0.ɵɵproperty("ngIf", ctx.flagData);
@@ -26683,7 +26542,7 @@ class CaseFlagTableComponent {
26683
26542
  }
26684
26543
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagTableComponent, [{
26685
26544
  type: Component,
26686
- args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div *ngIf=\"isActivePvpFlag(flagDetail)\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" aria-hidden=\"true\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\"></path>\n </svg>\n <span class=\"govuk-!-font-weight-bold\">{{pvpDisplayText}}</span>\n </div>\n <div *ngIf=\"!isActivePvpFlag(flagDetail)\">{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div [ngClass]=\"{'govuk-!-font-weight-bold': isActivePvpFlag(flagDetail)}\">\n {{flagDetail | flagFieldDisplay:'flagComment'}}\n </div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
26545
+ args: [{ selector: 'ccd-case-flag-table', standalone: false, template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'flagComment'}}</div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
26687
26546
  }], null, { tableCaption: [{
26688
26547
  type: Input
26689
26548
  }], flagData: [{
@@ -26693,7 +26552,7 @@ class CaseFlagTableComponent {
26693
26552
  }], caseFlagsExternalUser: [{
26694
26553
  type: Input
26695
26554
  }] }); })();
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 }); })();
26555
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 11 }); })();
26697
26556
 
26698
26557
  const _c0$s = a0 => ({ "form-group-error": a0 });
26699
26558
  function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
@@ -32132,7 +31991,7 @@ i0.ɵɵsetComponentScope(
32132
31991
  CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
32133
31992
  i0.ɵɵsetComponentScope(
32134
31993
  // Components for case flags
32135
- CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
31994
+ CaseFlagTableComponent, function () { return [i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
32136
31995
  i0.ɵɵsetComponentScope(SelectFlagTypeComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.CheckboxControlValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName]; }, function () { return [i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
32137
31996
  i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i15.MatLegacyInput, i6.MatLegacyAutocomplete, i6.MatLegacyAutocompleteTrigger, i7.MatLegacyOption]; }, function () { return [i5.AsyncPipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe,
32138
31997
  LanguageInterpreterDisplayPipe]; });
@@ -36309,7 +36168,6 @@ class CaseFullAccessViewComponent {
36309
36168
  activeCaseFlags = false;
36310
36169
  caseFlagsExternalUser = false;
36311
36170
  caseFlagsReadExternalMode = '#ARGUMENT(READ,EXTERNAL)';
36312
- potentiallyViolentPersonFlagPrefix = `${PVP_DISPLAY_TEXT}.`;
36313
36171
  subs = [];
36314
36172
  eventId;
36315
36173
  isEventButtonClicked = false;
@@ -36614,7 +36472,9 @@ class CaseFullAccessViewComponent {
36614
36472
  }
36615
36473
  hasActiveCaseFlags() {
36616
36474
  // Determine which tab contains the FlagLauncher CaseField type, from the CaseView object in the snapshot data
36617
- const caseFlagsTab = this.caseDetails?.tabs?.find((tab) => tab.fields?.some((caseField) => FieldsUtils.isFlagLauncherCaseField(caseField))) ?? null;
36475
+ const caseFlagsTab = this.caseDetails?.tabs
36476
+ ? (this.caseDetails.tabs).filter((tab) => tab.fields && tab.fields.some((caseField) => FieldsUtils.isFlagLauncherCaseField(caseField)))[0]
36477
+ : null;
36618
36478
  if (caseFlagsTab) {
36619
36479
  // Check whether the FlagLauncher CaseField is in external mode or not; the notification banner should not be
36620
36480
  // displayed for external users
@@ -36629,12 +36489,8 @@ class CaseFullAccessViewComponent {
36629
36489
  return FieldsUtils.countActiveFlagsInCaseField(active, caseFlag);
36630
36490
  }, 0);
36631
36491
  if (activeCaseFlags > 0) {
36632
- const hasActivePotentiallyViolentPersonFlag = this.hasActivePotentiallyViolentPersonFlag(caseFlagsTab.fields);
36633
- const baseDescription = activeCaseFlags > 1
36492
+ const description = activeCaseFlags > 1
36634
36493
  ? `There are ${activeCaseFlags} active flags on this case.` : 'There is 1 active flag on this case.';
36635
- const description = hasActivePotentiallyViolentPersonFlag
36636
- ? `${this.potentiallyViolentPersonFlagPrefix} ${baseDescription}`
36637
- : baseDescription;
36638
36494
  // Initialise and display notification banner
36639
36495
  this.notificationBannerConfig = {
36640
36496
  bannerType: NotificationBannerType.INFORMATION,
@@ -36651,9 +36507,6 @@ class CaseFullAccessViewComponent {
36651
36507
  }
36652
36508
  return false;
36653
36509
  }
36654
- hasActivePotentiallyViolentPersonFlag(caseFields) {
36655
- return hasActivePvpFlagInCaseFields(caseFields);
36656
- }
36657
36510
  /**
36658
36511
  * Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type
36659
36512
  * fields.
@@ -36675,10 +36528,7 @@ class CaseFullAccessViewComponent {
36675
36528
  }
36676
36529
  }
36677
36530
  sortTabFieldsAndFilterTabs(tabs) {
36678
- return tabs?.map((tab) => ({
36679
- ...tab,
36680
- fields: this.orderService.sort(tab.fields)
36681
- }))
36531
+ return tabs?.map((tab) => Object.assign({}, tab, { fields: this.orderService.sort(tab.fields) }))
36682
36532
  .filter((tab) => ShowCondition.getInstance(tab.show_condition).matchByContextFields(this.caseFields));
36683
36533
  }
36684
36534
  getTabFields() {
@@ -36768,7 +36618,7 @@ class CaseFullAccessViewComponent {
36768
36618
  type: ViewChild,
36769
36619
  args: ['tabGroup', { static: false }]
36770
36620
  }] }); })();
36771
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 48 }); })();
36621
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 47 }); })();
36772
36622
 
36773
36623
  class PrintUrlPipe {
36774
36624
  appConfig;