@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
|
@@ -20145,9 +20145,11 @@
|
|
|
20145
20145
|
body: 'Please review attached document and advise if hearing should proceed?',
|
|
20146
20146
|
attachments: [
|
|
20147
20147
|
{
|
|
20148
|
-
|
|
20149
|
-
|
|
20150
|
-
|
|
20148
|
+
_links: {
|
|
20149
|
+
self: { href: '/' },
|
|
20150
|
+
binary: { href: '/' },
|
|
20151
|
+
},
|
|
20152
|
+
originalDocumentName: 'documentName.pdf',
|
|
20151
20153
|
}
|
|
20152
20154
|
],
|
|
20153
20155
|
isHearingRelated: true,
|
|
@@ -20934,7 +20936,7 @@
|
|
|
20934
20936
|
var formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
20935
20937
|
if (formControl) {
|
|
20936
20938
|
this.documentFormControlSubscription = formControl.valueChanges
|
|
20937
|
-
.pipe(operators.map(function (documents) { return documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); }); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
20939
|
+
.pipe(operators.map(function (documents) { return (documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
20938
20940
|
.subscribe();
|
|
20939
20941
|
}
|
|
20940
20942
|
};
|
|
@@ -20953,24 +20955,23 @@
|
|
|
20953
20955
|
if (rf & 2) {
|
|
20954
20956
|
i0__namespace.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
20955
20957
|
}
|
|
20956
|
-
},
|
|
20958
|
+
}, encapsulation: 2 });
|
|
20957
20959
|
(function () {
|
|
20958
20960
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
20959
20961
|
type: i0.Component,
|
|
20960
20962
|
args: [{
|
|
20961
20963
|
selector: 'ccd-query-write-add-documents',
|
|
20962
|
-
templateUrl: './query-write-add-documents.component.html'
|
|
20963
|
-
styleUrls: ['./query-write-add-documents.component.scss']
|
|
20964
|
+
templateUrl: './query-write-add-documents.component.html'
|
|
20964
20965
|
}]
|
|
20965
20966
|
}], function () { return []; }, { documentCollectionUpdate: [{
|
|
20966
20967
|
type: i0.Output
|
|
20967
20968
|
}] });
|
|
20968
20969
|
})();
|
|
20969
20970
|
|
|
20970
|
-
function
|
|
20971
|
+
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
20971
20972
|
if (rf & 1) {
|
|
20972
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
20973
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20973
|
+
i0__namespace.ɵɵelementStart(0, "p", 27);
|
|
20974
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
20974
20975
|
i0__namespace.ɵɵtext(2);
|
|
20975
20976
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20976
20977
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20982,13 +20983,13 @@
|
|
|
20982
20983
|
i0__namespace.ɵɵadvance(2);
|
|
20983
20984
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
20984
20985
|
i0__namespace.ɵɵadvance(2);
|
|
20985
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a
|
|
20986
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
|
|
20986
20987
|
}
|
|
20987
20988
|
}
|
|
20988
|
-
function
|
|
20989
|
+
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
20989
20990
|
if (rf & 1) {
|
|
20990
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
20991
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20991
|
+
i0__namespace.ɵɵelementStart(0, "p", 29);
|
|
20992
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
20992
20993
|
i0__namespace.ɵɵtext(2);
|
|
20993
20994
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20994
20995
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21003,10 +21004,10 @@
|
|
|
21003
21004
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
|
|
21004
21005
|
}
|
|
21005
21006
|
}
|
|
21006
|
-
function
|
|
21007
|
+
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21007
21008
|
if (rf & 1) {
|
|
21008
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21009
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21009
|
+
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21010
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21010
21011
|
i0__namespace.ɵɵtext(2);
|
|
21011
21012
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21012
21013
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21023,138 +21024,99 @@
|
|
|
21023
21024
|
}
|
|
21024
21025
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
21025
21026
|
function QueryWriteRaiseQueryComponent() {
|
|
21026
|
-
this.formGroup = new i3.FormGroup({
|
|
21027
|
-
fullName: new i3.FormControl('', i3.Validators.required),
|
|
21028
|
-
subject: new i3.FormControl('', i3.Validators.required),
|
|
21029
|
-
body: new i3.FormControl('', i3.Validators.required),
|
|
21030
|
-
isHearingRelated: new i3.FormControl(null, i3.Validators.required),
|
|
21031
|
-
documents: new i3.FormControl([])
|
|
21032
|
-
});
|
|
21033
21027
|
}
|
|
21034
|
-
QueryWriteRaiseQueryComponent.prototype.onDocumentCollectionUpdate = function (documents) {
|
|
21035
|
-
this.formGroup.get('documents').setValue(documents);
|
|
21036
|
-
};
|
|
21037
21028
|
return QueryWriteRaiseQueryComponent;
|
|
21038
21029
|
}());
|
|
21039
21030
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21040
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]],
|
|
21031
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
21041
21032
|
if (rf & 1) {
|
|
21042
|
-
i0__namespace.ɵɵelementStart(0, "div"
|
|
21043
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
21044
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
21045
|
-
i0__namespace.ɵɵ
|
|
21046
|
-
i0__namespace.ɵɵ
|
|
21047
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21048
|
-
i0__namespace.ɵɵelementEnd();
|
|
21049
|
-
i0__namespace.ɵɵelementStart(6, "h1", 4);
|
|
21050
|
-
i0__namespace.ɵɵtext(7);
|
|
21051
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
21052
|
-
i0__namespace.ɵɵelementEnd();
|
|
21053
|
-
i0__namespace.ɵɵelementEnd();
|
|
21054
|
-
i0__namespace.ɵɵelementStart(9, "div");
|
|
21055
|
-
i0__namespace.ɵɵelement(10, "ccd-query-case-details-header");
|
|
21056
|
-
i0__namespace.ɵɵelementEnd();
|
|
21057
|
-
i0__namespace.ɵɵelement(11, "hr");
|
|
21058
|
-
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
21059
|
-
i0__namespace.ɵɵelementStart(13, "div", 6);
|
|
21060
|
-
i0__namespace.ɵɵelementStart(14, "div");
|
|
21061
|
-
i0__namespace.ɵɵelementStart(15, "div", 7);
|
|
21062
|
-
i0__namespace.ɵɵelementStart(16, "div", 8);
|
|
21063
|
-
i0__namespace.ɵɵelementStart(17, "label", 9);
|
|
21064
|
-
i0__namespace.ɵɵtext(18);
|
|
21065
|
-
i0__namespace.ɵɵpipe(19, "rpxTranslate");
|
|
21066
|
-
i0__namespace.ɵɵelementEnd();
|
|
21067
|
-
i0__namespace.ɵɵelementEnd();
|
|
21068
|
-
i0__namespace.ɵɵelementStart(20, "div", 10);
|
|
21069
|
-
i0__namespace.ɵɵtext(21);
|
|
21070
|
-
i0__namespace.ɵɵpipe(22, "rpxTranslate");
|
|
21071
|
-
i0__namespace.ɵɵelementEnd();
|
|
21072
|
-
i0__namespace.ɵɵtemplate(23, QueryWriteRaiseQueryComponent_p_23_Template, 6, 6, "p", 11);
|
|
21073
|
-
i0__namespace.ɵɵelement(24, "input", 12);
|
|
21074
|
-
i0__namespace.ɵɵelementEnd();
|
|
21075
|
-
i0__namespace.ɵɵelementStart(25, "div", 7);
|
|
21076
|
-
i0__namespace.ɵɵelementStart(26, "div", 8);
|
|
21077
|
-
i0__namespace.ɵɵelementStart(27, "label", 13);
|
|
21078
|
-
i0__namespace.ɵɵtext(28);
|
|
21079
|
-
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21080
|
-
i0__namespace.ɵɵelementEnd();
|
|
21081
|
-
i0__namespace.ɵɵelementEnd();
|
|
21082
|
-
i0__namespace.ɵɵelementStart(30, "div", 14);
|
|
21083
|
-
i0__namespace.ɵɵtext(31);
|
|
21084
|
-
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
21033
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
21034
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
21035
|
+
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
21036
|
+
i0__namespace.ɵɵtext(3);
|
|
21037
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
21085
21038
|
i0__namespace.ɵɵelementEnd();
|
|
21086
|
-
i0__namespace.ɵɵ
|
|
21087
|
-
i0__namespace.ɵɵ
|
|
21039
|
+
i0__namespace.ɵɵelementStart(5, "h1", 2);
|
|
21040
|
+
i0__namespace.ɵɵtext(6);
|
|
21041
|
+
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
21088
21042
|
i0__namespace.ɵɵelementEnd();
|
|
21089
|
-
i0__namespace.ɵɵelementStart(35, "div", 7);
|
|
21090
|
-
i0__namespace.ɵɵelementStart(36, "div", 8);
|
|
21091
|
-
i0__namespace.ɵɵelementStart(37, "label", 17);
|
|
21092
|
-
i0__namespace.ɵɵtext(38);
|
|
21093
|
-
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
21094
21043
|
i0__namespace.ɵɵelementEnd();
|
|
21044
|
+
i0__namespace.ɵɵelementStart(8, "div");
|
|
21045
|
+
i0__namespace.ɵɵelement(9, "ccd-query-case-details-header");
|
|
21095
21046
|
i0__namespace.ɵɵelementEnd();
|
|
21096
|
-
i0__namespace.ɵɵ
|
|
21097
|
-
i0__namespace.ɵɵ
|
|
21098
|
-
i0__namespace.ɵɵ
|
|
21047
|
+
i0__namespace.ɵɵelement(10, "hr");
|
|
21048
|
+
i0__namespace.ɵɵelementStart(11, "div", 3);
|
|
21049
|
+
i0__namespace.ɵɵelementStart(12, "div", 4);
|
|
21050
|
+
i0__namespace.ɵɵelementStart(13, "div");
|
|
21051
|
+
i0__namespace.ɵɵelementStart(14, "div", 5);
|
|
21052
|
+
i0__namespace.ɵɵelementStart(15, "div", 6);
|
|
21053
|
+
i0__namespace.ɵɵelementStart(16, "label", 7);
|
|
21054
|
+
i0__namespace.ɵɵtext(17);
|
|
21055
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21099
21056
|
i0__namespace.ɵɵelementEnd();
|
|
21100
|
-
i0__namespace.ɵɵtemplate(43, QueryWriteRaiseQueryComponent_p_43_Template, 6, 6, "p", 19);
|
|
21101
|
-
i0__namespace.ɵɵelementStart(44, "textarea", 20);
|
|
21102
|
-
i0__namespace.ɵɵtext(45, " ");
|
|
21103
21057
|
i0__namespace.ɵɵelementEnd();
|
|
21058
|
+
i0__namespace.ɵɵelementStart(19, "div", 8);
|
|
21059
|
+
i0__namespace.ɵɵtext(20);
|
|
21060
|
+
i0__namespace.ɵɵpipe(21, "rpxTranslate");
|
|
21104
21061
|
i0__namespace.ɵɵelementEnd();
|
|
21105
|
-
i0__namespace.ɵɵ
|
|
21106
|
-
i0__namespace.ɵɵ
|
|
21107
|
-
i0__namespace.ɵɵelementStart(48, "legend");
|
|
21108
|
-
i0__namespace.ɵɵelementStart(49, "label", 22);
|
|
21109
|
-
i0__namespace.ɵɵtext(50);
|
|
21110
|
-
i0__namespace.ɵɵpipe(51, "rpxTranslate");
|
|
21062
|
+
i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
|
|
21063
|
+
i0__namespace.ɵɵelement(23, "input", 10);
|
|
21111
21064
|
i0__namespace.ɵɵelementEnd();
|
|
21065
|
+
i0__namespace.ɵɵelementStart(24, "div", 5);
|
|
21066
|
+
i0__namespace.ɵɵelementStart(25, "div", 6);
|
|
21067
|
+
i0__namespace.ɵɵelementStart(26, "label", 11);
|
|
21068
|
+
i0__namespace.ɵɵtext(27);
|
|
21069
|
+
i0__namespace.ɵɵpipe(28, "rpxTranslate");
|
|
21112
21070
|
i0__namespace.ɵɵelementEnd();
|
|
21113
|
-
i0__namespace.ɵɵelementStart(52, "div", 23);
|
|
21114
|
-
i0__namespace.ɵɵelementStart(53, "div", 24);
|
|
21115
|
-
i0__namespace.ɵɵelement(54, "input", 25);
|
|
21116
|
-
i0__namespace.ɵɵelementStart(55, "label", 26);
|
|
21117
|
-
i0__namespace.ɵɵtext(56);
|
|
21118
|
-
i0__namespace.ɵɵpipe(57, "rpxTranslate");
|
|
21119
21071
|
i0__namespace.ɵɵelementEnd();
|
|
21072
|
+
i0__namespace.ɵɵelementStart(29, "div", 12);
|
|
21073
|
+
i0__namespace.ɵɵtext(30);
|
|
21074
|
+
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
21120
21075
|
i0__namespace.ɵɵelementEnd();
|
|
21121
|
-
i0__namespace.ɵɵ
|
|
21122
|
-
i0__namespace.ɵɵelement(
|
|
21123
|
-
i0__namespace.ɵɵelementStart(60, "label", 28);
|
|
21124
|
-
i0__namespace.ɵɵtext(61);
|
|
21125
|
-
i0__namespace.ɵɵpipe(62, "rpxTranslate");
|
|
21076
|
+
i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
|
|
21077
|
+
i0__namespace.ɵɵelement(33, "input", 14);
|
|
21126
21078
|
i0__namespace.ɵɵelementEnd();
|
|
21079
|
+
i0__namespace.ɵɵelementStart(34, "div", 5);
|
|
21080
|
+
i0__namespace.ɵɵelementStart(35, "div", 6);
|
|
21081
|
+
i0__namespace.ɵɵelementStart(36, "label", 15);
|
|
21082
|
+
i0__namespace.ɵɵtext(37);
|
|
21083
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
21127
21084
|
i0__namespace.ɵɵelementEnd();
|
|
21128
21085
|
i0__namespace.ɵɵelementEnd();
|
|
21086
|
+
i0__namespace.ɵɵelementStart(39, "div", 16);
|
|
21087
|
+
i0__namespace.ɵɵtext(40);
|
|
21088
|
+
i0__namespace.ɵɵpipe(41, "rpxTranslate");
|
|
21129
21089
|
i0__namespace.ɵɵelementEnd();
|
|
21090
|
+
i0__namespace.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
|
|
21091
|
+
i0__namespace.ɵɵelementStart(43, "textarea", 18);
|
|
21092
|
+
i0__namespace.ɵɵtext(44, " ");
|
|
21130
21093
|
i0__namespace.ɵɵelementEnd();
|
|
21131
|
-
i0__namespace.ɵɵelementStart(63, "div", 7);
|
|
21132
|
-
i0__namespace.ɵɵelementStart(64, "ccd-query-write-add-documents", 29);
|
|
21133
|
-
i0__namespace.ɵɵlistener("documentCollectionUpdate", function QueryWriteRaiseQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_64_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
21134
21094
|
i0__namespace.ɵɵelementEnd();
|
|
21095
|
+
i0__namespace.ɵɵelementStart(45, "div", 5);
|
|
21096
|
+
i0__namespace.ɵɵelementStart(46, "fieldset", 19);
|
|
21097
|
+
i0__namespace.ɵɵelementStart(47, "legend");
|
|
21098
|
+
i0__namespace.ɵɵelementStart(48, "label", 20);
|
|
21099
|
+
i0__namespace.ɵɵtext(49);
|
|
21100
|
+
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
21135
21101
|
i0__namespace.ɵɵelementEnd();
|
|
21136
|
-
i0__namespace.ɵɵelementStart(65, "button", 30);
|
|
21137
|
-
i0__namespace.ɵɵtext(66);
|
|
21138
|
-
i0__namespace.ɵɵpipe(67, "rpxTranslate");
|
|
21139
21102
|
i0__namespace.ɵɵelementEnd();
|
|
21103
|
+
i0__namespace.ɵɵelementStart(51, "div", 21);
|
|
21104
|
+
i0__namespace.ɵɵelementStart(52, "div", 22);
|
|
21105
|
+
i0__namespace.ɵɵelement(53, "input", 23);
|
|
21106
|
+
i0__namespace.ɵɵelementStart(54, "label", 24);
|
|
21107
|
+
i0__namespace.ɵɵtext(55);
|
|
21108
|
+
i0__namespace.ɵɵpipe(56, "rpxTranslate");
|
|
21140
21109
|
i0__namespace.ɵɵelementEnd();
|
|
21141
21110
|
i0__namespace.ɵɵelementEnd();
|
|
21142
|
-
i0__namespace.ɵɵelementStart(
|
|
21143
|
-
i0__namespace.ɵɵ
|
|
21144
|
-
i0__namespace.ɵɵelementStart(
|
|
21145
|
-
i0__namespace.ɵɵtext(
|
|
21146
|
-
i0__namespace.ɵɵpipe(
|
|
21111
|
+
i0__namespace.ɵɵelementStart(57, "div", 22);
|
|
21112
|
+
i0__namespace.ɵɵelement(58, "input", 25);
|
|
21113
|
+
i0__namespace.ɵɵelementStart(59, "label", 26);
|
|
21114
|
+
i0__namespace.ɵɵtext(60);
|
|
21115
|
+
i0__namespace.ɵɵpipe(61, "rpxTranslate");
|
|
21147
21116
|
i0__namespace.ɵɵelementEnd();
|
|
21148
|
-
i0__namespace.ɵɵelementStart(73, "button", 30);
|
|
21149
|
-
i0__namespace.ɵɵtext(74);
|
|
21150
|
-
i0__namespace.ɵɵpipe(75, "rpxTranslate");
|
|
21151
21117
|
i0__namespace.ɵɵelementEnd();
|
|
21152
21118
|
i0__namespace.ɵɵelementEnd();
|
|
21153
21119
|
i0__namespace.ɵɵelementEnd();
|
|
21154
|
-
i0__namespace.ɵɵelementStart(76, "div", 33);
|
|
21155
|
-
i0__namespace.ɵɵelementStart(77, "a", 34);
|
|
21156
|
-
i0__namespace.ɵɵtext(78);
|
|
21157
|
-
i0__namespace.ɵɵpipe(79, "rpxTranslate");
|
|
21158
21120
|
i0__namespace.ɵɵelementEnd();
|
|
21159
21121
|
i0__namespace.ɵɵelementEnd();
|
|
21160
21122
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21171,85 +21133,73 @@
|
|
|
21171
21133
|
var tmp_15_0 = null;
|
|
21172
21134
|
var tmp_18_0 = null;
|
|
21173
21135
|
var tmp_19_0 = null;
|
|
21174
|
-
var tmp_28_0 = null;
|
|
21175
|
-
i0__namespace.ɵɵadvance(4);
|
|
21176
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 41, "Raise a query"));
|
|
21177
21136
|
i0__namespace.ɵɵadvance(3);
|
|
21178
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21137
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
|
|
21138
|
+
i0__namespace.ɵɵadvance(3);
|
|
21139
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
|
|
21179
21140
|
i0__namespace.ɵɵadvance(6);
|
|
21180
21141
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21181
21142
|
i0__namespace.ɵɵadvance(2);
|
|
21182
21143
|
i0__namespace.ɵɵ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);
|
|
21183
21144
|
i0__namespace.ɵɵadvance(3);
|
|
21184
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21145
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
21185
21146
|
i0__namespace.ɵɵadvance(3);
|
|
21186
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21147
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
21187
21148
|
i0__namespace.ɵɵadvance(2);
|
|
21188
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("
|
|
21149
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21189
21150
|
i0__namespace.ɵɵadvance(1);
|
|
21190
21151
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
|
|
21191
21152
|
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21192
21153
|
i0__namespace.ɵɵadvance(1);
|
|
21193
21154
|
i0__namespace.ɵɵ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);
|
|
21194
21155
|
i0__namespace.ɵɵadvance(3);
|
|
21195
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21156
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
|
|
21196
21157
|
i0__namespace.ɵɵadvance(3);
|
|
21197
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21158
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
|
|
21198
21159
|
i0__namespace.ɵɵadvance(2);
|
|
21199
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("
|
|
21160
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21200
21161
|
i0__namespace.ɵɵadvance(1);
|
|
21201
21162
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
|
|
21202
21163
|
i0__namespace.ɵɵproperty("formControlName", "subject");
|
|
21203
21164
|
i0__namespace.ɵɵadvance(1);
|
|
21204
21165
|
i0__namespace.ɵɵ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);
|
|
21205
21166
|
i0__namespace.ɵɵadvance(3);
|
|
21206
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21167
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
|
|
21207
21168
|
i0__namespace.ɵɵadvance(3);
|
|
21208
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21169
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21209
21170
|
i0__namespace.ɵɵadvance(2);
|
|
21210
21171
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21211
21172
|
i0__namespace.ɵɵadvance(1);
|
|
21212
21173
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
|
|
21213
21174
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21214
21175
|
i0__namespace.ɵɵadvance(6);
|
|
21215
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21176
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
|
|
21216
21177
|
i0__namespace.ɵɵadvance(4);
|
|
21217
21178
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21218
21179
|
i0__namespace.ɵɵadvance(2);
|
|
21219
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21180
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
|
|
21220
21181
|
i0__namespace.ɵɵadvance(3);
|
|
21221
21182
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21222
21183
|
i0__namespace.ɵɵadvance(2);
|
|
21223
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21224
|
-
i0__namespace.ɵɵadvance(2);
|
|
21225
|
-
i0__namespace.ɵɵ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);
|
|
21226
|
-
i0__namespace.ɵɵadvance(3);
|
|
21227
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(67, 67, "Next"), " ");
|
|
21228
|
-
i0__namespace.ɵɵadvance(4);
|
|
21229
|
-
i0__namespace.ɵɵproperty("disabled", true);
|
|
21230
|
-
i0__namespace.ɵɵadvance(1);
|
|
21231
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(72, 69, "Previous"), " ");
|
|
21232
|
-
i0__namespace.ɵɵadvance(3);
|
|
21233
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(75, 71, "Continue"), " ");
|
|
21234
|
-
i0__namespace.ɵɵadvance(4);
|
|
21235
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(79, 73, "Cancel and return to case"), " ");
|
|
21184
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
|
|
21236
21185
|
}
|
|
21237
|
-
},
|
|
21186
|
+
}, encapsulation: 2 });
|
|
21238
21187
|
(function () {
|
|
21239
21188
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
21240
21189
|
type: i0.Component,
|
|
21241
21190
|
args: [{
|
|
21242
21191
|
selector: 'ccd-query-write-raise-query',
|
|
21243
|
-
templateUrl: './query-write-raise-query.component.html'
|
|
21244
|
-
styleUrls: ['./query-write-raise-query.component.scss']
|
|
21192
|
+
templateUrl: './query-write-raise-query.component.html'
|
|
21245
21193
|
}]
|
|
21246
|
-
}],
|
|
21194
|
+
}], null, { formGroup: [{
|
|
21195
|
+
type: i0.Input
|
|
21196
|
+
}] });
|
|
21247
21197
|
})();
|
|
21248
21198
|
|
|
21249
|
-
function
|
|
21199
|
+
function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
|
|
21250
21200
|
if (rf & 1) {
|
|
21251
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21252
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21201
|
+
i0__namespace.ɵɵelementStart(0, "p", 15);
|
|
21202
|
+
i0__namespace.ɵɵelementStart(1, "span", 16);
|
|
21253
21203
|
i0__namespace.ɵɵtext(2);
|
|
21254
21204
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21255
21205
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21267,19 +21217,10 @@
|
|
|
21267
21217
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21268
21218
|
function QueryWriteRespondToQueryComponent() {
|
|
21269
21219
|
}
|
|
21270
|
-
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21271
|
-
this.formGroup = new i3.FormGroup({
|
|
21272
|
-
response: new i3.FormControl('', i3.Validators.required),
|
|
21273
|
-
documents: new i3.FormControl(null)
|
|
21274
|
-
});
|
|
21275
|
-
};
|
|
21276
|
-
QueryWriteRespondToQueryComponent.prototype.onDocumentCollectionUpdate = function (documents) {
|
|
21277
|
-
this.formGroup.get('documents').setValue(documents);
|
|
21278
|
-
};
|
|
21279
21220
|
return QueryWriteRespondToQueryComponent;
|
|
21280
21221
|
}());
|
|
21281
21222
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21282
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem" }, decls:
|
|
21223
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
21283
21224
|
if (rf & 1) {
|
|
21284
21225
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21285
21226
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21288,118 +21229,85 @@
|
|
|
21288
21229
|
i0__namespace.ɵɵelementEnd();
|
|
21289
21230
|
i0__namespace.ɵɵelementEnd();
|
|
21290
21231
|
i0__namespace.ɵɵelementStart(4, "div", 2);
|
|
21291
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
21292
|
-
i0__namespace.ɵɵ
|
|
21293
|
-
i0__namespace.ɵɵ
|
|
21294
|
-
i0__namespace.ɵɵ
|
|
21295
|
-
i0__namespace.ɵɵelementStart(8, "h1", 4);
|
|
21296
|
-
i0__namespace.ɵɵtext(9);
|
|
21297
|
-
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21298
|
-
i0__namespace.ɵɵelementEnd();
|
|
21299
|
-
i0__namespace.ɵɵelementStart(11, "div", 5);
|
|
21300
|
-
i0__namespace.ɵɵelement(12, "ccd-query-case-details-header");
|
|
21301
|
-
i0__namespace.ɵɵelementEnd();
|
|
21302
|
-
i0__namespace.ɵɵelementStart(13, "div");
|
|
21303
|
-
i0__namespace.ɵɵelement(14, "ccd-query-details-table", 6);
|
|
21304
|
-
i0__namespace.ɵɵelementEnd();
|
|
21305
|
-
i0__namespace.ɵɵelementEnd();
|
|
21306
|
-
i0__namespace.ɵɵelementStart(15, "div", 5);
|
|
21307
|
-
i0__namespace.ɵɵelementStart(16, "h1", 7);
|
|
21308
|
-
i0__namespace.ɵɵtext(17);
|
|
21309
|
-
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21310
|
-
i0__namespace.ɵɵelementEnd();
|
|
21311
|
-
i0__namespace.ɵɵelementStart(19, "div", 8);
|
|
21312
|
-
i0__namespace.ɵɵelementStart(20, "div", 9);
|
|
21313
|
-
i0__namespace.ɵɵelementStart(21, "div", 10);
|
|
21314
|
-
i0__namespace.ɵɵelementStart(22, "label", 11);
|
|
21315
|
-
i0__namespace.ɵɵtext(23);
|
|
21316
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
21232
|
+
i0__namespace.ɵɵelementStart(5, "div", 2);
|
|
21233
|
+
i0__namespace.ɵɵelementStart(6, "div", 3);
|
|
21234
|
+
i0__namespace.ɵɵtext(7);
|
|
21235
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
21317
21236
|
i0__namespace.ɵɵelementEnd();
|
|
21237
|
+
i0__namespace.ɵɵelementStart(9, "h1", 4);
|
|
21238
|
+
i0__namespace.ɵɵtext(10);
|
|
21239
|
+
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
21318
21240
|
i0__namespace.ɵɵelementEnd();
|
|
21319
|
-
i0__namespace.ɵɵtemplate(25, QueryWriteRespondToQueryComponent_p_25_Template, 6, 6, "p", 12);
|
|
21320
|
-
i0__namespace.ɵɵelementStart(26, "textarea", 13);
|
|
21321
|
-
i0__namespace.ɵɵtext(27, " ");
|
|
21322
21241
|
i0__namespace.ɵɵelementEnd();
|
|
21242
|
+
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
21243
|
+
i0__namespace.ɵɵelement(13, "ccd-query-case-details-header");
|
|
21323
21244
|
i0__namespace.ɵɵelementEnd();
|
|
21324
|
-
i0__namespace.ɵɵelementStart(
|
|
21325
|
-
i0__namespace.ɵɵ
|
|
21326
|
-
i0__namespace.ɵɵlistener("documentCollectionUpdate", function QueryWriteRespondToQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_29_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
21245
|
+
i0__namespace.ɵɵelementStart(14, "div");
|
|
21246
|
+
i0__namespace.ɵɵelement(15, "ccd-query-details-table", 6);
|
|
21327
21247
|
i0__namespace.ɵɵelementEnd();
|
|
21328
21248
|
i0__namespace.ɵɵelementEnd();
|
|
21329
|
-
i0__namespace.ɵɵelementStart(
|
|
21330
|
-
i0__namespace.ɵɵ
|
|
21331
|
-
i0__namespace.ɵɵ
|
|
21249
|
+
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
21250
|
+
i0__namespace.ɵɵelementStart(17, "div", 5);
|
|
21251
|
+
i0__namespace.ɵɵelementStart(18, "h1", 8);
|
|
21252
|
+
i0__namespace.ɵɵtext(19);
|
|
21253
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
21332
21254
|
i0__namespace.ɵɵelementEnd();
|
|
21255
|
+
i0__namespace.ɵɵelementStart(21, "div", 9);
|
|
21256
|
+
i0__namespace.ɵɵelementStart(22, "div", 10);
|
|
21257
|
+
i0__namespace.ɵɵelementStart(23, "div", 11);
|
|
21258
|
+
i0__namespace.ɵɵelementStart(24, "label", 12);
|
|
21259
|
+
i0__namespace.ɵɵtext(25);
|
|
21260
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21333
21261
|
i0__namespace.ɵɵelementEnd();
|
|
21334
21262
|
i0__namespace.ɵɵelementEnd();
|
|
21335
|
-
i0__namespace.ɵɵ
|
|
21336
|
-
i0__namespace.ɵɵelementStart(
|
|
21337
|
-
i0__namespace.ɵɵ
|
|
21338
|
-
i0__namespace.ɵɵtext(36);
|
|
21339
|
-
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
21263
|
+
i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
|
|
21264
|
+
i0__namespace.ɵɵelementStart(28, "textarea", 14);
|
|
21265
|
+
i0__namespace.ɵɵtext(29, " ");
|
|
21340
21266
|
i0__namespace.ɵɵelementEnd();
|
|
21341
|
-
i0__namespace.ɵɵelementStart(38, "button", 16);
|
|
21342
|
-
i0__namespace.ɵɵtext(39);
|
|
21343
|
-
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21344
21267
|
i0__namespace.ɵɵelementEnd();
|
|
21345
21268
|
i0__namespace.ɵɵelementEnd();
|
|
21346
21269
|
i0__namespace.ɵɵelementEnd();
|
|
21347
|
-
i0__namespace.ɵɵelementStart(41, "div", 0);
|
|
21348
|
-
i0__namespace.ɵɵelementStart(42, "a", 19);
|
|
21349
|
-
i0__namespace.ɵɵtext(43);
|
|
21350
|
-
i0__namespace.ɵɵpipe(44, "rpxTranslate");
|
|
21351
|
-
i0__namespace.ɵɵelementEnd();
|
|
21352
21270
|
i0__namespace.ɵɵelementEnd();
|
|
21353
21271
|
}
|
|
21354
21272
|
if (rf & 2) {
|
|
21355
21273
|
var tmp_6_0 = null;
|
|
21356
21274
|
var tmp_8_0 = null;
|
|
21357
21275
|
var tmp_9_0 = null;
|
|
21358
|
-
var tmp_11_0 = null;
|
|
21359
21276
|
i0__namespace.ɵɵadvance(2);
|
|
21360
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3,
|
|
21361
|
-
i0__namespace.ɵɵadvance(
|
|
21362
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21277
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 13, "Back to tasks"));
|
|
21278
|
+
i0__namespace.ɵɵadvance(5);
|
|
21279
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 15, "Respond to query"));
|
|
21363
21280
|
i0__namespace.ɵɵadvance(3);
|
|
21364
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21281
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
|
|
21365
21282
|
i0__namespace.ɵɵadvance(5);
|
|
21366
21283
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21367
|
-
i0__namespace.ɵɵadvance(
|
|
21368
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21284
|
+
i0__namespace.ɵɵadvance(4);
|
|
21285
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 19, "Respond to a query"));
|
|
21369
21286
|
i0__namespace.ɵɵadvance(2);
|
|
21370
21287
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21371
21288
|
i0__namespace.ɵɵadvance(1);
|
|
21372
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("
|
|
21289
|
+
i0__namespace.ɵɵ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);
|
|
21373
21290
|
i0__namespace.ɵɵadvance(3);
|
|
21374
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21375
|
-
i0__namespace.ɵɵadvance(2);
|
|
21376
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("response")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
21377
|
-
i0__namespace.ɵɵadvance(1);
|
|
21378
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("response")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21379
|
-
i0__namespace.ɵɵproperty("formControlName", "response");
|
|
21291
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 21, "Response message"), " ");
|
|
21380
21292
|
i0__namespace.ɵɵadvance(2);
|
|
21381
|
-
i0__namespace.ɵɵ
|
|
21382
|
-
i0__namespace.ɵɵadvance(3);
|
|
21383
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 30, "Next"), " ");
|
|
21384
|
-
i0__namespace.ɵɵadvance(4);
|
|
21385
|
-
i0__namespace.ɵɵproperty("disabled", true);
|
|
21293
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
21386
21294
|
i0__namespace.ɵɵadvance(1);
|
|
21387
|
-
i0__namespace.ɵɵ
|
|
21388
|
-
i0__namespace.ɵɵ
|
|
21389
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 34, "Continue"), " ");
|
|
21390
|
-
i0__namespace.ɵɵadvance(4);
|
|
21391
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(44, 36, "Cancel and return to query list"));
|
|
21295
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21296
|
+
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21392
21297
|
}
|
|
21393
|
-
},
|
|
21298
|
+
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
21394
21299
|
(function () {
|
|
21395
21300
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
21396
21301
|
type: i0.Component,
|
|
21397
21302
|
args: [{
|
|
21398
21303
|
selector: 'ccd-query-write-respond-to-query',
|
|
21399
|
-
templateUrl: './query-write-respond-to-query.component.html'
|
|
21304
|
+
templateUrl: './query-write-respond-to-query.component.html',
|
|
21305
|
+
styleUrls: ['./query-write-respond-to-query.component.scss']
|
|
21400
21306
|
}]
|
|
21401
21307
|
}], null, { queryItem: [{
|
|
21402
21308
|
type: i0.Input
|
|
21309
|
+
}], formGroup: [{
|
|
21310
|
+
type: i0.Input
|
|
21403
21311
|
}] });
|
|
21404
21312
|
})();
|
|
21405
21313
|
|
|
@@ -29791,8 +29699,8 @@
|
|
|
29791
29699
|
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
29792
29700
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29793
29701
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
29794
|
-
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName
|
|
29795
|
-
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName
|
|
29702
|
+
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29703
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29796
29704
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
29797
29705
|
|
|
29798
29706
|
var Confirmation = /** @class */ (function () {
|