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

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