@hmcts/ccd-case-ui-toolkit 7.2.13-close-query-1 → 7.2.13-concurrency-error-message-1
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/esm2022/lib/shared/components/palette/palette.module.mjs +12 -11
- package/esm2022/lib/shared/components/palette/query-management/components/index.mjs +1 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +140 -110
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +9 -15
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +10 -26
- package/esm2022/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +1 -2
- package/esm2022/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +1 -1
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +2 -11
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +6 -27
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +2 -4
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +197 -268
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +33 -33
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts +0 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +4 -0
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-details/query-details.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.map +1 -1
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts +1 -2
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts +0 -1
- package/lib/shared/components/palette/query-management/models/case-queries-collection.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 +0 -1
- 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/palette/query-management/read-query-management-field.component.d.ts +0 -1
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2022/lib/shared/components/palette/query-management/components/close-query/close-query.component.mjs +0 -49
- package/lib/shared/components/palette/query-management/components/close-query/close-query.component.d.ts +0 -8
- package/lib/shared/components/palette/query-management/components/close-query/close-query.component.d.ts.map +0 -1
|
@@ -20559,7 +20559,6 @@ var QueryItemResponseStatus;
|
|
|
20559
20559
|
QueryItemResponseStatus["NEW"] = "New";
|
|
20560
20560
|
QueryItemResponseStatus["RESPONDED"] = "Responded";
|
|
20561
20561
|
QueryItemResponseStatus["AWAITING"] = "Awaiting Response";
|
|
20562
|
-
QueryItemResponseStatus["CLOSED"] = "Closed";
|
|
20563
20562
|
})(QueryItemResponseStatus || (QueryItemResponseStatus = {}));
|
|
20564
20563
|
|
|
20565
20564
|
var RespondToQueryErrorMessages;
|
|
@@ -20860,7 +20859,6 @@ class QueryListItem {
|
|
|
20860
20859
|
createdOn;
|
|
20861
20860
|
createdBy;
|
|
20862
20861
|
parentId;
|
|
20863
|
-
isClosed;
|
|
20864
20862
|
children = [];
|
|
20865
20863
|
messageIndexInParent = null;
|
|
20866
20864
|
get lastSubmittedMessage() {
|
|
@@ -20921,15 +20919,7 @@ class QueryListItem {
|
|
|
20921
20919
|
return new Date(this.children[index].createdOn);
|
|
20922
20920
|
}
|
|
20923
20921
|
get responseStatus() {
|
|
20924
|
-
|
|
20925
|
-
if (item.isClosed === 'Yes') {
|
|
20926
|
-
return true;
|
|
20927
|
-
}
|
|
20928
|
-
return item.children?.some(child => isThreadClosed(child)) || false;
|
|
20929
|
-
};
|
|
20930
|
-
if (isThreadClosed(this)) {
|
|
20931
|
-
return QueryItemResponseStatus.CLOSED;
|
|
20932
|
-
}
|
|
20922
|
+
// Child logic (position-based)
|
|
20933
20923
|
if (this.messageIndexInParent !== null) {
|
|
20934
20924
|
return this.messageIndexInParent % 2 === 0
|
|
20935
20925
|
? QueryItemResponseStatus.RESPONDED
|
|
@@ -21027,7 +21017,6 @@ class QueryManagementUtils {
|
|
|
21027
21017
|
const body = formGroup.get('body').value;
|
|
21028
21018
|
const attachments = formGroup.get('attachments').value;
|
|
21029
21019
|
const formDocument = attachments.map((document) => this.documentToCollectionFormDocument(document));
|
|
21030
|
-
const isClosed = formGroup.get('closeQuery').value ? 'Yes' : 'No';
|
|
21031
21020
|
return {
|
|
21032
21021
|
id: v4(),
|
|
21033
21022
|
subject: queryItem.subject,
|
|
@@ -21038,8 +21027,7 @@ class QueryManagementUtils {
|
|
|
21038
21027
|
hearingDate: queryItem.hearingDate,
|
|
21039
21028
|
createdOn: new Date(),
|
|
21040
21029
|
createdBy: currentUserId,
|
|
21041
|
-
parentId: queryItem.id
|
|
21042
|
-
isClosed
|
|
21030
|
+
parentId: queryItem.id
|
|
21043
21031
|
};
|
|
21044
21032
|
}
|
|
21045
21033
|
static isObject(elem) {
|
|
@@ -21060,7 +21048,7 @@ class QueryManagementUtils {
|
|
|
21060
21048
|
}], null, null); })();
|
|
21061
21049
|
|
|
21062
21050
|
function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21063
|
-
i0.ɵɵelementStart(0, "li")(1, "a",
|
|
21051
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 28);
|
|
21064
21052
|
i0.ɵɵtext(2);
|
|
21065
21053
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21066
21054
|
i0.ɵɵelementEnd()();
|
|
@@ -21072,12 +21060,12 @@ function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if
|
|
|
21072
21060
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21073
21061
|
} }
|
|
21074
21062
|
function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21075
|
-
i0.ɵɵelementStart(0, "div",
|
|
21063
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "h2", 24);
|
|
21076
21064
|
i0.ɵɵtext(2);
|
|
21077
21065
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21078
21066
|
i0.ɵɵelementEnd();
|
|
21079
|
-
i0.ɵɵelementStart(4, "div",
|
|
21080
|
-
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template, 4, 4, "li",
|
|
21067
|
+
i0.ɵɵelementStart(4, "div", 25)(5, "ul", 26);
|
|
21068
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template, 4, 4, "li", 27);
|
|
21081
21069
|
i0.ɵɵelementEnd()()();
|
|
21082
21070
|
} if (rf & 2) {
|
|
21083
21071
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -21086,9 +21074,43 @@ function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf &
|
|
|
21086
21074
|
i0.ɵɵadvance(4);
|
|
21087
21075
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21088
21076
|
} }
|
|
21089
|
-
function
|
|
21077
|
+
function QueryCheckYourAnswersComponent_div_0_div_3_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
21078
|
+
i0.ɵɵelementStart(0, "li", 34);
|
|
21079
|
+
i0.ɵɵtext(1);
|
|
21080
|
+
i0.ɵɵelementEnd();
|
|
21081
|
+
} if (rf & 2) {
|
|
21082
|
+
const fieldError_r4 = ctx.$implicit;
|
|
21083
|
+
i0.ɵɵadvance();
|
|
21084
|
+
i0.ɵɵtextInterpolate(fieldError_r4.message);
|
|
21085
|
+
} }
|
|
21086
|
+
function QueryCheckYourAnswersComponent_div_0_div_3_ul_5_Template(rf, ctx) { if (rf & 1) {
|
|
21087
|
+
i0.ɵɵelementStart(0, "ul", 32);
|
|
21088
|
+
i0.ɵɵtemplate(1, QueryCheckYourAnswersComponent_div_0_div_3_ul_5_li_1_Template, 2, 1, "li", 33);
|
|
21089
|
+
i0.ɵɵelementEnd();
|
|
21090
|
+
} if (rf & 2) {
|
|
21091
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21092
|
+
i0.ɵɵadvance();
|
|
21093
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.error.details.field_errors);
|
|
21094
|
+
} }
|
|
21095
|
+
function QueryCheckYourAnswersComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
21096
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "h3", 30);
|
|
21097
|
+
i0.ɵɵtext(2, " The event could not be created ");
|
|
21098
|
+
i0.ɵɵelementEnd();
|
|
21099
|
+
i0.ɵɵelementStart(3, "p");
|
|
21100
|
+
i0.ɵɵtext(4);
|
|
21101
|
+
i0.ɵɵelementEnd();
|
|
21102
|
+
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_div_3_ul_5_Template, 2, 1, "ul", 31);
|
|
21103
|
+
i0.ɵɵelementEnd();
|
|
21104
|
+
} if (rf & 2) {
|
|
21105
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21106
|
+
i0.ɵɵadvance(4);
|
|
21107
|
+
i0.ɵɵtextInterpolate(ctx_r2.error.message);
|
|
21108
|
+
i0.ɵɵadvance();
|
|
21109
|
+
i0.ɵɵproperty("ngIf", ctx_r2.error.details == null ? null : ctx_r2.error.details.field_errors);
|
|
21110
|
+
} }
|
|
21111
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21090
21112
|
i0.ɵɵelementContainerStart(0);
|
|
21091
|
-
i0.ɵɵelementStart(1, "div",
|
|
21113
|
+
i0.ɵɵelementStart(1, "div", 35);
|
|
21092
21114
|
i0.ɵɵtext(2);
|
|
21093
21115
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21094
21116
|
i0.ɵɵelementEnd();
|
|
@@ -21097,7 +21119,7 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) {
|
|
|
21097
21119
|
i0.ɵɵadvance(2);
|
|
21098
21120
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21099
21121
|
} }
|
|
21100
|
-
function
|
|
21122
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
21101
21123
|
i0.ɵɵelementContainerStart(0);
|
|
21102
21124
|
i0.ɵɵtext(1);
|
|
21103
21125
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21106,16 +21128,16 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) {
|
|
|
21106
21128
|
i0.ɵɵadvance();
|
|
21107
21129
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21108
21130
|
} }
|
|
21109
|
-
function
|
|
21131
|
+
function QueryCheckYourAnswersComponent_div_0_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
21110
21132
|
i0.ɵɵtext(0);
|
|
21111
21133
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21112
21134
|
} if (rf & 2) {
|
|
21113
21135
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21114
21136
|
} }
|
|
21115
|
-
function
|
|
21116
|
-
const
|
|
21117
|
-
i0.ɵɵelementStart(0, "a",
|
|
21118
|
-
i0.ɵɵlistener("click", function
|
|
21137
|
+
function QueryCheckYourAnswersComponent_div_0_dl_12_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21138
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
21139
|
+
i0.ɵɵelementStart(0, "a", 19);
|
|
21140
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_12_a_8_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21119
21141
|
i0.ɵɵtext(1);
|
|
21120
21142
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21121
21143
|
i0.ɵɵelementEnd();
|
|
@@ -21123,16 +21145,16 @@ function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (
|
|
|
21123
21145
|
i0.ɵɵadvance();
|
|
21124
21146
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21125
21147
|
} }
|
|
21126
|
-
function
|
|
21127
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21148
|
+
function QueryCheckYourAnswersComponent_div_0_dl_12_Template(rf, ctx) { if (rf & 1) {
|
|
21149
|
+
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21128
21150
|
i0.ɵɵtext(3);
|
|
21129
21151
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21130
21152
|
i0.ɵɵelementEnd();
|
|
21131
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21153
|
+
i0.ɵɵelementStart(5, "dd", 17);
|
|
21132
21154
|
i0.ɵɵtext(6);
|
|
21133
21155
|
i0.ɵɵelementEnd();
|
|
21134
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21135
|
-
i0.ɵɵtemplate(8,
|
|
21156
|
+
i0.ɵɵelementStart(7, "dd", 18);
|
|
21157
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_div_0_dl_12_a_8_Template, 3, 3, "a", 36);
|
|
21136
21158
|
i0.ɵɵelementEnd()()();
|
|
21137
21159
|
} if (rf & 2) {
|
|
21138
21160
|
let tmp_4_0;
|
|
@@ -21144,7 +21166,7 @@ function QueryCheckYourAnswersComponent_div_0_dl_10_Template(rf, ctx) { if (rf &
|
|
|
21144
21166
|
i0.ɵɵadvance(2);
|
|
21145
21167
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21146
21168
|
} }
|
|
21147
|
-
function
|
|
21169
|
+
function QueryCheckYourAnswersComponent_div_0_dl_24_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21148
21170
|
i0.ɵɵelementContainerStart(0);
|
|
21149
21171
|
i0.ɵɵtext(1);
|
|
21150
21172
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21153,24 +21175,24 @@ function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf,
|
|
|
21153
21175
|
i0.ɵɵadvance();
|
|
21154
21176
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21155
21177
|
} }
|
|
21156
|
-
function
|
|
21178
|
+
function QueryCheckYourAnswersComponent_div_0_dl_24_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21157
21179
|
i0.ɵɵtext(0);
|
|
21158
21180
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21159
21181
|
} if (rf & 2) {
|
|
21160
21182
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21161
21183
|
} }
|
|
21162
|
-
function
|
|
21163
|
-
const
|
|
21164
|
-
i0.ɵɵelementStart(0, "div",
|
|
21184
|
+
function QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21185
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
21186
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "dt", 16);
|
|
21165
21187
|
i0.ɵɵtext(2);
|
|
21166
21188
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21167
21189
|
i0.ɵɵelementEnd();
|
|
21168
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21190
|
+
i0.ɵɵelementStart(4, "dd", 17);
|
|
21169
21191
|
i0.ɵɵtext(5);
|
|
21170
21192
|
i0.ɵɵpipe(6, "date");
|
|
21171
21193
|
i0.ɵɵelementEnd();
|
|
21172
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21173
|
-
i0.ɵɵlistener("click", function
|
|
21194
|
+
i0.ɵɵelementStart(7, "dd", 18)(8, "a", 19);
|
|
21195
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21174
21196
|
i0.ɵɵtext(9);
|
|
21175
21197
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21176
21198
|
i0.ɵɵelementEnd()()();
|
|
@@ -21184,53 +21206,53 @@ function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template(rf, ctx) { i
|
|
|
21184
21206
|
i0.ɵɵadvance(4);
|
|
21185
21207
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21186
21208
|
} }
|
|
21187
|
-
function
|
|
21188
|
-
const
|
|
21189
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21209
|
+
function QueryCheckYourAnswersComponent_div_0_dl_24_Template(rf, ctx) { if (rf & 1) {
|
|
21210
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
21211
|
+
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21190
21212
|
i0.ɵɵtext(3);
|
|
21191
21213
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21192
21214
|
i0.ɵɵelementEnd();
|
|
21193
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21194
|
-
i0.ɵɵtemplate(6,
|
|
21215
|
+
i0.ɵɵelementStart(5, "dd", 17);
|
|
21216
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_24_ng_container_6_Template, 3, 5, "ng-container", 10)(7, QueryCheckYourAnswersComponent_div_0_dl_24_ng_template_7_Template, 2, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
21195
21217
|
i0.ɵɵelementEnd();
|
|
21196
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21197
|
-
i0.ɵɵlistener("click", function
|
|
21218
|
+
i0.ɵɵelementStart(9, "dd", 18)(10, "a", 19);
|
|
21219
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_24_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21198
21220
|
i0.ɵɵtext(11);
|
|
21199
21221
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21200
21222
|
i0.ɵɵelementEnd()()();
|
|
21201
|
-
i0.ɵɵtemplate(13,
|
|
21223
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template, 11, 10, "div", 37);
|
|
21202
21224
|
i0.ɵɵelementEnd();
|
|
21203
21225
|
} if (rf & 2) {
|
|
21204
21226
|
let tmp_5_0;
|
|
21205
21227
|
let tmp_8_0;
|
|
21206
|
-
const
|
|
21228
|
+
const isHearingRelatedFalse_r8 = i0.ɵɵreference(8);
|
|
21207
21229
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21208
21230
|
i0.ɵɵadvance(3);
|
|
21209
21231
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21210
21232
|
i0.ɵɵadvance(3);
|
|
21211
|
-
i0.ɵɵproperty("ngIf", ((tmp_5_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_5_0.value) === true)("ngIfElse",
|
|
21233
|
+
i0.ɵɵproperty("ngIf", ((tmp_5_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_5_0.value) === true)("ngIfElse", isHearingRelatedFalse_r8);
|
|
21212
21234
|
i0.ɵɵadvance(5);
|
|
21213
21235
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21214
21236
|
i0.ɵɵadvance(2);
|
|
21215
21237
|
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_8_0.value);
|
|
21216
21238
|
} }
|
|
21217
|
-
function
|
|
21218
|
-
i0.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21239
|
+
function QueryCheckYourAnswersComponent_div_0_dl_25_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21240
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 40);
|
|
21219
21241
|
} if (rf & 2) {
|
|
21220
21242
|
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21221
21243
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21222
21244
|
} }
|
|
21223
|
-
function
|
|
21224
|
-
const
|
|
21225
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21245
|
+
function QueryCheckYourAnswersComponent_div_0_dl_25_Template(rf, ctx) { if (rf & 1) {
|
|
21246
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
21247
|
+
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21226
21248
|
i0.ɵɵtext(3);
|
|
21227
21249
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21228
21250
|
i0.ɵɵelementEnd();
|
|
21229
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21230
|
-
i0.ɵɵtemplate(6,
|
|
21251
|
+
i0.ɵɵelementStart(5, "dd", 38);
|
|
21252
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_25_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 39);
|
|
21231
21253
|
i0.ɵɵelementEnd();
|
|
21232
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21233
|
-
i0.ɵɵlistener("click", function
|
|
21254
|
+
i0.ɵɵelementStart(7, "dd", 18)(8, "a", 19);
|
|
21255
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_25_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21234
21256
|
i0.ɵɵtext(9);
|
|
21235
21257
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21236
21258
|
i0.ɵɵelementEnd()()()();
|
|
@@ -21243,76 +21265,56 @@ function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf &
|
|
|
21243
21265
|
i0.ɵɵadvance(3);
|
|
21244
21266
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21245
21267
|
} }
|
|
21246
|
-
function QueryCheckYourAnswersComponent_div_0_dl_24_Template(rf, ctx) { if (rf & 1) {
|
|
21247
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
|
21248
|
-
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21249
|
-
i0.ɵɵtext(3);
|
|
21250
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21251
|
-
i0.ɵɵelementEnd();
|
|
21252
|
-
i0.ɵɵelementStart(5, "dd", 15);
|
|
21253
|
-
i0.ɵɵtext(6);
|
|
21254
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
21255
|
-
i0.ɵɵelementEnd();
|
|
21256
|
-
i0.ɵɵelementStart(8, "dd", 16)(9, "a", 17);
|
|
21257
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_24_Template_a_click_9_listener() { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21258
|
-
i0.ɵɵtext(10);
|
|
21259
|
-
i0.ɵɵpipe(11, "rpxTranslate");
|
|
21260
|
-
i0.ɵɵelementEnd()()()();
|
|
21261
|
-
} if (rf & 2) {
|
|
21262
|
-
let tmp_3_0;
|
|
21263
|
-
let tmp_4_0;
|
|
21264
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21265
|
-
i0.ɵɵadvance(3);
|
|
21266
|
-
i0.ɵɵtextInterpolate2(" ", i0.ɵɵpipeBind1(4, 4, "Closing the query"), " ", (tmp_3_0 = ctx_r2.formGroup.get("closeQuery")) == null ? null : tmp_3_0.value, " ");
|
|
21267
|
-
i0.ɵɵadvance(3);
|
|
21268
|
-
i0.ɵɵtextInterpolate1(" ", ((tmp_4_0 = ctx_r2.formGroup.get("closeQuery")) == null ? null : tmp_4_0.value) ? "I want to close this query" : i0.ɵɵpipeBind1(7, 6, "No answer"), " ");
|
|
21269
|
-
i0.ɵɵadvance(4);
|
|
21270
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 8, "Change"), " ");
|
|
21271
|
-
} }
|
|
21272
21268
|
function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
21273
21269
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21274
21270
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
21275
|
-
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_0_div_2_Template, 7, 4, "div", 5)(3,
|
|
21276
|
-
i0.ɵɵ
|
|
21277
|
-
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_ng_container_5_Template,
|
|
21271
|
+
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_0_div_2_Template, 7, 4, "div", 5)(3, QueryCheckYourAnswersComponent_div_0_div_3_Template, 6, 2, "div", 6);
|
|
21272
|
+
i0.ɵɵelement(4, "ccd-callback-errors", 7);
|
|
21273
|
+
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_ng_container_5_Template, 4, 3, "ng-container", 8);
|
|
21274
|
+
i0.ɵɵelementStart(6, "h1", 9);
|
|
21275
|
+
i0.ɵɵtemplate(7, QueryCheckYourAnswersComponent_div_0_ng_container_7_Template, 3, 3, "ng-container", 10)(8, QueryCheckYourAnswersComponent_div_0_ng_template_8_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
21278
21276
|
i0.ɵɵelementEnd();
|
|
21279
|
-
i0.ɵɵelementStart(
|
|
21280
|
-
i0.ɵɵelement(
|
|
21277
|
+
i0.ɵɵelementStart(10, "div", 11);
|
|
21278
|
+
i0.ɵɵelement(11, "ccd-query-case-details-header", 12);
|
|
21281
21279
|
i0.ɵɵelementEnd();
|
|
21282
|
-
i0.ɵɵtemplate(
|
|
21283
|
-
i0.ɵɵelementStart(
|
|
21284
|
-
i0.ɵɵtext(
|
|
21285
|
-
i0.ɵɵpipe(
|
|
21280
|
+
i0.ɵɵtemplate(12, QueryCheckYourAnswersComponent_div_0_dl_12_Template, 9, 5, "dl", 13);
|
|
21281
|
+
i0.ɵɵelementStart(13, "dl", 14)(14, "div", 15)(15, "dt", 16);
|
|
21282
|
+
i0.ɵɵtext(16);
|
|
21283
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
21286
21284
|
i0.ɵɵelementEnd();
|
|
21287
|
-
i0.ɵɵelementStart(
|
|
21288
|
-
i0.ɵɵtext(
|
|
21285
|
+
i0.ɵɵelementStart(18, "dd", 17);
|
|
21286
|
+
i0.ɵɵtext(19);
|
|
21289
21287
|
i0.ɵɵelementEnd();
|
|
21290
|
-
i0.ɵɵelementStart(
|
|
21291
|
-
i0.ɵɵlistener("click", function
|
|
21292
|
-
i0.ɵɵtext(
|
|
21293
|
-
i0.ɵɵpipe(
|
|
21288
|
+
i0.ɵɵelementStart(20, "dd", 18)(21, "a", 19);
|
|
21289
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21290
|
+
i0.ɵɵtext(22);
|
|
21291
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
21294
21292
|
i0.ɵɵelementEnd()()()();
|
|
21295
|
-
i0.ɵɵtemplate(
|
|
21296
|
-
i0.ɵɵelement(
|
|
21297
|
-
i0.ɵɵelementStart(
|
|
21298
|
-
i0.ɵɵlistener("click", function
|
|
21299
|
-
i0.ɵɵtext(
|
|
21300
|
-
i0.ɵɵpipe(
|
|
21293
|
+
i0.ɵɵtemplate(24, QueryCheckYourAnswersComponent_div_0_dl_24_Template, 14, 9, "dl", 13)(25, QueryCheckYourAnswersComponent_div_0_dl_25_Template, 11, 7, "dl", 13);
|
|
21294
|
+
i0.ɵɵelement(26, "br");
|
|
21295
|
+
i0.ɵɵelementStart(27, "div")(28, "button", 20);
|
|
21296
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21297
|
+
i0.ɵɵtext(29);
|
|
21298
|
+
i0.ɵɵpipe(30, "rpxTranslate");
|
|
21301
21299
|
i0.ɵɵelementEnd();
|
|
21302
|
-
i0.ɵɵelementStart(
|
|
21303
|
-
i0.ɵɵlistener("click", function
|
|
21304
|
-
i0.ɵɵtext(
|
|
21305
|
-
i0.ɵɵpipe(
|
|
21300
|
+
i0.ɵɵelementStart(31, "button", 21);
|
|
21301
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_31_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.submit()); });
|
|
21302
|
+
i0.ɵɵtext(32);
|
|
21303
|
+
i0.ɵɵpipe(33, "rpxTranslate");
|
|
21306
21304
|
i0.ɵɵelementEnd()()();
|
|
21307
|
-
i0.ɵɵelement(
|
|
21305
|
+
i0.ɵɵelement(34, "ccd-query-event-completion", 22);
|
|
21308
21306
|
i0.ɵɵelementEnd();
|
|
21309
21307
|
} if (rf & 2) {
|
|
21310
|
-
let
|
|
21311
|
-
const defaultCheckYourAnswersTitle_r10 = i0.ɵɵreference(
|
|
21308
|
+
let tmp_11_0;
|
|
21309
|
+
const defaultCheckYourAnswersTitle_r10 = i0.ɵɵreference(9);
|
|
21312
21310
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
21313
21311
|
i0.ɵɵadvance(2);
|
|
21314
21312
|
i0.ɵɵproperty("ngIf", ctx_r2.errorMessages.length > 0);
|
|
21315
21313
|
i0.ɵɵadvance();
|
|
21314
|
+
i0.ɵɵproperty("ngIf", ctx_r2.error && (ctx_r2.error.details || ctx_r2.error.message));
|
|
21315
|
+
i0.ɵɵadvance();
|
|
21316
|
+
i0.ɵɵproperty("callbackErrorsSubject", ctx_r2.callbackErrorsSubject);
|
|
21317
|
+
i0.ɵɵadvance();
|
|
21316
21318
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21317
21319
|
i0.ɵɵadvance(2);
|
|
21318
21320
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r10);
|
|
@@ -21321,21 +21323,19 @@ function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21321
21323
|
i0.ɵɵadvance();
|
|
21322
21324
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext !== ctx_r2.queryCreateContextEnum.FOLLOWUP);
|
|
21323
21325
|
i0.ɵɵadvance(4);
|
|
21324
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(
|
|
21326
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(17, 16, "Query detail"), " ");
|
|
21325
21327
|
i0.ɵɵadvance(3);
|
|
21326
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
21328
|
+
i0.ɵɵtextInterpolate1(" ", (tmp_11_0 = ctx_r2.formGroup.get("body")) == null ? null : tmp_11_0.value, " ");
|
|
21327
21329
|
i0.ɵɵadvance(3);
|
|
21328
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
21330
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 18, "Change"), " ");
|
|
21329
21331
|
i0.ɵɵadvance(2);
|
|
21330
21332
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21331
21333
|
i0.ɵɵadvance();
|
|
21332
21334
|
i0.ɵɵproperty("ngIf", ctx_r2.formGroup.get("attachments").value.length > 0);
|
|
21333
|
-
i0.ɵɵadvance();
|
|
21334
|
-
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND);
|
|
21335
21335
|
i0.ɵɵadvance(4);
|
|
21336
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
21336
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 20, "Previous"), " ");
|
|
21337
21337
|
i0.ɵɵadvance(3);
|
|
21338
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
21338
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 22, "Submit"), " ");
|
|
21339
21339
|
i0.ɵɵadvance(2);
|
|
21340
21340
|
i0.ɵɵproperty("eventCompletionParams", ctx_r2.eventCompletionParams);
|
|
21341
21341
|
} }
|
|
@@ -21377,6 +21377,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21377
21377
|
filteredTasks = [];
|
|
21378
21378
|
readyToSubmit;
|
|
21379
21379
|
isSubmitting = false;
|
|
21380
|
+
callbackErrorsSubject = new Subject();
|
|
21381
|
+
error;
|
|
21380
21382
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21381
21383
|
this.route = route;
|
|
21382
21384
|
this.router = router;
|
|
@@ -21511,7 +21513,19 @@ class QueryCheckYourAnswersComponent {
|
|
|
21511
21513
|
handleError(error) {
|
|
21512
21514
|
console.error('Error in API calls:', error);
|
|
21513
21515
|
this.isSubmitting = false;
|
|
21514
|
-
this.
|
|
21516
|
+
if (this.isServiceErrorFound(error)) {
|
|
21517
|
+
this.error = null;
|
|
21518
|
+
this.callbackErrorsSubject.next(error);
|
|
21519
|
+
}
|
|
21520
|
+
else {
|
|
21521
|
+
if (error && error.status !== 401 && error.status !== 403) {
|
|
21522
|
+
this.error = error;
|
|
21523
|
+
}
|
|
21524
|
+
else {
|
|
21525
|
+
this.router.navigate(['/', 'service-down']);
|
|
21526
|
+
}
|
|
21527
|
+
}
|
|
21528
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21515
21529
|
}
|
|
21516
21530
|
generateCaseQueriesCollectionData() {
|
|
21517
21531
|
const currentUserDetails = JSON.parse(this.sessionStorageService.getItem(USER_DETAILS));
|
|
@@ -21673,16 +21687,19 @@ class QueryCheckYourAnswersComponent {
|
|
|
21673
21687
|
this.attachments = documents.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
21674
21688
|
}
|
|
21675
21689
|
}
|
|
21690
|
+
isServiceErrorFound(error) {
|
|
21691
|
+
return !!(error?.callbackErrors?.length);
|
|
21692
|
+
}
|
|
21676
21693
|
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
21677
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["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"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0)", 1, "validation-error", 3, "id"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21678
|
-
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template,
|
|
21694
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["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"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0)", 1, "validation-error", 3, "id"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21695
|
+
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 35, 24, "div", 2);
|
|
21679
21696
|
} if (rf & 2) {
|
|
21680
21697
|
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
21681
21698
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21682
21699
|
}
|
|
21683
21700
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21684
21701
|
type: Component,
|
|
21685
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <
|
|
21702
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div *ngIf=\"error && (error.details || error.message)\" class=\"error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n </div>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
21686
21703
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21687
21704
|
type: Input
|
|
21688
21705
|
}], queryItem: [{
|
|
@@ -21702,16 +21719,14 @@ class QueryCheckYourAnswersComponent {
|
|
|
21702
21719
|
|
|
21703
21720
|
function QueryDetailsComponent_ng_container_0_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
21704
21721
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21705
|
-
i0.ɵɵelementStart(0, "p");
|
|
21706
|
-
i0.ɵɵ
|
|
21707
|
-
i0.ɵɵ
|
|
21708
|
-
i0.ɵɵ
|
|
21709
|
-
i0.ɵɵtext(3);
|
|
21710
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21722
|
+
i0.ɵɵelementStart(0, "p")(1, "a", 10);
|
|
21723
|
+
i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_p_1_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onBack()); });
|
|
21724
|
+
i0.ɵɵtext(2);
|
|
21725
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21711
21726
|
i0.ɵɵelementEnd()();
|
|
21712
21727
|
} if (rf & 2) {
|
|
21713
|
-
i0.ɵɵadvance(
|
|
21714
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
21728
|
+
i0.ɵɵadvance(2);
|
|
21729
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Back to query list"));
|
|
21715
21730
|
} }
|
|
21716
21731
|
function QueryDetailsComponent_ng_container_0_tr_42_Template(rf, ctx) { if (rf & 1) {
|
|
21717
21732
|
i0.ɵɵelementStart(0, "tr", 11)(1, "th", 6);
|
|
@@ -21926,7 +21941,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_44_Template(rf, ctx)
|
|
|
21926
21941
|
} }
|
|
21927
21942
|
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
21928
21943
|
i0.ɵɵelementContainerStart(0);
|
|
21929
|
-
i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_p_1_Template,
|
|
21944
|
+
i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_p_1_Template, 4, 3, "p", 1);
|
|
21930
21945
|
i0.ɵɵelementStart(2, "div")(3, "table", 2);
|
|
21931
21946
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21932
21947
|
i0.ɵɵelementStart(5, "caption", 3)(6, "div");
|
|
@@ -22049,10 +22064,6 @@ class QueryDetailsComponent {
|
|
|
22049
22064
|
}
|
|
22050
22065
|
hasRespondedToQuery() {
|
|
22051
22066
|
const isAwaiting = this.queryResponseStatus === undefined || this.queryResponseStatus === QueryItemResponseStatus.AWAITING;
|
|
22052
|
-
if (this.queryResponseStatus === QueryItemResponseStatus.CLOSED) {
|
|
22053
|
-
this.hasResponded.emit(true);
|
|
22054
|
-
return true;
|
|
22055
|
-
}
|
|
22056
22067
|
if (this.isInternalUser()) {
|
|
22057
22068
|
if (isAwaiting) {
|
|
22058
22069
|
this.hasResponded.emit(false);
|
|
@@ -22077,7 +22088,7 @@ class QueryDetailsComponent {
|
|
|
22077
22088
|
}
|
|
22078
22089
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
22079
22090
|
type: Component,
|
|
22080
|
-
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <
|
|
22091
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"i % 2 === 0; else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".query-details-table .govuk-table__header{width:330px}\n"] }]
|
|
22081
22092
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
22082
22093
|
type: Input
|
|
22083
22094
|
}], caseId: [{
|
|
@@ -22758,29 +22769,14 @@ function QueryWriteRespondToQueryComponent_div_12_div_1_Template(rf, ctx) { if (
|
|
|
22758
22769
|
i0.ɵɵproperty("formControlName", "body");
|
|
22759
22770
|
} }
|
|
22760
22771
|
function QueryWriteRespondToQueryComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
22761
|
-
i0.ɵɵelementStart(0, "div",
|
|
22762
|
-
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_div_12_div_1_Template, 13, 13, "div",
|
|
22772
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
22773
|
+
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_div_12_div_1_Template, 13, 13, "div", 8);
|
|
22763
22774
|
i0.ɵɵelementEnd();
|
|
22764
22775
|
} if (rf & 2) {
|
|
22765
22776
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
22766
22777
|
i0.ɵɵadvance();
|
|
22767
22778
|
i0.ɵɵproperty("ngIf", !ctx_r0.hasRespondedToQuery);
|
|
22768
22779
|
} }
|
|
22769
|
-
function QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template(rf, ctx) { if (rf & 1) {
|
|
22770
|
-
i0.ɵɵelement(0, "ccd-close-query", 10);
|
|
22771
|
-
} if (rf & 2) {
|
|
22772
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22773
|
-
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
22774
|
-
} }
|
|
22775
|
-
function QueryWriteRespondToQueryComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
22776
|
-
i0.ɵɵelementContainerStart(0);
|
|
22777
|
-
i0.ɵɵtemplate(1, QueryWriteRespondToQueryComponent_ng_container_13_ccd_close_query_1_Template, 1, 1, "ccd-close-query", 18);
|
|
22778
|
-
i0.ɵɵelementContainerEnd();
|
|
22779
|
-
} if (rf & 2) {
|
|
22780
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
22781
|
-
i0.ɵɵadvance();
|
|
22782
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.hasRespondedToQuery);
|
|
22783
|
-
} }
|
|
22784
22780
|
class QueryWriteRespondToQueryComponent {
|
|
22785
22781
|
caseNotifier;
|
|
22786
22782
|
route;
|
|
@@ -22838,7 +22834,8 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22838
22834
|
console.warn('No matching message found for ID:', messageId);
|
|
22839
22835
|
return;
|
|
22840
22836
|
}
|
|
22841
|
-
const
|
|
22837
|
+
const caseQueriesCollections = this.caseQueriesCollections.find((collection) => collection?.caseMessages.find((c) => c.value.id === messageId));
|
|
22838
|
+
const queryWithChildren = new QueryListData(caseQueriesCollections);
|
|
22842
22839
|
const targetId = this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND
|
|
22843
22840
|
? (matchingMessage?.parentId || matchingMessage?.id)
|
|
22844
22841
|
: matchingMessage?.id;
|
|
@@ -22850,7 +22847,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22850
22847
|
this.hasRespondedToQueryTask.emit(value);
|
|
22851
22848
|
}
|
|
22852
22849
|
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22853
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm" }, outputs: { hasRespondedToQueryTask: "hasRespondedToQueryTask" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
22850
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm" }, outputs: { hasRespondedToQueryTask: "hasRespondedToQueryTask" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 10, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], [3, "hasResponded", "query", "queryResponseStatus"], ["class", "query-respond", 4, "ngIf"], [1, "query-respond"], [4, "ngIf"], [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) { if (rf & 1) {
|
|
22854
22851
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 0)(2, "div", 1);
|
|
22855
22852
|
i0.ɵɵtext(3);
|
|
22856
22853
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -22865,25 +22862,23 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22865
22862
|
i0.ɵɵelementStart(10, "div")(11, "ccd-query-details", 5);
|
|
22866
22863
|
i0.ɵɵlistener("hasResponded", function QueryWriteRespondToQueryComponent_Template_ccd_query_details_hasResponded_11_listener($event) { return ctx.hasResponded($event); });
|
|
22867
22864
|
i0.ɵɵelementEnd()()();
|
|
22868
|
-
i0.ɵɵtemplate(12, QueryWriteRespondToQueryComponent_div_12_Template, 2, 1, "div", 6)
|
|
22865
|
+
i0.ɵɵtemplate(12, QueryWriteRespondToQueryComponent_div_12_Template, 2, 1, "div", 6);
|
|
22869
22866
|
} if (rf & 2) {
|
|
22870
22867
|
i0.ɵɵadvance(3);
|
|
22871
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
22868
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, "Respond to a query"));
|
|
22872
22869
|
i0.ɵɵadvance(3);
|
|
22873
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7,
|
|
22870
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 8, "Query details"));
|
|
22874
22871
|
i0.ɵɵadvance(3);
|
|
22875
22872
|
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
22876
22873
|
i0.ɵɵadvance(2);
|
|
22877
22874
|
i0.ɵɵproperty("query", ctx.queryListData)("queryResponseStatus", ctx.queryResponseStatus);
|
|
22878
22875
|
i0.ɵɵadvance();
|
|
22879
22876
|
i0.ɵɵproperty("ngIf", ctx.showForm);
|
|
22880
|
-
i0.ɵɵadvance();
|
|
22881
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND);
|
|
22882
22877
|
} }, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
22883
22878
|
}
|
|
22884
22879
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
22885
22880
|
type: Component,
|
|
22886
|
-
args: [{ selector: 'ccd-query-write-respond-to-query', template: "<div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Respond to a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-0\">{{ 'Query details' | rpxTranslate }}</h1>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <div>\n <ccd-query-details [query]=\"queryListData\"\n [queryResponseStatus]=\"queryResponseStatus\"\n (hasResponded)=\"hasResponded($event)\"></ccd-query-details>\n </div>\n</div>\n<div class=\"query-respond\" *ngIf=\"showForm\">\n <div *ngIf=\"!hasRespondedToQuery\">\n <h1 class=\"govuk-heading-m\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Respond to a query' : 'Ask a follow-up question' | rpxTranslate }}\n </h1>\n\n <div [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group body-textarea\"\n [class.govuk-form-group--error]=\"submitted && formGroup.get('body')?.hasError('required')\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query Body' | rpxTranslate }}\n </label>\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body')?.hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ queryCreateContext === queryCreateContextEnum.RESPOND ? raiseQueryErrorMessages.RESPOND_QUERY_BODY : raiseQueryErrorMessages.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\" class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body')?.hasError('required')\" id=\"body\"\n name=\"body\" rows=\"5\" aria-describedby=\"body-hint body-error\">\n </textarea>\n </div>\n </div>\n </div>\n</div>\n
|
|
22881
|
+
args: [{ selector: 'ccd-query-write-respond-to-query', template: "<div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Respond to a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-0\">{{ 'Query details' | rpxTranslate }}</h1>\n </div>\n\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <div>\n <ccd-query-details [query]=\"queryListData\"\n [queryResponseStatus]=\"queryResponseStatus\"\n (hasResponded)=\"hasResponded($event)\"></ccd-query-details>\n </div>\n</div>\n<div class=\"query-respond\" *ngIf=\"showForm\">\n <div *ngIf=\"!hasRespondedToQuery\">\n <h1 class=\"govuk-heading-m\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Respond to a query' : 'Ask a follow-up question' | rpxTranslate }}\n </h1>\n\n <div [formGroup]=\"formGroup\">\n <div class=\"govuk-form-group body-textarea\"\n [class.govuk-form-group--error]=\"submitted && formGroup.get('body')?.hasError('required')\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query Body' | rpxTranslate }}\n </label>\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body')?.hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ queryCreateContext === queryCreateContextEnum.RESPOND ? raiseQueryErrorMessages.RESPOND_QUERY_BODY : raiseQueryErrorMessages.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\" class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body')?.hasError('required')\" id=\"body\"\n name=\"body\" rows=\"5\" aria-describedby=\"body-hint body-error\">\n </textarea>\n </div>\n </div>\n </div>\n</div>\n", styles: [".query-respond{width:100%;max-width:720px}\n"] }]
|
|
22887
22882
|
}], () => [{ type: CaseNotifier }, { type: i1$1.ActivatedRoute }], { queryItem: [{
|
|
22888
22883
|
type: Input
|
|
22889
22884
|
}], formGroup: [{
|
|
@@ -23028,50 +23023,6 @@ class QueryConfirmationComponent {
|
|
|
23028
23023
|
}] }); })();
|
|
23029
23024
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryConfirmationComponent, { className: "QueryConfirmationComponent", filePath: "lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.ts", lineNumber: 9 }); })();
|
|
23030
23025
|
|
|
23031
|
-
class CloseQueryComponent {
|
|
23032
|
-
formGroup;
|
|
23033
|
-
static ɵfac = function CloseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CloseQueryComponent)(); };
|
|
23034
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CloseQueryComponent, selectors: [["ccd-close-query"]], inputs: { formGroup: "formGroup" }, decls: 19, vars: 11, consts: [[3, "formGroup"], [1, "govuk-heading-m"], [1, "govuk-checkboxes__item"], ["formControlName", "closeQuery", "id", "closeQuery", "name", "closeQuery", "type", "checkbox", 1, "govuk-checkboxes__input"], ["for", "closeQuery", 1, "govuk-label", "govuk-checkboxes__label"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "qm-service-message"]], template: function CloseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23035
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "h2", 1);
|
|
23036
|
-
i0.ɵɵtext(2);
|
|
23037
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
23038
|
-
i0.ɵɵelementEnd();
|
|
23039
|
-
i0.ɵɵelementStart(4, "div", 2);
|
|
23040
|
-
i0.ɵɵelement(5, "input", 3);
|
|
23041
|
-
i0.ɵɵelementStart(6, "label", 4);
|
|
23042
|
-
i0.ɵɵtext(7);
|
|
23043
|
-
i0.ɵɵpipe(8, "rpxTranslate");
|
|
23044
|
-
i0.ɵɵelementEnd()();
|
|
23045
|
-
i0.ɵɵelementStart(9, "div", 5)(10, "span", 6);
|
|
23046
|
-
i0.ɵɵtext(11, "!");
|
|
23047
|
-
i0.ɵɵelementEnd();
|
|
23048
|
-
i0.ɵɵelementStart(12, "strong", 7)(13, "span", 8);
|
|
23049
|
-
i0.ɵɵtext(14, "Warning");
|
|
23050
|
-
i0.ɵɵelementEnd();
|
|
23051
|
-
i0.ɵɵelementStart(15, "p", 9)(16, "strong");
|
|
23052
|
-
i0.ɵɵtext(17);
|
|
23053
|
-
i0.ɵɵpipe(18, "rpxTranslate");
|
|
23054
|
-
i0.ɵɵelementEnd()()()()();
|
|
23055
|
-
} if (rf & 2) {
|
|
23056
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23057
|
-
i0.ɵɵadvance(2);
|
|
23058
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 5, "Closing the query"));
|
|
23059
|
-
i0.ɵɵadvance(4);
|
|
23060
|
-
i0.ɵɵattribute("aria-labelledby", "closeQuery");
|
|
23061
|
-
i0.ɵɵadvance();
|
|
23062
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 7, "I want to close this query"), " ");
|
|
23063
|
-
i0.ɵɵadvance(10);
|
|
23064
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 9, "Closing the query means the parties can no longer send message in this thread."), " ");
|
|
23065
|
-
} }, dependencies: [i4.CheckboxControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
23066
|
-
}
|
|
23067
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CloseQueryComponent, [{
|
|
23068
|
-
type: Component,
|
|
23069
|
-
args: [{ selector: 'ccd-close-query', template: "<div [formGroup]=\"formGroup\">\n <h2 class=\"govuk-heading-m\">{{ 'Closing the query' | rpxTranslate }}</h2>\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\"\n formControlName=\"closeQuery\" id=\"closeQuery\" name=\"closeQuery\" type=\"checkbox\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"closeQuery\" [attr.aria-labelledby]=\"'closeQuery'\">\n {{ 'I want to close this query' | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-warning-text\">\n <span aria-hidden=\"true\" class=\"govuk-warning-text__icon\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <p class=\"qm-service-message\">\n <strong>\n {{ 'Closing the query means the parties can no longer send message in this thread.' | rpxTranslate }}\n </strong>\n </p>\n </strong>\n </div>\n</div>" }]
|
|
23070
|
-
}], null, { formGroup: [{
|
|
23071
|
-
type: Input
|
|
23072
|
-
}] }); })();
|
|
23073
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 8 }); })();
|
|
23074
|
-
|
|
23075
23026
|
const _c0$B = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23076
23027
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23077
23028
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -23140,36 +23091,17 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template
|
|
|
23140
23091
|
i0.ɵɵadvance();
|
|
23141
23092
|
i0.ɵɵproperty("ngIf", (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) > 0 && (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) % 2 === 1)("ngIfElse", queryIsInReview_r5);
|
|
23142
23093
|
} }
|
|
23143
|
-
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
23144
|
-
i0.ɵɵelementContainerStart(0);
|
|
23145
|
-
i0.ɵɵelementStart(1, "div", 11)(2, "span", 12);
|
|
23146
|
-
i0.ɵɵtext(3, "!");
|
|
23147
|
-
i0.ɵɵelementEnd();
|
|
23148
|
-
i0.ɵɵelementStart(4, "strong", 13)(5, "span", 14);
|
|
23149
|
-
i0.ɵɵtext(6, "Warning");
|
|
23150
|
-
i0.ɵɵelementEnd();
|
|
23151
|
-
i0.ɵɵelementStart(7, "p", 15);
|
|
23152
|
-
i0.ɵɵtext(8);
|
|
23153
|
-
i0.ɵɵpipe(9, "rpxTranslate");
|
|
23154
|
-
i0.ɵɵelementEnd()()();
|
|
23155
|
-
i0.ɵɵelementContainerEnd();
|
|
23156
|
-
} if (rf & 2) {
|
|
23157
|
-
i0.ɵɵadvance(8);
|
|
23158
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 1, "This query has been closed by court staff."));
|
|
23159
|
-
} }
|
|
23160
23094
|
function ReadQueryManagementFieldComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
23161
23095
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
23162
23096
|
i0.ɵɵelementStart(0, "ccd-query-details", 7);
|
|
23163
23097
|
i0.ɵɵlistener("backClicked", function ReadQueryManagementFieldComponent_ng_template_1_Template_ccd_query_details_backClicked_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showQueryList = true); });
|
|
23164
23098
|
i0.ɵɵelementEnd();
|
|
23165
|
-
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template, 4, 2, "ng-container", 8)
|
|
23099
|
+
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template, 4, 2, "ng-container", 8);
|
|
23166
23100
|
} if (rf & 2) {
|
|
23167
23101
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
23168
23102
|
i0.ɵɵproperty("query", ctx_r1.query)("caseId", ctx_r1.caseId);
|
|
23169
23103
|
i0.ɵɵadvance();
|
|
23170
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isInternalUser()
|
|
23171
|
-
i0.ɵɵadvance();
|
|
23172
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isInternalUser() && ctx_r1.isQueryClosed);
|
|
23104
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isInternalUser());
|
|
23173
23105
|
} }
|
|
23174
23106
|
class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
23175
23107
|
route;
|
|
@@ -23179,7 +23111,6 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23179
23111
|
query;
|
|
23180
23112
|
showQueryList = true;
|
|
23181
23113
|
caseId;
|
|
23182
|
-
isQueryClosed = false;
|
|
23183
23114
|
constructor(route, sessionStorageService, caseNotifier) {
|
|
23184
23115
|
super();
|
|
23185
23116
|
this.route = route;
|
|
@@ -23216,7 +23147,6 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23216
23147
|
setQuery(query) {
|
|
23217
23148
|
this.showQueryList = false;
|
|
23218
23149
|
this.query = query;
|
|
23219
|
-
this.isQueryClosed = this.query?.children?.some((queryItem) => queryItem?.isClosed === 'Yes');
|
|
23220
23150
|
}
|
|
23221
23151
|
backToQueryListPage() {
|
|
23222
23152
|
this.showQueryList = true;
|
|
@@ -23226,8 +23156,8 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23226
23156
|
return isInternalUser(this.sessionStorageService);
|
|
23227
23157
|
}
|
|
23228
23158
|
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
23229
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]
|
|
23230
|
-
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 2)(1, ReadQueryManagementFieldComponent_ng_template_1_Template,
|
|
23159
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23160
|
+
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 2)(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
23231
23161
|
} if (rf & 2) {
|
|
23232
23162
|
const singleQueryDetails_r6 = i0.ɵɵreference(2);
|
|
23233
23163
|
i0.ɵɵproperty("ngIf", ctx.showQueryList)("ngIfElse", singleQueryDetails_r6);
|
|
@@ -23235,7 +23165,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23235
23165
|
}
|
|
23236
23166
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23237
23167
|
type: Component,
|
|
23238
|
-
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()
|
|
23168
|
+
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n</ng-template>\n" }]
|
|
23239
23169
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23240
23170
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23241
23171
|
|
|
@@ -30331,6 +30261,32 @@ class FileUploadProgressGuard {
|
|
|
30331
30261
|
type: Injectable
|
|
30332
30262
|
}], () => [{ type: FileUploadStateService }, { type: WindowService }], null); })();
|
|
30333
30263
|
|
|
30264
|
+
class ErrorsModule {
|
|
30265
|
+
static ɵfac = function ErrorsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorsModule)(); };
|
|
30266
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ErrorsModule });
|
|
30267
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
30268
|
+
RouterModule,
|
|
30269
|
+
RpxTranslationModule.forChild()] });
|
|
30270
|
+
}
|
|
30271
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorsModule, [{
|
|
30272
|
+
type: NgModule,
|
|
30273
|
+
args: [{
|
|
30274
|
+
imports: [
|
|
30275
|
+
CommonModule,
|
|
30276
|
+
RouterModule,
|
|
30277
|
+
RpxTranslationModule.forChild()
|
|
30278
|
+
],
|
|
30279
|
+
declarations: [
|
|
30280
|
+
CallbackErrorsComponent
|
|
30281
|
+
],
|
|
30282
|
+
exports: [
|
|
30283
|
+
CallbackErrorsComponent,
|
|
30284
|
+
]
|
|
30285
|
+
}]
|
|
30286
|
+
}], null, null); })();
|
|
30287
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ErrorsModule, { declarations: [CallbackErrorsComponent], imports: [CommonModule,
|
|
30288
|
+
RouterModule, i1.RpxTranslationModule], exports: [CallbackErrorsComponent] }); })();
|
|
30289
|
+
|
|
30334
30290
|
const PALETTE_COMPONENTS = [
|
|
30335
30291
|
UnsupportedFieldComponent,
|
|
30336
30292
|
DatetimePickerComponent,
|
|
@@ -30453,7 +30409,6 @@ const PALETTE_COMPONENTS = [
|
|
|
30453
30409
|
QueryAttachmentsReadComponent,
|
|
30454
30410
|
QueryEventCompletionComponent,
|
|
30455
30411
|
QueryConfirmationComponent,
|
|
30456
|
-
CloseQueryComponent,
|
|
30457
30412
|
// Case event completion
|
|
30458
30413
|
CaseEventCompletionComponent,
|
|
30459
30414
|
CaseEventCompletionTaskCancelledComponent,
|
|
@@ -30509,7 +30464,8 @@ class PaletteModule {
|
|
|
30509
30464
|
MatLegacyDialogModule,
|
|
30510
30465
|
MediaViewerModule,
|
|
30511
30466
|
LoadingModule,
|
|
30512
|
-
MarkdownComponentModule,
|
|
30467
|
+
MarkdownComponentModule,
|
|
30468
|
+
ErrorsModule, NgxMatDatetimePickerModule,
|
|
30513
30469
|
NgxMatNativeDateModule,
|
|
30514
30470
|
NgxMatTimepickerModule,
|
|
30515
30471
|
TabsModule,
|
|
@@ -30553,7 +30509,8 @@ class PaletteModule {
|
|
|
30553
30509
|
MatLegacyDialogModule,
|
|
30554
30510
|
MediaViewerModule,
|
|
30555
30511
|
LoadingModule,
|
|
30556
|
-
MarkdownComponentModule
|
|
30512
|
+
MarkdownComponentModule,
|
|
30513
|
+
ErrorsModule
|
|
30557
30514
|
],
|
|
30558
30515
|
declarations: [
|
|
30559
30516
|
FixedListPipe,
|
|
@@ -30725,7 +30682,6 @@ class PaletteModule {
|
|
|
30725
30682
|
QueryAttachmentsReadComponent,
|
|
30726
30683
|
QueryEventCompletionComponent,
|
|
30727
30684
|
QueryConfirmationComponent,
|
|
30728
|
-
CloseQueryComponent,
|
|
30729
30685
|
// Case event completion
|
|
30730
30686
|
CaseEventCompletionComponent,
|
|
30731
30687
|
CaseEventCompletionTaskCancelledComponent,
|
|
@@ -30756,7 +30712,8 @@ class PaletteModule {
|
|
|
30756
30712
|
MatLegacyDialogModule,
|
|
30757
30713
|
MediaViewerModule,
|
|
30758
30714
|
LoadingModule,
|
|
30759
|
-
MarkdownComponentModule
|
|
30715
|
+
MarkdownComponentModule,
|
|
30716
|
+
ErrorsModule], exports: [NgxMatDatetimePickerModule,
|
|
30760
30717
|
NgxMatNativeDateModule,
|
|
30761
30718
|
NgxMatTimepickerModule,
|
|
30762
30719
|
TabsModule,
|
|
@@ -30883,7 +30840,6 @@ class PaletteModule {
|
|
|
30883
30840
|
QueryAttachmentsReadComponent,
|
|
30884
30841
|
QueryEventCompletionComponent,
|
|
30885
30842
|
QueryConfirmationComponent,
|
|
30886
|
-
CloseQueryComponent,
|
|
30887
30843
|
// Case event completion
|
|
30888
30844
|
CaseEventCompletionComponent,
|
|
30889
30845
|
CaseEventCompletionTaskCancelledComponent,
|
|
@@ -30961,11 +30917,10 @@ ReadQueryManagementFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i1
|
|
|
30961
30917
|
QueryListComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30962
30918
|
i0.ɵɵsetComponentScope(QueryDetailsComponent, function () { return [i5.NgForOf, i5.NgIf, QueryAttachmentsReadComponent]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe]; });
|
|
30963
30919
|
i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, function () { return [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, QueryDetailsComponent,
|
|
30964
|
-
QueryCaseDetailsHeaderComponent,
|
|
30965
|
-
CloseQueryComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30920
|
+
QueryCaseDetailsHeaderComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30966
30921
|
i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, function () { return [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.FormGroupDirective, i4.FormControlName, MarkdownComponent, QueryCaseDetailsHeaderComponent,
|
|
30967
30922
|
QueryWriteDateInputComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
30968
|
-
i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, function () { return [i5.NgForOf, i5.NgIf, QueryCaseDetailsHeaderComponent,
|
|
30923
|
+
i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, function () { return [i5.NgForOf, i5.NgIf, CallbackErrorsComponent, QueryCaseDetailsHeaderComponent,
|
|
30969
30924
|
QueryAttachmentsReadComponent,
|
|
30970
30925
|
QueryEventCompletionComponent]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe]; });
|
|
30971
30926
|
i0.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, function () { return [i4.NgControlStatusGroup, i4.FormGroupDirective, WriteCollectionFieldComponent]; }, []);
|
|
@@ -31711,32 +31666,6 @@ class CaseProgressComponent {
|
|
|
31711
31666
|
}] }); })();
|
|
31712
31667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseProgressComponent, { className: "CaseProgressComponent", filePath: "lib/shared/components/case-editor/case-progress/case-progress.component.ts", lineNumber: 17 }); })();
|
|
31713
31668
|
|
|
31714
|
-
class ErrorsModule {
|
|
31715
|
-
static ɵfac = function ErrorsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorsModule)(); };
|
|
31716
|
-
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ErrorsModule });
|
|
31717
|
-
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
31718
|
-
RouterModule,
|
|
31719
|
-
RpxTranslationModule.forChild()] });
|
|
31720
|
-
}
|
|
31721
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorsModule, [{
|
|
31722
|
-
type: NgModule,
|
|
31723
|
-
args: [{
|
|
31724
|
-
imports: [
|
|
31725
|
-
CommonModule,
|
|
31726
|
-
RouterModule,
|
|
31727
|
-
RpxTranslationModule.forChild()
|
|
31728
|
-
],
|
|
31729
|
-
declarations: [
|
|
31730
|
-
CallbackErrorsComponent
|
|
31731
|
-
],
|
|
31732
|
-
exports: [
|
|
31733
|
-
CallbackErrorsComponent,
|
|
31734
|
-
]
|
|
31735
|
-
}]
|
|
31736
|
-
}], null, null); })();
|
|
31737
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ErrorsModule, { declarations: [CallbackErrorsComponent], imports: [CommonModule,
|
|
31738
|
-
RouterModule, i1.RpxTranslationModule], exports: [CallbackErrorsComponent] }); })();
|
|
31739
|
-
|
|
31740
31669
|
class LoadingSpinnerComponent {
|
|
31741
31670
|
loadingText = 'Loading';
|
|
31742
31671
|
static ɵfac = function LoadingSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingSpinnerComponent)(); };
|
|
@@ -40007,5 +39936,5 @@ class TestRouteSnapshotBuilder {
|
|
|
40007
39936
|
* Generated bundle index. Do not edit.
|
|
40008
39937
|
*/
|
|
40009
39938
|
|
|
40010
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent,
|
|
39939
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
40011
39940
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|