@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-document-uploader → 6.16.0-query-management-document-uploader-v2
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.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +147 -239
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +3 -3
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +6 -4
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +4 -5
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +95 -148
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +47 -89
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-message.model.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +147 -241
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +1 -4
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +2 -6
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts +2 -2
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +2 -2
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -17504,9 +17504,11 @@ const partyMessagesMockData = [
|
|
|
17504
17504
|
body: 'Please review attached document and advise if hearing should proceed?',
|
|
17505
17505
|
attachments: [
|
|
17506
17506
|
{
|
|
17507
|
-
|
|
17508
|
-
|
|
17509
|
-
|
|
17507
|
+
_links: {
|
|
17508
|
+
self: { href: '/' },
|
|
17509
|
+
binary: { href: '/' },
|
|
17510
|
+
},
|
|
17511
|
+
originalDocumentName: 'documentName.pdf',
|
|
17510
17512
|
}
|
|
17511
17513
|
],
|
|
17512
17514
|
isHearingRelated: true,
|
|
@@ -18189,7 +18191,7 @@ class QueryWriteAddDocumentsComponent {
|
|
|
18189
18191
|
const formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
18190
18192
|
if (formControl) {
|
|
18191
18193
|
this.documentFormControlSubscription = formControl.valueChanges
|
|
18192
|
-
.pipe(map(documents => documents.filter((document) => { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })), map(documents => documents.map(document => document === null || document === void 0 ? void 0 : document.value)), tap(documents => this.documentCollectionUpdate.emit(documents)))
|
|
18194
|
+
.pipe(map(documents => (documents.filter((document) => { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); }))), map(documents => documents.map(document => document === null || document === void 0 ? void 0 : document.value)), tap(documents => this.documentCollectionUpdate.emit(documents)))
|
|
18193
18195
|
.subscribe();
|
|
18194
18196
|
}
|
|
18195
18197
|
}
|
|
@@ -18204,21 +18206,20 @@ QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWrit
|
|
|
18204
18206
|
i0.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
18205
18207
|
} if (rf & 2) {
|
|
18206
18208
|
i0.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
18207
|
-
} },
|
|
18209
|
+
} }, encapsulation: 2 });
|
|
18208
18210
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
18209
18211
|
type: Component,
|
|
18210
18212
|
args: [{
|
|
18211
18213
|
selector: 'ccd-query-write-add-documents',
|
|
18212
|
-
templateUrl: './query-write-add-documents.component.html'
|
|
18213
|
-
styleUrls: ['./query-write-add-documents.component.scss']
|
|
18214
|
+
templateUrl: './query-write-add-documents.component.html'
|
|
18214
18215
|
}]
|
|
18215
18216
|
}], function () { return []; }, { documentCollectionUpdate: [{
|
|
18216
18217
|
type: Output
|
|
18217
18218
|
}] }); })();
|
|
18218
18219
|
|
|
18219
|
-
function
|
|
18220
|
-
i0.ɵɵelementStart(0, "p",
|
|
18221
|
-
i0.ɵɵelementStart(1, "span",
|
|
18220
|
+
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) { if (rf & 1) {
|
|
18221
|
+
i0.ɵɵelementStart(0, "p", 27);
|
|
18222
|
+
i0.ɵɵelementStart(1, "span", 28);
|
|
18222
18223
|
i0.ɵɵtext(2);
|
|
18223
18224
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
18224
18225
|
i0.ɵɵelementEnd();
|
|
@@ -18229,11 +18230,11 @@ function QueryWriteRaiseQueryComponent_p_23_Template(rf, ctx) { if (rf & 1) {
|
|
|
18229
18230
|
i0.ɵɵadvance(2);
|
|
18230
18231
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
|
|
18231
18232
|
i0.ɵɵadvance(2);
|
|
18232
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a
|
|
18233
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
|
|
18233
18234
|
} }
|
|
18234
|
-
function
|
|
18235
|
-
i0.ɵɵelementStart(0, "p",
|
|
18236
|
-
i0.ɵɵelementStart(1, "span",
|
|
18235
|
+
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) { if (rf & 1) {
|
|
18236
|
+
i0.ɵɵelementStart(0, "p", 29);
|
|
18237
|
+
i0.ɵɵelementStart(1, "span", 28);
|
|
18237
18238
|
i0.ɵɵtext(2);
|
|
18238
18239
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
18239
18240
|
i0.ɵɵelementEnd();
|
|
@@ -18246,9 +18247,9 @@ function QueryWriteRaiseQueryComponent_p_33_Template(rf, ctx) { if (rf & 1) {
|
|
|
18246
18247
|
i0.ɵɵadvance(2);
|
|
18247
18248
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
|
|
18248
18249
|
} }
|
|
18249
|
-
function
|
|
18250
|
-
i0.ɵɵelementStart(0, "p",
|
|
18251
|
-
i0.ɵɵelementStart(1, "span",
|
|
18250
|
+
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
|
|
18251
|
+
i0.ɵɵelementStart(0, "p", 30);
|
|
18252
|
+
i0.ɵɵelementStart(1, "span", 28);
|
|
18252
18253
|
i0.ɵɵtext(2);
|
|
18253
18254
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
18254
18255
|
i0.ɵɵelementEnd();
|
|
@@ -18262,137 +18263,96 @@ function QueryWriteRaiseQueryComponent_p_43_Template(rf, ctx) { if (rf & 1) {
|
|
|
18262
18263
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
18263
18264
|
} }
|
|
18264
18265
|
class QueryWriteRaiseQueryComponent {
|
|
18265
|
-
constructor() {
|
|
18266
|
-
this.formGroup = new FormGroup({
|
|
18267
|
-
fullName: new FormControl('', Validators.required),
|
|
18268
|
-
subject: new FormControl('', Validators.required),
|
|
18269
|
-
body: new FormControl('', Validators.required),
|
|
18270
|
-
isHearingRelated: new FormControl(null, Validators.required),
|
|
18271
|
-
documents: new FormControl([])
|
|
18272
|
-
});
|
|
18273
|
-
}
|
|
18274
|
-
onDocumentCollectionUpdate(documents) {
|
|
18275
|
-
this.formGroup.get('documents').setValue(documents);
|
|
18276
|
-
}
|
|
18277
18266
|
}
|
|
18278
18267
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
18279
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]],
|
|
18280
|
-
i0.ɵɵelementStart(0, "div"
|
|
18281
|
-
i0.ɵɵelementStart(1, "div",
|
|
18282
|
-
i0.ɵɵelementStart(2, "div",
|
|
18283
|
-
i0.ɵɵ
|
|
18284
|
-
i0.ɵɵ
|
|
18285
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
18286
|
-
i0.ɵɵelementEnd();
|
|
18287
|
-
i0.ɵɵelementStart(6, "h1", 4);
|
|
18288
|
-
i0.ɵɵtext(7);
|
|
18289
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
18290
|
-
i0.ɵɵelementEnd();
|
|
18291
|
-
i0.ɵɵelementEnd();
|
|
18292
|
-
i0.ɵɵelementStart(9, "div");
|
|
18293
|
-
i0.ɵɵelement(10, "ccd-query-case-details-header");
|
|
18294
|
-
i0.ɵɵelementEnd();
|
|
18295
|
-
i0.ɵɵelement(11, "hr");
|
|
18296
|
-
i0.ɵɵelementStart(12, "div", 5);
|
|
18297
|
-
i0.ɵɵelementStart(13, "div", 6);
|
|
18298
|
-
i0.ɵɵelementStart(14, "div");
|
|
18299
|
-
i0.ɵɵelementStart(15, "div", 7);
|
|
18300
|
-
i0.ɵɵelementStart(16, "div", 8);
|
|
18301
|
-
i0.ɵɵelementStart(17, "label", 9);
|
|
18302
|
-
i0.ɵɵtext(18);
|
|
18303
|
-
i0.ɵɵpipe(19, "rpxTranslate");
|
|
18304
|
-
i0.ɵɵelementEnd();
|
|
18305
|
-
i0.ɵɵelementEnd();
|
|
18306
|
-
i0.ɵɵelementStart(20, "div", 10);
|
|
18307
|
-
i0.ɵɵtext(21);
|
|
18308
|
-
i0.ɵɵpipe(22, "rpxTranslate");
|
|
18309
|
-
i0.ɵɵelementEnd();
|
|
18310
|
-
i0.ɵɵtemplate(23, QueryWriteRaiseQueryComponent_p_23_Template, 6, 6, "p", 11);
|
|
18311
|
-
i0.ɵɵelement(24, "input", 12);
|
|
18312
|
-
i0.ɵɵelementEnd();
|
|
18313
|
-
i0.ɵɵelementStart(25, "div", 7);
|
|
18314
|
-
i0.ɵɵelementStart(26, "div", 8);
|
|
18315
|
-
i0.ɵɵelementStart(27, "label", 13);
|
|
18316
|
-
i0.ɵɵtext(28);
|
|
18317
|
-
i0.ɵɵpipe(29, "rpxTranslate");
|
|
18318
|
-
i0.ɵɵelementEnd();
|
|
18319
|
-
i0.ɵɵelementEnd();
|
|
18320
|
-
i0.ɵɵelementStart(30, "div", 14);
|
|
18321
|
-
i0.ɵɵtext(31);
|
|
18322
|
-
i0.ɵɵpipe(32, "rpxTranslate");
|
|
18268
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18269
|
+
i0.ɵɵelementStart(0, "div");
|
|
18270
|
+
i0.ɵɵelementStart(1, "div", 0);
|
|
18271
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
18272
|
+
i0.ɵɵtext(3);
|
|
18273
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
18323
18274
|
i0.ɵɵelementEnd();
|
|
18324
|
-
i0.ɵɵ
|
|
18325
|
-
i0.ɵɵ
|
|
18275
|
+
i0.ɵɵelementStart(5, "h1", 2);
|
|
18276
|
+
i0.ɵɵtext(6);
|
|
18277
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
18326
18278
|
i0.ɵɵelementEnd();
|
|
18327
|
-
i0.ɵɵelementStart(35, "div", 7);
|
|
18328
|
-
i0.ɵɵelementStart(36, "div", 8);
|
|
18329
|
-
i0.ɵɵelementStart(37, "label", 17);
|
|
18330
|
-
i0.ɵɵtext(38);
|
|
18331
|
-
i0.ɵɵpipe(39, "rpxTranslate");
|
|
18332
18279
|
i0.ɵɵelementEnd();
|
|
18280
|
+
i0.ɵɵelementStart(8, "div");
|
|
18281
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header");
|
|
18333
18282
|
i0.ɵɵelementEnd();
|
|
18334
|
-
i0.ɵɵ
|
|
18335
|
-
i0.ɵɵ
|
|
18336
|
-
i0.ɵɵ
|
|
18283
|
+
i0.ɵɵelement(10, "hr");
|
|
18284
|
+
i0.ɵɵelementStart(11, "div", 3);
|
|
18285
|
+
i0.ɵɵelementStart(12, "div", 4);
|
|
18286
|
+
i0.ɵɵelementStart(13, "div");
|
|
18287
|
+
i0.ɵɵelementStart(14, "div", 5);
|
|
18288
|
+
i0.ɵɵelementStart(15, "div", 6);
|
|
18289
|
+
i0.ɵɵelementStart(16, "label", 7);
|
|
18290
|
+
i0.ɵɵtext(17);
|
|
18291
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
18337
18292
|
i0.ɵɵelementEnd();
|
|
18338
|
-
i0.ɵɵtemplate(43, QueryWriteRaiseQueryComponent_p_43_Template, 6, 6, "p", 19);
|
|
18339
|
-
i0.ɵɵelementStart(44, "textarea", 20);
|
|
18340
|
-
i0.ɵɵtext(45, " ");
|
|
18341
18293
|
i0.ɵɵelementEnd();
|
|
18294
|
+
i0.ɵɵelementStart(19, "div", 8);
|
|
18295
|
+
i0.ɵɵtext(20);
|
|
18296
|
+
i0.ɵɵpipe(21, "rpxTranslate");
|
|
18342
18297
|
i0.ɵɵelementEnd();
|
|
18343
|
-
i0.ɵɵ
|
|
18344
|
-
i0.ɵɵ
|
|
18345
|
-
i0.ɵɵelementStart(48, "legend");
|
|
18346
|
-
i0.ɵɵelementStart(49, "label", 22);
|
|
18347
|
-
i0.ɵɵtext(50);
|
|
18348
|
-
i0.ɵɵpipe(51, "rpxTranslate");
|
|
18298
|
+
i0.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
|
|
18299
|
+
i0.ɵɵelement(23, "input", 10);
|
|
18349
18300
|
i0.ɵɵelementEnd();
|
|
18301
|
+
i0.ɵɵelementStart(24, "div", 5);
|
|
18302
|
+
i0.ɵɵelementStart(25, "div", 6);
|
|
18303
|
+
i0.ɵɵelementStart(26, "label", 11);
|
|
18304
|
+
i0.ɵɵtext(27);
|
|
18305
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
18350
18306
|
i0.ɵɵelementEnd();
|
|
18351
|
-
i0.ɵɵelementStart(52, "div", 23);
|
|
18352
|
-
i0.ɵɵelementStart(53, "div", 24);
|
|
18353
|
-
i0.ɵɵelement(54, "input", 25);
|
|
18354
|
-
i0.ɵɵelementStart(55, "label", 26);
|
|
18355
|
-
i0.ɵɵtext(56);
|
|
18356
|
-
i0.ɵɵpipe(57, "rpxTranslate");
|
|
18357
18307
|
i0.ɵɵelementEnd();
|
|
18308
|
+
i0.ɵɵelementStart(29, "div", 12);
|
|
18309
|
+
i0.ɵɵtext(30);
|
|
18310
|
+
i0.ɵɵpipe(31, "rpxTranslate");
|
|
18358
18311
|
i0.ɵɵelementEnd();
|
|
18359
|
-
i0.ɵɵ
|
|
18360
|
-
i0.ɵɵelement(
|
|
18361
|
-
i0.ɵɵelementStart(60, "label", 28);
|
|
18362
|
-
i0.ɵɵtext(61);
|
|
18363
|
-
i0.ɵɵpipe(62, "rpxTranslate");
|
|
18312
|
+
i0.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
|
|
18313
|
+
i0.ɵɵelement(33, "input", 14);
|
|
18364
18314
|
i0.ɵɵelementEnd();
|
|
18315
|
+
i0.ɵɵelementStart(34, "div", 5);
|
|
18316
|
+
i0.ɵɵelementStart(35, "div", 6);
|
|
18317
|
+
i0.ɵɵelementStart(36, "label", 15);
|
|
18318
|
+
i0.ɵɵtext(37);
|
|
18319
|
+
i0.ɵɵpipe(38, "rpxTranslate");
|
|
18365
18320
|
i0.ɵɵelementEnd();
|
|
18366
18321
|
i0.ɵɵelementEnd();
|
|
18322
|
+
i0.ɵɵelementStart(39, "div", 16);
|
|
18323
|
+
i0.ɵɵtext(40);
|
|
18324
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
18367
18325
|
i0.ɵɵelementEnd();
|
|
18326
|
+
i0.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
|
|
18327
|
+
i0.ɵɵelementStart(43, "textarea", 18);
|
|
18328
|
+
i0.ɵɵtext(44, " ");
|
|
18368
18329
|
i0.ɵɵelementEnd();
|
|
18369
|
-
i0.ɵɵelementStart(63, "div", 7);
|
|
18370
|
-
i0.ɵɵelementStart(64, "ccd-query-write-add-documents", 29);
|
|
18371
|
-
i0.ɵɵlistener("documentCollectionUpdate", function QueryWriteRaiseQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_64_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
18372
18330
|
i0.ɵɵelementEnd();
|
|
18331
|
+
i0.ɵɵelementStart(45, "div", 5);
|
|
18332
|
+
i0.ɵɵelementStart(46, "fieldset", 19);
|
|
18333
|
+
i0.ɵɵelementStart(47, "legend");
|
|
18334
|
+
i0.ɵɵelementStart(48, "label", 20);
|
|
18335
|
+
i0.ɵɵtext(49);
|
|
18336
|
+
i0.ɵɵpipe(50, "rpxTranslate");
|
|
18373
18337
|
i0.ɵɵelementEnd();
|
|
18374
|
-
i0.ɵɵelementStart(65, "button", 30);
|
|
18375
|
-
i0.ɵɵtext(66);
|
|
18376
|
-
i0.ɵɵpipe(67, "rpxTranslate");
|
|
18377
18338
|
i0.ɵɵelementEnd();
|
|
18339
|
+
i0.ɵɵelementStart(51, "div", 21);
|
|
18340
|
+
i0.ɵɵelementStart(52, "div", 22);
|
|
18341
|
+
i0.ɵɵelement(53, "input", 23);
|
|
18342
|
+
i0.ɵɵelementStart(54, "label", 24);
|
|
18343
|
+
i0.ɵɵtext(55);
|
|
18344
|
+
i0.ɵɵpipe(56, "rpxTranslate");
|
|
18378
18345
|
i0.ɵɵelementEnd();
|
|
18379
18346
|
i0.ɵɵelementEnd();
|
|
18380
|
-
i0.ɵɵelementStart(
|
|
18381
|
-
i0.ɵɵ
|
|
18382
|
-
i0.ɵɵelementStart(
|
|
18383
|
-
i0.ɵɵtext(
|
|
18384
|
-
i0.ɵɵpipe(
|
|
18347
|
+
i0.ɵɵelementStart(57, "div", 22);
|
|
18348
|
+
i0.ɵɵelement(58, "input", 25);
|
|
18349
|
+
i0.ɵɵelementStart(59, "label", 26);
|
|
18350
|
+
i0.ɵɵtext(60);
|
|
18351
|
+
i0.ɵɵpipe(61, "rpxTranslate");
|
|
18385
18352
|
i0.ɵɵelementEnd();
|
|
18386
|
-
i0.ɵɵelementStart(73, "button", 30);
|
|
18387
|
-
i0.ɵɵtext(74);
|
|
18388
|
-
i0.ɵɵpipe(75, "rpxTranslate");
|
|
18389
18353
|
i0.ɵɵelementEnd();
|
|
18390
18354
|
i0.ɵɵelementEnd();
|
|
18391
18355
|
i0.ɵɵelementEnd();
|
|
18392
|
-
i0.ɵɵelementStart(76, "div", 33);
|
|
18393
|
-
i0.ɵɵelementStart(77, "a", 34);
|
|
18394
|
-
i0.ɵɵtext(78);
|
|
18395
|
-
i0.ɵɵpipe(79, "rpxTranslate");
|
|
18396
18356
|
i0.ɵɵelementEnd();
|
|
18397
18357
|
i0.ɵɵelementEnd();
|
|
18398
18358
|
i0.ɵɵelementEnd();
|
|
@@ -18408,81 +18368,69 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
|
|
|
18408
18368
|
let tmp_15_0 = null;
|
|
18409
18369
|
let tmp_18_0 = null;
|
|
18410
18370
|
let tmp_19_0 = null;
|
|
18411
|
-
let tmp_28_0 = null;
|
|
18412
|
-
i0.ɵɵadvance(4);
|
|
18413
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 41, "Raise a query"));
|
|
18414
18371
|
i0.ɵɵadvance(3);
|
|
18415
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18372
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 34, "Raise a query"));
|
|
18373
|
+
i0.ɵɵadvance(3);
|
|
18374
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 36, "Enter query details"));
|
|
18416
18375
|
i0.ɵɵadvance(6);
|
|
18417
18376
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
18418
18377
|
i0.ɵɵadvance(2);
|
|
18419
18378
|
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);
|
|
18420
18379
|
i0.ɵɵadvance(3);
|
|
18421
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18380
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
18422
18381
|
i0.ɵɵadvance(3);
|
|
18423
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18382
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
18424
18383
|
i0.ɵɵadvance(2);
|
|
18425
|
-
i0.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("
|
|
18384
|
+
i0.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
18426
18385
|
i0.ɵɵadvance(1);
|
|
18427
18386
|
i0.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
|
|
18428
18387
|
i0.ɵɵproperty("formControlName", "fullName");
|
|
18429
18388
|
i0.ɵɵadvance(1);
|
|
18430
18389
|
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);
|
|
18431
18390
|
i0.ɵɵadvance(3);
|
|
18432
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18391
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 42, "Query subject"), " ");
|
|
18433
18392
|
i0.ɵɵadvance(3);
|
|
18434
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18393
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
|
|
18435
18394
|
i0.ɵɵadvance(2);
|
|
18436
|
-
i0.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("
|
|
18395
|
+
i0.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
18437
18396
|
i0.ɵɵadvance(1);
|
|
18438
18397
|
i0.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
|
|
18439
18398
|
i0.ɵɵproperty("formControlName", "subject");
|
|
18440
18399
|
i0.ɵɵadvance(1);
|
|
18441
18400
|
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);
|
|
18442
18401
|
i0.ɵɵadvance(3);
|
|
18443
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18402
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 46, "Query body"), " ");
|
|
18444
18403
|
i0.ɵɵadvance(3);
|
|
18445
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18404
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
18446
18405
|
i0.ɵɵadvance(2);
|
|
18447
18406
|
i0.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
18448
18407
|
i0.ɵɵadvance(1);
|
|
18449
18408
|
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);
|
|
18450
18409
|
i0.ɵɵproperty("formControlName", "body");
|
|
18451
18410
|
i0.ɵɵadvance(6);
|
|
18452
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18411
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
|
|
18453
18412
|
i0.ɵɵadvance(4);
|
|
18454
18413
|
i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
18455
18414
|
i0.ɵɵadvance(2);
|
|
18456
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
18415
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
|
|
18457
18416
|
i0.ɵɵadvance(3);
|
|
18458
18417
|
i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
18459
18418
|
i0.ɵɵadvance(2);
|
|
18460
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(
|
|
18461
|
-
|
|
18462
|
-
i0.ɵɵclassProp("govuk-form-group--error", (tmp_28_0 = ctx.formGroup.get("documents")) == null ? null : tmp_28_0.errors == null ? null : tmp_28_0.errors.length);
|
|
18463
|
-
i0.ɵɵadvance(3);
|
|
18464
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(67, 67, "Next"), " ");
|
|
18465
|
-
i0.ɵɵadvance(4);
|
|
18466
|
-
i0.ɵɵproperty("disabled", true);
|
|
18467
|
-
i0.ɵɵadvance(1);
|
|
18468
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(72, 69, "Previous"), " ");
|
|
18469
|
-
i0.ɵɵadvance(3);
|
|
18470
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(75, 71, "Continue"), " ");
|
|
18471
|
-
i0.ɵɵadvance(4);
|
|
18472
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(79, 73, "Cancel and return to case"), " ");
|
|
18473
|
-
} }, styles: [".query-raise[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
18419
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
|
|
18420
|
+
} }, encapsulation: 2 });
|
|
18474
18421
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
18475
18422
|
type: Component,
|
|
18476
18423
|
args: [{
|
|
18477
18424
|
selector: 'ccd-query-write-raise-query',
|
|
18478
|
-
templateUrl: './query-write-raise-query.component.html'
|
|
18479
|
-
styleUrls: ['./query-write-raise-query.component.scss']
|
|
18425
|
+
templateUrl: './query-write-raise-query.component.html'
|
|
18480
18426
|
}]
|
|
18481
|
-
}],
|
|
18427
|
+
}], null, { formGroup: [{
|
|
18428
|
+
type: Input
|
|
18429
|
+
}] }); })();
|
|
18482
18430
|
|
|
18483
|
-
function
|
|
18484
|
-
i0.ɵɵelementStart(0, "p",
|
|
18485
|
-
i0.ɵɵelementStart(1, "span",
|
|
18431
|
+
function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) { if (rf & 1) {
|
|
18432
|
+
i0.ɵɵelementStart(0, "p", 15);
|
|
18433
|
+
i0.ɵɵelementStart(1, "span", 16);
|
|
18486
18434
|
i0.ɵɵtext(2);
|
|
18487
18435
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
18488
18436
|
i0.ɵɵelementEnd();
|
|
@@ -18496,18 +18444,9 @@ function QueryWriteRespondToQueryComponent_p_25_Template(rf, ctx) { if (rf & 1)
|
|
|
18496
18444
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
|
|
18497
18445
|
} }
|
|
18498
18446
|
class QueryWriteRespondToQueryComponent {
|
|
18499
|
-
ngOnInit() {
|
|
18500
|
-
this.formGroup = new FormGroup({
|
|
18501
|
-
response: new FormControl('', Validators.required),
|
|
18502
|
-
documents: new FormControl(null)
|
|
18503
|
-
});
|
|
18504
|
-
}
|
|
18505
|
-
onDocumentCollectionUpdate(documents) {
|
|
18506
|
-
this.formGroup.get('documents').setValue(documents);
|
|
18507
|
-
}
|
|
18508
18447
|
}
|
|
18509
18448
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
18510
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem" }, decls:
|
|
18449
|
+
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) {
|
|
18511
18450
|
i0.ɵɵelementStart(0, "div", 0);
|
|
18512
18451
|
i0.ɵɵelementStart(1, "a", 1);
|
|
18513
18452
|
i0.ɵɵtext(2);
|
|
@@ -18515,115 +18454,82 @@ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWr
|
|
|
18515
18454
|
i0.ɵɵelementEnd();
|
|
18516
18455
|
i0.ɵɵelementEnd();
|
|
18517
18456
|
i0.ɵɵelementStart(4, "div", 2);
|
|
18518
|
-
i0.ɵɵelementStart(5, "div",
|
|
18519
|
-
i0.ɵɵ
|
|
18520
|
-
i0.ɵɵ
|
|
18521
|
-
i0.ɵɵ
|
|
18522
|
-
i0.ɵɵelementStart(8, "h1", 4);
|
|
18523
|
-
i0.ɵɵtext(9);
|
|
18524
|
-
i0.ɵɵpipe(10, "rpxTranslate");
|
|
18525
|
-
i0.ɵɵelementEnd();
|
|
18526
|
-
i0.ɵɵelementStart(11, "div", 5);
|
|
18527
|
-
i0.ɵɵelement(12, "ccd-query-case-details-header");
|
|
18528
|
-
i0.ɵɵelementEnd();
|
|
18529
|
-
i0.ɵɵelementStart(13, "div");
|
|
18530
|
-
i0.ɵɵelement(14, "ccd-query-details-table", 6);
|
|
18531
|
-
i0.ɵɵelementEnd();
|
|
18532
|
-
i0.ɵɵelementEnd();
|
|
18533
|
-
i0.ɵɵelementStart(15, "div", 5);
|
|
18534
|
-
i0.ɵɵelementStart(16, "h1", 7);
|
|
18535
|
-
i0.ɵɵtext(17);
|
|
18536
|
-
i0.ɵɵpipe(18, "rpxTranslate");
|
|
18537
|
-
i0.ɵɵelementEnd();
|
|
18538
|
-
i0.ɵɵelementStart(19, "div", 8);
|
|
18539
|
-
i0.ɵɵelementStart(20, "div", 9);
|
|
18540
|
-
i0.ɵɵelementStart(21, "div", 10);
|
|
18541
|
-
i0.ɵɵelementStart(22, "label", 11);
|
|
18542
|
-
i0.ɵɵtext(23);
|
|
18543
|
-
i0.ɵɵpipe(24, "rpxTranslate");
|
|
18457
|
+
i0.ɵɵelementStart(5, "div", 2);
|
|
18458
|
+
i0.ɵɵelementStart(6, "div", 3);
|
|
18459
|
+
i0.ɵɵtext(7);
|
|
18460
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
18544
18461
|
i0.ɵɵelementEnd();
|
|
18462
|
+
i0.ɵɵelementStart(9, "h1", 4);
|
|
18463
|
+
i0.ɵɵtext(10);
|
|
18464
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
18545
18465
|
i0.ɵɵelementEnd();
|
|
18546
|
-
i0.ɵɵtemplate(25, QueryWriteRespondToQueryComponent_p_25_Template, 6, 6, "p", 12);
|
|
18547
|
-
i0.ɵɵelementStart(26, "textarea", 13);
|
|
18548
|
-
i0.ɵɵtext(27, " ");
|
|
18549
18466
|
i0.ɵɵelementEnd();
|
|
18467
|
+
i0.ɵɵelementStart(12, "div", 5);
|
|
18468
|
+
i0.ɵɵelement(13, "ccd-query-case-details-header");
|
|
18550
18469
|
i0.ɵɵelementEnd();
|
|
18551
|
-
i0.ɵɵelementStart(
|
|
18552
|
-
i0.ɵɵ
|
|
18553
|
-
i0.ɵɵlistener("documentCollectionUpdate", function QueryWriteRespondToQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_29_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
18470
|
+
i0.ɵɵelementStart(14, "div");
|
|
18471
|
+
i0.ɵɵelement(15, "ccd-query-details-table", 6);
|
|
18554
18472
|
i0.ɵɵelementEnd();
|
|
18555
18473
|
i0.ɵɵelementEnd();
|
|
18556
|
-
i0.ɵɵelementStart(
|
|
18557
|
-
i0.ɵɵ
|
|
18558
|
-
i0.ɵɵ
|
|
18474
|
+
i0.ɵɵelementStart(16, "div", 7);
|
|
18475
|
+
i0.ɵɵelementStart(17, "div", 5);
|
|
18476
|
+
i0.ɵɵelementStart(18, "h1", 8);
|
|
18477
|
+
i0.ɵɵtext(19);
|
|
18478
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
18559
18479
|
i0.ɵɵelementEnd();
|
|
18480
|
+
i0.ɵɵelementStart(21, "div", 9);
|
|
18481
|
+
i0.ɵɵelementStart(22, "div", 10);
|
|
18482
|
+
i0.ɵɵelementStart(23, "div", 11);
|
|
18483
|
+
i0.ɵɵelementStart(24, "label", 12);
|
|
18484
|
+
i0.ɵɵtext(25);
|
|
18485
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
18560
18486
|
i0.ɵɵelementEnd();
|
|
18561
18487
|
i0.ɵɵelementEnd();
|
|
18562
|
-
i0.ɵɵ
|
|
18563
|
-
i0.ɵɵelementStart(
|
|
18564
|
-
i0.ɵɵ
|
|
18565
|
-
i0.ɵɵtext(36);
|
|
18566
|
-
i0.ɵɵpipe(37, "rpxTranslate");
|
|
18488
|
+
i0.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
|
|
18489
|
+
i0.ɵɵelementStart(28, "textarea", 14);
|
|
18490
|
+
i0.ɵɵtext(29, " ");
|
|
18567
18491
|
i0.ɵɵelementEnd();
|
|
18568
|
-
i0.ɵɵelementStart(38, "button", 16);
|
|
18569
|
-
i0.ɵɵtext(39);
|
|
18570
|
-
i0.ɵɵpipe(40, "rpxTranslate");
|
|
18571
18492
|
i0.ɵɵelementEnd();
|
|
18572
18493
|
i0.ɵɵelementEnd();
|
|
18573
18494
|
i0.ɵɵelementEnd();
|
|
18574
|
-
i0.ɵɵelementStart(41, "div", 0);
|
|
18575
|
-
i0.ɵɵelementStart(42, "a", 19);
|
|
18576
|
-
i0.ɵɵtext(43);
|
|
18577
|
-
i0.ɵɵpipe(44, "rpxTranslate");
|
|
18578
|
-
i0.ɵɵelementEnd();
|
|
18579
18495
|
i0.ɵɵelementEnd();
|
|
18580
18496
|
} if (rf & 2) {
|
|
18581
18497
|
let tmp_6_0 = null;
|
|
18582
18498
|
let tmp_8_0 = null;
|
|
18583
18499
|
let tmp_9_0 = null;
|
|
18584
|
-
let tmp_11_0 = null;
|
|
18585
18500
|
i0.ɵɵadvance(2);
|
|
18586
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3,
|
|
18587
|
-
i0.ɵɵadvance(
|
|
18588
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18501
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 13, "Back to tasks"));
|
|
18502
|
+
i0.ɵɵadvance(5);
|
|
18503
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 15, "Respond to query"));
|
|
18589
18504
|
i0.ɵɵadvance(3);
|
|
18590
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18505
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 17, "Query details"));
|
|
18591
18506
|
i0.ɵɵadvance(5);
|
|
18592
18507
|
i0.ɵɵproperty("queryItem", ctx.queryItem);
|
|
18593
|
-
i0.ɵɵadvance(
|
|
18594
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18508
|
+
i0.ɵɵadvance(4);
|
|
18509
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 19, "Respond to a query"));
|
|
18595
18510
|
i0.ɵɵadvance(2);
|
|
18596
18511
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
18597
18512
|
i0.ɵɵadvance(1);
|
|
18598
|
-
i0.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("
|
|
18513
|
+
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);
|
|
18599
18514
|
i0.ɵɵadvance(3);
|
|
18600
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
18601
|
-
i0.ɵɵadvance(2);
|
|
18602
|
-
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("response")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
18603
|
-
i0.ɵɵadvance(1);
|
|
18604
|
-
i0.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("response")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
18605
|
-
i0.ɵɵproperty("formControlName", "response");
|
|
18515
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 21, "Response message"), " ");
|
|
18606
18516
|
i0.ɵɵadvance(2);
|
|
18607
|
-
i0.ɵɵ
|
|
18608
|
-
i0.ɵɵadvance(3);
|
|
18609
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 30, "Next"), " ");
|
|
18610
|
-
i0.ɵɵadvance(4);
|
|
18611
|
-
i0.ɵɵproperty("disabled", true);
|
|
18517
|
+
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
18612
18518
|
i0.ɵɵadvance(1);
|
|
18613
|
-
i0.ɵɵ
|
|
18614
|
-
i0.ɵɵ
|
|
18615
|
-
|
|
18616
|
-
i0.ɵɵadvance(4);
|
|
18617
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(44, 36, "Cancel and return to query list"));
|
|
18618
|
-
} }, encapsulation: 2 });
|
|
18519
|
+
i0.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
18520
|
+
i0.ɵɵproperty("formControlName", "body");
|
|
18521
|
+
} }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
18619
18522
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
18620
18523
|
type: Component,
|
|
18621
18524
|
args: [{
|
|
18622
18525
|
selector: 'ccd-query-write-respond-to-query',
|
|
18623
|
-
templateUrl: './query-write-respond-to-query.component.html'
|
|
18526
|
+
templateUrl: './query-write-respond-to-query.component.html',
|
|
18527
|
+
styleUrls: ['./query-write-respond-to-query.component.scss']
|
|
18624
18528
|
}]
|
|
18625
18529
|
}], null, { queryItem: [{
|
|
18626
18530
|
type: Input
|
|
18531
|
+
}], formGroup: [{
|
|
18532
|
+
type: Input
|
|
18627
18533
|
}] }); })();
|
|
18628
18534
|
|
|
18629
18535
|
class QueryManagementUtils {
|
|
@@ -26057,8 +25963,8 @@ ReadQueryManagementFieldComponent, [i5.NgForOf, i5.NgIf, QueryListComponent,
|
|
|
26057
25963
|
i0.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5.NgIf, QueryWriteRespondToQueryComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
26058
25964
|
i0.ɵɵsetComponentScope(QueryDetailsComponent, [i5.NgIf, QueryDetailsTableComponent], [i1.RpxTranslatePipe]);
|
|
26059
25965
|
i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
26060
|
-
QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName
|
|
26061
|
-
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName
|
|
25966
|
+
QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
|
|
25967
|
+
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
|
|
26062
25968
|
i0.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3.NgControlStatusGroup, i3.FormGroupDirective], []);
|
|
26063
25969
|
|
|
26064
25970
|
class Confirmation {
|