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

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.
Files changed (15) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +178 -154
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/palette/palette.module.js +3 -2
  6. package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +32 -26
  7. package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +13 -13
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +8 -4
  9. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +4 -4
  10. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +51 -40
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +175 -154
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  13. package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +3 -1
  14. package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
  15. package/package.json +1 -1
@@ -144,7 +144,7 @@
144
144
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
145
145
  }
146
146
  }
147
- var _c0$12 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
147
+ var _c0$13 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
148
148
  var _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
149
149
  var FooterComponent = /** @class */ (function () {
150
150
  function FooterComponent() {
@@ -154,7 +154,7 @@
154
154
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
155
155
  FooterComponent.ɵcmp = i0__namespace.ɵɵ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) {
156
156
  if (rf & 1) {
157
- i0__namespace.ɵɵprojectionDef(_c0$12);
157
+ i0__namespace.ɵɵprojectionDef(_c0$13);
158
158
  i0__namespace.ɵɵelementStart(0, "footer", 0);
159
159
  i0__namespace.ɵɵelementStart(1, "div", 1);
160
160
  i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
@@ -240,7 +240,7 @@
240
240
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 1, ctx_r2.title));
241
241
  }
242
242
  }
243
- var _c0$11 = [[["", "headerNavigation", ""]]];
243
+ var _c0$12 = [[["", "headerNavigation", ""]]];
244
244
  var _c1$q = ["[headerNavigation]"];
245
245
  var HeaderBarComponent = /** @class */ (function () {
246
246
  function HeaderBarComponent() {
@@ -254,7 +254,7 @@
254
254
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
255
255
  HeaderBarComponent.ɵcmp = i0__namespace.ɵɵ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) {
256
256
  if (rf & 1) {
257
- i0__namespace.ɵɵprojectionDef(_c0$11);
257
+ i0__namespace.ɵɵprojectionDef(_c0$12);
258
258
  i0__namespace.ɵɵelementStart(0, "header", 0);
259
259
  i0__namespace.ɵɵelementStart(1, "div", 1);
260
260
  i0__namespace.ɵɵelementStart(2, "div", 2);
@@ -321,7 +321,7 @@
321
321
  }] });
322
322
  })();
323
323
 
324
- var _c0$10 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
324
+ var _c0$11 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
325
325
  var _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
326
326
  var NavigationComponent = /** @class */ (function () {
327
327
  function NavigationComponent() {
@@ -331,7 +331,7 @@
331
331
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
332
332
  NavigationComponent.ɵcmp = i0__namespace.ɵɵ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) {
333
333
  if (rf & 1) {
334
- i0__namespace.ɵɵprojectionDef(_c0$10);
334
+ i0__namespace.ɵɵprojectionDef(_c0$11);
335
335
  i0__namespace.ɵɵelementStart(0, "div");
336
336
  i0__namespace.ɵɵelementStart(1, "nav", 0);
337
337
  i0__namespace.ɵɵprojection(2);
@@ -487,7 +487,7 @@
487
487
  }], null, null);
488
488
  })();
489
489
 
490
- var _c0$$ = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
490
+ var _c0$10 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
491
491
  var _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
492
492
  var BodyComponent = /** @class */ (function () {
493
493
  function BodyComponent() {
@@ -497,7 +497,7 @@
497
497
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
498
498
  BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
499
499
  if (rf & 1) {
500
- i0__namespace.ɵɵprojectionDef(_c0$$);
500
+ i0__namespace.ɵɵprojectionDef(_c0$10);
501
501
  i0__namespace.ɵɵelementStart(0, "div", 0);
502
502
  i0__namespace.ɵɵprojection(1);
503
503
  i0__namespace.ɵɵprojection(2, 1);
@@ -902,7 +902,7 @@
902
902
  return typeof state === "function" ? receiver === state : state.has(receiver);
903
903
  }
904
904
 
905
- var _c0$_ = function (a0) { return { "govuk-input--error": a0 }; };
905
+ var _c0$$ = function (a0) { return { "govuk-input--error": a0 }; };
906
906
  function DateInputComponent_div_19_Template(rf, ctx) {
907
907
  if (rf & 1) {
908
908
  var _r8_1 = i0__namespace.ɵɵgetCurrentView();
@@ -923,7 +923,7 @@
923
923
  i0__namespace.ɵɵadvance(1);
924
924
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Hour"));
925
925
  i0__namespace.ɵɵadvance(2);
926
- i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r3.isInvalid));
926
+ i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r3.isInvalid));
927
927
  }
928
928
  }
929
929
  function DateInputComponent_div_20_Template(rf, ctx) {
@@ -946,7 +946,7 @@
946
946
  i0__namespace.ɵɵadvance(1);
947
947
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Minute"));
948
948
  i0__namespace.ɵɵadvance(2);
949
- i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r4.isInvalid));
949
+ i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r4.isInvalid));
950
950
  }
951
951
  }
952
952
  function DateInputComponent_div_21_Template(rf, ctx) {
@@ -969,7 +969,7 @@
969
969
  i0__namespace.ɵɵadvance(1);
970
970
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Second"));
971
971
  i0__namespace.ɵɵadvance(2);
972
- i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r5.isInvalid));
972
+ i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r5.isInvalid));
973
973
  }
974
974
  }
975
975
  var DateInputComponent = /** @class */ (function () {
@@ -1208,19 +1208,19 @@
1208
1208
  i0__namespace.ɵɵadvance(1);
1209
1209
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Day"));
1210
1210
  i0__namespace.ɵɵadvance(2);
1211
- i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$_, ctx.isInvalid));
1211
+ i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$$, ctx.isInvalid));
1212
1212
  i0__namespace.ɵɵadvance(3);
1213
1213
  i0__namespace.ɵɵproperty("for", ctx.monthId());
1214
1214
  i0__namespace.ɵɵadvance(1);
1215
1215
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 23, "Month"));
1216
1216
  i0__namespace.ɵɵadvance(2);
1217
- i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$_, ctx.isInvalid));
1217
+ i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$$, ctx.isInvalid));
1218
1218
  i0__namespace.ɵɵadvance(3);
1219
1219
  i0__namespace.ɵɵproperty("for", ctx.yearId());
1220
1220
  i0__namespace.ɵɵadvance(1);
1221
1221
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 25, "Year"));
1222
1222
  i0__namespace.ɵɵadvance(2);
1223
- i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$_, ctx.isInvalid));
1223
+ i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$$, ctx.isInvalid));
1224
1224
  i0__namespace.ɵɵadvance(2);
1225
1225
  i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
1226
1226
  i0__namespace.ɵɵadvance(1);
@@ -1301,7 +1301,7 @@
1301
1301
  i0__namespace.ɵɵelementContainerEnd();
1302
1302
  }
1303
1303
  }
1304
- var _c0$Z = ["*"];
1304
+ var _c0$_ = ["*"];
1305
1305
  exports.AlertMessageType = void 0;
1306
1306
  (function (AlertMessageType) {
1307
1307
  AlertMessageType["WARNING"] = "warning";
@@ -1322,7 +1322,7 @@
1322
1322
  AlertComponent.TYPE_ERROR = 'error';
1323
1323
  AlertComponent.TYPE_INFORMATION = 'information';
1324
1324
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
1325
- AlertComponent.ɵcmp = i0__namespace.ɵɵ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) {
1325
+ AlertComponent.ɵcmp = i0__namespace.ɵɵ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) {
1326
1326
  if (rf & 1) {
1327
1327
  i0__namespace.ɵɵprojectionDef();
1328
1328
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1604,7 +1604,7 @@
1604
1604
  }] });
1605
1605
  })();
1606
1606
 
1607
- var _c0$Y = function (a0) { return { "js-hidden": a0 }; };
1607
+ var _c0$Z = function (a0) { return { "js-hidden": a0 }; };
1608
1608
  var _c1$n = ["*"];
1609
1609
  var TabComponent = /** @class */ (function () {
1610
1610
  function TabComponent() {
@@ -1620,7 +1620,7 @@
1620
1620
  i0__namespace.ɵɵelementEnd();
1621
1621
  }
1622
1622
  if (rf & 2) {
1623
- i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$Y, !ctx.selected));
1623
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$Z, !ctx.selected));
1624
1624
  i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
1625
1625
  }
1626
1626
  }, directives: [i5__namespace.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}}"] });
@@ -1643,7 +1643,7 @@
1643
1643
  }] });
1644
1644
  })();
1645
1645
 
1646
- var _c0$X = ["tab"];
1646
+ var _c0$Y = ["tab"];
1647
1647
  var _c1$m = function () { return ["."]; };
1648
1648
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1649
1649
  function TabsComponent_li_2_Template(rf, ctx) {
@@ -1699,7 +1699,7 @@
1699
1699
  }
1700
1700
  }, viewQuery: function TabsComponent_Query(rf, ctx) {
1701
1701
  if (rf & 1) {
1702
- i0__namespace.ɵɵviewQuery(_c0$X, 1);
1702
+ i0__namespace.ɵɵviewQuery(_c0$Y, 1);
1703
1703
  }
1704
1704
  if (rf & 2) {
1705
1705
  var _t = void 0;
@@ -1780,7 +1780,7 @@
1780
1780
  }], null, null);
1781
1781
  })();
1782
1782
 
1783
- var _c0$W = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1783
+ var _c0$X = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1784
1784
  var ActivityBannerComponent = /** @class */ (function () {
1785
1785
  function ActivityBannerComponent() {
1786
1786
  }
@@ -1803,7 +1803,7 @@
1803
1803
  i0__namespace.ɵɵelementEnd();
1804
1804
  }
1805
1805
  if (rf & 2) {
1806
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$W, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1806
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$X, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1807
1807
  i0__namespace.ɵɵadvance(2);
1808
1808
  i0__namespace.ɵɵpropertyInterpolate("alt", i0__namespace.ɵɵpipeBind1(3, 4, ctx.description));
1809
1809
  i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
@@ -11480,7 +11480,7 @@
11480
11480
  return AddressOption;
11481
11481
  }());
11482
11482
 
11483
- var _c0$V = ["writeComplexFieldComponent"];
11483
+ var _c0$W = ["writeComplexFieldComponent"];
11484
11484
  function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
11485
11485
  if (rf & 1) {
11486
11486
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -11715,7 +11715,7 @@
11715
11715
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
11716
11716
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
11717
11717
  if (rf & 1) {
11718
- i0__namespace.ɵɵviewQuery(_c0$V, 1);
11718
+ i0__namespace.ɵɵviewQuery(_c0$W, 1);
11719
11719
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
11720
11720
  }
11721
11721
  if (rf & 2) {
@@ -12545,7 +12545,7 @@
12545
12545
  i0__namespace.ɵɵproperty("formGroup", ctx_r11.caseFlagParentFormGroup)("defaultStatus", ctx_r11.flagType.defaultStatus);
12546
12546
  }
12547
12547
  }
12548
- var _c0$U = function (a0) { return { "form-group-error": a0 }; };
12548
+ var _c0$V = function (a0) { return { "form-group-error": a0 }; };
12549
12549
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
12550
12550
  if (rf & 1) {
12551
12551
  i0__namespace.ɵɵelementStart(0, "div", 8);
@@ -12568,7 +12568,7 @@
12568
12568
  i0__namespace.ɵɵadvance(1);
12569
12569
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
12570
12570
  i0__namespace.ɵɵadvance(1);
12571
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$U, ctx_r1.errorMessages.length > 0));
12571
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$V, ctx_r1.errorMessages.length > 0));
12572
12572
  i0__namespace.ɵɵadvance(1);
12573
12573
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 9, ctx_r1.createFlagCaption), " ");
12574
12574
  i0__namespace.ɵɵadvance(2);
@@ -13145,7 +13145,7 @@
13145
13145
  }], null, null);
13146
13146
  })();
13147
13147
 
13148
- var _c0$T = ["writeComplexFieldComponent"];
13148
+ var _c0$U = ["writeComplexFieldComponent"];
13149
13149
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
13150
13150
  if (rf & 1) {
13151
13151
  i0__namespace.ɵɵelementStart(0, "span", 6);
@@ -13253,7 +13253,7 @@
13253
13253
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
13254
13254
  WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
13255
13255
  if (rf & 1) {
13256
- i0__namespace.ɵɵviewQuery(_c0$T, 1);
13256
+ i0__namespace.ɵɵviewQuery(_c0$U, 1);
13257
13257
  }
13258
13258
  if (rf & 2) {
13259
13259
  var _t = void 0;
@@ -13298,7 +13298,7 @@
13298
13298
  }] });
13299
13299
  })();
13300
13300
 
13301
- var _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 }; };
13301
+ var _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 }; };
13302
13302
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
13303
13303
  if (rf & 1) {
13304
13304
  i0__namespace.ɵɵelementStart(0, "tbody");
@@ -13313,7 +13313,7 @@
13313
13313
  if (rf & 2) {
13314
13314
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
13315
13315
  i0__namespace.ɵɵadvance(4);
13316
- i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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);
13316
+ i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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);
13317
13317
  }
13318
13318
  }
13319
13319
  var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
@@ -13478,7 +13478,7 @@
13478
13478
  }], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
13479
13479
  })();
13480
13480
 
13481
- var _c0$R = ["collectionItem"];
13481
+ var _c0$S = ["collectionItem"];
13482
13482
  function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
13483
13483
  if (rf & 1) {
13484
13484
  i0__namespace.ɵɵelementStart(0, "span", 9);
@@ -13909,7 +13909,7 @@
13909
13909
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
13910
13910
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
13911
13911
  if (rf & 1) {
13912
- i0__namespace.ɵɵviewQuery(_c0$R, 1);
13912
+ i0__namespace.ɵɵviewQuery(_c0$S, 1);
13913
13913
  }
13914
13914
  if (rf & 2) {
13915
13915
  var _t = void 0;
@@ -14622,7 +14622,7 @@
14622
14622
  }], null, null);
14623
14623
  })();
14624
14624
 
14625
- var _c0$Q = ["fileInput"];
14625
+ var _c0$R = ["fileInput"];
14626
14626
  function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
14627
14627
  if (rf & 1) {
14628
14628
  i0__namespace.ɵɵelementStart(0, "span", 12);
@@ -14918,7 +14918,7 @@
14918
14918
  WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
14919
14919
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
14920
14920
  if (rf & 1) {
14921
- i0__namespace.ɵɵviewQuery(_c0$Q, 1);
14921
+ i0__namespace.ɵɵviewQuery(_c0$R, 1);
14922
14922
  }
14923
14923
  if (rf & 2) {
14924
14924
  var _t = void 0;
@@ -15132,7 +15132,7 @@
15132
15132
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
15133
15133
  }
15134
15134
  }
15135
- var _c0$P = function (a0) { return { "form-group-error": a0 }; };
15135
+ var _c0$Q = function (a0) { return { "form-group-error": a0 }; };
15136
15136
  var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
15137
15137
  __extends(WriteDynamicListFieldComponent, _super);
15138
15138
  function WriteDynamicListFieldComponent() {
@@ -15182,7 +15182,7 @@
15182
15182
  i0__namespace.ɵɵelementEnd();
15183
15183
  }
15184
15184
  if (rf & 2) {
15185
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$P, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15185
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$Q, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
15186
15186
  i0__namespace.ɵɵadvance(1);
15187
15187
  i0__namespace.ɵɵproperty("for", ctx.id());
15188
15188
  i0__namespace.ɵɵadvance(1);
@@ -15360,7 +15360,7 @@
15360
15360
  i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
15361
15361
  }
15362
15362
  }
15363
- var _c0$O = function (a0) { return { "error": a0 }; };
15363
+ var _c0$P = function (a0) { return { "error": a0 }; };
15364
15364
  var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
15365
15365
  __extends(WriteDynamicMultiSelectListFieldComponent, _super);
15366
15366
  function WriteDynamicMultiSelectListFieldComponent() {
@@ -15443,7 +15443,7 @@
15443
15443
  i0__namespace.ɵɵelementEnd();
15444
15444
  }
15445
15445
  if (rf & 2) {
15446
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$O, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15446
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$P, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15447
15447
  i0__namespace.ɵɵadvance(3);
15448
15448
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
15449
15449
  i0__namespace.ɵɵadvance(1);
@@ -15594,7 +15594,7 @@
15594
15594
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
15595
15595
  }
15596
15596
  }
15597
- var _c0$N = function (a0) { return { selected: a0 }; };
15597
+ var _c0$O = function (a0) { return { selected: a0 }; };
15598
15598
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15599
15599
  if (rf & 1) {
15600
15600
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -15607,7 +15607,7 @@
15607
15607
  if (rf & 2) {
15608
15608
  var radioButton_r5 = ctx.$implicit;
15609
15609
  var ctx_r4 = i0__namespace.ɵɵnextContext();
15610
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$N, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15610
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$O, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15611
15611
  i0__namespace.ɵɵadvance(1);
15612
15612
  i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
15613
15613
  i0__namespace.ɵɵadvance(1);
@@ -15773,7 +15773,7 @@
15773
15773
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
15774
15774
  }
15775
15775
  }
15776
- var _c0$M = function (a0) { return { "form-group-error": a0 }; };
15776
+ var _c0$N = function (a0) { return { "form-group-error": a0 }; };
15777
15777
  var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
15778
15778
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
15779
15779
  __extends(WriteEmailFieldComponent, _super);
@@ -15798,7 +15798,7 @@
15798
15798
  i0__namespace.ɵɵelementEnd();
15799
15799
  }
15800
15800
  if (rf & 2) {
15801
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$M, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15801
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$N, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15802
15802
  i0__namespace.ɵɵadvance(1);
15803
15803
  i0__namespace.ɵɵproperty("for", ctx.id());
15804
15804
  i0__namespace.ɵɵadvance(1);
@@ -15909,7 +15909,7 @@
15909
15909
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
15910
15910
  }
15911
15911
  }
15912
- var _c0$L = function (a0) { return { "form-group-error": a0 }; };
15912
+ var _c0$M = function (a0) { return { "form-group-error": a0 }; };
15913
15913
  var WriteFixedListFieldComponent = /** @class */ (function (_super) {
15914
15914
  __extends(WriteFixedListFieldComponent, _super);
15915
15915
  function WriteFixedListFieldComponent() {
@@ -15958,7 +15958,7 @@
15958
15958
  i0__namespace.ɵɵelementEnd();
15959
15959
  }
15960
15960
  if (rf & 2) {
15961
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15961
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$M, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15962
15962
  i0__namespace.ɵɵadvance(1);
15963
15963
  i0__namespace.ɵɵproperty("for", ctx.id());
15964
15964
  i0__namespace.ɵɵadvance(1);
@@ -16080,7 +16080,7 @@
16080
16080
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
16081
16081
  }
16082
16082
  }
16083
- var _c0$K = function (a0) { return { selected: a0 }; };
16083
+ var _c0$L = function (a0) { return { selected: a0 }; };
16084
16084
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
16085
16085
  if (rf & 1) {
16086
16086
  i0__namespace.ɵɵelementStart(0, "div", 9);
@@ -16094,7 +16094,7 @@
16094
16094
  if (rf & 2) {
16095
16095
  var radioButton_r4 = ctx.$implicit;
16096
16096
  var ctx_r3 = i0__namespace.ɵɵnextContext();
16097
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
16097
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
16098
16098
  i0__namespace.ɵɵadvance(1);
16099
16099
  i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
16100
16100
  i0__namespace.ɵɵadvance(1);
@@ -16264,7 +16264,7 @@
16264
16264
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
16265
16265
  }
16266
16266
  }
16267
- var _c0$J = function (a0) { return { "hide-autocomplete": a0 }; };
16267
+ var _c0$K = function (a0) { return { "hide-autocomplete": a0 }; };
16268
16268
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
16269
16269
  if (rf & 1) {
16270
16270
  var _r7_1 = i0__namespace.ɵɵgetCurrentView();
@@ -16276,7 +16276,7 @@
16276
16276
  if (rf & 2) {
16277
16277
  var judicialUser_r5 = ctx.$implicit;
16278
16278
  var ctx_r3 = i0__namespace.ɵɵnextContext();
16279
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$J, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
16279
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$K, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
16280
16280
  i0__namespace.ɵɵadvance(1);
16281
16281
  i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
16282
16282
  }
@@ -17115,7 +17115,7 @@
17115
17115
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
17116
17116
  }
17117
17117
  }
17118
- var _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
17118
+ var _c0$J = function (a0) { return { "govuk-form-group--error": a0 }; };
17119
17119
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
17120
17120
  if (rf & 1) {
17121
17121
  i0__namespace.ɵɵelementStart(0, "div", 35);
@@ -17133,7 +17133,7 @@
17133
17133
  }
17134
17134
  if (rf & 2) {
17135
17135
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
17136
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$I, !!ctx_r7.caseReasonCommentsError));
17136
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$J, !!ctx_r7.caseReasonCommentsError));
17137
17137
  i0__namespace.ɵɵadvance(3);
17138
17138
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
17139
17139
  }
@@ -17190,11 +17190,11 @@
17190
17190
  var ctx_r0 = i0__namespace.ɵɵnextContext();
17191
17191
  i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
17192
17192
  i0__namespace.ɵɵadvance(1);
17193
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$I, !!ctx_r0.caseNumberError));
17193
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !!ctx_r0.caseNumberError));
17194
17194
  i0__namespace.ɵɵadvance(3);
17195
17195
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
17196
17196
  i0__namespace.ɵɵadvance(2);
17197
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$I, !!ctx_r0.caseReasonError));
17197
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$J, !!ctx_r0.caseReasonError));
17198
17198
  i0__namespace.ɵɵadvance(5);
17199
17199
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
17200
17200
  i0__namespace.ɵɵadvance(2);
@@ -17628,7 +17628,7 @@
17628
17628
  i0__namespace.ɵɵadvance(4);
17629
17629
  i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
17630
17630
  i0__namespace.ɵɵadvance(4);
17631
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !!ctx.noSelectedCaseError));
17631
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !!ctx.noSelectedCaseError));
17632
17632
  i0__namespace.ɵɵadvance(1);
17633
17633
  i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
17634
17634
  i0__namespace.ɵɵadvance(18);
@@ -18335,7 +18335,7 @@
18335
18335
  i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
18336
18336
  }
18337
18337
  }
18338
- var _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
18338
+ var _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
18339
18339
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
18340
18340
  if (rf & 1) {
18341
18341
  i0__namespace.ɵɵelementStart(0, "div", 7);
@@ -18347,7 +18347,7 @@
18347
18347
  }
18348
18348
  if (rf & 2) {
18349
18349
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
18350
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
18350
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$I, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
18351
18351
  i0__namespace.ɵɵadvance(1);
18352
18352
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
18353
18353
  i0__namespace.ɵɵadvance(2);
@@ -19234,7 +19234,7 @@
19234
19234
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
19235
19235
  }
19236
19236
  }
19237
- var _c0$G = function (a0) { return { "form-group-error": a0 }; };
19237
+ var _c0$H = function (a0) { return { "form-group-error": a0 }; };
19238
19238
  var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
19239
19239
  __extends(WriteMoneyGbpFieldComponent, _super);
19240
19240
  function WriteMoneyGbpFieldComponent() {
@@ -19264,7 +19264,7 @@
19264
19264
  i0__namespace.ɵɵelementEnd();
19265
19265
  }
19266
19266
  if (rf & 2) {
19267
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19267
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$H, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
19268
19268
  i0__namespace.ɵɵadvance(1);
19269
19269
  i0__namespace.ɵɵproperty("for", ctx.id());
19270
19270
  i0__namespace.ɵɵadvance(1);
@@ -19419,7 +19419,7 @@
19419
19419
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
19420
19420
  }
19421
19421
  }
19422
- var _c0$F = function (a0) { return { "error": a0 }; };
19422
+ var _c0$G = function (a0) { return { "error": a0 }; };
19423
19423
  var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
19424
19424
  __extends(WriteMultiSelectListFieldComponent, _super);
19425
19425
  function WriteMultiSelectListFieldComponent() {
@@ -19483,7 +19483,7 @@
19483
19483
  i0__namespace.ɵɵelementEnd();
19484
19484
  }
19485
19485
  if (rf & 2) {
19486
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19486
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$G, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19487
19487
  i0__namespace.ɵɵadvance(3);
19488
19488
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
19489
19489
  i0__namespace.ɵɵadvance(1);
@@ -19577,7 +19577,7 @@
19577
19577
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
19578
19578
  }
19579
19579
  }
19580
- var _c0$E = function (a0) { return { "form-group-error": a0 }; };
19580
+ var _c0$F = function (a0) { return { "form-group-error": a0 }; };
19581
19581
  var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
19582
19582
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
19583
19583
  __extends(WriteNumberFieldComponent, _super);
@@ -19602,7 +19602,7 @@
19602
19602
  i0__namespace.ɵɵelementEnd();
19603
19603
  }
19604
19604
  if (rf & 2) {
19605
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
19605
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$F, !ctx.numberControl.valid && ctx.numberControl.dirty));
19606
19606
  i0__namespace.ɵɵadvance(1);
19607
19607
  i0__namespace.ɵɵproperty("for", ctx.id());
19608
19608
  i0__namespace.ɵɵadvance(1);
@@ -19941,7 +19941,7 @@
19941
19941
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
19942
19942
  }
19943
19943
  }
19944
- var _c0$D = function (a0) { return { "scroll-container ": a0 }; };
19944
+ var _c0$E = function (a0) { return { "scroll-container ": a0 }; };
19945
19945
  function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
19946
19946
  if (rf & 1) {
19947
19947
  i0__namespace.ɵɵelementStart(0, "div", 26);
@@ -19957,7 +19957,7 @@
19957
19957
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
19958
19958
  var tmp_0_0 = null;
19959
19959
  var tmp_2_0 = null;
19960
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
19960
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
19961
19961
  i0__namespace.ɵɵadvance(2);
19962
19962
  i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
19963
19963
  i0__namespace.ɵɵadvance(2);
@@ -20455,7 +20455,7 @@
20455
20455
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
20456
20456
  }
20457
20457
  }
20458
- var _c0$C = function (a0) { return { "form-group-error": a0 }; };
20458
+ var _c0$D = function (a0) { return { "form-group-error": a0 }; };
20459
20459
  var _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
20460
20460
  var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
20461
20461
  __extends(WritePhoneUKFieldComponent, _super);
@@ -20480,7 +20480,7 @@
20480
20480
  i0__namespace.ɵɵelementEnd();
20481
20481
  }
20482
20482
  if (rf & 2) {
20483
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20483
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$D, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20484
20484
  i0__namespace.ɵɵadvance(1);
20485
20485
  i0__namespace.ɵɵproperty("for", ctx.id());
20486
20486
  i0__namespace.ɵɵadvance(1);
@@ -21131,9 +21131,22 @@
21131
21131
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(1, 1, "Review query details"), " ");
21132
21132
  }
21133
21133
  }
21134
+ function QueryCheckYourAnswersComponent_dl_9_a_8_Template(rf, ctx) {
21135
+ if (rf & 1) {
21136
+ var _r9_1 = i0__namespace.ɵɵgetCurrentView();
21137
+ i0__namespace.ɵɵelementStart(0, "a", 13);
21138
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_9_a_8_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.goBack(); });
21139
+ i0__namespace.ɵɵtext(1);
21140
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
21141
+ i0__namespace.ɵɵelementEnd();
21142
+ }
21143
+ if (rf & 2) {
21144
+ i0__namespace.ɵɵadvance(1);
21145
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, "Change"), " ");
21146
+ }
21147
+ }
21134
21148
  function QueryCheckYourAnswersComponent_dl_9_Template(rf, ctx) {
21135
21149
  if (rf & 1) {
21136
- var _r8_1 = i0__namespace.ɵɵgetCurrentView();
21137
21150
  i0__namespace.ɵɵelementStart(0, "dl", 8);
21138
21151
  i0__namespace.ɵɵelementStart(1, "div", 9);
21139
21152
  i0__namespace.ɵɵelementStart(2, "dt", 10);
@@ -21144,11 +21157,7 @@
21144
21157
  i0__namespace.ɵɵtext(6);
21145
21158
  i0__namespace.ɵɵelementEnd();
21146
21159
  i0__namespace.ɵɵelementStart(7, "dd", 12);
21147
- i0__namespace.ɵɵelementStart(8, "a", 13);
21148
- i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_9_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.goBack(); });
21149
- i0__namespace.ɵɵtext(9);
21150
- i0__namespace.ɵɵpipe(10, "rpxTranslate");
21151
- i0__namespace.ɵɵelementEnd();
21160
+ i0__namespace.ɵɵtemplate(8, QueryCheckYourAnswersComponent_dl_9_a_8_Template, 3, 3, "a", 19);
21152
21161
  i0__namespace.ɵɵelementEnd();
21153
21162
  i0__namespace.ɵɵelementEnd();
21154
21163
  i0__namespace.ɵɵelementEnd();
@@ -21157,11 +21166,11 @@
21157
21166
  var ctx_r4 = i0__namespace.ɵɵnextContext();
21158
21167
  var tmp_1_0 = null;
21159
21168
  i0__namespace.ɵɵadvance(3);
21160
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 3, "Query subject"), " ");
21169
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.RESPOND ? "Submitted query" : i0__namespace.ɵɵpipeBind1(4, 3, "Query subject"), " ");
21161
21170
  i0__namespace.ɵɵadvance(3);
21162
21171
  i0__namespace.ɵɵtextInterpolate1(" ", (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
21163
- i0__namespace.ɵɵadvance(3);
21164
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 5, "Change"), " ");
21172
+ i0__namespace.ɵɵadvance(2);
21173
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.NEW_QUERY);
21165
21174
  }
21166
21175
  }
21167
21176
  function QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template(rf, ctx) {
@@ -21187,7 +21196,7 @@
21187
21196
  }
21188
21197
  function QueryCheckYourAnswersComponent_dl_21_div_13_Template(rf, ctx) {
21189
21198
  if (rf & 1) {
21190
- var _r14_1 = i0__namespace.ɵɵgetCurrentView();
21199
+ var _r15_1 = i0__namespace.ɵɵgetCurrentView();
21191
21200
  i0__namespace.ɵɵelementStart(0, "div", 9);
21192
21201
  i0__namespace.ɵɵelementStart(1, "dt", 10);
21193
21202
  i0__namespace.ɵɵtext(2);
@@ -21199,7 +21208,7 @@
21199
21208
  i0__namespace.ɵɵelementEnd();
21200
21209
  i0__namespace.ɵɵelementStart(7, "dd", 12);
21201
21210
  i0__namespace.ɵɵelementStart(8, "a", 13);
21202
- i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(2); return ctx_r13.goBack(); });
21211
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var ctx_r14 = i0__namespace.ɵɵnextContext(2); return ctx_r14.goBack(); });
21203
21212
  i0__namespace.ɵɵtext(9);
21204
21213
  i0__namespace.ɵɵpipe(10, "rpxTranslate");
21205
21214
  i0__namespace.ɵɵelementEnd();
@@ -21207,19 +21216,19 @@
21207
21216
  i0__namespace.ɵɵelementEnd();
21208
21217
  }
21209
21218
  if (rf & 2) {
21210
- var ctx_r12 = i0__namespace.ɵɵnextContext(2);
21219
+ var ctx_r13 = i0__namespace.ɵɵnextContext(2);
21211
21220
  var tmp_1_0 = null;
21212
21221
  i0__namespace.ɵɵadvance(2);
21213
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r12.queryCreateContext === ctx_r12.queryCreateContextEnum.NEW_QUERY ? "What is the date of the hearing?" : i0__namespace.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
21222
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.queryCreateContext === ctx_r13.queryCreateContextEnum.NEW_QUERY ? "What is the date of the hearing?" : i0__namespace.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
21214
21223
  i0__namespace.ɵɵadvance(3);
21215
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 = ctx_r12.formGroup.get("hearingDate")) == null ? null : tmp_1_0.value, "dd MMM yyyy"), " ");
21224
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 = ctx_r13.formGroup.get("hearingDate")) == null ? null : tmp_1_0.value, "dd MMM yyyy"), " ");
21216
21225
  i0__namespace.ɵɵadvance(4);
21217
21226
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 8, "Change"), " ");
21218
21227
  }
21219
21228
  }
21220
21229
  function QueryCheckYourAnswersComponent_dl_21_Template(rf, ctx) {
21221
21230
  if (rf & 1) {
21222
- var _r16_1 = i0__namespace.ɵɵgetCurrentView();
21231
+ var _r17_1 = i0__namespace.ɵɵgetCurrentView();
21223
21232
  i0__namespace.ɵɵelementStart(0, "dl", 8);
21224
21233
  i0__namespace.ɵɵelementStart(1, "div", 9);
21225
21234
  i0__namespace.ɵɵelementStart(2, "dt", 10);
@@ -21228,28 +21237,28 @@
21228
21237
  i0__namespace.ɵɵelementEnd();
21229
21238
  i0__namespace.ɵɵelementStart(5, "dd", 11);
21230
21239
  i0__namespace.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template, 3, 5, "ng-container", 4);
21231
- i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template, 2, 5, "ng-template", null, 19, i0__namespace.ɵɵtemplateRefExtractor);
21240
+ i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template, 2, 5, "ng-template", null, 20, i0__namespace.ɵɵtemplateRefExtractor);
21232
21241
  i0__namespace.ɵɵelementEnd();
21233
21242
  i0__namespace.ɵɵelementStart(9, "dd", 12);
21234
21243
  i0__namespace.ɵɵelementStart(10, "a", 13);
21235
- i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(_r16_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.goBack(); });
21244
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.goBack(); });
21236
21245
  i0__namespace.ɵɵtext(11);
21237
21246
  i0__namespace.ɵɵpipe(12, "rpxTranslate");
21238
21247
  i0__namespace.ɵɵelementEnd();
21239
21248
  i0__namespace.ɵɵelementEnd();
21240
21249
  i0__namespace.ɵɵelementEnd();
21241
- i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_21_div_13_Template, 11, 10, "div", 20);
21250
+ i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_21_div_13_Template, 11, 10, "div", 21);
21242
21251
  i0__namespace.ɵɵelementEnd();
21243
21252
  }
21244
21253
  if (rf & 2) {
21245
- var _r10 = i0__namespace.ɵɵreference(8);
21254
+ var _r11 = i0__namespace.ɵɵreference(8);
21246
21255
  var ctx_r5 = i0__namespace.ɵɵnextContext();
21247
21256
  var tmp_1_0 = null;
21248
21257
  var tmp_4_0 = null;
21249
21258
  i0__namespace.ɵɵadvance(3);
21250
21259
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
21251
21260
  i0__namespace.ɵɵadvance(3);
21252
- i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse", _r10);
21261
+ i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse", _r11);
21253
21262
  i0__namespace.ɵɵadvance(5);
21254
21263
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 7, "Change"), " ");
21255
21264
  i0__namespace.ɵɵadvance(2);
@@ -21258,7 +21267,7 @@
21258
21267
  }
21259
21268
  function QueryCheckYourAnswersComponent_ccd_query_attachments_read_28_Template(rf, ctx) {
21260
21269
  if (rf & 1) {
21261
- i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 21);
21270
+ i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 22);
21262
21271
  }
21263
21272
  if (rf & 2) {
21264
21273
  var ctx_r6 = i0__namespace.ɵɵnextContext();
@@ -21276,7 +21285,7 @@
21276
21285
  return QueryCheckYourAnswersComponent;
21277
21286
  }());
21278
21287
  QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
21279
- QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
21288
+ QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
21280
21289
  if (rf & 1) {
21281
21290
  i0__namespace.ɵɵelementStart(0, "div", 0);
21282
21291
  i0__namespace.ɵɵelementStart(1, "div", 1);
@@ -21288,7 +21297,7 @@
21288
21297
  i0__namespace.ɵɵelementStart(7, "div", 6);
21289
21298
  i0__namespace.ɵɵelement(8, "ccd-query-case-details-header");
21290
21299
  i0__namespace.ɵɵelementEnd();
21291
- i0__namespace.ɵɵtemplate(9, QueryCheckYourAnswersComponent_dl_9_Template, 11, 7, "dl", 7);
21300
+ i0__namespace.ɵɵtemplate(9, QueryCheckYourAnswersComponent_dl_9_Template, 9, 5, "dl", 7);
21292
21301
  i0__namespace.ɵɵelementStart(10, "dl", 8);
21293
21302
  i0__namespace.ɵɵelementStart(11, "div", 9);
21294
21303
  i0__namespace.ɵɵelementStart(12, "dt", 10);
@@ -21349,9 +21358,9 @@
21349
21358
  i0__namespace.ɵɵadvance(2);
21350
21359
  i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", _r2);
21351
21360
  i0__namespace.ɵɵadvance(5);
21352
- i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
21361
+ i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
21353
21362
  i0__namespace.ɵɵadvance(4);
21354
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(14, 13, "Query detail"), " ");
21363
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0__namespace.ɵɵpipeBind1(14, 13, "Query detail"), " ");
21355
21364
  i0__namespace.ɵɵadvance(3);
21356
21365
  i0__namespace.ɵɵtextInterpolate1(" ", (tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.value, " ");
21357
21366
  i0__namespace.ɵɵadvance(3);
@@ -21432,16 +21441,16 @@
21432
21441
  i0__namespace.ɵɵelementEnd();
21433
21442
  i0__namespace.ɵɵelementStart(8, "td", 5);
21434
21443
  i0__namespace.ɵɵtext(9);
21435
- i0__namespace.ɵɵpipe(10, "date");
21436
21444
  i0__namespace.ɵɵelementEnd();
21437
21445
  i0__namespace.ɵɵelementEnd();
21438
- i0__namespace.ɵɵelementStart(11, "tr", 3);
21439
- i0__namespace.ɵɵelementStart(12, "th", 4);
21440
- i0__namespace.ɵɵtext(13);
21441
- i0__namespace.ɵɵpipe(14, "rpxTranslate");
21446
+ i0__namespace.ɵɵelementStart(10, "tr", 3);
21447
+ i0__namespace.ɵɵelementStart(11, "th", 4);
21448
+ i0__namespace.ɵɵtext(12);
21449
+ i0__namespace.ɵɵpipe(13, "rpxTranslate");
21442
21450
  i0__namespace.ɵɵelementEnd();
21443
- i0__namespace.ɵɵelementStart(15, "td", 5);
21444
- i0__namespace.ɵɵtext(16);
21451
+ i0__namespace.ɵɵelementStart(14, "td", 5);
21452
+ i0__namespace.ɵɵtext(15);
21453
+ i0__namespace.ɵɵpipe(16, "date");
21445
21454
  i0__namespace.ɵɵelementEnd();
21446
21455
  i0__namespace.ɵɵelementEnd();
21447
21456
  i0__namespace.ɵɵelementStart(17, "tr", 3);
@@ -21491,14 +21500,14 @@
21491
21500
  i0__namespace.ɵɵadvance(1);
21492
21501
  i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 18, "Details of the query"));
21493
21502
  i0__namespace.ɵɵadvance(5);
21494
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Submission date"));
21495
- i0__namespace.ɵɵadvance(3);
21496
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 22, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
21497
- i0__namespace.ɵɵadvance(4);
21498
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 25, "Last submitted by"));
21503
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Last submitted by"));
21499
21504
  i0__namespace.ɵɵadvance(3);
21500
21505
  i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
21501
21506
  i0__namespace.ɵɵadvance(3);
21507
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 22, "Submission date"));
21508
+ i0__namespace.ɵɵadvance(3);
21509
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
21510
+ i0__namespace.ɵɵadvance(4);
21502
21511
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Query subject"));
21503
21512
  i0__namespace.ɵɵadvance(3);
21504
21513
  i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
@@ -22151,8 +22160,8 @@
22151
22160
  // This field is mocked to allow the document component to be used in isolation
22152
22161
  this.mockDocumentCaseField = Object.assign(new CaseField(), {
22153
22162
  id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
22154
- label: 'Add document',
22155
- hint_text: 'Attach a document to this message',
22163
+ label: this.label ? this.label : 'Add document',
22164
+ hint_text: this.hintText ? this.hintText : 'Attach a document to this message',
22156
22165
  display_context: 'OPTIONAL',
22157
22166
  display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
22158
22167
  field_type: Object.assign(new FieldType(), {
@@ -22194,7 +22203,7 @@
22194
22203
  }());
22195
22204
  QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
22196
22205
  QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
22197
- QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
22206
+ QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup", label: "label", hintText: "hintText" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
22198
22207
  if (rf & 1) {
22199
22208
  i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
22200
22209
  }
@@ -22211,6 +22220,10 @@
22211
22220
  }]
22212
22221
  }], null, { formGroup: [{
22213
22222
  type: i0.Input
22223
+ }], label: [{
22224
+ type: i0.Input
22225
+ }], hintText: [{
22226
+ type: i0.Input
22214
22227
  }], documentCollectionUpdate: [{
22215
22228
  type: i0.Output
22216
22229
  }] });
@@ -22292,7 +22305,7 @@
22292
22305
  i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
22293
22306
  }
22294
22307
  }
22295
- var _c0$B = function (a0) { return { "govuk-form-group--error": a0 }; };
22308
+ var _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
22296
22309
  function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
22297
22310
  if (rf & 1) {
22298
22311
  i0__namespace.ɵɵelementContainerStart(0);
@@ -22313,9 +22326,9 @@
22313
22326
  if (rf & 2) {
22314
22327
  var ctx_r3 = i0__namespace.ɵɵnextContext();
22315
22328
  i0__namespace.ɵɵadvance(1);
22316
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$B, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
22329
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
22317
22330
  i0__namespace.ɵɵadvance(4);
22318
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "Hearing date"), " ");
22331
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
22319
22332
  i0__namespace.ɵɵadvance(2);
22320
22333
  i0__namespace.ɵɵproperty("ngIf", ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null);
22321
22334
  }
@@ -22327,7 +22340,7 @@
22327
22340
  return QueryWriteRaiseQueryComponent;
22328
22341
  }());
22329
22342
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
22330
- QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 55, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["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"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
22343
+ QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 55, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["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"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
22331
22344
  if (rf & 1) {
22332
22345
  i0__namespace.ɵɵelementStart(0, "div");
22333
22346
  i0__namespace.ɵɵelementStart(1, "div", 0);
@@ -22419,7 +22432,7 @@
22419
22432
  i0__namespace.ɵɵadvance(6);
22420
22433
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
22421
22434
  i0__namespace.ɵɵadvance(2);
22422
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$B, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
22435
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
22423
22436
  i0__namespace.ɵɵadvance(3);
22424
22437
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 31, "Query subject"), " ");
22425
22438
  i0__namespace.ɵɵadvance(3);
@@ -22430,9 +22443,9 @@
22430
22443
  i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("subject")) == null ? null : tmp_7_0.hasError("required")));
22431
22444
  i0__namespace.ɵɵproperty("formControlName", "subject");
22432
22445
  i0__namespace.ɵɵadvance(1);
22433
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(51, _c0$B, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
22446
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(51, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
22434
22447
  i0__namespace.ɵɵadvance(3);
22435
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 35, "Query body"), " ");
22448
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 35, "Query detail"), " ");
22436
22449
  i0__namespace.ɵɵadvance(3);
22437
22450
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 37, "Include as many details as possible so case workers can respond to your query"), " ");
22438
22451
  i0__namespace.ɵɵadvance(2);
@@ -22441,7 +22454,7 @@
22441
22454
  i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
22442
22455
  i0__namespace.ɵɵproperty("formControlName", "body");
22443
22456
  i0__namespace.ɵɵadvance(2);
22444
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(53, _c0$B, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
22457
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(53, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
22445
22458
  i0__namespace.ɵɵadvance(4);
22446
22459
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 39, "Is the query hearing related?"), " ");
22447
22460
  i0__namespace.ɵɵadvance(2);
@@ -22472,10 +22485,10 @@
22472
22485
  }] });
22473
22486
  })();
22474
22487
 
22475
- function QueryWriteRespondToQueryComponent_p_23_Template(rf, ctx) {
22488
+ function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
22476
22489
  if (rf & 1) {
22477
- i0__namespace.ɵɵelementStart(0, "p", 13);
22478
- i0__namespace.ɵɵelementStart(1, "span", 14);
22490
+ i0__namespace.ɵɵelementStart(0, "p", 15);
22491
+ i0__namespace.ɵɵelementStart(1, "span", 16);
22479
22492
  i0__namespace.ɵɵtext(2);
22480
22493
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
22481
22494
  i0__namespace.ɵɵelementEnd();
@@ -22491,6 +22504,7 @@
22491
22504
  i0__namespace.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
22492
22505
  }
22493
22506
  }
22507
+ var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
22494
22508
  var QueryWriteRespondToQueryComponent = /** @class */ (function () {
22495
22509
  function QueryWriteRespondToQueryComponent(caseNotifier) {
22496
22510
  this.caseNotifier = caseNotifier;
@@ -22507,43 +22521,49 @@
22507
22521
  return QueryWriteRespondToQueryComponent;
22508
22522
  }());
22509
22523
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
22510
- QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵ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) {
22524
+ QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵ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) {
22511
22525
  if (rf & 1) {
22512
22526
  i0__namespace.ɵɵelementStart(0, "div", 0);
22513
- i0__namespace.ɵɵelementStart(1, "div", 0);
22514
- i0__namespace.ɵɵelementStart(2, "div", 1);
22515
- i0__namespace.ɵɵtext(3);
22516
- i0__namespace.ɵɵpipe(4, "rpxTranslate");
22517
- i0__namespace.ɵɵelementEnd();
22518
- i0__namespace.ɵɵelementStart(5, "h1", 2);
22519
- i0__namespace.ɵɵtext(6);
22520
- i0__namespace.ɵɵpipe(7, "rpxTranslate");
22527
+ i0__namespace.ɵɵelementStart(1, "a", 1);
22528
+ i0__namespace.ɵɵtext(2);
22529
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
22521
22530
  i0__namespace.ɵɵelementEnd();
22522
22531
  i0__namespace.ɵɵelementEnd();
22523
- i0__namespace.ɵɵelementStart(8, "div", 3);
22524
- i0__namespace.ɵɵelement(9, "ccd-query-case-details-header");
22532
+ i0__namespace.ɵɵelementStart(4, "div", 2);
22533
+ i0__namespace.ɵɵelementStart(5, "div", 2);
22534
+ i0__namespace.ɵɵelementStart(6, "div", 3);
22535
+ i0__namespace.ɵɵtext(7);
22536
+ i0__namespace.ɵɵpipe(8, "rpxTranslate");
22525
22537
  i0__namespace.ɵɵelementEnd();
22526
- i0__namespace.ɵɵelementStart(10, "div");
22527
- i0__namespace.ɵɵelement(11, "ccd-query-details-table", 4);
22538
+ i0__namespace.ɵɵelementStart(9, "h1", 4);
22539
+ i0__namespace.ɵɵtext(10);
22540
+ i0__namespace.ɵɵpipe(11, "rpxTranslate");
22528
22541
  i0__namespace.ɵɵelementEnd();
22529
22542
  i0__namespace.ɵɵelementEnd();
22530
22543
  i0__namespace.ɵɵelementStart(12, "div", 5);
22531
- i0__namespace.ɵɵelementStart(13, "div");
22532
- i0__namespace.ɵɵelementStart(14, "h1", 6);
22533
- i0__namespace.ɵɵtext(15);
22534
- i0__namespace.ɵɵpipe(16, "rpxTranslate");
22544
+ i0__namespace.ɵɵelement(13, "ccd-query-case-details-header");
22535
22545
  i0__namespace.ɵɵelementEnd();
22536
- i0__namespace.ɵɵelementStart(17, "div", 7);
22537
- i0__namespace.ɵɵelementStart(18, "div", 8);
22538
- i0__namespace.ɵɵelementStart(19, "div", 9);
22539
- i0__namespace.ɵɵelementStart(20, "label", 10);
22540
- i0__namespace.ɵɵtext(21);
22541
- i0__namespace.ɵɵpipe(22, "rpxTranslate");
22546
+ i0__namespace.ɵɵelementStart(14, "div");
22547
+ i0__namespace.ɵɵelement(15, "ccd-query-details-table", 6);
22542
22548
  i0__namespace.ɵɵelementEnd();
22543
22549
  i0__namespace.ɵɵelementEnd();
22544
- i0__namespace.ɵɵtemplate(23, QueryWriteRespondToQueryComponent_p_23_Template, 6, 6, "p", 11);
22545
- i0__namespace.ɵɵelementStart(24, "textarea", 12);
22546
- i0__namespace.ɵɵtext(25, " ");
22550
+ i0__namespace.ɵɵelementStart(16, "div", 7);
22551
+ i0__namespace.ɵɵelementStart(17, "div");
22552
+ i0__namespace.ɵɵelementStart(18, "h1", 8);
22553
+ i0__namespace.ɵɵtext(19);
22554
+ i0__namespace.ɵɵpipe(20, "rpxTranslate");
22555
+ i0__namespace.ɵɵelementEnd();
22556
+ i0__namespace.ɵɵelementStart(21, "div", 9);
22557
+ i0__namespace.ɵɵelementStart(22, "div", 10);
22558
+ i0__namespace.ɵɵelementStart(23, "div", 11);
22559
+ i0__namespace.ɵɵelementStart(24, "label", 12);
22560
+ i0__namespace.ɵɵtext(25);
22561
+ i0__namespace.ɵɵpipe(26, "rpxTranslate");
22562
+ i0__namespace.ɵɵelementEnd();
22563
+ i0__namespace.ɵɵelementEnd();
22564
+ i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
22565
+ i0__namespace.ɵɵelementStart(28, "textarea", 14);
22566
+ i0__namespace.ɵɵtext(29, " ");
22547
22567
  i0__namespace.ɵɵelementEnd();
22548
22568
  i0__namespace.ɵɵelementEnd();
22549
22569
  i0__namespace.ɵɵelementEnd();
@@ -22551,27 +22571,31 @@
22551
22571
  i0__namespace.ɵɵelementEnd();
22552
22572
  }
22553
22573
  if (rf & 2) {
22554
- var tmp_5_0 = null;
22555
22574
  var tmp_7_0 = null;
22556
- var tmp_8_0 = null;
22557
- i0__namespace.ɵɵadvance(3);
22558
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 12, "Respond to a query"));
22575
+ var tmp_9_0 = null;
22576
+ var tmp_10_0 = null;
22577
+ i0__namespace.ɵɵadvance(1);
22578
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
22579
+ i0__namespace.ɵɵadvance(1);
22580
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
22581
+ i0__namespace.ɵɵadvance(5);
22582
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 16, "Respond to query"));
22559
22583
  i0__namespace.ɵɵadvance(3);
22560
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 14, "Query details"));
22584
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 18, "Query details"));
22561
22585
  i0__namespace.ɵɵadvance(5);
22562
22586
  i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
22563
22587
  i0__namespace.ɵɵadvance(4);
22564
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(16, 16, "Ask a follow-up question"), " ");
22588
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 20, "Ask a follow-up question"), " ");
22565
22589
  i0__namespace.ɵɵadvance(2);
22566
22590
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
22567
22591
  i0__namespace.ɵɵadvance(1);
22568
- i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.hasError("required")));
22592
+ i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
22569
22593
  i0__namespace.ɵɵadvance(3);
22570
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0__namespace.ɵɵpipeBind1(22, 18, "Query Body"), " ");
22594
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(26, 22, "Query Body"), " ");
22571
22595
  i0__namespace.ɵɵadvance(2);
22572
- i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
22596
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.hasError("required")));
22573
22597
  i0__namespace.ɵɵadvance(1);
22574
- i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.hasError("required")));
22598
+ i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("body")) == null ? null : tmp_10_0.hasError("required")));
22575
22599
  i0__namespace.ɵɵproperty("formControlName", "body");
22576
22600
  }
22577
22601
  }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
@@ -30998,7 +31022,7 @@
30998
31022
  QueryDetailsComponent], []);
30999
31023
  i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent, i5__namespace.NgForOf, QueryAttachmentsReadComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
31000
31024
  i0__namespace.ɵɵsetComponentScope(QueryDetailsTableComponent, [i5__namespace.NgIf, QueryAttachmentsReadComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
31001
- i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
31025
+ i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1__namespace$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
31002
31026
  QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
31003
31027
  i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgClass, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
31004
31028
  i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [i5__namespace.NgIf, QueryCaseDetailsHeaderComponent,