@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.
@@ -4367,7 +4367,6 @@ FormValidatorsService.ɵprov = i0.ɵɵdefineInjectable({ token: FormValidatorsSe
4367
4367
  class AbstractFormFieldComponent {
4368
4368
  constructor() {
4369
4369
  this.idPrefix = '';
4370
- this.caseReference = '';
4371
4370
  }
4372
4371
  id() {
4373
4372
  return this.idPrefix + this.caseField.id;
@@ -4426,7 +4425,7 @@ class AbstractFormFieldComponent {
4426
4425
  }
4427
4426
  }
4428
4427
  AbstractFormFieldComponent.ɵfac = function AbstractFormFieldComponent_Factory(t) { return new (t || AbstractFormFieldComponent)(); };
4429
- AbstractFormFieldComponent.ɵdir = i0.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix", caseReference: "caseReference" } });
4428
+ AbstractFormFieldComponent.ɵdir = i0.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix" } });
4430
4429
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbstractFormFieldComponent, [{
4431
4430
  type: Directive
4432
4431
  }], null, { caseField: [{
@@ -4437,8 +4436,6 @@ AbstractFormFieldComponent.ɵdir = i0.ɵɵdefineDirective({ type: AbstractFormFi
4437
4436
  type: Input
4438
4437
  }], idPrefix: [{
4439
4438
  type: Input
4440
- }], caseReference: [{
4441
- type: Input
4442
4439
  }] }); })();
4443
4440
 
4444
4441
  class AbstractFieldWriteComponent extends AbstractFormFieldComponent {
@@ -17116,136 +17113,185 @@ var QueryListResponseStatus;
17116
17113
  QueryListResponseStatus["RESPONDED"] = "Responded";
17117
17114
  })(QueryListResponseStatus || (QueryListResponseStatus = {}));
17118
17115
 
17119
- function WriteQueryManagementFieldComponent_p_23_Template(rf, ctx) { if (rf & 1) {
17116
+ function WriteQueryManagementFieldComponent_p_28_Template(rf, ctx) { if (rf & 1) {
17120
17117
  i0.ɵɵelementStart(0, "p", 24);
17121
17118
  i0.ɵɵelementStart(1, "span", 25);
17122
- i0.ɵɵtext(2, "Error:");
17119
+ i0.ɵɵtext(2);
17120
+ i0.ɵɵpipe(3, "rpxTranslate");
17123
17121
  i0.ɵɵelementEnd();
17124
- i0.ɵɵtext(3, " Enter a response message ");
17122
+ i0.ɵɵtext(4);
17123
+ i0.ɵɵpipe(5, "rpxTranslate");
17125
17124
  i0.ɵɵelementEnd();
17125
+ } if (rf & 2) {
17126
+ i0.ɵɵadvance(2);
17127
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
17128
+ i0.ɵɵadvance(2);
17129
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
17126
17130
  } }
17127
- function WriteQueryManagementFieldComponent_p_34_Template(rf, ctx) { if (rf & 1) {
17131
+ function WriteQueryManagementFieldComponent_p_41_Template(rf, ctx) { if (rf & 1) {
17128
17132
  i0.ɵɵelementStart(0, "p", 26);
17129
17133
  i0.ɵɵelementStart(1, "span", 25);
17130
- i0.ɵɵtext(2, "Error:");
17134
+ i0.ɵɵtext(2);
17135
+ i0.ɵɵpipe(3, "rpxTranslate");
17131
17136
  i0.ɵɵelementEnd();
17132
- i0.ɵɵtext(3, " File error message ");
17137
+ i0.ɵɵtext(4);
17138
+ i0.ɵɵpipe(5, "rpxTranslate");
17133
17139
  i0.ɵɵelementEnd();
17140
+ } if (rf & 2) {
17141
+ i0.ɵɵadvance(2);
17142
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
17143
+ i0.ɵɵadvance(2);
17144
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "File error message"), " ");
17134
17145
  } }
17135
- class WriteQueryManagementFieldComponent extends AbstractFieldWriteComponent {
17146
+ class WriteQueryManagementFieldComponent extends AbstractFieldReadComponent {
17136
17147
  constructor() {
17137
17148
  super();
17138
17149
  this.responseFormGroup = new FormGroup({
17139
17150
  response: new FormControl('', Validators.required),
17140
17151
  documents: new FormControl([], Validators.required)
17141
17152
  });
17153
+ }
17154
+ ngOnInit() {
17142
17155
  this.queryItem = new QueryListItem();
17143
17156
  Object.assign(this.queryItem, partyMessagesMockData[0].partyMessages[0]);
17144
17157
  }
17145
17158
  }
17146
17159
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
17147
- WriteQueryManagementFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0.ɵɵ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) { if (rf & 1) {
17160
+ WriteQueryManagementFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0.ɵɵ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) { if (rf & 1) {
17148
17161
  i0.ɵɵelementStart(0, "div", 0);
17149
17162
  i0.ɵɵelementStart(1, "div", 1);
17150
17163
  i0.ɵɵelementStart(2, "a", 2);
17151
- i0.ɵɵtext(3, "Back to tasks");
17164
+ i0.ɵɵtext(3);
17165
+ i0.ɵɵpipe(4, "rpxTranslate");
17152
17166
  i0.ɵɵelementEnd();
17153
17167
  i0.ɵɵelementEnd();
17154
- i0.ɵɵelementStart(4, "div", 3);
17155
- i0.ɵɵelementStart(5, "div", 4);
17156
- i0.ɵɵtext(6, "Respond to query");
17168
+ i0.ɵɵelementStart(5, "div", 3);
17169
+ i0.ɵɵelementStart(6, "div", 4);
17170
+ i0.ɵɵtext(7);
17171
+ i0.ɵɵpipe(8, "rpxTranslate");
17157
17172
  i0.ɵɵelementEnd();
17158
- i0.ɵɵelementStart(7, "h1", 5);
17159
- i0.ɵɵtext(8, "Query details");
17173
+ i0.ɵɵelementStart(9, "h1", 5);
17174
+ i0.ɵɵtext(10);
17175
+ i0.ɵɵpipe(11, "rpxTranslate");
17160
17176
  i0.ɵɵelementEnd();
17161
- i0.ɵɵelementStart(9, "div", 6);
17162
- i0.ɵɵelementStart(10, "div", 7);
17163
- i0.ɵɵtext(11);
17164
- i0.ɵɵpipe(12, "ccdCaseReference");
17177
+ i0.ɵɵelementStart(12, "div", 6);
17178
+ i0.ɵɵelementStart(13, "div", 7);
17179
+ i0.ɵɵtext(14);
17180
+ i0.ɵɵpipe(15, "ccdCaseReference");
17165
17181
  i0.ɵɵelementEnd();
17166
17182
  i0.ɵɵelementEnd();
17167
- i0.ɵɵelementStart(13, "div");
17168
- i0.ɵɵelement(14, "ccd-query-details-table", 8);
17183
+ i0.ɵɵelementStart(16, "div");
17184
+ i0.ɵɵelement(17, "ccd-query-details-table", 8);
17169
17185
  i0.ɵɵelementEnd();
17170
17186
  i0.ɵɵelementEnd();
17171
- i0.ɵɵelementStart(15, "div", 6);
17172
- i0.ɵɵelementStart(16, "h1", 9);
17173
- i0.ɵɵtext(17, "Respond to a query");
17187
+ i0.ɵɵelementStart(18, "div", 6);
17188
+ i0.ɵɵelementStart(19, "h1", 9);
17189
+ i0.ɵɵtext(20);
17190
+ i0.ɵɵpipe(21, "rpxTranslate");
17174
17191
  i0.ɵɵelementEnd();
17175
- i0.ɵɵelementStart(18, "div", 10);
17176
- i0.ɵɵelementStart(19, "div", 11);
17177
- i0.ɵɵelementStart(20, "div", 12);
17178
- i0.ɵɵelementStart(21, "label", 13);
17179
- i0.ɵɵtext(22, " Response message ");
17192
+ i0.ɵɵelementStart(22, "div", 10);
17193
+ i0.ɵɵelementStart(23, "div", 11);
17194
+ i0.ɵɵelementStart(24, "div", 12);
17195
+ i0.ɵɵelementStart(25, "label", 13);
17196
+ i0.ɵɵtext(26);
17197
+ i0.ɵɵpipe(27, "rpxTranslate");
17180
17198
  i0.ɵɵelementEnd();
17181
17199
  i0.ɵɵelementEnd();
17182
- i0.ɵɵtemplate(23, WriteQueryManagementFieldComponent_p_23_Template, 4, 0, "p", 14);
17183
- i0.ɵɵelementStart(24, "textarea", 15);
17184
- i0.ɵɵtext(25, " ");
17200
+ i0.ɵɵtemplate(28, WriteQueryManagementFieldComponent_p_28_Template, 6, 6, "p", 14);
17201
+ i0.ɵɵelementStart(29, "textarea", 15);
17202
+ i0.ɵɵtext(30, " ");
17185
17203
  i0.ɵɵelementEnd();
17186
17204
  i0.ɵɵelementEnd();
17187
- i0.ɵɵelementStart(26, "div");
17188
- i0.ɵɵelementStart(27, "div", 16);
17189
- i0.ɵɵelementStart(28, "div", 12);
17190
- i0.ɵɵelementStart(29, "label", 17);
17191
- i0.ɵɵelementStart(30, "div", 18);
17192
- i0.ɵɵtext(31, "Add document (optional)");
17205
+ i0.ɵɵelementStart(31, "div");
17206
+ i0.ɵɵelementStart(32, "div", 16);
17207
+ i0.ɵɵelementStart(33, "div", 12);
17208
+ i0.ɵɵelementStart(34, "label", 17);
17209
+ i0.ɵɵelementStart(35, "div", 18);
17210
+ i0.ɵɵtext(36);
17211
+ i0.ɵɵpipe(37, "rpxTranslate");
17193
17212
  i0.ɵɵelementEnd();
17194
- i0.ɵɵelementStart(32, "div");
17195
- i0.ɵɵtext(33, "Attach a document to this message");
17213
+ i0.ɵɵelementStart(38, "div");
17214
+ i0.ɵɵtext(39);
17215
+ i0.ɵɵpipe(40, "rpxTranslate");
17196
17216
  i0.ɵɵelementEnd();
17197
17217
  i0.ɵɵelementEnd();
17198
17218
  i0.ɵɵelementEnd();
17199
- i0.ɵɵtemplate(34, WriteQueryManagementFieldComponent_p_34_Template, 4, 0, "p", 19);
17200
- i0.ɵɵelement(35, "input", 20);
17219
+ i0.ɵɵtemplate(41, WriteQueryManagementFieldComponent_p_41_Template, 6, 6, "p", 19);
17220
+ i0.ɵɵelement(42, "input", 20);
17201
17221
  i0.ɵɵelementEnd();
17202
17222
  i0.ɵɵelementEnd();
17203
- i0.ɵɵelementStart(36, "button", 21);
17204
- i0.ɵɵtext(37, " Next ");
17223
+ i0.ɵɵelementStart(43, "button", 21);
17224
+ i0.ɵɵtext(44);
17225
+ i0.ɵɵpipe(45, "rpxTranslate");
17205
17226
  i0.ɵɵelementEnd();
17206
17227
  i0.ɵɵelementEnd();
17207
17228
  i0.ɵɵelementEnd();
17208
- i0.ɵɵelementStart(38, "div");
17209
- i0.ɵɵelementStart(39, "div", 22);
17210
- i0.ɵɵelementStart(40, "button", 23);
17211
- i0.ɵɵtext(41, " Previous ");
17229
+ i0.ɵɵelementStart(46, "div");
17230
+ i0.ɵɵelementStart(47, "div", 22);
17231
+ i0.ɵɵelementStart(48, "button", 23);
17232
+ i0.ɵɵtext(49);
17233
+ i0.ɵɵpipe(50, "rpxTranslate");
17212
17234
  i0.ɵɵelementEnd();
17213
- i0.ɵɵelementStart(42, "button", 21);
17214
- i0.ɵɵtext(43, " Continue ");
17235
+ i0.ɵɵelementStart(51, "button", 21);
17236
+ i0.ɵɵtext(52);
17237
+ i0.ɵɵpipe(53, "rpxTranslate");
17215
17238
  i0.ɵɵelementEnd();
17216
17239
  i0.ɵɵelementEnd();
17217
17240
  i0.ɵɵelementEnd();
17218
- i0.ɵɵelementStart(44, "div", 1);
17219
- i0.ɵɵelementStart(45, "a", 2);
17220
- i0.ɵɵtext(46, "Cancel and return to query list");
17241
+ i0.ɵɵelementStart(54, "div", 1);
17242
+ i0.ɵɵelementStart(55, "a", 2);
17243
+ i0.ɵɵtext(56);
17244
+ i0.ɵɵpipe(57, "rpxTranslate");
17221
17245
  i0.ɵɵelementEnd();
17222
17246
  i0.ɵɵelementEnd();
17223
17247
  i0.ɵɵelementEnd();
17224
17248
  } if (rf & 2) {
17225
- let tmp_3_0 = null;
17226
- let tmp_4_0 = null;
17227
- let tmp_5_0 = null;
17228
17249
  let tmp_7_0 = null;
17229
- let tmp_8_0 = null;
17230
- i0.ɵɵadvance(11);
17231
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 13, ctx.caseReference));
17250
+ let tmp_9_0 = null;
17251
+ let tmp_10_0 = null;
17252
+ let tmp_12_0 = null;
17253
+ let tmp_15_0 = null;
17232
17254
  i0.ɵɵadvance(3);
17233
- i0.ɵɵproperty("queryItem", ctx.queryItem);
17255
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Back to tasks"));
17234
17256
  i0.ɵɵadvance(4);
17257
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 26, "Respond to query"));
17258
+ i0.ɵɵadvance(3);
17259
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 28, "Query details"));
17260
+ i0.ɵɵadvance(4);
17261
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 30, ctx.caseReference));
17262
+ i0.ɵɵadvance(3);
17263
+ i0.ɵɵproperty("queryItem", ctx.queryItem);
17264
+ i0.ɵɵadvance(3);
17265
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 32, "Respond to a query"));
17266
+ i0.ɵɵadvance(2);
17235
17267
  i0.ɵɵproperty("formGroup", ctx.responseFormGroup);
17236
17268
  i0.ɵɵadvance(1);
17237
- i0.ɵɵ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);
17238
- i0.ɵɵadvance(4);
17239
- i0.ɵɵproperty("ngIf", (tmp_4_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_4_0.errors == null ? null : tmp_4_0.errors.length);
17269
+ i0.ɵɵ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);
17270
+ i0.ɵɵadvance(3);
17271
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 34, "Response message"), " ");
17272
+ i0.ɵɵadvance(2);
17273
+ i0.ɵɵproperty("ngIf", (tmp_9_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
17240
17274
  i0.ɵɵadvance(1);
17241
- i0.ɵɵclassProp("govuk-textarea--error", (tmp_5_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_5_0.errors == null ? null : tmp_5_0.errors.length);
17275
+ i0.ɵɵclassProp("govuk-textarea--error", (tmp_10_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
17242
17276
  i0.ɵɵproperty("formControlName", "response");
17243
17277
  i0.ɵɵadvance(3);
17244
- i0.ɵɵ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);
17245
- i0.ɵɵadvance(7);
17246
- i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
17247
- i0.ɵɵadvance(6);
17278
+ i0.ɵɵ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);
17279
+ i0.ɵɵadvance(4);
17280
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 36, "Add document(optional)"));
17281
+ i0.ɵɵadvance(3);
17282
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(40, 38, "Attach a document to this message"));
17283
+ i0.ɵɵadvance(2);
17284
+ i0.ɵɵproperty("ngIf", (tmp_15_0 = ctx.responseFormGroup.get("response")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
17285
+ i0.ɵɵadvance(3);
17286
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(45, 40, "Next"), " ");
17287
+ i0.ɵɵadvance(4);
17248
17288
  i0.ɵɵproperty("disabled", true);
17289
+ i0.ɵɵadvance(1);
17290
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 42, "Previous"), " ");
17291
+ i0.ɵɵadvance(3);
17292
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(53, 44, "Continue"), " ");
17293
+ i0.ɵɵadvance(4);
17294
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(57, 46, "Cancel and return to query list"));
17249
17295
  } }, styles: [".response-textarea[_ngcontent-%COMP%]{max-width:576px}"] });
17250
17296
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteQueryManagementFieldComponent, [{
17251
17297
  type: Component,
@@ -22544,7 +22590,7 @@ QueryCreateComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCreateComponent
22544
22590
  }]
22545
22591
  }], function () { return []; }, null); })();
22546
22592
 
22547
- function QueryDetailsTableComponent_ng_container_0_div_39_Template(rf, ctx) { if (rf & 1) {
22593
+ function QueryDetailsTableComponent_ng_container_0_div_47_Template(rf, ctx) { if (rf & 1) {
22548
22594
  i0.ɵɵelementStart(0, "div");
22549
22595
  i0.ɵɵelementStart(1, "a", 7);
22550
22596
  i0.ɵɵtext(2);
@@ -22560,43 +22606,40 @@ function QueryDetailsTableComponent_ng_container_0_div_39_Template(rf, ctx) { if
22560
22606
  function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
22561
22607
  i0.ɵɵelementContainerStart(0);
22562
22608
  i0.ɵɵelementStart(1, "table", 1);
22563
- i0.ɵɵelementStart(2, "tbody", 2);
22564
- i0.ɵɵelementStart(3, "tr", 3);
22565
- i0.ɵɵelementStart(4, "th", 4);
22566
- i0.ɵɵtext(5, "Last submitted by");
22567
- i0.ɵɵelementEnd();
22568
- i0.ɵɵelementStart(6, "td", 5);
22569
- i0.ɵɵtext(7);
22609
+ i0.ɵɵpipe(2, "rpxTranslate");
22610
+ i0.ɵɵelementStart(3, "tbody", 2);
22611
+ i0.ɵɵelementStart(4, "tr", 3);
22612
+ i0.ɵɵelementStart(5, "th", 4);
22613
+ i0.ɵɵtext(6);
22614
+ i0.ɵɵpipe(7, "rpxTranslate");
22570
22615
  i0.ɵɵelementEnd();
22616
+ i0.ɵɵelementStart(8, "td", 5);
22617
+ i0.ɵɵtext(9);
22571
22618
  i0.ɵɵelementEnd();
22572
- i0.ɵɵelementStart(8, "tr", 3);
22573
- i0.ɵɵelementStart(9, "th", 4);
22574
- i0.ɵɵtext(10, "Submission date");
22575
22619
  i0.ɵɵelementEnd();
22576
- i0.ɵɵelementStart(11, "td", 5);
22620
+ i0.ɵɵelementStart(10, "tr", 3);
22621
+ i0.ɵɵelementStart(11, "th", 4);
22577
22622
  i0.ɵɵtext(12);
22578
- i0.ɵɵpipe(13, "date");
22623
+ i0.ɵɵpipe(13, "rpxTranslate");
22579
22624
  i0.ɵɵelementEnd();
22580
- i0.ɵɵelementEnd();
22581
- i0.ɵɵelementStart(14, "tr", 3);
22582
- i0.ɵɵelementStart(15, "th", 4);
22583
- i0.ɵɵtext(16, "Query subject");
22584
- i0.ɵɵelementEnd();
22585
- i0.ɵɵelementStart(17, "td", 5);
22586
- i0.ɵɵtext(18);
22625
+ i0.ɵɵelementStart(14, "td", 5);
22626
+ i0.ɵɵtext(15);
22627
+ i0.ɵɵpipe(16, "date");
22587
22628
  i0.ɵɵelementEnd();
22588
22629
  i0.ɵɵelementEnd();
22589
- i0.ɵɵelementStart(19, "tr", 3);
22590
- i0.ɵɵelementStart(20, "th", 4);
22591
- i0.ɵɵtext(21, "Query body");
22630
+ i0.ɵɵelementStart(17, "tr", 3);
22631
+ i0.ɵɵelementStart(18, "th", 4);
22632
+ i0.ɵɵtext(19);
22633
+ i0.ɵɵpipe(20, "rpxTranslate");
22592
22634
  i0.ɵɵelementEnd();
22593
- i0.ɵɵelementStart(22, "td", 5);
22594
- i0.ɵɵtext(23);
22635
+ i0.ɵɵelementStart(21, "td", 5);
22636
+ i0.ɵɵtext(22);
22595
22637
  i0.ɵɵelementEnd();
22596
22638
  i0.ɵɵelementEnd();
22597
- i0.ɵɵelementStart(24, "tr", 3);
22598
- i0.ɵɵelementStart(25, "th", 4);
22599
- i0.ɵɵtext(26, "Is the query hearing related?");
22639
+ i0.ɵɵelementStart(23, "tr", 3);
22640
+ i0.ɵɵelementStart(24, "th", 4);
22641
+ i0.ɵɵtext(25);
22642
+ i0.ɵɵpipe(26, "rpxTranslate");
22600
22643
  i0.ɵɵelementEnd();
22601
22644
  i0.ɵɵelementStart(27, "td", 5);
22602
22645
  i0.ɵɵtext(28);
@@ -22604,19 +22647,30 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
22604
22647
  i0.ɵɵelementEnd();
22605
22648
  i0.ɵɵelementStart(29, "tr", 3);
22606
22649
  i0.ɵɵelementStart(30, "th", 4);
22607
- i0.ɵɵtext(31, "What is the date of the hearing your query related to?");
22650
+ i0.ɵɵtext(31);
22651
+ i0.ɵɵpipe(32, "rpxTranslate");
22608
22652
  i0.ɵɵelementEnd();
22609
- i0.ɵɵelementStart(32, "td", 5);
22610
- i0.ɵɵtext(33);
22611
- i0.ɵɵpipe(34, "date");
22653
+ i0.ɵɵelementStart(33, "td", 5);
22654
+ i0.ɵɵtext(34);
22612
22655
  i0.ɵɵelementEnd();
22613
22656
  i0.ɵɵelementEnd();
22614
22657
  i0.ɵɵelementStart(35, "tr", 3);
22615
22658
  i0.ɵɵelementStart(36, "th", 4);
22616
- i0.ɵɵtext(37, "Attachments");
22659
+ i0.ɵɵtext(37);
22660
+ i0.ɵɵpipe(38, "rpxTranslate");
22617
22661
  i0.ɵɵelementEnd();
22618
- i0.ɵɵelementStart(38, "td", 5);
22619
- i0.ɵɵtemplate(39, QueryDetailsTableComponent_ng_container_0_div_39_Template, 3, 2, "div", 6);
22662
+ i0.ɵɵelementStart(39, "td", 5);
22663
+ i0.ɵɵtext(40);
22664
+ i0.ɵɵpipe(41, "date");
22665
+ i0.ɵɵelementEnd();
22666
+ i0.ɵɵelementEnd();
22667
+ i0.ɵɵelementStart(42, "tr", 3);
22668
+ i0.ɵɵelementStart(43, "th", 4);
22669
+ i0.ɵɵtext(44);
22670
+ i0.ɵɵpipe(45, "rpxTranslate");
22671
+ i0.ɵɵelementEnd();
22672
+ i0.ɵɵelementStart(46, "td", 5);
22673
+ i0.ɵɵtemplate(47, QueryDetailsTableComponent_ng_container_0_div_47_Template, 3, 2, "div", 6);
22620
22674
  i0.ɵɵelementEnd();
22621
22675
  i0.ɵɵelementEnd();
22622
22676
  i0.ɵɵelementEnd();
@@ -22624,29 +22678,45 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
22624
22678
  i0.ɵɵelementContainerEnd();
22625
22679
  } if (rf & 2) {
22626
22680
  const ctx_r0 = i0.ɵɵnextContext();
22627
- i0.ɵɵadvance(7);
22628
- i0.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
22681
+ i0.ɵɵadvance(1);
22682
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 15, "Details of the query"));
22629
22683
  i0.ɵɵadvance(5);
22630
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 7, ctx_r0.queryItem.createdOn, "d MMM yyyy"));
22631
- i0.ɵɵadvance(6);
22684
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 17, "Last submitted by"));
22685
+ i0.ɵɵadvance(3);
22686
+ i0.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
22687
+ i0.ɵɵadvance(3);
22688
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "Submission date"));
22689
+ i0.ɵɵadvance(3);
22690
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(16, 21, ctx_r0.queryItem.createdOn, "d MMM yyyy"));
22691
+ i0.ɵɵadvance(4);
22692
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 24, "Query subject"));
22693
+ i0.ɵɵadvance(3);
22632
22694
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
22633
- i0.ɵɵadvance(5);
22695
+ i0.ɵɵadvance(3);
22696
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 26, "Query body"));
22697
+ i0.ɵɵadvance(3);
22634
22698
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.body);
22635
- i0.ɵɵadvance(5);
22699
+ i0.ɵɵadvance(3);
22700
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 28, "Is the query hearing related ?"));
22701
+ i0.ɵɵadvance(3);
22636
22702
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
22637
- i0.ɵɵadvance(5);
22638
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(34, 10, ctx_r0.queryItem.hearingDate, "d MMM yyyy"));
22639
- i0.ɵɵadvance(6);
22703
+ i0.ɵɵadvance(3);
22704
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(38, 30, "What is the date of the hearing your query related to ?"));
22705
+ i0.ɵɵadvance(3);
22706
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(41, 32, ctx_r0.queryItem.hearingDate, "d MMM yyyy"));
22707
+ i0.ɵɵadvance(4);
22708
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 35, "Attachments"));
22709
+ i0.ɵɵadvance(3);
22640
22710
  i0.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
22641
22711
  } }
22642
22712
  class QueryDetailsTableComponent {
22643
22713
  }
22644
22714
  QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
22645
- QueryDetailsTableComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
22646
- i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 40, 13, "ng-container", 0);
22715
+ QueryDetailsTableComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
22716
+ i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 48, 37, "ng-container", 0);
22647
22717
  } if (rf & 2) {
22648
22718
  i0.ɵɵproperty("ngIf", ctx.queryItem);
22649
- } }, directives: [i1.NgIf, i1.NgForOf], pipes: [i1.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
22719
+ } }, directives: [i1.NgIf, i1.NgForOf], pipes: [i2$1.RpxTranslatePipe, i1.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
22650
22720
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsTableComponent, [{
22651
22721
  type: Component,
22652
22722
  args: [{
@@ -22895,7 +22965,7 @@ QueryManagementModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
22895
22965
  }]
22896
22966
  }], null, null); })();
22897
22967
  i0.ɵɵsetComponentScope(ReadQueryManagementFieldComponent, [i1.NgForOf, QueryListComponent], []);
22898
- i0.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i1.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [CaseReferencePipe]);
22968
+ i0.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i1.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i2$1.RpxTranslatePipe, CaseReferencePipe]);
22899
22969
 
22900
22970
  const PALETTE_COMPONENTS = [
22901
22971
  UnsupportedFieldComponent,