@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-document-uploader-v3 → 6.16.0-query-management-raise-query-function

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.
@@ -20900,6 +20900,133 @@
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
+ {
20951
+ provide: i3.NG_VALIDATORS,
20952
+ useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
20953
+ multi: true
20954
+ }
20955
+ ])], decls: 16, vars: 15, 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) {
20956
+ if (rf & 1) {
20957
+ i0__namespace.ɵɵelementStart(0, "div", 0);
20958
+ i0__namespace.ɵɵelementStart(1, "div", 1);
20959
+ i0__namespace.ɵɵelementStart(2, "div", 2);
20960
+ i0__namespace.ɵɵelementStart(3, "label", 3);
20961
+ i0__namespace.ɵɵtext(4, " Day ");
20962
+ i0__namespace.ɵɵelementEnd();
20963
+ i0__namespace.ɵɵelementStart(5, "input", 4);
20964
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_5_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_5_listener() { return ctx.updateDate(); });
20965
+ i0__namespace.ɵɵelementEnd();
20966
+ i0__namespace.ɵɵelementEnd();
20967
+ i0__namespace.ɵɵelementEnd();
20968
+ i0__namespace.ɵɵelementStart(6, "div", 1);
20969
+ i0__namespace.ɵɵelementStart(7, "div", 2);
20970
+ i0__namespace.ɵɵelementStart(8, "label", 3);
20971
+ i0__namespace.ɵɵtext(9, " Month ");
20972
+ i0__namespace.ɵɵelementEnd();
20973
+ i0__namespace.ɵɵelementStart(10, "input", 4);
20974
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_10_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_10_listener() { return ctx.updateDate(); });
20975
+ i0__namespace.ɵɵelementEnd();
20976
+ i0__namespace.ɵɵelementEnd();
20977
+ i0__namespace.ɵɵelementEnd();
20978
+ i0__namespace.ɵɵelementStart(11, "div", 1);
20979
+ i0__namespace.ɵɵelementStart(12, "div", 2);
20980
+ i0__namespace.ɵɵelementStart(13, "label", 3);
20981
+ i0__namespace.ɵɵtext(14, " Year ");
20982
+ i0__namespace.ɵɵelementEnd();
20983
+ i0__namespace.ɵɵelementStart(15, "input", 5);
20984
+ i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_15_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_15_listener() { return ctx.updateDate(); });
20985
+ i0__namespace.ɵɵelementEnd();
20986
+ i0__namespace.ɵɵelementEnd();
20987
+ i0__namespace.ɵɵelementEnd();
20988
+ i0__namespace.ɵɵelementEnd();
20989
+ }
20990
+ if (rf & 2) {
20991
+ i0__namespace.ɵɵproperty("id", ctx.formControlName);
20992
+ i0__namespace.ɵɵadvance(3);
20993
+ i0__namespace.ɵɵproperty("for", ctx.formControlName + "-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(2);
20999
+ i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
21000
+ i0__namespace.ɵɵadvance(3);
21001
+ i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
21002
+ i0__namespace.ɵɵadvance(2);
21003
+ i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
21004
+ }
21005
+ }, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], encapsulation: 2 });
21006
+ (function () {
21007
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
21008
+ type: i0.Component,
21009
+ args: [{
21010
+ selector: 'ccd-query-write-date-input',
21011
+ templateUrl: './query-write-date-input.component.html',
21012
+ providers: [
21013
+ {
21014
+ provide: i3.NG_VALUE_ACCESSOR,
21015
+ useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
21016
+ multi: true
21017
+ },
21018
+ {
21019
+ provide: i3.NG_VALIDATORS,
21020
+ useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
21021
+ multi: true
21022
+ }
21023
+ ]
21024
+ }]
21025
+ }], null, { formControlName: [{
21026
+ type: i0.Input
21027
+ }] });
21028
+ })();
21029
+
20903
21030
  var QueryWriteAddDocumentsComponent = /** @class */ (function () {
20904
21031
  function QueryWriteAddDocumentsComponent() {
20905
21032
  this.documentFormGroup = new i3.FormGroup({});
@@ -20970,8 +21097,8 @@
20970
21097
 
20971
21098
  function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
20972
21099
  if (rf & 1) {
20973
- i0__namespace.ɵɵelementStart(0, "p", 27);
20974
- i0__namespace.ɵɵelementStart(1, "span", 28);
21100
+ i0__namespace.ɵɵelementStart(0, "p", 28);
21101
+ i0__namespace.ɵɵelementStart(1, "span", 29);
20975
21102
  i0__namespace.ɵɵtext(2);
20976
21103
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
20977
21104
  i0__namespace.ɵɵelementEnd();
@@ -20988,8 +21115,8 @@
20988
21115
  }
20989
21116
  function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
20990
21117
  if (rf & 1) {
20991
- i0__namespace.ɵɵelementStart(0, "p", 29);
20992
- i0__namespace.ɵɵelementStart(1, "span", 28);
21118
+ i0__namespace.ɵɵelementStart(0, "p", 30);
21119
+ i0__namespace.ɵɵelementStart(1, "span", 29);
20993
21120
  i0__namespace.ɵɵtext(2);
20994
21121
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
20995
21122
  i0__namespace.ɵɵelementEnd();
@@ -21006,8 +21133,8 @@
21006
21133
  }
21007
21134
  function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
21008
21135
  if (rf & 1) {
21009
- i0__namespace.ɵɵelementStart(0, "p", 30);
21010
- i0__namespace.ɵɵelementStart(1, "span", 28);
21136
+ i0__namespace.ɵɵelementStart(0, "p", 31);
21137
+ i0__namespace.ɵɵelementStart(1, "span", 29);
21011
21138
  i0__namespace.ɵɵtext(2);
21012
21139
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21013
21140
  i0__namespace.ɵɵelementEnd();
@@ -21022,13 +21149,22 @@
21022
21149
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
21023
21150
  }
21024
21151
  }
21152
+ function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) {
21153
+ if (rf & 1) {
21154
+ i0__namespace.ɵɵelementContainerStart(0);
21155
+ i0__namespace.ɵɵelementStart(1, "fieldset", 32);
21156
+ i0__namespace.ɵɵelement(2, "ccd-query-write-date-input", 33);
21157
+ i0__namespace.ɵɵelementEnd();
21158
+ i0__namespace.ɵɵelementContainerEnd();
21159
+ }
21160
+ }
21025
21161
  var QueryWriteRaiseQueryComponent = /** @class */ (function () {
21026
21162
  function QueryWriteRaiseQueryComponent() {
21027
21163
  }
21028
21164
  return QueryWriteRaiseQueryComponent;
21029
21165
  }());
21030
21166
  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) {
21167
+ QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 63, vars: 61, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], ["role", "group", 1, "govuk-fieldset"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
21032
21168
  if (rf & 1) {
21033
21169
  i0__namespace.ɵɵelementStart(0, "div");
21034
21170
  i0__namespace.ɵɵelementStart(1, "div", 0);
@@ -21117,6 +21253,7 @@
21117
21253
  i0__namespace.ɵɵelementEnd();
21118
21254
  i0__namespace.ɵɵelementEnd();
21119
21255
  i0__namespace.ɵɵelementEnd();
21256
+ i0__namespace.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 3, 0, "ng-container", 27);
21120
21257
  i0__namespace.ɵɵelementEnd();
21121
21258
  i0__namespace.ɵɵelementEnd();
21122
21259
  i0__namespace.ɵɵelementEnd();
@@ -21134,17 +21271,17 @@
21134
21271
  var tmp_18_0 = null;
21135
21272
  var tmp_19_0 = null;
21136
21273
  i0__namespace.ɵɵadvance(3);
21137
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
21274
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 35, "Raise a query"));
21138
21275
  i0__namespace.ɵɵadvance(3);
21139
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
21276
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 37, "Enter query details"));
21140
21277
  i0__namespace.ɵɵadvance(6);
21141
21278
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
21142
21279
  i0__namespace.ɵɵadvance(2);
21143
21280
  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
21281
  i0__namespace.ɵɵadvance(3);
21145
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
21282
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 39, "Full name"), " ");
21146
21283
  i0__namespace.ɵɵadvance(3);
21147
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
21284
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
21148
21285
  i0__namespace.ɵɵadvance(2);
21149
21286
  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
21287
  i0__namespace.ɵɵadvance(1);
@@ -21153,9 +21290,9 @@
21153
21290
  i0__namespace.ɵɵadvance(1);
21154
21291
  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
21292
  i0__namespace.ɵɵadvance(3);
21156
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
21293
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 43, "Query subject"), " ");
21157
21294
  i0__namespace.ɵɵadvance(3);
21158
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
21295
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
21159
21296
  i0__namespace.ɵɵadvance(2);
21160
21297
  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
21298
  i0__namespace.ɵɵadvance(1);
@@ -21164,24 +21301,26 @@
21164
21301
  i0__namespace.ɵɵadvance(1);
21165
21302
  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
21303
  i0__namespace.ɵɵadvance(3);
21167
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
21304
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 47, "Query body"), " ");
21168
21305
  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"), " ");
21306
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
21170
21307
  i0__namespace.ɵɵadvance(2);
21171
21308
  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
21309
  i0__namespace.ɵɵadvance(1);
21173
21310
  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
21311
  i0__namespace.ɵɵproperty("formControlName", "body");
21175
21312
  i0__namespace.ɵɵadvance(6);
21176
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
21313
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
21177
21314
  i0__namespace.ɵɵadvance(4);
21178
21315
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
21179
21316
  i0__namespace.ɵɵadvance(2);
21180
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
21317
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
21181
21318
  i0__namespace.ɵɵadvance(3);
21182
21319
  i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
21183
21320
  i0__namespace.ɵɵadvance(2);
21184
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
21321
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
21322
+ i0__namespace.ɵɵadvance(2);
21323
+ i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
21185
21324
  }
21186
21325
  }, encapsulation: 2 });
21187
21326
  (function () {
@@ -29222,6 +29361,7 @@
29222
29361
  QueryWriteRaiseQueryComponent,
29223
29362
  QueryCaseDetailsHeaderComponent,
29224
29363
  QueryWriteAddDocumentsComponent,
29364
+ QueryWriteDateInputComponent
29225
29365
  ];
29226
29366
  var PaletteModule = /** @class */ (function () {
29227
29367
  function PaletteModule() {
@@ -29407,7 +29547,8 @@
29407
29547
  QueryWriteRespondToQueryComponent,
29408
29548
  QueryWriteRaiseQueryComponent,
29409
29549
  QueryCaseDetailsHeaderComponent,
29410
- QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
29550
+ QueryWriteAddDocumentsComponent,
29551
+ QueryWriteDateInputComponent], imports: [i5.CommonModule,
29411
29552
  i1$1.RouterModule,
29412
29553
  i3.FormsModule,
29413
29554
  i3.ReactiveFormsModule,
@@ -29554,7 +29695,8 @@
29554
29695
  QueryWriteRespondToQueryComponent,
29555
29696
  QueryWriteRaiseQueryComponent,
29556
29697
  QueryCaseDetailsHeaderComponent,
29557
- QueryWriteAddDocumentsComponent] });
29698
+ QueryWriteAddDocumentsComponent,
29699
+ QueryWriteDateInputComponent] });
29558
29700
  })();
29559
29701
  (function () {
29560
29702
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -29700,7 +29842,7 @@
29700
29842
  i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
29701
29843
  i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
29702
29844
  QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
29703
- 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]);
29845
+ 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]);
29704
29846
  i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
29705
29847
 
29706
29848
  var Confirmation = /** @class */ (function () {
@@ -40325,6 +40467,7 @@
40325
40467
  exports.QueryListData = QueryListData;
40326
40468
  exports.QueryListItem = QueryListItem;
40327
40469
  exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
40470
+ exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
40328
40471
  exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
40329
40472
  exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
40330
40473
  exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;