@hmcts/ccd-case-ui-toolkit 6.16.0-query-details-navigation → 6.16.0-query-management-raise-query-function-v7
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 +434 -581
- 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 +15 -12
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +1 -45
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -3
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +20 -17
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +3 -2
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +125 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +41 -20
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +33 -94
- package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +6 -7
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +3 -18
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +383 -525
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +3 -3
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +0 -2
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts +2 -2
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts +1 -5
- 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.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +20 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +3 -11
- 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/index.d.ts +1 -1
- package/lib/shared/components/palette/query-management/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +2 -3
- 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/write-query-management-field.component.d.ts +1 -5
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +0 -171
- package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +0 -2
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +0 -18
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +0 -1
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +0 -5
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts.map +0 -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$11 = [[["", "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$11);
|
|
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$10 = [[["", "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$10);
|
|
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$$ = [[["", "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$$);
|
|
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$Z = 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$Z, 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$Z, 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$Z, 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$Z, 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$Z, 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$Z, 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$Y = ["*"];
|
|
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$Y, 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$X = 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$X, !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$W = ["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$W, 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$V = 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$V, 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$U = ["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$U, 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$T = 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$T, 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$S = ["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$S, 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$R = 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$R, 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$Q = ["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$Q, 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$P = ["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$P, 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$O = 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$O, !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$N = 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$N, !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$M = 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$M, 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$L = 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$L, !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$K = 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$K, !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$J = 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$J, 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$I = 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$I, !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$H = 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$H, !!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$H, !!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$H, !!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$H, !!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$G = 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$G, 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$F = 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$F, !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$E = 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$E, !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$D = 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$D, !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$C = 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$C, ((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$B = 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$B, !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);
|
|
@@ -20252,49 +20252,99 @@
|
|
|
20252
20252
|
]
|
|
20253
20253
|
}
|
|
20254
20254
|
];
|
|
20255
|
-
|
|
20256
|
-
|
|
20257
|
-
|
|
20258
|
-
|
|
20259
|
-
|
|
20260
|
-
|
|
20261
|
-
|
|
20262
|
-
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
|
|
20281
|
-
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
|
|
20285
|
-
|
|
20286
|
-
}
|
|
20255
|
+
|
|
20256
|
+
var QueryListItem = /** @class */ (function () {
|
|
20257
|
+
function QueryListItem() {
|
|
20258
|
+
this.children = [];
|
|
20259
|
+
}
|
|
20260
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20261
|
+
get: function () {
|
|
20262
|
+
var getLastSubmittedMessage = function (item) {
|
|
20263
|
+
var e_1, _b;
|
|
20264
|
+
var lastSubmittedMessage = item;
|
|
20265
|
+
if (item.children && item.children.length > 0) {
|
|
20266
|
+
try {
|
|
20267
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20268
|
+
var child = _d.value;
|
|
20269
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20270
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20271
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20272
|
+
}
|
|
20273
|
+
}
|
|
20274
|
+
}
|
|
20275
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20276
|
+
finally {
|
|
20277
|
+
try {
|
|
20278
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20279
|
+
}
|
|
20280
|
+
finally { if (e_1) throw e_1.error; }
|
|
20281
|
+
}
|
|
20282
|
+
}
|
|
20283
|
+
return lastSubmittedMessage;
|
|
20284
|
+
};
|
|
20285
|
+
return getLastSubmittedMessage(this);
|
|
20287
20286
|
},
|
|
20288
|
-
|
|
20289
|
-
|
|
20290
|
-
|
|
20291
|
-
|
|
20292
|
-
|
|
20293
|
-
|
|
20294
|
-
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20287
|
+
enumerable: false,
|
|
20288
|
+
configurable: true
|
|
20289
|
+
});
|
|
20290
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20291
|
+
get: function () {
|
|
20292
|
+
return this.lastSubmittedMessage.name;
|
|
20293
|
+
},
|
|
20294
|
+
enumerable: false,
|
|
20295
|
+
configurable: true
|
|
20296
|
+
});
|
|
20297
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20298
|
+
get: function () {
|
|
20299
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20300
|
+
},
|
|
20301
|
+
enumerable: false,
|
|
20302
|
+
configurable: true
|
|
20303
|
+
});
|
|
20304
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20305
|
+
get: function () {
|
|
20306
|
+
var _a;
|
|
20307
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20308
|
+
},
|
|
20309
|
+
enumerable: false,
|
|
20310
|
+
configurable: true
|
|
20311
|
+
});
|
|
20312
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20313
|
+
get: function () {
|
|
20314
|
+
var _a;
|
|
20315
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20316
|
+
},
|
|
20317
|
+
enumerable: false,
|
|
20318
|
+
configurable: true
|
|
20319
|
+
});
|
|
20320
|
+
return QueryListItem;
|
|
20321
|
+
}());
|
|
20322
|
+
|
|
20323
|
+
var QueryListData = /** @class */ (function () {
|
|
20324
|
+
function QueryListData(partyMessagesGroup) {
|
|
20325
|
+
var _this = this;
|
|
20326
|
+
this.partyName = partyMessagesGroup.partyName;
|
|
20327
|
+
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20328
|
+
// get the parent messages (messages without parentId) and add the children to them
|
|
20329
|
+
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20330
|
+
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20331
|
+
}
|
|
20332
|
+
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20333
|
+
var _this = this;
|
|
20334
|
+
var queryListItem = new QueryListItem();
|
|
20335
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20336
|
+
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20337
|
+
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20338
|
+
return queryListItem;
|
|
20339
|
+
};
|
|
20340
|
+
return QueryListData;
|
|
20341
|
+
}());
|
|
20342
|
+
|
|
20343
|
+
exports.QueryListResponseStatus = void 0;
|
|
20344
|
+
(function (QueryListResponseStatus) {
|
|
20345
|
+
QueryListResponseStatus["NEW"] = "New";
|
|
20346
|
+
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20347
|
+
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20298
20348
|
|
|
20299
20349
|
var MarkdownComponent = /** @class */ (function () {
|
|
20300
20350
|
function MarkdownComponent() {
|
|
@@ -20416,297 +20466,87 @@
|
|
|
20416
20466
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
20417
20467
|
})();
|
|
20418
20468
|
|
|
20419
|
-
var
|
|
20420
|
-
function
|
|
20421
|
-
this.children = [];
|
|
20422
|
-
}
|
|
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); });
|
|
20469
|
+
var QueryCreateComponent = /** @class */ (function () {
|
|
20470
|
+
function QueryCreateComponent() {
|
|
20494
20471
|
}
|
|
20495
|
-
|
|
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;
|
|
20472
|
+
QueryCreateComponent.prototype.ngOnInit = function () {
|
|
20502
20473
|
};
|
|
20503
|
-
return
|
|
20474
|
+
return QueryCreateComponent;
|
|
20504
20475
|
}());
|
|
20476
|
+
QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
|
|
20477
|
+
QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
20478
|
+
(function () {
|
|
20479
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
|
|
20480
|
+
type: i0.Component,
|
|
20481
|
+
args: [{
|
|
20482
|
+
selector: 'ccd-query-create',
|
|
20483
|
+
templateUrl: './query-create.component.html',
|
|
20484
|
+
}]
|
|
20485
|
+
}], function () { return []; }, null);
|
|
20486
|
+
})();
|
|
20505
20487
|
|
|
20506
|
-
|
|
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) {
|
|
20488
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20514
20489
|
if (rf & 1) {
|
|
20515
|
-
i0__namespace.ɵɵ
|
|
20516
|
-
i0__namespace.ɵɵ
|
|
20517
|
-
i0__namespace.ɵɵelementStart(
|
|
20518
|
-
i0__namespace.ɵɵ
|
|
20519
|
-
i0__namespace.ɵɵ
|
|
20520
|
-
i0__namespace.ɵɵ
|
|
20521
|
-
i0__namespace.ɵɵ
|
|
20522
|
-
i0__namespace.ɵɵ
|
|
20490
|
+
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20491
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20492
|
+
i0__namespace.ɵɵelementStart(1, "p");
|
|
20493
|
+
i0__namespace.ɵɵelement(2, "br");
|
|
20494
|
+
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20495
|
+
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
|
|
20496
|
+
i0__namespace.ɵɵtext(4);
|
|
20497
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20523
20498
|
i0__namespace.ɵɵelementEnd();
|
|
20524
20499
|
i0__namespace.ɵɵelementEnd();
|
|
20500
|
+
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20501
|
+
i0__namespace.ɵɵtext(7);
|
|
20502
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20525
20503
|
i0__namespace.ɵɵelementEnd();
|
|
20504
|
+
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20505
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20526
20506
|
}
|
|
20527
20507
|
if (rf & 2) {
|
|
20528
20508
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20509
|
+
i0__namespace.ɵɵadvance(4);
|
|
20510
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20529
20511
|
i0__namespace.ɵɵadvance(3);
|
|
20530
|
-
i0__namespace.ɵɵ
|
|
20531
|
-
i0__namespace.ɵɵadvance(
|
|
20532
|
-
i0__namespace.ɵɵ
|
|
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);
|
|
20512
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20513
|
+
i0__namespace.ɵɵadvance(2);
|
|
20514
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20542
20515
|
}
|
|
20543
20516
|
}
|
|
20544
|
-
var
|
|
20545
|
-
function
|
|
20517
|
+
var QueryDetailsComponent = /** @class */ (function () {
|
|
20518
|
+
function QueryDetailsComponent() {
|
|
20546
20519
|
this.backClicked = new i0.EventEmitter();
|
|
20547
|
-
this.queryItemTypeEnum = exports.QueryItemType;
|
|
20548
20520
|
}
|
|
20549
|
-
|
|
20550
|
-
// Set default value as false for testing follow up EUI-8387
|
|
20551
|
-
this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
|
|
20552
|
-
// Mock object
|
|
20553
|
-
this.caseField = caseFieldMockData;
|
|
20554
|
-
};
|
|
20555
|
-
QueryCheckYourAnswersComponent.prototype.goBack = function () {
|
|
20521
|
+
QueryDetailsComponent.prototype.onBack = function () {
|
|
20556
20522
|
this.backClicked.emit(true);
|
|
20557
20523
|
};
|
|
20558
|
-
return
|
|
20524
|
+
return QueryDetailsComponent;
|
|
20559
20525
|
}());
|
|
20560
|
-
|
|
20561
|
-
|
|
20526
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20527
|
+
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
20562
20528
|
if (rf & 1) {
|
|
20563
|
-
i0__namespace.ɵɵ
|
|
20564
|
-
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20565
|
-
i0__namespace.ɵɵelementStart(2, "h1", 2);
|
|
20566
|
-
i0__namespace.ɵɵtext(3);
|
|
20567
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20568
|
-
i0__namespace.ɵɵelementEnd();
|
|
20569
|
-
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
20570
|
-
i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
|
|
20571
|
-
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");
|
|
20578
|
-
i0__namespace.ɵɵelementEnd();
|
|
20579
|
-
i0__namespace.ɵɵelementStart(13, "dd", 8);
|
|
20580
|
-
i0__namespace.ɵɵtext(14);
|
|
20581
|
-
i0__namespace.ɵɵelementEnd();
|
|
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(); });
|
|
20585
|
-
i0__namespace.ɵɵtext(17);
|
|
20586
|
-
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
20587
|
-
i0__namespace.ɵɵelementEnd();
|
|
20588
|
-
i0__namespace.ɵɵelementEnd();
|
|
20589
|
-
i0__namespace.ɵɵelementEnd();
|
|
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");
|
|
20596
|
-
i0__namespace.ɵɵelementEnd();
|
|
20597
|
-
i0__namespace.ɵɵelementStart(24, "dd", 8);
|
|
20598
|
-
i0__namespace.ɵɵtext(25);
|
|
20599
|
-
i0__namespace.ɵɵelementEnd();
|
|
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(); });
|
|
20603
|
-
i0__namespace.ɵɵtext(28);
|
|
20604
|
-
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
20605
|
-
i0__namespace.ɵɵelementEnd();
|
|
20606
|
-
i0__namespace.ɵɵelementEnd();
|
|
20607
|
-
i0__namespace.ɵɵelementEnd();
|
|
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");
|
|
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);
|
|
20617
|
-
i0__namespace.ɵɵelementEnd();
|
|
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(); });
|
|
20621
|
-
i0__namespace.ɵɵtext(39);
|
|
20622
|
-
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
20623
|
-
i0__namespace.ɵɵelementEnd();
|
|
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");
|
|
20637
|
-
i0__namespace.ɵɵelementEnd();
|
|
20638
|
-
i0__namespace.ɵɵelementEnd();
|
|
20639
|
-
i0__namespace.ɵɵelementEnd();
|
|
20640
|
-
i0__namespace.ɵɵelementEnd();
|
|
20529
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20641
20530
|
}
|
|
20642
20531
|
if (rf & 2) {
|
|
20643
|
-
i0__namespace.ɵɵ
|
|
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);
|
|
20647
|
-
i0__namespace.ɵɵadvance(4);
|
|
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"), " ");
|
|
20655
|
-
i0__namespace.ɵɵadvance(3);
|
|
20656
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
|
|
20657
|
-
i0__namespace.ɵɵadvance(3);
|
|
20658
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 21, "Change"), " ");
|
|
20659
|
-
i0__namespace.ɵɵadvance(5);
|
|
20660
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(34, 23, "Document attached"), " ");
|
|
20661
|
-
i0__namespace.ɵɵadvance(3);
|
|
20662
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
20663
|
-
i0__namespace.ɵɵadvance(3);
|
|
20664
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 25, "Change"), " ");
|
|
20665
|
-
i0__namespace.ɵɵadvance(5);
|
|
20666
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(45, 27, "Previous"), " ");
|
|
20667
|
-
i0__namespace.ɵɵadvance(3);
|
|
20668
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(48, 29, "Submit"), " ");
|
|
20532
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20669
20533
|
}
|
|
20670
|
-
}, styles: [".
|
|
20534
|
+
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20671
20535
|
(function () {
|
|
20672
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(
|
|
20536
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20673
20537
|
type: i0.Component,
|
|
20674
20538
|
args: [{
|
|
20675
|
-
selector: 'ccd-query-
|
|
20676
|
-
templateUrl: './query-
|
|
20677
|
-
styleUrls: ['./query-
|
|
20678
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
20539
|
+
selector: 'ccd-query-details',
|
|
20540
|
+
templateUrl: './query-details.component.html',
|
|
20541
|
+
styleUrls: ['./query-details.component.scss']
|
|
20679
20542
|
}]
|
|
20680
|
-
}], null, {
|
|
20681
|
-
type: i0.Input
|
|
20682
|
-
}], queryItem: [{
|
|
20683
|
-
type: i0.Input
|
|
20684
|
-
}], QueryCreateContext: [{
|
|
20543
|
+
}], null, { query: [{
|
|
20685
20544
|
type: i0.Input
|
|
20686
20545
|
}], backClicked: [{
|
|
20687
20546
|
type: i0.Output
|
|
20688
20547
|
}] });
|
|
20689
20548
|
})();
|
|
20690
20549
|
|
|
20691
|
-
var QueryCreateComponent = /** @class */ (function () {
|
|
20692
|
-
function QueryCreateComponent() {
|
|
20693
|
-
}
|
|
20694
|
-
QueryCreateComponent.prototype.ngOnInit = function () {
|
|
20695
|
-
};
|
|
20696
|
-
return QueryCreateComponent;
|
|
20697
|
-
}());
|
|
20698
|
-
QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
|
|
20699
|
-
QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
20700
|
-
(function () {
|
|
20701
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
|
|
20702
|
-
type: i0.Component,
|
|
20703
|
-
args: [{
|
|
20704
|
-
selector: 'ccd-query-create',
|
|
20705
|
-
templateUrl: './query-create.component.html',
|
|
20706
|
-
}]
|
|
20707
|
-
}], function () { return []; }, null);
|
|
20708
|
-
})();
|
|
20709
|
-
|
|
20710
20550
|
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20711
20551
|
if (rf & 1) {
|
|
20712
20552
|
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
@@ -20728,13 +20568,20 @@
|
|
|
20728
20568
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
20729
20569
|
}
|
|
20730
20570
|
}
|
|
20731
|
-
function
|
|
20571
|
+
function QueryDetailsTableComponent_ng_container_0_div_41_Template(rf, ctx) {
|
|
20732
20572
|
if (rf & 1) {
|
|
20733
|
-
i0__namespace.ɵɵ
|
|
20573
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
20574
|
+
i0__namespace.ɵɵelementStart(1, "a", 8);
|
|
20575
|
+
i0__namespace.ɵɵtext(2);
|
|
20576
|
+
i0__namespace.ɵɵelementEnd();
|
|
20577
|
+
i0__namespace.ɵɵelementEnd();
|
|
20734
20578
|
}
|
|
20735
20579
|
if (rf & 2) {
|
|
20736
|
-
var
|
|
20737
|
-
i0__namespace.ɵɵ
|
|
20580
|
+
var attachment_r3 = ctx.$implicit;
|
|
20581
|
+
i0__namespace.ɵɵadvance(1);
|
|
20582
|
+
i0__namespace.ɵɵproperty("href", attachment_r3._links.self.href, i0__namespace.ɵɵsanitizeUrl);
|
|
20583
|
+
i0__namespace.ɵɵadvance(1);
|
|
20584
|
+
i0__namespace.ɵɵtextInterpolate(attachment_r3.originalDocumentName);
|
|
20738
20585
|
}
|
|
20739
20586
|
}
|
|
20740
20587
|
function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -20796,7 +20643,7 @@
|
|
|
20796
20643
|
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
20797
20644
|
i0__namespace.ɵɵelementEnd();
|
|
20798
20645
|
i0__namespace.ɵɵelementStart(40, "td", 5);
|
|
20799
|
-
i0__namespace.ɵɵtemplate(41,
|
|
20646
|
+
i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_div_41_Template, 3, 2, "div", 7);
|
|
20800
20647
|
i0__namespace.ɵɵelementEnd();
|
|
20801
20648
|
i0__namespace.ɵɵelementEnd();
|
|
20802
20649
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20832,103 +20679,36 @@
|
|
|
20832
20679
|
i0__namespace.ɵɵadvance(3);
|
|
20833
20680
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(39, 29, "Attachments"));
|
|
20834
20681
|
i0__namespace.ɵɵadvance(3);
|
|
20835
|
-
i0__namespace.ɵɵproperty("
|
|
20682
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
|
|
20836
20683
|
}
|
|
20837
20684
|
}
|
|
20838
20685
|
var QueryDetailsTableComponent = /** @class */ (function () {
|
|
20839
20686
|
function QueryDetailsTableComponent() {
|
|
20840
20687
|
}
|
|
20841
|
-
QueryDetailsTableComponent.prototype.ngOnInit = function () {
|
|
20842
|
-
// Mock object
|
|
20843
|
-
this.caseField = caseFieldMockData;
|
|
20844
|
-
};
|
|
20845
20688
|
return QueryDetailsTableComponent;
|
|
20846
20689
|
}());
|
|
20847
20690
|
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
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"], [
|
|
20691
|
+
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"], [4, "ngFor", "ngForOf"], ["target", "_blank", 3, "href"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
20849
20692
|
if (rf & 1) {
|
|
20850
20693
|
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
|
|
20851
20694
|
}
|
|
20852
20695
|
if (rf & 2) {
|
|
20853
20696
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
20854
20697
|
}
|
|
20855
|
-
}, styles: [".query-details-table
|
|
20698
|
+
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
|
|
20856
20699
|
(function () {
|
|
20857
20700
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
20858
20701
|
type: i0.Component,
|
|
20859
20702
|
args: [{
|
|
20860
20703
|
selector: 'ccd-query-details-table',
|
|
20861
20704
|
templateUrl: './query-details-table.component.html',
|
|
20862
|
-
styleUrls: ['./query-details-table.component.scss']
|
|
20863
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
20705
|
+
styleUrls: ['./query-details-table.component.scss']
|
|
20864
20706
|
}]
|
|
20865
20707
|
}], null, { queryItem: [{
|
|
20866
20708
|
type: i0.Input
|
|
20867
20709
|
}] });
|
|
20868
20710
|
})();
|
|
20869
20711
|
|
|
20870
|
-
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20871
|
-
if (rf & 1) {
|
|
20872
|
-
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20873
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20874
|
-
i0__namespace.ɵɵelementStart(1, "p");
|
|
20875
|
-
i0__namespace.ɵɵelement(2, "br");
|
|
20876
|
-
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20877
|
-
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
|
|
20878
|
-
i0__namespace.ɵɵtext(4);
|
|
20879
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20880
|
-
i0__namespace.ɵɵelementEnd();
|
|
20881
|
-
i0__namespace.ɵɵelementEnd();
|
|
20882
|
-
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20883
|
-
i0__namespace.ɵɵtext(7);
|
|
20884
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20885
|
-
i0__namespace.ɵɵelementEnd();
|
|
20886
|
-
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20887
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20888
|
-
}
|
|
20889
|
-
if (rf & 2) {
|
|
20890
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20891
|
-
i0__namespace.ɵɵadvance(4);
|
|
20892
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20893
|
-
i0__namespace.ɵɵadvance(3);
|
|
20894
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20895
|
-
i0__namespace.ɵɵadvance(2);
|
|
20896
|
-
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20897
|
-
}
|
|
20898
|
-
}
|
|
20899
|
-
var QueryDetailsComponent = /** @class */ (function () {
|
|
20900
|
-
function QueryDetailsComponent() {
|
|
20901
|
-
this.backClicked = new i0.EventEmitter();
|
|
20902
|
-
}
|
|
20903
|
-
QueryDetailsComponent.prototype.onBack = function () {
|
|
20904
|
-
this.backClicked.emit(true);
|
|
20905
|
-
};
|
|
20906
|
-
return QueryDetailsComponent;
|
|
20907
|
-
}());
|
|
20908
|
-
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20909
|
-
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
20910
|
-
if (rf & 1) {
|
|
20911
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20912
|
-
}
|
|
20913
|
-
if (rf & 2) {
|
|
20914
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20915
|
-
}
|
|
20916
|
-
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20917
|
-
(function () {
|
|
20918
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20919
|
-
type: i0.Component,
|
|
20920
|
-
args: [{
|
|
20921
|
-
selector: 'ccd-query-details',
|
|
20922
|
-
templateUrl: './query-details.component.html',
|
|
20923
|
-
styleUrls: ['./query-details.component.scss']
|
|
20924
|
-
}]
|
|
20925
|
-
}], null, { query: [{
|
|
20926
|
-
type: i0.Input
|
|
20927
|
-
}], backClicked: [{
|
|
20928
|
-
type: i0.Output
|
|
20929
|
-
}] });
|
|
20930
|
-
})();
|
|
20931
|
-
|
|
20932
20712
|
var SortOrder;
|
|
20933
20713
|
(function (SortOrder) {
|
|
20934
20714
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -21120,6 +20900,132 @@
|
|
|
21120
20900
|
}] });
|
|
21121
20901
|
})();
|
|
21122
20902
|
|
|
20903
|
+
var QueryWriteDateInputComponent = /** @class */ (function () {
|
|
20904
|
+
function QueryWriteDateInputComponent() {
|
|
20905
|
+
this.disabled = false;
|
|
20906
|
+
}
|
|
20907
|
+
QueryWriteDateInputComponent.prototype.writeValue = function (date) {
|
|
20908
|
+
if (date instanceof Date && !isNaN(date.getTime())) {
|
|
20909
|
+
this.day = date.getDate();
|
|
20910
|
+
this.month = date.getMonth() + 1; // Months are zero-based
|
|
20911
|
+
this.year = date.getFullYear();
|
|
20912
|
+
}
|
|
20913
|
+
else {
|
|
20914
|
+
this.day = null;
|
|
20915
|
+
this.month = null;
|
|
20916
|
+
this.year = null;
|
|
20917
|
+
}
|
|
20918
|
+
};
|
|
20919
|
+
QueryWriteDateInputComponent.prototype.registerOnChange = function (fn) {
|
|
20920
|
+
this.onChange = fn;
|
|
20921
|
+
};
|
|
20922
|
+
QueryWriteDateInputComponent.prototype.registerOnTouched = function (fn) {
|
|
20923
|
+
this.onTouched = fn;
|
|
20924
|
+
};
|
|
20925
|
+
QueryWriteDateInputComponent.prototype.setDisabledState = function (isDisabled) {
|
|
20926
|
+
this.disabled = isDisabled;
|
|
20927
|
+
};
|
|
20928
|
+
QueryWriteDateInputComponent.prototype.updateDate = function () {
|
|
20929
|
+
var updatedValue = this.onChange && this.isValidDateInput() ?
|
|
20930
|
+
new Date(this.year, this.month - 1, this.day)
|
|
20931
|
+
: null;
|
|
20932
|
+
this.onChange(updatedValue);
|
|
20933
|
+
this.onTouched();
|
|
20934
|
+
};
|
|
20935
|
+
QueryWriteDateInputComponent.prototype.isValidDateInput = function () {
|
|
20936
|
+
var isValidDay = this.day >= 1 && this.day <= 31;
|
|
20937
|
+
var isValidMonth = this.month >= 1 && this.month <= 12;
|
|
20938
|
+
var isValidYear = this.year >= 0;
|
|
20939
|
+
return isValidDay && isValidMonth && isValidYear;
|
|
20940
|
+
};
|
|
20941
|
+
return QueryWriteDateInputComponent;
|
|
20942
|
+
}());
|
|
20943
|
+
QueryWriteDateInputComponent.ɵfac = function QueryWriteDateInputComponent_Factory(t) { return new (t || QueryWriteDateInputComponent)(); };
|
|
20944
|
+
QueryWriteDateInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
20945
|
+
{
|
|
20946
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
20947
|
+
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
20948
|
+
multi: true
|
|
20949
|
+
}
|
|
20950
|
+
])], decls: 19, vars: 24, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) {
|
|
20951
|
+
if (rf & 1) {
|
|
20952
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20953
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20954
|
+
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
20955
|
+
i0__namespace.ɵɵelementStart(3, "label", 3);
|
|
20956
|
+
i0__namespace.ɵɵtext(4);
|
|
20957
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20958
|
+
i0__namespace.ɵɵelementEnd();
|
|
20959
|
+
i0__namespace.ɵɵelementStart(6, "input", 4);
|
|
20960
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_6_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_6_listener() { return ctx.updateDate(); });
|
|
20961
|
+
i0__namespace.ɵɵelementEnd();
|
|
20962
|
+
i0__namespace.ɵɵelementEnd();
|
|
20963
|
+
i0__namespace.ɵɵelementEnd();
|
|
20964
|
+
i0__namespace.ɵɵelementStart(7, "div", 1);
|
|
20965
|
+
i0__namespace.ɵɵelementStart(8, "div", 2);
|
|
20966
|
+
i0__namespace.ɵɵelementStart(9, "label", 3);
|
|
20967
|
+
i0__namespace.ɵɵtext(10);
|
|
20968
|
+
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
20969
|
+
i0__namespace.ɵɵelementEnd();
|
|
20970
|
+
i0__namespace.ɵɵelementStart(12, "input", 4);
|
|
20971
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_12_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_12_listener() { return ctx.updateDate(); });
|
|
20972
|
+
i0__namespace.ɵɵelementEnd();
|
|
20973
|
+
i0__namespace.ɵɵelementEnd();
|
|
20974
|
+
i0__namespace.ɵɵelementEnd();
|
|
20975
|
+
i0__namespace.ɵɵelementStart(13, "div", 1);
|
|
20976
|
+
i0__namespace.ɵɵelementStart(14, "div", 2);
|
|
20977
|
+
i0__namespace.ɵɵelementStart(15, "label", 3);
|
|
20978
|
+
i0__namespace.ɵɵtext(16);
|
|
20979
|
+
i0__namespace.ɵɵpipe(17, "rpxTranslate");
|
|
20980
|
+
i0__namespace.ɵɵelementEnd();
|
|
20981
|
+
i0__namespace.ɵɵelementStart(18, "input", 5);
|
|
20982
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_18_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_18_listener() { return ctx.updateDate(); });
|
|
20983
|
+
i0__namespace.ɵɵelementEnd();
|
|
20984
|
+
i0__namespace.ɵɵelementEnd();
|
|
20985
|
+
i0__namespace.ɵɵelementEnd();
|
|
20986
|
+
i0__namespace.ɵɵelementEnd();
|
|
20987
|
+
}
|
|
20988
|
+
if (rf & 2) {
|
|
20989
|
+
i0__namespace.ɵɵproperty("id", ctx.formControlName);
|
|
20990
|
+
i0__namespace.ɵɵadvance(3);
|
|
20991
|
+
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-day");
|
|
20992
|
+
i0__namespace.ɵɵadvance(1);
|
|
20993
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 18, "Day"), " ");
|
|
20994
|
+
i0__namespace.ɵɵadvance(2);
|
|
20995
|
+
i0__namespace.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
|
|
20996
|
+
i0__namespace.ɵɵadvance(3);
|
|
20997
|
+
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-month");
|
|
20998
|
+
i0__namespace.ɵɵadvance(1);
|
|
20999
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 20, "Month"), " ");
|
|
21000
|
+
i0__namespace.ɵɵadvance(2);
|
|
21001
|
+
i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
|
|
21002
|
+
i0__namespace.ɵɵadvance(3);
|
|
21003
|
+
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
|
|
21004
|
+
i0__namespace.ɵɵadvance(1);
|
|
21005
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(17, 22, "Year"), " ");
|
|
21006
|
+
i0__namespace.ɵɵadvance(2);
|
|
21007
|
+
i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
|
|
21008
|
+
}
|
|
21009
|
+
}, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
|
|
21010
|
+
(function () {
|
|
21011
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
|
|
21012
|
+
type: i0.Component,
|
|
21013
|
+
args: [{
|
|
21014
|
+
selector: 'ccd-query-write-date-input',
|
|
21015
|
+
templateUrl: './query-write-date-input.component.html',
|
|
21016
|
+
providers: [
|
|
21017
|
+
{
|
|
21018
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
21019
|
+
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
21020
|
+
multi: true
|
|
21021
|
+
}
|
|
21022
|
+
]
|
|
21023
|
+
}]
|
|
21024
|
+
}], null, { formControlName: [{
|
|
21025
|
+
type: i0.Input
|
|
21026
|
+
}] });
|
|
21027
|
+
})();
|
|
21028
|
+
|
|
21123
21029
|
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21124
21030
|
function QueryWriteAddDocumentsComponent() {
|
|
21125
21031
|
this.documentFormGroup = new i3.FormGroup({});
|
|
@@ -21127,8 +21033,9 @@
|
|
|
21127
21033
|
// This field is mocked to allow the document component to be used in isolation
|
|
21128
21034
|
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
21129
21035
|
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
21130
|
-
label: 'Add document
|
|
21036
|
+
label: 'Add document',
|
|
21131
21037
|
hint_text: 'Attach a document to this message',
|
|
21038
|
+
display_context: 'OPTIONAL',
|
|
21132
21039
|
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
21133
21040
|
field_type: Object.assign(new FieldType(), {
|
|
21134
21041
|
id: 'queryDocuments',
|
|
@@ -21190,8 +21097,8 @@
|
|
|
21190
21097
|
|
|
21191
21098
|
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21192
21099
|
if (rf & 1) {
|
|
21193
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21194
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21100
|
+
i0__namespace.ɵɵelementStart(0, "p", 28);
|
|
21101
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21195
21102
|
i0__namespace.ɵɵtext(2);
|
|
21196
21103
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21197
21104
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21208,8 +21115,8 @@
|
|
|
21208
21115
|
}
|
|
21209
21116
|
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21210
21117
|
if (rf & 1) {
|
|
21211
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21212
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21118
|
+
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21119
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21213
21120
|
i0__namespace.ɵɵtext(2);
|
|
21214
21121
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21215
21122
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21226,8 +21133,8 @@
|
|
|
21226
21133
|
}
|
|
21227
21134
|
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21228
21135
|
if (rf & 1) {
|
|
21229
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21230
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21136
|
+
i0__namespace.ɵɵelementStart(0, "p", 31);
|
|
21137
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21231
21138
|
i0__namespace.ɵɵtext(2);
|
|
21232
21139
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21233
21140
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21239,7 +21146,28 @@
|
|
|
21239
21146
|
i0__namespace.ɵɵadvance(2);
|
|
21240
21147
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21241
21148
|
i0__namespace.ɵɵadvance(2);
|
|
21242
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
21149
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
|
|
21150
|
+
}
|
|
21151
|
+
}
|
|
21152
|
+
function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) {
|
|
21153
|
+
if (rf & 1) {
|
|
21154
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
21155
|
+
i0__namespace.ɵɵelementStart(1, "div", 32);
|
|
21156
|
+
i0__namespace.ɵɵelementStart(2, "fieldset", 33);
|
|
21157
|
+
i0__namespace.ɵɵelementStart(3, "legend");
|
|
21158
|
+
i0__namespace.ɵɵelementStart(4, "label", 34);
|
|
21159
|
+
i0__namespace.ɵɵtext(5);
|
|
21160
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
21161
|
+
i0__namespace.ɵɵelementEnd();
|
|
21162
|
+
i0__namespace.ɵɵelementEnd();
|
|
21163
|
+
i0__namespace.ɵɵelement(7, "ccd-query-write-date-input", 35);
|
|
21164
|
+
i0__namespace.ɵɵelementEnd();
|
|
21165
|
+
i0__namespace.ɵɵelementEnd();
|
|
21166
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
21167
|
+
}
|
|
21168
|
+
if (rf & 2) {
|
|
21169
|
+
i0__namespace.ɵɵadvance(5);
|
|
21170
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 1, "Hearing date"), " ");
|
|
21243
21171
|
}
|
|
21244
21172
|
}
|
|
21245
21173
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
@@ -21248,7 +21176,7 @@
|
|
|
21248
21176
|
return QueryWriteRaiseQueryComponent;
|
|
21249
21177
|
}());
|
|
21250
21178
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21251
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls:
|
|
21179
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 63, vars: 61, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21252
21180
|
if (rf & 1) {
|
|
21253
21181
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21254
21182
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -21337,6 +21265,7 @@
|
|
|
21337
21265
|
i0__namespace.ɵɵelementEnd();
|
|
21338
21266
|
i0__namespace.ɵɵelementEnd();
|
|
21339
21267
|
i0__namespace.ɵɵelementEnd();
|
|
21268
|
+
i0__namespace.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 8, 3, "ng-container", 27);
|
|
21340
21269
|
i0__namespace.ɵɵelementEnd();
|
|
21341
21270
|
i0__namespace.ɵɵelementEnd();
|
|
21342
21271
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21354,17 +21283,17 @@
|
|
|
21354
21283
|
var tmp_18_0 = null;
|
|
21355
21284
|
var tmp_19_0 = null;
|
|
21356
21285
|
i0__namespace.ɵɵadvance(3);
|
|
21357
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4,
|
|
21286
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 35, "Raise a query"));
|
|
21358
21287
|
i0__namespace.ɵɵadvance(3);
|
|
21359
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21288
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 37, "Enter query details"));
|
|
21360
21289
|
i0__namespace.ɵɵadvance(6);
|
|
21361
21290
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21362
21291
|
i0__namespace.ɵɵadvance(2);
|
|
21363
21292
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
|
|
21364
21293
|
i0__namespace.ɵɵadvance(3);
|
|
21365
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18,
|
|
21294
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 39, "Full name"), " ");
|
|
21366
21295
|
i0__namespace.ɵɵadvance(3);
|
|
21367
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21,
|
|
21296
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
|
|
21368
21297
|
i0__namespace.ɵɵadvance(2);
|
|
21369
21298
|
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21370
21299
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21373,9 +21302,9 @@
|
|
|
21373
21302
|
i0__namespace.ɵɵadvance(1);
|
|
21374
21303
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21375
21304
|
i0__namespace.ɵɵadvance(3);
|
|
21376
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28,
|
|
21305
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 43, "Query subject"), " ");
|
|
21377
21306
|
i0__namespace.ɵɵadvance(3);
|
|
21378
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31,
|
|
21307
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
|
|
21379
21308
|
i0__namespace.ɵɵadvance(2);
|
|
21380
21309
|
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21381
21310
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21384,24 +21313,26 @@
|
|
|
21384
21313
|
i0__namespace.ɵɵadvance(1);
|
|
21385
21314
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21386
21315
|
i0__namespace.ɵɵadvance(3);
|
|
21387
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38,
|
|
21316
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 47, "Query body"), " ");
|
|
21388
21317
|
i0__namespace.ɵɵadvance(3);
|
|
21389
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41,
|
|
21318
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21390
21319
|
i0__namespace.ɵɵadvance(2);
|
|
21391
21320
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21392
21321
|
i0__namespace.ɵɵadvance(1);
|
|
21393
21322
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
|
|
21394
21323
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21395
21324
|
i0__namespace.ɵɵadvance(6);
|
|
21396
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50,
|
|
21325
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
|
|
21397
21326
|
i0__namespace.ɵɵadvance(4);
|
|
21398
21327
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21399
21328
|
i0__namespace.ɵɵadvance(2);
|
|
21400
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56,
|
|
21329
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
|
|
21401
21330
|
i0__namespace.ɵɵadvance(3);
|
|
21402
21331
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21403
21332
|
i0__namespace.ɵɵadvance(2);
|
|
21404
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61,
|
|
21333
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
|
|
21334
|
+
i0__namespace.ɵɵadvance(2);
|
|
21335
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
|
|
21405
21336
|
}
|
|
21406
21337
|
}, encapsulation: 2 });
|
|
21407
21338
|
(function () {
|
|
@@ -21416,28 +21347,10 @@
|
|
|
21416
21347
|
}] });
|
|
21417
21348
|
})();
|
|
21418
21349
|
|
|
21419
|
-
function
|
|
21350
|
+
function QueryWriteRespondToQueryComponent_p_26_Template(rf, ctx) {
|
|
21420
21351
|
if (rf & 1) {
|
|
21421
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21422
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
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);
|
|
21352
|
+
i0__namespace.ɵɵelementStart(0, "p", 15);
|
|
21353
|
+
i0__namespace.ɵɵelementStart(1, "span", 16);
|
|
21441
21354
|
i0__namespace.ɵɵtext(2);
|
|
21442
21355
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21443
21356
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21452,21 +21365,13 @@
|
|
|
21452
21365
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
|
|
21453
21366
|
}
|
|
21454
21367
|
}
|
|
21455
|
-
var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
21456
21368
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21457
|
-
function QueryWriteRespondToQueryComponent(
|
|
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;
|
|
21369
|
+
function QueryWriteRespondToQueryComponent() {
|
|
21462
21370
|
}
|
|
21463
|
-
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21464
|
-
this.caseId = this.route.snapshot.params.cid;
|
|
21465
|
-
};
|
|
21466
21371
|
return QueryWriteRespondToQueryComponent;
|
|
21467
21372
|
}());
|
|
21468
|
-
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(
|
|
21469
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup"
|
|
21373
|
+
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21374
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 29, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21470
21375
|
if (rf & 1) {
|
|
21471
21376
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21472
21377
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21493,82 +21398,50 @@
|
|
|
21493
21398
|
i0__namespace.ɵɵelementEnd();
|
|
21494
21399
|
i0__namespace.ɵɵelementEnd();
|
|
21495
21400
|
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
21496
|
-
i0__namespace.ɵɵelementStart(17, "
|
|
21497
|
-
i0__namespace.ɵɵ
|
|
21498
|
-
i0__namespace.ɵɵ
|
|
21499
|
-
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
21500
|
-
i0__namespace.ɵɵelementEnd();
|
|
21501
|
-
i0__namespace.ɵɵelementStart(21, "div", 9);
|
|
21502
|
-
i0__namespace.ɵɵelementStart(22, "div", 10);
|
|
21503
|
-
i0__namespace.ɵɵelementStart(23, "div", 11);
|
|
21504
|
-
i0__namespace.ɵɵelementStart(24, "label", 12);
|
|
21505
|
-
i0__namespace.ɵɵtext(25);
|
|
21506
|
-
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21507
|
-
i0__namespace.ɵɵelementEnd();
|
|
21508
|
-
i0__namespace.ɵɵelementEnd();
|
|
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");
|
|
21401
|
+
i0__namespace.ɵɵelementStart(17, "h1", 8);
|
|
21402
|
+
i0__namespace.ɵɵtext(18);
|
|
21403
|
+
i0__namespace.ɵɵpipe(19, "rpxTranslate");
|
|
21521
21404
|
i0__namespace.ɵɵelementEnd();
|
|
21405
|
+
i0__namespace.ɵɵelementStart(20, "div", 9);
|
|
21406
|
+
i0__namespace.ɵɵelementStart(21, "div", 10);
|
|
21407
|
+
i0__namespace.ɵɵelementStart(22, "div", 11);
|
|
21408
|
+
i0__namespace.ɵɵelementStart(23, "label", 12);
|
|
21409
|
+
i0__namespace.ɵɵtext(24);
|
|
21410
|
+
i0__namespace.ɵɵpipe(25, "rpxTranslate");
|
|
21522
21411
|
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, " ");
|
|
21526
21412
|
i0__namespace.ɵɵelementEnd();
|
|
21413
|
+
i0__namespace.ɵɵtemplate(26, QueryWriteRespondToQueryComponent_p_26_Template, 6, 6, "p", 13);
|
|
21414
|
+
i0__namespace.ɵɵelementStart(27, "textarea", 14);
|
|
21415
|
+
i0__namespace.ɵɵtext(28, " ");
|
|
21527
21416
|
i0__namespace.ɵɵelementEnd();
|
|
21528
21417
|
i0__namespace.ɵɵelementEnd();
|
|
21529
21418
|
i0__namespace.ɵɵelementEnd();
|
|
21530
21419
|
i0__namespace.ɵɵelementEnd();
|
|
21531
21420
|
}
|
|
21532
21421
|
if (rf & 2) {
|
|
21533
|
-
var
|
|
21534
|
-
var
|
|
21535
|
-
var
|
|
21536
|
-
|
|
21537
|
-
|
|
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"));
|
|
21422
|
+
var tmp_6_0 = null;
|
|
21423
|
+
var tmp_8_0 = null;
|
|
21424
|
+
var tmp_9_0 = null;
|
|
21425
|
+
i0__namespace.ɵɵadvance(2);
|
|
21426
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 13, "Back to tasks"));
|
|
21543
21427
|
i0__namespace.ɵɵadvance(5);
|
|
21544
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
21428
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 15, "Respond to query"));
|
|
21545
21429
|
i0__namespace.ɵɵadvance(3);
|
|
21546
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
21430
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
|
|
21547
21431
|
i0__namespace.ɵɵadvance(5);
|
|
21548
21432
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21549
|
-
i0__namespace.ɵɵadvance(4);
|
|
21550
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 28, "Ask a follow-up question"), " ");
|
|
21551
|
-
i0__namespace.ɵɵadvance(2);
|
|
21552
|
-
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21553
|
-
i0__namespace.ɵɵadvance(1);
|
|
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"), " ");
|
|
21557
21433
|
i0__namespace.ɵɵadvance(3);
|
|
21558
|
-
i0__namespace.ɵɵ
|
|
21434
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 19, "Respond to a query"));
|
|
21559
21435
|
i0__namespace.ɵɵadvance(2);
|
|
21560
|
-
i0__namespace.ɵɵproperty("
|
|
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");
|
|
21436
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21564
21437
|
i0__namespace.ɵɵadvance(1);
|
|
21565
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (
|
|
21438
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21566
21439
|
i0__namespace.ɵɵadvance(3);
|
|
21567
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
21440
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(25, 21, "Response message"), " ");
|
|
21568
21441
|
i0__namespace.ɵɵadvance(2);
|
|
21569
|
-
i0__namespace.ɵɵproperty("ngIf", (
|
|
21442
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
21570
21443
|
i0__namespace.ɵɵadvance(1);
|
|
21571
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", (
|
|
21444
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21572
21445
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21573
21446
|
}
|
|
21574
21447
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -21580,12 +21453,10 @@
|
|
|
21580
21453
|
templateUrl: './query-write-respond-to-query.component.html',
|
|
21581
21454
|
styleUrls: ['./query-write-respond-to-query.component.scss']
|
|
21582
21455
|
}]
|
|
21583
|
-
}],
|
|
21456
|
+
}], null, { queryItem: [{
|
|
21584
21457
|
type: i0.Input
|
|
21585
21458
|
}], formGroup: [{
|
|
21586
21459
|
type: i0.Input
|
|
21587
|
-
}], QueryCreateContext: [{
|
|
21588
|
-
type: i0.Input
|
|
21589
21460
|
}] });
|
|
21590
21461
|
})();
|
|
21591
21462
|
|
|
@@ -21721,24 +21592,9 @@
|
|
|
21721
21592
|
__extends(WriteQueryManagementFieldComponent, _super);
|
|
21722
21593
|
function WriteQueryManagementFieldComponent() {
|
|
21723
21594
|
var _this = _super.call(this) || this;
|
|
21724
|
-
_this.
|
|
21725
|
-
response: new i3.FormControl('', [i3.Validators.required]),
|
|
21726
|
-
documents: new i3.FormControl([])
|
|
21727
|
-
});
|
|
21728
|
-
_this.errorMessages = [];
|
|
21729
|
-
_this.submitted = false;
|
|
21595
|
+
_this.formGroup = new i3.FormGroup({});
|
|
21730
21596
|
return _this;
|
|
21731
21597
|
}
|
|
21732
|
-
WriteQueryManagementFieldComponent.prototype.submitForm = function () {
|
|
21733
|
-
this.submitted = true;
|
|
21734
|
-
this.errorMessages = [];
|
|
21735
|
-
window.scrollTo(0, 0);
|
|
21736
|
-
if (!this.responseFormGroup.valid) {
|
|
21737
|
-
if (this.responseFormGroup.controls.response.hasError('required')) {
|
|
21738
|
-
this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
|
|
21739
|
-
}
|
|
21740
|
-
}
|
|
21741
|
-
};
|
|
21742
21598
|
return WriteQueryManagementFieldComponent;
|
|
21743
21599
|
}(AbstractFieldReadComponent));
|
|
21744
21600
|
WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
|
|
@@ -29514,8 +29370,8 @@
|
|
|
29514
29370
|
QueryWriteRespondToQueryComponent,
|
|
29515
29371
|
QueryWriteRaiseQueryComponent,
|
|
29516
29372
|
QueryCaseDetailsHeaderComponent,
|
|
29517
|
-
QueryCheckYourAnswersComponent,
|
|
29518
29373
|
QueryWriteAddDocumentsComponent,
|
|
29374
|
+
QueryWriteDateInputComponent
|
|
29519
29375
|
];
|
|
29520
29376
|
var PaletteModule = /** @class */ (function () {
|
|
29521
29377
|
function PaletteModule() {
|
|
@@ -29701,8 +29557,8 @@
|
|
|
29701
29557
|
QueryWriteRespondToQueryComponent,
|
|
29702
29558
|
QueryWriteRaiseQueryComponent,
|
|
29703
29559
|
QueryCaseDetailsHeaderComponent,
|
|
29704
|
-
|
|
29705
|
-
|
|
29560
|
+
QueryWriteAddDocumentsComponent,
|
|
29561
|
+
QueryWriteDateInputComponent], imports: [i5.CommonModule,
|
|
29706
29562
|
i1$1.RouterModule,
|
|
29707
29563
|
i3.FormsModule,
|
|
29708
29564
|
i3.ReactiveFormsModule,
|
|
@@ -29849,8 +29705,8 @@
|
|
|
29849
29705
|
QueryWriteRespondToQueryComponent,
|
|
29850
29706
|
QueryWriteRaiseQueryComponent,
|
|
29851
29707
|
QueryCaseDetailsHeaderComponent,
|
|
29852
|
-
|
|
29853
|
-
|
|
29708
|
+
QueryWriteAddDocumentsComponent,
|
|
29709
|
+
QueryWriteDateInputComponent] });
|
|
29854
29710
|
})();
|
|
29855
29711
|
(function () {
|
|
29856
29712
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -29994,11 +29850,9 @@
|
|
|
29994
29850
|
QueryDetailsComponent], []);
|
|
29995
29851
|
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
29996
29852
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29997
|
-
i0__namespace.ɵɵsetComponentScope(
|
|
29998
|
-
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1__namespace$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
|
|
29853
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
29999
29854
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
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]);
|
|
30001
|
-
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29855
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
|
|
30002
29856
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
30003
29857
|
|
|
30004
29858
|
var Confirmation = /** @class */ (function () {
|
|
@@ -40616,7 +40470,6 @@
|
|
|
40616
40470
|
exports.ProfileNotifier = ProfileNotifier;
|
|
40617
40471
|
exports.ProfileService = ProfileService;
|
|
40618
40472
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
40619
|
-
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
40620
40473
|
exports.QueryCreateComponent = QueryCreateComponent;
|
|
40621
40474
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
40622
40475
|
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
@@ -40624,6 +40477,7 @@
|
|
|
40624
40477
|
exports.QueryListData = QueryListData;
|
|
40625
40478
|
exports.QueryListItem = QueryListItem;
|
|
40626
40479
|
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40480
|
+
exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
|
|
40627
40481
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40628
40482
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40629
40483
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|
|
@@ -40736,7 +40590,6 @@
|
|
|
40736
40590
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
40737
40591
|
exports.YesNoService = YesNoService;
|
|
40738
40592
|
exports.aCaseField = aCaseField;
|
|
40739
|
-
exports.caseFieldMockData = caseFieldMockData;
|
|
40740
40593
|
exports.createACL = createACL;
|
|
40741
40594
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
40742
40595
|
exports.createCaseField = createCaseField;
|