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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18201,41 +18201,39 @@ QueryWriteDateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteDa
18201
18201
  provide: NG_VALUE_ACCESSOR,
18202
18202
  useExisting: forwardRef(() => QueryWriteDateInputComponent),
18203
18203
  multi: true
18204
- },
18205
- {
18206
- provide: NG_VALIDATORS,
18207
- useExisting: forwardRef(() => QueryWriteDateInputComponent),
18208
- multi: true
18209
18204
  }
18210
- ])], 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) { if (rf & 1) {
18205
+ ])], decls: 19, vars: 24, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) { if (rf & 1) {
18211
18206
  i0.ɵɵelementStart(0, "div", 0);
18212
18207
  i0.ɵɵelementStart(1, "div", 1);
18213
18208
  i0.ɵɵelementStart(2, "div", 2);
18214
18209
  i0.ɵɵelementStart(3, "label", 3);
18215
- i0.ɵɵtext(4, " Day ");
18210
+ i0.ɵɵtext(4);
18211
+ i0.ɵɵpipe(5, "rpxTranslate");
18216
18212
  i0.ɵɵelementEnd();
18217
- i0.ɵɵelementStart(5, "input", 4);
18218
- i0.ɵɵ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(); });
18213
+ i0.ɵɵelementStart(6, "input", 4);
18214
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_6_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_6_listener() { return ctx.updateDate(); });
18219
18215
  i0.ɵɵelementEnd();
18220
18216
  i0.ɵɵelementEnd();
18221
18217
  i0.ɵɵelementEnd();
18222
- i0.ɵɵelementStart(6, "div", 1);
18223
- i0.ɵɵelementStart(7, "div", 2);
18224
- i0.ɵɵelementStart(8, "label", 3);
18225
- i0.ɵɵtext(9, " Month ");
18218
+ i0.ɵɵelementStart(7, "div", 1);
18219
+ i0.ɵɵelementStart(8, "div", 2);
18220
+ i0.ɵɵelementStart(9, "label", 3);
18221
+ i0.ɵɵtext(10);
18222
+ i0.ɵɵpipe(11, "rpxTranslate");
18226
18223
  i0.ɵɵelementEnd();
18227
- i0.ɵɵelementStart(10, "input", 4);
18228
- i0.ɵɵ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(); });
18224
+ i0.ɵɵelementStart(12, "input", 4);
18225
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_12_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_12_listener() { return ctx.updateDate(); });
18229
18226
  i0.ɵɵelementEnd();
18230
18227
  i0.ɵɵelementEnd();
18231
18228
  i0.ɵɵelementEnd();
18232
- i0.ɵɵelementStart(11, "div", 1);
18233
- i0.ɵɵelementStart(12, "div", 2);
18234
- i0.ɵɵelementStart(13, "label", 3);
18235
- i0.ɵɵtext(14, " Year ");
18229
+ i0.ɵɵelementStart(13, "div", 1);
18230
+ i0.ɵɵelementStart(14, "div", 2);
18231
+ i0.ɵɵelementStart(15, "label", 3);
18232
+ i0.ɵɵtext(16);
18233
+ i0.ɵɵpipe(17, "rpxTranslate");
18236
18234
  i0.ɵɵelementEnd();
18237
- i0.ɵɵelementStart(15, "input", 5);
18238
- i0.ɵɵ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(); });
18235
+ i0.ɵɵelementStart(18, "input", 5);
18236
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_18_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_18_listener() { return ctx.updateDate(); });
18239
18237
  i0.ɵɵelementEnd();
18240
18238
  i0.ɵɵelementEnd();
18241
18239
  i0.ɵɵelementEnd();
@@ -18244,17 +18242,23 @@ QueryWriteDateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteDa
18244
18242
  i0.ɵɵproperty("id", ctx.formControlName);
18245
18243
  i0.ɵɵadvance(3);
18246
18244
  i0.ɵɵproperty("for", ctx.formControlName + "-day");
18245
+ i0.ɵɵadvance(1);
18246
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 18, "Day"), " ");
18247
18247
  i0.ɵɵadvance(2);
18248
18248
  i0.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
18249
18249
  i0.ɵɵadvance(3);
18250
18250
  i0.ɵɵproperty("for", ctx.formControlName + "-month");
18251
+ i0.ɵɵadvance(1);
18252
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 20, "Month"), " ");
18251
18253
  i0.ɵɵadvance(2);
18252
18254
  i0.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
18253
18255
  i0.ɵɵadvance(3);
18254
18256
  i0.ɵɵproperty("for", ctx.formControlName + "-year");
18257
+ i0.ɵɵadvance(1);
18258
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 22, "Year"), " ");
18255
18259
  i0.ɵɵadvance(2);
18256
18260
  i0.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
18257
- } }, directives: [i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel], encapsulation: 2 });
18261
+ } }, directives: [i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel], pipes: [i1.RpxTranslatePipe], encapsulation: 2 });
18258
18262
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
18259
18263
  type: Component,
18260
18264
  args: [{
@@ -18265,11 +18269,6 @@ QueryWriteDateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteDa
18265
18269
  provide: NG_VALUE_ACCESSOR,
18266
18270
  useExisting: forwardRef(() => QueryWriteDateInputComponent),
18267
18271
  multi: true
18268
- },
18269
- {
18270
- provide: NG_VALIDATORS,
18271
- useExisting: forwardRef(() => QueryWriteDateInputComponent),
18272
- multi: true
18273
18272
  }
18274
18273
  ]
18275
18274
  }]
@@ -18338,9 +18337,9 @@ QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWrit
18338
18337
  type: Output
18339
18338
  }] }); })();
18340
18339
 
18341
- function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) { if (rf & 1) {
18342
- i0.ɵɵelementStart(0, "p", 28);
18343
- i0.ɵɵelementStart(1, "span", 29);
18340
+ function QueryWriteRaiseQueryComponent_p_21_Template(rf, ctx) { if (rf & 1) {
18341
+ i0.ɵɵelementStart(0, "p", 27);
18342
+ i0.ɵɵelementStart(1, "span", 28);
18344
18343
  i0.ɵɵtext(2);
18345
18344
  i0.ɵɵpipe(3, "rpxTranslate");
18346
18345
  i0.ɵɵelementEnd();
@@ -18353,9 +18352,9 @@ function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) { if (rf & 1) {
18353
18352
  i0.ɵɵadvance(2);
18354
18353
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
18355
18354
  } }
18356
- function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) { if (rf & 1) {
18357
- i0.ɵɵelementStart(0, "p", 30);
18358
- i0.ɵɵelementStart(1, "span", 29);
18355
+ function QueryWriteRaiseQueryComponent_p_31_Template(rf, ctx) { if (rf & 1) {
18356
+ i0.ɵɵelementStart(0, "p", 29);
18357
+ i0.ɵɵelementStart(1, "span", 28);
18359
18358
  i0.ɵɵtext(2);
18360
18359
  i0.ɵɵpipe(3, "rpxTranslate");
18361
18360
  i0.ɵɵelementEnd();
@@ -18368,9 +18367,9 @@ function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) { if (rf & 1) {
18368
18367
  i0.ɵɵadvance(2);
18369
18368
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
18370
18369
  } }
18371
- function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
18372
- i0.ɵɵelementStart(0, "p", 31);
18373
- i0.ɵɵelementStart(1, "span", 29);
18370
+ function QueryWriteRaiseQueryComponent_p_41_Template(rf, ctx) { if (rf & 1) {
18371
+ i0.ɵɵelementStart(0, "p", 30);
18372
+ i0.ɵɵelementStart(1, "span", 28);
18374
18373
  i0.ɵɵtext(2);
18375
18374
  i0.ɵɵpipe(3, "rpxTranslate");
18376
18375
  i0.ɵɵelementEnd();
@@ -18383,17 +18382,26 @@ function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
18383
18382
  i0.ɵɵadvance(2);
18384
18383
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
18385
18384
  } }
18386
- function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) { if (rf & 1) {
18385
+ function QueryWriteRaiseQueryComponent_ng_container_61_Template(rf, ctx) { if (rf & 1) {
18387
18386
  i0.ɵɵelementContainerStart(0);
18388
- i0.ɵɵelementStart(1, "fieldset", 32);
18389
- i0.ɵɵelement(2, "ccd-query-write-date-input", 33);
18387
+ i0.ɵɵelementStart(1, "div", 31);
18388
+ i0.ɵɵelementStart(2, "fieldset", 32);
18389
+ i0.ɵɵelementStart(3, "label", 33);
18390
+ i0.ɵɵtext(4);
18391
+ i0.ɵɵpipe(5, "rpxTranslate");
18392
+ i0.ɵɵelementEnd();
18393
+ i0.ɵɵelement(6, "ccd-query-write-date-input", 34);
18394
+ i0.ɵɵelementEnd();
18390
18395
  i0.ɵɵelementEnd();
18391
18396
  i0.ɵɵelementContainerEnd();
18397
+ } if (rf & 2) {
18398
+ i0.ɵɵadvance(4);
18399
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 1, "Hearing Date"), " ");
18392
18400
  } }
18393
18401
  class QueryWriteRaiseQueryComponent {
18394
18402
  }
18395
18403
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
18396
- QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
18404
+ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 61, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
18397
18405
  i0.ɵɵelementStart(0, "div");
18398
18406
  i0.ɵɵelementStart(1, "div", 0);
18399
18407
  i0.ɵɵelementStart(2, "div", 1);
@@ -18410,79 +18418,77 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18410
18418
  i0.ɵɵelementEnd();
18411
18419
  i0.ɵɵelement(10, "hr");
18412
18420
  i0.ɵɵelementStart(11, "div", 3);
18413
- i0.ɵɵelementStart(12, "div", 4);
18414
- i0.ɵɵelementStart(13, "div");
18421
+ i0.ɵɵelementStart(12, "div");
18422
+ i0.ɵɵelementStart(13, "div", 4);
18415
18423
  i0.ɵɵelementStart(14, "div", 5);
18416
- i0.ɵɵelementStart(15, "div", 6);
18417
- i0.ɵɵelementStart(16, "label", 7);
18418
- i0.ɵɵtext(17);
18419
- i0.ɵɵpipe(18, "rpxTranslate");
18424
+ i0.ɵɵelementStart(15, "label", 6);
18425
+ i0.ɵɵtext(16);
18426
+ i0.ɵɵpipe(17, "rpxTranslate");
18420
18427
  i0.ɵɵelementEnd();
18421
18428
  i0.ɵɵelementEnd();
18422
- i0.ɵɵelementStart(19, "div", 8);
18423
- i0.ɵɵtext(20);
18424
- i0.ɵɵpipe(21, "rpxTranslate");
18429
+ i0.ɵɵelementStart(18, "div", 7);
18430
+ i0.ɵɵtext(19);
18431
+ i0.ɵɵpipe(20, "rpxTranslate");
18425
18432
  i0.ɵɵelementEnd();
18426
- i0.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
18427
- i0.ɵɵelement(23, "input", 10);
18433
+ i0.ɵɵtemplate(21, QueryWriteRaiseQueryComponent_p_21_Template, 6, 6, "p", 8);
18434
+ i0.ɵɵelement(22, "input", 9);
18428
18435
  i0.ɵɵelementEnd();
18436
+ i0.ɵɵelementStart(23, "div", 4);
18429
18437
  i0.ɵɵelementStart(24, "div", 5);
18430
- i0.ɵɵelementStart(25, "div", 6);
18431
- i0.ɵɵelementStart(26, "label", 11);
18432
- i0.ɵɵtext(27);
18433
- i0.ɵɵpipe(28, "rpxTranslate");
18438
+ i0.ɵɵelementStart(25, "label", 10);
18439
+ i0.ɵɵtext(26);
18440
+ i0.ɵɵpipe(27, "rpxTranslate");
18434
18441
  i0.ɵɵelementEnd();
18435
18442
  i0.ɵɵelementEnd();
18436
- i0.ɵɵelementStart(29, "div", 12);
18437
- i0.ɵɵtext(30);
18438
- i0.ɵɵpipe(31, "rpxTranslate");
18443
+ i0.ɵɵelementStart(28, "div", 11);
18444
+ i0.ɵɵtext(29);
18445
+ i0.ɵɵpipe(30, "rpxTranslate");
18439
18446
  i0.ɵɵelementEnd();
18440
- i0.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
18441
- i0.ɵɵelement(33, "input", 14);
18447
+ i0.ɵɵtemplate(31, QueryWriteRaiseQueryComponent_p_31_Template, 6, 6, "p", 12);
18448
+ i0.ɵɵelement(32, "input", 13);
18442
18449
  i0.ɵɵelementEnd();
18450
+ i0.ɵɵelementStart(33, "div", 4);
18443
18451
  i0.ɵɵelementStart(34, "div", 5);
18444
- i0.ɵɵelementStart(35, "div", 6);
18445
- i0.ɵɵelementStart(36, "label", 15);
18446
- i0.ɵɵtext(37);
18447
- i0.ɵɵpipe(38, "rpxTranslate");
18452
+ i0.ɵɵelementStart(35, "label", 14);
18453
+ i0.ɵɵtext(36);
18454
+ i0.ɵɵpipe(37, "rpxTranslate");
18448
18455
  i0.ɵɵelementEnd();
18449
18456
  i0.ɵɵelementEnd();
18450
- i0.ɵɵelementStart(39, "div", 16);
18451
- i0.ɵɵtext(40);
18452
- i0.ɵɵpipe(41, "rpxTranslate");
18457
+ i0.ɵɵelementStart(38, "div", 15);
18458
+ i0.ɵɵtext(39);
18459
+ i0.ɵɵpipe(40, "rpxTranslate");
18453
18460
  i0.ɵɵelementEnd();
18454
- i0.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
18455
- i0.ɵɵelementStart(43, "textarea", 18);
18456
- i0.ɵɵtext(44, " ");
18461
+ i0.ɵɵtemplate(41, QueryWriteRaiseQueryComponent_p_41_Template, 6, 6, "p", 16);
18462
+ i0.ɵɵelementStart(42, "textarea", 17);
18463
+ i0.ɵɵtext(43, " ");
18457
18464
  i0.ɵɵelementEnd();
18458
18465
  i0.ɵɵelementEnd();
18459
- i0.ɵɵelementStart(45, "div", 5);
18460
- i0.ɵɵelementStart(46, "fieldset", 19);
18461
- i0.ɵɵelementStart(47, "legend");
18462
- i0.ɵɵelementStart(48, "label", 20);
18463
- i0.ɵɵtext(49);
18464
- i0.ɵɵpipe(50, "rpxTranslate");
18466
+ i0.ɵɵelementStart(44, "div", 4);
18467
+ i0.ɵɵelementStart(45, "fieldset", 18);
18468
+ i0.ɵɵelementStart(46, "legend");
18469
+ i0.ɵɵelementStart(47, "label", 19);
18470
+ i0.ɵɵtext(48);
18471
+ i0.ɵɵpipe(49, "rpxTranslate");
18465
18472
  i0.ɵɵelementEnd();
18466
18473
  i0.ɵɵelementEnd();
18474
+ i0.ɵɵelementStart(50, "div", 20);
18467
18475
  i0.ɵɵelementStart(51, "div", 21);
18468
- i0.ɵɵelementStart(52, "div", 22);
18469
- i0.ɵɵelement(53, "input", 23);
18470
- i0.ɵɵelementStart(54, "label", 24);
18471
- i0.ɵɵtext(55);
18472
- i0.ɵɵpipe(56, "rpxTranslate");
18476
+ i0.ɵɵelement(52, "input", 22);
18477
+ i0.ɵɵelementStart(53, "label", 23);
18478
+ i0.ɵɵtext(54);
18479
+ i0.ɵɵpipe(55, "rpxTranslate");
18473
18480
  i0.ɵɵelementEnd();
18474
18481
  i0.ɵɵelementEnd();
18475
- i0.ɵɵelementStart(57, "div", 22);
18476
- i0.ɵɵelement(58, "input", 25);
18477
- i0.ɵɵelementStart(59, "label", 26);
18478
- i0.ɵɵtext(60);
18479
- i0.ɵɵpipe(61, "rpxTranslate");
18482
+ i0.ɵɵelementStart(56, "div", 21);
18483
+ i0.ɵɵelement(57, "input", 24);
18484
+ i0.ɵɵelementStart(58, "label", 25);
18485
+ i0.ɵɵtext(59);
18486
+ i0.ɵɵpipe(60, "rpxTranslate");
18480
18487
  i0.ɵɵelementEnd();
18481
18488
  i0.ɵɵelementEnd();
18482
18489
  i0.ɵɵelementEnd();
18483
18490
  i0.ɵɵelementEnd();
18484
- i0.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 3, 0, "ng-container", 27);
18485
- i0.ɵɵelementEnd();
18491
+ i0.ɵɵtemplate(61, QueryWriteRaiseQueryComponent_ng_container_61_Template, 7, 3, "ng-container", 26);
18486
18492
  i0.ɵɵelementEnd();
18487
18493
  i0.ɵɵelementEnd();
18488
18494
  i0.ɵɵelementEnd();
@@ -18501,14 +18507,14 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18501
18507
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 35, "Raise a query"));
18502
18508
  i0.ɵɵadvance(3);
18503
18509
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 37, "Enter query details"));
18504
- i0.ɵɵadvance(6);
18510
+ i0.ɵɵadvance(5);
18505
18511
  i0.ɵɵproperty("formGroup", ctx.formGroup);
18506
18512
  i0.ɵɵadvance(2);
18507
18513
  i0.ɵɵ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);
18508
18514
  i0.ɵɵadvance(3);
18509
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 39, "Full name"), " ");
18515
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 39, "Full name"), " ");
18510
18516
  i0.ɵɵadvance(3);
18511
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
18517
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 41, "Your full name must be included here"), " ");
18512
18518
  i0.ɵɵadvance(2);
18513
18519
  i0.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
18514
18520
  i0.ɵɵadvance(1);
@@ -18517,9 +18523,9 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18517
18523
  i0.ɵɵadvance(1);
18518
18524
  i0.ɵɵ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);
18519
18525
  i0.ɵɵadvance(3);
18520
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 43, "Query subject"), " ");
18526
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 43, "Query subject"), " ");
18521
18527
  i0.ɵɵadvance(3);
18522
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
18528
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 45, "The subject should be a summary of your query"), " ");
18523
18529
  i0.ɵɵadvance(2);
18524
18530
  i0.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
18525
18531
  i0.ɵɵadvance(1);
@@ -18528,24 +18534,24 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18528
18534
  i0.ɵɵadvance(1);
18529
18535
  i0.ɵɵ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);
18530
18536
  i0.ɵɵadvance(3);
18531
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 47, "Query body"), " ");
18537
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 47, "Query body"), " ");
18532
18538
  i0.ɵɵadvance(3);
18533
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
18539
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 49, "Include as many details as possible so case workers can respond to your query"), " ");
18534
18540
  i0.ɵɵadvance(2);
18535
18541
  i0.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
18536
18542
  i0.ɵɵadvance(1);
18537
18543
  i0.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
18538
18544
  i0.ɵɵproperty("formControlName", "body");
18539
18545
  i0.ɵɵadvance(6);
18540
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
18546
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 51, "Is the query hearing related?"), " ");
18541
18547
  i0.ɵɵadvance(4);
18542
18548
  i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
18543
18549
  i0.ɵɵadvance(2);
18544
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
18550
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(55, 53, "Is the query hearing related?", null, "Yes"), " ");
18545
18551
  i0.ɵɵadvance(3);
18546
18552
  i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
18547
18553
  i0.ɵɵadvance(2);
18548
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
18554
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(60, 57, "Is the query hearing related?", null, "No"), " ");
18549
18555
  i0.ɵɵadvance(2);
18550
18556
  i0.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
18551
18557
  } }, encapsulation: 2 });
@@ -18559,7 +18565,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18559
18565
  type: Input
18560
18566
  }] }); })();
18561
18567
 
18562
- function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) { if (rf & 1) {
18568
+ function QueryWriteRespondToQueryComponent_p_26_Template(rf, ctx) { if (rf & 1) {
18563
18569
  i0.ɵɵelementStart(0, "p", 15);
18564
18570
  i0.ɵɵelementStart(1, "span", 16);
18565
18571
  i0.ɵɵtext(2);
@@ -18577,7 +18583,7 @@ function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) { if (rf & 1)
18577
18583
  class QueryWriteRespondToQueryComponent {
18578
18584
  }
18579
18585
  QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
18580
- QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 30, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
18586
+ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 29, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
18581
18587
  i0.ɵɵelementStart(0, "div", 0);
18582
18588
  i0.ɵɵelementStart(1, "a", 1);
18583
18589
  i0.ɵɵtext(2);
@@ -18603,23 +18609,21 @@ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWr
18603
18609
  i0.ɵɵelementEnd();
18604
18610
  i0.ɵɵelementEnd();
18605
18611
  i0.ɵɵelementStart(16, "div", 7);
18606
- i0.ɵɵelementStart(17, "div", 5);
18607
- i0.ɵɵelementStart(18, "h1", 8);
18608
- i0.ɵɵtext(19);
18609
- i0.ɵɵpipe(20, "rpxTranslate");
18610
- i0.ɵɵelementEnd();
18611
- i0.ɵɵelementStart(21, "div", 9);
18612
- i0.ɵɵelementStart(22, "div", 10);
18613
- i0.ɵɵelementStart(23, "div", 11);
18614
- i0.ɵɵelementStart(24, "label", 12);
18615
- i0.ɵɵtext(25);
18616
- i0.ɵɵpipe(26, "rpxTranslate");
18612
+ i0.ɵɵelementStart(17, "h1", 8);
18613
+ i0.ɵɵtext(18);
18614
+ i0.ɵɵpipe(19, "rpxTranslate");
18617
18615
  i0.ɵɵelementEnd();
18616
+ i0.ɵɵelementStart(20, "div", 9);
18617
+ i0.ɵɵelementStart(21, "div", 10);
18618
+ i0.ɵɵelementStart(22, "div", 11);
18619
+ i0.ɵɵelementStart(23, "label", 12);
18620
+ i0.ɵɵtext(24);
18621
+ i0.ɵɵpipe(25, "rpxTranslate");
18618
18622
  i0.ɵɵelementEnd();
18619
- i0.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
18620
- i0.ɵɵelementStart(28, "textarea", 14);
18621
- i0.ɵɵtext(29, " ");
18622
18623
  i0.ɵɵelementEnd();
18624
+ i0.ɵɵtemplate(26, QueryWriteRespondToQueryComponent_p_26_Template, 6, 6, "p", 13);
18625
+ i0.ɵɵelementStart(27, "textarea", 14);
18626
+ i0.ɵɵtext(28, " ");
18623
18627
  i0.ɵɵelementEnd();
18624
18628
  i0.ɵɵelementEnd();
18625
18629
  i0.ɵɵelementEnd();
@@ -18636,14 +18640,14 @@ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWr
18636
18640
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 17, "Query details"));
18637
18641
  i0.ɵɵadvance(5);
18638
18642
  i0.ɵɵproperty("queryItem", ctx.queryItem);
18639
- i0.ɵɵadvance(4);
18640
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 19, "Respond to a query"));
18643
+ i0.ɵɵadvance(3);
18644
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 19, "Respond to a query"));
18641
18645
  i0.ɵɵadvance(2);
18642
18646
  i0.ɵɵproperty("formGroup", ctx.formGroup);
18643
18647
  i0.ɵɵadvance(1);
18644
18648
  i0.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
18645
18649
  i0.ɵɵadvance(3);
18646
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 21, "Response message"), " ");
18650
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 21, "Response message"), " ");
18647
18651
  i0.ɵɵadvance(2);
18648
18652
  i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
18649
18653
  i0.ɵɵadvance(1);