@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-raise-query-function-v8 → 6.16.0-query-management-raise-a-query-error-scenarios

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 (26) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +192 -267
  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 +5 -8
  6. package/esm2015/lib/shared/components/palette/query-management/components/index.js +1 -2
  7. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +93 -52
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +20 -18
  9. package/esm2015/lib/shared/components/palette/query-management/enums/index.js +2 -0
  10. package/esm2015/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.js +9 -0
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +189 -261
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  13. package/lib/shared/components/palette/palette.module.d.ts +29 -30
  14. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  15. package/lib/shared/components/palette/query-management/components/index.d.ts +0 -1
  16. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  17. package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +4 -1
  18. package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -1
  19. package/lib/shared/components/palette/query-management/enums/index.d.ts +2 -0
  20. package/lib/shared/components/palette/query-management/enums/index.d.ts.map +1 -0
  21. package/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.d.ts +8 -0
  22. package/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.d.ts.map +1 -0
  23. package/package.json +1 -1
  24. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +0 -125
  25. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +0 -20
  26. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +0 -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$11 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
147
+ var _c0$12 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
148
148
  var _c1$s = ["[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$s, 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$11);
157
+ i0__namespace.ɵɵprojectionDef(_c0$12);
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$10 = [[["", "headerNavigation", ""]]];
243
+ var _c0$11 = [[["", "headerNavigation", ""]]];
244
244
  var _c1$r = ["[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$r, 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$10);
257
+ i0__namespace.ɵɵprojectionDef(_c0$11);
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$$ = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
324
+ var _c0$10 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
325
325
  var _c1$q = ["[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$q, 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$$);
334
+ i0__namespace.ɵɵprojectionDef(_c0$10);
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$$ = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
491
491
  var _c1$p = ["[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$p, 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$$);
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$Z = 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$Z, 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$Z, 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$Z, 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$Z, 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$Z, 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$Z, 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$Y = ["*"];
1304
+ var _c0$Z = ["*"];
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$Y, 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$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) {
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$X = function (a0) { return { "js-hidden": a0 }; };
1607
+ var _c0$Y = function (a0) { return { "js-hidden": a0 }; };
1608
1608
  var _c1$o = ["*"];
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$X, !ctx.selected));
1623
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$Y, !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$W = ["tab"];
1646
+ var _c0$X = ["tab"];
1647
1647
  var _c1$n = 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$W, 1);
1702
+ i0__namespace.ɵɵviewQuery(_c0$X, 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$V = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1783
+ var _c0$W = 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$V, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1806
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$W, 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);
@@ -11185,7 +11185,7 @@
11185
11185
  return AddressOption;
11186
11186
  }());
11187
11187
 
11188
- var _c0$U = ["writeComplexFieldComponent"];
11188
+ var _c0$V = ["writeComplexFieldComponent"];
11189
11189
  function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
11190
11190
  if (rf & 1) {
11191
11191
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -11420,7 +11420,7 @@
11420
11420
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
11421
11421
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
11422
11422
  if (rf & 1) {
11423
- i0__namespace.ɵɵviewQuery(_c0$U, 1);
11423
+ i0__namespace.ɵɵviewQuery(_c0$V, 1);
11424
11424
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
11425
11425
  }
11426
11426
  if (rf & 2) {
@@ -12194,7 +12194,7 @@
12194
12194
  i0__namespace.ɵɵproperty("formGroup", ctx_r11.caseFlagParentFormGroup)("defaultStatus", ctx_r11.flagType.defaultStatus);
12195
12195
  }
12196
12196
  }
12197
- var _c0$T = function (a0) { return { "form-group-error": a0 }; };
12197
+ var _c0$U = function (a0) { return { "form-group-error": a0 }; };
12198
12198
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
12199
12199
  if (rf & 1) {
12200
12200
  i0__namespace.ɵɵelementStart(0, "div", 8);
@@ -12217,7 +12217,7 @@
12217
12217
  i0__namespace.ɵɵadvance(1);
12218
12218
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
12219
12219
  i0__namespace.ɵɵadvance(1);
12220
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$T, ctx_r1.errorMessages.length > 0));
12220
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$U, ctx_r1.errorMessages.length > 0));
12221
12221
  i0__namespace.ɵɵadvance(1);
12222
12222
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 9, ctx_r1.createFlagCaption), " ");
12223
12223
  i0__namespace.ɵɵadvance(2);
@@ -12794,7 +12794,7 @@
12794
12794
  }], null, null);
12795
12795
  })();
12796
12796
 
12797
- var _c0$S = ["writeComplexFieldComponent"];
12797
+ var _c0$T = ["writeComplexFieldComponent"];
12798
12798
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
12799
12799
  if (rf & 1) {
12800
12800
  i0__namespace.ɵɵelementStart(0, "span", 6);
@@ -12902,7 +12902,7 @@
12902
12902
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
12903
12903
  WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
12904
12904
  if (rf & 1) {
12905
- i0__namespace.ɵɵviewQuery(_c0$S, 1);
12905
+ i0__namespace.ɵɵviewQuery(_c0$T, 1);
12906
12906
  }
12907
12907
  if (rf & 2) {
12908
12908
  var _t = void 0;
@@ -12947,7 +12947,7 @@
12947
12947
  }] });
12948
12948
  })();
12949
12949
 
12950
- var _c0$R = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
12950
+ 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 }; };
12951
12951
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
12952
12952
  if (rf & 1) {
12953
12953
  i0__namespace.ɵɵelementStart(0, "tbody");
@@ -12962,7 +12962,7 @@
12962
12962
  if (rf & 2) {
12963
12963
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
12964
12964
  i0__namespace.ɵɵadvance(4);
12965
- i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$R, 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);
12965
+ 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);
12966
12966
  }
12967
12967
  }
12968
12968
  var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
@@ -13127,7 +13127,7 @@
13127
13127
  }], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
13128
13128
  })();
13129
13129
 
13130
- var _c0$Q = ["collectionItem"];
13130
+ var _c0$R = ["collectionItem"];
13131
13131
  function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
13132
13132
  if (rf & 1) {
13133
13133
  i0__namespace.ɵɵelementStart(0, "span", 9);
@@ -13558,7 +13558,7 @@
13558
13558
  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)); };
13559
13559
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
13560
13560
  if (rf & 1) {
13561
- i0__namespace.ɵɵviewQuery(_c0$Q, 1);
13561
+ i0__namespace.ɵɵviewQuery(_c0$R, 1);
13562
13562
  }
13563
13563
  if (rf & 2) {
13564
13564
  var _t = void 0;
@@ -14271,7 +14271,7 @@
14271
14271
  }], null, null);
14272
14272
  })();
14273
14273
 
14274
- var _c0$P = ["fileInput"];
14274
+ var _c0$Q = ["fileInput"];
14275
14275
  function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
14276
14276
  if (rf & 1) {
14277
14277
  i0__namespace.ɵɵelementStart(0, "span", 12);
@@ -14567,7 +14567,7 @@
14567
14567
  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)); };
14568
14568
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
14569
14569
  if (rf & 1) {
14570
- i0__namespace.ɵɵviewQuery(_c0$P, 1);
14570
+ i0__namespace.ɵɵviewQuery(_c0$Q, 1);
14571
14571
  }
14572
14572
  if (rf & 2) {
14573
14573
  var _t = void 0;
@@ -14781,7 +14781,7 @@
14781
14781
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
14782
14782
  }
14783
14783
  }
14784
- var _c0$O = function (a0) { return { "form-group-error": a0 }; };
14784
+ var _c0$P = function (a0) { return { "form-group-error": a0 }; };
14785
14785
  var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
14786
14786
  __extends(WriteDynamicListFieldComponent, _super);
14787
14787
  function WriteDynamicListFieldComponent() {
@@ -14831,7 +14831,7 @@
14831
14831
  i0__namespace.ɵɵelementEnd();
14832
14832
  }
14833
14833
  if (rf & 2) {
14834
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$O, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14834
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$P, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
14835
14835
  i0__namespace.ɵɵadvance(1);
14836
14836
  i0__namespace.ɵɵproperty("for", ctx.id());
14837
14837
  i0__namespace.ɵɵadvance(1);
@@ -15009,7 +15009,7 @@
15009
15009
  i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
15010
15010
  }
15011
15011
  }
15012
- var _c0$N = function (a0) { return { "error": a0 }; };
15012
+ var _c0$O = function (a0) { return { "error": a0 }; };
15013
15013
  var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
15014
15014
  __extends(WriteDynamicMultiSelectListFieldComponent, _super);
15015
15015
  function WriteDynamicMultiSelectListFieldComponent() {
@@ -15092,7 +15092,7 @@
15092
15092
  i0__namespace.ɵɵelementEnd();
15093
15093
  }
15094
15094
  if (rf & 2) {
15095
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$N, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15095
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$O, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
15096
15096
  i0__namespace.ɵɵadvance(3);
15097
15097
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
15098
15098
  i0__namespace.ɵɵadvance(1);
@@ -15243,7 +15243,7 @@
15243
15243
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
15244
15244
  }
15245
15245
  }
15246
- var _c0$M = function (a0) { return { selected: a0 }; };
15246
+ var _c0$N = function (a0) { return { selected: a0 }; };
15247
15247
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
15248
15248
  if (rf & 1) {
15249
15249
  i0__namespace.ɵɵelementStart(0, "div", 10);
@@ -15256,7 +15256,7 @@
15256
15256
  if (rf & 2) {
15257
15257
  var radioButton_r5 = ctx.$implicit;
15258
15258
  var ctx_r4 = i0__namespace.ɵɵnextContext();
15259
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$M, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15259
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$N, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
15260
15260
  i0__namespace.ɵɵadvance(1);
15261
15261
  i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
15262
15262
  i0__namespace.ɵɵadvance(1);
@@ -15423,7 +15423,7 @@
15423
15423
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
15424
15424
  }
15425
15425
  }
15426
- var _c0$L = function (a0) { return { "form-group-error": a0 }; };
15426
+ var _c0$M = function (a0) { return { "form-group-error": a0 }; };
15427
15427
  var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
15428
15428
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
15429
15429
  __extends(WriteEmailFieldComponent, _super);
@@ -15448,7 +15448,7 @@
15448
15448
  i0__namespace.ɵɵelementEnd();
15449
15449
  }
15450
15450
  if (rf & 2) {
15451
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$L, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15451
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$M, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
15452
15452
  i0__namespace.ɵɵadvance(1);
15453
15453
  i0__namespace.ɵɵproperty("for", ctx.id());
15454
15454
  i0__namespace.ɵɵadvance(1);
@@ -15559,7 +15559,7 @@
15559
15559
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
15560
15560
  }
15561
15561
  }
15562
- var _c0$K = function (a0) { return { "form-group-error": a0 }; };
15562
+ var _c0$L = function (a0) { return { "form-group-error": a0 }; };
15563
15563
  var WriteFixedListFieldComponent = /** @class */ (function (_super) {
15564
15564
  __extends(WriteFixedListFieldComponent, _super);
15565
15565
  function WriteFixedListFieldComponent() {
@@ -15608,7 +15608,7 @@
15608
15608
  i0__namespace.ɵɵelementEnd();
15609
15609
  }
15610
15610
  if (rf & 2) {
15611
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15611
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
15612
15612
  i0__namespace.ɵɵadvance(1);
15613
15613
  i0__namespace.ɵɵproperty("for", ctx.id());
15614
15614
  i0__namespace.ɵɵadvance(1);
@@ -15730,7 +15730,7 @@
15730
15730
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
15731
15731
  }
15732
15732
  }
15733
- var _c0$J = function (a0) { return { selected: a0 }; };
15733
+ var _c0$K = function (a0) { return { selected: a0 }; };
15734
15734
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
15735
15735
  if (rf & 1) {
15736
15736
  i0__namespace.ɵɵelementStart(0, "div", 9);
@@ -15744,7 +15744,7 @@
15744
15744
  if (rf & 2) {
15745
15745
  var radioButton_r4 = ctx.$implicit;
15746
15746
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15747
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
15747
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
15748
15748
  i0__namespace.ɵɵadvance(1);
15749
15749
  i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
15750
15750
  i0__namespace.ɵɵadvance(1);
@@ -15914,7 +15914,7 @@
15914
15914
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
15915
15915
  }
15916
15916
  }
15917
- var _c0$I = function (a0) { return { "hide-autocomplete": a0 }; };
15917
+ var _c0$J = function (a0) { return { "hide-autocomplete": a0 }; };
15918
15918
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
15919
15919
  if (rf & 1) {
15920
15920
  var _r7_1 = i0__namespace.ɵɵgetCurrentView();
@@ -15926,7 +15926,7 @@
15926
15926
  if (rf & 2) {
15927
15927
  var judicialUser_r5 = ctx.$implicit;
15928
15928
  var ctx_r3 = i0__namespace.ɵɵnextContext();
15929
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$I, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15929
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$J, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
15930
15930
  i0__namespace.ɵɵadvance(1);
15931
15931
  i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
15932
15932
  }
@@ -16740,7 +16740,7 @@
16740
16740
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
16741
16741
  }
16742
16742
  }
16743
- var _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
16743
+ var _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
16744
16744
  function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
16745
16745
  if (rf & 1) {
16746
16746
  i0__namespace.ɵɵelementStart(0, "div", 35);
@@ -16758,7 +16758,7 @@
16758
16758
  }
16759
16759
  if (rf & 2) {
16760
16760
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
16761
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$H, !!ctx_r7.caseReasonCommentsError));
16761
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$I, !!ctx_r7.caseReasonCommentsError));
16762
16762
  i0__namespace.ɵɵadvance(3);
16763
16763
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
16764
16764
  }
@@ -16815,11 +16815,11 @@
16815
16815
  var ctx_r0 = i0__namespace.ɵɵnextContext();
16816
16816
  i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
16817
16817
  i0__namespace.ɵɵadvance(1);
16818
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$H, !!ctx_r0.caseNumberError));
16818
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$I, !!ctx_r0.caseNumberError));
16819
16819
  i0__namespace.ɵɵadvance(3);
16820
16820
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
16821
16821
  i0__namespace.ɵɵadvance(2);
16822
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$H, !!ctx_r0.caseReasonError));
16822
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$I, !!ctx_r0.caseReasonError));
16823
16823
  i0__namespace.ɵɵadvance(5);
16824
16824
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
16825
16825
  i0__namespace.ɵɵadvance(2);
@@ -17253,7 +17253,7 @@
17253
17253
  i0__namespace.ɵɵadvance(4);
17254
17254
  i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
17255
17255
  i0__namespace.ɵɵadvance(4);
17256
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$H, !!ctx.noSelectedCaseError));
17256
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !!ctx.noSelectedCaseError));
17257
17257
  i0__namespace.ɵɵadvance(1);
17258
17258
  i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
17259
17259
  i0__namespace.ɵɵadvance(18);
@@ -17962,7 +17962,7 @@
17962
17962
  i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
17963
17963
  }
17964
17964
  }
17965
- var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
17965
+ var _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
17966
17966
  function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
17967
17967
  if (rf & 1) {
17968
17968
  i0__namespace.ɵɵelementStart(0, "div", 7);
@@ -17974,7 +17974,7 @@
17974
17974
  }
17975
17975
  if (rf & 2) {
17976
17976
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
17977
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$G, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
17977
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
17978
17978
  i0__namespace.ɵɵadvance(1);
17979
17979
  i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
17980
17980
  i0__namespace.ɵɵadvance(2);
@@ -18863,7 +18863,7 @@
18863
18863
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
18864
18864
  }
18865
18865
  }
18866
- var _c0$F = function (a0) { return { "form-group-error": a0 }; };
18866
+ var _c0$G = function (a0) { return { "form-group-error": a0 }; };
18867
18867
  var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
18868
18868
  __extends(WriteMoneyGbpFieldComponent, _super);
18869
18869
  function WriteMoneyGbpFieldComponent() {
@@ -18893,7 +18893,7 @@
18893
18893
  i0__namespace.ɵɵelementEnd();
18894
18894
  }
18895
18895
  if (rf & 2) {
18896
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$F, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
18896
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
18897
18897
  i0__namespace.ɵɵadvance(1);
18898
18898
  i0__namespace.ɵɵproperty("for", ctx.id());
18899
18899
  i0__namespace.ɵɵadvance(1);
@@ -19048,7 +19048,7 @@
19048
19048
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
19049
19049
  }
19050
19050
  }
19051
- var _c0$E = function (a0) { return { "error": a0 }; };
19051
+ var _c0$F = function (a0) { return { "error": a0 }; };
19052
19052
  var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
19053
19053
  __extends(WriteMultiSelectListFieldComponent, _super);
19054
19054
  function WriteMultiSelectListFieldComponent() {
@@ -19112,7 +19112,7 @@
19112
19112
  i0__namespace.ɵɵelementEnd();
19113
19113
  }
19114
19114
  if (rf & 2) {
19115
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$E, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19115
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
19116
19116
  i0__namespace.ɵɵadvance(3);
19117
19117
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
19118
19118
  i0__namespace.ɵɵadvance(1);
@@ -19206,7 +19206,7 @@
19206
19206
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
19207
19207
  }
19208
19208
  }
19209
- var _c0$D = function (a0) { return { "form-group-error": a0 }; };
19209
+ var _c0$E = function (a0) { return { "form-group-error": a0 }; };
19210
19210
  var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
19211
19211
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
19212
19212
  __extends(WriteNumberFieldComponent, _super);
@@ -19231,7 +19231,7 @@
19231
19231
  i0__namespace.ɵɵelementEnd();
19232
19232
  }
19233
19233
  if (rf & 2) {
19234
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$D, !ctx.numberControl.valid && ctx.numberControl.dirty));
19234
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
19235
19235
  i0__namespace.ɵɵadvance(1);
19236
19236
  i0__namespace.ɵɵproperty("for", ctx.id());
19237
19237
  i0__namespace.ɵɵadvance(1);
@@ -19570,7 +19570,7 @@
19570
19570
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
19571
19571
  }
19572
19572
  }
19573
- var _c0$C = function (a0) { return { "scroll-container ": a0 }; };
19573
+ var _c0$D = function (a0) { return { "scroll-container ": a0 }; };
19574
19574
  function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
19575
19575
  if (rf & 1) {
19576
19576
  i0__namespace.ɵɵelementStart(0, "div", 26);
@@ -19586,7 +19586,7 @@
19586
19586
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
19587
19587
  var tmp_0_0 = null;
19588
19588
  var tmp_2_0 = null;
19589
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$C, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
19589
+ 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));
19590
19590
  i0__namespace.ɵɵadvance(2);
19591
19591
  i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
19592
19592
  i0__namespace.ɵɵadvance(2);
@@ -20084,7 +20084,7 @@
20084
20084
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
20085
20085
  }
20086
20086
  }
20087
- var _c0$B = function (a0) { return { "form-group-error": a0 }; };
20087
+ var _c0$C = function (a0) { return { "form-group-error": a0 }; };
20088
20088
  var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
20089
20089
  var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
20090
20090
  __extends(WritePhoneUKFieldComponent, _super);
@@ -20109,7 +20109,7 @@
20109
20109
  i0__namespace.ɵɵelementEnd();
20110
20110
  }
20111
20111
  if (rf & 2) {
20112
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$B, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20112
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
20113
20113
  i0__namespace.ɵɵadvance(1);
20114
20114
  i0__namespace.ɵɵproperty("for", ctx.id());
20115
20115
  i0__namespace.ɵɵadvance(1);
@@ -20900,132 +20900,6 @@
20900
20900
  }] });
20901
20901
  })();
20902
20902
 
20903
- var QueryWriteDateInputComponent = /** @class */ (function () {
20904
- function QueryWriteDateInputComponent() {
20905
- this.disabled = false;
20906
- }
20907
- QueryWriteDateInputComponent.prototype.writeValue = function (date) {
20908
- if (date instanceof Date && !isNaN(date.getTime())) {
20909
- this.day = date.getDate();
20910
- this.month = date.getMonth() + 1; // Months are zero-based
20911
- this.year = date.getFullYear();
20912
- }
20913
- else {
20914
- this.day = null;
20915
- this.month = null;
20916
- this.year = null;
20917
- }
20918
- };
20919
- QueryWriteDateInputComponent.prototype.registerOnChange = function (fn) {
20920
- this.onChange = fn;
20921
- };
20922
- QueryWriteDateInputComponent.prototype.registerOnTouched = function (fn) {
20923
- this.onTouched = fn;
20924
- };
20925
- QueryWriteDateInputComponent.prototype.setDisabledState = function (isDisabled) {
20926
- this.disabled = isDisabled;
20927
- };
20928
- QueryWriteDateInputComponent.prototype.updateDate = function () {
20929
- var updatedValue = this.onChange && this.isValidDateInput() ?
20930
- new Date(this.year, this.month - 1, this.day)
20931
- : null;
20932
- this.onChange(updatedValue);
20933
- this.onTouched();
20934
- };
20935
- QueryWriteDateInputComponent.prototype.isValidDateInput = function () {
20936
- var isValidDay = this.day >= 1 && this.day <= 31;
20937
- var isValidMonth = this.month >= 1 && this.month <= 12;
20938
- var isValidYear = this.year >= 0;
20939
- return isValidDay && isValidMonth && isValidYear;
20940
- };
20941
- return QueryWriteDateInputComponent;
20942
- }());
20943
- QueryWriteDateInputComponent.ɵfac = function QueryWriteDateInputComponent_Factory(t) { return new (t || QueryWriteDateInputComponent)(); };
20944
- QueryWriteDateInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0__namespace.ɵɵProvidersFeature([
20945
- {
20946
- provide: i3.NG_VALUE_ACCESSOR,
20947
- useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
20948
- multi: true
20949
- }
20950
- ])], decls: 19, vars: 24, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) {
20951
- if (rf & 1) {
20952
- i0__namespace.ɵɵelementStart(0, "div", 0);
20953
- i0__namespace.ɵɵelementStart(1, "div", 1);
20954
- i0__namespace.ɵɵelementStart(2, "div", 2);
20955
- i0__namespace.ɵɵelementStart(3, "label", 3);
20956
- i0__namespace.ɵɵtext(4);
20957
- i0__namespace.ɵɵpipe(5, "rpxTranslate");
20958
- i0__namespace.ɵɵelementEnd();
20959
- i0__namespace.ɵɵelementStart(6, "input", 4);
20960
- i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_6_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_6_listener() { return ctx.updateDate(); });
20961
- i0__namespace.ɵɵelementEnd();
20962
- i0__namespace.ɵɵelementEnd();
20963
- i0__namespace.ɵɵelementEnd();
20964
- i0__namespace.ɵɵelementStart(7, "div", 1);
20965
- i0__namespace.ɵɵelementStart(8, "div", 2);
20966
- i0__namespace.ɵɵelementStart(9, "label", 3);
20967
- i0__namespace.ɵɵtext(10);
20968
- i0__namespace.ɵɵpipe(11, "rpxTranslate");
20969
- i0__namespace.ɵɵelementEnd();
20970
- i0__namespace.ɵɵelementStart(12, "input", 4);
20971
- i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_12_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_12_listener() { return ctx.updateDate(); });
20972
- i0__namespace.ɵɵelementEnd();
20973
- i0__namespace.ɵɵelementEnd();
20974
- i0__namespace.ɵɵelementEnd();
20975
- i0__namespace.ɵɵelementStart(13, "div", 1);
20976
- i0__namespace.ɵɵelementStart(14, "div", 2);
20977
- i0__namespace.ɵɵelementStart(15, "label", 3);
20978
- i0__namespace.ɵɵtext(16);
20979
- i0__namespace.ɵɵpipe(17, "rpxTranslate");
20980
- i0__namespace.ɵɵelementEnd();
20981
- i0__namespace.ɵɵelementStart(18, "input", 5);
20982
- i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_18_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_18_listener() { return ctx.updateDate(); });
20983
- i0__namespace.ɵɵelementEnd();
20984
- i0__namespace.ɵɵelementEnd();
20985
- i0__namespace.ɵɵelementEnd();
20986
- i0__namespace.ɵɵelementEnd();
20987
- }
20988
- if (rf & 2) {
20989
- i0__namespace.ɵɵproperty("id", ctx.formControlName);
20990
- i0__namespace.ɵɵadvance(3);
20991
- i0__namespace.ɵɵproperty("for", ctx.formControlName + "-day");
20992
- i0__namespace.ɵɵadvance(1);
20993
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 18, "Day"), " ");
20994
- i0__namespace.ɵɵadvance(2);
20995
- i0__namespace.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
20996
- i0__namespace.ɵɵadvance(3);
20997
- i0__namespace.ɵɵproperty("for", ctx.formControlName + "-month");
20998
- i0__namespace.ɵɵadvance(1);
20999
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 20, "Month"), " ");
21000
- i0__namespace.ɵɵadvance(2);
21001
- i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
21002
- i0__namespace.ɵɵadvance(3);
21003
- i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
21004
- i0__namespace.ɵɵadvance(1);
21005
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(17, 22, "Year"), " ");
21006
- i0__namespace.ɵɵadvance(2);
21007
- i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
21008
- }
21009
- }, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
21010
- (function () {
21011
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
21012
- type: i0.Component,
21013
- args: [{
21014
- selector: 'ccd-query-write-date-input',
21015
- templateUrl: './query-write-date-input.component.html',
21016
- providers: [
21017
- {
21018
- provide: i3.NG_VALUE_ACCESSOR,
21019
- useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
21020
- multi: true
21021
- }
21022
- ]
21023
- }]
21024
- }], null, { formControlName: [{
21025
- type: i0.Input
21026
- }] });
21027
- })();
21028
-
21029
20903
  var QueryWriteAddDocumentsComponent = /** @class */ (function () {
21030
20904
  function QueryWriteAddDocumentsComponent() {
21031
20905
  this.documentFormGroup = new i3.FormGroup({});
@@ -21095,6 +20969,15 @@
21095
20969
  }] });
21096
20970
  })();
21097
20971
 
20972
+ var RaiseQueryErrorMessage;
20973
+ (function (RaiseQueryErrorMessage) {
20974
+ RaiseQueryErrorMessage["FULL_NAME"] = "Enter a full name";
20975
+ RaiseQueryErrorMessage["QUERY_SUBJECT"] = "Enter a query subject";
20976
+ RaiseQueryErrorMessage["QUERY_BODY"] = "Enter query details";
20977
+ RaiseQueryErrorMessage["QUERY_HEARING_RELATED"] = "Select whether the query is hearing related or not";
20978
+ RaiseQueryErrorMessage["QUERY_HEARING_DATE"] = "Enter a valid date";
20979
+ })(RaiseQueryErrorMessage || (RaiseQueryErrorMessage = {}));
20980
+
21098
20981
  function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
21099
20982
  if (rf & 1) {
21100
20983
  i0__namespace.ɵɵelementStart(0, "p", 28);
@@ -21107,10 +20990,11 @@
21107
20990
  i0__namespace.ɵɵelementEnd();
21108
20991
  }
21109
20992
  if (rf & 2) {
20993
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
21110
20994
  i0__namespace.ɵɵadvance(2);
21111
20995
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21112
20996
  i0__namespace.ɵɵadvance(2);
21113
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
20997
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.FULL_NAME), " ");
21114
20998
  }
21115
20999
  }
21116
21000
  function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
@@ -21125,10 +21009,11 @@
21125
21009
  i0__namespace.ɵɵelementEnd();
21126
21010
  }
21127
21011
  if (rf & 2) {
21012
+ var ctx_r1 = i0__namespace.ɵɵnextContext();
21128
21013
  i0__namespace.ɵɵadvance(2);
21129
21014
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21130
21015
  i0__namespace.ɵɵadvance(2);
21131
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
21016
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_SUBJECT), " ");
21132
21017
  }
21133
21018
  }
21134
21019
  function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
@@ -21143,13 +21028,53 @@
21143
21028
  i0__namespace.ɵɵelementEnd();
21144
21029
  }
21145
21030
  if (rf & 2) {
21031
+ var ctx_r2 = i0__namespace.ɵɵnextContext();
21146
21032
  i0__namespace.ɵɵadvance(2);
21147
21033
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21148
21034
  i0__namespace.ɵɵadvance(2);
21149
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
21035
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.raiseQueryErrorMessage.QUERY_BODY), " ");
21150
21036
  }
21151
21037
  }
21152
- function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) {
21038
+ function QueryWriteRaiseQueryComponent_p_51_Template(rf, ctx) {
21039
+ if (rf & 1) {
21040
+ i0__namespace.ɵɵelementStart(0, "p", 31);
21041
+ i0__namespace.ɵɵelementStart(1, "span", 29);
21042
+ i0__namespace.ɵɵtext(2);
21043
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21044
+ i0__namespace.ɵɵelementEnd();
21045
+ i0__namespace.ɵɵtext(4);
21046
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21047
+ i0__namespace.ɵɵelementEnd();
21048
+ }
21049
+ if (rf & 2) {
21050
+ var ctx_r3 = i0__namespace.ɵɵnextContext();
21051
+ i0__namespace.ɵɵadvance(2);
21052
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21053
+ i0__namespace.ɵɵadvance(2);
21054
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r3.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
21055
+ }
21056
+ }
21057
+ function QueryWriteRaiseQueryComponent_ng_container_63_p_7_Template(rf, ctx) {
21058
+ if (rf & 1) {
21059
+ i0__namespace.ɵɵelementStart(0, "p", 31);
21060
+ i0__namespace.ɵɵelementStart(1, "span", 29);
21061
+ i0__namespace.ɵɵtext(2);
21062
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21063
+ i0__namespace.ɵɵelementEnd();
21064
+ i0__namespace.ɵɵtext(4);
21065
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21066
+ i0__namespace.ɵɵelementEnd();
21067
+ }
21068
+ if (rf & 2) {
21069
+ var ctx_r5 = i0__namespace.ɵɵnextContext(2);
21070
+ i0__namespace.ɵɵadvance(2);
21071
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21072
+ i0__namespace.ɵɵadvance(2);
21073
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r5.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
21074
+ }
21075
+ }
21076
+ var _c0$B = function (a0) { return { "govuk-form-group--error": a0 }; };
21077
+ function QueryWriteRaiseQueryComponent_ng_container_63_Template(rf, ctx) {
21153
21078
  if (rf & 1) {
21154
21079
  i0__namespace.ɵɵelementContainerStart(0);
21155
21080
  i0__namespace.ɵɵelementStart(1, "div", 32);
@@ -21160,23 +21085,30 @@
21160
21085
  i0__namespace.ɵɵpipe(6, "rpxTranslate");
21161
21086
  i0__namespace.ɵɵelementEnd();
21162
21087
  i0__namespace.ɵɵelementEnd();
21163
- i0__namespace.ɵɵelement(7, "ccd-query-write-date-input", 35);
21088
+ i0__namespace.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_ng_container_63_p_7_Template, 6, 6, "p", 17);
21089
+ i0__namespace.ɵɵelement(8, "ccd-query-write-date-input", 35);
21164
21090
  i0__namespace.ɵɵelementEnd();
21165
21091
  i0__namespace.ɵɵelementEnd();
21166
21092
  i0__namespace.ɵɵelementContainerEnd();
21167
21093
  }
21168
21094
  if (rf & 2) {
21169
- i0__namespace.ɵɵadvance(5);
21170
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 1, "Hearing date"), " ");
21095
+ var ctx_r4 = i0__namespace.ɵɵnextContext();
21096
+ i0__namespace.ɵɵadvance(1);
21097
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$B, ctx_r4.submitted && ctx_r4.formGroup.get("isHearingRelated").value === true && ctx_r4.formGroup.get("hearingDate").value === null));
21098
+ i0__namespace.ɵɵadvance(4);
21099
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "Hearing date"), " ");
21100
+ i0__namespace.ɵɵadvance(2);
21101
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.submitted && ctx_r4.formGroup.get("isHearingRelated").value === true && ctx_r4.formGroup.get("hearingDate").value === null);
21171
21102
  }
21172
21103
  }
21173
21104
  var QueryWriteRaiseQueryComponent = /** @class */ (function () {
21174
21105
  function QueryWriteRaiseQueryComponent() {
21106
+ this.raiseQueryErrorMessage = RaiseQueryErrorMessage;
21175
21107
  }
21176
21108
  return QueryWriteRaiseQueryComponent;
21177
21109
  }());
21178
21110
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
21179
- QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 63, vars: 61, 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"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21111
+ QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 64, vars: 62, 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", "fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "fullName-hint", 1, "govuk-hint"], ["id", "fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "fullName", "name", "fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["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"], ["id", "subject", "name", "subject", "type", "text", 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"], ["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", "fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21180
21112
  if (rf & 1) {
21181
21113
  i0__namespace.ɵɵelementStart(0, "div");
21182
21114
  i0__namespace.ɵɵelementStart(1, "div", 0);
@@ -21224,6 +21156,7 @@
21224
21156
  i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
21225
21157
  i0__namespace.ɵɵelement(33, "input", 14);
21226
21158
  i0__namespace.ɵɵelementEnd();
21159
+ i0__namespace.ɵɵelementEnd();
21227
21160
  i0__namespace.ɵɵelementStart(34, "div", 5);
21228
21161
  i0__namespace.ɵɵelementStart(35, "div", 6);
21229
21162
  i0__namespace.ɵɵelementStart(36, "label", 15);
@@ -21248,89 +21181,81 @@
21248
21181
  i0__namespace.ɵɵpipe(50, "rpxTranslate");
21249
21182
  i0__namespace.ɵɵelementEnd();
21250
21183
  i0__namespace.ɵɵelementEnd();
21251
- i0__namespace.ɵɵelementStart(51, "div", 21);
21252
- i0__namespace.ɵɵelementStart(52, "div", 22);
21253
- i0__namespace.ɵɵelement(53, "input", 23);
21254
- i0__namespace.ɵɵelementStart(54, "label", 24);
21255
- i0__namespace.ɵɵtext(55);
21256
- i0__namespace.ɵɵpipe(56, "rpxTranslate");
21257
- i0__namespace.ɵɵelementEnd();
21184
+ i0__namespace.ɵɵtemplate(51, QueryWriteRaiseQueryComponent_p_51_Template, 6, 6, "p", 17);
21185
+ i0__namespace.ɵɵelementStart(52, "div", 21);
21186
+ i0__namespace.ɵɵelementStart(53, "div", 22);
21187
+ i0__namespace.ɵɵelement(54, "input", 23);
21188
+ i0__namespace.ɵɵelementStart(55, "label", 24);
21189
+ i0__namespace.ɵɵtext(56);
21190
+ i0__namespace.ɵɵpipe(57, "rpxTranslate");
21258
21191
  i0__namespace.ɵɵelementEnd();
21259
- i0__namespace.ɵɵelementStart(57, "div", 22);
21260
- i0__namespace.ɵɵelement(58, "input", 25);
21261
- i0__namespace.ɵɵelementStart(59, "label", 26);
21262
- i0__namespace.ɵɵtext(60);
21263
- i0__namespace.ɵɵpipe(61, "rpxTranslate");
21264
21192
  i0__namespace.ɵɵelementEnd();
21193
+ i0__namespace.ɵɵelementStart(58, "div", 22);
21194
+ i0__namespace.ɵɵelement(59, "input", 25);
21195
+ i0__namespace.ɵɵelementStart(60, "label", 26);
21196
+ i0__namespace.ɵɵtext(61);
21197
+ i0__namespace.ɵɵpipe(62, "rpxTranslate");
21265
21198
  i0__namespace.ɵɵelementEnd();
21266
21199
  i0__namespace.ɵɵelementEnd();
21267
21200
  i0__namespace.ɵɵelementEnd();
21268
- i0__namespace.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 8, 3, "ng-container", 27);
21269
21201
  i0__namespace.ɵɵelementEnd();
21202
+ i0__namespace.ɵɵtemplate(63, QueryWriteRaiseQueryComponent_ng_container_63_Template, 9, 7, "ng-container", 27);
21270
21203
  i0__namespace.ɵɵelementEnd();
21271
21204
  i0__namespace.ɵɵelementEnd();
21272
21205
  i0__namespace.ɵɵelementEnd();
21273
21206
  i0__namespace.ɵɵelementEnd();
21274
21207
  }
21275
21208
  if (rf & 2) {
21276
- var tmp_3_0 = null;
21277
- var tmp_6_0 = null;
21278
- var tmp_7_0 = null;
21279
- var tmp_9_0 = null;
21280
- var tmp_12_0 = null;
21281
- var tmp_13_0 = null;
21282
- var tmp_15_0 = null;
21283
- var tmp_18_0 = null;
21284
- var tmp_19_0 = null;
21285
21209
  i0__namespace.ɵɵadvance(3);
21286
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 35, "Raise a query"));
21210
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 28, "Raise a query"));
21287
21211
  i0__namespace.ɵɵadvance(3);
21288
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 37, "Enter query details"));
21212
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 30, "Enter query details"));
21289
21213
  i0__namespace.ɵɵadvance(6);
21290
21214
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21291
21215
  i0__namespace.ɵɵadvance(2);
21292
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
21216
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(54, _c0$B, ctx.submitted && ctx.formGroup.get("fullName").hasError("required")));
21293
21217
  i0__namespace.ɵɵadvance(3);
21294
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 39, "Full name"), " ");
21218
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 32, "Full name"), " ");
21295
21219
  i0__namespace.ɵɵadvance(3);
21296
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
21220
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 34, "Your full name must be included here"), " ");
21297
21221
  i0__namespace.ɵɵadvance(2);
21298
- i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
21222
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("fullName").hasError("required"));
21299
21223
  i0__namespace.ɵɵadvance(1);
21300
- i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
21301
21224
  i0__namespace.ɵɵproperty("formControlName", "fullName");
21302
21225
  i0__namespace.ɵɵadvance(1);
21303
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
21226
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(56, _c0$B, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
21304
21227
  i0__namespace.ɵɵadvance(3);
21305
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 43, "Query subject"), " ");
21228
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 36, "Query subject"), " ");
21306
21229
  i0__namespace.ɵɵadvance(3);
21307
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
21230
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 38, "The subject should be a summary of your query"), " ");
21308
21231
  i0__namespace.ɵɵadvance(2);
21309
- i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
21232
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("subject").hasError("required"));
21310
21233
  i0__namespace.ɵɵadvance(1);
21311
- i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
21312
21234
  i0__namespace.ɵɵproperty("formControlName", "subject");
21313
21235
  i0__namespace.ɵɵadvance(1);
21314
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
21236
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(58, _c0$B, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
21315
21237
  i0__namespace.ɵɵadvance(3);
21316
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 47, "Query body"), " ");
21238
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 40, "Query body"), " ");
21317
21239
  i0__namespace.ɵɵadvance(3);
21318
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
21240
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 42, "Include as many details as possible so case workers can respond to your query"), " ");
21319
21241
  i0__namespace.ɵɵadvance(2);
21320
- i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
21242
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
21321
21243
  i0__namespace.ɵɵadvance(1);
21322
- i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
21323
21244
  i0__namespace.ɵɵproperty("formControlName", "body");
21324
- i0__namespace.ɵɵadvance(6);
21325
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
21245
+ i0__namespace.ɵɵadvance(2);
21246
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(60, _c0$B, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
21326
21247
  i0__namespace.ɵɵadvance(4);
21248
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 44, "Is the query hearing related?"), " ");
21249
+ i0__namespace.ɵɵadvance(2);
21250
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required"));
21251
+ i0__namespace.ɵɵadvance(3);
21327
21252
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
21328
21253
  i0__namespace.ɵɵadvance(2);
21329
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
21254
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(57, 46, "Is the query hearing related?", null, "Yes"), " ");
21330
21255
  i0__namespace.ɵɵadvance(3);
21331
21256
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
21332
21257
  i0__namespace.ɵɵadvance(2);
21333
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
21258
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(62, 50, "Is the query hearing related?", null, "No"), " ");
21334
21259
  i0__namespace.ɵɵadvance(2);
21335
21260
  i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
21336
21261
  }
@@ -21344,10 +21269,12 @@
21344
21269
  }]
21345
21270
  }], null, { formGroup: [{
21346
21271
  type: i0.Input
21272
+ }], submitted: [{
21273
+ type: i0.Input
21347
21274
  }] });
21348
21275
  })();
21349
21276
 
21350
- function QueryWriteRespondToQueryComponent_p_26_Template(rf, ctx) {
21277
+ function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
21351
21278
  if (rf & 1) {
21352
21279
  i0__namespace.ɵɵelementStart(0, "p", 15);
21353
21280
  i0__namespace.ɵɵelementStart(1, "span", 16);
@@ -21371,7 +21298,7 @@
21371
21298
  return QueryWriteRespondToQueryComponent;
21372
21299
  }());
21373
21300
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
21374
- QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 29, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [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", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
21301
+ QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 30, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [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", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
21375
21302
  if (rf & 1) {
21376
21303
  i0__namespace.ɵɵelementStart(0, "div", 0);
21377
21304
  i0__namespace.ɵɵelementStart(1, "a", 1);
@@ -21398,21 +21325,23 @@
21398
21325
  i0__namespace.ɵɵelementEnd();
21399
21326
  i0__namespace.ɵɵelementEnd();
21400
21327
  i0__namespace.ɵɵelementStart(16, "div", 7);
21401
- i0__namespace.ɵɵelementStart(17, "h1", 8);
21402
- i0__namespace.ɵɵtext(18);
21403
- i0__namespace.ɵɵpipe(19, "rpxTranslate");
21328
+ i0__namespace.ɵɵelementStart(17, "div", 5);
21329
+ i0__namespace.ɵɵelementStart(18, "h1", 8);
21330
+ i0__namespace.ɵɵtext(19);
21331
+ i0__namespace.ɵɵpipe(20, "rpxTranslate");
21332
+ i0__namespace.ɵɵelementEnd();
21333
+ i0__namespace.ɵɵelementStart(21, "div", 9);
21334
+ i0__namespace.ɵɵelementStart(22, "div", 10);
21335
+ i0__namespace.ɵɵelementStart(23, "div", 11);
21336
+ i0__namespace.ɵɵelementStart(24, "label", 12);
21337
+ i0__namespace.ɵɵtext(25);
21338
+ i0__namespace.ɵɵpipe(26, "rpxTranslate");
21404
21339
  i0__namespace.ɵɵelementEnd();
21405
- i0__namespace.ɵɵelementStart(20, "div", 9);
21406
- i0__namespace.ɵɵelementStart(21, "div", 10);
21407
- i0__namespace.ɵɵelementStart(22, "div", 11);
21408
- i0__namespace.ɵɵelementStart(23, "label", 12);
21409
- i0__namespace.ɵɵtext(24);
21410
- i0__namespace.ɵɵpipe(25, "rpxTranslate");
21411
21340
  i0__namespace.ɵɵelementEnd();
21341
+ i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
21342
+ i0__namespace.ɵɵelementStart(28, "textarea", 14);
21343
+ i0__namespace.ɵɵtext(29, " ");
21412
21344
  i0__namespace.ɵɵelementEnd();
21413
- i0__namespace.ɵɵtemplate(26, QueryWriteRespondToQueryComponent_p_26_Template, 6, 6, "p", 13);
21414
- i0__namespace.ɵɵelementStart(27, "textarea", 14);
21415
- i0__namespace.ɵɵtext(28, " ");
21416
21345
  i0__namespace.ɵɵelementEnd();
21417
21346
  i0__namespace.ɵɵelementEnd();
21418
21347
  i0__namespace.ɵɵelementEnd();
@@ -21430,14 +21359,14 @@
21430
21359
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
21431
21360
  i0__namespace.ɵɵadvance(5);
21432
21361
  i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
21433
- i0__namespace.ɵɵadvance(3);
21434
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 19, "Respond to a query"));
21362
+ i0__namespace.ɵɵadvance(4);
21363
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 19, "Respond to a query"));
21435
21364
  i0__namespace.ɵɵadvance(2);
21436
21365
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21437
21366
  i0__namespace.ɵɵadvance(1);
21438
21367
  i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
21439
21368
  i0__namespace.ɵɵadvance(3);
21440
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(25, 21, "Response message"), " ");
21369
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 21, "Response message"), " ");
21441
21370
  i0__namespace.ɵɵadvance(2);
21442
21371
  i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
21443
21372
  i0__namespace.ɵɵadvance(1);
@@ -29371,7 +29300,6 @@
29371
29300
  QueryWriteRaiseQueryComponent,
29372
29301
  QueryCaseDetailsHeaderComponent,
29373
29302
  QueryWriteAddDocumentsComponent,
29374
- QueryWriteDateInputComponent
29375
29303
  ];
29376
29304
  var PaletteModule = /** @class */ (function () {
29377
29305
  function PaletteModule() {
@@ -29557,8 +29485,7 @@
29557
29485
  QueryWriteRespondToQueryComponent,
29558
29486
  QueryWriteRaiseQueryComponent,
29559
29487
  QueryCaseDetailsHeaderComponent,
29560
- QueryWriteAddDocumentsComponent,
29561
- QueryWriteDateInputComponent], imports: [i5.CommonModule,
29488
+ QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
29562
29489
  i1$1.RouterModule,
29563
29490
  i3.FormsModule,
29564
29491
  i3.ReactiveFormsModule,
@@ -29705,8 +29632,7 @@
29705
29632
  QueryWriteRespondToQueryComponent,
29706
29633
  QueryWriteRaiseQueryComponent,
29707
29634
  QueryCaseDetailsHeaderComponent,
29708
- QueryWriteAddDocumentsComponent,
29709
- QueryWriteDateInputComponent] });
29635
+ QueryWriteAddDocumentsComponent] });
29710
29636
  })();
29711
29637
  (function () {
29712
29638
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -29852,7 +29778,7 @@
29852
29778
  i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
29853
29779
  i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
29854
29780
  QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
29855
- i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
29781
+ 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], [i1__namespace.RpxTranslatePipe]);
29856
29782
  i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
29857
29783
 
29858
29784
  var Confirmation = /** @class */ (function () {
@@ -40477,7 +40403,6 @@
40477
40403
  exports.QueryListData = QueryListData;
40478
40404
  exports.QueryListItem = QueryListItem;
40479
40405
  exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
40480
- exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
40481
40406
  exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
40482
40407
  exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
40483
40408
  exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;