@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-document-uploader-v4 → 6.16.0-query-details-navigation

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 (40) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +548 -249
  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 +9 -9
  6. package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +45 -1
  7. package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -2
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +171 -0
  9. package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +17 -20
  10. package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +2 -0
  11. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +2 -3
  12. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +2 -2
  13. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +82 -23
  14. package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
  15. package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +7 -6
  16. package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +18 -3
  17. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +492 -208
  18. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  19. package/lib/shared/components/palette/palette.module.d.ts +31 -30
  20. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  21. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +2 -0
  22. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
  23. package/lib/shared/components/palette/query-management/components/index.d.ts +2 -1
  24. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  25. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +18 -0
  26. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -0
  27. package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts +5 -1
  28. package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts.map +1 -1
  29. package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +5 -0
  30. package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts.map +1 -0
  31. package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
  32. package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +11 -3
  33. package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
  34. package/lib/shared/components/palette/query-management/index.d.ts +1 -1
  35. package/lib/shared/components/palette/query-management/index.d.ts.map +1 -1
  36. package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +3 -2
  37. package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +1 -1
  38. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +5 -1
  39. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -1
  40. 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$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);
@@ -20252,99 +20252,49 @@
20252
20252
  ]
20253
20253
  }
20254
20254
  ];
20255
-
20256
- var QueryListItem = /** @class */ (function () {
20257
- function QueryListItem() {
20258
- this.children = [];
20259
- }
20260
- Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
20261
- get: function () {
20262
- var getLastSubmittedMessage = function (item) {
20263
- var e_1, _b;
20264
- var lastSubmittedMessage = item;
20265
- if (item.children && item.children.length > 0) {
20266
- try {
20267
- for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
20268
- var child = _d.value;
20269
- var childLastSubmittedMessage = getLastSubmittedMessage(child);
20270
- if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
20271
- lastSubmittedMessage = childLastSubmittedMessage;
20272
- }
20273
- }
20274
- }
20275
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
20276
- finally {
20277
- try {
20278
- if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
20279
- }
20280
- finally { if (e_1) throw e_1.error; }
20281
- }
20282
- }
20283
- return lastSubmittedMessage;
20284
- };
20285
- return getLastSubmittedMessage(this);
20286
- },
20287
- enumerable: false,
20288
- configurable: true
20289
- });
20290
- Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
20291
- get: function () {
20292
- return this.lastSubmittedMessage.name;
20293
- },
20294
- enumerable: false,
20295
- configurable: true
20296
- });
20297
- Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
20298
- get: function () {
20299
- return new Date(this.lastSubmittedMessage.createdOn);
20300
- },
20301
- enumerable: false,
20302
- configurable: true
20303
- });
20304
- Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
20305
- get: function () {
20306
- var _a;
20307
- return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
20308
- },
20309
- enumerable: false,
20310
- configurable: true
20311
- });
20312
- Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
20313
- get: function () {
20314
- var _a;
20315
- return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
20255
+ var caseFieldMockData = Object.assign(new CaseField(), {
20256
+ id: '',
20257
+ label: '',
20258
+ hint_text: '',
20259
+ field_type: Object.assign(new FieldType(), {
20260
+ id: 'QueryDocuments',
20261
+ type: 'QueryDocuments',
20262
+ min: null,
20263
+ max: null,
20264
+ regular_expression: null,
20265
+ fixed_list_items: [],
20266
+ complex_fields: [],
20267
+ collection_field_type: Object.assign(new FieldType(), {
20268
+ id: 'Document',
20269
+ type: 'Document',
20270
+ min: null,
20271
+ max: null,
20272
+ regular_expression: null,
20273
+ fixed_list_items: [],
20274
+ complex_fields: [],
20275
+ collection_field_type: null
20276
+ })
20277
+ }),
20278
+ display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
20279
+ value: [
20280
+ {
20281
+ id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
20282
+ value: {
20283
+ document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
20284
+ document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
20285
+ document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
20286
+ }
20316
20287
  },
20317
- enumerable: false,
20318
- configurable: true
20319
- });
20320
- return QueryListItem;
20321
- }());
20322
-
20323
- var QueryListData = /** @class */ (function () {
20324
- function QueryListData(partyMessagesGroup) {
20325
- var _this = this;
20326
- this.partyName = partyMessagesGroup.partyName;
20327
- this.roleOnCase = partyMessagesGroup.roleOnCase;
20328
- // get the parent messages (messages without parentId) and add the children to them
20329
- var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
20330
- this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
20331
- }
20332
- QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
20333
- var _this = this;
20334
- var queryListItem = new QueryListItem();
20335
- Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
20336
- .filter(function (childMessage) { return childMessage.parentId === message.id; })
20337
- .map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
20338
- return queryListItem;
20339
- };
20340
- return QueryListData;
20341
- }());
20342
-
20343
- exports.QueryListResponseStatus = void 0;
20344
- (function (QueryListResponseStatus) {
20345
- QueryListResponseStatus["NEW"] = "New";
20346
- QueryListResponseStatus["RESPONDED"] = "Responded";
20347
- })(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
20288
+ {
20289
+ id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
20290
+ value: {
20291
+ document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
20292
+ document_filename: 'dummy.pdf',
20293
+ document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
20294
+ }
20295
+ }
20296
+ ]
20297
+ });
20348
20298
 
20349
20299
  var MarkdownComponent = /** @class */ (function () {
20350
20300
  function MarkdownComponent() {
@@ -20466,87 +20416,297 @@
20466
20416
  }], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
20467
20417
  })();
20468
20418
 
20469
- var QueryCreateComponent = /** @class */ (function () {
20470
- function QueryCreateComponent() {
20419
+ var QueryListItem = /** @class */ (function () {
20420
+ function QueryListItem() {
20421
+ this.children = [];
20471
20422
  }
20472
- QueryCreateComponent.prototype.ngOnInit = function () {
20423
+ Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
20424
+ get: function () {
20425
+ var getLastSubmittedMessage = function (item) {
20426
+ var e_1, _b;
20427
+ var lastSubmittedMessage = item;
20428
+ if (item.children && item.children.length > 0) {
20429
+ try {
20430
+ for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
20431
+ var child = _d.value;
20432
+ var childLastSubmittedMessage = getLastSubmittedMessage(child);
20433
+ if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
20434
+ lastSubmittedMessage = childLastSubmittedMessage;
20435
+ }
20436
+ }
20437
+ }
20438
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
20439
+ finally {
20440
+ try {
20441
+ if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
20442
+ }
20443
+ finally { if (e_1) throw e_1.error; }
20444
+ }
20445
+ }
20446
+ return lastSubmittedMessage;
20447
+ };
20448
+ return getLastSubmittedMessage(this);
20449
+ },
20450
+ enumerable: false,
20451
+ configurable: true
20452
+ });
20453
+ Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
20454
+ get: function () {
20455
+ return this.lastSubmittedMessage.name;
20456
+ },
20457
+ enumerable: false,
20458
+ configurable: true
20459
+ });
20460
+ Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
20461
+ get: function () {
20462
+ return new Date(this.lastSubmittedMessage.createdOn);
20463
+ },
20464
+ enumerable: false,
20465
+ configurable: true
20466
+ });
20467
+ Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
20468
+ get: function () {
20469
+ var _a;
20470
+ return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
20471
+ },
20472
+ enumerable: false,
20473
+ configurable: true
20474
+ });
20475
+ Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
20476
+ get: function () {
20477
+ var _a;
20478
+ return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
20479
+ },
20480
+ enumerable: false,
20481
+ configurable: true
20482
+ });
20483
+ return QueryListItem;
20484
+ }());
20485
+
20486
+ var QueryListData = /** @class */ (function () {
20487
+ function QueryListData(partyMessagesGroup) {
20488
+ var _this = this;
20489
+ this.partyName = partyMessagesGroup.partyName;
20490
+ this.roleOnCase = partyMessagesGroup.roleOnCase;
20491
+ // get the parent messages (messages without parentId) and add the children to them
20492
+ var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
20493
+ this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
20494
+ }
20495
+ QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
20496
+ var _this = this;
20497
+ var queryListItem = new QueryListItem();
20498
+ Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
20499
+ .filter(function (childMessage) { return childMessage.parentId === message.id; })
20500
+ .map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
20501
+ return queryListItem;
20473
20502
  };
20474
- return QueryCreateComponent;
20503
+ return QueryListData;
20475
20504
  }());
20476
- QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
20477
- QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
20478
- (function () {
20479
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
20480
- type: i0.Component,
20481
- args: [{
20482
- selector: 'ccd-query-create',
20483
- templateUrl: './query-create.component.html',
20484
- }]
20485
- }], function () { return []; }, null);
20486
- })();
20487
20505
 
20488
- function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
20506
+ exports.QueryItemType = void 0;
20507
+ (function (QueryItemType) {
20508
+ QueryItemType["NEW"] = "New";
20509
+ QueryItemType["RESPOND"] = "Respond";
20510
+ QueryItemType["FOLLOWUP"] = "Followup";
20511
+ })(exports.QueryItemType || (exports.QueryItemType = {}));
20512
+
20513
+ function QueryCheckYourAnswersComponent_dl_7_Template(rf, ctx) {
20489
20514
  if (rf & 1) {
20490
- var _r2_1 = i0__namespace.ɵɵgetCurrentView();
20491
- i0__namespace.ɵɵelementContainerStart(0);
20492
- i0__namespace.ɵɵelementStart(1, "p");
20493
- i0__namespace.ɵɵelement(2, "br");
20494
- i0__namespace.ɵɵelementStart(3, "a", 1);
20495
- i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
20496
- i0__namespace.ɵɵtext(4);
20497
- i0__namespace.ɵɵpipe(5, "rpxTranslate");
20515
+ i0__namespace.ɵɵelementStart(0, "dl", 5);
20516
+ i0__namespace.ɵɵelementStart(1, "div", 6);
20517
+ i0__namespace.ɵɵelementStart(2, "dt", 7);
20518
+ i0__namespace.ɵɵtext(3);
20519
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
20520
+ i0__namespace.ɵɵelementEnd();
20521
+ i0__namespace.ɵɵelementStart(5, "dd", 8);
20522
+ i0__namespace.ɵɵtext(6);
20498
20523
  i0__namespace.ɵɵelementEnd();
20499
20524
  i0__namespace.ɵɵelementEnd();
20500
- i0__namespace.ɵɵelementStart(6, "div", 2);
20501
- i0__namespace.ɵɵtext(7);
20502
- i0__namespace.ɵɵpipe(8, "rpxTranslate");
20503
20525
  i0__namespace.ɵɵelementEnd();
20504
- i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
20505
- i0__namespace.ɵɵelementContainerEnd();
20506
20526
  }
20507
20527
  if (rf & 2) {
20508
20528
  var ctx_r0 = i0__namespace.ɵɵnextContext();
20509
- i0__namespace.ɵɵadvance(4);
20510
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
20511
20529
  i0__namespace.ɵɵadvance(3);
20512
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
20513
- i0__namespace.ɵɵadvance(2);
20514
- i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
20530
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Submitted query"), " ");
20531
+ i0__namespace.ɵɵadvance(3);
20532
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.queryItem.subject, " ");
20515
20533
  }
20516
20534
  }
20517
- var QueryDetailsComponent = /** @class */ (function () {
20518
- function QueryDetailsComponent() {
20535
+ function QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template(rf, ctx) {
20536
+ if (rf & 1) {
20537
+ i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 14);
20538
+ }
20539
+ if (rf & 2) {
20540
+ var ctx_r1 = i0__namespace.ɵɵnextContext();
20541
+ i0__namespace.ɵɵproperty("caseField", ctx_r1.caseField);
20542
+ }
20543
+ }
20544
+ var QueryCheckYourAnswersComponent = /** @class */ (function () {
20545
+ function QueryCheckYourAnswersComponent() {
20519
20546
  this.backClicked = new i0.EventEmitter();
20547
+ this.queryItemTypeEnum = exports.QueryItemType;
20520
20548
  }
20521
- QueryDetailsComponent.prototype.onBack = function () {
20549
+ QueryCheckYourAnswersComponent.prototype.ngOnInit = function () {
20550
+ // Set default value as false for testing follow up EUI-8387
20551
+ this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
20552
+ // Mock object
20553
+ this.caseField = caseFieldMockData;
20554
+ };
20555
+ QueryCheckYourAnswersComponent.prototype.goBack = function () {
20522
20556
  this.backClicked.emit(true);
20523
20557
  };
20524
- return QueryDetailsComponent;
20558
+ return QueryCheckYourAnswersComponent;
20525
20559
  }());
20526
- QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
20527
- QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
20560
+ QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
20561
+ QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", QueryCreateContext: "QueryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 49, vars: 31, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [1, "govuk-heading-l"], [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"], [1, "govuk-link", 3, "click"], [3, "caseField", 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"], [3, "caseField"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
20528
20562
  if (rf & 1) {
20529
- i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
20563
+ i0__namespace.ɵɵelementStart(0, "div", 0);
20564
+ i0__namespace.ɵɵelementStart(1, "div", 1);
20565
+ i0__namespace.ɵɵelementStart(2, "h1", 2);
20566
+ i0__namespace.ɵɵtext(3);
20567
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
20568
+ i0__namespace.ɵɵelementEnd();
20569
+ i0__namespace.ɵɵelementStart(5, "div", 3);
20570
+ i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
20571
+ i0__namespace.ɵɵelementEnd();
20572
+ i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_7_Template, 7, 4, "dl", 4);
20573
+ i0__namespace.ɵɵelementStart(8, "dl", 5);
20574
+ i0__namespace.ɵɵelementStart(9, "div", 6);
20575
+ i0__namespace.ɵɵelementStart(10, "dt", 7);
20576
+ i0__namespace.ɵɵtext(11);
20577
+ i0__namespace.ɵɵpipe(12, "rpxTranslate");
20578
+ i0__namespace.ɵɵelementEnd();
20579
+ i0__namespace.ɵɵelementStart(13, "dd", 8);
20580
+ i0__namespace.ɵɵtext(14);
20581
+ i0__namespace.ɵɵelementEnd();
20582
+ i0__namespace.ɵɵelementStart(15, "dd", 9);
20583
+ i0__namespace.ɵɵelementStart(16, "a", 10);
20584
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_16_listener() { return ctx.goBack(); });
20585
+ i0__namespace.ɵɵtext(17);
20586
+ i0__namespace.ɵɵpipe(18, "rpxTranslate");
20587
+ i0__namespace.ɵɵelementEnd();
20588
+ i0__namespace.ɵɵelementEnd();
20589
+ i0__namespace.ɵɵelementEnd();
20590
+ i0__namespace.ɵɵelementEnd();
20591
+ i0__namespace.ɵɵelementStart(19, "dl", 5);
20592
+ i0__namespace.ɵɵelementStart(20, "div", 6);
20593
+ i0__namespace.ɵɵelementStart(21, "dt", 7);
20594
+ i0__namespace.ɵɵtext(22);
20595
+ i0__namespace.ɵɵpipe(23, "rpxTranslate");
20596
+ i0__namespace.ɵɵelementEnd();
20597
+ i0__namespace.ɵɵelementStart(24, "dd", 8);
20598
+ i0__namespace.ɵɵtext(25);
20599
+ i0__namespace.ɵɵelementEnd();
20600
+ i0__namespace.ɵɵelementStart(26, "dd", 9);
20601
+ i0__namespace.ɵɵelementStart(27, "a", 10);
20602
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_27_listener() { return ctx.goBack(); });
20603
+ i0__namespace.ɵɵtext(28);
20604
+ i0__namespace.ɵɵpipe(29, "rpxTranslate");
20605
+ i0__namespace.ɵɵelementEnd();
20606
+ i0__namespace.ɵɵelementEnd();
20607
+ i0__namespace.ɵɵelementEnd();
20608
+ i0__namespace.ɵɵelementEnd();
20609
+ i0__namespace.ɵɵelementStart(30, "dl", 5);
20610
+ i0__namespace.ɵɵelementStart(31, "div", 6);
20611
+ i0__namespace.ɵɵelementStart(32, "dt", 7);
20612
+ i0__namespace.ɵɵtext(33);
20613
+ i0__namespace.ɵɵpipe(34, "rpxTranslate");
20614
+ i0__namespace.ɵɵelementEnd();
20615
+ i0__namespace.ɵɵelementStart(35, "dd", 8);
20616
+ i0__namespace.ɵɵtemplate(36, QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template, 1, 1, "ccd-read-collection-field", 11);
20617
+ i0__namespace.ɵɵelementEnd();
20618
+ i0__namespace.ɵɵelementStart(37, "dd", 9);
20619
+ i0__namespace.ɵɵelementStart(38, "a", 10);
20620
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_38_listener() { return ctx.goBack(); });
20621
+ i0__namespace.ɵɵtext(39);
20622
+ i0__namespace.ɵɵpipe(40, "rpxTranslate");
20623
+ i0__namespace.ɵɵelementEnd();
20624
+ i0__namespace.ɵɵelementEnd();
20625
+ i0__namespace.ɵɵelementEnd();
20626
+ i0__namespace.ɵɵelementEnd();
20627
+ i0__namespace.ɵɵelement(41, "br");
20628
+ i0__namespace.ɵɵelementStart(42, "div");
20629
+ i0__namespace.ɵɵelementStart(43, "button", 12);
20630
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_43_listener() { return ctx.goBack(); });
20631
+ i0__namespace.ɵɵtext(44);
20632
+ i0__namespace.ɵɵpipe(45, "rpxTranslate");
20633
+ i0__namespace.ɵɵelementEnd();
20634
+ i0__namespace.ɵɵelementStart(46, "button", 13);
20635
+ i0__namespace.ɵɵtext(47);
20636
+ i0__namespace.ɵɵpipe(48, "rpxTranslate");
20637
+ i0__namespace.ɵɵelementEnd();
20638
+ i0__namespace.ɵɵelementEnd();
20639
+ i0__namespace.ɵɵelementEnd();
20640
+ i0__namespace.ɵɵelementEnd();
20530
20641
  }
20531
20642
  if (rf & 2) {
20532
- i0__namespace.ɵɵproperty("ngIf", ctx.query);
20643
+ i0__namespace.ɵɵadvance(3);
20644
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 13, "Review query details"), " ");
20645
+ i0__namespace.ɵɵadvance(4);
20646
+ i0__namespace.ɵɵproperty("ngIf", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND);
20647
+ i0__namespace.ɵɵadvance(4);
20648
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 15, "Full name"), " ");
20649
+ i0__namespace.ɵɵadvance(3);
20650
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["fullName"].value, " ");
20651
+ i0__namespace.ɵɵadvance(3);
20652
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 17, "Change"), " ");
20653
+ i0__namespace.ɵɵadvance(5);
20654
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(23, 19, "Query body"), " ");
20655
+ i0__namespace.ɵɵadvance(3);
20656
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
20657
+ i0__namespace.ɵɵadvance(3);
20658
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 21, "Change"), " ");
20659
+ i0__namespace.ɵɵadvance(5);
20660
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(34, 23, "Document attached"), " ");
20661
+ i0__namespace.ɵɵadvance(3);
20662
+ i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
20663
+ i0__namespace.ɵɵadvance(3);
20664
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 25, "Change"), " ");
20665
+ i0__namespace.ɵɵadvance(5);
20666
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(45, 27, "Previous"), " ");
20667
+ i0__namespace.ɵɵadvance(3);
20668
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(48, 29, "Submit"), " ");
20533
20669
  }
20534
- }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
20670
+ }, styles: [".collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
20535
20671
  (function () {
20536
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
20672
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
20537
20673
  type: i0.Component,
20538
20674
  args: [{
20539
- selector: 'ccd-query-details',
20540
- templateUrl: './query-details.component.html',
20541
- styleUrls: ['./query-details.component.scss']
20675
+ selector: 'ccd-query-check-your-answers',
20676
+ templateUrl: './query-check-your-answers.component.html',
20677
+ styleUrls: ['./query-check-your-answers.component.scss'],
20678
+ encapsulation: i0.ViewEncapsulation.None
20542
20679
  }]
20543
- }], null, { query: [{
20680
+ }], null, { formGroup: [{
20681
+ type: i0.Input
20682
+ }], queryItem: [{
20683
+ type: i0.Input
20684
+ }], QueryCreateContext: [{
20544
20685
  type: i0.Input
20545
20686
  }], backClicked: [{
20546
20687
  type: i0.Output
20547
20688
  }] });
20548
20689
  })();
20549
20690
 
20691
+ var QueryCreateComponent = /** @class */ (function () {
20692
+ function QueryCreateComponent() {
20693
+ }
20694
+ QueryCreateComponent.prototype.ngOnInit = function () {
20695
+ };
20696
+ return QueryCreateComponent;
20697
+ }());
20698
+ QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
20699
+ QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
20700
+ (function () {
20701
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
20702
+ type: i0.Component,
20703
+ args: [{
20704
+ selector: 'ccd-query-create',
20705
+ templateUrl: './query-create.component.html',
20706
+ }]
20707
+ }], function () { return []; }, null);
20708
+ })();
20709
+
20550
20710
  function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
20551
20711
  if (rf & 1) {
20552
20712
  i0__namespace.ɵɵelementStart(0, "tr", 3);
@@ -20568,20 +20728,13 @@
20568
20728
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
20569
20729
  }
20570
20730
  }
20571
- function QueryDetailsTableComponent_ng_container_0_div_41_Template(rf, ctx) {
20731
+ function QueryDetailsTableComponent_ng_container_0_ccd_read_collection_field_41_Template(rf, ctx) {
20572
20732
  if (rf & 1) {
20573
- i0__namespace.ɵɵelementStart(0, "div");
20574
- i0__namespace.ɵɵelementStart(1, "a", 8);
20575
- i0__namespace.ɵɵtext(2);
20576
- i0__namespace.ɵɵelementEnd();
20577
- i0__namespace.ɵɵelementEnd();
20733
+ i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 8);
20578
20734
  }
20579
20735
  if (rf & 2) {
20580
- var attachment_r3 = ctx.$implicit;
20581
- i0__namespace.ɵɵadvance(1);
20582
- i0__namespace.ɵɵproperty("href", attachment_r3._links.self.href, i0__namespace.ɵɵsanitizeUrl);
20583
- i0__namespace.ɵɵadvance(1);
20584
- i0__namespace.ɵɵtextInterpolate(attachment_r3.originalDocumentName);
20736
+ var ctx_r2 = i0__namespace.ɵɵnextContext(2);
20737
+ i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
20585
20738
  }
20586
20739
  }
20587
20740
  function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) {
@@ -20643,7 +20796,7 @@
20643
20796
  i0__namespace.ɵɵpipe(39, "rpxTranslate");
20644
20797
  i0__namespace.ɵɵelementEnd();
20645
20798
  i0__namespace.ɵɵelementStart(40, "td", 5);
20646
- i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_div_41_Template, 3, 2, "div", 7);
20799
+ i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_ccd_read_collection_field_41_Template, 1, 1, "ccd-read-collection-field", 7);
20647
20800
  i0__namespace.ɵɵelementEnd();
20648
20801
  i0__namespace.ɵɵelementEnd();
20649
20802
  i0__namespace.ɵɵelementEnd();
@@ -20679,36 +20832,103 @@
20679
20832
  i0__namespace.ɵɵadvance(3);
20680
20833
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(39, 29, "Attachments"));
20681
20834
  i0__namespace.ɵɵadvance(3);
20682
- i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
20835
+ i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseField);
20683
20836
  }
20684
20837
  }
20685
20838
  var QueryDetailsTableComponent = /** @class */ (function () {
20686
20839
  function QueryDetailsTableComponent() {
20687
20840
  }
20841
+ QueryDetailsTableComponent.prototype.ngOnInit = function () {
20842
+ // Mock object
20843
+ this.caseField = caseFieldMockData;
20844
+ };
20688
20845
  return QueryDetailsTableComponent;
20689
20846
  }());
20690
20847
  QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
20691
- QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["target", "_blank", 3, "href"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
20848
+ QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [3, "caseField"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
20692
20849
  if (rf & 1) {
20693
20850
  i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
20694
20851
  }
20695
20852
  if (rf & 2) {
20696
20853
  i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
20697
20854
  }
20698
- }, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
20855
+ }, styles: [".query-details-table .govuk-table__header{width:330px}.query-details-table .collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
20699
20856
  (function () {
20700
20857
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
20701
20858
  type: i0.Component,
20702
20859
  args: [{
20703
20860
  selector: 'ccd-query-details-table',
20704
20861
  templateUrl: './query-details-table.component.html',
20705
- styleUrls: ['./query-details-table.component.scss']
20862
+ styleUrls: ['./query-details-table.component.scss'],
20863
+ encapsulation: i0.ViewEncapsulation.None
20706
20864
  }]
20707
20865
  }], null, { queryItem: [{
20708
20866
  type: i0.Input
20709
20867
  }] });
20710
20868
  })();
20711
20869
 
20870
+ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
20871
+ if (rf & 1) {
20872
+ var _r2_1 = i0__namespace.ɵɵgetCurrentView();
20873
+ i0__namespace.ɵɵelementContainerStart(0);
20874
+ i0__namespace.ɵɵelementStart(1, "p");
20875
+ i0__namespace.ɵɵelement(2, "br");
20876
+ i0__namespace.ɵɵelementStart(3, "a", 1);
20877
+ i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
20878
+ i0__namespace.ɵɵtext(4);
20879
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
20880
+ i0__namespace.ɵɵelementEnd();
20881
+ i0__namespace.ɵɵelementEnd();
20882
+ i0__namespace.ɵɵelementStart(6, "div", 2);
20883
+ i0__namespace.ɵɵtext(7);
20884
+ i0__namespace.ɵɵpipe(8, "rpxTranslate");
20885
+ i0__namespace.ɵɵelementEnd();
20886
+ i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
20887
+ i0__namespace.ɵɵelementContainerEnd();
20888
+ }
20889
+ if (rf & 2) {
20890
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
20891
+ i0__namespace.ɵɵadvance(4);
20892
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
20893
+ i0__namespace.ɵɵadvance(3);
20894
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
20895
+ i0__namespace.ɵɵadvance(2);
20896
+ i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
20897
+ }
20898
+ }
20899
+ var QueryDetailsComponent = /** @class */ (function () {
20900
+ function QueryDetailsComponent() {
20901
+ this.backClicked = new i0.EventEmitter();
20902
+ }
20903
+ QueryDetailsComponent.prototype.onBack = function () {
20904
+ this.backClicked.emit(true);
20905
+ };
20906
+ return QueryDetailsComponent;
20907
+ }());
20908
+ QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
20909
+ QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
20910
+ if (rf & 1) {
20911
+ i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
20912
+ }
20913
+ if (rf & 2) {
20914
+ i0__namespace.ɵɵproperty("ngIf", ctx.query);
20915
+ }
20916
+ }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
20917
+ (function () {
20918
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
20919
+ type: i0.Component,
20920
+ args: [{
20921
+ selector: 'ccd-query-details',
20922
+ templateUrl: './query-details.component.html',
20923
+ styleUrls: ['./query-details.component.scss']
20924
+ }]
20925
+ }], null, { query: [{
20926
+ type: i0.Input
20927
+ }], backClicked: [{
20928
+ type: i0.Output
20929
+ }] });
20930
+ })();
20931
+
20712
20932
  var SortOrder;
20713
20933
  (function (SortOrder) {
20714
20934
  SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
@@ -20907,9 +21127,8 @@
20907
21127
  // This field is mocked to allow the document component to be used in isolation
20908
21128
  this.mockDocumentCaseField = Object.assign(new CaseField(), {
20909
21129
  id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
20910
- label: 'Add document',
21130
+ label: 'Add document (optional)',
20911
21131
  hint_text: 'Attach a document to this message',
20912
- display_context: 'OPTIONAL',
20913
21132
  display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
20914
21133
  field_type: Object.assign(new FieldType(), {
20915
21134
  id: 'queryDocuments',
@@ -21020,7 +21239,7 @@
21020
21239
  i0__namespace.ɵɵadvance(2);
21021
21240
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21022
21241
  i0__namespace.ɵɵadvance(2);
21023
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
21242
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
21024
21243
  }
21025
21244
  }
21026
21245
  var QueryWriteRaiseQueryComponent = /** @class */ (function () {
@@ -21197,10 +21416,28 @@
21197
21416
  }] });
21198
21417
  })();
21199
21418
 
21200
- function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
21419
+ function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
21201
21420
  if (rf & 1) {
21202
- i0__namespace.ɵɵelementStart(0, "p", 15);
21203
- i0__namespace.ɵɵelementStart(1, "span", 16);
21421
+ i0__namespace.ɵɵelementStart(0, "p", 20);
21422
+ i0__namespace.ɵɵelementStart(1, "span", 21);
21423
+ i0__namespace.ɵɵtext(2);
21424
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21425
+ i0__namespace.ɵɵelementEnd();
21426
+ i0__namespace.ɵɵtext(4);
21427
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21428
+ i0__namespace.ɵɵelementEnd();
21429
+ }
21430
+ if (rf & 2) {
21431
+ i0__namespace.ɵɵadvance(2);
21432
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21433
+ i0__namespace.ɵɵadvance(2);
21434
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter your full name"), " ");
21435
+ }
21436
+ }
21437
+ function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
21438
+ if (rf & 1) {
21439
+ i0__namespace.ɵɵelementStart(0, "p", 22);
21440
+ i0__namespace.ɵɵelementStart(1, "span", 21);
21204
21441
  i0__namespace.ɵɵtext(2);
21205
21442
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21206
21443
  i0__namespace.ɵɵelementEnd();
@@ -21215,13 +21452,21 @@
21215
21452
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
21216
21453
  }
21217
21454
  }
21455
+ var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
21218
21456
  var QueryWriteRespondToQueryComponent = /** @class */ (function () {
21219
- function QueryWriteRespondToQueryComponent() {
21457
+ function QueryWriteRespondToQueryComponent(route) {
21458
+ this.route = route;
21459
+ // Set default value as false for testing follow up EUI-8454
21460
+ this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
21461
+ this.queryItemTypeEnum = exports.QueryItemType;
21220
21462
  }
21463
+ QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
21464
+ this.caseId = this.route.snapshot.params.cid;
21465
+ };
21221
21466
  return QueryWriteRespondToQueryComponent;
21222
21467
  }());
21223
- QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
21224
- 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) {
21468
+ QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute)); };
21469
+ QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", QueryCreateContext: "QueryCreateContext" }, decls: 40, vars: 38, 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"], [1, "govuk-label-wrapper"], ["for", "query-respond-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-respond-fullName-hint", 1, "govuk-hint"], ["id", "query-respond-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-respond-fullName", "name", "query-respond-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], [1, "govuk-form-group", "body-textarea"], ["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-respond-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-body-error", 1, "govuk-error-message"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
21225
21470
  if (rf & 1) {
21226
21471
  i0__namespace.ɵɵelementStart(0, "div", 0);
21227
21472
  i0__namespace.ɵɵelementStart(1, "a", 1);
@@ -21261,9 +21506,23 @@
21261
21506
  i0__namespace.ɵɵpipe(26, "rpxTranslate");
21262
21507
  i0__namespace.ɵɵelementEnd();
21263
21508
  i0__namespace.ɵɵelementEnd();
21264
- i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
21265
- i0__namespace.ɵɵelementStart(28, "textarea", 14);
21266
- i0__namespace.ɵɵtext(29, " ");
21509
+ i0__namespace.ɵɵelementStart(27, "div", 13);
21510
+ i0__namespace.ɵɵtext(28);
21511
+ i0__namespace.ɵɵpipe(29, "rpxTranslate");
21512
+ i0__namespace.ɵɵelementEnd();
21513
+ i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
21514
+ i0__namespace.ɵɵelement(31, "input", 15);
21515
+ i0__namespace.ɵɵelementEnd();
21516
+ i0__namespace.ɵɵelementStart(32, "div", 16);
21517
+ i0__namespace.ɵɵelementStart(33, "div", 11);
21518
+ i0__namespace.ɵɵelementStart(34, "label", 17);
21519
+ i0__namespace.ɵɵtext(35);
21520
+ i0__namespace.ɵɵpipe(36, "rpxTranslate");
21521
+ i0__namespace.ɵɵelementEnd();
21522
+ i0__namespace.ɵɵelementEnd();
21523
+ i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
21524
+ i0__namespace.ɵɵelementStart(38, "textarea", 19);
21525
+ i0__namespace.ɵɵtext(39, " ");
21267
21526
  i0__namespace.ɵɵelementEnd();
21268
21527
  i0__namespace.ɵɵelementEnd();
21269
21528
  i0__namespace.ɵɵelementEnd();
@@ -21271,29 +21530,45 @@
21271
21530
  i0__namespace.ɵɵelementEnd();
21272
21531
  }
21273
21532
  if (rf & 2) {
21274
- var tmp_6_0 = null;
21275
- var tmp_8_0 = null;
21276
- var tmp_9_0 = null;
21277
- i0__namespace.ɵɵadvance(2);
21278
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 13, "Back to tasks"));
21533
+ var tmp_7_0 = null;
21534
+ var tmp_10_0 = null;
21535
+ var tmp_11_0 = null;
21536
+ var tmp_13_0 = null;
21537
+ var tmp_15_0 = null;
21538
+ var tmp_16_0 = null;
21539
+ i0__namespace.ɵɵadvance(1);
21540
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(36, _c0$B, ctx.caseId));
21541
+ i0__namespace.ɵɵadvance(1);
21542
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 22, "Back to tasks"));
21279
21543
  i0__namespace.ɵɵadvance(5);
21280
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 15, "Respond to query"));
21544
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 24, "Respond to query"));
21281
21545
  i0__namespace.ɵɵadvance(3);
21282
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
21546
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 26, "Query details"));
21283
21547
  i0__namespace.ɵɵadvance(5);
21284
21548
  i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
21285
21549
  i0__namespace.ɵɵadvance(4);
21286
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 19, "Respond to a query"));
21550
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 28, "Ask a follow-up question"), " ");
21287
21551
  i0__namespace.ɵɵadvance(2);
21288
21552
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21289
21553
  i0__namespace.ɵɵadvance(1);
21290
- 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);
21554
+ i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
21555
+ i0__namespace.ɵɵadvance(3);
21556
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 30, "Full name"), " ");
21557
+ i0__namespace.ɵɵadvance(3);
21558
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 32, "Your full name must be included here"), " ");
21559
+ i0__namespace.ɵɵadvance(2);
21560
+ i0__namespace.ɵɵproperty("ngIf", (tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
21561
+ i0__namespace.ɵɵadvance(1);
21562
+ i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_11_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_11_0.errors == null ? null : tmp_11_0.errors.length);
21563
+ i0__namespace.ɵɵproperty("formControlName", "fullName");
21564
+ i0__namespace.ɵɵadvance(1);
21565
+ i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_13_0 = ctx.formGroup.get("body")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
21291
21566
  i0__namespace.ɵɵadvance(3);
21292
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 21, "Response message"), " ");
21567
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(36, 34, "Query Body"), " ");
21293
21568
  i0__namespace.ɵɵadvance(2);
21294
- i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
21569
+ i0__namespace.ɵɵproperty("ngIf", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
21295
21570
  i0__namespace.ɵɵadvance(1);
21296
- i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
21571
+ i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_16_0 = ctx.formGroup.get("body")) == null ? null : tmp_16_0.errors == null ? null : tmp_16_0.errors.length);
21297
21572
  i0__namespace.ɵɵproperty("formControlName", "body");
21298
21573
  }
21299
21574
  }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
@@ -21305,10 +21580,12 @@
21305
21580
  templateUrl: './query-write-respond-to-query.component.html',
21306
21581
  styleUrls: ['./query-write-respond-to-query.component.scss']
21307
21582
  }]
21308
- }], null, { queryItem: [{
21583
+ }], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, { queryItem: [{
21309
21584
  type: i0.Input
21310
21585
  }], formGroup: [{
21311
21586
  type: i0.Input
21587
+ }], QueryCreateContext: [{
21588
+ type: i0.Input
21312
21589
  }] });
21313
21590
  })();
21314
21591
 
@@ -21444,9 +21721,24 @@
21444
21721
  __extends(WriteQueryManagementFieldComponent, _super);
21445
21722
  function WriteQueryManagementFieldComponent() {
21446
21723
  var _this = _super.call(this) || this;
21447
- _this.formGroup = new i3.FormGroup({});
21724
+ _this.responseFormGroup = new i3.FormGroup({
21725
+ response: new i3.FormControl('', [i3.Validators.required]),
21726
+ documents: new i3.FormControl([])
21727
+ });
21728
+ _this.errorMessages = [];
21729
+ _this.submitted = false;
21448
21730
  return _this;
21449
21731
  }
21732
+ WriteQueryManagementFieldComponent.prototype.submitForm = function () {
21733
+ this.submitted = true;
21734
+ this.errorMessages = [];
21735
+ window.scrollTo(0, 0);
21736
+ if (!this.responseFormGroup.valid) {
21737
+ if (this.responseFormGroup.controls.response.hasError('required')) {
21738
+ this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
21739
+ }
21740
+ }
21741
+ };
21450
21742
  return WriteQueryManagementFieldComponent;
21451
21743
  }(AbstractFieldReadComponent));
21452
21744
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
@@ -29222,6 +29514,7 @@
29222
29514
  QueryWriteRespondToQueryComponent,
29223
29515
  QueryWriteRaiseQueryComponent,
29224
29516
  QueryCaseDetailsHeaderComponent,
29517
+ QueryCheckYourAnswersComponent,
29225
29518
  QueryWriteAddDocumentsComponent,
29226
29519
  ];
29227
29520
  var PaletteModule = /** @class */ (function () {
@@ -29408,6 +29701,7 @@
29408
29701
  QueryWriteRespondToQueryComponent,
29409
29702
  QueryWriteRaiseQueryComponent,
29410
29703
  QueryCaseDetailsHeaderComponent,
29704
+ QueryCheckYourAnswersComponent,
29411
29705
  QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
29412
29706
  i1$1.RouterModule,
29413
29707
  i3.FormsModule,
@@ -29555,6 +29849,7 @@
29555
29849
  QueryWriteRespondToQueryComponent,
29556
29850
  QueryWriteRaiseQueryComponent,
29557
29851
  QueryCaseDetailsHeaderComponent,
29852
+ QueryCheckYourAnswersComponent,
29558
29853
  QueryWriteAddDocumentsComponent] });
29559
29854
  })();
29560
29855
  (function () {
@@ -29699,9 +29994,11 @@
29699
29994
  QueryDetailsComponent], []);
29700
29995
  i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
29701
29996
  i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
29702
- i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
29997
+ i0__namespace.ɵɵsetComponentScope(QueryDetailsTableComponent, [i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
29998
+ i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1__namespace$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
29703
29999
  QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
29704
30000
  i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
30001
+ i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
29705
30002
  i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
29706
30003
 
29707
30004
  var Confirmation = /** @class */ (function () {
@@ -40319,6 +40616,7 @@
40319
40616
  exports.ProfileNotifier = ProfileNotifier;
40320
40617
  exports.ProfileService = ProfileService;
40321
40618
  exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
40619
+ exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
40322
40620
  exports.QueryCreateComponent = QueryCreateComponent;
40323
40621
  exports.QueryDetailsComponent = QueryDetailsComponent;
40324
40622
  exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
@@ -40438,6 +40736,7 @@
40438
40736
  exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
40439
40737
  exports.YesNoService = YesNoService;
40440
40738
  exports.aCaseField = aCaseField;
40739
+ exports.caseFieldMockData = caseFieldMockData;
40441
40740
  exports.createACL = createACL;
40442
40741
  exports.createCaseEventTrigger = createCaseEventTrigger;
40443
40742
  exports.createCaseField = createCaseField;