@hmcts/ccd-case-ui-toolkit 6.16.0-query-details-name-pre-filled → 6.16.0-query-management-read-view-changes

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20693,7 +20693,7 @@
20693
20693
  i0__namespace.ɵɵadvance(4);
20694
20694
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(13, 14, "Full name"), " ");
20695
20695
  i0__namespace.ɵɵadvance(3);
20696
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["name"].value, " ");
20696
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["fullName"].value, " ");
20697
20697
  i0__namespace.ɵɵadvance(3);
20698
20698
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(19, 16, "Change"), " ");
20699
20699
  i0__namespace.ɵɵadvance(5);
@@ -20984,31 +20984,33 @@
20984
20984
 
20985
20985
  function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
20986
20986
  if (rf & 1) {
20987
- var _r5_1 = i0__namespace.ɵɵgetCurrentView();
20987
+ var _r6_1 = i0__namespace.ɵɵgetCurrentView();
20988
20988
  i0__namespace.ɵɵelementStart(0, "th", 8);
20989
- i0__namespace.ɵɵtext(1);
20990
- i0__namespace.ɵɵpipe(2, "rpxTranslate");
20991
- i0__namespace.ɵɵelementStart(3, "a", 9);
20992
- i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var col_r3 = ctx.$implicit; var ctx_r4 = i0__namespace.ɵɵnextContext(2); return ctx_r4.sortTable(col_r3); });
20989
+ i0__namespace.ɵɵelementStart(1, "button", 9);
20990
+ i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var col_r3 = ctx.$implicit; var ctx_r5 = i0__namespace.ɵɵnextContext(2); return ctx_r5.sortTable(col_r3); });
20991
+ i0__namespace.ɵɵtext(2);
20992
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
20993
20993
  i0__namespace.ɵɵelementEnd();
20994
20994
  i0__namespace.ɵɵelementEnd();
20995
20995
  }
20996
20996
  if (rf & 2) {
20997
20997
  var col_r3 = ctx.$implicit;
20998
+ var i_r4 = ctx.index;
20998
20999
  var ctx_r1 = i0__namespace.ɵɵnextContext(2);
21000
+ i0__namespace.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
20999
21001
  i0__namespace.ɵɵadvance(1);
21000
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 2, col_r3.displayName), " ");
21001
- i0__namespace.ɵɵadvance(2);
21002
- i0__namespace.ɵɵproperty("innerHTML", ctx_r1.sortWidget(col_r3), i0__namespace.ɵɵsanitizeHtml);
21002
+ i0__namespace.ɵɵattribute("data-index", i_r4);
21003
+ i0__namespace.ɵɵadvance(1);
21004
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, col_r3.displayName), " ");
21003
21005
  }
21004
21006
  }
21005
21007
  function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) {
21006
21008
  if (rf & 1) {
21007
- var _r8_1 = i0__namespace.ɵɵgetCurrentView();
21009
+ var _r9_1 = i0__namespace.ɵɵgetCurrentView();
21008
21010
  i0__namespace.ɵɵelementStart(0, "tr", 4);
21009
21011
  i0__namespace.ɵɵelementStart(1, "td", 10);
21010
21012
  i0__namespace.ɵɵelementStart(2, "a", 11);
21011
- i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var message_r6 = ctx.$implicit; var ctx_r7 = i0__namespace.ɵɵnextContext(2); return ctx_r7.showDetails(message_r6); });
21013
+ i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var message_r7 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.showDetails(message_r7); });
21012
21014
  i0__namespace.ɵɵtext(3);
21013
21015
  i0__namespace.ɵɵelementEnd();
21014
21016
  i0__namespace.ɵɵelementEnd();
@@ -21029,17 +21031,17 @@
21029
21031
  i0__namespace.ɵɵelementEnd();
21030
21032
  }
21031
21033
  if (rf & 2) {
21032
- var message_r6 = ctx.$implicit;
21034
+ var message_r7 = ctx.$implicit;
21033
21035
  i0__namespace.ɵɵadvance(3);
21034
- i0__namespace.ɵɵtextInterpolate(message_r6.subject);
21036
+ i0__namespace.ɵɵtextInterpolate(message_r7.subject);
21035
21037
  i0__namespace.ɵɵadvance(2);
21036
- i0__namespace.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
21038
+ i0__namespace.ɵɵtextInterpolate(message_r7.lastSubmittedBy);
21037
21039
  i0__namespace.ɵɵadvance(2);
21038
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY"));
21040
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5, message_r7.lastSubmittedDate, "dd MMM YYYY"));
21039
21041
  i0__namespace.ɵɵadvance(3);
21040
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY"));
21042
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8, message_r7.lastResponseDate, "dd MMM YYYY"));
21041
21043
  i0__namespace.ɵɵadvance(3);
21042
- i0__namespace.ɵɵtextInterpolate(message_r6.lastResponseBy);
21044
+ i0__namespace.ɵɵtextInterpolate(message_r7.lastResponseBy);
21043
21045
  }
21044
21046
  }
21045
21047
  function QueryListComponent_ng_container_0_Template(rf, ctx) {
@@ -21053,7 +21055,7 @@
21053
21055
  i0__namespace.ɵɵelementEnd();
21054
21056
  i0__namespace.ɵɵelementStart(5, "thead", 3);
21055
21057
  i0__namespace.ɵɵelementStart(6, "tr", 4);
21056
- i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 4, "th", 5);
21058
+ i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 5, "th", 5);
21057
21059
  i0__namespace.ɵɵelementEnd();
21058
21060
  i0__namespace.ɵɵelementEnd();
21059
21061
  i0__namespace.ɵɵelementStart(8, "tbody", 6);
@@ -21076,7 +21078,7 @@
21076
21078
  function QueryListComponent() {
21077
21079
  this.selectedQuery = new i0.EventEmitter();
21078
21080
  this.displayedColumns = [
21079
- { name: 'subject', displayName: 'Queries', sortOrder: SortOrder.UNSORTED },
21081
+ { name: 'subject', displayName: 'Query subject', sortOrder: SortOrder.UNSORTED },
21080
21082
  { name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
21081
21083
  { name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
21082
21084
  { name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
@@ -21103,13 +21105,16 @@
21103
21105
  }
21104
21106
  }
21105
21107
  };
21106
- QueryListComponent.prototype.sortWidget = function (col) {
21108
+ QueryListComponent.prototype.getAriaSortHeaderValue = function (col) {
21107
21109
  switch (col.sortOrder) {
21108
21110
  case SortOrder.ASCENDING: {
21109
- return '▲';
21111
+ return 'ascending';
21112
+ }
21113
+ case SortOrder.DESCENDING: {
21114
+ return 'descending';
21110
21115
  }
21111
21116
  default: {
21112
- return '▼';
21117
+ return 'none';
21113
21118
  }
21114
21119
  }
21115
21120
  };
@@ -21143,14 +21148,14 @@
21143
21148
  return QueryListComponent;
21144
21149
  }());
21145
21150
  QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
21146
- QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__header"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
21151
+ QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
21147
21152
  if (rf & 1) {
21148
21153
  i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
21149
21154
  }
21150
21155
  if (rf & 2) {
21151
21156
  i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
21152
21157
  }
21153
- }, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: [".query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#000}"] });
21158
+ }, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["@charset \"UTF-8\";.query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
21154
21159
  (function () {
21155
21160
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
21156
21161
  type: i0.Component,
@@ -21378,8 +21383,8 @@
21378
21383
 
21379
21384
  function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
21380
21385
  if (rf & 1) {
21381
- i0__namespace.ɵɵelementStart(0, "p", 25);
21382
- i0__namespace.ɵɵelementStart(1, "span", 26);
21386
+ i0__namespace.ɵɵelementStart(0, "p", 29);
21387
+ i0__namespace.ɵɵelementStart(1, "span", 30);
21383
21388
  i0__namespace.ɵɵtext(2);
21384
21389
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21385
21390
  i0__namespace.ɵɵelementEnd();
@@ -21392,13 +21397,13 @@
21392
21397
  i0__namespace.ɵɵadvance(2);
21393
21398
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21394
21399
  i0__namespace.ɵɵadvance(2);
21395
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.QUERY_SUBJECT), " ");
21400
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.FULL_NAME), " ");
21396
21401
  }
21397
21402
  }
21398
21403
  function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
21399
21404
  if (rf & 1) {
21400
- i0__namespace.ɵɵelementStart(0, "p", 27);
21401
- i0__namespace.ɵɵelementStart(1, "span", 26);
21405
+ i0__namespace.ɵɵelementStart(0, "p", 31);
21406
+ i0__namespace.ɵɵelementStart(1, "span", 30);
21402
21407
  i0__namespace.ɵɵtext(2);
21403
21408
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21404
21409
  i0__namespace.ɵɵelementEnd();
@@ -21411,13 +21416,13 @@
21411
21416
  i0__namespace.ɵɵadvance(2);
21412
21417
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21413
21418
  i0__namespace.ɵɵadvance(2);
21414
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_BODY), " ");
21419
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_SUBJECT), " ");
21415
21420
  }
21416
21421
  }
21417
- function QueryWriteRaiseQueryComponent_p_41_Template(rf, ctx) {
21422
+ function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
21418
21423
  if (rf & 1) {
21419
- i0__namespace.ɵɵelementStart(0, "p", 28);
21420
- i0__namespace.ɵɵelementStart(1, "span", 26);
21424
+ i0__namespace.ɵɵelementStart(0, "p", 32);
21425
+ i0__namespace.ɵɵelementStart(1, "span", 30);
21421
21426
  i0__namespace.ɵɵtext(2);
21422
21427
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21423
21428
  i0__namespace.ɵɵelementEnd();
@@ -21430,13 +21435,13 @@
21430
21435
  i0__namespace.ɵɵadvance(2);
21431
21436
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21432
21437
  i0__namespace.ɵɵadvance(2);
21433
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
21438
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.raiseQueryErrorMessage.QUERY_BODY), " ");
21434
21439
  }
21435
21440
  }
21436
- function QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template(rf, ctx) {
21441
+ function QueryWriteRaiseQueryComponent_p_51_Template(rf, ctx) {
21437
21442
  if (rf & 1) {
21438
- i0__namespace.ɵɵelementStart(0, "p", 34);
21439
- i0__namespace.ɵɵelementStart(1, "span", 26);
21443
+ i0__namespace.ɵɵelementStart(0, "p", 33);
21444
+ i0__namespace.ɵɵelementStart(1, "span", 30);
21440
21445
  i0__namespace.ɵɵtext(2);
21441
21446
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21442
21447
  i0__namespace.ɵɵelementEnd();
@@ -21445,39 +21450,58 @@
21445
21450
  i0__namespace.ɵɵelementEnd();
21446
21451
  }
21447
21452
  if (rf & 2) {
21448
- var ctx_r4 = i0__namespace.ɵɵnextContext(2);
21453
+ var ctx_r3 = i0__namespace.ɵɵnextContext();
21454
+ i0__namespace.ɵɵadvance(2);
21455
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21456
+ i0__namespace.ɵɵadvance(2);
21457
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r3.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
21458
+ }
21459
+ }
21460
+ function QueryWriteRaiseQueryComponent_ng_container_63_p_7_Template(rf, ctx) {
21461
+ if (rf & 1) {
21462
+ i0__namespace.ɵɵelementStart(0, "p", 39);
21463
+ i0__namespace.ɵɵelementStart(1, "span", 30);
21464
+ i0__namespace.ɵɵtext(2);
21465
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21466
+ i0__namespace.ɵɵelementEnd();
21467
+ i0__namespace.ɵɵtext(4);
21468
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21469
+ i0__namespace.ɵɵelementEnd();
21470
+ }
21471
+ if (rf & 2) {
21472
+ var ctx_r5 = i0__namespace.ɵɵnextContext(2);
21449
21473
  i0__namespace.ɵɵadvance(2);
21450
21474
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21451
21475
  i0__namespace.ɵɵadvance(2);
21452
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
21476
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r5.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
21453
21477
  }
21454
21478
  }
21455
21479
  var _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
21456
- function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
21480
+ function QueryWriteRaiseQueryComponent_ng_container_63_Template(rf, ctx) {
21457
21481
  if (rf & 1) {
21458
21482
  i0__namespace.ɵɵelementContainerStart(0);
21459
- i0__namespace.ɵɵelementStart(1, "div", 29);
21460
- i0__namespace.ɵɵelementStart(2, "fieldset", 30);
21483
+ i0__namespace.ɵɵelementStart(1, "div", 34);
21484
+ i0__namespace.ɵɵelementStart(2, "fieldset", 35);
21461
21485
  i0__namespace.ɵɵelementStart(3, "legend");
21462
- i0__namespace.ɵɵelementStart(4, "label", 31);
21486
+ i0__namespace.ɵɵelementStart(4, "label", 36);
21463
21487
  i0__namespace.ɵɵtext(5);
21464
21488
  i0__namespace.ɵɵpipe(6, "rpxTranslate");
21465
21489
  i0__namespace.ɵɵelementEnd();
21466
21490
  i0__namespace.ɵɵelementEnd();
21467
- i0__namespace.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template, 6, 6, "p", 32);
21468
- i0__namespace.ɵɵelement(8, "ccd-query-write-date-input", 33);
21491
+ i0__namespace.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_ng_container_63_p_7_Template, 6, 6, "p", 37);
21492
+ i0__namespace.ɵɵelement(8, "ccd-query-write-date-input", 38);
21469
21493
  i0__namespace.ɵɵelementEnd();
21470
21494
  i0__namespace.ɵɵelementEnd();
21471
21495
  i0__namespace.ɵɵelementContainerEnd();
21472
21496
  }
21473
21497
  if (rf & 2) {
21474
- var ctx_r3 = i0__namespace.ɵɵnextContext();
21498
+ var ctx_r4 = i0__namespace.ɵɵnextContext();
21475
21499
  i0__namespace.ɵɵadvance(1);
21476
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
21500
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C, ctx_r4.submitted && ctx_r4.formGroup.get("isHearingRelated").value === true && ctx_r4.formGroup.get("hearingDate").value === null));
21477
21501
  i0__namespace.ɵɵadvance(4);
21478
21502
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "Hearing date"), " ");
21479
21503
  i0__namespace.ɵɵadvance(2);
21480
- i0__namespace.ɵɵproperty("ngIf", ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null);
21504
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.submitted && ctx_r4.formGroup.get("isHearingRelated").value === true && ctx_r4.formGroup.get("hearingDate").value === null);
21481
21505
  }
21482
21506
  }
21483
21507
  var QueryWriteRaiseQueryComponent = /** @class */ (function () {
@@ -21487,7 +21511,7 @@
21487
21511
  return QueryWriteRaiseQueryComponent;
21488
21512
  }());
21489
21513
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
21490
- QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 51, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "subject", "name", "subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21514
+ QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 64, vars: 62, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "fullName-hint", 1, "govuk-hint"], ["id", "fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "fullName", "name", "fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "subject", "name", "subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21491
21515
  if (rf & 1) {
21492
21516
  i0__namespace.ɵɵelementStart(0, "div");
21493
21517
  i0__namespace.ɵɵelementStart(1, "div", 0);
@@ -21521,7 +21545,6 @@
21521
21545
  i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
21522
21546
  i0__namespace.ɵɵelement(23, "input", 10);
21523
21547
  i0__namespace.ɵɵelementEnd();
21524
- i0__namespace.ɵɵelementEnd();
21525
21548
  i0__namespace.ɵɵelementStart(24, "div", 5);
21526
21549
  i0__namespace.ɵɵelementStart(25, "div", 6);
21527
21550
  i0__namespace.ɵɵelementStart(26, "label", 11);
@@ -21534,37 +21557,52 @@
21534
21557
  i0__namespace.ɵɵpipe(31, "rpxTranslate");
21535
21558
  i0__namespace.ɵɵelementEnd();
21536
21559
  i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
21537
- i0__namespace.ɵɵelementStart(33, "textarea", 14);
21538
- i0__namespace.ɵɵtext(34, " ");
21560
+ i0__namespace.ɵɵelement(33, "input", 14);
21539
21561
  i0__namespace.ɵɵelementEnd();
21540
21562
  i0__namespace.ɵɵelementEnd();
21541
- i0__namespace.ɵɵelementStart(35, "div", 5);
21542
- i0__namespace.ɵɵelementStart(36, "fieldset", 15);
21543
- i0__namespace.ɵɵelementStart(37, "legend");
21544
- i0__namespace.ɵɵelementStart(38, "label", 16);
21545
- i0__namespace.ɵɵtext(39);
21546
- i0__namespace.ɵɵpipe(40, "rpxTranslate");
21563
+ i0__namespace.ɵɵelementStart(34, "div", 5);
21564
+ i0__namespace.ɵɵelementStart(35, "div", 6);
21565
+ i0__namespace.ɵɵelementStart(36, "label", 15);
21566
+ i0__namespace.ɵɵtext(37);
21567
+ i0__namespace.ɵɵpipe(38, "rpxTranslate");
21547
21568
  i0__namespace.ɵɵelementEnd();
21548
21569
  i0__namespace.ɵɵelementEnd();
21549
- i0__namespace.ɵɵtemplate(41, QueryWriteRaiseQueryComponent_p_41_Template, 6, 6, "p", 17);
21550
- i0__namespace.ɵɵelementStart(42, "div", 18);
21551
- i0__namespace.ɵɵelementStart(43, "div", 19);
21552
- i0__namespace.ɵɵelement(44, "input", 20);
21553
- i0__namespace.ɵɵelementStart(45, "label", 21);
21554
- i0__namespace.ɵɵtext(46);
21555
- i0__namespace.ɵɵpipe(47, "rpxTranslate");
21570
+ i0__namespace.ɵɵelementStart(39, "div", 16);
21571
+ i0__namespace.ɵɵtext(40);
21572
+ i0__namespace.ɵɵpipe(41, "rpxTranslate");
21556
21573
  i0__namespace.ɵɵelementEnd();
21574
+ i0__namespace.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
21575
+ i0__namespace.ɵɵelementStart(43, "textarea", 18);
21576
+ i0__namespace.ɵɵtext(44, " ");
21557
21577
  i0__namespace.ɵɵelementEnd();
21558
- i0__namespace.ɵɵelementStart(48, "div", 19);
21559
- i0__namespace.ɵɵelement(49, "input", 22);
21560
- i0__namespace.ɵɵelementStart(50, "label", 23);
21561
- i0__namespace.ɵɵtext(51);
21562
- i0__namespace.ɵɵpipe(52, "rpxTranslate");
21563
21578
  i0__namespace.ɵɵelementEnd();
21579
+ i0__namespace.ɵɵelementStart(45, "div", 5);
21580
+ i0__namespace.ɵɵelementStart(46, "fieldset", 19);
21581
+ i0__namespace.ɵɵelementStart(47, "legend");
21582
+ i0__namespace.ɵɵelementStart(48, "label", 20);
21583
+ i0__namespace.ɵɵtext(49);
21584
+ i0__namespace.ɵɵpipe(50, "rpxTranslate");
21564
21585
  i0__namespace.ɵɵelementEnd();
21565
21586
  i0__namespace.ɵɵelementEnd();
21587
+ i0__namespace.ɵɵtemplate(51, QueryWriteRaiseQueryComponent_p_51_Template, 6, 6, "p", 21);
21588
+ i0__namespace.ɵɵelementStart(52, "div", 22);
21589
+ i0__namespace.ɵɵelementStart(53, "div", 23);
21590
+ i0__namespace.ɵɵelement(54, "input", 24);
21591
+ i0__namespace.ɵɵelementStart(55, "label", 25);
21592
+ i0__namespace.ɵɵtext(56);
21593
+ i0__namespace.ɵɵpipe(57, "rpxTranslate");
21566
21594
  i0__namespace.ɵɵelementEnd();
21567
- i0__namespace.ɵɵtemplate(53, QueryWriteRaiseQueryComponent_ng_container_53_Template, 9, 7, "ng-container", 24);
21595
+ i0__namespace.ɵɵelementEnd();
21596
+ i0__namespace.ɵɵelementStart(58, "div", 23);
21597
+ i0__namespace.ɵɵelement(59, "input", 26);
21598
+ i0__namespace.ɵɵelementStart(60, "label", 27);
21599
+ i0__namespace.ɵɵtext(61);
21600
+ i0__namespace.ɵɵpipe(62, "rpxTranslate");
21601
+ i0__namespace.ɵɵelementEnd();
21602
+ i0__namespace.ɵɵelementEnd();
21603
+ i0__namespace.ɵɵelementEnd();
21604
+ i0__namespace.ɵɵelementEnd();
21605
+ i0__namespace.ɵɵtemplate(63, QueryWriteRaiseQueryComponent_ng_container_63_Template, 9, 7, "ng-container", 28);
21568
21606
  i0__namespace.ɵɵelementEnd();
21569
21607
  i0__namespace.ɵɵelementEnd();
21570
21608
  i0__namespace.ɵɵelementEnd();
@@ -21572,45 +21610,55 @@
21572
21610
  }
21573
21611
  if (rf & 2) {
21574
21612
  i0__namespace.ɵɵadvance(3);
21575
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 23, "Raise a query"));
21613
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 28, "Raise a query"));
21576
21614
  i0__namespace.ɵɵadvance(3);
21577
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 25, "Enter query details"));
21615
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 30, "Enter query details"));
21578
21616
  i0__namespace.ɵɵadvance(6);
21579
21617
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21580
21618
  i0__namespace.ɵɵadvance(2);
21581
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(45, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
21619
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(54, _c0$C, ctx.submitted && ctx.formGroup.get("fullName").hasError("required")));
21620
+ i0__namespace.ɵɵadvance(3);
21621
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 32, "Full name"), " ");
21622
+ i0__namespace.ɵɵadvance(3);
21623
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 34, "Your full name must be included here"), " ");
21624
+ i0__namespace.ɵɵadvance(2);
21625
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("fullName").hasError("required"));
21626
+ i0__namespace.ɵɵadvance(1);
21627
+ i0__namespace.ɵɵproperty("formControlName", "fullName");
21628
+ i0__namespace.ɵɵadvance(1);
21629
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(56, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
21582
21630
  i0__namespace.ɵɵadvance(3);
21583
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 27, "Query subject"), " ");
21631
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 36, "Query subject"), " ");
21584
21632
  i0__namespace.ɵɵadvance(3);
21585
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 29, "The subject should be a summary of your query"), " ");
21633
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 38, "The subject should be a summary of your query"), " ");
21586
21634
  i0__namespace.ɵɵadvance(2);
21587
21635
  i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("subject").hasError("required"));
21588
21636
  i0__namespace.ɵɵadvance(1);
21589
21637
  i0__namespace.ɵɵproperty("formControlName", "subject");
21590
21638
  i0__namespace.ɵɵadvance(1);
21591
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(47, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
21639
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(58, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
21592
21640
  i0__namespace.ɵɵadvance(3);
21593
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 31, "Query body"), " ");
21641
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 40, "Query body"), " ");
21594
21642
  i0__namespace.ɵɵadvance(3);
21595
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 33, "Include as many details as possible so case workers can respond to your query"), " ");
21643
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 42, "Include as many details as possible so case workers can respond to your query"), " ");
21596
21644
  i0__namespace.ɵɵadvance(2);
21597
21645
  i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
21598
21646
  i0__namespace.ɵɵadvance(1);
21599
21647
  i0__namespace.ɵɵproperty("formControlName", "body");
21600
21648
  i0__namespace.ɵɵadvance(2);
21601
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
21649
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(60, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
21602
21650
  i0__namespace.ɵɵadvance(4);
21603
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 35, "Is the query hearing related?"), " ");
21651
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 44, "Is the query hearing related?"), " ");
21604
21652
  i0__namespace.ɵɵadvance(2);
21605
21653
  i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required"));
21606
21654
  i0__namespace.ɵɵadvance(3);
21607
21655
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
21608
21656
  i0__namespace.ɵɵadvance(2);
21609
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(47, 37, "Is the query hearing related?", null, "Yes"), " ");
21657
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(57, 46, "Is the query hearing related?", null, "Yes"), " ");
21610
21658
  i0__namespace.ɵɵadvance(3);
21611
21659
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
21612
21660
  i0__namespace.ɵɵadvance(2);
21613
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(52, 41, "Is the query hearing related?", null, "No"), " ");
21661
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(62, 50, "Is the query hearing related?", null, "No"), " ");
21614
21662
  i0__namespace.ɵɵadvance(2);
21615
21663
  i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
21616
21664
  }
@@ -21629,10 +21677,28 @@
21629
21677
  }] });
21630
21678
  })();
21631
21679
 
21632
- function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
21680
+ function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
21633
21681
  if (rf & 1) {
21634
- i0__namespace.ɵɵelementStart(0, "p", 15);
21635
- i0__namespace.ɵɵelementStart(1, "span", 16);
21682
+ i0__namespace.ɵɵelementStart(0, "p", 20);
21683
+ i0__namespace.ɵɵelementStart(1, "span", 21);
21684
+ i0__namespace.ɵɵtext(2);
21685
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21686
+ i0__namespace.ɵɵelementEnd();
21687
+ i0__namespace.ɵɵtext(4);
21688
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21689
+ i0__namespace.ɵɵelementEnd();
21690
+ }
21691
+ if (rf & 2) {
21692
+ i0__namespace.ɵɵadvance(2);
21693
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21694
+ i0__namespace.ɵɵadvance(2);
21695
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter your full name"), " ");
21696
+ }
21697
+ }
21698
+ function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
21699
+ if (rf & 1) {
21700
+ i0__namespace.ɵɵelementStart(0, "p", 22);
21701
+ i0__namespace.ɵɵelementStart(1, "span", 21);
21636
21702
  i0__namespace.ɵɵtext(2);
21637
21703
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21638
21704
  i0__namespace.ɵɵelementEnd();
@@ -21663,7 +21729,7 @@
21663
21729
  return QueryWriteRespondToQueryComponent;
21664
21730
  }());
21665
21731
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
21666
- QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 30, vars: 26, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0", 3, "routerLink"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "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) {
21732
+ QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, 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) {
21667
21733
  if (rf & 1) {
21668
21734
  i0__namespace.ɵɵelementStart(0, "div", 0);
21669
21735
  i0__namespace.ɵɵelementStart(1, "a", 1);
@@ -21703,9 +21769,23 @@
21703
21769
  i0__namespace.ɵɵpipe(26, "rpxTranslate");
21704
21770
  i0__namespace.ɵɵelementEnd();
21705
21771
  i0__namespace.ɵɵelementEnd();
21706
- i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
21707
- i0__namespace.ɵɵelementStart(28, "textarea", 14);
21708
- i0__namespace.ɵɵtext(29, " ");
21772
+ i0__namespace.ɵɵelementStart(27, "div", 13);
21773
+ i0__namespace.ɵɵtext(28);
21774
+ i0__namespace.ɵɵpipe(29, "rpxTranslate");
21775
+ i0__namespace.ɵɵelementEnd();
21776
+ i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
21777
+ i0__namespace.ɵɵelement(31, "input", 15);
21778
+ i0__namespace.ɵɵelementEnd();
21779
+ i0__namespace.ɵɵelementStart(32, "div", 16);
21780
+ i0__namespace.ɵɵelementStart(33, "div", 11);
21781
+ i0__namespace.ɵɵelementStart(34, "label", 17);
21782
+ i0__namespace.ɵɵtext(35);
21783
+ i0__namespace.ɵɵpipe(36, "rpxTranslate");
21784
+ i0__namespace.ɵɵelementEnd();
21785
+ i0__namespace.ɵɵelementEnd();
21786
+ i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
21787
+ i0__namespace.ɵɵelementStart(38, "textarea", 19);
21788
+ i0__namespace.ɵɵtext(39, " ");
21709
21789
  i0__namespace.ɵɵelementEnd();
21710
21790
  i0__namespace.ɵɵelementEnd();
21711
21791
  i0__namespace.ɵɵelementEnd();
@@ -21714,30 +21794,44 @@
21714
21794
  }
21715
21795
  if (rf & 2) {
21716
21796
  var tmp_7_0 = null;
21717
- var tmp_9_0 = null;
21718
21797
  var tmp_10_0 = null;
21798
+ var tmp_11_0 = null;
21799
+ var tmp_13_0 = null;
21800
+ var tmp_15_0 = null;
21801
+ var tmp_16_0 = null;
21719
21802
  i0__namespace.ɵɵadvance(1);
21720
- i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
21803
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(36, _c0$B, ctx.caseId));
21721
21804
  i0__namespace.ɵɵadvance(1);
21722
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
21805
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 22, "Cancel and return to tasks"), " ");
21723
21806
  i0__namespace.ɵɵadvance(5);
21724
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 16, "Respond to query"));
21807
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 24, "Respond to query"));
21725
21808
  i0__namespace.ɵɵadvance(3);
21726
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 18, "Query details"));
21809
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 26, "Query details"));
21727
21810
  i0__namespace.ɵɵadvance(5);
21728
21811
  i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
21729
21812
  i0__namespace.ɵɵadvance(4);
21730
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 20, "Ask a follow-up question"), " ");
21813
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 28, "Ask a follow-up question"), " ");
21731
21814
  i0__namespace.ɵɵadvance(2);
21732
21815
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21733
21816
  i0__namespace.ɵɵadvance(1);
21734
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
21817
+ 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);
21818
+ i0__namespace.ɵɵadvance(3);
21819
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 30, "Full name"), " ");
21820
+ i0__namespace.ɵɵadvance(3);
21821
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 32, "Your full name must be included here"), " ");
21822
+ i0__namespace.ɵɵadvance(2);
21823
+ i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length));
21824
+ i0__namespace.ɵɵadvance(1);
21825
+ 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);
21826
+ i0__namespace.ɵɵproperty("formControlName", "fullName");
21827
+ i0__namespace.ɵɵadvance(1);
21828
+ 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);
21735
21829
  i0__namespace.ɵɵadvance(3);
21736
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(26, 22, "Query Body"), " ");
21830
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(36, 34, "Query Body"), " ");
21737
21831
  i0__namespace.ɵɵadvance(2);
21738
- i0__namespace.ɵɵproperty("ngIf", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
21832
+ i0__namespace.ɵɵproperty("ngIf", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
21739
21833
  i0__namespace.ɵɵadvance(1);
21740
- i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_10_0 = ctx.formGroup.get("body")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
21834
+ 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);
21741
21835
  i0__namespace.ɵɵproperty("formControlName", "body");
21742
21836
  }
21743
21837
  }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });