@hmcts/ccd-case-ui-toolkit 6.16.0-QM-respond-CYA-UI-changes → 6.16.0-QM-respond-CYA-UI-changes-v1

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.
@@ -142,13 +142,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
142
142
  i0.ɵɵadvance(4);
143
143
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
144
144
  } }
145
- const _c0$13 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
145
+ const _c0$12 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
146
146
  const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
147
147
  class FooterComponent {
148
148
  }
149
149
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
150
150
  FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, 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) {
151
- i0.ɵɵprojectionDef(_c0$13);
151
+ i0.ɵɵprojectionDef(_c0$12);
152
152
  i0.ɵɵelementStart(0, "footer", 0);
153
153
  i0.ɵɵelementStart(1, "div", 1);
154
154
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
@@ -221,7 +221,7 @@ function HeaderBarComponent_div_10_Template(rf, ctx) { if (rf & 1) {
221
221
  i0.ɵɵadvance(3);
222
222
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r2.title));
223
223
  } }
224
- const _c0$12 = [[["", "headerNavigation", ""]]];
224
+ const _c0$11 = [[["", "headerNavigation", ""]]];
225
225
  const _c1$q = ["[headerNavigation]"];
226
226
  class HeaderBarComponent {
227
227
  constructor() {
@@ -233,7 +233,7 @@ class HeaderBarComponent {
233
233
  }
234
234
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
235
235
  HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, 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"], ["id", "sign-out", "href", "javascript:void(0)", 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) {
236
- i0.ɵɵprojectionDef(_c0$12);
236
+ i0.ɵɵprojectionDef(_c0$11);
237
237
  i0.ɵɵelementStart(0, "header", 0);
238
238
  i0.ɵɵelementStart(1, "div", 1);
239
239
  i0.ɵɵelementStart(2, "div", 2);
@@ -296,13 +296,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
296
296
  type: Output
297
297
  }] }); })();
298
298
 
299
- const _c0$11 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
299
+ const _c0$10 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
300
300
  const _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
301
301
  class NavigationComponent {
302
302
  }
303
303
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
304
304
  NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
305
- i0.ɵɵprojectionDef(_c0$11);
305
+ i0.ɵɵprojectionDef(_c0$10);
306
306
  i0.ɵɵelementStart(0, "div");
307
307
  i0.ɵɵelementStart(1, "nav", 0);
308
308
  i0.ɵɵprojection(2);
@@ -430,13 +430,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
430
430
  }]
431
431
  }], null, null); })();
432
432
 
433
- const _c0$10 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
433
+ const _c0$$ = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
434
434
  const _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
435
435
  class BodyComponent {
436
436
  }
437
437
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
438
438
  BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
439
- i0.ɵɵprojectionDef(_c0$10);
439
+ i0.ɵɵprojectionDef(_c0$$);
440
440
  i0.ɵɵelementStart(0, "div", 0);
441
441
  i0.ɵɵprojection(1);
442
442
  i0.ɵɵprojection(2, 1);
@@ -453,7 +453,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
453
453
  }]
454
454
  }], null, null); })();
455
455
 
456
- const _c0$$ = function (a0) { return { "govuk-input--error": a0 }; };
456
+ const _c0$_ = function (a0) { return { "govuk-input--error": a0 }; };
457
457
  function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
458
458
  const _r8 = i0.ɵɵgetCurrentView();
459
459
  i0.ɵɵelementStart(0, "div", 12);
@@ -472,7 +472,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
472
472
  i0.ɵɵadvance(1);
473
473
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Hour"));
474
474
  i0.ɵɵadvance(2);
475
- i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$$, ctx_r3.isInvalid));
475
+ i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$_, ctx_r3.isInvalid));
476
476
  } }
477
477
  function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
478
478
  const _r13 = i0.ɵɵgetCurrentView();
@@ -492,7 +492,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
492
492
  i0.ɵɵadvance(1);
493
493
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Minute"));
494
494
  i0.ɵɵadvance(2);
495
- i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$$, ctx_r4.isInvalid));
495
+ i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$_, ctx_r4.isInvalid));
496
496
  } }
497
497
  function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
498
498
  const _r18 = i0.ɵɵgetCurrentView();
@@ -512,7 +512,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
512
512
  i0.ɵɵadvance(1);
513
513
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Second"));
514
514
  i0.ɵɵadvance(2);
515
- i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$$, ctx_r5.isInvalid));
515
+ i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$_, ctx_r5.isInvalid));
516
516
  } }
517
517
  class DateInputComponent {
518
518
  constructor() {
@@ -746,19 +746,19 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
746
746
  i0.ɵɵadvance(1);
747
747
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Day"));
748
748
  i0.ɵɵadvance(2);
749
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$$, ctx.isInvalid));
749
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$_, ctx.isInvalid));
750
750
  i0.ɵɵadvance(3);
751
751
  i0.ɵɵproperty("for", ctx.monthId());
752
752
  i0.ɵɵadvance(1);
753
753
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 23, "Month"));
754
754
  i0.ɵɵadvance(2);
755
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$$, ctx.isInvalid));
755
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$_, ctx.isInvalid));
756
756
  i0.ɵɵadvance(3);
757
757
  i0.ɵɵproperty("for", ctx.yearId());
758
758
  i0.ɵɵadvance(1);
759
759
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 25, "Year"));
760
760
  i0.ɵɵadvance(2);
761
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$$, ctx.isInvalid));
761
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$_, ctx.isInvalid));
762
762
  i0.ɵɵadvance(2);
763
763
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
764
764
  i0.ɵɵadvance(1);
@@ -828,7 +828,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
828
828
  i0.ɵɵelementEnd();
829
829
  i0.ɵɵelementContainerEnd();
830
830
  } }
831
- const _c0$_ = ["*"];
831
+ const _c0$Z = ["*"];
832
832
  var AlertMessageType;
833
833
  (function (AlertMessageType) {
834
834
  AlertMessageType["WARNING"] = "warning";
@@ -848,7 +848,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
848
848
  AlertComponent.TYPE_ERROR = 'error';
849
849
  AlertComponent.TYPE_INFORMATION = 'information';
850
850
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
851
- AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$_, 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) {
851
+ AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$Z, 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) {
852
852
  i0.ɵɵprojectionDef();
853
853
  i0.ɵɵelementStart(0, "div", 0);
854
854
  i0.ɵɵelementContainerStart(1, 1);
@@ -1086,7 +1086,7 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
1086
1086
  type: Output
1087
1087
  }] }); })();
1088
1088
 
1089
- const _c0$Z = function (a0) { return { "js-hidden": a0 }; };
1089
+ const _c0$Y = function (a0) { return { "js-hidden": a0 }; };
1090
1090
  const _c1$n = ["*"];
1091
1091
  class TabComponent {
1092
1092
  }
@@ -1097,7 +1097,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
1097
1097
  i0.ɵɵprojection(1);
1098
1098
  i0.ɵɵelementEnd();
1099
1099
  } if (rf & 2) {
1100
- i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$Z, !ctx.selected));
1100
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$Y, !ctx.selected));
1101
1101
  i0.ɵɵattribute("aria-hidden", !ctx.selected);
1102
1102
  } }, directives: [i5.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
1103
1103
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
@@ -1117,7 +1117,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
1117
1117
  type: Input
1118
1118
  }] }); })();
1119
1119
 
1120
- const _c0$Y = ["tab"];
1120
+ const _c0$X = ["tab"];
1121
1121
  const _c1$m = function () { return ["."]; };
1122
1122
  const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1123
1123
  function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
@@ -1164,7 +1164,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
1164
1164
  let _t;
1165
1165
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1166
1166
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1167
- i0.ɵɵviewQuery(_c0$Y, 1);
1167
+ i0.ɵɵviewQuery(_c0$X, 1);
1168
1168
  } if (rf & 2) {
1169
1169
  let _t;
1170
1170
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1231,7 +1231,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
1231
1231
  }]
1232
1232
  }], null, null); })();
1233
1233
 
1234
- const _c0$X = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1234
+ const _c0$W = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1235
1235
  class ActivityBannerComponent {
1236
1236
  constructor() { }
1237
1237
  ngOnInit() {
@@ -1250,7 +1250,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
1250
1250
  i0.ɵɵelementEnd();
1251
1251
  i0.ɵɵelementEnd();
1252
1252
  } if (rf & 2) {
1253
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$X, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1253
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$W, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1254
1254
  i0.ɵɵadvance(2);
1255
1255
  i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
1256
1256
  i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
@@ -10288,7 +10288,7 @@ WriteComplexFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteComplexFi
10288
10288
  type: Input
10289
10289
  }] }); })();
10290
10290
 
10291
- const _c0$W = ["writeComplexFieldComponent"];
10291
+ const _c0$V = ["writeComplexFieldComponent"];
10292
10292
  function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
10293
10293
  i0.ɵɵelementStart(0, "span", 14);
10294
10294
  i0.ɵɵtext(1);
@@ -10500,7 +10500,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
10500
10500
  }
10501
10501
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
10502
10502
  WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
10503
- i0.ɵɵviewQuery(_c0$W, 1);
10503
+ i0.ɵɵviewQuery(_c0$V, 1);
10504
10504
  i0.ɵɵviewQuery(FocusElementDirective, 1);
10505
10505
  } if (rf & 2) {
10506
10506
  let _t;
@@ -11236,7 +11236,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_9_Template(rf, ctx) { if
11236
11236
  i0.ɵɵadvance(1);
11237
11237
  i0.ɵɵproperty("formGroup", ctx_r11.caseFlagParentFormGroup)("defaultStatus", ctx_r11.flagType.defaultStatus);
11238
11238
  } }
11239
- const _c0$V = function (a0) { return { "form-group-error": a0 }; };
11239
+ const _c0$U = function (a0) { return { "form-group-error": a0 }; };
11240
11240
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11241
11241
  i0.ɵɵelementStart(0, "div", 8);
11242
11242
  i0.ɵɵelementStart(1, "div", 9);
@@ -11257,7 +11257,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11257
11257
  i0.ɵɵadvance(1);
11258
11258
  i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
11259
11259
  i0.ɵɵadvance(1);
11260
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$V, ctx_r1.errorMessages.length > 0));
11260
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$U, ctx_r1.errorMessages.length > 0));
11261
11261
  i0.ɵɵadvance(1);
11262
11262
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 9, ctx_r1.createFlagCaption), " ");
11263
11263
  i0.ɵɵadvance(2);
@@ -11781,7 +11781,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
11781
11781
  }]
11782
11782
  }], null, null); })();
11783
11783
 
11784
- const _c0$U = ["writeComplexFieldComponent"];
11784
+ const _c0$T = ["writeComplexFieldComponent"];
11785
11785
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
11786
11786
  i0.ɵɵelementStart(0, "span", 6);
11787
11787
  i0.ɵɵtext(1);
@@ -11862,7 +11862,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11862
11862
  }
11863
11863
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
11864
11864
  WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
11865
- i0.ɵɵviewQuery(_c0$U, 1);
11865
+ i0.ɵɵviewQuery(_c0$T, 1);
11866
11866
  } if (rf & 2) {
11867
11867
  let _t;
11868
11868
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -11900,7 +11900,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
11900
11900
  args: ['writeComplexFieldComponent']
11901
11901
  }] }); })();
11902
11902
 
11903
- const _c0$T = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11903
+ const _c0$S = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11904
11904
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
11905
11905
  i0.ɵɵelementStart(0, "tbody");
11906
11906
  i0.ɵɵelementStart(1, "tr");
@@ -11913,7 +11913,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
11913
11913
  } if (rf & 2) {
11914
11914
  const ctx_r1 = i0.ɵɵnextContext(2);
11915
11915
  i0.ɵɵadvance(4);
11916
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$T, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
11916
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$S, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
11917
11917
  } }
11918
11918
  const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
11919
11919
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
@@ -12054,7 +12054,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
12054
12054
  }]
12055
12055
  }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
12056
12056
 
12057
- const _c0$S = ["collectionItem"];
12057
+ const _c0$R = ["collectionItem"];
12058
12058
  function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) { if (rf & 1) {
12059
12059
  i0.ɵɵelementStart(0, "span", 9);
12060
12060
  i0.ɵɵtext(1);
@@ -12447,7 +12447,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
12447
12447
  }
12448
12448
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
12449
12449
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
12450
- i0.ɵɵviewQuery(_c0$S, 1);
12450
+ i0.ɵɵviewQuery(_c0$R, 1);
12451
12451
  } if (rf & 2) {
12452
12452
  let _t;
12453
12453
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -12784,7 +12784,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
12784
12784
  type: Injectable
12785
12785
  }], null, null); })();
12786
12786
 
12787
- const _c0$R = ["fileInput"];
12787
+ const _c0$Q = ["fileInput"];
12788
12788
  function WriteDocumentFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
12789
12789
  i0.ɵɵelementStart(0, "span", 12);
12790
12790
  i0.ɵɵtext(1);
@@ -13064,7 +13064,7 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
13064
13064
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
13065
13065
  WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
13066
13066
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
13067
- i0.ɵɵviewQuery(_c0$R, 1);
13067
+ i0.ɵɵviewQuery(_c0$Q, 1);
13068
13068
  } if (rf & 2) {
13069
13069
  let _t;
13070
13070
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -13239,7 +13239,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1
13239
13239
  i0.ɵɵadvance(1);
13240
13240
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
13241
13241
  } }
13242
- const _c0$Q = function (a0) { return { "form-group-error": a0 }; };
13242
+ const _c0$P = function (a0) { return { "form-group-error": a0 }; };
13243
13243
  class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
13244
13244
  ngOnInit() {
13245
13245
  /**
@@ -13282,7 +13282,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
13282
13282
  i0.ɵɵelementEnd();
13283
13283
  i0.ɵɵelementEnd();
13284
13284
  } if (rf & 2) {
13285
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$Q, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13285
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$P, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
13286
13286
  i0.ɵɵadvance(1);
13287
13287
  i0.ɵɵproperty("for", ctx.id());
13288
13288
  i0.ɵɵadvance(1);
@@ -13427,7 +13427,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
13427
13427
  i0.ɵɵadvance(1);
13428
13428
  i0.ɵɵtextInterpolate(checkbox_r4.label);
13429
13429
  } }
13430
- const _c0$P = function (a0) { return { "error": a0 }; };
13430
+ const _c0$O = function (a0) { return { "error": a0 }; };
13431
13431
  class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
13432
13432
  ngOnInit() {
13433
13433
  this.checkboxes = new FormArray([]);
@@ -13501,7 +13501,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type:
13501
13501
  i0.ɵɵelementEnd();
13502
13502
  i0.ɵɵelementEnd();
13503
13503
  } if (rf & 2) {
13504
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$P, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
13504
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$O, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
13505
13505
  i0.ɵɵadvance(3);
13506
13506
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
13507
13507
  i0.ɵɵadvance(1);
@@ -13622,7 +13622,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
13622
13622
  i0.ɵɵadvance(1);
13623
13623
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
13624
13624
  } }
13625
- const _c0$O = function (a0) { return { selected: a0 }; };
13625
+ const _c0$N = function (a0) { return { selected: a0 }; };
13626
13626
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
13627
13627
  i0.ɵɵelementStart(0, "div", 10);
13628
13628
  i0.ɵɵelement(1, "input", 11);
@@ -13633,7 +13633,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
13633
13633
  } if (rf & 2) {
13634
13634
  const radioButton_r5 = ctx.$implicit;
13635
13635
  const ctx_r4 = i0.ɵɵnextContext();
13636
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$O, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13636
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$N, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
13637
13637
  i0.ɵɵadvance(1);
13638
13638
  i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
13639
13639
  i0.ɵɵadvance(1);
@@ -13768,7 +13768,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13768
13768
  i0.ɵɵadvance(1);
13769
13769
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
13770
13770
  } }
13771
- const _c0$N = function (a0) { return { "form-group-error": a0 }; };
13771
+ const _c0$M = function (a0) { return { "form-group-error": a0 }; };
13772
13772
  const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
13773
13773
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
13774
13774
  ngOnInit() {
@@ -13786,7 +13786,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
13786
13786
  i0.ɵɵelement(5, "input", 5);
13787
13787
  i0.ɵɵelementEnd();
13788
13788
  } if (rf & 2) {
13789
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$N, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13789
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$M, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
13790
13790
  i0.ɵɵadvance(1);
13791
13791
  i0.ɵɵproperty("for", ctx.id());
13792
13792
  i0.ɵɵadvance(1);
@@ -13872,7 +13872,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
13872
13872
  i0.ɵɵadvance(1);
13873
13873
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
13874
13874
  } }
13875
- const _c0$M = function (a0) { return { "form-group-error": a0 }; };
13875
+ const _c0$L = function (a0) { return { "form-group-error": a0 }; };
13876
13876
  class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
13877
13877
  get listItems() {
13878
13878
  if (this.caseField) {
@@ -13910,7 +13910,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
13910
13910
  i0.ɵɵelementEnd();
13911
13911
  i0.ɵɵelementEnd();
13912
13912
  } if (rf & 2) {
13913
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$M, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13913
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
13914
13914
  i0.ɵɵadvance(1);
13915
13915
  i0.ɵɵproperty("for", ctx.id());
13916
13916
  i0.ɵɵadvance(1);
@@ -14005,7 +14005,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
14005
14005
  i0.ɵɵadvance(1);
14006
14006
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
14007
14007
  } }
14008
- const _c0$L = function (a0) { return { selected: a0 }; };
14008
+ const _c0$K = function (a0) { return { selected: a0 }; };
14009
14009
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
14010
14010
  i0.ɵɵelementStart(0, "div", 9);
14011
14011
  i0.ɵɵelement(1, "input", 10);
@@ -14017,7 +14017,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
14017
14017
  } if (rf & 2) {
14018
14018
  const radioButton_r4 = ctx.$implicit;
14019
14019
  const ctx_r3 = i0.ɵɵnextContext();
14020
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
14020
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
14021
14021
  i0.ɵɵadvance(1);
14022
14022
  i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
14023
14023
  i0.ɵɵadvance(1);
@@ -14148,7 +14148,7 @@ function WriteJudicialUserFieldComponent_span_3_Template(rf, ctx) { if (rf & 1)
14148
14148
  i0.ɵɵadvance(1);
14149
14149
  i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
14150
14150
  } }
14151
- const _c0$K = function (a0) { return { "hide-autocomplete": a0 }; };
14151
+ const _c0$J = function (a0) { return { "hide-autocomplete": a0 }; };
14152
14152
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf & 1) {
14153
14153
  const _r7 = i0.ɵɵgetCurrentView();
14154
14154
  i0.ɵɵelementStart(0, "mat-option", 11);
@@ -14158,7 +14158,7 @@ function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf
14158
14158
  } if (rf & 2) {
14159
14159
  const judicialUser_r5 = ctx.$implicit;
14160
14160
  const ctx_r3 = i0.ɵɵnextContext();
14161
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$K, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
14161
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
14162
14162
  i0.ɵɵadvance(1);
14163
14163
  i0.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
14164
14164
  } }
@@ -14895,7 +14895,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) { if (rf & 1)
14895
14895
  i0.ɵɵadvance(3);
14896
14896
  i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
14897
14897
  } }
14898
- const _c0$J = function (a0) { return { "govuk-form-group--error": a0 }; };
14898
+ const _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
14899
14899
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
14900
14900
  i0.ɵɵelementStart(0, "div", 35);
14901
14901
  i0.ɵɵelementStart(1, "h3", 22);
@@ -14911,7 +14911,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
14911
14911
  i0.ɵɵelementEnd();
14912
14912
  } if (rf & 2) {
14913
14913
  const ctx_r7 = i0.ɵɵnextContext(2);
14914
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$J, !!ctx_r7.caseReasonCommentsError));
14914
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$I, !!ctx_r7.caseReasonCommentsError));
14915
14915
  i0.ɵɵadvance(3);
14916
14916
  i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
14917
14917
  } }
@@ -14962,11 +14962,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
14962
14962
  const ctx_r0 = i0.ɵɵnextContext();
14963
14963
  i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
14964
14964
  i0.ɵɵadvance(1);
14965
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !!ctx_r0.caseNumberError));
14965
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !!ctx_r0.caseNumberError));
14966
14966
  i0.ɵɵadvance(3);
14967
14967
  i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
14968
14968
  i0.ɵɵadvance(2);
14969
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$J, !!ctx_r0.caseReasonError));
14969
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$I, !!ctx_r0.caseReasonError));
14970
14970
  i0.ɵɵadvance(5);
14971
14971
  i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
14972
14972
  i0.ɵɵadvance(2);
@@ -15377,7 +15377,7 @@ LinkCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LinkCasesComponent, se
15377
15377
  i0.ɵɵadvance(4);
15378
15378
  i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
15379
15379
  i0.ɵɵadvance(4);
15380
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$J, !!ctx.noSelectedCaseError));
15380
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, !!ctx.noSelectedCaseError));
15381
15381
  i0.ɵɵadvance(1);
15382
15382
  i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
15383
15383
  i0.ɵɵadvance(18);
@@ -16008,7 +16008,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) { if (rf & 1)
16008
16008
  i0.ɵɵadvance(1);
16009
16009
  i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
16010
16010
  } }
16011
- const _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
16011
+ const _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
16012
16012
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
16013
16013
  i0.ɵɵelementStart(0, "div", 7);
16014
16014
  i0.ɵɵtemplate(1, UnLinkCasesComponent_div_0_div_4_p_1_Template, 4, 1, "p", 8);
@@ -16018,7 +16018,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
16018
16018
  i0.ɵɵelementEnd();
16019
16019
  } if (rf & 2) {
16020
16020
  const ctx_r1 = i0.ɵɵnextContext(2);
16021
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$I, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
16021
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$H, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
16022
16022
  i0.ɵɵadvance(1);
16023
16023
  i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
16024
16024
  i0.ɵɵadvance(2);
@@ -16788,7 +16788,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
16788
16788
  i0.ɵɵadvance(1);
16789
16789
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
16790
16790
  } }
16791
- const _c0$H = function (a0) { return { "form-group-error": a0 }; };
16791
+ const _c0$G = function (a0) { return { "form-group-error": a0 }; };
16792
16792
  class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
16793
16793
  ngOnInit() {
16794
16794
  this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
@@ -16811,7 +16811,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
16811
16811
  i0.ɵɵelementEnd();
16812
16812
  i0.ɵɵelementEnd();
16813
16813
  } if (rf & 2) {
16814
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$H, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16814
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
16815
16815
  i0.ɵɵadvance(1);
16816
16816
  i0.ɵɵproperty("for", ctx.id());
16817
16817
  i0.ɵɵadvance(1);
@@ -16935,7 +16935,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
16935
16935
  i0.ɵɵadvance(1);
16936
16936
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
16937
16937
  } }
16938
- const _c0$G = function (a0) { return { "error": a0 }; };
16938
+ const _c0$F = function (a0) { return { "error": a0 }; };
16939
16939
  class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
16940
16940
  ngOnInit() {
16941
16941
  this.checkboxes = new FormArray([]);
@@ -16990,7 +16990,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
16990
16990
  i0.ɵɵelementEnd();
16991
16991
  i0.ɵɵelementEnd();
16992
16992
  } if (rf & 2) {
16993
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$G, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
16993
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
16994
16994
  i0.ɵɵadvance(3);
16995
16995
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
16996
16996
  i0.ɵɵadvance(1);
@@ -17062,7 +17062,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
17062
17062
  i0.ɵɵadvance(1);
17063
17063
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
17064
17064
  } }
17065
- const _c0$F = function (a0) { return { "form-group-error": a0 }; };
17065
+ const _c0$E = function (a0) { return { "form-group-error": a0 }; };
17066
17066
  const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
17067
17067
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
17068
17068
  ngOnInit() {
@@ -17080,7 +17080,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
17080
17080
  i0.ɵɵelement(5, "input", 5);
17081
17081
  i0.ɵɵelementEnd();
17082
17082
  } if (rf & 2) {
17083
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !ctx.numberControl.valid && ctx.numberControl.dirty));
17083
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
17084
17084
  i0.ɵɵadvance(1);
17085
17085
  i0.ɵɵproperty("for", ctx.id());
17086
17086
  i0.ɵɵadvance(1);
@@ -17366,7 +17366,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
17366
17366
  i0.ɵɵadvance(2);
17367
17367
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
17368
17368
  } }
17369
- const _c0$E = function (a0) { return { "scroll-container ": a0 }; };
17369
+ const _c0$D = function (a0) { return { "scroll-container ": a0 }; };
17370
17370
  function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { if (rf & 1) {
17371
17371
  i0.ɵɵelementStart(0, "div", 26);
17372
17372
  i0.ɵɵpipe(1, "async");
@@ -17380,7 +17380,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
17380
17380
  const ctx_r2 = i0.ɵɵnextContext(2);
17381
17381
  let tmp_0_0 = null;
17382
17382
  let tmp_2_0 = null;
17383
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$E, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
17383
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
17384
17384
  i0.ɵɵadvance(2);
17385
17385
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
17386
17386
  i0.ɵɵadvance(2);
@@ -17805,7 +17805,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
17805
17805
  i0.ɵɵadvance(1);
17806
17806
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
17807
17807
  } }
17808
- const _c0$D = function (a0) { return { "form-group-error": a0 }; };
17808
+ const _c0$C = function (a0) { return { "form-group-error": a0 }; };
17809
17809
  const _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
17810
17810
  class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
17811
17811
  ngOnInit() {
@@ -17823,7 +17823,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
17823
17823
  i0.ɵɵelement(5, "input", 5);
17824
17824
  i0.ɵɵelementEnd();
17825
17825
  } if (rf & 2) {
17826
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
17826
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
17827
17827
  i0.ɵɵadvance(1);
17828
17828
  i0.ɵɵproperty("for", ctx.id());
17829
17829
  i0.ɵɵadvance(1);
@@ -18399,7 +18399,7 @@ function QueryCheckYourAnswersComponent_dl_9_Template(rf, ctx) { if (rf & 1) {
18399
18399
  i0.ɵɵadvance(3);
18400
18400
  i0.ɵɵtextInterpolate1(" ", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
18401
18401
  i0.ɵɵadvance(3);
18402
- i0.ɵɵtextInterpolate1(" ", (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
18402
+ i0.ɵɵtextInterpolate1(" ", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.RESPOND ? ctx_r4.queryItem.subject : (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
18403
18403
  i0.ɵɵadvance(2);
18404
18404
  i0.ɵɵproperty("ngIf", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.NEW_QUERY);
18405
18405
  } }
@@ -18607,13 +18607,13 @@ QueryCheckYourAnswersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCheck
18607
18607
  type: Output
18608
18608
  }] }); })();
18609
18609
 
18610
- function QueryDetailsTableComponent_ng_container_0_tr_36_Template(rf, ctx) { if (rf & 1) {
18611
- i0.ɵɵelementStart(0, "tr", 8);
18612
- i0.ɵɵelementStart(1, "th", 4);
18610
+ function QueryDetailsTableComponent_ng_container_0_tr_40_Template(rf, ctx) { if (rf & 1) {
18611
+ i0.ɵɵelementStart(0, "tr", 9);
18612
+ i0.ɵɵelementStart(1, "th", 5);
18613
18613
  i0.ɵɵtext(2);
18614
18614
  i0.ɵɵpipe(3, "rpxTranslate");
18615
18615
  i0.ɵɵelementEnd();
18616
- i0.ɵɵelementStart(4, "td", 5);
18616
+ i0.ɵɵelementStart(4, "td", 6);
18617
18617
  i0.ɵɵtext(5);
18618
18618
  i0.ɵɵpipe(6, "date");
18619
18619
  i0.ɵɵelementEnd();
@@ -18625,8 +18625,8 @@ function QueryDetailsTableComponent_ng_container_0_tr_36_Template(rf, ctx) { if
18625
18625
  i0.ɵɵadvance(3);
18626
18626
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
18627
18627
  } }
18628
- function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template(rf, ctx) { if (rf & 1) {
18629
- i0.ɵɵelement(0, "ccd-query-attachments-read", 9);
18628
+ function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_46_Template(rf, ctx) { if (rf & 1) {
18629
+ i0.ɵɵelement(0, "ccd-query-attachments-read", 10);
18630
18630
  } if (rf & 2) {
18631
18631
  const ctx_r2 = i0.ɵɵnextContext(2);
18632
18632
  i0.ɵɵproperty("attachments", ctx_r2.queryItem.attachments);
@@ -18635,62 +18635,68 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
18635
18635
  i0.ɵɵelementContainerStart(0);
18636
18636
  i0.ɵɵelementStart(1, "table", 1);
18637
18637
  i0.ɵɵpipe(2, "rpxTranslate");
18638
- i0.ɵɵelementStart(3, "tbody", 2);
18639
- i0.ɵɵelementStart(4, "tr", 3);
18640
- i0.ɵɵelementStart(5, "th", 4);
18641
- i0.ɵɵtext(6);
18642
- i0.ɵɵpipe(7, "rpxTranslate");
18638
+ i0.ɵɵelementStart(3, "caption", 2);
18639
+ i0.ɵɵelementStart(4, "div");
18640
+ i0.ɵɵtext(5);
18641
+ i0.ɵɵpipe(6, "rpxTranslate");
18643
18642
  i0.ɵɵelementEnd();
18644
- i0.ɵɵelementStart(8, "td", 5);
18645
- i0.ɵɵtext(9);
18646
18643
  i0.ɵɵelementEnd();
18644
+ i0.ɵɵelementStart(7, "tbody", 3);
18645
+ i0.ɵɵelementStart(8, "tr", 4);
18646
+ i0.ɵɵelementStart(9, "th", 5);
18647
+ i0.ɵɵtext(10);
18648
+ i0.ɵɵpipe(11, "rpxTranslate");
18647
18649
  i0.ɵɵelementEnd();
18648
- i0.ɵɵelementStart(10, "tr", 3);
18649
- i0.ɵɵelementStart(11, "th", 4);
18650
- i0.ɵɵtext(12);
18651
- i0.ɵɵpipe(13, "rpxTranslate");
18650
+ i0.ɵɵelementStart(12, "td", 6);
18651
+ i0.ɵɵtext(13);
18652
+ i0.ɵɵpipe(14, "date");
18652
18653
  i0.ɵɵelementEnd();
18653
- i0.ɵɵelementStart(14, "td", 5);
18654
- i0.ɵɵtext(15);
18655
- i0.ɵɵpipe(16, "date");
18656
18654
  i0.ɵɵelementEnd();
18655
+ i0.ɵɵelementStart(15, "tr", 4);
18656
+ i0.ɵɵelementStart(16, "th", 5);
18657
+ i0.ɵɵtext(17);
18658
+ i0.ɵɵpipe(18, "rpxTranslate");
18657
18659
  i0.ɵɵelementEnd();
18658
- i0.ɵɵelementStart(17, "tr", 3);
18659
- i0.ɵɵelementStart(18, "th", 4);
18660
- i0.ɵɵtext(19);
18661
- i0.ɵɵpipe(20, "rpxTranslate");
18660
+ i0.ɵɵelementStart(19, "td", 6);
18661
+ i0.ɵɵtext(20);
18662
18662
  i0.ɵɵelementEnd();
18663
- i0.ɵɵelementStart(21, "td", 5);
18664
- i0.ɵɵtext(22);
18665
18663
  i0.ɵɵelementEnd();
18664
+ i0.ɵɵelementStart(21, "tr", 4);
18665
+ i0.ɵɵelementStart(22, "th", 5);
18666
+ i0.ɵɵtext(23);
18667
+ i0.ɵɵpipe(24, "rpxTranslate");
18666
18668
  i0.ɵɵelementEnd();
18667
- i0.ɵɵelementStart(23, "tr", 3);
18668
- i0.ɵɵelementStart(24, "th", 4);
18669
- i0.ɵɵtext(25);
18670
- i0.ɵɵpipe(26, "rpxTranslate");
18669
+ i0.ɵɵelementStart(25, "td", 6);
18670
+ i0.ɵɵtext(26);
18671
18671
  i0.ɵɵelementEnd();
18672
- i0.ɵɵelementStart(27, "td", 5);
18673
- i0.ɵɵtext(28);
18674
18672
  i0.ɵɵelementEnd();
18673
+ i0.ɵɵelementStart(27, "tr", 4);
18674
+ i0.ɵɵelementStart(28, "th", 5);
18675
+ i0.ɵɵtext(29);
18676
+ i0.ɵɵpipe(30, "rpxTranslate");
18677
+ i0.ɵɵelementEnd();
18678
+ i0.ɵɵelementStart(31, "td", 6);
18679
+ i0.ɵɵtext(32);
18675
18680
  i0.ɵɵelementEnd();
18676
- i0.ɵɵelementStart(29, "tr", 3);
18677
- i0.ɵɵelementStart(30, "th", 4);
18678
- i0.ɵɵtext(31);
18679
- i0.ɵɵpipe(32, "rpxTranslate");
18680
18681
  i0.ɵɵelementEnd();
18681
- i0.ɵɵelementStart(33, "td", 5);
18682
- i0.ɵɵtext(34);
18683
- i0.ɵɵpipe(35, "rpxTranslate");
18682
+ i0.ɵɵelementStart(33, "tr", 4);
18683
+ i0.ɵɵelementStart(34, "th", 5);
18684
+ i0.ɵɵtext(35);
18685
+ i0.ɵɵpipe(36, "rpxTranslate");
18686
+ i0.ɵɵelementEnd();
18687
+ i0.ɵɵelementStart(37, "td", 6);
18688
+ i0.ɵɵtext(38);
18689
+ i0.ɵɵpipe(39, "rpxTranslate");
18684
18690
  i0.ɵɵelementEnd();
18685
18691
  i0.ɵɵelementEnd();
18686
- i0.ɵɵtemplate(36, QueryDetailsTableComponent_ng_container_0_tr_36_Template, 7, 7, "tr", 6);
18687
- i0.ɵɵelementStart(37, "tr", 3);
18688
- i0.ɵɵelementStart(38, "th", 4);
18689
- i0.ɵɵtext(39);
18690
- i0.ɵɵpipe(40, "rpxTranslate");
18692
+ i0.ɵɵtemplate(40, QueryDetailsTableComponent_ng_container_0_tr_40_Template, 7, 7, "tr", 7);
18693
+ i0.ɵɵelementStart(41, "tr", 4);
18694
+ i0.ɵɵelementStart(42, "th", 5);
18695
+ i0.ɵɵtext(43);
18696
+ i0.ɵɵpipe(44, "rpxTranslate");
18691
18697
  i0.ɵɵelementEnd();
18692
- i0.ɵɵelementStart(41, "td", 5);
18693
- i0.ɵɵtemplate(42, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template, 1, 1, "ccd-query-attachments-read", 7);
18698
+ i0.ɵɵelementStart(45, "td", 6);
18699
+ i0.ɵɵtemplate(46, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_46_Template, 1, 1, "ccd-query-attachments-read", 8);
18694
18700
  i0.ɵɵelementEnd();
18695
18701
  i0.ɵɵelementEnd();
18696
18702
  i0.ɵɵelementEnd();
@@ -18699,43 +18705,45 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
18699
18705
  } if (rf & 2) {
18700
18706
  const ctx_r0 = i0.ɵɵnextContext();
18701
18707
  i0.ɵɵadvance(1);
18702
- i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 18, "Details of the query"));
18708
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 19, "Details of the query"));
18709
+ i0.ɵɵadvance(4);
18710
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 21, "Query details"));
18703
18711
  i0.ɵɵadvance(5);
18704
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 20, "Last submitted by"));
18712
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 23, "Submission date"));
18705
18713
  i0.ɵɵadvance(3);
18706
- i0.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
18714
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 25, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
18715
+ i0.ɵɵadvance(4);
18716
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 28, "Last submitted by"));
18707
18717
  i0.ɵɵadvance(3);
18708
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 22, "Submission date"));
18718
+ i0.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
18709
18719
  i0.ɵɵadvance(3);
18710
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
18711
- i0.ɵɵadvance(4);
18712
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 27, "Query subject"));
18720
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(24, 30, "Query subject"));
18713
18721
  i0.ɵɵadvance(3);
18714
18722
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
18715
18723
  i0.ɵɵadvance(3);
18716
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 29, "Query detail"));
18724
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 32, "Query detail"));
18717
18725
  i0.ɵɵadvance(3);
18718
18726
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.body);
18719
18727
  i0.ɵɵadvance(2);
18720
18728
  i0.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.queryItem.isHearingRelated);
18721
18729
  i0.ɵɵadvance(1);
18722
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 31, "Is the query hearing related?"), " ");
18730
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(36, 34, "Is the query hearing related?"), " ");
18723
18731
  i0.ɵɵadvance(2);
18724
18732
  i0.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.queryItem.isHearingRelated);
18725
18733
  i0.ɵɵadvance(1);
18726
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(35, 33, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
18734
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(39, 36, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
18727
18735
  i0.ɵɵadvance(2);
18728
18736
  i0.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
18729
18737
  i0.ɵɵadvance(3);
18730
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(40, 37, "Attachments"));
18738
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(44, 40, "Attachments"));
18731
18739
  i0.ɵɵadvance(3);
18732
18740
  i0.ɵɵproperty("ngIf", ctx_r0.queryItem.attachments);
18733
18741
  } }
18734
18742
  class QueryDetailsTableComponent {
18735
18743
  }
18736
18744
  QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
18737
- QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) { if (rf & 1) {
18738
- i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 43, 39, "ng-container", 0);
18745
+ QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) { if (rf & 1) {
18746
+ i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 47, 42, "ng-container", 0);
18739
18747
  } if (rf & 2) {
18740
18748
  i0.ɵɵproperty("ngIf", ctx.queryItem);
18741
18749
  } }, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}.query-details-table[_ngcontent-%COMP%] .collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-bottom:none}.query-details-table[_ngcontent-%COMP%] .govuk-table__cell--no-border[_ngcontent-%COMP%], .query-details-table[_ngcontent-%COMP%] .govuk-table__header--no-border[_ngcontent-%COMP%]{border-bottom:0}"] });
@@ -18750,47 +18758,67 @@ QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTa
18750
18758
  type: Input
18751
18759
  }] }); })();
18752
18760
 
18753
- function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_container_1_ccd_query_attachments_read_25_Template(rf, ctx) { if (rf & 1) {
18754
- i0.ɵɵelement(0, "ccd-query-attachments-read", 14);
18761
+ function QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_tr_15_Template(rf, ctx) { if (rf & 1) {
18762
+ i0.ɵɵelementStart(0, "tr", 10);
18763
+ i0.ɵɵelementStart(1, "th", 11);
18764
+ i0.ɵɵtext(2);
18765
+ i0.ɵɵpipe(3, "rpxTranslate");
18766
+ i0.ɵɵelementEnd();
18767
+ i0.ɵɵelementStart(4, "td", 12);
18768
+ i0.ɵɵtext(5);
18769
+ i0.ɵɵelementEnd();
18770
+ i0.ɵɵelementEnd();
18771
+ } if (rf & 2) {
18772
+ const child_r5 = i0.ɵɵnextContext(2).$implicit;
18773
+ i0.ɵɵadvance(2);
18774
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Caseworker name"));
18775
+ i0.ɵɵadvance(3);
18776
+ i0.ɵɵtextInterpolate(child_r5.name);
18777
+ } }
18778
+ function QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template(rf, ctx) { if (rf & 1) {
18779
+ i0.ɵɵelement(0, "ccd-query-attachments-read", 15);
18755
18780
  } if (rf & 2) {
18756
18781
  const child_r5 = i0.ɵɵnextContext(2).$implicit;
18757
18782
  i0.ɵɵproperty("attachments", child_r5.attachments);
18758
18783
  } }
18759
- function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18784
+ function QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18760
18785
  i0.ɵɵelementContainerStart(0);
18761
- i0.ɵɵelementStart(1, "div", 2);
18762
- i0.ɵɵtext(2);
18763
- i0.ɵɵpipe(3, "rpxTranslate");
18786
+ i0.ɵɵelementStart(1, "table", 7);
18787
+ i0.ɵɵpipe(2, "rpxTranslate");
18788
+ i0.ɵɵelementStart(3, "caption", 8);
18789
+ i0.ɵɵelementStart(4, "div");
18790
+ i0.ɵɵtext(5);
18791
+ i0.ɵɵpipe(6, "rpxTranslate");
18764
18792
  i0.ɵɵelementEnd();
18765
- i0.ɵɵelementStart(4, "table", 8);
18766
- i0.ɵɵpipe(5, "rpxTranslate");
18767
- i0.ɵɵelementStart(6, "tbody", 9);
18768
- i0.ɵɵelementStart(7, "tr", 10);
18769
- i0.ɵɵelementStart(8, "th", 11);
18770
- i0.ɵɵtext(9);
18771
- i0.ɵɵpipe(10, "rpxTranslate");
18772
18793
  i0.ɵɵelementEnd();
18773
- i0.ɵɵelementStart(11, "td", 12);
18774
- i0.ɵɵtext(12);
18775
- i0.ɵɵpipe(13, "date");
18794
+ i0.ɵɵelementStart(7, "tbody", 9);
18795
+ i0.ɵɵelementStart(8, "tr", 10);
18796
+ i0.ɵɵelementStart(9, "th", 11);
18797
+ i0.ɵɵtext(10);
18798
+ i0.ɵɵpipe(11, "rpxTranslate");
18776
18799
  i0.ɵɵelementEnd();
18800
+ i0.ɵɵelementStart(12, "td", 12);
18801
+ i0.ɵɵtext(13);
18802
+ i0.ɵɵpipe(14, "date");
18777
18803
  i0.ɵɵelementEnd();
18778
- i0.ɵɵelementStart(14, "tr", 10);
18779
- i0.ɵɵelementStart(15, "th", 11);
18780
- i0.ɵɵtext(16);
18781
- i0.ɵɵpipe(17, "rpxTranslate");
18782
18804
  i0.ɵɵelementEnd();
18783
- i0.ɵɵelementStart(18, "td", 12);
18784
- i0.ɵɵtext(19);
18805
+ i0.ɵɵtemplate(15, QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_tr_15_Template, 6, 4, "tr", 13);
18806
+ i0.ɵɵelementStart(16, "tr", 10);
18807
+ i0.ɵɵelementStart(17, "th", 11);
18808
+ i0.ɵɵtext(18);
18809
+ i0.ɵɵpipe(19, "rpxTranslate");
18785
18810
  i0.ɵɵelementEnd();
18811
+ i0.ɵɵelementStart(20, "td", 12);
18812
+ i0.ɵɵtext(21);
18786
18813
  i0.ɵɵelementEnd();
18787
- i0.ɵɵelementStart(20, "tr", 10);
18788
- i0.ɵɵelementStart(21, "th", 11);
18789
- i0.ɵɵtext(22);
18790
- i0.ɵɵpipe(23, "rpxTranslate");
18791
18814
  i0.ɵɵelementEnd();
18792
- i0.ɵɵelementStart(24, "td", 12);
18793
- i0.ɵɵtemplate(25, QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_container_1_ccd_query_attachments_read_25_Template, 1, 1, "ccd-query-attachments-read", 13);
18815
+ i0.ɵɵelementStart(22, "tr", 10);
18816
+ i0.ɵɵelementStart(23, "th", 11);
18817
+ i0.ɵɵtext(24);
18818
+ i0.ɵɵpipe(25, "rpxTranslate");
18819
+ i0.ɵɵelementEnd();
18820
+ i0.ɵɵelementStart(26, "td", 12);
18821
+ i0.ɵɵtemplate(27, QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template, 1, 1, "ccd-query-attachments-read", 14);
18794
18822
  i0.ɵɵelementEnd();
18795
18823
  i0.ɵɵelementEnd();
18796
18824
  i0.ɵɵelementEnd();
@@ -18798,84 +18826,88 @@ function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_
18798
18826
  i0.ɵɵelementContainerEnd();
18799
18827
  } if (rf & 2) {
18800
18828
  const child_r5 = i0.ɵɵnextContext().$implicit;
18801
- i0.ɵɵadvance(2);
18802
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "Response"));
18803
- i0.ɵɵadvance(2);
18804
- i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(5, 10, "Response of the query"));
18829
+ const ctx_r7 = i0.ɵɵnextContext(3);
18830
+ i0.ɵɵadvance(1);
18831
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 9, "Response of the query"));
18832
+ i0.ɵɵadvance(4);
18833
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 11, "Response"));
18805
18834
  i0.ɵɵadvance(5);
18806
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 12, "Last response date"));
18835
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "Last response date"));
18807
18836
  i0.ɵɵadvance(3);
18808
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 14, child_r5.createdOn, "dd MMM yyyy"));
18809
- i0.ɵɵadvance(4);
18810
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "Response detail"));
18837
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 15, child_r5.createdOn, "dd MMM yyyy"));
18838
+ i0.ɵɵadvance(2);
18839
+ i0.ɵɵproperty("ngIf", ctx_r7.isCaseworker());
18840
+ i0.ɵɵadvance(3);
18841
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 18, "Response detail"));
18811
18842
  i0.ɵɵadvance(3);
18812
18843
  i0.ɵɵtextInterpolate(child_r5.body);
18813
18844
  i0.ɵɵadvance(3);
18814
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 19, "Attachments"));
18845
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(25, 20, "Attachments"));
18815
18846
  i0.ɵɵadvance(3);
18816
18847
  i0.ɵɵproperty("ngIf", child_r5.attachments);
18817
18848
  } }
18818
- function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
18819
- i0.ɵɵelementStart(0, "div", 2);
18820
- i0.ɵɵtext(1);
18821
- i0.ɵɵpipe(2, "rpxTranslate");
18849
+ function QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
18850
+ i0.ɵɵelementStart(0, "table", 7);
18851
+ i0.ɵɵpipe(1, "rpxTranslate");
18852
+ i0.ɵɵelementStart(2, "caption", 8);
18853
+ i0.ɵɵelementStart(3, "div");
18854
+ i0.ɵɵtext(4);
18855
+ i0.ɵɵpipe(5, "rpxTranslate");
18822
18856
  i0.ɵɵelementEnd();
18823
- i0.ɵɵelementStart(3, "table", 8);
18824
- i0.ɵɵpipe(4, "rpxTranslate");
18825
- i0.ɵɵelementStart(5, "tbody", 9);
18826
- i0.ɵɵelementStart(6, "tr", 10);
18827
- i0.ɵɵelementStart(7, "th", 11);
18828
- i0.ɵɵtext(8);
18829
- i0.ɵɵpipe(9, "rpxTranslate");
18830
18857
  i0.ɵɵelementEnd();
18831
- i0.ɵɵelementStart(10, "td", 12);
18832
- i0.ɵɵtext(11);
18833
- i0.ɵɵpipe(12, "date");
18858
+ i0.ɵɵelementStart(6, "tbody", 9);
18859
+ i0.ɵɵelementStart(7, "tr", 10);
18860
+ i0.ɵɵelementStart(8, "th", 11);
18861
+ i0.ɵɵtext(9);
18862
+ i0.ɵɵpipe(10, "rpxTranslate");
18834
18863
  i0.ɵɵelementEnd();
18864
+ i0.ɵɵelementStart(11, "td", 12);
18865
+ i0.ɵɵtext(12);
18866
+ i0.ɵɵpipe(13, "date");
18835
18867
  i0.ɵɵelementEnd();
18836
- i0.ɵɵelementStart(13, "tr", 10);
18837
- i0.ɵɵelementStart(14, "th", 11);
18838
- i0.ɵɵtext(15);
18839
- i0.ɵɵpipe(16, "rpxTranslate");
18840
18868
  i0.ɵɵelementEnd();
18841
- i0.ɵɵelementStart(17, "td", 12);
18842
- i0.ɵɵtext(18);
18869
+ i0.ɵɵelementStart(14, "tr", 10);
18870
+ i0.ɵɵelementStart(15, "th", 11);
18871
+ i0.ɵɵtext(16);
18872
+ i0.ɵɵpipe(17, "rpxTranslate");
18843
18873
  i0.ɵɵelementEnd();
18874
+ i0.ɵɵelementStart(18, "td", 12);
18875
+ i0.ɵɵtext(19);
18844
18876
  i0.ɵɵelementEnd();
18845
- i0.ɵɵelementStart(19, "tr", 10);
18846
- i0.ɵɵelementStart(20, "th", 11);
18847
- i0.ɵɵtext(21);
18848
- i0.ɵɵpipe(22, "rpxTranslate");
18849
18877
  i0.ɵɵelementEnd();
18850
- i0.ɵɵelementStart(23, "td", 12);
18851
- i0.ɵɵtext(24);
18878
+ i0.ɵɵelementStart(20, "tr", 10);
18879
+ i0.ɵɵelementStart(21, "th", 11);
18880
+ i0.ɵɵtext(22);
18881
+ i0.ɵɵpipe(23, "rpxTranslate");
18882
+ i0.ɵɵelementEnd();
18883
+ i0.ɵɵelementStart(24, "td", 12);
18884
+ i0.ɵɵtext(25);
18852
18885
  i0.ɵɵelementEnd();
18853
18886
  i0.ɵɵelementEnd();
18854
18887
  i0.ɵɵelementEnd();
18855
18888
  i0.ɵɵelementEnd();
18856
18889
  } if (rf & 2) {
18857
18890
  const child_r5 = i0.ɵɵnextContext().$implicit;
18858
- i0.ɵɵadvance(1);
18859
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 8, "Follow up query"));
18860
- i0.ɵɵadvance(2);
18861
- i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(4, 10, "Follow-up of the response"));
18891
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 8, "Follow-up of the response"));
18892
+ i0.ɵɵadvance(4);
18893
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 10, "Follow up query"));
18862
18894
  i0.ɵɵadvance(5);
18863
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 12, "Last submission date"));
18895
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 12, "Last submission date"));
18864
18896
  i0.ɵɵadvance(3);
18865
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(12, 14, child_r5.createdOn, "dd MMM yyyy"));
18897
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 14, child_r5.createdOn, "dd MMM yyyy"));
18866
18898
  i0.ɵɵadvance(4);
18867
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 17, "Last submitted by"));
18899
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "Last submitted by"));
18868
18900
  i0.ɵɵadvance(3);
18869
18901
  i0.ɵɵtextInterpolate(child_r5.name);
18870
18902
  i0.ɵɵadvance(3);
18871
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 19, "Query detail"));
18903
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 19, "Query detail"));
18872
18904
  i0.ɵɵadvance(3);
18873
18905
  i0.ɵɵtextInterpolate(child_r5.body);
18874
18906
  } }
18875
- function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18907
+ function QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18876
18908
  i0.ɵɵelementContainerStart(0);
18877
- i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_container_1_Template, 26, 21, "ng-container", 4);
18878
- i0.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_template_2_Template, 25, 21, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
18909
+ i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_container_1_Template, 28, 22, "ng-container", 3);
18910
+ i0.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_ng_template_2_Template, 26, 21, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
18879
18911
  i0.ɵɵelementContainerEnd();
18880
18912
  } if (rf & 2) {
18881
18913
  const i_r6 = ctx.index;
@@ -18883,18 +18915,18 @@ function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_Tem
18883
18915
  i0.ɵɵadvance(1);
18884
18916
  i0.ɵɵproperty("ngIf", i_r6 % 2 === 0)("ngIfElse", _r8);
18885
18917
  } }
18886
- function QueryDetailsComponent_ng_container_0_ng_container_10_Template(rf, ctx) { if (rf & 1) {
18918
+ function QueryDetailsComponent_ng_container_0_ng_container_7_Template(rf, ctx) { if (rf & 1) {
18887
18919
  i0.ɵɵelementContainerStart(0);
18888
- i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_Template, 4, 2, "ng-container", 6);
18920
+ i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_7_ng_container_1_Template, 4, 2, "ng-container", 5);
18889
18921
  i0.ɵɵelementContainerEnd();
18890
18922
  } if (rf & 2) {
18891
18923
  const ctx_r1 = i0.ɵɵnextContext(2);
18892
18924
  i0.ɵɵadvance(1);
18893
18925
  i0.ɵɵproperty("ngForOf", ctx_r1.query.children);
18894
18926
  } }
18895
- function QueryDetailsComponent_ng_container_0_ng_template_11_Template(rf, ctx) { if (rf & 1) {
18927
+ function QueryDetailsComponent_ng_container_0_ng_template_8_Template(rf, ctx) { if (rf & 1) {
18896
18928
  i0.ɵɵelementStart(0, "div");
18897
- i0.ɵɵelementStart(1, "p", 15);
18929
+ i0.ɵɵelementStart(1, "p", 16);
18898
18930
  i0.ɵɵtext(2);
18899
18931
  i0.ɵɵpipe(3, "rpxTranslate");
18900
18932
  i0.ɵɵelementEnd();
@@ -18910,50 +18942,51 @@ function QueryDetailsComponent_ng_container_0_ng_template_11_Template(rf, ctx) {
18910
18942
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and will respond. Do not submit the same query more than once."));
18911
18943
  } }
18912
18944
  function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
18913
- const _r15 = i0.ɵɵgetCurrentView();
18945
+ const _r17 = i0.ɵɵgetCurrentView();
18914
18946
  i0.ɵɵelementContainerStart(0);
18915
18947
  i0.ɵɵelement(1, "br");
18916
18948
  i0.ɵɵelementStart(2, "p");
18917
18949
  i0.ɵɵelementStart(3, "a", 1);
18918
- i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.onBack(); });
18950
+ i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.onBack(); });
18919
18951
  i0.ɵɵtext(4);
18920
18952
  i0.ɵɵpipe(5, "rpxTranslate");
18921
18953
  i0.ɵɵelementEnd();
18922
18954
  i0.ɵɵelementEnd();
18923
- i0.ɵɵelementStart(6, "div", 2);
18924
- i0.ɵɵtext(7);
18925
- i0.ɵɵpipe(8, "rpxTranslate");
18926
- i0.ɵɵelementEnd();
18927
- i0.ɵɵelement(9, "ccd-query-details-table", 3);
18928
- i0.ɵɵtemplate(10, QueryDetailsComponent_ng_container_0_ng_container_10_Template, 2, 1, "ng-container", 4);
18929
- i0.ɵɵtemplate(11, QueryDetailsComponent_ng_container_0_ng_template_11_Template, 7, 6, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
18955
+ i0.ɵɵelement(6, "ccd-query-details-table", 2);
18956
+ i0.ɵɵtemplate(7, QueryDetailsComponent_ng_container_0_ng_container_7_Template, 2, 1, "ng-container", 3);
18957
+ i0.ɵɵtemplate(8, QueryDetailsComponent_ng_container_0_ng_template_8_Template, 7, 6, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
18930
18958
  i0.ɵɵelementContainerEnd();
18931
18959
  } if (rf & 2) {
18932
- const _r2 = i0.ɵɵreference(12);
18960
+ const _r2 = i0.ɵɵreference(9);
18933
18961
  const ctx_r0 = i0.ɵɵnextContext();
18934
18962
  i0.ɵɵadvance(4);
18935
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Back to queries"));
18936
- i0.ɵɵadvance(3);
18937
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Query details"));
18963
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Back to queries"));
18938
18964
  i0.ɵɵadvance(2);
18939
18965
  i0.ɵɵproperty("queryItem", ctx_r0.query);
18940
18966
  i0.ɵɵadvance(1);
18941
18967
  i0.ɵɵproperty("ngIf", (ctx_r0.query.children == null ? null : ctx_r0.query.children.length) > 0)("ngIfElse", _r2);
18942
18968
  } }
18943
18969
  class QueryDetailsComponent {
18944
- constructor() {
18970
+ constructor(sessionStorage) {
18971
+ this.sessionStorage = sessionStorage;
18945
18972
  this.backClicked = new EventEmitter();
18946
18973
  }
18947
18974
  onBack() {
18948
18975
  this.backClicked.emit(true);
18949
18976
  }
18977
+ isCaseworker() {
18978
+ const userDetails = JSON.parse(this.sessionStorage.getItem('userDetails'));
18979
+ return userDetails && userDetails.roles
18980
+ && !(userDetails.roles.includes('pui-case-manager')
18981
+ || userDetails.roles.some((role) => role.toLowerCase().includes('judge')));
18982
+ }
18950
18983
  }
18951
- QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
18952
- QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"], [4, "ngIf", "ngIfElse"], ["queryIsInReview", ""], [4, "ngFor", "ngForOf"], ["followUpMessage", ""], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [1, "govuk-!-font-weight-bold"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
18953
- i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 13, 9, "ng-container", 0);
18984
+ QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService)); };
18985
+ QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [3, "queryItem"], [4, "ngIf", "ngIfElse"], ["queryIsInReview", ""], [4, "ngFor", "ngForOf"], ["followUpMessage", ""], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [1, "govuk-!-font-weight-bold"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
18986
+ i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 6, "ng-container", 0);
18954
18987
  } if (rf & 2) {
18955
18988
  i0.ɵɵproperty("ngIf", ctx.query);
18956
- } }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}.query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
18989
+ } }, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
18957
18990
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
18958
18991
  type: Component,
18959
18992
  args: [{
@@ -18961,7 +18994,7 @@ QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsCompone
18961
18994
  templateUrl: './query-details.component.html',
18962
18995
  styleUrls: ['./query-details.component.scss']
18963
18996
  }]
18964
- }], null, { query: [{
18997
+ }], function () { return [{ type: SessionStorageService }]; }, { query: [{
18965
18998
  type: Input
18966
18999
  }], backClicked: [{
18967
19000
  type: Output
@@ -19131,11 +19164,11 @@ class QueryListComponent {
19131
19164
  }
19132
19165
  }
19133
19166
  QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
19134
- QueryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
19167
+ QueryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
19135
19168
  i0.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
19136
19169
  } if (rf & 2) {
19137
19170
  i0.ɵɵproperty("ngIf", ctx.queryListData);
19138
- } }, directives: [i5.NgIf, i5.NgForOf], pipes: [i1.RpxTranslatePipe, i5.DatePipe], styles: ["@charset \"UTF-8\";.query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
19171
+ } }, directives: [i5.NgIf, i5.NgForOf], pipes: [i1.RpxTranslatePipe, i5.DatePipe], styles: ["@charset \"UTF-8\";.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
19139
19172
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
19140
19173
  type: Component,
19141
19174
  args: [{
@@ -19425,7 +19458,7 @@ function QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template(rf, ctx) { i
19425
19458
  i0.ɵɵadvance(2);
19426
19459
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
19427
19460
  } }
19428
- const _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
19461
+ const _c0$B = function (a0) { return { "govuk-form-group--error": a0 }; };
19429
19462
  function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) { if (rf & 1) {
19430
19463
  i0.ɵɵelementContainerStart(0);
19431
19464
  i0.ɵɵelementStart(1, "div", 29);
@@ -19444,7 +19477,7 @@ function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) { if (r
19444
19477
  } if (rf & 2) {
19445
19478
  const ctx_r3 = i0.ɵɵnextContext();
19446
19479
  i0.ɵɵadvance(1);
19447
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
19480
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$B, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
19448
19481
  i0.ɵɵadvance(4);
19449
19482
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
19450
19483
  i0.ɵɵadvance(2);
@@ -19546,7 +19579,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
19546
19579
  i0.ɵɵadvance(6);
19547
19580
  i0.ɵɵproperty("formGroup", ctx.formGroup);
19548
19581
  i0.ɵɵadvance(2);
19549
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
19582
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$B, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
19550
19583
  i0.ɵɵadvance(3);
19551
19584
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 31, "Query subject"), " ");
19552
19585
  i0.ɵɵadvance(3);
@@ -19557,7 +19590,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
19557
19590
  i0.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("subject")) == null ? null : tmp_7_0.hasError("required")));
19558
19591
  i0.ɵɵproperty("formControlName", "subject");
19559
19592
  i0.ɵɵadvance(1);
19560
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
19593
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$B, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
19561
19594
  i0.ɵɵadvance(3);
19562
19595
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 35, "Query detail"), " ");
19563
19596
  i0.ɵɵadvance(3);
@@ -19568,7 +19601,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
19568
19601
  i0.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
19569
19602
  i0.ɵɵproperty("formControlName", "body");
19570
19603
  i0.ɵɵadvance(2);
19571
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(53, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
19604
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(53, _c0$B, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
19572
19605
  i0.ɵɵadvance(4);
19573
19606
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 39, "Is the query hearing related?"), " ");
19574
19607
  i0.ɵɵadvance(2);
@@ -19596,9 +19629,9 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
19596
19629
  type: Input
19597
19630
  }] }); })();
19598
19631
 
19599
- function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) { if (rf & 1) {
19600
- i0.ɵɵelementStart(0, "p", 15);
19601
- i0.ɵɵelementStart(1, "span", 16);
19632
+ function QueryWriteRespondToQueryComponent_p_23_Template(rf, ctx) { if (rf & 1) {
19633
+ i0.ɵɵelementStart(0, "p", 13);
19634
+ i0.ɵɵelementStart(1, "span", 14);
19602
19635
  i0.ɵɵtext(2);
19603
19636
  i0.ɵɵpipe(3, "rpxTranslate");
19604
19637
  i0.ɵɵelementEnd();
@@ -19612,7 +19645,6 @@ function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) { if (rf & 1)
19612
19645
  i0.ɵɵadvance(2);
19613
19646
  i0.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
19614
19647
  } }
19615
- const _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
19616
19648
  class QueryWriteRespondToQueryComponent {
19617
19649
  constructor(caseNotifier) {
19618
19650
  this.caseNotifier = caseNotifier;
@@ -19627,79 +19659,69 @@ class QueryWriteRespondToQueryComponent {
19627
19659
  }
19628
19660
  }
19629
19661
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier)); };
19630
- QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 30, vars: 26, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0", 3, "routerLink"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
19662
+ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 26, vars: 20, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
19631
19663
  i0.ɵɵelementStart(0, "div", 0);
19632
- i0.ɵɵelementStart(1, "a", 1);
19633
- i0.ɵɵtext(2);
19634
- i0.ɵɵpipe(3, "rpxTranslate");
19635
- i0.ɵɵelementEnd();
19636
- i0.ɵɵelementEnd();
19637
- i0.ɵɵelementStart(4, "div", 2);
19638
- i0.ɵɵelementStart(5, "div", 2);
19639
- i0.ɵɵelementStart(6, "div", 3);
19640
- i0.ɵɵtext(7);
19641
- i0.ɵɵpipe(8, "rpxTranslate");
19664
+ i0.ɵɵelementStart(1, "div", 0);
19665
+ i0.ɵɵelementStart(2, "div", 1);
19666
+ i0.ɵɵtext(3);
19667
+ i0.ɵɵpipe(4, "rpxTranslate");
19642
19668
  i0.ɵɵelementEnd();
19643
- i0.ɵɵelementStart(9, "h1", 4);
19644
- i0.ɵɵtext(10);
19645
- i0.ɵɵpipe(11, "rpxTranslate");
19669
+ i0.ɵɵelementStart(5, "h1", 2);
19670
+ i0.ɵɵtext(6);
19671
+ i0.ɵɵpipe(7, "rpxTranslate");
19646
19672
  i0.ɵɵelementEnd();
19647
19673
  i0.ɵɵelementEnd();
19648
- i0.ɵɵelementStart(12, "div", 5);
19649
- i0.ɵɵelement(13, "ccd-query-case-details-header");
19674
+ i0.ɵɵelementStart(8, "div", 3);
19675
+ i0.ɵɵelement(9, "ccd-query-case-details-header");
19650
19676
  i0.ɵɵelementEnd();
19651
- i0.ɵɵelementStart(14, "div");
19652
- i0.ɵɵelement(15, "ccd-query-details-table", 6);
19677
+ i0.ɵɵelementStart(10, "div");
19678
+ i0.ɵɵelement(11, "ccd-query-details-table", 4);
19653
19679
  i0.ɵɵelementEnd();
19654
19680
  i0.ɵɵelementEnd();
19655
- i0.ɵɵelementStart(16, "div", 7);
19656
- i0.ɵɵelementStart(17, "div");
19657
- i0.ɵɵelementStart(18, "h1", 8);
19658
- i0.ɵɵtext(19);
19659
- i0.ɵɵpipe(20, "rpxTranslate");
19681
+ i0.ɵɵelementStart(12, "div", 5);
19682
+ i0.ɵɵelementStart(13, "div");
19683
+ i0.ɵɵelementStart(14, "h1", 6);
19684
+ i0.ɵɵtext(15);
19685
+ i0.ɵɵpipe(16, "rpxTranslate");
19660
19686
  i0.ɵɵelementEnd();
19661
- i0.ɵɵelementStart(21, "div", 9);
19662
- i0.ɵɵelementStart(22, "div", 10);
19663
- i0.ɵɵelementStart(23, "div", 11);
19664
- i0.ɵɵelementStart(24, "label", 12);
19665
- i0.ɵɵtext(25);
19666
- i0.ɵɵpipe(26, "rpxTranslate");
19687
+ i0.ɵɵelementStart(17, "div", 7);
19688
+ i0.ɵɵelementStart(18, "div", 8);
19689
+ i0.ɵɵelementStart(19, "div", 9);
19690
+ i0.ɵɵelementStart(20, "label", 10);
19691
+ i0.ɵɵtext(21);
19692
+ i0.ɵɵpipe(22, "rpxTranslate");
19667
19693
  i0.ɵɵelementEnd();
19668
19694
  i0.ɵɵelementEnd();
19669
- i0.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
19670
- i0.ɵɵelementStart(28, "textarea", 14);
19671
- i0.ɵɵtext(29, " ");
19695
+ i0.ɵɵtemplate(23, QueryWriteRespondToQueryComponent_p_23_Template, 6, 6, "p", 11);
19696
+ i0.ɵɵelementStart(24, "textarea", 12);
19697
+ i0.ɵɵtext(25, " ");
19672
19698
  i0.ɵɵelementEnd();
19673
19699
  i0.ɵɵelementEnd();
19674
19700
  i0.ɵɵelementEnd();
19675
19701
  i0.ɵɵelementEnd();
19676
19702
  i0.ɵɵelementEnd();
19677
19703
  } if (rf & 2) {
19704
+ let tmp_5_0 = null;
19678
19705
  let tmp_7_0 = null;
19679
- let tmp_9_0 = null;
19680
- let tmp_10_0 = null;
19681
- i0.ɵɵadvance(1);
19682
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
19683
- i0.ɵɵadvance(1);
19684
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
19685
- i0.ɵɵadvance(5);
19686
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 16, "Respond to query"));
19706
+ let tmp_8_0 = null;
19707
+ i0.ɵɵadvance(3);
19708
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 12, "Respond to a query"));
19687
19709
  i0.ɵɵadvance(3);
19688
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 18, "Query details"));
19710
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 14, "Query details"));
19689
19711
  i0.ɵɵadvance(5);
19690
19712
  i0.ɵɵproperty("queryItem", ctx.queryItem);
19691
19713
  i0.ɵɵadvance(4);
19692
- i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0.ɵɵpipeBind1(20, 20, "Ask a follow-up question"), " ");
19714
+ i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0.ɵɵpipeBind1(16, 16, "Ask a follow-up question"), " ");
19693
19715
  i0.ɵɵadvance(2);
19694
19716
  i0.ɵɵproperty("formGroup", ctx.formGroup);
19695
19717
  i0.ɵɵadvance(1);
19696
- i0.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
19718
+ i0.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.hasError("required")));
19697
19719
  i0.ɵɵadvance(3);
19698
- i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0.ɵɵpipeBind1(26, 22, "Query Body"), " ");
19720
+ i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(22, 18, "Query Body"), " ");
19699
19721
  i0.ɵɵadvance(2);
19700
- i0.ɵɵproperty("ngIf", ctx.submitted && ((tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.hasError("required")));
19722
+ i0.ɵɵproperty("ngIf", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
19701
19723
  i0.ɵɵadvance(1);
19702
- i0.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("body")) == null ? null : tmp_10_0.hasError("required")));
19724
+ i0.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.hasError("required")));
19703
19725
  i0.ɵɵproperty("formControlName", "body");
19704
19726
  } }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
19705
19727
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
@@ -27171,7 +27193,7 @@ ReadQueryManagementFieldComponent, [i5.NgForOf, i5.NgIf, QueryListComponent,
27171
27193
  QueryDetailsComponent], []);
27172
27194
  i0.ɵɵsetComponentScope(QueryDetailsComponent, [i5.NgIf, QueryDetailsTableComponent, i5.NgForOf, QueryAttachmentsReadComponent], [i1.RpxTranslatePipe, i5.DatePipe]);
27173
27195
  i0.ɵɵsetComponentScope(QueryDetailsTableComponent, [i5.NgIf, QueryAttachmentsReadComponent], [i1.RpxTranslatePipe, i5.DatePipe]);
27174
- i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
27196
+ i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
27175
27197
  QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
27176
27198
  i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgClass, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName, i3.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1.RpxTranslatePipe]);
27177
27199
  i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [i5.NgIf, QueryCaseDetailsHeaderComponent,