@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-write-view-v4 → 6.16.0-query-management-write-view-v6

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.
@@ -4977,7 +4977,6 @@
4977
4977
  var AbstractFormFieldComponent = /** @class */ (function () {
4978
4978
  function AbstractFormFieldComponent() {
4979
4979
  this.idPrefix = '';
4980
- this.caseReference = '';
4981
4980
  }
4982
4981
  AbstractFormFieldComponent.prototype.id = function () {
4983
4982
  return this.idPrefix + this.caseField.id;
@@ -5038,7 +5037,7 @@
5038
5037
  return AbstractFormFieldComponent;
5039
5038
  }());
5040
5039
  AbstractFormFieldComponent.ɵfac = function AbstractFormFieldComponent_Factory(t) { return new (t || AbstractFormFieldComponent)(); };
5041
- AbstractFormFieldComponent.ɵdir = i0__namespace.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix", caseReference: "caseReference" } });
5040
+ AbstractFormFieldComponent.ɵdir = i0__namespace.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix" } });
5042
5041
  (function () {
5043
5042
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AbstractFormFieldComponent, [{
5044
5043
  type: i0.Directive
@@ -5050,8 +5049,6 @@
5050
5049
  type: i0.Input
5051
5050
  }], idPrefix: [{
5052
5051
  type: i0.Input
5053
- }], caseReference: [{
5054
- type: i0.Input
5055
5052
  }] });
5056
5053
  })();
5057
5054
 
@@ -19757,25 +19754,41 @@
19757
19754
  QueryListResponseStatus["RESPONDED"] = "Responded";
19758
19755
  })(QueryListResponseStatus || (QueryListResponseStatus = {}));
19759
19756
 
19760
- function WriteQueryManagementFieldComponent_p_23_Template(rf, ctx) {
19757
+ function WriteQueryManagementFieldComponent_p_28_Template(rf, ctx) {
19761
19758
  if (rf & 1) {
19762
19759
  i0__namespace.ɵɵelementStart(0, "p", 24);
19763
19760
  i0__namespace.ɵɵelementStart(1, "span", 25);
19764
- i0__namespace.ɵɵtext(2, "Error:");
19761
+ i0__namespace.ɵɵtext(2);
19762
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
19765
19763
  i0__namespace.ɵɵelementEnd();
19766
- i0__namespace.ɵɵtext(3, " Enter a response message ");
19764
+ i0__namespace.ɵɵtext(4);
19765
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
19767
19766
  i0__namespace.ɵɵelementEnd();
19768
19767
  }
19768
+ if (rf & 2) {
19769
+ i0__namespace.ɵɵadvance(2);
19770
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
19771
+ i0__namespace.ɵɵadvance(2);
19772
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
19773
+ }
19769
19774
  }
19770
- function WriteQueryManagementFieldComponent_p_34_Template(rf, ctx) {
19775
+ function WriteQueryManagementFieldComponent_p_41_Template(rf, ctx) {
19771
19776
  if (rf & 1) {
19772
19777
  i0__namespace.ɵɵelementStart(0, "p", 26);
19773
19778
  i0__namespace.ɵɵelementStart(1, "span", 25);
19774
- i0__namespace.ɵɵtext(2, "Error:");
19779
+ i0__namespace.ɵɵtext(2);
19780
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
19775
19781
  i0__namespace.ɵɵelementEnd();
19776
- i0__namespace.ɵɵtext(3, " File error message ");
19782
+ i0__namespace.ɵɵtext(4);
19783
+ i0__namespace.ɵɵpipe(5, "rpxTranslate");
19777
19784
  i0__namespace.ɵɵelementEnd();
19778
19785
  }
19786
+ if (rf & 2) {
19787
+ i0__namespace.ɵɵadvance(2);
19788
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
19789
+ i0__namespace.ɵɵadvance(2);
19790
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "File error message"), " ");
19791
+ }
19779
19792
  }
19780
19793
  var WriteQueryManagementFieldComponent = /** @class */ (function (_super) {
19781
19794
  __extends(WriteQueryManagementFieldComponent, _super);
@@ -19785,117 +19798,152 @@
19785
19798
  response: new i3.FormControl('', i3.Validators.required),
19786
19799
  documents: new i3.FormControl([], i3.Validators.required)
19787
19800
  });
19788
- _this.queryItem = new QueryListItem();
19789
- Object.assign(_this.queryItem, partyMessagesMockData[0].partyMessages[0]);
19790
19801
  return _this;
19791
19802
  }
19803
+ WriteQueryManagementFieldComponent.prototype.ngOnInit = function () {
19804
+ this.queryItem = new QueryListItem();
19805
+ Object.assign(this.queryItem, partyMessagesMockData[0].partyMessages[0]);
19806
+ };
19792
19807
  return WriteQueryManagementFieldComponent;
19793
- }(AbstractFieldWriteComponent));
19808
+ }(AbstractFieldReadComponent));
19794
19809
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
19795
- WriteQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 47, vars: 15, consts: [[1, "govuk-!-margin-top-6", "govuk-!-margin-bottom-6"], [1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l", "govuk-!-margin-bottom-6"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-body-l", "govuk-!-margin-bottom-0"], [3, "queryItem"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "response-textarea"], [1, "govuk-label-wrapper"], ["for", "respond-to-query", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "respond-to-query-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "respond-to-query", "name", "respond-to-query", "rows", "5", "aria-describedby", "respond-to-query-hint respond-to-query-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-form-group"], ["for", "add-documents", 1, "govuk-label"], [1, "govuk-!-font-weight-bold"], ["id", "add-documents-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-documents", "name", "add-documents", "type", "file", 1, "govuk-file-upload"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-button-group"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "disabled"], ["id", "respond-to-query-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-documents-error", 1, "govuk-error-message"]], template: function WriteQueryManagementFieldComponent_Template(rf, ctx) {
19810
+ WriteQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 58, vars: 48, consts: [[1, "govuk-!-margin-top-6", "govuk-!-margin-bottom-6"], [1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l", "govuk-!-margin-bottom-6"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-body-l", "govuk-!-margin-bottom-0"], [3, "queryItem"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "response-textarea"], [1, "govuk-label-wrapper"], ["for", "query-response", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-response-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-response", "name", "query-response", "rows", "5", "aria-describedby", "query-response-hint query-response-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-form-group"], ["for", "add-documents", 1, "govuk-label"], [1, "govuk-!-font-weight-bold"], ["id", "add-documents-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-documents", "name", "add-documents", "type", "file", 1, "govuk-file-upload"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-button-group"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "disabled"], ["id", "query-response-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-documents-error", 1, "govuk-error-message"]], template: function WriteQueryManagementFieldComponent_Template(rf, ctx) {
19796
19811
  if (rf & 1) {
19797
19812
  i0__namespace.ɵɵelementStart(0, "div", 0);
19798
19813
  i0__namespace.ɵɵelementStart(1, "div", 1);
19799
19814
  i0__namespace.ɵɵelementStart(2, "a", 2);
19800
- i0__namespace.ɵɵtext(3, "Back to tasks");
19815
+ i0__namespace.ɵɵtext(3);
19816
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
19801
19817
  i0__namespace.ɵɵelementEnd();
19802
19818
  i0__namespace.ɵɵelementEnd();
19803
- i0__namespace.ɵɵelementStart(4, "div", 3);
19804
- i0__namespace.ɵɵelementStart(5, "div", 4);
19805
- i0__namespace.ɵɵtext(6, "Respond to query");
19819
+ i0__namespace.ɵɵelementStart(5, "div", 3);
19820
+ i0__namespace.ɵɵelementStart(6, "div", 4);
19821
+ i0__namespace.ɵɵtext(7);
19822
+ i0__namespace.ɵɵpipe(8, "rpxTranslate");
19806
19823
  i0__namespace.ɵɵelementEnd();
19807
- i0__namespace.ɵɵelementStart(7, "h1", 5);
19808
- i0__namespace.ɵɵtext(8, "Query details");
19824
+ i0__namespace.ɵɵelementStart(9, "h1", 5);
19825
+ i0__namespace.ɵɵtext(10);
19826
+ i0__namespace.ɵɵpipe(11, "rpxTranslate");
19809
19827
  i0__namespace.ɵɵelementEnd();
19810
- i0__namespace.ɵɵelementStart(9, "div", 6);
19811
- i0__namespace.ɵɵelementStart(10, "div", 7);
19812
- i0__namespace.ɵɵtext(11);
19813
- i0__namespace.ɵɵpipe(12, "ccdCaseReference");
19828
+ i0__namespace.ɵɵelementStart(12, "div", 6);
19829
+ i0__namespace.ɵɵelementStart(13, "div", 7);
19830
+ i0__namespace.ɵɵtext(14);
19831
+ i0__namespace.ɵɵpipe(15, "ccdCaseReference");
19814
19832
  i0__namespace.ɵɵelementEnd();
19815
19833
  i0__namespace.ɵɵelementEnd();
19816
- i0__namespace.ɵɵelementStart(13, "div");
19817
- i0__namespace.ɵɵelement(14, "ccd-query-details-table", 8);
19834
+ i0__namespace.ɵɵelementStart(16, "div");
19835
+ i0__namespace.ɵɵelement(17, "ccd-query-details-table", 8);
19818
19836
  i0__namespace.ɵɵelementEnd();
19819
19837
  i0__namespace.ɵɵelementEnd();
19820
- i0__namespace.ɵɵelementStart(15, "div", 6);
19821
- i0__namespace.ɵɵelementStart(16, "h1", 9);
19822
- i0__namespace.ɵɵtext(17, "Respond to a query");
19838
+ i0__namespace.ɵɵelementStart(18, "div", 6);
19839
+ i0__namespace.ɵɵelementStart(19, "h1", 9);
19840
+ i0__namespace.ɵɵtext(20);
19841
+ i0__namespace.ɵɵpipe(21, "rpxTranslate");
19823
19842
  i0__namespace.ɵɵelementEnd();
19824
- i0__namespace.ɵɵelementStart(18, "div", 10);
19825
- i0__namespace.ɵɵelementStart(19, "div", 11);
19826
- i0__namespace.ɵɵelementStart(20, "div", 12);
19827
- i0__namespace.ɵɵelementStart(21, "label", 13);
19828
- i0__namespace.ɵɵtext(22, " Response message ");
19843
+ i0__namespace.ɵɵelementStart(22, "div", 10);
19844
+ i0__namespace.ɵɵelementStart(23, "div", 11);
19845
+ i0__namespace.ɵɵelementStart(24, "div", 12);
19846
+ i0__namespace.ɵɵelementStart(25, "label", 13);
19847
+ i0__namespace.ɵɵtext(26);
19848
+ i0__namespace.ɵɵpipe(27, "rpxTranslate");
19829
19849
  i0__namespace.ɵɵelementEnd();
19830
19850
  i0__namespace.ɵɵelementEnd();
19831
- i0__namespace.ɵɵtemplate(23, WriteQueryManagementFieldComponent_p_23_Template, 4, 0, "p", 14);
19832
- i0__namespace.ɵɵelementStart(24, "textarea", 15);
19833
- i0__namespace.ɵɵtext(25, " ");
19851
+ i0__namespace.ɵɵtemplate(28, WriteQueryManagementFieldComponent_p_28_Template, 6, 6, "p", 14);
19852
+ i0__namespace.ɵɵelementStart(29, "textarea", 15);
19853
+ i0__namespace.ɵɵtext(30, " ");
19834
19854
  i0__namespace.ɵɵelementEnd();
19835
19855
  i0__namespace.ɵɵelementEnd();
19836
- i0__namespace.ɵɵelementStart(26, "div");
19837
- i0__namespace.ɵɵelementStart(27, "div", 16);
19838
- i0__namespace.ɵɵelementStart(28, "div", 12);
19839
- i0__namespace.ɵɵelementStart(29, "label", 17);
19840
- i0__namespace.ɵɵelementStart(30, "div", 18);
19841
- i0__namespace.ɵɵtext(31, "Add document (optional)");
19856
+ i0__namespace.ɵɵelementStart(31, "div");
19857
+ i0__namespace.ɵɵelementStart(32, "div", 16);
19858
+ i0__namespace.ɵɵelementStart(33, "div", 12);
19859
+ i0__namespace.ɵɵelementStart(34, "label", 17);
19860
+ i0__namespace.ɵɵelementStart(35, "div", 18);
19861
+ i0__namespace.ɵɵtext(36);
19862
+ i0__namespace.ɵɵpipe(37, "rpxTranslate");
19842
19863
  i0__namespace.ɵɵelementEnd();
19843
- i0__namespace.ɵɵelementStart(32, "div");
19844
- i0__namespace.ɵɵtext(33, "Attach a document to this message");
19864
+ i0__namespace.ɵɵelementStart(38, "div");
19865
+ i0__namespace.ɵɵtext(39);
19866
+ i0__namespace.ɵɵpipe(40, "rpxTranslate");
19845
19867
  i0__namespace.ɵɵelementEnd();
19846
19868
  i0__namespace.ɵɵelementEnd();
19847
19869
  i0__namespace.ɵɵelementEnd();
19848
- i0__namespace.ɵɵtemplate(34, WriteQueryManagementFieldComponent_p_34_Template, 4, 0, "p", 19);
19849
- i0__namespace.ɵɵelement(35, "input", 20);
19870
+ i0__namespace.ɵɵtemplate(41, WriteQueryManagementFieldComponent_p_41_Template, 6, 6, "p", 19);
19871
+ i0__namespace.ɵɵelement(42, "input", 20);
19850
19872
  i0__namespace.ɵɵelementEnd();
19851
19873
  i0__namespace.ɵɵelementEnd();
19852
- i0__namespace.ɵɵelementStart(36, "button", 21);
19853
- i0__namespace.ɵɵtext(37, " Next ");
19874
+ i0__namespace.ɵɵelementStart(43, "button", 21);
19875
+ i0__namespace.ɵɵtext(44);
19876
+ i0__namespace.ɵɵpipe(45, "rpxTranslate");
19854
19877
  i0__namespace.ɵɵelementEnd();
19855
19878
  i0__namespace.ɵɵelementEnd();
19856
19879
  i0__namespace.ɵɵelementEnd();
19857
- i0__namespace.ɵɵelementStart(38, "div");
19858
- i0__namespace.ɵɵelementStart(39, "div", 22);
19859
- i0__namespace.ɵɵelementStart(40, "button", 23);
19860
- i0__namespace.ɵɵtext(41, " Previous ");
19880
+ i0__namespace.ɵɵelementStart(46, "div");
19881
+ i0__namespace.ɵɵelementStart(47, "div", 22);
19882
+ i0__namespace.ɵɵelementStart(48, "button", 23);
19883
+ i0__namespace.ɵɵtext(49);
19884
+ i0__namespace.ɵɵpipe(50, "rpxTranslate");
19861
19885
  i0__namespace.ɵɵelementEnd();
19862
- i0__namespace.ɵɵelementStart(42, "button", 21);
19863
- i0__namespace.ɵɵtext(43, " Continue ");
19886
+ i0__namespace.ɵɵelementStart(51, "button", 21);
19887
+ i0__namespace.ɵɵtext(52);
19888
+ i0__namespace.ɵɵpipe(53, "rpxTranslate");
19864
19889
  i0__namespace.ɵɵelementEnd();
19865
19890
  i0__namespace.ɵɵelementEnd();
19866
19891
  i0__namespace.ɵɵelementEnd();
19867
- i0__namespace.ɵɵelementStart(44, "div", 1);
19868
- i0__namespace.ɵɵelementStart(45, "a", 2);
19869
- i0__namespace.ɵɵtext(46, "Cancel and return to query list");
19892
+ i0__namespace.ɵɵelementStart(54, "div", 1);
19893
+ i0__namespace.ɵɵelementStart(55, "a", 2);
19894
+ i0__namespace.ɵɵtext(56);
19895
+ i0__namespace.ɵɵpipe(57, "rpxTranslate");
19870
19896
  i0__namespace.ɵɵelementEnd();
19871
19897
  i0__namespace.ɵɵelementEnd();
19872
19898
  i0__namespace.ɵɵelementEnd();
19873
19899
  }
19874
19900
  if (rf & 2) {
19875
- var tmp_3_0 = null;
19876
- var tmp_4_0 = null;
19877
- var tmp_5_0 = null;
19878
19901
  var tmp_7_0 = null;
19879
- var tmp_8_0 = null;
19880
- i0__namespace.ɵɵadvance(11);
19881
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(12, 13, ctx.caseReference));
19902
+ var tmp_9_0 = null;
19903
+ var tmp_10_0 = null;
19904
+ var tmp_12_0 = null;
19905
+ var tmp_15_0 = null;
19882
19906
  i0__namespace.ɵɵadvance(3);
19883
- i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
19907
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 24, "Back to tasks"));
19908
+ i0__namespace.ɵɵadvance(4);
19909
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 26, "Respond to query"));
19910
+ i0__namespace.ɵɵadvance(3);
19911
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 28, "Query details"));
19884
19912
  i0__namespace.ɵɵadvance(4);
19913
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(15, 30, ctx.caseReference));
19914
+ i0__namespace.ɵɵadvance(3);
19915
+ i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
19916
+ i0__namespace.ɵɵadvance(3);
19917
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21, 32, "Respond to a query"));
19918
+ i0__namespace.ɵɵadvance(2);
19885
19919
  i0__namespace.ɵɵproperty("formGroup", ctx.responseFormGroup);
19886
19920
  i0__namespace.ɵɵadvance(1);
19887
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
19888
- i0__namespace.ɵɵadvance(4);
19889
- i0__namespace.ɵɵproperty("ngIf", (tmp_4_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_4_0.errors == null ? null : tmp_4_0.errors.length);
19921
+ i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_7_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
19922
+ i0__namespace.ɵɵadvance(3);
19923
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(27, 34, "Response message"), " ");
19924
+ i0__namespace.ɵɵadvance(2);
19925
+ i0__namespace.ɵɵproperty("ngIf", (tmp_9_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
19890
19926
  i0__namespace.ɵɵadvance(1);
19891
- i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_5_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_5_0.errors == null ? null : tmp_5_0.errors.length);
19927
+ i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_10_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
19892
19928
  i0__namespace.ɵɵproperty("formControlName", "response");
19893
19929
  i0__namespace.ɵɵadvance(3);
19894
- i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_7_0 = ctx.responseFormGroup.get("documents")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
19895
- i0__namespace.ɵɵadvance(7);
19896
- i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
19897
- i0__namespace.ɵɵadvance(6);
19930
+ i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_12_0 = ctx.responseFormGroup.get("documents")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
19931
+ i0__namespace.ɵɵadvance(4);
19932
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(37, 36, "Add document(optional)"));
19933
+ i0__namespace.ɵɵadvance(3);
19934
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(40, 38, "Attach a document to this message"));
19935
+ i0__namespace.ɵɵadvance(2);
19936
+ i0__namespace.ɵɵproperty("ngIf", (tmp_15_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
19937
+ i0__namespace.ɵɵadvance(3);
19938
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(45, 40, "Next"), " ");
19939
+ i0__namespace.ɵɵadvance(4);
19898
19940
  i0__namespace.ɵɵproperty("disabled", true);
19941
+ i0__namespace.ɵɵadvance(1);
19942
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 42, "Previous"), " ");
19943
+ i0__namespace.ɵɵadvance(3);
19944
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(53, 44, "Continue"), " ");
19945
+ i0__namespace.ɵɵadvance(4);
19946
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(57, 46, "Cancel and return to query list"));
19899
19947
  }
19900
19948
  }, styles: [".response-textarea[_ngcontent-%COMP%]{max-width:576px}"] });
19901
19949
  (function () {
@@ -25976,7 +26024,7 @@
25976
26024
  }], function () { return []; }, null);
25977
26025
  })();
25978
26026
 
25979
- function QueryDetailsTableComponent_ng_container_0_div_39_Template(rf, ctx) {
26027
+ function QueryDetailsTableComponent_ng_container_0_div_47_Template(rf, ctx) {
25980
26028
  if (rf & 1) {
25981
26029
  i0__namespace.ɵɵelementStart(0, "div");
25982
26030
  i0__namespace.ɵɵelementStart(1, "a", 7);
@@ -25996,43 +26044,40 @@
25996
26044
  if (rf & 1) {
25997
26045
  i0__namespace.ɵɵelementContainerStart(0);
25998
26046
  i0__namespace.ɵɵelementStart(1, "table", 1);
25999
- i0__namespace.ɵɵelementStart(2, "tbody", 2);
26000
- i0__namespace.ɵɵelementStart(3, "tr", 3);
26001
- i0__namespace.ɵɵelementStart(4, "th", 4);
26002
- i0__namespace.ɵɵtext(5, "Last submitted by");
26003
- i0__namespace.ɵɵelementEnd();
26004
- i0__namespace.ɵɵelementStart(6, "td", 5);
26005
- i0__namespace.ɵɵtext(7);
26047
+ i0__namespace.ɵɵpipe(2, "rpxTranslate");
26048
+ i0__namespace.ɵɵelementStart(3, "tbody", 2);
26049
+ i0__namespace.ɵɵelementStart(4, "tr", 3);
26050
+ i0__namespace.ɵɵelementStart(5, "th", 4);
26051
+ i0__namespace.ɵɵtext(6);
26052
+ i0__namespace.ɵɵpipe(7, "rpxTranslate");
26006
26053
  i0__namespace.ɵɵelementEnd();
26054
+ i0__namespace.ɵɵelementStart(8, "td", 5);
26055
+ i0__namespace.ɵɵtext(9);
26007
26056
  i0__namespace.ɵɵelementEnd();
26008
- i0__namespace.ɵɵelementStart(8, "tr", 3);
26009
- i0__namespace.ɵɵelementStart(9, "th", 4);
26010
- i0__namespace.ɵɵtext(10, "Submission date");
26011
26057
  i0__namespace.ɵɵelementEnd();
26012
- i0__namespace.ɵɵelementStart(11, "td", 5);
26058
+ i0__namespace.ɵɵelementStart(10, "tr", 3);
26059
+ i0__namespace.ɵɵelementStart(11, "th", 4);
26013
26060
  i0__namespace.ɵɵtext(12);
26014
- i0__namespace.ɵɵpipe(13, "date");
26015
- i0__namespace.ɵɵelementEnd();
26016
- i0__namespace.ɵɵelementEnd();
26017
- i0__namespace.ɵɵelementStart(14, "tr", 3);
26018
- i0__namespace.ɵɵelementStart(15, "th", 4);
26019
- i0__namespace.ɵɵtext(16, "Query subject");
26061
+ i0__namespace.ɵɵpipe(13, "rpxTranslate");
26020
26062
  i0__namespace.ɵɵelementEnd();
26021
- i0__namespace.ɵɵelementStart(17, "td", 5);
26022
- i0__namespace.ɵɵtext(18);
26063
+ i0__namespace.ɵɵelementStart(14, "td", 5);
26064
+ i0__namespace.ɵɵtext(15);
26065
+ i0__namespace.ɵɵpipe(16, "date");
26023
26066
  i0__namespace.ɵɵelementEnd();
26024
26067
  i0__namespace.ɵɵelementEnd();
26025
- i0__namespace.ɵɵelementStart(19, "tr", 3);
26026
- i0__namespace.ɵɵelementStart(20, "th", 4);
26027
- i0__namespace.ɵɵtext(21, "Query body");
26068
+ i0__namespace.ɵɵelementStart(17, "tr", 3);
26069
+ i0__namespace.ɵɵelementStart(18, "th", 4);
26070
+ i0__namespace.ɵɵtext(19);
26071
+ i0__namespace.ɵɵpipe(20, "rpxTranslate");
26028
26072
  i0__namespace.ɵɵelementEnd();
26029
- i0__namespace.ɵɵelementStart(22, "td", 5);
26030
- i0__namespace.ɵɵtext(23);
26073
+ i0__namespace.ɵɵelementStart(21, "td", 5);
26074
+ i0__namespace.ɵɵtext(22);
26031
26075
  i0__namespace.ɵɵelementEnd();
26032
26076
  i0__namespace.ɵɵelementEnd();
26033
- i0__namespace.ɵɵelementStart(24, "tr", 3);
26034
- i0__namespace.ɵɵelementStart(25, "th", 4);
26035
- i0__namespace.ɵɵtext(26, "Is the query hearing related?");
26077
+ i0__namespace.ɵɵelementStart(23, "tr", 3);
26078
+ i0__namespace.ɵɵelementStart(24, "th", 4);
26079
+ i0__namespace.ɵɵtext(25);
26080
+ i0__namespace.ɵɵpipe(26, "rpxTranslate");
26036
26081
  i0__namespace.ɵɵelementEnd();
26037
26082
  i0__namespace.ɵɵelementStart(27, "td", 5);
26038
26083
  i0__namespace.ɵɵtext(28);
@@ -26040,19 +26085,30 @@
26040
26085
  i0__namespace.ɵɵelementEnd();
26041
26086
  i0__namespace.ɵɵelementStart(29, "tr", 3);
26042
26087
  i0__namespace.ɵɵelementStart(30, "th", 4);
26043
- i0__namespace.ɵɵtext(31, "What is the date of the hearing your query related to?");
26088
+ i0__namespace.ɵɵtext(31);
26089
+ i0__namespace.ɵɵpipe(32, "rpxTranslate");
26044
26090
  i0__namespace.ɵɵelementEnd();
26045
- i0__namespace.ɵɵelementStart(32, "td", 5);
26046
- i0__namespace.ɵɵtext(33);
26047
- i0__namespace.ɵɵpipe(34, "date");
26091
+ i0__namespace.ɵɵelementStart(33, "td", 5);
26092
+ i0__namespace.ɵɵtext(34);
26048
26093
  i0__namespace.ɵɵelementEnd();
26049
26094
  i0__namespace.ɵɵelementEnd();
26050
26095
  i0__namespace.ɵɵelementStart(35, "tr", 3);
26051
26096
  i0__namespace.ɵɵelementStart(36, "th", 4);
26052
- i0__namespace.ɵɵtext(37, "Attachments");
26097
+ i0__namespace.ɵɵtext(37);
26098
+ i0__namespace.ɵɵpipe(38, "rpxTranslate");
26099
+ i0__namespace.ɵɵelementEnd();
26100
+ i0__namespace.ɵɵelementStart(39, "td", 5);
26101
+ i0__namespace.ɵɵtext(40);
26102
+ i0__namespace.ɵɵpipe(41, "date");
26103
+ i0__namespace.ɵɵelementEnd();
26104
+ i0__namespace.ɵɵelementEnd();
26105
+ i0__namespace.ɵɵelementStart(42, "tr", 3);
26106
+ i0__namespace.ɵɵelementStart(43, "th", 4);
26107
+ i0__namespace.ɵɵtext(44);
26108
+ i0__namespace.ɵɵpipe(45, "rpxTranslate");
26053
26109
  i0__namespace.ɵɵelementEnd();
26054
- i0__namespace.ɵɵelementStart(38, "td", 5);
26055
- i0__namespace.ɵɵtemplate(39, QueryDetailsTableComponent_ng_container_0_div_39_Template, 3, 2, "div", 6);
26110
+ i0__namespace.ɵɵelementStart(46, "td", 5);
26111
+ i0__namespace.ɵɵtemplate(47, QueryDetailsTableComponent_ng_container_0_div_47_Template, 3, 2, "div", 6);
26056
26112
  i0__namespace.ɵɵelementEnd();
26057
26113
  i0__namespace.ɵɵelementEnd();
26058
26114
  i0__namespace.ɵɵelementEnd();
@@ -26061,19 +26117,35 @@
26061
26117
  }
26062
26118
  if (rf & 2) {
26063
26119
  var ctx_r0 = i0__namespace.ɵɵnextContext();
26064
- i0__namespace.ɵɵadvance(7);
26065
- i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
26120
+ i0__namespace.ɵɵadvance(1);
26121
+ i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 15, "Details of the query"));
26066
26122
  i0__namespace.ɵɵadvance(5);
26067
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 7, ctx_r0.queryItem.createdOn, "d MMM yyyy"));
26068
- i0__namespace.ɵɵadvance(6);
26123
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 17, "Last submitted by"));
26124
+ i0__namespace.ɵɵadvance(3);
26125
+ i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
26126
+ i0__namespace.ɵɵadvance(3);
26127
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 19, "Submission date"));
26128
+ i0__namespace.ɵɵadvance(3);
26129
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 21, ctx_r0.queryItem.createdOn, "d MMM yyyy"));
26130
+ i0__namespace.ɵɵadvance(4);
26131
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 24, "Query subject"));
26132
+ i0__namespace.ɵɵadvance(3);
26069
26133
  i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
26070
- i0__namespace.ɵɵadvance(5);
26134
+ i0__namespace.ɵɵadvance(3);
26135
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 26, "Query body"));
26136
+ i0__namespace.ɵɵadvance(3);
26071
26137
  i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
26072
- i0__namespace.ɵɵadvance(5);
26138
+ i0__namespace.ɵɵadvance(3);
26139
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(32, 28, "Is the query hearing related ?"));
26140
+ i0__namespace.ɵɵadvance(3);
26073
26141
  i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
26074
- i0__namespace.ɵɵadvance(5);
26075
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(34, 10, ctx_r0.queryItem.hearingDate, "d MMM yyyy"));
26076
- i0__namespace.ɵɵadvance(6);
26142
+ i0__namespace.ɵɵadvance(3);
26143
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(38, 30, "What is the date of the hearing your query related to ?"));
26144
+ i0__namespace.ɵɵadvance(3);
26145
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(41, 32, ctx_r0.queryItem.hearingDate, "d MMM yyyy"));
26146
+ i0__namespace.ɵɵadvance(4);
26147
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(45, 35, "Attachments"));
26148
+ i0__namespace.ɵɵadvance(3);
26077
26149
  i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
26078
26150
  }
26079
26151
  }
@@ -26083,14 +26155,14 @@
26083
26155
  return QueryDetailsTableComponent;
26084
26156
  }());
26085
26157
  QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
26086
- QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["aria-describedby", "Details of the query", 1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], [4, "ngFor", "ngForOf"], ["target", "_blank", 3, "href"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
26158
+ QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], [4, "ngFor", "ngForOf"], ["target", "_blank", 3, "href"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
26087
26159
  if (rf & 1) {
26088
- i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 40, 13, "ng-container", 0);
26160
+ i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 48, 37, "ng-container", 0);
26089
26161
  }
26090
26162
  if (rf & 2) {
26091
26163
  i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
26092
26164
  }
26093
- }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
26165
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i2__namespace$1.RpxTranslatePipe, i1__namespace.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
26094
26166
  (function () {
26095
26167
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
26096
26168
  type: i0.Component,
@@ -26370,7 +26442,7 @@
26370
26442
  }], null, null);
26371
26443
  })();
26372
26444
  i0__namespace.ɵɵsetComponentScope(ReadQueryManagementFieldComponent, [i1__namespace.NgForOf, QueryListComponent], []);
26373
- i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [CaseReferencePipe]);
26445
+ i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i2__namespace$1.RpxTranslatePipe, CaseReferencePipe]);
26374
26446
 
26375
26447
  var PALETTE_COMPONENTS = [
26376
26448
  UnsupportedFieldComponent,