@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-minor-defects-v2 → 6.16.0-query-management-read-view-changes-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.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +219 -334
- 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/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.js +21 -10
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +43 -100
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +32 -27
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +32 -26
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +62 -105
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +19 -63
- package/esm2015/lib/shared/components/palette/query-management/enums/index.js +3 -1
- package/esm2015/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/index.js +2 -1
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.js +6 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +214 -326
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/enums/index.d.ts +2 -0
- package/lib/shared/components/palette/query-management/enums/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts +5 -0
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/index.d.ts +1 -0
- package/lib/shared/components/palette/query-management/index.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 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -20408,6 +20408,12 @@
|
|
|
20408
20408
|
RaiseQueryErrorMessage["RESPOND_QUERY_BODY"] = "Add a response before continue";
|
|
20409
20409
|
})(exports.RaiseQueryErrorMessage || (exports.RaiseQueryErrorMessage = {}));
|
|
20410
20410
|
|
|
20411
|
+
exports.QueryItemResponseStatus = void 0;
|
|
20412
|
+
(function (QueryItemResponseStatus) {
|
|
20413
|
+
QueryItemResponseStatus["NEW"] = "New";
|
|
20414
|
+
QueryItemResponseStatus["RESPONDED"] = "Responded";
|
|
20415
|
+
})(exports.QueryItemResponseStatus || (exports.QueryItemResponseStatus = {}));
|
|
20416
|
+
|
|
20411
20417
|
exports.RespondToQueryErrorMessages = void 0;
|
|
20412
20418
|
(function (RespondToQueryErrorMessages) {
|
|
20413
20419
|
RespondToQueryErrorMessages["FULL_NAME"] = "Enter a full name";
|
|
@@ -20440,26 +20446,39 @@
|
|
|
20440
20446
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(6, 4, ctx_r1.qualifyingQuestionsErrorMessage.SELECT_AN_OPTION), " ");
|
|
20441
20447
|
}
|
|
20442
20448
|
}
|
|
20443
|
-
function
|
|
20449
|
+
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_9_ng_container_1_Template(rf, ctx) {
|
|
20444
20450
|
if (rf & 1) {
|
|
20445
|
-
i0__namespace.ɵɵ
|
|
20446
|
-
i0__namespace.ɵɵelement(1, "
|
|
20447
|
-
i0__namespace.ɵɵ
|
|
20448
|
-
|
|
20449
|
-
|
|
20451
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20452
|
+
i0__namespace.ɵɵelement(1, "hr");
|
|
20453
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20454
|
+
}
|
|
20455
|
+
}
|
|
20456
|
+
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_9_Template(rf, ctx) {
|
|
20457
|
+
if (rf & 1) {
|
|
20458
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20459
|
+
i0__namespace.ɵɵtemplate(1, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_9_ng_container_1_Template, 2, 0, "ng-container", 0);
|
|
20460
|
+
i0__namespace.ɵɵelementStart(2, "div", 9);
|
|
20461
|
+
i0__namespace.ɵɵelement(3, "input", 10);
|
|
20462
|
+
i0__namespace.ɵɵelementStart(4, "label", 11);
|
|
20463
|
+
i0__namespace.ɵɵtext(5);
|
|
20464
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
20450
20465
|
i0__namespace.ɵɵelementEnd();
|
|
20451
20466
|
i0__namespace.ɵɵelementEnd();
|
|
20467
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20452
20468
|
}
|
|
20453
20469
|
if (rf & 2) {
|
|
20454
20470
|
var qualifyingQuestion_r3 = ctx.$implicit;
|
|
20471
|
+
var isLast_r4 = ctx.last;
|
|
20455
20472
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
20456
20473
|
i0__namespace.ɵɵadvance(1);
|
|
20474
|
+
i0__namespace.ɵɵproperty("ngIf", isLast_r4);
|
|
20475
|
+
i0__namespace.ɵɵadvance(2);
|
|
20457
20476
|
i0__namespace.ɵɵpropertyInterpolate("id", qualifyingQuestion_r3.name);
|
|
20458
20477
|
i0__namespace.ɵɵproperty("formControl", ctx_r2.qualifyingQuestionsControl)("value", qualifyingQuestion_r3);
|
|
20459
20478
|
i0__namespace.ɵɵadvance(1);
|
|
20460
20479
|
i0__namespace.ɵɵproperty("for", qualifyingQuestion_r3.name);
|
|
20461
20480
|
i0__namespace.ɵɵadvance(1);
|
|
20462
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
20481
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(6, 6, qualifyingQuestion_r3.name));
|
|
20463
20482
|
}
|
|
20464
20483
|
}
|
|
20465
20484
|
function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -20475,7 +20494,7 @@
|
|
|
20475
20494
|
i0__namespace.ɵɵelementEnd();
|
|
20476
20495
|
i0__namespace.ɵɵtemplate(7, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_7_Template, 7, 6, "ng-container", 0);
|
|
20477
20496
|
i0__namespace.ɵɵelementStart(8, "div", 5);
|
|
20478
|
-
i0__namespace.ɵɵtemplate(9,
|
|
20497
|
+
i0__namespace.ɵɵtemplate(9, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_9_Template, 7, 8, "ng-container", 6);
|
|
20479
20498
|
i0__namespace.ɵɵpipe(10, "async");
|
|
20480
20499
|
i0__namespace.ɵɵelementEnd();
|
|
20481
20500
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20508,7 +20527,7 @@
|
|
|
20508
20527
|
return QualifyingQuestionOptionsComponent;
|
|
20509
20528
|
}());
|
|
20510
20529
|
QualifyingQuestionOptionsComponent.ɵfac = function QualifyingQuestionOptionsComponent_Factory(t) { return new (t || QualifyingQuestionOptionsComponent)(); };
|
|
20511
|
-
QualifyingQuestionOptionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", 1, "govuk-radios"], [
|
|
20530
|
+
QualifyingQuestionOptionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) {
|
|
20512
20531
|
if (rf & 1) {
|
|
20513
20532
|
i0__namespace.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 11, 9, "ng-container", 0);
|
|
20514
20533
|
}
|
|
@@ -20666,6 +20685,14 @@
|
|
|
20666
20685
|
enumerable: false,
|
|
20667
20686
|
configurable: true
|
|
20668
20687
|
});
|
|
20688
|
+
Object.defineProperty(QueryListItem.prototype, "responseStatus", {
|
|
20689
|
+
get: function () {
|
|
20690
|
+
var _a;
|
|
20691
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? exports.QueryItemResponseStatus.RESPONDED : exports.QueryItemResponseStatus.NEW;
|
|
20692
|
+
},
|
|
20693
|
+
enumerable: false,
|
|
20694
|
+
configurable: true
|
|
20695
|
+
});
|
|
20669
20696
|
return QueryListItem;
|
|
20670
20697
|
}());
|
|
20671
20698
|
|
|
@@ -20749,46 +20776,14 @@
|
|
|
20749
20776
|
}
|
|
20750
20777
|
if (rf & 2) {
|
|
20751
20778
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
20752
|
-
i0__namespace.ɵɵadvance(3);
|
|
20753
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Submitted query"), " ");
|
|
20754
|
-
i0__namespace.ɵɵadvance(3);
|
|
20755
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r4.queryItem.subject, " ");
|
|
20756
|
-
}
|
|
20757
|
-
}
|
|
20758
|
-
function QueryCheckYourAnswersComponent_dl_21_Template(rf, ctx) {
|
|
20759
|
-
if (rf & 1) {
|
|
20760
|
-
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20761
|
-
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
20762
|
-
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
20763
|
-
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
20764
|
-
i0__namespace.ɵɵtext(3);
|
|
20765
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20766
|
-
i0__namespace.ɵɵelementEnd();
|
|
20767
|
-
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
20768
|
-
i0__namespace.ɵɵtext(6);
|
|
20769
|
-
i0__namespace.ɵɵelementEnd();
|
|
20770
|
-
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
20771
|
-
i0__namespace.ɵɵelementStart(8, "a", 13);
|
|
20772
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.goBack(); });
|
|
20773
|
-
i0__namespace.ɵɵtext(9);
|
|
20774
|
-
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
20775
|
-
i0__namespace.ɵɵelementEnd();
|
|
20776
|
-
i0__namespace.ɵɵelementEnd();
|
|
20777
|
-
i0__namespace.ɵɵelementEnd();
|
|
20778
|
-
i0__namespace.ɵɵelementEnd();
|
|
20779
|
-
}
|
|
20780
|
-
if (rf & 2) {
|
|
20781
|
-
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
20782
20779
|
var tmp_1_0 = null;
|
|
20783
20780
|
i0__namespace.ɵɵadvance(3);
|
|
20784
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4,
|
|
20781
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Query subject"), " ");
|
|
20785
20782
|
i0__namespace.ɵɵadvance(3);
|
|
20786
|
-
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_1_0 =
|
|
20787
|
-
i0__namespace.ɵɵadvance(3);
|
|
20788
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
20783
|
+
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
|
|
20789
20784
|
}
|
|
20790
20785
|
}
|
|
20791
|
-
function
|
|
20786
|
+
function QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template(rf, ctx) {
|
|
20792
20787
|
if (rf & 1) {
|
|
20793
20788
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
20794
20789
|
i0__namespace.ɵɵtext(1);
|
|
@@ -20800,7 +20795,7 @@
|
|
|
20800
20795
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
20801
20796
|
}
|
|
20802
20797
|
}
|
|
20803
|
-
function
|
|
20798
|
+
function QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template(rf, ctx) {
|
|
20804
20799
|
if (rf & 1) {
|
|
20805
20800
|
i0__namespace.ɵɵtext(0);
|
|
20806
20801
|
i0__namespace.ɵɵpipe(1, "rpxTranslate");
|
|
@@ -20809,9 +20804,9 @@
|
|
|
20809
20804
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
20810
20805
|
}
|
|
20811
20806
|
}
|
|
20812
|
-
function
|
|
20807
|
+
function QueryCheckYourAnswersComponent_dl_21_div_13_Template(rf, ctx) {
|
|
20813
20808
|
if (rf & 1) {
|
|
20814
|
-
var
|
|
20809
|
+
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20815
20810
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
20816
20811
|
i0__namespace.ɵɵelementStart(1, "dt", 10);
|
|
20817
20812
|
i0__namespace.ɵɵtext(2);
|
|
@@ -20823,7 +20818,7 @@
|
|
|
20823
20818
|
i0__namespace.ɵɵelementEnd();
|
|
20824
20819
|
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
20825
20820
|
i0__namespace.ɵɵelementStart(8, "a", 13);
|
|
20826
|
-
i0__namespace.ɵɵlistener("click", function
|
|
20821
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(2); return ctx_r11.goBack(); });
|
|
20827
20822
|
i0__namespace.ɵɵtext(9);
|
|
20828
20823
|
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
20829
20824
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20831,19 +20826,19 @@
|
|
|
20831
20826
|
i0__namespace.ɵɵelementEnd();
|
|
20832
20827
|
}
|
|
20833
20828
|
if (rf & 2) {
|
|
20834
|
-
var
|
|
20829
|
+
var ctx_r10 = i0__namespace.ɵɵnextContext(2);
|
|
20835
20830
|
var tmp_1_0 = null;
|
|
20836
20831
|
i0__namespace.ɵɵadvance(2);
|
|
20837
20832
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
|
|
20838
20833
|
i0__namespace.ɵɵadvance(3);
|
|
20839
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 =
|
|
20834
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 = ctx_r10.formGroup.get("hearingDate")) == null ? null : tmp_1_0.value, "dd MMM yyyy"), " ");
|
|
20840
20835
|
i0__namespace.ɵɵadvance(4);
|
|
20841
20836
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
20842
20837
|
}
|
|
20843
20838
|
}
|
|
20844
|
-
function
|
|
20839
|
+
function QueryCheckYourAnswersComponent_dl_21_Template(rf, ctx) {
|
|
20845
20840
|
if (rf & 1) {
|
|
20846
|
-
var
|
|
20841
|
+
var _r14_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20847
20842
|
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
20848
20843
|
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
20849
20844
|
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
@@ -20851,42 +20846,42 @@
|
|
|
20851
20846
|
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20852
20847
|
i0__namespace.ɵɵelementEnd();
|
|
20853
20848
|
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
20854
|
-
i0__namespace.ɵɵtemplate(6,
|
|
20855
|
-
i0__namespace.ɵɵtemplate(7,
|
|
20849
|
+
i0__namespace.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template, 3, 5, "ng-container", 4);
|
|
20850
|
+
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template, 2, 5, "ng-template", null, 19, i0__namespace.ɵɵtemplateRefExtractor);
|
|
20856
20851
|
i0__namespace.ɵɵelementEnd();
|
|
20857
20852
|
i0__namespace.ɵɵelementStart(9, "dd", 12);
|
|
20858
20853
|
i0__namespace.ɵɵelementStart(10, "a", 13);
|
|
20859
|
-
i0__namespace.ɵɵlistener("click", function
|
|
20854
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.goBack(); });
|
|
20860
20855
|
i0__namespace.ɵɵtext(11);
|
|
20861
20856
|
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
20862
20857
|
i0__namespace.ɵɵelementEnd();
|
|
20863
20858
|
i0__namespace.ɵɵelementEnd();
|
|
20864
20859
|
i0__namespace.ɵɵelementEnd();
|
|
20865
|
-
i0__namespace.ɵɵtemplate(13,
|
|
20860
|
+
i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_21_div_13_Template, 11, 10, "div", 20);
|
|
20866
20861
|
i0__namespace.ɵɵelementEnd();
|
|
20867
20862
|
}
|
|
20868
20863
|
if (rf & 2) {
|
|
20869
|
-
var
|
|
20870
|
-
var
|
|
20864
|
+
var _r8 = i0__namespace.ɵɵreference(8);
|
|
20865
|
+
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
20871
20866
|
var tmp_1_0 = null;
|
|
20872
20867
|
var tmp_4_0 = null;
|
|
20873
20868
|
i0__namespace.ɵɵadvance(3);
|
|
20874
20869
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
20875
20870
|
i0__namespace.ɵɵadvance(3);
|
|
20876
|
-
i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 =
|
|
20871
|
+
i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse", _r8);
|
|
20877
20872
|
i0__namespace.ɵɵadvance(5);
|
|
20878
20873
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
20879
20874
|
i0__namespace.ɵɵadvance(2);
|
|
20880
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_4_0 =
|
|
20875
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_4_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_4_0.value);
|
|
20881
20876
|
}
|
|
20882
20877
|
}
|
|
20883
|
-
function
|
|
20878
|
+
function QueryCheckYourAnswersComponent_ccd_query_attachments_read_28_Template(rf, ctx) {
|
|
20884
20879
|
if (rf & 1) {
|
|
20885
20880
|
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 21);
|
|
20886
20881
|
}
|
|
20887
20882
|
if (rf & 2) {
|
|
20888
|
-
var
|
|
20889
|
-
i0__namespace.ɵɵproperty("attachments",
|
|
20883
|
+
var ctx_r6 = i0__namespace.ɵɵnextContext();
|
|
20884
|
+
i0__namespace.ɵɵproperty("attachments", ctx_r6.formGroup.get("attachments").value);
|
|
20890
20885
|
}
|
|
20891
20886
|
}
|
|
20892
20887
|
var QueryCheckYourAnswersComponent = /** @class */ (function () {
|
|
@@ -20900,7 +20895,7 @@
|
|
|
20900
20895
|
return QueryCheckYourAnswersComponent;
|
|
20901
20896
|
}());
|
|
20902
20897
|
QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
|
|
20903
|
-
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls:
|
|
20898
|
+
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
20904
20899
|
if (rf & 1) {
|
|
20905
20900
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20906
20901
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -20931,15 +20926,15 @@
|
|
|
20931
20926
|
i0__namespace.ɵɵelementEnd();
|
|
20932
20927
|
i0__namespace.ɵɵelementEnd();
|
|
20933
20928
|
i0__namespace.ɵɵelementEnd();
|
|
20934
|
-
i0__namespace.ɵɵtemplate(21, QueryCheckYourAnswersComponent_dl_21_Template,
|
|
20929
|
+
i0__namespace.ɵɵtemplate(21, QueryCheckYourAnswersComponent_dl_21_Template, 14, 9, "dl", 7);
|
|
20935
20930
|
i0__namespace.ɵɵelementStart(22, "dl", 8);
|
|
20936
20931
|
i0__namespace.ɵɵelementStart(23, "div", 9);
|
|
20937
20932
|
i0__namespace.ɵɵelementStart(24, "dt", 10);
|
|
20938
20933
|
i0__namespace.ɵɵtext(25);
|
|
20939
20934
|
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
20940
20935
|
i0__namespace.ɵɵelementEnd();
|
|
20941
|
-
i0__namespace.ɵɵelementStart(27, "dd",
|
|
20942
|
-
i0__namespace.ɵɵ
|
|
20936
|
+
i0__namespace.ɵɵelementStart(27, "dd", 14);
|
|
20937
|
+
i0__namespace.ɵɵtemplate(28, QueryCheckYourAnswersComponent_ccd_query_attachments_read_28_Template, 1, 1, "ccd-query-attachments-read", 15);
|
|
20943
20938
|
i0__namespace.ɵɵelementEnd();
|
|
20944
20939
|
i0__namespace.ɵɵelementStart(29, "dd", 12);
|
|
20945
20940
|
i0__namespace.ɵɵelementStart(30, "a", 13);
|
|
@@ -20950,35 +20945,16 @@
|
|
|
20950
20945
|
i0__namespace.ɵɵelementEnd();
|
|
20951
20946
|
i0__namespace.ɵɵelementEnd();
|
|
20952
20947
|
i0__namespace.ɵɵelementEnd();
|
|
20953
|
-
i0__namespace.ɵɵ
|
|
20954
|
-
i0__namespace.ɵɵelementStart(34, "
|
|
20955
|
-
i0__namespace.ɵɵelementStart(35, "
|
|
20956
|
-
i0__namespace.ɵɵ
|
|
20957
|
-
i0__namespace.ɵɵtext(
|
|
20958
|
-
i0__namespace.ɵɵpipe(
|
|
20959
|
-
i0__namespace.ɵɵelementEnd();
|
|
20960
|
-
i0__namespace.ɵɵelementStart(39, "dd", 14);
|
|
20961
|
-
i0__namespace.ɵɵtemplate(40, QueryCheckYourAnswersComponent_ccd_query_attachments_read_40_Template, 1, 1, "ccd-query-attachments-read", 15);
|
|
20962
|
-
i0__namespace.ɵɵelementEnd();
|
|
20963
|
-
i0__namespace.ɵɵelementStart(41, "dd", 12);
|
|
20964
|
-
i0__namespace.ɵɵelementStart(42, "a", 13);
|
|
20965
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_42_listener() { return ctx.goBack(); });
|
|
20966
|
-
i0__namespace.ɵɵtext(43);
|
|
20967
|
-
i0__namespace.ɵɵpipe(44, "rpxTranslate");
|
|
20968
|
-
i0__namespace.ɵɵelementEnd();
|
|
20969
|
-
i0__namespace.ɵɵelementEnd();
|
|
20948
|
+
i0__namespace.ɵɵelement(33, "br");
|
|
20949
|
+
i0__namespace.ɵɵelementStart(34, "div");
|
|
20950
|
+
i0__namespace.ɵɵelementStart(35, "button", 16);
|
|
20951
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_35_listener() { return ctx.goBack(); });
|
|
20952
|
+
i0__namespace.ɵɵtext(36);
|
|
20953
|
+
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
20970
20954
|
i0__namespace.ɵɵelementEnd();
|
|
20971
|
-
i0__namespace.ɵɵ
|
|
20972
|
-
i0__namespace.ɵɵ
|
|
20973
|
-
i0__namespace.ɵɵ
|
|
20974
|
-
i0__namespace.ɵɵelementStart(47, "button", 16);
|
|
20975
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_47_listener() { return ctx.goBack(); });
|
|
20976
|
-
i0__namespace.ɵɵtext(48);
|
|
20977
|
-
i0__namespace.ɵɵpipe(49, "rpxTranslate");
|
|
20978
|
-
i0__namespace.ɵɵelementEnd();
|
|
20979
|
-
i0__namespace.ɵɵelementStart(50, "button", 17);
|
|
20980
|
-
i0__namespace.ɵɵtext(51);
|
|
20981
|
-
i0__namespace.ɵɵpipe(52, "rpxTranslate");
|
|
20955
|
+
i0__namespace.ɵɵelementStart(38, "button", 17);
|
|
20956
|
+
i0__namespace.ɵɵtext(39);
|
|
20957
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
20982
20958
|
i0__namespace.ɵɵelementEnd();
|
|
20983
20959
|
i0__namespace.ɵɵelementEnd();
|
|
20984
20960
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20987,39 +20963,30 @@
|
|
|
20987
20963
|
if (rf & 2) {
|
|
20988
20964
|
var _r2 = i0__namespace.ɵɵreference(6);
|
|
20989
20965
|
var tmp_5_0 = null;
|
|
20990
|
-
var tmp_9_0 = null;
|
|
20991
20966
|
i0__namespace.ɵɵadvance(2);
|
|
20992
20967
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
20993
20968
|
i0__namespace.ɵɵadvance(2);
|
|
20994
20969
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", _r2);
|
|
20995
20970
|
i0__namespace.ɵɵadvance(5);
|
|
20996
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND);
|
|
20997
|
-
i0__namespace.ɵɵadvance(4);
|
|
20998
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(14, 17, "Full name"), " ");
|
|
20999
|
-
i0__namespace.ɵɵadvance(3);
|
|
21000
|
-
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_5_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_5_0.value, " ");
|
|
21001
|
-
i0__namespace.ɵɵadvance(3);
|
|
21002
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 19, "Change"), " ");
|
|
21003
|
-
i0__namespace.ɵɵadvance(2);
|
|
21004
20971
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21005
20972
|
i0__namespace.ɵɵadvance(4);
|
|
21006
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(
|
|
20973
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(14, 13, "Query body"), " ");
|
|
21007
20974
|
i0__namespace.ɵɵadvance(3);
|
|
21008
|
-
i0__namespace.ɵɵtextInterpolate1(" ", (
|
|
20975
|
+
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.value, " ");
|
|
21009
20976
|
i0__namespace.ɵɵadvance(3);
|
|
21010
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20977
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 15, "Change"), " ");
|
|
21011
20978
|
i0__namespace.ɵɵadvance(2);
|
|
21012
20979
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21013
20980
|
i0__namespace.ɵɵadvance(4);
|
|
21014
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20981
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 17, "Document attached"), " ");
|
|
21015
20982
|
i0__namespace.ɵɵadvance(3);
|
|
21016
20983
|
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("attachments").value);
|
|
21017
20984
|
i0__namespace.ɵɵadvance(3);
|
|
21018
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20985
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 19, "Change"), " ");
|
|
21019
20986
|
i0__namespace.ɵɵadvance(5);
|
|
21020
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20987
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 21, "Previous"), " ");
|
|
21021
20988
|
i0__namespace.ɵɵadvance(3);
|
|
21022
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20989
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 23, "Submit"), " ");
|
|
21023
20990
|
}
|
|
21024
20991
|
}, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21025
20992
|
(function () {
|
|
@@ -21041,9 +21008,9 @@
|
|
|
21041
21008
|
}] });
|
|
21042
21009
|
})();
|
|
21043
21010
|
|
|
21044
|
-
function
|
|
21011
|
+
function QueryDetailsTableComponent_ng_container_0_tr_36_Template(rf, ctx) {
|
|
21045
21012
|
if (rf & 1) {
|
|
21046
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
21013
|
+
i0__namespace.ɵɵelementStart(0, "tr", 8);
|
|
21047
21014
|
i0__namespace.ɵɵelementStart(1, "th", 4);
|
|
21048
21015
|
i0__namespace.ɵɵtext(2);
|
|
21049
21016
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -21057,14 +21024,14 @@
|
|
|
21057
21024
|
if (rf & 2) {
|
|
21058
21025
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
21059
21026
|
i0__namespace.ɵɵadvance(2);
|
|
21060
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "What is the date of the hearing
|
|
21027
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "What is the date of the hearing?"));
|
|
21061
21028
|
i0__namespace.ɵɵadvance(3);
|
|
21062
21029
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
21063
21030
|
}
|
|
21064
21031
|
}
|
|
21065
|
-
function
|
|
21032
|
+
function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template(rf, ctx) {
|
|
21066
21033
|
if (rf & 1) {
|
|
21067
|
-
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21034
|
+
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 9);
|
|
21068
21035
|
}
|
|
21069
21036
|
if (rf & 2) {
|
|
21070
21037
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -21121,16 +21088,17 @@
|
|
|
21121
21088
|
i0__namespace.ɵɵelementEnd();
|
|
21122
21089
|
i0__namespace.ɵɵelementStart(33, "td", 5);
|
|
21123
21090
|
i0__namespace.ɵɵtext(34);
|
|
21091
|
+
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
21124
21092
|
i0__namespace.ɵɵelementEnd();
|
|
21125
21093
|
i0__namespace.ɵɵelementEnd();
|
|
21126
|
-
i0__namespace.ɵɵtemplate(
|
|
21127
|
-
i0__namespace.ɵɵelementStart(
|
|
21128
|
-
i0__namespace.ɵɵelementStart(
|
|
21129
|
-
i0__namespace.ɵɵtext(
|
|
21130
|
-
i0__namespace.ɵɵpipe(
|
|
21094
|
+
i0__namespace.ɵɵtemplate(36, QueryDetailsTableComponent_ng_container_0_tr_36_Template, 7, 7, "tr", 6);
|
|
21095
|
+
i0__namespace.ɵɵelementStart(37, "tr", 3);
|
|
21096
|
+
i0__namespace.ɵɵelementStart(38, "th", 4);
|
|
21097
|
+
i0__namespace.ɵɵtext(39);
|
|
21098
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21131
21099
|
i0__namespace.ɵɵelementEnd();
|
|
21132
|
-
i0__namespace.ɵɵelementStart(
|
|
21133
|
-
i0__namespace.ɵɵtemplate(
|
|
21100
|
+
i0__namespace.ɵɵelementStart(41, "td", 5);
|
|
21101
|
+
i0__namespace.ɵɵtemplate(42, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template, 1, 1, "ccd-query-attachments-read", 7);
|
|
21134
21102
|
i0__namespace.ɵɵelementEnd();
|
|
21135
21103
|
i0__namespace.ɵɵelementEnd();
|
|
21136
21104
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21140,31 +21108,35 @@
|
|
|
21140
21108
|
if (rf & 2) {
|
|
21141
21109
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
21142
21110
|
i0__namespace.ɵɵadvance(1);
|
|
21143
|
-
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2,
|
|
21111
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 18, "Details of the query"));
|
|
21144
21112
|
i0__namespace.ɵɵadvance(5);
|
|
21145
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21113
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Last submitted by"));
|
|
21146
21114
|
i0__namespace.ɵɵadvance(3);
|
|
21147
21115
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
21148
21116
|
i0__namespace.ɵɵadvance(3);
|
|
21149
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13,
|
|
21117
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 22, "Submission date"));
|
|
21150
21118
|
i0__namespace.ɵɵadvance(3);
|
|
21151
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16,
|
|
21119
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21152
21120
|
i0__namespace.ɵɵadvance(4);
|
|
21153
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20,
|
|
21121
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Query subject"));
|
|
21154
21122
|
i0__namespace.ɵɵadvance(3);
|
|
21155
21123
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
21156
21124
|
i0__namespace.ɵɵadvance(3);
|
|
21157
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26,
|
|
21125
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 29, "Query body"));
|
|
21158
21126
|
i0__namespace.ɵɵadvance(3);
|
|
21159
21127
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
|
|
21160
|
-
i0__namespace.ɵɵadvance(
|
|
21161
|
-
i0__namespace.ɵɵ
|
|
21162
|
-
i0__namespace.ɵɵadvance(
|
|
21163
|
-
i0__namespace.ɵɵ
|
|
21128
|
+
i0__namespace.ɵɵadvance(2);
|
|
21129
|
+
i0__namespace.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21130
|
+
i0__namespace.ɵɵadvance(1);
|
|
21131
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 31, "Is the query hearing related?"), " ");
|
|
21132
|
+
i0__namespace.ɵɵadvance(2);
|
|
21133
|
+
i0__namespace.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21164
21134
|
i0__namespace.ɵɵadvance(1);
|
|
21135
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(35, 33, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
|
|
21136
|
+
i0__namespace.ɵɵadvance(2);
|
|
21165
21137
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
|
|
21166
21138
|
i0__namespace.ɵɵadvance(3);
|
|
21167
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21139
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(40, 37, "Attachments"));
|
|
21168
21140
|
i0__namespace.ɵɵadvance(3);
|
|
21169
21141
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.attachments);
|
|
21170
21142
|
}
|
|
@@ -21175,14 +21147,14 @@
|
|
|
21175
21147
|
return QueryDetailsTableComponent;
|
|
21176
21148
|
}());
|
|
21177
21149
|
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
21178
|
-
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
21150
|
+
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
21179
21151
|
if (rf & 1) {
|
|
21180
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template,
|
|
21152
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 43, 39, "ng-container", 0);
|
|
21181
21153
|
}
|
|
21182
21154
|
if (rf & 2) {
|
|
21183
21155
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
21184
21156
|
}
|
|
21185
|
-
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
|
|
21157
|
+
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}.query-details-table[_ngcontent-%COMP%] .collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-bottom:none}.query-details-table[_ngcontent-%COMP%] .govuk-table__cell--no-border[_ngcontent-%COMP%], .query-details-table[_ngcontent-%COMP%] .govuk-table__header--no-border[_ngcontent-%COMP%]{border-bottom:0}"] });
|
|
21186
21158
|
(function () {
|
|
21187
21159
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
21188
21160
|
type: i0.Component,
|
|
@@ -21449,31 +21421,33 @@
|
|
|
21449
21421
|
|
|
21450
21422
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
21451
21423
|
if (rf & 1) {
|
|
21452
|
-
var
|
|
21424
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21453
21425
|
i0__namespace.ɵɵelementStart(0, "th", 8);
|
|
21454
|
-
i0__namespace.ɵɵ
|
|
21455
|
-
i0__namespace.ɵɵ
|
|
21456
|
-
i0__namespace.ɵɵ
|
|
21457
|
-
i0__namespace.ɵɵ
|
|
21426
|
+
i0__namespace.ɵɵelementStart(1, "button", 9);
|
|
21427
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var col_r3 = ctx.$implicit; var ctx_r5 = i0__namespace.ɵɵnextContext(2); return ctx_r5.sortTable(col_r3); });
|
|
21428
|
+
i0__namespace.ɵɵtext(2);
|
|
21429
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21458
21430
|
i0__namespace.ɵɵelementEnd();
|
|
21459
21431
|
i0__namespace.ɵɵelementEnd();
|
|
21460
21432
|
}
|
|
21461
21433
|
if (rf & 2) {
|
|
21462
21434
|
var col_r3 = ctx.$implicit;
|
|
21435
|
+
var i_r4 = ctx.index;
|
|
21463
21436
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
21437
|
+
i0__namespace.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
|
|
21464
21438
|
i0__namespace.ɵɵadvance(1);
|
|
21465
|
-
i0__namespace.ɵɵ
|
|
21466
|
-
i0__namespace.ɵɵadvance(
|
|
21467
|
-
i0__namespace.ɵɵ
|
|
21439
|
+
i0__namespace.ɵɵattribute("data-index", i_r4);
|
|
21440
|
+
i0__namespace.ɵɵadvance(1);
|
|
21441
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, col_r3.displayName), " ");
|
|
21468
21442
|
}
|
|
21469
21443
|
}
|
|
21470
21444
|
function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) {
|
|
21471
21445
|
if (rf & 1) {
|
|
21472
|
-
var
|
|
21446
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21473
21447
|
i0__namespace.ɵɵelementStart(0, "tr", 4);
|
|
21474
21448
|
i0__namespace.ɵɵelementStart(1, "td", 10);
|
|
21475
21449
|
i0__namespace.ɵɵelementStart(2, "a", 11);
|
|
21476
|
-
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(
|
|
21450
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var message_r7 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.showDetails(message_r7); });
|
|
21477
21451
|
i0__namespace.ɵɵtext(3);
|
|
21478
21452
|
i0__namespace.ɵɵelementEnd();
|
|
21479
21453
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21490,21 +21464,22 @@
|
|
|
21490
21464
|
i0__namespace.ɵɵelementEnd();
|
|
21491
21465
|
i0__namespace.ɵɵelementStart(12, "td", 12);
|
|
21492
21466
|
i0__namespace.ɵɵtext(13);
|
|
21467
|
+
i0__namespace.ɵɵpipe(14, "rpxTranslate");
|
|
21493
21468
|
i0__namespace.ɵɵelementEnd();
|
|
21494
21469
|
i0__namespace.ɵɵelementEnd();
|
|
21495
21470
|
}
|
|
21496
21471
|
if (rf & 2) {
|
|
21497
|
-
var
|
|
21472
|
+
var message_r7 = ctx.$implicit;
|
|
21498
21473
|
i0__namespace.ɵɵadvance(3);
|
|
21499
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21474
|
+
i0__namespace.ɵɵtextInterpolate(message_r7.subject);
|
|
21500
21475
|
i0__namespace.ɵɵadvance(2);
|
|
21501
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21476
|
+
i0__namespace.ɵɵtextInterpolate(message_r7.lastSubmittedBy);
|
|
21502
21477
|
i0__namespace.ɵɵadvance(2);
|
|
21503
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5,
|
|
21478
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5, message_r7.lastSubmittedDate, "dd MMM YYYY"));
|
|
21504
21479
|
i0__namespace.ɵɵadvance(3);
|
|
21505
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8,
|
|
21480
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8, message_r7.lastResponseDate, "dd MMM YYYY"));
|
|
21506
21481
|
i0__namespace.ɵɵadvance(3);
|
|
21507
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21482
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 11, message_r7.responseStatus));
|
|
21508
21483
|
}
|
|
21509
21484
|
}
|
|
21510
21485
|
function QueryListComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -21518,11 +21493,11 @@
|
|
|
21518
21493
|
i0__namespace.ɵɵelementEnd();
|
|
21519
21494
|
i0__namespace.ɵɵelementStart(5, "thead", 3);
|
|
21520
21495
|
i0__namespace.ɵɵelementStart(6, "tr", 4);
|
|
21521
|
-
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4,
|
|
21496
|
+
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 5, "th", 5);
|
|
21522
21497
|
i0__namespace.ɵɵelementEnd();
|
|
21523
21498
|
i0__namespace.ɵɵelementEnd();
|
|
21524
21499
|
i0__namespace.ɵɵelementStart(8, "tbody", 6);
|
|
21525
|
-
i0__namespace.ɵɵtemplate(9, QueryListComponent_ng_container_0_tr_9_Template,
|
|
21500
|
+
i0__namespace.ɵɵtemplate(9, QueryListComponent_ng_container_0_tr_9_Template, 15, 13, "tr", 7);
|
|
21526
21501
|
i0__namespace.ɵɵelementEnd();
|
|
21527
21502
|
i0__namespace.ɵɵelementEnd();
|
|
21528
21503
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -21541,11 +21516,11 @@
|
|
|
21541
21516
|
function QueryListComponent() {
|
|
21542
21517
|
this.selectedQuery = new i0.EventEmitter();
|
|
21543
21518
|
this.displayedColumns = [
|
|
21544
|
-
{ name: 'subject', displayName: '
|
|
21519
|
+
{ name: 'subject', displayName: 'Query subject', sortOrder: SortOrder.UNSORTED },
|
|
21545
21520
|
{ name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
|
|
21546
21521
|
{ name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
|
|
21547
21522
|
{ name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
|
|
21548
|
-
{ name: '
|
|
21523
|
+
{ name: 'responseStatus', displayName: 'Response status', sortOrder: SortOrder.UNSORTED }
|
|
21549
21524
|
];
|
|
21550
21525
|
}
|
|
21551
21526
|
QueryListComponent.prototype.ngOnChanges = function (simpleChanges) {
|
|
@@ -21568,13 +21543,16 @@
|
|
|
21568
21543
|
}
|
|
21569
21544
|
}
|
|
21570
21545
|
};
|
|
21571
|
-
QueryListComponent.prototype.
|
|
21546
|
+
QueryListComponent.prototype.getAriaSortHeaderValue = function (col) {
|
|
21572
21547
|
switch (col.sortOrder) {
|
|
21573
21548
|
case SortOrder.ASCENDING: {
|
|
21574
|
-
return '
|
|
21549
|
+
return 'ascending';
|
|
21550
|
+
}
|
|
21551
|
+
case SortOrder.DESCENDING: {
|
|
21552
|
+
return 'descending';
|
|
21575
21553
|
}
|
|
21576
21554
|
default: {
|
|
21577
|
-
return '
|
|
21555
|
+
return 'none';
|
|
21578
21556
|
}
|
|
21579
21557
|
}
|
|
21580
21558
|
};
|
|
@@ -21608,14 +21586,14 @@
|
|
|
21608
21586
|
return QueryListComponent;
|
|
21609
21587
|
}());
|
|
21610
21588
|
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
21611
|
-
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__header"], ["
|
|
21589
|
+
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
|
|
21612
21590
|
if (rf & 1) {
|
|
21613
21591
|
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
21614
21592
|
}
|
|
21615
21593
|
if (rf & 2) {
|
|
21616
21594
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
|
|
21617
21595
|
}
|
|
21618
|
-
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["
|
|
21596
|
+
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["@charset \"UTF-8\";.query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
|
|
21619
21597
|
(function () {
|
|
21620
21598
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
|
|
21621
21599
|
type: i0.Component,
|
|
@@ -21859,8 +21837,8 @@
|
|
|
21859
21837
|
|
|
21860
21838
|
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21861
21839
|
if (rf & 1) {
|
|
21862
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21863
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21840
|
+
i0__namespace.ɵɵelementStart(0, "p", 25);
|
|
21841
|
+
i0__namespace.ɵɵelementStart(1, "span", 26);
|
|
21864
21842
|
i0__namespace.ɵɵtext(2);
|
|
21865
21843
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21866
21844
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21873,13 +21851,13 @@
|
|
|
21873
21851
|
i0__namespace.ɵɵadvance(2);
|
|
21874
21852
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
21875
21853
|
i0__namespace.ɵɵadvance(2);
|
|
21876
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.
|
|
21854
|
+
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessage.QUERY_SUBJECT), " ");
|
|
21877
21855
|
}
|
|
21878
21856
|
}
|
|
21879
21857
|
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21880
21858
|
if (rf & 1) {
|
|
21881
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21882
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21859
|
+
i0__namespace.ɵɵelementStart(0, "p", 27);
|
|
21860
|
+
i0__namespace.ɵɵelementStart(1, "span", 26);
|
|
21883
21861
|
i0__namespace.ɵɵtext(2);
|
|
21884
21862
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21885
21863
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21892,13 +21870,13 @@
|
|
|
21892
21870
|
i0__namespace.ɵɵadvance(2);
|
|
21893
21871
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
21894
21872
|
i0__namespace.ɵɵadvance(2);
|
|
21895
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.
|
|
21873
|
+
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessage.QUERY_BODY), " ");
|
|
21896
21874
|
}
|
|
21897
21875
|
}
|
|
21898
|
-
function
|
|
21876
|
+
function QueryWriteRaiseQueryComponent_p_41_Template(rf, ctx) {
|
|
21899
21877
|
if (rf & 1) {
|
|
21900
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21901
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21878
|
+
i0__namespace.ɵɵelementStart(0, "p", 28);
|
|
21879
|
+
i0__namespace.ɵɵelementStart(1, "span", 26);
|
|
21902
21880
|
i0__namespace.ɵɵtext(2);
|
|
21903
21881
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21904
21882
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21911,32 +21889,13 @@
|
|
|
21911
21889
|
i0__namespace.ɵɵadvance(2);
|
|
21912
21890
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
21913
21891
|
i0__namespace.ɵɵadvance(2);
|
|
21914
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.raiseQueryErrorMessage.
|
|
21915
|
-
}
|
|
21916
|
-
}
|
|
21917
|
-
function QueryWriteRaiseQueryComponent_p_51_Template(rf, ctx) {
|
|
21918
|
-
if (rf & 1) {
|
|
21919
|
-
i0__namespace.ɵɵelementStart(0, "p", 33);
|
|
21920
|
-
i0__namespace.ɵɵelementStart(1, "span", 30);
|
|
21921
|
-
i0__namespace.ɵɵtext(2);
|
|
21922
|
-
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21923
|
-
i0__namespace.ɵɵelementEnd();
|
|
21924
|
-
i0__namespace.ɵɵtext(4);
|
|
21925
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21926
|
-
i0__namespace.ɵɵelementEnd();
|
|
21927
|
-
}
|
|
21928
|
-
if (rf & 2) {
|
|
21929
|
-
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
21930
|
-
i0__namespace.ɵɵadvance(2);
|
|
21931
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
21932
|
-
i0__namespace.ɵɵadvance(2);
|
|
21933
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r3.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
21892
|
+
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.raiseQueryErrorMessage.QUERY_HEARING_RELATED), " ");
|
|
21934
21893
|
}
|
|
21935
21894
|
}
|
|
21936
|
-
function
|
|
21895
|
+
function QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template(rf, ctx) {
|
|
21937
21896
|
if (rf & 1) {
|
|
21938
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21939
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21897
|
+
i0__namespace.ɵɵelementStart(0, "p", 34);
|
|
21898
|
+
i0__namespace.ɵɵelementStart(1, "span", 26);
|
|
21940
21899
|
i0__namespace.ɵɵtext(2);
|
|
21941
21900
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21942
21901
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21945,39 +21904,39 @@
|
|
|
21945
21904
|
i0__namespace.ɵɵelementEnd();
|
|
21946
21905
|
}
|
|
21947
21906
|
if (rf & 2) {
|
|
21948
|
-
var
|
|
21907
|
+
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
21949
21908
|
i0__namespace.ɵɵadvance(2);
|
|
21950
21909
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
21951
21910
|
i0__namespace.ɵɵadvance(2);
|
|
21952
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4,
|
|
21911
|
+
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
21953
21912
|
}
|
|
21954
21913
|
}
|
|
21955
21914
|
var _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
21956
|
-
function
|
|
21915
|
+
function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
|
|
21957
21916
|
if (rf & 1) {
|
|
21958
21917
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
21959
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
21960
|
-
i0__namespace.ɵɵelementStart(2, "fieldset",
|
|
21918
|
+
i0__namespace.ɵɵelementStart(1, "div", 29);
|
|
21919
|
+
i0__namespace.ɵɵelementStart(2, "fieldset", 30);
|
|
21961
21920
|
i0__namespace.ɵɵelementStart(3, "legend");
|
|
21962
|
-
i0__namespace.ɵɵelementStart(4, "label",
|
|
21921
|
+
i0__namespace.ɵɵelementStart(4, "label", 31);
|
|
21963
21922
|
i0__namespace.ɵɵtext(5);
|
|
21964
21923
|
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
21965
21924
|
i0__namespace.ɵɵelementEnd();
|
|
21966
21925
|
i0__namespace.ɵɵelementEnd();
|
|
21967
|
-
i0__namespace.ɵɵtemplate(7,
|
|
21968
|
-
i0__namespace.ɵɵelement(8, "ccd-query-write-date-input",
|
|
21926
|
+
i0__namespace.ɵɵtemplate(7, QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template, 6, 6, "p", 32);
|
|
21927
|
+
i0__namespace.ɵɵelement(8, "ccd-query-write-date-input", 33);
|
|
21969
21928
|
i0__namespace.ɵɵelementEnd();
|
|
21970
21929
|
i0__namespace.ɵɵelementEnd();
|
|
21971
21930
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21972
21931
|
}
|
|
21973
21932
|
if (rf & 2) {
|
|
21974
|
-
var
|
|
21933
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
21975
21934
|
i0__namespace.ɵɵadvance(1);
|
|
21976
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C,
|
|
21935
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
|
|
21977
21936
|
i0__namespace.ɵɵadvance(4);
|
|
21978
21937
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "Hearing date"), " ");
|
|
21979
21938
|
i0__namespace.ɵɵadvance(2);
|
|
21980
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
21939
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null);
|
|
21981
21940
|
}
|
|
21982
21941
|
}
|
|
21983
21942
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
@@ -21987,7 +21946,7 @@
|
|
|
21987
21946
|
return QueryWriteRaiseQueryComponent;
|
|
21988
21947
|
}());
|
|
21989
21948
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21990
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls:
|
|
21949
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 55, 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", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21991
21950
|
if (rf & 1) {
|
|
21992
21951
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21993
21952
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -22021,6 +21980,7 @@
|
|
|
22021
21980
|
i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
|
|
22022
21981
|
i0__namespace.ɵɵelement(23, "input", 10);
|
|
22023
21982
|
i0__namespace.ɵɵelementEnd();
|
|
21983
|
+
i0__namespace.ɵɵelementEnd();
|
|
22024
21984
|
i0__namespace.ɵɵelementStart(24, "div", 5);
|
|
22025
21985
|
i0__namespace.ɵɵelementStart(25, "div", 6);
|
|
22026
21986
|
i0__namespace.ɵɵelementStart(26, "label", 11);
|
|
@@ -22033,52 +21993,37 @@
|
|
|
22033
21993
|
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
22034
21994
|
i0__namespace.ɵɵelementEnd();
|
|
22035
21995
|
i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
|
|
22036
|
-
i0__namespace.ɵɵ
|
|
21996
|
+
i0__namespace.ɵɵelementStart(33, "textarea", 14);
|
|
21997
|
+
i0__namespace.ɵɵtext(34, " ");
|
|
22037
21998
|
i0__namespace.ɵɵelementEnd();
|
|
22038
21999
|
i0__namespace.ɵɵelementEnd();
|
|
22039
|
-
i0__namespace.ɵɵelementStart(
|
|
22040
|
-
i0__namespace.ɵɵelementStart(
|
|
22041
|
-
i0__namespace.ɵɵelementStart(
|
|
22042
|
-
i0__namespace.ɵɵ
|
|
22043
|
-
i0__namespace.ɵɵ
|
|
22000
|
+
i0__namespace.ɵɵelementStart(35, "div", 5);
|
|
22001
|
+
i0__namespace.ɵɵelementStart(36, "fieldset", 15);
|
|
22002
|
+
i0__namespace.ɵɵelementStart(37, "legend");
|
|
22003
|
+
i0__namespace.ɵɵelementStart(38, "label", 16);
|
|
22004
|
+
i0__namespace.ɵɵtext(39);
|
|
22005
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
22044
22006
|
i0__namespace.ɵɵelementEnd();
|
|
22045
22007
|
i0__namespace.ɵɵelementEnd();
|
|
22046
|
-
i0__namespace.ɵɵ
|
|
22047
|
-
i0__namespace.ɵɵ
|
|
22048
|
-
i0__namespace.ɵɵ
|
|
22049
|
-
i0__namespace.ɵɵ
|
|
22050
|
-
i0__namespace.ɵɵ
|
|
22051
|
-
i0__namespace.ɵɵ
|
|
22052
|
-
i0__namespace.ɵɵ
|
|
22053
|
-
i0__namespace.ɵɵelementEnd();
|
|
22008
|
+
i0__namespace.ɵɵtemplate(41, QueryWriteRaiseQueryComponent_p_41_Template, 6, 6, "p", 17);
|
|
22009
|
+
i0__namespace.ɵɵelementStart(42, "div", 18);
|
|
22010
|
+
i0__namespace.ɵɵelementStart(43, "div", 19);
|
|
22011
|
+
i0__namespace.ɵɵelement(44, "input", 20);
|
|
22012
|
+
i0__namespace.ɵɵelementStart(45, "label", 21);
|
|
22013
|
+
i0__namespace.ɵɵtext(46);
|
|
22014
|
+
i0__namespace.ɵɵpipe(47, "rpxTranslate");
|
|
22054
22015
|
i0__namespace.ɵɵelementEnd();
|
|
22055
|
-
i0__namespace.ɵɵelementStart(45, "div", 5);
|
|
22056
|
-
i0__namespace.ɵɵelementStart(46, "fieldset", 19);
|
|
22057
|
-
i0__namespace.ɵɵelementStart(47, "legend");
|
|
22058
|
-
i0__namespace.ɵɵelementStart(48, "label", 20);
|
|
22059
|
-
i0__namespace.ɵɵtext(49);
|
|
22060
|
-
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
22061
22016
|
i0__namespace.ɵɵelementEnd();
|
|
22062
|
-
i0__namespace.ɵɵ
|
|
22063
|
-
i0__namespace.ɵɵ
|
|
22064
|
-
i0__namespace.ɵɵelementStart(
|
|
22065
|
-
i0__namespace.ɵɵ
|
|
22066
|
-
i0__namespace.ɵɵ
|
|
22067
|
-
i0__namespace.ɵɵelementStart(55, "label", 25);
|
|
22068
|
-
i0__namespace.ɵɵtext(56);
|
|
22069
|
-
i0__namespace.ɵɵpipe(57, "rpxTranslate");
|
|
22070
|
-
i0__namespace.ɵɵelementEnd();
|
|
22071
|
-
i0__namespace.ɵɵelementEnd();
|
|
22072
|
-
i0__namespace.ɵɵelementStart(58, "div", 23);
|
|
22073
|
-
i0__namespace.ɵɵelement(59, "input", 26);
|
|
22074
|
-
i0__namespace.ɵɵelementStart(60, "label", 27);
|
|
22075
|
-
i0__namespace.ɵɵtext(61);
|
|
22076
|
-
i0__namespace.ɵɵpipe(62, "rpxTranslate");
|
|
22017
|
+
i0__namespace.ɵɵelementStart(48, "div", 19);
|
|
22018
|
+
i0__namespace.ɵɵelement(49, "input", 22);
|
|
22019
|
+
i0__namespace.ɵɵelementStart(50, "label", 23);
|
|
22020
|
+
i0__namespace.ɵɵtext(51);
|
|
22021
|
+
i0__namespace.ɵɵpipe(52, "rpxTranslate");
|
|
22077
22022
|
i0__namespace.ɵɵelementEnd();
|
|
22078
22023
|
i0__namespace.ɵɵelementEnd();
|
|
22079
22024
|
i0__namespace.ɵɵelementEnd();
|
|
22080
22025
|
i0__namespace.ɵɵelementEnd();
|
|
22081
|
-
i0__namespace.ɵɵtemplate(
|
|
22026
|
+
i0__namespace.ɵɵtemplate(53, QueryWriteRaiseQueryComponent_ng_container_53_Template, 9, 7, "ng-container", 24);
|
|
22082
22027
|
i0__namespace.ɵɵelementEnd();
|
|
22083
22028
|
i0__namespace.ɵɵelementEnd();
|
|
22084
22029
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22086,61 +22031,48 @@
|
|
|
22086
22031
|
}
|
|
22087
22032
|
if (rf & 2) {
|
|
22088
22033
|
var tmp_7_0 = null;
|
|
22089
|
-
var tmp_13_0 = null;
|
|
22090
|
-
var tmp_19_0 = null;
|
|
22091
22034
|
i0__namespace.ɵɵadvance(3);
|
|
22092
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4,
|
|
22035
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 27, "Raise a query"));
|
|
22093
22036
|
i0__namespace.ɵɵadvance(3);
|
|
22094
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
22037
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 29, "Enter query details"));
|
|
22095
22038
|
i0__namespace.ɵɵadvance(6);
|
|
22096
22039
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22097
22040
|
i0__namespace.ɵɵadvance(2);
|
|
22098
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
22099
|
-
i0__namespace.ɵɵadvance(3);
|
|
22100
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
22101
|
-
i0__namespace.ɵɵadvance(3);
|
|
22102
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
22103
|
-
i0__namespace.ɵɵadvance(2);
|
|
22104
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("fullName").hasError("required"));
|
|
22105
|
-
i0__namespace.ɵɵadvance(1);
|
|
22106
|
-
i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.hasError("required")));
|
|
22107
|
-
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
22108
|
-
i0__namespace.ɵɵadvance(1);
|
|
22109
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(62, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
|
|
22041
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
|
|
22110
22042
|
i0__namespace.ɵɵadvance(3);
|
|
22111
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
22043
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 31, "Query subject"), " ");
|
|
22112
22044
|
i0__namespace.ɵɵadvance(3);
|
|
22113
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
22045
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 33, "The subject should be a summary of your query"), " ");
|
|
22114
22046
|
i0__namespace.ɵɵadvance(2);
|
|
22115
22047
|
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("subject").hasError("required"));
|
|
22116
22048
|
i0__namespace.ɵɵadvance(1);
|
|
22117
|
-
i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((
|
|
22049
|
+
i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("subject")) == null ? null : tmp_7_0.hasError("required")));
|
|
22118
22050
|
i0__namespace.ɵɵproperty("formControlName", "subject");
|
|
22119
22051
|
i0__namespace.ɵɵadvance(1);
|
|
22120
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
22052
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(51, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
|
|
22121
22053
|
i0__namespace.ɵɵadvance(3);
|
|
22122
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
22054
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 35, "Query body"), " ");
|
|
22123
22055
|
i0__namespace.ɵɵadvance(3);
|
|
22124
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
22056
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 37, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22125
22057
|
i0__namespace.ɵɵadvance(2);
|
|
22126
22058
|
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
|
|
22127
22059
|
i0__namespace.ɵɵadvance(1);
|
|
22128
|
-
i0__namespace.ɵɵclassProp("govuk-
|
|
22060
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
|
|
22129
22061
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
22130
22062
|
i0__namespace.ɵɵadvance(2);
|
|
22131
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
22063
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(53, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
|
|
22132
22064
|
i0__namespace.ɵɵadvance(4);
|
|
22133
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
22065
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 39, "Is the query hearing related?"), " ");
|
|
22134
22066
|
i0__namespace.ɵɵadvance(2);
|
|
22135
22067
|
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required"));
|
|
22136
22068
|
i0__namespace.ɵɵadvance(3);
|
|
22137
22069
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
22138
22070
|
i0__namespace.ɵɵadvance(2);
|
|
22139
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
22071
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(47, 41, "Is the query hearing related?", null, "Yes"), " ");
|
|
22140
22072
|
i0__namespace.ɵɵadvance(3);
|
|
22141
22073
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
22142
22074
|
i0__namespace.ɵɵadvance(2);
|
|
22143
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
22075
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(52, 45, "Is the query hearing related?", null, "No"), " ");
|
|
22144
22076
|
i0__namespace.ɵɵadvance(2);
|
|
22145
22077
|
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
|
|
22146
22078
|
}
|
|
@@ -22159,10 +22091,10 @@
|
|
|
22159
22091
|
}] });
|
|
22160
22092
|
})();
|
|
22161
22093
|
|
|
22162
|
-
function
|
|
22094
|
+
function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
|
|
22163
22095
|
if (rf & 1) {
|
|
22164
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
22165
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
22096
|
+
i0__namespace.ɵɵelementStart(0, "p", 15);
|
|
22097
|
+
i0__namespace.ɵɵelementStart(1, "span", 16);
|
|
22166
22098
|
i0__namespace.ɵɵtext(2);
|
|
22167
22099
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22168
22100
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22175,26 +22107,7 @@
|
|
|
22175
22107
|
i0__namespace.ɵɵadvance(2);
|
|
22176
22108
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22177
22109
|
i0__namespace.ɵɵadvance(2);
|
|
22178
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.
|
|
22179
|
-
}
|
|
22180
|
-
}
|
|
22181
|
-
function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
|
|
22182
|
-
if (rf & 1) {
|
|
22183
|
-
i0__namespace.ɵɵelementStart(0, "p", 22);
|
|
22184
|
-
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
22185
|
-
i0__namespace.ɵɵtext(2);
|
|
22186
|
-
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22187
|
-
i0__namespace.ɵɵelementEnd();
|
|
22188
|
-
i0__namespace.ɵɵtext(4);
|
|
22189
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
22190
|
-
i0__namespace.ɵɵelementEnd();
|
|
22191
|
-
}
|
|
22192
|
-
if (rf & 2) {
|
|
22193
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
22194
|
-
i0__namespace.ɵɵadvance(2);
|
|
22195
|
-
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(3, 2, "Error:"), " ");
|
|
22196
|
-
i0__namespace.ɵɵadvance(2);
|
|
22197
|
-
i0__namespace.ɵɵtextInterpolate1("", ctx_r1.queryCreateContext === ctx_r1.queryCreateContextEnum.RESPOND ? ctx_r1.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0__namespace.ɵɵpipeBind1(5, 4, ctx_r1.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22110
|
+
i0__namespace.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22198
22111
|
}
|
|
22199
22112
|
}
|
|
22200
22113
|
var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
@@ -22214,7 +22127,7 @@
|
|
|
22214
22127
|
return QueryWriteRespondToQueryComponent;
|
|
22215
22128
|
}());
|
|
22216
22129
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
|
|
22217
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls:
|
|
22130
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 30, vars: 26, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0", 3, "routerLink"], [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", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
22218
22131
|
if (rf & 1) {
|
|
22219
22132
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
22220
22133
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -22254,23 +22167,9 @@
|
|
|
22254
22167
|
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
22255
22168
|
i0__namespace.ɵɵelementEnd();
|
|
22256
22169
|
i0__namespace.ɵɵelementEnd();
|
|
22257
|
-
i0__namespace.ɵɵ
|
|
22258
|
-
i0__namespace.ɵɵ
|
|
22259
|
-
i0__namespace.ɵɵ
|
|
22260
|
-
i0__namespace.ɵɵelementEnd();
|
|
22261
|
-
i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
|
|
22262
|
-
i0__namespace.ɵɵelement(31, "input", 15);
|
|
22263
|
-
i0__namespace.ɵɵelementEnd();
|
|
22264
|
-
i0__namespace.ɵɵelementStart(32, "div", 16);
|
|
22265
|
-
i0__namespace.ɵɵelementStart(33, "div", 11);
|
|
22266
|
-
i0__namespace.ɵɵelementStart(34, "label", 17);
|
|
22267
|
-
i0__namespace.ɵɵtext(35);
|
|
22268
|
-
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
22269
|
-
i0__namespace.ɵɵelementEnd();
|
|
22270
|
-
i0__namespace.ɵɵelementEnd();
|
|
22271
|
-
i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
|
|
22272
|
-
i0__namespace.ɵɵelementStart(38, "textarea", 19);
|
|
22273
|
-
i0__namespace.ɵɵtext(39, " ");
|
|
22170
|
+
i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
|
|
22171
|
+
i0__namespace.ɵɵelementStart(28, "textarea", 14);
|
|
22172
|
+
i0__namespace.ɵɵtext(29, " ");
|
|
22274
22173
|
i0__namespace.ɵɵelementEnd();
|
|
22275
22174
|
i0__namespace.ɵɵelementEnd();
|
|
22276
22175
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22279,44 +22178,30 @@
|
|
|
22279
22178
|
}
|
|
22280
22179
|
if (rf & 2) {
|
|
22281
22180
|
var tmp_7_0 = null;
|
|
22181
|
+
var tmp_9_0 = null;
|
|
22282
22182
|
var tmp_10_0 = null;
|
|
22283
|
-
var tmp_11_0 = null;
|
|
22284
|
-
var tmp_13_0 = null;
|
|
22285
|
-
var tmp_15_0 = null;
|
|
22286
|
-
var tmp_16_0 = null;
|
|
22287
22183
|
i0__namespace.ɵɵadvance(1);
|
|
22288
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(
|
|
22184
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
|
|
22289
22185
|
i0__namespace.ɵɵadvance(1);
|
|
22290
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3,
|
|
22186
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
|
|
22291
22187
|
i0__namespace.ɵɵadvance(5);
|
|
22292
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
22188
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 16, "Respond to query"));
|
|
22293
22189
|
i0__namespace.ɵɵadvance(3);
|
|
22294
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
22190
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 18, "Query details"));
|
|
22295
22191
|
i0__namespace.ɵɵadvance(5);
|
|
22296
22192
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
22297
22193
|
i0__namespace.ɵɵadvance(4);
|
|
22298
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20,
|
|
22194
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 20, "Ask a follow-up question"), " ");
|
|
22299
22195
|
i0__namespace.ɵɵadvance(2);
|
|
22300
22196
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22301
22197
|
i0__namespace.ɵɵadvance(1);
|
|
22302
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("
|
|
22303
|
-
i0__namespace.ɵɵadvance(3);
|
|
22304
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 30, "Full name"), " ");
|
|
22305
|
-
i0__namespace.ɵɵadvance(3);
|
|
22306
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 32, "Your full name must be included here"), " ");
|
|
22307
|
-
i0__namespace.ɵɵadvance(2);
|
|
22308
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.hasError("required")));
|
|
22309
|
-
i0__namespace.ɵɵadvance(1);
|
|
22310
|
-
i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_11_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_11_0.hasError("required")));
|
|
22311
|
-
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
22312
|
-
i0__namespace.ɵɵadvance(1);
|
|
22313
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_13_0 = ctx.formGroup.get("body")) == null ? null : tmp_13_0.hasError("required")));
|
|
22198
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
|
|
22314
22199
|
i0__namespace.ɵɵadvance(3);
|
|
22315
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(
|
|
22200
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(26, 22, "Query Body"), " ");
|
|
22316
22201
|
i0__namespace.ɵɵadvance(2);
|
|
22317
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((
|
|
22202
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.hasError("required")));
|
|
22318
22203
|
i0__namespace.ɵɵadvance(1);
|
|
22319
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((
|
|
22204
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("body")) == null ? null : tmp_10_0.hasError("required")));
|
|
22320
22205
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
22321
22206
|
}
|
|
22322
22207
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|