@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-respond-to-query-fullname → 6.16.0-query-management-raise-query-function-v4

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 (18) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +244 -142
  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 +8 -11
  6. package/esm2015/lib/shared/components/palette/query-management/components/index.js +2 -1
  7. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +125 -0
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +83 -66
  9. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +27 -72
  10. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +235 -140
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  12. package/lib/shared/components/palette/palette.module.d.ts +30 -29
  13. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  14. package/lib/shared/components/palette/query-management/components/index.d.ts +1 -0
  15. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  16. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +20 -0
  17. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -0
  18. package/package.json +1 -1
@@ -20900,6 +20900,132 @@
20900
20900
  }] });
20901
20901
  })();
20902
20902
 
20903
+ var QueryWriteDateInputComponent = /** @class */ (function () {
20904
+ function QueryWriteDateInputComponent() {
20905
+ this.disabled = false;
20906
+ }
20907
+ QueryWriteDateInputComponent.prototype.writeValue = function (date) {
20908
+ if (date instanceof Date && !isNaN(date.getTime())) {
20909
+ this.day = date.getDate();
20910
+ this.month = date.getMonth() + 1; // Months are zero-based
20911
+ this.year = date.getFullYear();
20912
+ }
20913
+ else {
20914
+ this.day = null;
20915
+ this.month = null;
20916
+ this.year = null;
20917
+ }
20918
+ };
20919
+ QueryWriteDateInputComponent.prototype.registerOnChange = function (fn) {
20920
+ this.onChange = fn;
20921
+ };
20922
+ QueryWriteDateInputComponent.prototype.registerOnTouched = function (fn) {
20923
+ this.onTouched = fn;
20924
+ };
20925
+ QueryWriteDateInputComponent.prototype.setDisabledState = function (isDisabled) {
20926
+ this.disabled = isDisabled;
20927
+ };
20928
+ QueryWriteDateInputComponent.prototype.updateDate = function () {
20929
+ var updatedValue = this.onChange && this.isValidDateInput() ?
20930
+ new Date(this.year, this.month - 1, this.day)
20931
+ : null;
20932
+ this.onChange(updatedValue);
20933
+ this.onTouched();
20934
+ };
20935
+ QueryWriteDateInputComponent.prototype.isValidDateInput = function () {
20936
+ var isValidDay = this.day >= 1 && this.day <= 31;
20937
+ var isValidMonth = this.month >= 1 && this.month <= 12;
20938
+ var isValidYear = this.year >= 0;
20939
+ return isValidDay && isValidMonth && isValidYear;
20940
+ };
20941
+ return QueryWriteDateInputComponent;
20942
+ }());
20943
+ QueryWriteDateInputComponent.ɵfac = function QueryWriteDateInputComponent_Factory(t) { return new (t || QueryWriteDateInputComponent)(); };
20944
+ QueryWriteDateInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0__namespace.ɵɵProvidersFeature([
20945
+ {
20946
+ provide: i3.NG_VALUE_ACCESSOR,
20947
+ useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
20948
+ multi: true
20949
+ }
20950
+ ])], decls: 19, vars: 24, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) {
20951
+ if (rf & 1) {
20952
+ i0__namespace.ɵɵelementStart(0, "div", 0);
20953
+ i0__namespace.ɵɵelementStart(1, "div", 1);
20954
+ i0__namespace.ɵɵelementStart(2, "div", 2);
20955
+ i0__namespace.ɵɵelementStart(3, "label", 3);
20956
+ i0__namespace.ɵɵtext(4);
20957
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
20958
+ i0__namespace.ɵɵelementEnd();
20959
+ i0__namespace.ɵɵelementStart(6, "input", 4);
20960
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_6_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_6_listener() { return ctx.updateDate(); });
20961
+ i0__namespace.ɵɵelementEnd();
20962
+ i0__namespace.ɵɵelementEnd();
20963
+ i0__namespace.ɵɵelementEnd();
20964
+ i0__namespace.ɵɵelementStart(7, "div", 1);
20965
+ i0__namespace.ɵɵelementStart(8, "div", 2);
20966
+ i0__namespace.ɵɵelementStart(9, "label", 3);
20967
+ i0__namespace.ɵɵtext(10);
20968
+ i0__namespace.ɵɵpipe(11, "rpxTranslate");
20969
+ i0__namespace.ɵɵelementEnd();
20970
+ i0__namespace.ɵɵelementStart(12, "input", 4);
20971
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_12_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_12_listener() { return ctx.updateDate(); });
20972
+ i0__namespace.ɵɵelementEnd();
20973
+ i0__namespace.ɵɵelementEnd();
20974
+ i0__namespace.ɵɵelementEnd();
20975
+ i0__namespace.ɵɵelementStart(13, "div", 1);
20976
+ i0__namespace.ɵɵelementStart(14, "div", 2);
20977
+ i0__namespace.ɵɵelementStart(15, "label", 3);
20978
+ i0__namespace.ɵɵtext(16);
20979
+ i0__namespace.ɵɵpipe(17, "rpxTranslate");
20980
+ i0__namespace.ɵɵelementEnd();
20981
+ i0__namespace.ɵɵelementStart(18, "input", 5);
20982
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_18_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_18_listener() { return ctx.updateDate(); });
20983
+ i0__namespace.ɵɵelementEnd();
20984
+ i0__namespace.ɵɵelementEnd();
20985
+ i0__namespace.ɵɵelementEnd();
20986
+ i0__namespace.ɵɵelementEnd();
20987
+ }
20988
+ if (rf & 2) {
20989
+ i0__namespace.ɵɵproperty("id", ctx.formControlName);
20990
+ i0__namespace.ɵɵadvance(3);
20991
+ i0__namespace.ɵɵproperty("for", ctx.formControlName + "-day");
20992
+ i0__namespace.ɵɵadvance(1);
20993
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 18, "Day"), " ");
20994
+ i0__namespace.ɵɵadvance(2);
20995
+ i0__namespace.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
20996
+ i0__namespace.ɵɵadvance(3);
20997
+ i0__namespace.ɵɵproperty("for", ctx.formControlName + "-month");
20998
+ i0__namespace.ɵɵadvance(1);
20999
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 20, "Month"), " ");
21000
+ i0__namespace.ɵɵadvance(2);
21001
+ i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
21002
+ i0__namespace.ɵɵadvance(3);
21003
+ i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
21004
+ i0__namespace.ɵɵadvance(1);
21005
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(17, 22, "Year"), " ");
21006
+ i0__namespace.ɵɵadvance(2);
21007
+ i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
21008
+ }
21009
+ }, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
21010
+ (function () {
21011
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
21012
+ type: i0.Component,
21013
+ args: [{
21014
+ selector: 'ccd-query-write-date-input',
21015
+ templateUrl: './query-write-date-input.component.html',
21016
+ providers: [
21017
+ {
21018
+ provide: i3.NG_VALUE_ACCESSOR,
21019
+ useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
21020
+ multi: true
21021
+ }
21022
+ ]
21023
+ }]
21024
+ }], null, { formControlName: [{
21025
+ type: i0.Input
21026
+ }] });
21027
+ })();
21028
+
20903
21029
  var QueryWriteAddDocumentsComponent = /** @class */ (function () {
20904
21030
  function QueryWriteAddDocumentsComponent() {
20905
21031
  this.documentFormGroup = new i3.FormGroup({});
@@ -20968,7 +21094,7 @@
20968
21094
  }] });
20969
21095
  })();
20970
21096
 
20971
- function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
21097
+ function QueryWriteRaiseQueryComponent_p_21_Template(rf, ctx) {
20972
21098
  if (rf & 1) {
20973
21099
  i0__namespace.ɵɵelementStart(0, "p", 27);
20974
21100
  i0__namespace.ɵɵelementStart(1, "span", 28);
@@ -20986,7 +21112,7 @@
20986
21112
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
20987
21113
  }
20988
21114
  }
20989
- function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
21115
+ function QueryWriteRaiseQueryComponent_p_31_Template(rf, ctx) {
20990
21116
  if (rf & 1) {
20991
21117
  i0__namespace.ɵɵelementStart(0, "p", 29);
20992
21118
  i0__namespace.ɵɵelementStart(1, "span", 28);
@@ -21004,7 +21130,7 @@
21004
21130
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
21005
21131
  }
21006
21132
  }
21007
- function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
21133
+ function QueryWriteRaiseQueryComponent_p_41_Template(rf, ctx) {
21008
21134
  if (rf & 1) {
21009
21135
  i0__namespace.ɵɵelementStart(0, "p", 30);
21010
21136
  i0__namespace.ɵɵelementStart(1, "span", 28);
@@ -21022,13 +21148,32 @@
21022
21148
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
21023
21149
  }
21024
21150
  }
21151
+ function QueryWriteRaiseQueryComponent_ng_container_61_Template(rf, ctx) {
21152
+ if (rf & 1) {
21153
+ i0__namespace.ɵɵelementContainerStart(0);
21154
+ i0__namespace.ɵɵelementStart(1, "div", 31);
21155
+ i0__namespace.ɵɵelementStart(2, "fieldset", 32);
21156
+ i0__namespace.ɵɵelementStart(3, "label", 33);
21157
+ i0__namespace.ɵɵtext(4);
21158
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
21159
+ i0__namespace.ɵɵelementEnd();
21160
+ i0__namespace.ɵɵelement(6, "ccd-query-write-date-input", 34);
21161
+ i0__namespace.ɵɵelementEnd();
21162
+ i0__namespace.ɵɵelementEnd();
21163
+ i0__namespace.ɵɵelementContainerEnd();
21164
+ }
21165
+ if (rf & 2) {
21166
+ i0__namespace.ɵɵadvance(4);
21167
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 1, "Hearing Date"), " ");
21168
+ }
21169
+ }
21025
21170
  var QueryWriteRaiseQueryComponent = /** @class */ (function () {
21026
21171
  function QueryWriteRaiseQueryComponent() {
21027
21172
  }
21028
21173
  return QueryWriteRaiseQueryComponent;
21029
21174
  }());
21030
21175
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
21031
- QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21176
+ QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 61, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21032
21177
  if (rf & 1) {
21033
21178
  i0__namespace.ɵɵelementStart(0, "div");
21034
21179
  i0__namespace.ɵɵelementStart(1, "div", 0);
@@ -21046,78 +21191,77 @@
21046
21191
  i0__namespace.ɵɵelementEnd();
21047
21192
  i0__namespace.ɵɵelement(10, "hr");
21048
21193
  i0__namespace.ɵɵelementStart(11, "div", 3);
21049
- i0__namespace.ɵɵelementStart(12, "div", 4);
21050
- i0__namespace.ɵɵelementStart(13, "div");
21194
+ i0__namespace.ɵɵelementStart(12, "div");
21195
+ i0__namespace.ɵɵelementStart(13, "div", 4);
21051
21196
  i0__namespace.ɵɵelementStart(14, "div", 5);
21052
- i0__namespace.ɵɵelementStart(15, "div", 6);
21053
- i0__namespace.ɵɵelementStart(16, "label", 7);
21054
- i0__namespace.ɵɵtext(17);
21055
- i0__namespace.ɵɵpipe(18, "rpxTranslate");
21197
+ i0__namespace.ɵɵelementStart(15, "label", 6);
21198
+ i0__namespace.ɵɵtext(16);
21199
+ i0__namespace.ɵɵpipe(17, "rpxTranslate");
21056
21200
  i0__namespace.ɵɵelementEnd();
21057
21201
  i0__namespace.ɵɵelementEnd();
21058
- i0__namespace.ɵɵelementStart(19, "div", 8);
21059
- i0__namespace.ɵɵtext(20);
21060
- i0__namespace.ɵɵpipe(21, "rpxTranslate");
21202
+ i0__namespace.ɵɵelementStart(18, "div", 7);
21203
+ i0__namespace.ɵɵtext(19);
21204
+ i0__namespace.ɵɵpipe(20, "rpxTranslate");
21061
21205
  i0__namespace.ɵɵelementEnd();
21062
- i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
21063
- i0__namespace.ɵɵelement(23, "input", 10);
21206
+ i0__namespace.ɵɵtemplate(21, QueryWriteRaiseQueryComponent_p_21_Template, 6, 6, "p", 8);
21207
+ i0__namespace.ɵɵelement(22, "input", 9);
21064
21208
  i0__namespace.ɵɵelementEnd();
21209
+ i0__namespace.ɵɵelementStart(23, "div", 4);
21065
21210
  i0__namespace.ɵɵelementStart(24, "div", 5);
21066
- i0__namespace.ɵɵelementStart(25, "div", 6);
21067
- i0__namespace.ɵɵelementStart(26, "label", 11);
21068
- i0__namespace.ɵɵtext(27);
21069
- i0__namespace.ɵɵpipe(28, "rpxTranslate");
21211
+ i0__namespace.ɵɵelementStart(25, "label", 10);
21212
+ i0__namespace.ɵɵtext(26);
21213
+ i0__namespace.ɵɵpipe(27, "rpxTranslate");
21070
21214
  i0__namespace.ɵɵelementEnd();
21071
21215
  i0__namespace.ɵɵelementEnd();
21072
- i0__namespace.ɵɵelementStart(29, "div", 12);
21073
- i0__namespace.ɵɵtext(30);
21074
- i0__namespace.ɵɵpipe(31, "rpxTranslate");
21216
+ i0__namespace.ɵɵelementStart(28, "div", 11);
21217
+ i0__namespace.ɵɵtext(29);
21218
+ i0__namespace.ɵɵpipe(30, "rpxTranslate");
21075
21219
  i0__namespace.ɵɵelementEnd();
21076
- i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
21077
- i0__namespace.ɵɵelement(33, "input", 14);
21220
+ i0__namespace.ɵɵtemplate(31, QueryWriteRaiseQueryComponent_p_31_Template, 6, 6, "p", 12);
21221
+ i0__namespace.ɵɵelement(32, "input", 13);
21078
21222
  i0__namespace.ɵɵelementEnd();
21223
+ i0__namespace.ɵɵelementStart(33, "div", 4);
21079
21224
  i0__namespace.ɵɵelementStart(34, "div", 5);
21080
- i0__namespace.ɵɵelementStart(35, "div", 6);
21081
- i0__namespace.ɵɵelementStart(36, "label", 15);
21082
- i0__namespace.ɵɵtext(37);
21083
- i0__namespace.ɵɵpipe(38, "rpxTranslate");
21225
+ i0__namespace.ɵɵelementStart(35, "label", 14);
21226
+ i0__namespace.ɵɵtext(36);
21227
+ i0__namespace.ɵɵpipe(37, "rpxTranslate");
21084
21228
  i0__namespace.ɵɵelementEnd();
21085
21229
  i0__namespace.ɵɵelementEnd();
21086
- i0__namespace.ɵɵelementStart(39, "div", 16);
21087
- i0__namespace.ɵɵtext(40);
21088
- i0__namespace.ɵɵpipe(41, "rpxTranslate");
21230
+ i0__namespace.ɵɵelementStart(38, "div", 15);
21231
+ i0__namespace.ɵɵtext(39);
21232
+ i0__namespace.ɵɵpipe(40, "rpxTranslate");
21089
21233
  i0__namespace.ɵɵelementEnd();
21090
- i0__namespace.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
21091
- i0__namespace.ɵɵelementStart(43, "textarea", 18);
21092
- i0__namespace.ɵɵtext(44, " ");
21234
+ i0__namespace.ɵɵtemplate(41, QueryWriteRaiseQueryComponent_p_41_Template, 6, 6, "p", 16);
21235
+ i0__namespace.ɵɵelementStart(42, "textarea", 17);
21236
+ i0__namespace.ɵɵtext(43, " ");
21093
21237
  i0__namespace.ɵɵelementEnd();
21094
21238
  i0__namespace.ɵɵelementEnd();
21095
- i0__namespace.ɵɵelementStart(45, "div", 5);
21096
- i0__namespace.ɵɵelementStart(46, "fieldset", 19);
21097
- i0__namespace.ɵɵelementStart(47, "legend");
21098
- i0__namespace.ɵɵelementStart(48, "label", 20);
21099
- i0__namespace.ɵɵtext(49);
21100
- i0__namespace.ɵɵpipe(50, "rpxTranslate");
21239
+ i0__namespace.ɵɵelementStart(44, "div", 4);
21240
+ i0__namespace.ɵɵelementStart(45, "fieldset", 18);
21241
+ i0__namespace.ɵɵelementStart(46, "legend");
21242
+ i0__namespace.ɵɵelementStart(47, "label", 19);
21243
+ i0__namespace.ɵɵtext(48);
21244
+ i0__namespace.ɵɵpipe(49, "rpxTranslate");
21101
21245
  i0__namespace.ɵɵelementEnd();
21102
21246
  i0__namespace.ɵɵelementEnd();
21247
+ i0__namespace.ɵɵelementStart(50, "div", 20);
21103
21248
  i0__namespace.ɵɵelementStart(51, "div", 21);
21104
- i0__namespace.ɵɵelementStart(52, "div", 22);
21105
- i0__namespace.ɵɵelement(53, "input", 23);
21106
- i0__namespace.ɵɵelementStart(54, "label", 24);
21107
- i0__namespace.ɵɵtext(55);
21108
- i0__namespace.ɵɵpipe(56, "rpxTranslate");
21249
+ i0__namespace.ɵɵelement(52, "input", 22);
21250
+ i0__namespace.ɵɵelementStart(53, "label", 23);
21251
+ i0__namespace.ɵɵtext(54);
21252
+ i0__namespace.ɵɵpipe(55, "rpxTranslate");
21109
21253
  i0__namespace.ɵɵelementEnd();
21110
21254
  i0__namespace.ɵɵelementEnd();
21111
- i0__namespace.ɵɵelementStart(57, "div", 22);
21112
- i0__namespace.ɵɵelement(58, "input", 25);
21113
- i0__namespace.ɵɵelementStart(59, "label", 26);
21114
- i0__namespace.ɵɵtext(60);
21115
- i0__namespace.ɵɵpipe(61, "rpxTranslate");
21116
- i0__namespace.ɵɵelementEnd();
21255
+ i0__namespace.ɵɵelementStart(56, "div", 21);
21256
+ i0__namespace.ɵɵelement(57, "input", 24);
21257
+ i0__namespace.ɵɵelementStart(58, "label", 25);
21258
+ i0__namespace.ɵɵtext(59);
21259
+ i0__namespace.ɵɵpipe(60, "rpxTranslate");
21117
21260
  i0__namespace.ɵɵelementEnd();
21118
21261
  i0__namespace.ɵɵelementEnd();
21119
21262
  i0__namespace.ɵɵelementEnd();
21120
21263
  i0__namespace.ɵɵelementEnd();
21264
+ i0__namespace.ɵɵtemplate(61, QueryWriteRaiseQueryComponent_ng_container_61_Template, 7, 3, "ng-container", 26);
21121
21265
  i0__namespace.ɵɵelementEnd();
21122
21266
  i0__namespace.ɵɵelementEnd();
21123
21267
  i0__namespace.ɵɵelementEnd();
@@ -21134,54 +21278,56 @@
21134
21278
  var tmp_18_0 = null;
21135
21279
  var tmp_19_0 = null;
21136
21280
  i0__namespace.ɵɵadvance(3);
21137
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
21281
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 35, "Raise a query"));
21138
21282
  i0__namespace.ɵɵadvance(3);
21139
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
21140
- i0__namespace.ɵɵadvance(6);
21283
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 37, "Enter query details"));
21284
+ i0__namespace.ɵɵadvance(5);
21141
21285
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21142
21286
  i0__namespace.ɵɵadvance(2);
21143
21287
  i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
21144
21288
  i0__namespace.ɵɵadvance(3);
21145
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
21289
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(17, 39, "Full name"), " ");
21146
21290
  i0__namespace.ɵɵadvance(3);
21147
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
21291
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 41, "Your full name must be included here"), " ");
21148
21292
  i0__namespace.ɵɵadvance(2);
21149
- i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
21293
+ i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
21150
21294
  i0__namespace.ɵɵadvance(1);
21151
21295
  i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
21152
21296
  i0__namespace.ɵɵproperty("formControlName", "fullName");
21153
21297
  i0__namespace.ɵɵadvance(1);
21154
21298
  i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
21155
21299
  i0__namespace.ɵɵadvance(3);
21156
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
21300
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(27, 43, "Query subject"), " ");
21157
21301
  i0__namespace.ɵɵadvance(3);
21158
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
21302
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(30, 45, "The subject should be a summary of your query"), " ");
21159
21303
  i0__namespace.ɵɵadvance(2);
21160
- i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("subject")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
21304
+ i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
21161
21305
  i0__namespace.ɵɵadvance(1);
21162
21306
  i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
21163
21307
  i0__namespace.ɵɵproperty("formControlName", "subject");
21164
21308
  i0__namespace.ɵɵadvance(1);
21165
21309
  i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
21166
21310
  i0__namespace.ɵɵadvance(3);
21167
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
21311
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 47, "Query body"), " ");
21168
21312
  i0__namespace.ɵɵadvance(3);
21169
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
21313
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 49, "Include as many details as possible so case workers can respond to your query"), " ");
21170
21314
  i0__namespace.ɵɵadvance(2);
21171
21315
  i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
21172
21316
  i0__namespace.ɵɵadvance(1);
21173
21317
  i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
21174
21318
  i0__namespace.ɵɵproperty("formControlName", "body");
21175
21319
  i0__namespace.ɵɵadvance(6);
21176
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
21320
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(49, 51, "Is the query hearing related?"), " ");
21177
21321
  i0__namespace.ɵɵadvance(4);
21178
21322
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
21179
21323
  i0__namespace.ɵɵadvance(2);
21180
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
21324
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(55, 53, "Is the query hearing related?", null, "Yes"), " ");
21181
21325
  i0__namespace.ɵɵadvance(3);
21182
21326
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
21183
21327
  i0__namespace.ɵɵadvance(2);
21184
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
21328
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(60, 57, "Is the query hearing related?", null, "No"), " ");
21329
+ i0__namespace.ɵɵadvance(2);
21330
+ i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
21185
21331
  }
21186
21332
  }, encapsulation: 2 });
21187
21333
  (function () {
@@ -21196,28 +21342,10 @@
21196
21342
  }] });
21197
21343
  })();
21198
21344
 
21199
- function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
21345
+ function QueryWriteRespondToQueryComponent_p_26_Template(rf, ctx) {
21200
21346
  if (rf & 1) {
21201
- i0__namespace.ɵɵelementStart(0, "p", 20);
21202
- i0__namespace.ɵɵelementStart(1, "span", 21);
21203
- i0__namespace.ɵɵtext(2);
21204
- i0__namespace.ɵɵpipe(3, "rpxTranslate");
21205
- i0__namespace.ɵɵelementEnd();
21206
- i0__namespace.ɵɵtext(4);
21207
- i0__namespace.ɵɵpipe(5, "rpxTranslate");
21208
- i0__namespace.ɵɵelementEnd();
21209
- }
21210
- if (rf & 2) {
21211
- i0__namespace.ɵɵadvance(2);
21212
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
21213
- i0__namespace.ɵɵadvance(2);
21214
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
21215
- }
21216
- }
21217
- function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
21218
- if (rf & 1) {
21219
- i0__namespace.ɵɵelementStart(0, "p", 22);
21220
- i0__namespace.ɵɵelementStart(1, "span", 21);
21347
+ i0__namespace.ɵɵelementStart(0, "p", 15);
21348
+ i0__namespace.ɵɵelementStart(1, "span", 16);
21221
21349
  i0__namespace.ɵɵtext(2);
21222
21350
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21223
21351
  i0__namespace.ɵɵelementEnd();
@@ -21238,7 +21366,7 @@
21238
21366
  return QueryWriteRespondToQueryComponent;
21239
21367
  }());
21240
21368
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
21241
- QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 40, vars: 35, 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"], [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) {
21369
+ QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 29, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
21242
21370
  if (rf & 1) {
21243
21371
  i0__namespace.ɵɵelementStart(0, "div", 0);
21244
21372
  i0__namespace.ɵɵelementStart(1, "a", 1);
@@ -21265,37 +21393,21 @@
21265
21393
  i0__namespace.ɵɵelementEnd();
21266
21394
  i0__namespace.ɵɵelementEnd();
21267
21395
  i0__namespace.ɵɵelementStart(16, "div", 7);
21268
- i0__namespace.ɵɵelementStart(17, "div", 5);
21269
- i0__namespace.ɵɵelementStart(18, "h1", 8);
21270
- i0__namespace.ɵɵtext(19);
21271
- i0__namespace.ɵɵpipe(20, "rpxTranslate");
21272
- i0__namespace.ɵɵelementEnd();
21273
- i0__namespace.ɵɵelementStart(21, "div", 9);
21274
- i0__namespace.ɵɵelementStart(22, "div", 10);
21275
- i0__namespace.ɵɵelementStart(23, "div", 11);
21276
- i0__namespace.ɵɵelementStart(24, "label", 12);
21277
- i0__namespace.ɵɵtext(25);
21278
- i0__namespace.ɵɵpipe(26, "rpxTranslate");
21279
- i0__namespace.ɵɵelementEnd();
21280
- i0__namespace.ɵɵelementEnd();
21281
- i0__namespace.ɵɵelementStart(27, "div", 13);
21282
- i0__namespace.ɵɵtext(28);
21283
- i0__namespace.ɵɵpipe(29, "rpxTranslate");
21284
- i0__namespace.ɵɵelementEnd();
21285
- i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
21286
- i0__namespace.ɵɵelement(31, "input", 15);
21287
- i0__namespace.ɵɵelementEnd();
21288
- i0__namespace.ɵɵelementStart(32, "div", 16);
21289
- i0__namespace.ɵɵelementStart(33, "div", 11);
21290
- i0__namespace.ɵɵelementStart(34, "label", 17);
21291
- i0__namespace.ɵɵtext(35);
21292
- i0__namespace.ɵɵpipe(36, "rpxTranslate");
21396
+ i0__namespace.ɵɵelementStart(17, "h1", 8);
21397
+ i0__namespace.ɵɵtext(18);
21398
+ i0__namespace.ɵɵpipe(19, "rpxTranslate");
21293
21399
  i0__namespace.ɵɵelementEnd();
21400
+ i0__namespace.ɵɵelementStart(20, "div", 9);
21401
+ i0__namespace.ɵɵelementStart(21, "div", 10);
21402
+ i0__namespace.ɵɵelementStart(22, "div", 11);
21403
+ i0__namespace.ɵɵelementStart(23, "label", 12);
21404
+ i0__namespace.ɵɵtext(24);
21405
+ i0__namespace.ɵɵpipe(25, "rpxTranslate");
21294
21406
  i0__namespace.ɵɵelementEnd();
21295
- i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
21296
- i0__namespace.ɵɵelementStart(38, "textarea", 19);
21297
- i0__namespace.ɵɵtext(39, " ");
21298
21407
  i0__namespace.ɵɵelementEnd();
21408
+ i0__namespace.ɵɵtemplate(26, QueryWriteRespondToQueryComponent_p_26_Template, 6, 6, "p", 13);
21409
+ i0__namespace.ɵɵelementStart(27, "textarea", 14);
21410
+ i0__namespace.ɵɵtext(28, " ");
21299
21411
  i0__namespace.ɵɵelementEnd();
21300
21412
  i0__namespace.ɵɵelementEnd();
21301
21413
  i0__namespace.ɵɵelementEnd();
@@ -21303,42 +21415,28 @@
21303
21415
  }
21304
21416
  if (rf & 2) {
21305
21417
  var tmp_6_0 = null;
21418
+ var tmp_8_0 = null;
21306
21419
  var tmp_9_0 = null;
21307
- var tmp_10_0 = null;
21308
- var tmp_12_0 = null;
21309
- var tmp_14_0 = null;
21310
- var tmp_15_0 = null;
21311
21420
  i0__namespace.ɵɵadvance(2);
21312
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 21, "Back to tasks"));
21421
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 13, "Back to tasks"));
21313
21422
  i0__namespace.ɵɵadvance(5);
21314
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 23, "Respond to query"));
21423
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 15, "Respond to query"));
21315
21424
  i0__namespace.ɵɵadvance(3);
21316
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 25, "Query details"));
21425
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
21317
21426
  i0__namespace.ɵɵadvance(5);
21318
21427
  i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
21319
- i0__namespace.ɵɵadvance(4);
21320
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Respond to a query"));
21321
- i0__namespace.ɵɵadvance(2);
21322
- i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21323
- i0__namespace.ɵɵadvance(1);
21324
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
21325
21428
  i0__namespace.ɵɵadvance(3);
21326
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 29, "Full name"), " ");
21327
- i0__namespace.ɵɵadvance(3);
21328
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 31, "Your full name must be included here"), " ");
21429
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 19, "Respond to a query"));
21329
21430
  i0__namespace.ɵɵadvance(2);
21330
- i0__namespace.ɵɵproperty("ngIf", (tmp_9_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
21331
- i0__namespace.ɵɵadvance(1);
21332
- i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
21333
- i0__namespace.ɵɵproperty("formControlName", "fullName");
21431
+ i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21334
21432
  i0__namespace.ɵɵadvance(1);
21335
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
21433
+ 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);
21336
21434
  i0__namespace.ɵɵadvance(3);
21337
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(36, 33, "Response message"), " ");
21435
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(25, 21, "Response message"), " ");
21338
21436
  i0__namespace.ɵɵadvance(2);
21339
- i0__namespace.ɵɵproperty("ngIf", (tmp_14_0 = ctx.formGroup.get("body")) == null ? null : tmp_14_0.errors == null ? null : tmp_14_0.errors.length);
21437
+ i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
21340
21438
  i0__namespace.ɵɵadvance(1);
21341
- i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
21439
+ 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);
21342
21440
  i0__namespace.ɵɵproperty("formControlName", "body");
21343
21441
  }
21344
21442
  }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
@@ -29268,6 +29366,7 @@
29268
29366
  QueryWriteRaiseQueryComponent,
29269
29367
  QueryCaseDetailsHeaderComponent,
29270
29368
  QueryWriteAddDocumentsComponent,
29369
+ QueryWriteDateInputComponent
29271
29370
  ];
29272
29371
  var PaletteModule = /** @class */ (function () {
29273
29372
  function PaletteModule() {
@@ -29453,7 +29552,8 @@
29453
29552
  QueryWriteRespondToQueryComponent,
29454
29553
  QueryWriteRaiseQueryComponent,
29455
29554
  QueryCaseDetailsHeaderComponent,
29456
- QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
29555
+ QueryWriteAddDocumentsComponent,
29556
+ QueryWriteDateInputComponent], imports: [i5.CommonModule,
29457
29557
  i1$1.RouterModule,
29458
29558
  i3.FormsModule,
29459
29559
  i3.ReactiveFormsModule,
@@ -29600,7 +29700,8 @@
29600
29700
  QueryWriteRespondToQueryComponent,
29601
29701
  QueryWriteRaiseQueryComponent,
29602
29702
  QueryCaseDetailsHeaderComponent,
29603
- QueryWriteAddDocumentsComponent] });
29703
+ QueryWriteAddDocumentsComponent,
29704
+ QueryWriteDateInputComponent] });
29604
29705
  })();
29605
29706
  (function () {
29606
29707
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -29746,7 +29847,7 @@
29746
29847
  i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
29747
29848
  i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
29748
29849
  QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
29749
- 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]);
29850
+ i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
29750
29851
  i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
29751
29852
 
29752
29853
  var Confirmation = /** @class */ (function () {
@@ -40371,6 +40472,7 @@
40371
40472
  exports.QueryListData = QueryListData;
40372
40473
  exports.QueryListItem = QueryListItem;
40373
40474
  exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
40475
+ exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
40374
40476
  exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
40375
40477
  exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
40376
40478
  exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;