@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-continue → 6.16.0-query-details-navigation
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +384 -286
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +4 -2
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +20 -2
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +91 -57
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +17 -20
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +7 -14
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +82 -23
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +7 -6
- package/esm2015/lib/shared/components/palette/query-management/utils/query-management.utils.js +1 -11
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +290 -196
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +4 -2
- 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-table/query-details-table.component.d.ts +5 -1
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +4 -5
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +11 -3
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +3 -2
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts +0 -5
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
var _c0$
|
|
147
|
+
var _c0$12 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
148
148
|
var _c1$s = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
149
149
|
var FooterComponent = /** @class */ (function () {
|
|
150
150
|
function FooterComponent() {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
155
155
|
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$s, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
|
|
156
156
|
if (rf & 1) {
|
|
157
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
157
|
+
i0__namespace.ɵɵprojectionDef(_c0$12);
|
|
158
158
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
159
159
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
160
160
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
var _c0$
|
|
243
|
+
var _c0$11 = [[["", "headerNavigation", ""]]];
|
|
244
244
|
var _c1$r = ["[headerNavigation]"];
|
|
245
245
|
var HeaderBarComponent = /** @class */ (function () {
|
|
246
246
|
function HeaderBarComponent() {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
255
255
|
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$r, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
|
|
256
256
|
if (rf & 1) {
|
|
257
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
257
|
+
i0__namespace.ɵɵprojectionDef(_c0$11);
|
|
258
258
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
259
259
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
260
260
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
}] });
|
|
322
322
|
})();
|
|
323
323
|
|
|
324
|
-
var _c0
|
|
324
|
+
var _c0$10 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
325
325
|
var _c1$q = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
326
326
|
var NavigationComponent = /** @class */ (function () {
|
|
327
327
|
function NavigationComponent() {
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
332
332
|
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$q, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
333
333
|
if (rf & 1) {
|
|
334
|
-
i0__namespace.ɵɵprojectionDef(_c0
|
|
334
|
+
i0__namespace.ɵɵprojectionDef(_c0$10);
|
|
335
335
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
336
336
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
337
337
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
}], null, null);
|
|
488
488
|
})();
|
|
489
489
|
|
|
490
|
-
var _c0
|
|
490
|
+
var _c0$$ = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
491
491
|
var _c1$p = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
492
492
|
var BodyComponent = /** @class */ (function () {
|
|
493
493
|
function BodyComponent() {
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
498
498
|
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$p, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
499
499
|
if (rf & 1) {
|
|
500
|
-
i0__namespace.ɵɵprojectionDef(_c0
|
|
500
|
+
i0__namespace.ɵɵprojectionDef(_c0$$);
|
|
501
501
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
502
502
|
i0__namespace.ɵɵprojection(1);
|
|
503
503
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
var _c0$
|
|
905
|
+
var _c0$_ = function (a0) { return { "govuk-input--error": a0 }; };
|
|
906
906
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
907
907
|
if (rf & 1) {
|
|
908
908
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
i0__namespace.ɵɵadvance(1);
|
|
924
924
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Hour"));
|
|
925
925
|
i0__namespace.ɵɵadvance(2);
|
|
926
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
926
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r3.isInvalid));
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
function DateInputComponent_div_20_Template(rf, ctx) {
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
i0__namespace.ɵɵadvance(1);
|
|
947
947
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Minute"));
|
|
948
948
|
i0__namespace.ɵɵadvance(2);
|
|
949
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
949
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r4.isInvalid));
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
function DateInputComponent_div_21_Template(rf, ctx) {
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
i0__namespace.ɵɵadvance(1);
|
|
970
970
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Second"));
|
|
971
971
|
i0__namespace.ɵɵadvance(2);
|
|
972
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
972
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$_, ctx_r5.isInvalid));
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
975
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1208,19 +1208,19 @@
|
|
|
1208
1208
|
i0__namespace.ɵɵadvance(1);
|
|
1209
1209
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Day"));
|
|
1210
1210
|
i0__namespace.ɵɵadvance(2);
|
|
1211
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$
|
|
1211
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$_, ctx.isInvalid));
|
|
1212
1212
|
i0__namespace.ɵɵadvance(3);
|
|
1213
1213
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1214
1214
|
i0__namespace.ɵɵadvance(1);
|
|
1215
1215
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 23, "Month"));
|
|
1216
1216
|
i0__namespace.ɵɵadvance(2);
|
|
1217
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$
|
|
1217
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$_, ctx.isInvalid));
|
|
1218
1218
|
i0__namespace.ɵɵadvance(3);
|
|
1219
1219
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1220
1220
|
i0__namespace.ɵɵadvance(1);
|
|
1221
1221
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 25, "Year"));
|
|
1222
1222
|
i0__namespace.ɵɵadvance(2);
|
|
1223
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$
|
|
1223
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$_, ctx.isInvalid));
|
|
1224
1224
|
i0__namespace.ɵɵadvance(2);
|
|
1225
1225
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1226
1226
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
|
-
var _c0$
|
|
1304
|
+
var _c0$Z = ["*"];
|
|
1305
1305
|
exports.AlertMessageType = void 0;
|
|
1306
1306
|
(function (AlertMessageType) {
|
|
1307
1307
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1322,7 +1322,7 @@
|
|
|
1322
1322
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1323
1323
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1324
1324
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1325
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1325
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$Z, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1326
1326
|
if (rf & 1) {
|
|
1327
1327
|
i0__namespace.ɵɵprojectionDef();
|
|
1328
1328
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1604,7 +1604,7 @@
|
|
|
1604
1604
|
}] });
|
|
1605
1605
|
})();
|
|
1606
1606
|
|
|
1607
|
-
var _c0$
|
|
1607
|
+
var _c0$Y = function (a0) { return { "js-hidden": a0 }; };
|
|
1608
1608
|
var _c1$o = ["*"];
|
|
1609
1609
|
var TabComponent = /** @class */ (function () {
|
|
1610
1610
|
function TabComponent() {
|
|
@@ -1620,7 +1620,7 @@
|
|
|
1620
1620
|
i0__namespace.ɵɵelementEnd();
|
|
1621
1621
|
}
|
|
1622
1622
|
if (rf & 2) {
|
|
1623
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1623
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$Y, !ctx.selected));
|
|
1624
1624
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1625
1625
|
}
|
|
1626
1626
|
}, directives: [i5__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
}] });
|
|
1644
1644
|
})();
|
|
1645
1645
|
|
|
1646
|
-
var _c0$
|
|
1646
|
+
var _c0$X = ["tab"];
|
|
1647
1647
|
var _c1$n = function () { return ["."]; };
|
|
1648
1648
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1649
1649
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1699,7 +1699,7 @@
|
|
|
1699
1699
|
}
|
|
1700
1700
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1701
1701
|
if (rf & 1) {
|
|
1702
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1702
|
+
i0__namespace.ɵɵviewQuery(_c0$X, 1);
|
|
1703
1703
|
}
|
|
1704
1704
|
if (rf & 2) {
|
|
1705
1705
|
var _t = void 0;
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
}], null, null);
|
|
1781
1781
|
})();
|
|
1782
1782
|
|
|
1783
|
-
var _c0$
|
|
1783
|
+
var _c0$W = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1784
1784
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1785
1785
|
function ActivityBannerComponent() {
|
|
1786
1786
|
}
|
|
@@ -1803,7 +1803,7 @@
|
|
|
1803
1803
|
i0__namespace.ɵɵelementEnd();
|
|
1804
1804
|
}
|
|
1805
1805
|
if (rf & 2) {
|
|
1806
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$
|
|
1806
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$W, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1807
1807
|
i0__namespace.ɵɵadvance(2);
|
|
1808
1808
|
i0__namespace.ɵɵpropertyInterpolate("alt", i0__namespace.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1809
1809
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -11185,7 +11185,7 @@
|
|
|
11185
11185
|
return AddressOption;
|
|
11186
11186
|
}());
|
|
11187
11187
|
|
|
11188
|
-
var _c0$
|
|
11188
|
+
var _c0$V = ["writeComplexFieldComponent"];
|
|
11189
11189
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
|
|
11190
11190
|
if (rf & 1) {
|
|
11191
11191
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -11420,7 +11420,7 @@
|
|
|
11420
11420
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
11421
11421
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
11422
11422
|
if (rf & 1) {
|
|
11423
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
11423
|
+
i0__namespace.ɵɵviewQuery(_c0$V, 1);
|
|
11424
11424
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
11425
11425
|
}
|
|
11426
11426
|
if (rf & 2) {
|
|
@@ -12194,7 +12194,7 @@
|
|
|
12194
12194
|
i0__namespace.ɵɵproperty("formGroup", ctx_r11.caseFlagParentFormGroup)("defaultStatus", ctx_r11.flagType.defaultStatus);
|
|
12195
12195
|
}
|
|
12196
12196
|
}
|
|
12197
|
-
var _c0$
|
|
12197
|
+
var _c0$U = function (a0) { return { "form-group-error": a0 }; };
|
|
12198
12198
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
12199
12199
|
if (rf & 1) {
|
|
12200
12200
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -12217,7 +12217,7 @@
|
|
|
12217
12217
|
i0__namespace.ɵɵadvance(1);
|
|
12218
12218
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
12219
12219
|
i0__namespace.ɵɵadvance(1);
|
|
12220
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
12220
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$U, ctx_r1.errorMessages.length > 0));
|
|
12221
12221
|
i0__namespace.ɵɵadvance(1);
|
|
12222
12222
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 9, ctx_r1.createFlagCaption), " ");
|
|
12223
12223
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -12794,7 +12794,7 @@
|
|
|
12794
12794
|
}], null, null);
|
|
12795
12795
|
})();
|
|
12796
12796
|
|
|
12797
|
-
var _c0$
|
|
12797
|
+
var _c0$T = ["writeComplexFieldComponent"];
|
|
12798
12798
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
12799
12799
|
if (rf & 1) {
|
|
12800
12800
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -12902,7 +12902,7 @@
|
|
|
12902
12902
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
12903
12903
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
12904
12904
|
if (rf & 1) {
|
|
12905
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
12905
|
+
i0__namespace.ɵɵviewQuery(_c0$T, 1);
|
|
12906
12906
|
}
|
|
12907
12907
|
if (rf & 2) {
|
|
12908
12908
|
var _t = void 0;
|
|
@@ -12947,7 +12947,7 @@
|
|
|
12947
12947
|
}] });
|
|
12948
12948
|
})();
|
|
12949
12949
|
|
|
12950
|
-
var _c0$
|
|
12950
|
+
var _c0$S = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
12951
12951
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
12952
12952
|
if (rf & 1) {
|
|
12953
12953
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -12962,7 +12962,7 @@
|
|
|
12962
12962
|
if (rf & 2) {
|
|
12963
12963
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
12964
12964
|
i0__namespace.ɵɵadvance(4);
|
|
12965
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
12965
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$S, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
12966
12966
|
}
|
|
12967
12967
|
}
|
|
12968
12968
|
var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -13127,7 +13127,7 @@
|
|
|
13127
13127
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
13128
13128
|
})();
|
|
13129
13129
|
|
|
13130
|
-
var _c0$
|
|
13130
|
+
var _c0$R = ["collectionItem"];
|
|
13131
13131
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
|
|
13132
13132
|
if (rf & 1) {
|
|
13133
13133
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -13558,7 +13558,7 @@
|
|
|
13558
13558
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
13559
13559
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13560
13560
|
if (rf & 1) {
|
|
13561
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13561
|
+
i0__namespace.ɵɵviewQuery(_c0$R, 1);
|
|
13562
13562
|
}
|
|
13563
13563
|
if (rf & 2) {
|
|
13564
13564
|
var _t = void 0;
|
|
@@ -14271,7 +14271,7 @@
|
|
|
14271
14271
|
}], null, null);
|
|
14272
14272
|
})();
|
|
14273
14273
|
|
|
14274
|
-
var _c0$
|
|
14274
|
+
var _c0$Q = ["fileInput"];
|
|
14275
14275
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
14276
14276
|
if (rf & 1) {
|
|
14277
14277
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14567,7 +14567,7 @@
|
|
|
14567
14567
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
14568
14568
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14569
14569
|
if (rf & 1) {
|
|
14570
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14570
|
+
i0__namespace.ɵɵviewQuery(_c0$Q, 1);
|
|
14571
14571
|
}
|
|
14572
14572
|
if (rf & 2) {
|
|
14573
14573
|
var _t = void 0;
|
|
@@ -14781,7 +14781,7 @@
|
|
|
14781
14781
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
14782
14782
|
}
|
|
14783
14783
|
}
|
|
14784
|
-
var _c0$
|
|
14784
|
+
var _c0$P = function (a0) { return { "form-group-error": a0 }; };
|
|
14785
14785
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
14786
14786
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
14787
14787
|
function WriteDynamicListFieldComponent() {
|
|
@@ -14831,7 +14831,7 @@
|
|
|
14831
14831
|
i0__namespace.ɵɵelementEnd();
|
|
14832
14832
|
}
|
|
14833
14833
|
if (rf & 2) {
|
|
14834
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$
|
|
14834
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$P, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
14835
14835
|
i0__namespace.ɵɵadvance(1);
|
|
14836
14836
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14837
14837
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15009,7 +15009,7 @@
|
|
|
15009
15009
|
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
15010
15010
|
}
|
|
15011
15011
|
}
|
|
15012
|
-
var _c0$
|
|
15012
|
+
var _c0$O = function (a0) { return { "error": a0 }; };
|
|
15013
15013
|
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15014
15014
|
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
15015
15015
|
function WriteDynamicMultiSelectListFieldComponent() {
|
|
@@ -15092,7 +15092,7 @@
|
|
|
15092
15092
|
i0__namespace.ɵɵelementEnd();
|
|
15093
15093
|
}
|
|
15094
15094
|
if (rf & 2) {
|
|
15095
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
15095
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$O, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15096
15096
|
i0__namespace.ɵɵadvance(3);
|
|
15097
15097
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15098
15098
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15243,7 +15243,7 @@
|
|
|
15243
15243
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
15244
15244
|
}
|
|
15245
15245
|
}
|
|
15246
|
-
var _c0$
|
|
15246
|
+
var _c0$N = function (a0) { return { selected: a0 }; };
|
|
15247
15247
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15248
15248
|
if (rf & 1) {
|
|
15249
15249
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -15256,7 +15256,7 @@
|
|
|
15256
15256
|
if (rf & 2) {
|
|
15257
15257
|
var radioButton_r5 = ctx.$implicit;
|
|
15258
15258
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
15259
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
15259
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$N, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
15260
15260
|
i0__namespace.ɵɵadvance(1);
|
|
15261
15261
|
i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
15262
15262
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15423,7 +15423,7 @@
|
|
|
15423
15423
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
15424
15424
|
}
|
|
15425
15425
|
}
|
|
15426
|
-
var _c0$
|
|
15426
|
+
var _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
15427
15427
|
var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15428
15428
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15429
15429
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -15448,7 +15448,7 @@
|
|
|
15448
15448
|
i0__namespace.ɵɵelementEnd();
|
|
15449
15449
|
}
|
|
15450
15450
|
if (rf & 2) {
|
|
15451
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
15451
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$M, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
15452
15452
|
i0__namespace.ɵɵadvance(1);
|
|
15453
15453
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15454
15454
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15559,7 +15559,7 @@
|
|
|
15559
15559
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
15560
15560
|
}
|
|
15561
15561
|
}
|
|
15562
|
-
var _c0$
|
|
15562
|
+
var _c0$L = function (a0) { return { "form-group-error": a0 }; };
|
|
15563
15563
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
15564
15564
|
__extends(WriteFixedListFieldComponent, _super);
|
|
15565
15565
|
function WriteFixedListFieldComponent() {
|
|
@@ -15608,7 +15608,7 @@
|
|
|
15608
15608
|
i0__namespace.ɵɵelementEnd();
|
|
15609
15609
|
}
|
|
15610
15610
|
if (rf & 2) {
|
|
15611
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
15611
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
15612
15612
|
i0__namespace.ɵɵadvance(1);
|
|
15613
15613
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15614
15614
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15730,7 +15730,7 @@
|
|
|
15730
15730
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
15731
15731
|
}
|
|
15732
15732
|
}
|
|
15733
|
-
var _c0$
|
|
15733
|
+
var _c0$K = function (a0) { return { selected: a0 }; };
|
|
15734
15734
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
15735
15735
|
if (rf & 1) {
|
|
15736
15736
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -15744,7 +15744,7 @@
|
|
|
15744
15744
|
if (rf & 2) {
|
|
15745
15745
|
var radioButton_r4 = ctx.$implicit;
|
|
15746
15746
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15747
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
15747
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
15748
15748
|
i0__namespace.ɵɵadvance(1);
|
|
15749
15749
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
15750
15750
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15914,7 +15914,7 @@
|
|
|
15914
15914
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
15915
15915
|
}
|
|
15916
15916
|
}
|
|
15917
|
-
var _c0$
|
|
15917
|
+
var _c0$J = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
15918
15918
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
|
|
15919
15919
|
if (rf & 1) {
|
|
15920
15920
|
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -15926,7 +15926,7 @@
|
|
|
15926
15926
|
if (rf & 2) {
|
|
15927
15927
|
var judicialUser_r5 = ctx.$implicit;
|
|
15928
15928
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15929
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
15929
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$J, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
|
|
15930
15930
|
i0__namespace.ɵɵadvance(1);
|
|
15931
15931
|
i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
15932
15932
|
}
|
|
@@ -16740,7 +16740,7 @@
|
|
|
16740
16740
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
16741
16741
|
}
|
|
16742
16742
|
}
|
|
16743
|
-
var _c0$
|
|
16743
|
+
var _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16744
16744
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
16745
16745
|
if (rf & 1) {
|
|
16746
16746
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -16758,7 +16758,7 @@
|
|
|
16758
16758
|
}
|
|
16759
16759
|
if (rf & 2) {
|
|
16760
16760
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
16761
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
16761
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$I, !!ctx_r7.caseReasonCommentsError));
|
|
16762
16762
|
i0__namespace.ɵɵadvance(3);
|
|
16763
16763
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
16764
16764
|
}
|
|
@@ -16815,11 +16815,11 @@
|
|
|
16815
16815
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
16816
16816
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
16817
16817
|
i0__namespace.ɵɵadvance(1);
|
|
16818
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
16818
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$I, !!ctx_r0.caseNumberError));
|
|
16819
16819
|
i0__namespace.ɵɵadvance(3);
|
|
16820
16820
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
16821
16821
|
i0__namespace.ɵɵadvance(2);
|
|
16822
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
16822
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$I, !!ctx_r0.caseReasonError));
|
|
16823
16823
|
i0__namespace.ɵɵadvance(5);
|
|
16824
16824
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
16825
16825
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17253,7 +17253,7 @@
|
|
|
17253
17253
|
i0__namespace.ɵɵadvance(4);
|
|
17254
17254
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17255
17255
|
i0__namespace.ɵɵadvance(4);
|
|
17256
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
17256
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !!ctx.noSelectedCaseError));
|
|
17257
17257
|
i0__namespace.ɵɵadvance(1);
|
|
17258
17258
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17259
17259
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -17962,7 +17962,7 @@
|
|
|
17962
17962
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
17963
17963
|
}
|
|
17964
17964
|
}
|
|
17965
|
-
var _c0$
|
|
17965
|
+
var _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17966
17966
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
17967
17967
|
if (rf & 1) {
|
|
17968
17968
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -17974,7 +17974,7 @@
|
|
|
17974
17974
|
}
|
|
17975
17975
|
if (rf & 2) {
|
|
17976
17976
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
17977
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
17977
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
17978
17978
|
i0__namespace.ɵɵadvance(1);
|
|
17979
17979
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
17980
17980
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -18863,7 +18863,7 @@
|
|
|
18863
18863
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
18864
18864
|
}
|
|
18865
18865
|
}
|
|
18866
|
-
var _c0$
|
|
18866
|
+
var _c0$G = function (a0) { return { "form-group-error": a0 }; };
|
|
18867
18867
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
18868
18868
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
18869
18869
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -18893,7 +18893,7 @@
|
|
|
18893
18893
|
i0__namespace.ɵɵelementEnd();
|
|
18894
18894
|
}
|
|
18895
18895
|
if (rf & 2) {
|
|
18896
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
18896
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$G, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
18897
18897
|
i0__namespace.ɵɵadvance(1);
|
|
18898
18898
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
18899
18899
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19048,7 +19048,7 @@
|
|
|
19048
19048
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
19049
19049
|
}
|
|
19050
19050
|
}
|
|
19051
|
-
var _c0$
|
|
19051
|
+
var _c0$F = function (a0) { return { "error": a0 }; };
|
|
19052
19052
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19053
19053
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
19054
19054
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -19112,7 +19112,7 @@
|
|
|
19112
19112
|
i0__namespace.ɵɵelementEnd();
|
|
19113
19113
|
}
|
|
19114
19114
|
if (rf & 2) {
|
|
19115
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
19115
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$F, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19116
19116
|
i0__namespace.ɵɵadvance(3);
|
|
19117
19117
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19118
19118
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19206,7 +19206,7 @@
|
|
|
19206
19206
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
|
|
19207
19207
|
}
|
|
19208
19208
|
}
|
|
19209
|
-
var _c0$
|
|
19209
|
+
var _c0$E = function (a0) { return { "form-group-error": a0 }; };
|
|
19210
19210
|
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19211
19211
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
19212
19212
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -19231,7 +19231,7 @@
|
|
|
19231
19231
|
i0__namespace.ɵɵelementEnd();
|
|
19232
19232
|
}
|
|
19233
19233
|
if (rf & 2) {
|
|
19234
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
19234
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$E, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19235
19235
|
i0__namespace.ɵɵadvance(1);
|
|
19236
19236
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19237
19237
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19570,7 +19570,7 @@
|
|
|
19570
19570
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
19571
19571
|
}
|
|
19572
19572
|
}
|
|
19573
|
-
var _c0$
|
|
19573
|
+
var _c0$D = function (a0) { return { "scroll-container ": a0 }; };
|
|
19574
19574
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
19575
19575
|
if (rf & 1) {
|
|
19576
19576
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -19586,7 +19586,7 @@
|
|
|
19586
19586
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
19587
19587
|
var tmp_0_0 = null;
|
|
19588
19588
|
var tmp_2_0 = null;
|
|
19589
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
19589
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
19590
19590
|
i0__namespace.ɵɵadvance(2);
|
|
19591
19591
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19592
19592
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -20084,7 +20084,7 @@
|
|
|
20084
20084
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
20085
20085
|
}
|
|
20086
20086
|
}
|
|
20087
|
-
var _c0$
|
|
20087
|
+
var _c0$C = function (a0) { return { "form-group-error": a0 }; };
|
|
20088
20088
|
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20089
20089
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
20090
20090
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
@@ -20109,7 +20109,7 @@
|
|
|
20109
20109
|
i0__namespace.ɵɵelementEnd();
|
|
20110
20110
|
}
|
|
20111
20111
|
if (rf & 2) {
|
|
20112
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20112
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20113
20113
|
i0__namespace.ɵɵadvance(1);
|
|
20114
20114
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20115
20115
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20275,7 +20275,25 @@
|
|
|
20275
20275
|
collection_field_type: null
|
|
20276
20276
|
})
|
|
20277
20277
|
}),
|
|
20278
|
-
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)'
|
|
20278
|
+
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
20279
|
+
value: [
|
|
20280
|
+
{
|
|
20281
|
+
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20282
|
+
value: {
|
|
20283
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
|
|
20284
|
+
document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
|
|
20285
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
|
|
20286
|
+
}
|
|
20287
|
+
},
|
|
20288
|
+
{
|
|
20289
|
+
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20290
|
+
value: {
|
|
20291
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
|
|
20292
|
+
document_filename: 'dummy.pdf',
|
|
20293
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
|
|
20294
|
+
}
|
|
20295
|
+
}
|
|
20296
|
+
]
|
|
20279
20297
|
});
|
|
20280
20298
|
|
|
20281
20299
|
var MarkdownComponent = /** @class */ (function () {
|
|
@@ -20398,48 +20416,141 @@
|
|
|
20398
20416
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
20399
20417
|
})();
|
|
20400
20418
|
|
|
20401
|
-
var
|
|
20402
|
-
function
|
|
20419
|
+
var QueryListItem = /** @class */ (function () {
|
|
20420
|
+
function QueryListItem() {
|
|
20421
|
+
this.children = [];
|
|
20403
20422
|
}
|
|
20404
|
-
|
|
20405
|
-
|
|
20406
|
-
|
|
20407
|
-
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
20423
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20424
|
+
get: function () {
|
|
20425
|
+
var getLastSubmittedMessage = function (item) {
|
|
20426
|
+
var e_1, _b;
|
|
20427
|
+
var lastSubmittedMessage = item;
|
|
20428
|
+
if (item.children && item.children.length > 0) {
|
|
20429
|
+
try {
|
|
20430
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20431
|
+
var child = _d.value;
|
|
20432
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20433
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20434
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20435
|
+
}
|
|
20436
|
+
}
|
|
20437
|
+
}
|
|
20438
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20439
|
+
finally {
|
|
20440
|
+
try {
|
|
20441
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20442
|
+
}
|
|
20443
|
+
finally { if (e_1) throw e_1.error; }
|
|
20444
|
+
}
|
|
20445
|
+
}
|
|
20446
|
+
return lastSubmittedMessage;
|
|
20447
|
+
};
|
|
20448
|
+
return getLastSubmittedMessage(this);
|
|
20449
|
+
},
|
|
20450
|
+
enumerable: false,
|
|
20451
|
+
configurable: true
|
|
20452
|
+
});
|
|
20453
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20454
|
+
get: function () {
|
|
20455
|
+
return this.lastSubmittedMessage.name;
|
|
20456
|
+
},
|
|
20457
|
+
enumerable: false,
|
|
20458
|
+
configurable: true
|
|
20459
|
+
});
|
|
20460
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20461
|
+
get: function () {
|
|
20462
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20463
|
+
},
|
|
20464
|
+
enumerable: false,
|
|
20465
|
+
configurable: true
|
|
20466
|
+
});
|
|
20467
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20468
|
+
get: function () {
|
|
20469
|
+
var _a;
|
|
20470
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20471
|
+
},
|
|
20472
|
+
enumerable: false,
|
|
20473
|
+
configurable: true
|
|
20474
|
+
});
|
|
20475
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20476
|
+
get: function () {
|
|
20477
|
+
var _a;
|
|
20478
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20479
|
+
},
|
|
20480
|
+
enumerable: false,
|
|
20481
|
+
configurable: true
|
|
20482
|
+
});
|
|
20483
|
+
return QueryListItem;
|
|
20484
|
+
}());
|
|
20485
|
+
|
|
20486
|
+
var QueryListData = /** @class */ (function () {
|
|
20487
|
+
function QueryListData(partyMessagesGroup) {
|
|
20488
|
+
var _this = this;
|
|
20489
|
+
this.partyName = partyMessagesGroup.partyName;
|
|
20490
|
+
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20491
|
+
// get the parent messages (messages without parentId) and add the children to them
|
|
20492
|
+
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20493
|
+
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20494
|
+
}
|
|
20495
|
+
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20496
|
+
var _this = this;
|
|
20497
|
+
var queryListItem = new QueryListItem();
|
|
20498
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20499
|
+
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20500
|
+
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20501
|
+
return queryListItem;
|
|
20415
20502
|
};
|
|
20416
|
-
return
|
|
20503
|
+
return QueryListData;
|
|
20417
20504
|
}());
|
|
20418
|
-
QueryManagementUtils.ɵfac = function QueryManagementUtils_Factory(t) { return new (t || QueryManagementUtils)(); };
|
|
20419
|
-
QueryManagementUtils.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: QueryManagementUtils, factory: QueryManagementUtils.ɵfac });
|
|
20420
|
-
(function () {
|
|
20421
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryManagementUtils, [{
|
|
20422
|
-
type: i0.Injectable
|
|
20423
|
-
}], null, null);
|
|
20424
|
-
})();
|
|
20425
20505
|
|
|
20426
|
-
|
|
20506
|
+
exports.QueryItemType = void 0;
|
|
20507
|
+
(function (QueryItemType) {
|
|
20508
|
+
QueryItemType["NEW"] = "New";
|
|
20509
|
+
QueryItemType["RESPOND"] = "Respond";
|
|
20510
|
+
QueryItemType["FOLLOWUP"] = "Followup";
|
|
20511
|
+
})(exports.QueryItemType || (exports.QueryItemType = {}));
|
|
20512
|
+
|
|
20513
|
+
function QueryCheckYourAnswersComponent_dl_7_Template(rf, ctx) {
|
|
20427
20514
|
if (rf & 1) {
|
|
20428
|
-
i0__namespace.ɵɵ
|
|
20515
|
+
i0__namespace.ɵɵelementStart(0, "dl", 5);
|
|
20516
|
+
i0__namespace.ɵɵelementStart(1, "div", 6);
|
|
20517
|
+
i0__namespace.ɵɵelementStart(2, "dt", 7);
|
|
20518
|
+
i0__namespace.ɵɵtext(3);
|
|
20519
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20520
|
+
i0__namespace.ɵɵelementEnd();
|
|
20521
|
+
i0__namespace.ɵɵelementStart(5, "dd", 8);
|
|
20522
|
+
i0__namespace.ɵɵtext(6);
|
|
20523
|
+
i0__namespace.ɵɵelementEnd();
|
|
20524
|
+
i0__namespace.ɵɵelementEnd();
|
|
20525
|
+
i0__namespace.ɵɵelementEnd();
|
|
20429
20526
|
}
|
|
20430
20527
|
if (rf & 2) {
|
|
20431
20528
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20432
|
-
i0__namespace.ɵɵ
|
|
20529
|
+
i0__namespace.ɵɵadvance(3);
|
|
20530
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Submitted query"), " ");
|
|
20531
|
+
i0__namespace.ɵɵadvance(3);
|
|
20532
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.queryItem.subject, " ");
|
|
20533
|
+
}
|
|
20534
|
+
}
|
|
20535
|
+
function QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template(rf, ctx) {
|
|
20536
|
+
if (rf & 1) {
|
|
20537
|
+
i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 14);
|
|
20538
|
+
}
|
|
20539
|
+
if (rf & 2) {
|
|
20540
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
20541
|
+
i0__namespace.ɵɵproperty("caseField", ctx_r1.caseField);
|
|
20433
20542
|
}
|
|
20434
20543
|
}
|
|
20435
20544
|
var QueryCheckYourAnswersComponent = /** @class */ (function () {
|
|
20436
20545
|
function QueryCheckYourAnswersComponent() {
|
|
20437
20546
|
this.backClicked = new i0.EventEmitter();
|
|
20547
|
+
this.queryItemTypeEnum = exports.QueryItemType;
|
|
20438
20548
|
}
|
|
20439
20549
|
QueryCheckYourAnswersComponent.prototype.ngOnInit = function () {
|
|
20550
|
+
// Set default value as false for testing follow up EUI-8387
|
|
20551
|
+
this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
|
|
20552
|
+
// Mock object
|
|
20440
20553
|
this.caseField = caseFieldMockData;
|
|
20441
|
-
this.caseField.value = this.formGroup.get('attachments').value
|
|
20442
|
-
.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
20443
20554
|
};
|
|
20444
20555
|
QueryCheckYourAnswersComponent.prototype.goBack = function () {
|
|
20445
20556
|
this.backClicked.emit(true);
|
|
@@ -20447,7 +20558,7 @@
|
|
|
20447
20558
|
return QueryCheckYourAnswersComponent;
|
|
20448
20559
|
}());
|
|
20449
20560
|
QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
|
|
20450
|
-
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem" }, outputs: { backClicked: "backClicked" }, decls:
|
|
20561
|
+
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", QueryCreateContext: "QueryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 49, vars: 31, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [1, "govuk-heading-l"], [1, "govuk-!-margin-bottom-4"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], [1, "govuk-link", 3, "click"], [3, "caseField", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [3, "caseField"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
20451
20562
|
if (rf & 1) {
|
|
20452
20563
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20453
20564
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -20458,63 +20569,71 @@
|
|
|
20458
20569
|
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
20459
20570
|
i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
|
|
20460
20571
|
i0__namespace.ɵɵelementEnd();
|
|
20461
|
-
i0__namespace.ɵɵ
|
|
20462
|
-
i0__namespace.ɵɵelementStart(8, "
|
|
20463
|
-
i0__namespace.ɵɵelementStart(9, "
|
|
20464
|
-
i0__namespace.ɵɵ
|
|
20465
|
-
i0__namespace.ɵɵ
|
|
20466
|
-
i0__namespace.ɵɵ
|
|
20467
|
-
i0__namespace.ɵɵelementStart(12, "dd", 7);
|
|
20468
|
-
i0__namespace.ɵɵtext(13);
|
|
20469
|
-
i0__namespace.ɵɵelementEnd();
|
|
20572
|
+
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_7_Template, 7, 4, "dl", 4);
|
|
20573
|
+
i0__namespace.ɵɵelementStart(8, "dl", 5);
|
|
20574
|
+
i0__namespace.ɵɵelementStart(9, "div", 6);
|
|
20575
|
+
i0__namespace.ɵɵelementStart(10, "dt", 7);
|
|
20576
|
+
i0__namespace.ɵɵtext(11);
|
|
20577
|
+
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
20470
20578
|
i0__namespace.ɵɵelementEnd();
|
|
20579
|
+
i0__namespace.ɵɵelementStart(13, "dd", 8);
|
|
20580
|
+
i0__namespace.ɵɵtext(14);
|
|
20471
20581
|
i0__namespace.ɵɵelementEnd();
|
|
20472
|
-
i0__namespace.ɵɵelementStart(
|
|
20473
|
-
i0__namespace.ɵɵelementStart(
|
|
20474
|
-
i0__namespace.ɵɵ
|
|
20582
|
+
i0__namespace.ɵɵelementStart(15, "dd", 9);
|
|
20583
|
+
i0__namespace.ɵɵelementStart(16, "a", 10);
|
|
20584
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_16_listener() { return ctx.goBack(); });
|
|
20475
20585
|
i0__namespace.ɵɵtext(17);
|
|
20476
20586
|
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
20477
20587
|
i0__namespace.ɵɵelementEnd();
|
|
20478
|
-
i0__namespace.ɵɵelementStart(19, "dd", 7);
|
|
20479
|
-
i0__namespace.ɵɵtext(20);
|
|
20480
20588
|
i0__namespace.ɵɵelementEnd();
|
|
20481
|
-
i0__namespace.ɵɵelementStart(21, "dd", 8);
|
|
20482
|
-
i0__namespace.ɵɵelementStart(22, "a", 9);
|
|
20483
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_22_listener() { return ctx.goBack(); });
|
|
20484
|
-
i0__namespace.ɵɵtext(23);
|
|
20485
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
20486
20589
|
i0__namespace.ɵɵelementEnd();
|
|
20487
20590
|
i0__namespace.ɵɵelementEnd();
|
|
20591
|
+
i0__namespace.ɵɵelementStart(19, "dl", 5);
|
|
20592
|
+
i0__namespace.ɵɵelementStart(20, "div", 6);
|
|
20593
|
+
i0__namespace.ɵɵelementStart(21, "dt", 7);
|
|
20594
|
+
i0__namespace.ɵɵtext(22);
|
|
20595
|
+
i0__namespace.ɵɵpipe(23, "rpxTranslate");
|
|
20488
20596
|
i0__namespace.ɵɵelementEnd();
|
|
20597
|
+
i0__namespace.ɵɵelementStart(24, "dd", 8);
|
|
20598
|
+
i0__namespace.ɵɵtext(25);
|
|
20489
20599
|
i0__namespace.ɵɵelementEnd();
|
|
20490
|
-
i0__namespace.ɵɵelementStart(
|
|
20491
|
-
i0__namespace.ɵɵelementStart(
|
|
20492
|
-
i0__namespace.ɵɵ
|
|
20600
|
+
i0__namespace.ɵɵelementStart(26, "dd", 9);
|
|
20601
|
+
i0__namespace.ɵɵelementStart(27, "a", 10);
|
|
20602
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_27_listener() { return ctx.goBack(); });
|
|
20493
20603
|
i0__namespace.ɵɵtext(28);
|
|
20494
20604
|
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
20495
20605
|
i0__namespace.ɵɵelementEnd();
|
|
20496
|
-
i0__namespace.ɵɵelementStart(30, "dd", 10);
|
|
20497
|
-
i0__namespace.ɵɵtemplate(31, QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template, 1, 1, "ccd-read-collection-field", 11);
|
|
20498
20606
|
i0__namespace.ɵɵelementEnd();
|
|
20499
|
-
i0__namespace.ɵɵelementStart(32, "dd", 8);
|
|
20500
|
-
i0__namespace.ɵɵelementStart(33, "a", 9);
|
|
20501
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_33_listener() { return ctx.goBack(); });
|
|
20502
|
-
i0__namespace.ɵɵtext(34);
|
|
20503
|
-
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
20504
20607
|
i0__namespace.ɵɵelementEnd();
|
|
20505
20608
|
i0__namespace.ɵɵelementEnd();
|
|
20609
|
+
i0__namespace.ɵɵelementStart(30, "dl", 5);
|
|
20610
|
+
i0__namespace.ɵɵelementStart(31, "div", 6);
|
|
20611
|
+
i0__namespace.ɵɵelementStart(32, "dt", 7);
|
|
20612
|
+
i0__namespace.ɵɵtext(33);
|
|
20613
|
+
i0__namespace.ɵɵpipe(34, "rpxTranslate");
|
|
20506
20614
|
i0__namespace.ɵɵelementEnd();
|
|
20615
|
+
i0__namespace.ɵɵelementStart(35, "dd", 8);
|
|
20616
|
+
i0__namespace.ɵɵtemplate(36, QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template, 1, 1, "ccd-read-collection-field", 11);
|
|
20507
20617
|
i0__namespace.ɵɵelementEnd();
|
|
20508
|
-
i0__namespace.ɵɵ
|
|
20509
|
-
i0__namespace.ɵɵelementStart(
|
|
20510
|
-
i0__namespace.ɵɵ
|
|
20511
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.goBack(); });
|
|
20618
|
+
i0__namespace.ɵɵelementStart(37, "dd", 9);
|
|
20619
|
+
i0__namespace.ɵɵelementStart(38, "a", 10);
|
|
20620
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_38_listener() { return ctx.goBack(); });
|
|
20512
20621
|
i0__namespace.ɵɵtext(39);
|
|
20513
20622
|
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
20514
20623
|
i0__namespace.ɵɵelementEnd();
|
|
20515
|
-
i0__namespace.ɵɵ
|
|
20516
|
-
i0__namespace.ɵɵ
|
|
20517
|
-
i0__namespace.ɵɵ
|
|
20624
|
+
i0__namespace.ɵɵelementEnd();
|
|
20625
|
+
i0__namespace.ɵɵelementEnd();
|
|
20626
|
+
i0__namespace.ɵɵelementEnd();
|
|
20627
|
+
i0__namespace.ɵɵelement(41, "br");
|
|
20628
|
+
i0__namespace.ɵɵelementStart(42, "div");
|
|
20629
|
+
i0__namespace.ɵɵelementStart(43, "button", 12);
|
|
20630
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_43_listener() { return ctx.goBack(); });
|
|
20631
|
+
i0__namespace.ɵɵtext(44);
|
|
20632
|
+
i0__namespace.ɵɵpipe(45, "rpxTranslate");
|
|
20633
|
+
i0__namespace.ɵɵelementEnd();
|
|
20634
|
+
i0__namespace.ɵɵelementStart(46, "button", 13);
|
|
20635
|
+
i0__namespace.ɵɵtext(47);
|
|
20636
|
+
i0__namespace.ɵɵpipe(48, "rpxTranslate");
|
|
20518
20637
|
i0__namespace.ɵɵelementEnd();
|
|
20519
20638
|
i0__namespace.ɵɵelementEnd();
|
|
20520
20639
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20522,29 +20641,33 @@
|
|
|
20522
20641
|
}
|
|
20523
20642
|
if (rf & 2) {
|
|
20524
20643
|
i0__namespace.ɵɵadvance(3);
|
|
20525
|
-
i0__namespace.ɵɵ
|
|
20526
|
-
i0__namespace.ɵɵadvance(
|
|
20527
|
-
i0__namespace.ɵɵ
|
|
20528
|
-
i0__namespace.ɵɵadvance(3);
|
|
20529
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryItem.subject, " ");
|
|
20644
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 13, "Review query details"), " ");
|
|
20645
|
+
i0__namespace.ɵɵadvance(4);
|
|
20646
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND);
|
|
20530
20647
|
i0__namespace.ɵɵadvance(4);
|
|
20531
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20648
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 15, "Full name"), " ");
|
|
20649
|
+
i0__namespace.ɵɵadvance(3);
|
|
20650
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["fullName"].value, " ");
|
|
20651
|
+
i0__namespace.ɵɵadvance(3);
|
|
20652
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 17, "Change"), " ");
|
|
20653
|
+
i0__namespace.ɵɵadvance(5);
|
|
20654
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(23, 19, "Query body"), " ");
|
|
20532
20655
|
i0__namespace.ɵɵadvance(3);
|
|
20533
20656
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
|
|
20534
20657
|
i0__namespace.ɵɵadvance(3);
|
|
20535
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20658
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 21, "Change"), " ");
|
|
20536
20659
|
i0__namespace.ɵɵadvance(5);
|
|
20537
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20660
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(34, 23, "Document attached"), " ");
|
|
20538
20661
|
i0__namespace.ɵɵadvance(3);
|
|
20539
20662
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
20540
20663
|
i0__namespace.ɵɵadvance(3);
|
|
20541
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20664
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 25, "Change"), " ");
|
|
20542
20665
|
i0__namespace.ɵɵadvance(5);
|
|
20543
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20666
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(45, 27, "Previous"), " ");
|
|
20544
20667
|
i0__namespace.ɵɵadvance(3);
|
|
20545
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20668
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(48, 29, "Submit"), " ");
|
|
20546
20669
|
}
|
|
20547
|
-
}, styles: ["
|
|
20670
|
+
}, styles: [".collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
|
|
20548
20671
|
(function () {
|
|
20549
20672
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
20550
20673
|
type: i0.Component,
|
|
@@ -20558,6 +20681,8 @@
|
|
|
20558
20681
|
type: i0.Input
|
|
20559
20682
|
}], queryItem: [{
|
|
20560
20683
|
type: i0.Input
|
|
20684
|
+
}], QueryCreateContext: [{
|
|
20685
|
+
type: i0.Input
|
|
20561
20686
|
}], backClicked: [{
|
|
20562
20687
|
type: i0.Output
|
|
20563
20688
|
}] });
|
|
@@ -20603,20 +20728,13 @@
|
|
|
20603
20728
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
20604
20729
|
}
|
|
20605
20730
|
}
|
|
20606
|
-
function
|
|
20731
|
+
function QueryDetailsTableComponent_ng_container_0_ccd_read_collection_field_41_Template(rf, ctx) {
|
|
20607
20732
|
if (rf & 1) {
|
|
20608
|
-
i0__namespace.ɵɵ
|
|
20609
|
-
i0__namespace.ɵɵelementStart(1, "a", 8);
|
|
20610
|
-
i0__namespace.ɵɵtext(2);
|
|
20611
|
-
i0__namespace.ɵɵelementEnd();
|
|
20612
|
-
i0__namespace.ɵɵelementEnd();
|
|
20733
|
+
i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 8);
|
|
20613
20734
|
}
|
|
20614
20735
|
if (rf & 2) {
|
|
20615
|
-
var
|
|
20616
|
-
i0__namespace.ɵɵ
|
|
20617
|
-
i0__namespace.ɵɵproperty("href", attachment_r3._links.self.href, i0__namespace.ɵɵsanitizeUrl);
|
|
20618
|
-
i0__namespace.ɵɵadvance(1);
|
|
20619
|
-
i0__namespace.ɵɵtextInterpolate(attachment_r3.originalDocumentName);
|
|
20736
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
20737
|
+
i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
20620
20738
|
}
|
|
20621
20739
|
}
|
|
20622
20740
|
function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -20678,7 +20796,7 @@
|
|
|
20678
20796
|
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
20679
20797
|
i0__namespace.ɵɵelementEnd();
|
|
20680
20798
|
i0__namespace.ɵɵelementStart(40, "td", 5);
|
|
20681
|
-
i0__namespace.ɵɵtemplate(41,
|
|
20799
|
+
i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_ccd_read_collection_field_41_Template, 1, 1, "ccd-read-collection-field", 7);
|
|
20682
20800
|
i0__namespace.ɵɵelementEnd();
|
|
20683
20801
|
i0__namespace.ɵɵelementEnd();
|
|
20684
20802
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20714,30 +20832,35 @@
|
|
|
20714
20832
|
i0__namespace.ɵɵadvance(3);
|
|
20715
20833
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(39, 29, "Attachments"));
|
|
20716
20834
|
i0__namespace.ɵɵadvance(3);
|
|
20717
|
-
i0__namespace.ɵɵproperty("
|
|
20835
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseField);
|
|
20718
20836
|
}
|
|
20719
20837
|
}
|
|
20720
20838
|
var QueryDetailsTableComponent = /** @class */ (function () {
|
|
20721
20839
|
function QueryDetailsTableComponent() {
|
|
20722
20840
|
}
|
|
20841
|
+
QueryDetailsTableComponent.prototype.ngOnInit = function () {
|
|
20842
|
+
// Mock object
|
|
20843
|
+
this.caseField = caseFieldMockData;
|
|
20844
|
+
};
|
|
20723
20845
|
return QueryDetailsTableComponent;
|
|
20724
20846
|
}());
|
|
20725
20847
|
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
20726
|
-
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [
|
|
20848
|
+
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [3, "caseField"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
20727
20849
|
if (rf & 1) {
|
|
20728
20850
|
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
|
|
20729
20851
|
}
|
|
20730
20852
|
if (rf & 2) {
|
|
20731
20853
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
20732
20854
|
}
|
|
20733
|
-
},
|
|
20855
|
+
}, styles: [".query-details-table .govuk-table__header{width:330px}.query-details-table .collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
|
|
20734
20856
|
(function () {
|
|
20735
20857
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
20736
20858
|
type: i0.Component,
|
|
20737
20859
|
args: [{
|
|
20738
20860
|
selector: 'ccd-query-details-table',
|
|
20739
20861
|
templateUrl: './query-details-table.component.html',
|
|
20740
|
-
styleUrls: ['./query-details-table.component.scss']
|
|
20862
|
+
styleUrls: ['./query-details-table.component.scss'],
|
|
20863
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
20741
20864
|
}]
|
|
20742
20865
|
}], null, { queryItem: [{
|
|
20743
20866
|
type: i0.Input
|
|
@@ -20813,99 +20936,6 @@
|
|
|
20813
20936
|
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
20814
20937
|
})(SortOrder || (SortOrder = {}));
|
|
20815
20938
|
|
|
20816
|
-
var QueryListItem = /** @class */ (function () {
|
|
20817
|
-
function QueryListItem() {
|
|
20818
|
-
this.children = [];
|
|
20819
|
-
}
|
|
20820
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20821
|
-
get: function () {
|
|
20822
|
-
var getLastSubmittedMessage = function (item) {
|
|
20823
|
-
var e_1, _b;
|
|
20824
|
-
var lastSubmittedMessage = item;
|
|
20825
|
-
if (item.children && item.children.length > 0) {
|
|
20826
|
-
try {
|
|
20827
|
-
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20828
|
-
var child = _d.value;
|
|
20829
|
-
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20830
|
-
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20831
|
-
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20832
|
-
}
|
|
20833
|
-
}
|
|
20834
|
-
}
|
|
20835
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20836
|
-
finally {
|
|
20837
|
-
try {
|
|
20838
|
-
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20839
|
-
}
|
|
20840
|
-
finally { if (e_1) throw e_1.error; }
|
|
20841
|
-
}
|
|
20842
|
-
}
|
|
20843
|
-
return lastSubmittedMessage;
|
|
20844
|
-
};
|
|
20845
|
-
return getLastSubmittedMessage(this);
|
|
20846
|
-
},
|
|
20847
|
-
enumerable: false,
|
|
20848
|
-
configurable: true
|
|
20849
|
-
});
|
|
20850
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20851
|
-
get: function () {
|
|
20852
|
-
return this.lastSubmittedMessage.name;
|
|
20853
|
-
},
|
|
20854
|
-
enumerable: false,
|
|
20855
|
-
configurable: true
|
|
20856
|
-
});
|
|
20857
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20858
|
-
get: function () {
|
|
20859
|
-
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20860
|
-
},
|
|
20861
|
-
enumerable: false,
|
|
20862
|
-
configurable: true
|
|
20863
|
-
});
|
|
20864
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20865
|
-
get: function () {
|
|
20866
|
-
var _a;
|
|
20867
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20868
|
-
},
|
|
20869
|
-
enumerable: false,
|
|
20870
|
-
configurable: true
|
|
20871
|
-
});
|
|
20872
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20873
|
-
get: function () {
|
|
20874
|
-
var _a;
|
|
20875
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20876
|
-
},
|
|
20877
|
-
enumerable: false,
|
|
20878
|
-
configurable: true
|
|
20879
|
-
});
|
|
20880
|
-
return QueryListItem;
|
|
20881
|
-
}());
|
|
20882
|
-
|
|
20883
|
-
var QueryListData = /** @class */ (function () {
|
|
20884
|
-
function QueryListData(partyMessagesGroup) {
|
|
20885
|
-
var _this = this;
|
|
20886
|
-
this.partyName = partyMessagesGroup.partyName;
|
|
20887
|
-
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20888
|
-
// get the parent messages (messages without parentId) and add the children to them
|
|
20889
|
-
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20890
|
-
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20891
|
-
}
|
|
20892
|
-
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20893
|
-
var _this = this;
|
|
20894
|
-
var queryListItem = new QueryListItem();
|
|
20895
|
-
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20896
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20897
|
-
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20898
|
-
return queryListItem;
|
|
20899
|
-
};
|
|
20900
|
-
return QueryListData;
|
|
20901
|
-
}());
|
|
20902
|
-
|
|
20903
|
-
exports.QueryListResponseStatus = void 0;
|
|
20904
|
-
(function (QueryListResponseStatus) {
|
|
20905
|
-
QueryListResponseStatus["NEW"] = "New";
|
|
20906
|
-
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20907
|
-
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20908
|
-
|
|
20909
20939
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
20910
20940
|
if (rf & 1) {
|
|
20911
20941
|
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -21094,9 +21124,6 @@
|
|
|
21094
21124
|
function QueryWriteAddDocumentsComponent() {
|
|
21095
21125
|
this.documentFormGroup = new i3.FormGroup({});
|
|
21096
21126
|
this.documentCollectionUpdate = new i0.EventEmitter();
|
|
21097
|
-
}
|
|
21098
|
-
QueryWriteAddDocumentsComponent.prototype.ngOnInit = function () {
|
|
21099
|
-
var _a;
|
|
21100
21127
|
// This field is mocked to allow the document component to be used in isolation
|
|
21101
21128
|
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
21102
21129
|
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
@@ -21123,13 +21150,12 @@
|
|
|
21123
21150
|
})
|
|
21124
21151
|
}),
|
|
21125
21152
|
});
|
|
21126
|
-
|
|
21127
|
-
};
|
|
21153
|
+
}
|
|
21128
21154
|
QueryWriteAddDocumentsComponent.prototype.ngAfterViewInit = function () {
|
|
21129
21155
|
var _this = this;
|
|
21130
|
-
var
|
|
21131
|
-
if (
|
|
21132
|
-
this.documentFormControlSubscription =
|
|
21156
|
+
var formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
21157
|
+
if (formControl) {
|
|
21158
|
+
this.documentFormControlSubscription = formControl.valueChanges
|
|
21133
21159
|
.pipe(operators.map(function (documents) { return (documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
21134
21160
|
.subscribe();
|
|
21135
21161
|
}
|
|
@@ -21142,7 +21168,7 @@
|
|
|
21142
21168
|
}());
|
|
21143
21169
|
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
21144
21170
|
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
21145
|
-
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]],
|
|
21171
|
+
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
21146
21172
|
if (rf & 1) {
|
|
21147
21173
|
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
21148
21174
|
}
|
|
@@ -21157,9 +21183,7 @@
|
|
|
21157
21183
|
selector: 'ccd-query-write-add-documents',
|
|
21158
21184
|
templateUrl: './query-write-add-documents.component.html'
|
|
21159
21185
|
}]
|
|
21160
|
-
}],
|
|
21161
|
-
type: i0.Input
|
|
21162
|
-
}], documentCollectionUpdate: [{
|
|
21186
|
+
}], function () { return []; }, { documentCollectionUpdate: [{
|
|
21163
21187
|
type: i0.Output
|
|
21164
21188
|
}] });
|
|
21165
21189
|
})();
|
|
@@ -21392,10 +21416,28 @@
|
|
|
21392
21416
|
}] });
|
|
21393
21417
|
})();
|
|
21394
21418
|
|
|
21395
|
-
function
|
|
21419
|
+
function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
|
|
21396
21420
|
if (rf & 1) {
|
|
21397
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21398
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21421
|
+
i0__namespace.ɵɵelementStart(0, "p", 20);
|
|
21422
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21423
|
+
i0__namespace.ɵɵtext(2);
|
|
21424
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21425
|
+
i0__namespace.ɵɵelementEnd();
|
|
21426
|
+
i0__namespace.ɵɵtext(4);
|
|
21427
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21428
|
+
i0__namespace.ɵɵelementEnd();
|
|
21429
|
+
}
|
|
21430
|
+
if (rf & 2) {
|
|
21431
|
+
i0__namespace.ɵɵadvance(2);
|
|
21432
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21433
|
+
i0__namespace.ɵɵadvance(2);
|
|
21434
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter your full name"), " ");
|
|
21435
|
+
}
|
|
21436
|
+
}
|
|
21437
|
+
function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
|
|
21438
|
+
if (rf & 1) {
|
|
21439
|
+
i0__namespace.ɵɵelementStart(0, "p", 22);
|
|
21440
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21399
21441
|
i0__namespace.ɵɵtext(2);
|
|
21400
21442
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21401
21443
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21410,13 +21452,21 @@
|
|
|
21410
21452
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
|
|
21411
21453
|
}
|
|
21412
21454
|
}
|
|
21455
|
+
var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
21413
21456
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21414
|
-
function QueryWriteRespondToQueryComponent() {
|
|
21457
|
+
function QueryWriteRespondToQueryComponent(route) {
|
|
21458
|
+
this.route = route;
|
|
21459
|
+
// Set default value as false for testing follow up EUI-8454
|
|
21460
|
+
this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
|
|
21461
|
+
this.queryItemTypeEnum = exports.QueryItemType;
|
|
21415
21462
|
}
|
|
21463
|
+
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21464
|
+
this.caseId = this.route.snapshot.params.cid;
|
|
21465
|
+
};
|
|
21416
21466
|
return QueryWriteRespondToQueryComponent;
|
|
21417
21467
|
}());
|
|
21418
|
-
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21419
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls:
|
|
21468
|
+
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute)); };
|
|
21469
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", QueryCreateContext: "QueryCreateContext" }, decls: 40, vars: 38, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0", 3, "routerLink"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-respond-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-respond-fullName-hint", 1, "govuk-hint"], ["id", "query-respond-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-respond-fullName", "name", "query-respond-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], [1, "govuk-form-group", "body-textarea"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-respond-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-body-error", 1, "govuk-error-message"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21420
21470
|
if (rf & 1) {
|
|
21421
21471
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21422
21472
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21456,9 +21506,23 @@
|
|
|
21456
21506
|
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21457
21507
|
i0__namespace.ɵɵelementEnd();
|
|
21458
21508
|
i0__namespace.ɵɵelementEnd();
|
|
21459
|
-
i0__namespace.ɵɵ
|
|
21460
|
-
i0__namespace.ɵɵ
|
|
21461
|
-
i0__namespace.ɵɵ
|
|
21509
|
+
i0__namespace.ɵɵelementStart(27, "div", 13);
|
|
21510
|
+
i0__namespace.ɵɵtext(28);
|
|
21511
|
+
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21512
|
+
i0__namespace.ɵɵelementEnd();
|
|
21513
|
+
i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
|
|
21514
|
+
i0__namespace.ɵɵelement(31, "input", 15);
|
|
21515
|
+
i0__namespace.ɵɵelementEnd();
|
|
21516
|
+
i0__namespace.ɵɵelementStart(32, "div", 16);
|
|
21517
|
+
i0__namespace.ɵɵelementStart(33, "div", 11);
|
|
21518
|
+
i0__namespace.ɵɵelementStart(34, "label", 17);
|
|
21519
|
+
i0__namespace.ɵɵtext(35);
|
|
21520
|
+
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
21521
|
+
i0__namespace.ɵɵelementEnd();
|
|
21522
|
+
i0__namespace.ɵɵelementEnd();
|
|
21523
|
+
i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
|
|
21524
|
+
i0__namespace.ɵɵelementStart(38, "textarea", 19);
|
|
21525
|
+
i0__namespace.ɵɵtext(39, " ");
|
|
21462
21526
|
i0__namespace.ɵɵelementEnd();
|
|
21463
21527
|
i0__namespace.ɵɵelementEnd();
|
|
21464
21528
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21466,29 +21530,45 @@
|
|
|
21466
21530
|
i0__namespace.ɵɵelementEnd();
|
|
21467
21531
|
}
|
|
21468
21532
|
if (rf & 2) {
|
|
21469
|
-
var
|
|
21470
|
-
var
|
|
21471
|
-
var
|
|
21472
|
-
|
|
21473
|
-
|
|
21533
|
+
var tmp_7_0 = null;
|
|
21534
|
+
var tmp_10_0 = null;
|
|
21535
|
+
var tmp_11_0 = null;
|
|
21536
|
+
var tmp_13_0 = null;
|
|
21537
|
+
var tmp_15_0 = null;
|
|
21538
|
+
var tmp_16_0 = null;
|
|
21539
|
+
i0__namespace.ɵɵadvance(1);
|
|
21540
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(36, _c0$B, ctx.caseId));
|
|
21541
|
+
i0__namespace.ɵɵadvance(1);
|
|
21542
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 22, "Back to tasks"));
|
|
21474
21543
|
i0__namespace.ɵɵadvance(5);
|
|
21475
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
21544
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 24, "Respond to query"));
|
|
21476
21545
|
i0__namespace.ɵɵadvance(3);
|
|
21477
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
21546
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 26, "Query details"));
|
|
21478
21547
|
i0__namespace.ɵɵadvance(5);
|
|
21479
21548
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21480
21549
|
i0__namespace.ɵɵadvance(4);
|
|
21481
|
-
i0__namespace.ɵɵ
|
|
21550
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 28, "Ask a follow-up question"), " ");
|
|
21482
21551
|
i0__namespace.ɵɵadvance(2);
|
|
21483
21552
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21484
21553
|
i0__namespace.ɵɵadvance(1);
|
|
21485
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (
|
|
21554
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
|
|
21555
|
+
i0__namespace.ɵɵadvance(3);
|
|
21556
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 30, "Full name"), " ");
|
|
21486
21557
|
i0__namespace.ɵɵadvance(3);
|
|
21487
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21558
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 32, "Your full name must be included here"), " ");
|
|
21488
21559
|
i0__namespace.ɵɵadvance(2);
|
|
21489
|
-
i0__namespace.ɵɵproperty("ngIf", (
|
|
21560
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
|
|
21561
|
+
i0__namespace.ɵɵadvance(1);
|
|
21562
|
+
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_11_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_11_0.errors == null ? null : tmp_11_0.errors.length);
|
|
21563
|
+
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21490
21564
|
i0__namespace.ɵɵadvance(1);
|
|
21491
|
-
i0__namespace.ɵɵclassProp("govuk-
|
|
21565
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_13_0 = ctx.formGroup.get("body")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
|
|
21566
|
+
i0__namespace.ɵɵadvance(3);
|
|
21567
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(36, 34, "Query Body"), " ");
|
|
21568
|
+
i0__namespace.ɵɵadvance(2);
|
|
21569
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21570
|
+
i0__namespace.ɵɵadvance(1);
|
|
21571
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_16_0 = ctx.formGroup.get("body")) == null ? null : tmp_16_0.errors == null ? null : tmp_16_0.errors.length);
|
|
21492
21572
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21493
21573
|
}
|
|
21494
21574
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -21500,13 +21580,30 @@
|
|
|
21500
21580
|
templateUrl: './query-write-respond-to-query.component.html',
|
|
21501
21581
|
styleUrls: ['./query-write-respond-to-query.component.scss']
|
|
21502
21582
|
}]
|
|
21503
|
-
}],
|
|
21583
|
+
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, { queryItem: [{
|
|
21504
21584
|
type: i0.Input
|
|
21505
21585
|
}], formGroup: [{
|
|
21506
21586
|
type: i0.Input
|
|
21587
|
+
}], QueryCreateContext: [{
|
|
21588
|
+
type: i0.Input
|
|
21507
21589
|
}] });
|
|
21508
21590
|
})();
|
|
21509
21591
|
|
|
21592
|
+
var QueryManagementUtils = /** @class */ (function () {
|
|
21593
|
+
function QueryManagementUtils() {
|
|
21594
|
+
}
|
|
21595
|
+
QueryManagementUtils.extractCaseQueriesFromCaseField = function () {
|
|
21596
|
+
};
|
|
21597
|
+
return QueryManagementUtils;
|
|
21598
|
+
}());
|
|
21599
|
+
QueryManagementUtils.ɵfac = function QueryManagementUtils_Factory(t) { return new (t || QueryManagementUtils)(); };
|
|
21600
|
+
QueryManagementUtils.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: QueryManagementUtils, factory: QueryManagementUtils.ɵfac });
|
|
21601
|
+
(function () {
|
|
21602
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryManagementUtils, [{
|
|
21603
|
+
type: i0.Injectable
|
|
21604
|
+
}], null, null);
|
|
21605
|
+
})();
|
|
21606
|
+
|
|
21510
21607
|
function ReadQueryManagementFieldComponent_ng_container_1_div_1_Template(rf, ctx) {
|
|
21511
21608
|
if (rf & 1) {
|
|
21512
21609
|
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -29897,7 +29994,8 @@
|
|
|
29897
29994
|
QueryDetailsComponent], []);
|
|
29898
29995
|
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
29899
29996
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29900
|
-
i0__namespace.ɵɵsetComponentScope(
|
|
29997
|
+
i0__namespace.ɵɵsetComponentScope(QueryDetailsTableComponent, [i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
29998
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1__namespace$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
|
|
29901
29999
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29902
30000
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29903
30001
|
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
|