@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-v1 → 6.16.0-query-management-document-uploader-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +551 -897
- 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/case-viewer/case-full-access-view/case-full-access-view.component.js +1 -1
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +31 -33
- package/esm2015/lib/shared/components/palette/palette.module.js +7 -9
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +1 -27
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -3
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +66 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +91 -178
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +46 -133
- 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-item/query-list-item.model.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +12 -49
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +399 -731
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +3 -2
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +2 -2
- 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-write/query-write-add-documents/query-write-add-documents.component.d.ts +17 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +1 -3
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +2 -6
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/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-item/query-list-item.model.d.ts +0 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +1 -6
- 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 -161
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +0 -14
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.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);
|
|
@@ -13173,40 +13173,41 @@
|
|
|
13173
13173
|
function WriteCollectionFieldComponent_div_10_div_1_Template(rf, ctx) {
|
|
13174
13174
|
if (rf & 1) {
|
|
13175
13175
|
var _r10_1 = i0__namespace.ɵɵgetCurrentView();
|
|
13176
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
13177
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
13178
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
13179
|
-
i0__namespace.ɵɵelementStart(4, "label",
|
|
13180
|
-
i0__namespace.ɵɵelementStart(5, "h3",
|
|
13176
|
+
i0__namespace.ɵɵelementStart(0, "div", 0, 13);
|
|
13177
|
+
i0__namespace.ɵɵelementStart(2, "div", 14);
|
|
13178
|
+
i0__namespace.ɵɵelementStart(3, "div", 15);
|
|
13179
|
+
i0__namespace.ɵɵelementStart(4, "label", 16);
|
|
13180
|
+
i0__namespace.ɵɵelementStart(5, "h3", 17);
|
|
13181
13181
|
i0__namespace.ɵɵtext(6);
|
|
13182
13182
|
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
13183
13183
|
i0__namespace.ɵɵelementEnd();
|
|
13184
13184
|
i0__namespace.ɵɵelementEnd();
|
|
13185
13185
|
i0__namespace.ɵɵelementEnd();
|
|
13186
|
-
i0__namespace.ɵɵelementStart(8, "div",
|
|
13187
|
-
i0__namespace.ɵɵelementStart(9, "button",
|
|
13186
|
+
i0__namespace.ɵɵelementStart(8, "div", 18);
|
|
13187
|
+
i0__namespace.ɵɵelementStart(9, "button", 19);
|
|
13188
13188
|
i0__namespace.ɵɵlistener("click", function WriteCollectionFieldComponent_div_10_div_1_Template_button_click_9_listener() { i0__namespace.ɵɵrestoreView(_r10_1); var i_r7 = ctx.index; var ctx_r9 = i0__namespace.ɵɵnextContext(2); return ctx_r9.openModal(i_r7); });
|
|
13189
13189
|
i0__namespace.ɵɵtext(10);
|
|
13190
13190
|
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
13191
13191
|
i0__namespace.ɵɵelementEnd();
|
|
13192
13192
|
i0__namespace.ɵɵelementEnd();
|
|
13193
13193
|
i0__namespace.ɵɵelementEnd();
|
|
13194
|
-
i0__namespace.ɵɵelement(12, "ccd-field-write",
|
|
13194
|
+
i0__namespace.ɵɵelement(12, "ccd-field-write", 20);
|
|
13195
13195
|
i0__namespace.ɵɵelementEnd();
|
|
13196
13196
|
}
|
|
13197
13197
|
if (rf & 2) {
|
|
13198
13198
|
var item_r6 = ctx.$implicit;
|
|
13199
13199
|
var i_r7 = ctx.index;
|
|
13200
13200
|
var ctx_r5 = i0__namespace.ɵɵnextContext(2);
|
|
13201
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.buildIdPrefix(i_r7) + i_r7);
|
|
13201
13202
|
i0__namespace.ɵɵadvance(4);
|
|
13202
13203
|
i0__namespace.ɵɵproperty("for", item_r6.prefix + i_r7);
|
|
13203
13204
|
i0__namespace.ɵɵadvance(2);
|
|
13204
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
13205
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 14, ctx_r5.itemLabel(i_r7)));
|
|
13205
13206
|
i0__namespace.ɵɵadvance(3);
|
|
13206
13207
|
i0__namespace.ɵɵattributeInterpolate1("aria-label", "Remove ", ctx_r5.itemLabel(i_r7), "");
|
|
13207
13208
|
i0__namespace.ɵɵproperty("disabled", ctx_r5.isNotAuthorisedToDelete(i_r7));
|
|
13208
13209
|
i0__namespace.ɵɵadvance(1);
|
|
13209
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
13210
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 16, "Remove"));
|
|
13210
13211
|
i0__namespace.ɵɵadvance(2);
|
|
13211
13212
|
i0__namespace.ɵɵproperty("caseField", item_r6.caseField)("caseFields", ctx_r5.caseFields)("formGroup", ctx_r5.formGroup)("parent", item_r6.container)("idPrefix", item_r6.prefix)("hidden", item_r6.caseField.hidden)("isExpanded", ctx_r5.isExpanded)("isInSearchBlock", ctx_r5.isInSearchBlock);
|
|
13212
13213
|
}
|
|
@@ -13214,7 +13215,7 @@
|
|
|
13214
13215
|
function WriteCollectionFieldComponent_div_10_Template(rf, ctx) {
|
|
13215
13216
|
if (rf & 1) {
|
|
13216
13217
|
i0__namespace.ɵɵelementStart(0, "div", 11);
|
|
13217
|
-
i0__namespace.ɵɵtemplate(1, WriteCollectionFieldComponent_div_10_div_1_Template, 13,
|
|
13218
|
+
i0__namespace.ɵɵtemplate(1, WriteCollectionFieldComponent_div_10_div_1_Template, 13, 18, "div", 12);
|
|
13218
13219
|
i0__namespace.ɵɵelementEnd();
|
|
13219
13220
|
}
|
|
13220
13221
|
if (rf & 2) {
|
|
@@ -13227,7 +13228,7 @@
|
|
|
13227
13228
|
function WriteCollectionFieldComponent_button_11_Template(rf, ctx) {
|
|
13228
13229
|
if (rf & 1) {
|
|
13229
13230
|
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
13230
|
-
i0__namespace.ɵɵelementStart(0, "button",
|
|
13231
|
+
i0__namespace.ɵɵelementStart(0, "button", 21);
|
|
13231
13232
|
i0__namespace.ɵɵlistener("click", function WriteCollectionFieldComponent_button_11_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.addItem(false); });
|
|
13232
13233
|
i0__namespace.ɵɵtext(1);
|
|
13233
13234
|
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -13242,11 +13243,12 @@
|
|
|
13242
13243
|
}
|
|
13243
13244
|
var WriteCollectionFieldComponent = /** @class */ (function (_super) {
|
|
13244
13245
|
__extends(WriteCollectionFieldComponent, _super);
|
|
13245
|
-
function WriteCollectionFieldComponent(dialog, scrollToService, profileNotifier) {
|
|
13246
|
+
function WriteCollectionFieldComponent(dialog, scrollToService, profileNotifier, cdRef) {
|
|
13246
13247
|
var _this = _super.call(this) || this;
|
|
13247
13248
|
_this.dialog = dialog;
|
|
13248
13249
|
_this.scrollToService = scrollToService;
|
|
13249
13250
|
_this.profileNotifier = profileNotifier;
|
|
13251
|
+
_this.cdRef = cdRef;
|
|
13250
13252
|
_this.caseFields = [];
|
|
13251
13253
|
_this.collItems = [];
|
|
13252
13254
|
return _this;
|
|
@@ -13364,8 +13366,9 @@
|
|
|
13364
13366
|
return cf;
|
|
13365
13367
|
};
|
|
13366
13368
|
WriteCollectionFieldComponent.prototype.buildIdPrefix = function (index) {
|
|
13369
|
+
var _a;
|
|
13367
13370
|
var prefix = "" + this.idPrefix + this.caseField.id + "_";
|
|
13368
|
-
if (this.caseField.field_type.collection_field_type.type === 'Complex') {
|
|
13371
|
+
if (((_a = this.caseField.field_type.collection_field_type) === null || _a === void 0 ? void 0 : _a.type) === 'Complex') {
|
|
13369
13372
|
return "" + prefix + index + "_";
|
|
13370
13373
|
}
|
|
13371
13374
|
return prefix;
|
|
@@ -13374,7 +13377,6 @@
|
|
|
13374
13377
|
return this.isInSearchBlock && this.collItems.length > 0;
|
|
13375
13378
|
};
|
|
13376
13379
|
WriteCollectionFieldComponent.prototype.addItem = function (doScroll) {
|
|
13377
|
-
var _this = this;
|
|
13378
13380
|
// Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
|
|
13379
13381
|
this.formArray.setErrors(null);
|
|
13380
13382
|
var item = { value: null };
|
|
@@ -13389,21 +13391,17 @@
|
|
|
13389
13391
|
var prefix = this.buildIdPrefix(index);
|
|
13390
13392
|
var container = this.getContainer(index);
|
|
13391
13393
|
this.collItems.push({ caseField: caseField, item: item, index: index, prefix: prefix, container: container });
|
|
13392
|
-
//
|
|
13394
|
+
// Update DOM required after pushing a new item to do the next steps (i.e. scrolling and focusing)
|
|
13395
|
+
this.cdRef.detectChanges();
|
|
13393
13396
|
if (doScroll) {
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
})
|
|
13400
|
-
.pipe(operators.finalize(function () { return _this.focusLastItem(); }))
|
|
13401
|
-
.subscribe(function () { }, console.error);
|
|
13402
|
-
});
|
|
13403
|
-
}
|
|
13404
|
-
else {
|
|
13405
|
-
setTimeout(function () { return _this.focusLastItem(); });
|
|
13397
|
+
this.scrollToService.scrollTo({
|
|
13398
|
+
target: "" + this.buildIdPrefix(index) + index,
|
|
13399
|
+
duration: 1000,
|
|
13400
|
+
offset: -150,
|
|
13401
|
+
})
|
|
13402
|
+
.subscribe(function () { }, console.error);
|
|
13406
13403
|
}
|
|
13404
|
+
this.focusLastItem();
|
|
13407
13405
|
};
|
|
13408
13406
|
WriteCollectionFieldComponent.prototype.isCollectionDynamic = function () {
|
|
13409
13407
|
if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
|
|
@@ -13557,16 +13555,16 @@
|
|
|
13557
13555
|
};
|
|
13558
13556
|
return WriteCollectionFieldComponent;
|
|
13559
13557
|
}(AbstractFieldWriteComponent));
|
|
13560
|
-
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)); };
|
|
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)); };
|
|
13561
13559
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13562
13560
|
if (rf & 1) {
|
|
13563
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13561
|
+
i0__namespace.ɵɵviewQuery(_c0$Q, 1);
|
|
13564
13562
|
}
|
|
13565
13563
|
if (rf & 2) {
|
|
13566
13564
|
var _t = void 0;
|
|
13567
13565
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.items = _t);
|
|
13568
13566
|
}
|
|
13569
|
-
}, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 12, vars: 13, consts: [[1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "disabled", "click"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [1, "error-message"], [1, "form-group", 3, "hidden"], ["class", "form-group",
|
|
13567
|
+
}, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 12, vars: 13, consts: [[1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "disabled", "click"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [1, "error-message"], [1, "form-group", 3, "hidden"], ["class", "form-group", 3, "id", 4, "ngFor", "ngForOf"], ["collectionItem", ""], [1, "collection-title"], [1, "float-left"], [3, "for"], [1, "heading-h3"], [1, "float-right"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], [3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"], ["type", "button", 1, "button", "write-collection-add-item__bottom", 3, "disabled", "click"]], template: function WriteCollectionFieldComponent_Template(rf, ctx) {
|
|
13570
13568
|
if (rf & 1) {
|
|
13571
13569
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
13572
13570
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -13610,7 +13608,7 @@
|
|
|
13610
13608
|
templateUrl: './write-collection-field.html',
|
|
13611
13609
|
styleUrls: ['./collection-field.scss']
|
|
13612
13610
|
}]
|
|
13613
|
-
}], function () { return [{ type: i1__namespace$3.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
13611
|
+
}], function () { return [{ type: i1__namespace$3.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }, { type: i0__namespace.ChangeDetectorRef }]; }, { caseFields: [{
|
|
13614
13612
|
type: i0.Input
|
|
13615
13613
|
}], formGroup: [{
|
|
13616
13614
|
type: i0.Input
|
|
@@ -14273,7 +14271,7 @@
|
|
|
14273
14271
|
}], null, null);
|
|
14274
14272
|
})();
|
|
14275
14273
|
|
|
14276
|
-
var _c0$
|
|
14274
|
+
var _c0$P = ["fileInput"];
|
|
14277
14275
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
14278
14276
|
if (rf & 1) {
|
|
14279
14277
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14569,7 +14567,7 @@
|
|
|
14569
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)); };
|
|
14570
14568
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14571
14569
|
if (rf & 1) {
|
|
14572
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14570
|
+
i0__namespace.ɵɵviewQuery(_c0$P, 1);
|
|
14573
14571
|
}
|
|
14574
14572
|
if (rf & 2) {
|
|
14575
14573
|
var _t = void 0;
|
|
@@ -14783,7 +14781,7 @@
|
|
|
14783
14781
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
14784
14782
|
}
|
|
14785
14783
|
}
|
|
14786
|
-
var _c0$
|
|
14784
|
+
var _c0$O = function (a0) { return { "form-group-error": a0 }; };
|
|
14787
14785
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
14788
14786
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
14789
14787
|
function WriteDynamicListFieldComponent() {
|
|
@@ -14833,7 +14831,7 @@
|
|
|
14833
14831
|
i0__namespace.ɵɵelementEnd();
|
|
14834
14832
|
}
|
|
14835
14833
|
if (rf & 2) {
|
|
14836
|
-
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)));
|
|
14837
14835
|
i0__namespace.ɵɵadvance(1);
|
|
14838
14836
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14839
14837
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15011,7 +15009,7 @@
|
|
|
15011
15009
|
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
15012
15010
|
}
|
|
15013
15011
|
}
|
|
15014
|
-
var _c0$
|
|
15012
|
+
var _c0$N = function (a0) { return { "error": a0 }; };
|
|
15015
15013
|
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15016
15014
|
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
15017
15015
|
function WriteDynamicMultiSelectListFieldComponent() {
|
|
@@ -15094,7 +15092,7 @@
|
|
|
15094
15092
|
i0__namespace.ɵɵelementEnd();
|
|
15095
15093
|
}
|
|
15096
15094
|
if (rf & 2) {
|
|
15097
|
-
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());
|
|
15098
15096
|
i0__namespace.ɵɵadvance(3);
|
|
15099
15097
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15100
15098
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15245,7 +15243,7 @@
|
|
|
15245
15243
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
15246
15244
|
}
|
|
15247
15245
|
}
|
|
15248
|
-
var _c0$
|
|
15246
|
+
var _c0$M = function (a0) { return { selected: a0 }; };
|
|
15249
15247
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15250
15248
|
if (rf & 1) {
|
|
15251
15249
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -15258,7 +15256,7 @@
|
|
|
15258
15256
|
if (rf & 2) {
|
|
15259
15257
|
var radioButton_r5 = ctx.$implicit;
|
|
15260
15258
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
15261
|
-
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));
|
|
15262
15260
|
i0__namespace.ɵɵadvance(1);
|
|
15263
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);
|
|
15264
15262
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15425,7 +15423,7 @@
|
|
|
15425
15423
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
15426
15424
|
}
|
|
15427
15425
|
}
|
|
15428
|
-
var _c0$
|
|
15426
|
+
var _c0$L = function (a0) { return { "form-group-error": a0 }; };
|
|
15429
15427
|
var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15430
15428
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15431
15429
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -15450,7 +15448,7 @@
|
|
|
15450
15448
|
i0__namespace.ɵɵelementEnd();
|
|
15451
15449
|
}
|
|
15452
15450
|
if (rf & 2) {
|
|
15453
|
-
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)));
|
|
15454
15452
|
i0__namespace.ɵɵadvance(1);
|
|
15455
15453
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15456
15454
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15561,7 +15559,7 @@
|
|
|
15561
15559
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
15562
15560
|
}
|
|
15563
15561
|
}
|
|
15564
|
-
var _c0$
|
|
15562
|
+
var _c0$K = function (a0) { return { "form-group-error": a0 }; };
|
|
15565
15563
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
15566
15564
|
__extends(WriteFixedListFieldComponent, _super);
|
|
15567
15565
|
function WriteFixedListFieldComponent() {
|
|
@@ -15610,7 +15608,7 @@
|
|
|
15610
15608
|
i0__namespace.ɵɵelementEnd();
|
|
15611
15609
|
}
|
|
15612
15610
|
if (rf & 2) {
|
|
15613
|
-
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)));
|
|
15614
15612
|
i0__namespace.ɵɵadvance(1);
|
|
15615
15613
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15616
15614
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15732,7 +15730,7 @@
|
|
|
15732
15730
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
15733
15731
|
}
|
|
15734
15732
|
}
|
|
15735
|
-
var _c0$
|
|
15733
|
+
var _c0$J = function (a0) { return { selected: a0 }; };
|
|
15736
15734
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
15737
15735
|
if (rf & 1) {
|
|
15738
15736
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -15746,7 +15744,7 @@
|
|
|
15746
15744
|
if (rf & 2) {
|
|
15747
15745
|
var radioButton_r4 = ctx.$implicit;
|
|
15748
15746
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15749
|
-
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));
|
|
15750
15748
|
i0__namespace.ɵɵadvance(1);
|
|
15751
15749
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
15752
15750
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15916,7 +15914,7 @@
|
|
|
15916
15914
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
15917
15915
|
}
|
|
15918
15916
|
}
|
|
15919
|
-
var _c0$
|
|
15917
|
+
var _c0$I = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
15920
15918
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
|
|
15921
15919
|
if (rf & 1) {
|
|
15922
15920
|
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -15928,7 +15926,7 @@
|
|
|
15928
15926
|
if (rf & 2) {
|
|
15929
15927
|
var judicialUser_r5 = ctx.$implicit;
|
|
15930
15928
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15931
|
-
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);
|
|
15932
15930
|
i0__namespace.ɵɵadvance(1);
|
|
15933
15931
|
i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
15934
15932
|
}
|
|
@@ -16742,7 +16740,7 @@
|
|
|
16742
16740
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
16743
16741
|
}
|
|
16744
16742
|
}
|
|
16745
|
-
var _c0$
|
|
16743
|
+
var _c0$H = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16746
16744
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
16747
16745
|
if (rf & 1) {
|
|
16748
16746
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -16760,7 +16758,7 @@
|
|
|
16760
16758
|
}
|
|
16761
16759
|
if (rf & 2) {
|
|
16762
16760
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
16763
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
16761
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$H, !!ctx_r7.caseReasonCommentsError));
|
|
16764
16762
|
i0__namespace.ɵɵadvance(3);
|
|
16765
16763
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
16766
16764
|
}
|
|
@@ -16817,11 +16815,11 @@
|
|
|
16817
16815
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
16818
16816
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
16819
16817
|
i0__namespace.ɵɵadvance(1);
|
|
16820
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
16818
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$H, !!ctx_r0.caseNumberError));
|
|
16821
16819
|
i0__namespace.ɵɵadvance(3);
|
|
16822
16820
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
16823
16821
|
i0__namespace.ɵɵadvance(2);
|
|
16824
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
16822
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$H, !!ctx_r0.caseReasonError));
|
|
16825
16823
|
i0__namespace.ɵɵadvance(5);
|
|
16826
16824
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
16827
16825
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17255,7 +17253,7 @@
|
|
|
17255
17253
|
i0__namespace.ɵɵadvance(4);
|
|
17256
17254
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17257
17255
|
i0__namespace.ɵɵadvance(4);
|
|
17258
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
17256
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$H, !!ctx.noSelectedCaseError));
|
|
17259
17257
|
i0__namespace.ɵɵadvance(1);
|
|
17260
17258
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17261
17259
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -17964,7 +17962,7 @@
|
|
|
17964
17962
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
17965
17963
|
}
|
|
17966
17964
|
}
|
|
17967
|
-
var _c0$
|
|
17965
|
+
var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17968
17966
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
17969
17967
|
if (rf & 1) {
|
|
17970
17968
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -17976,7 +17974,7 @@
|
|
|
17976
17974
|
}
|
|
17977
17975
|
if (rf & 2) {
|
|
17978
17976
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
17979
|
-
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);
|
|
17980
17978
|
i0__namespace.ɵɵadvance(1);
|
|
17981
17979
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
17982
17980
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -18865,7 +18863,7 @@
|
|
|
18865
18863
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
18866
18864
|
}
|
|
18867
18865
|
}
|
|
18868
|
-
var _c0$
|
|
18866
|
+
var _c0$F = function (a0) { return { "form-group-error": a0 }; };
|
|
18869
18867
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
18870
18868
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
18871
18869
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -18895,7 +18893,7 @@
|
|
|
18895
18893
|
i0__namespace.ɵɵelementEnd();
|
|
18896
18894
|
}
|
|
18897
18895
|
if (rf & 2) {
|
|
18898
|
-
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)));
|
|
18899
18897
|
i0__namespace.ɵɵadvance(1);
|
|
18900
18898
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
18901
18899
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19050,7 +19048,7 @@
|
|
|
19050
19048
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
19051
19049
|
}
|
|
19052
19050
|
}
|
|
19053
|
-
var _c0$
|
|
19051
|
+
var _c0$E = function (a0) { return { "error": a0 }; };
|
|
19054
19052
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19055
19053
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
19056
19054
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -19114,7 +19112,7 @@
|
|
|
19114
19112
|
i0__namespace.ɵɵelementEnd();
|
|
19115
19113
|
}
|
|
19116
19114
|
if (rf & 2) {
|
|
19117
|
-
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());
|
|
19118
19116
|
i0__namespace.ɵɵadvance(3);
|
|
19119
19117
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19120
19118
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19208,7 +19206,7 @@
|
|
|
19208
19206
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
|
|
19209
19207
|
}
|
|
19210
19208
|
}
|
|
19211
|
-
var _c0$
|
|
19209
|
+
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
19212
19210
|
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19213
19211
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
19214
19212
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -19233,7 +19231,7 @@
|
|
|
19233
19231
|
i0__namespace.ɵɵelementEnd();
|
|
19234
19232
|
}
|
|
19235
19233
|
if (rf & 2) {
|
|
19236
|
-
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));
|
|
19237
19235
|
i0__namespace.ɵɵadvance(1);
|
|
19238
19236
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19239
19237
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19572,7 +19570,7 @@
|
|
|
19572
19570
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
19573
19571
|
}
|
|
19574
19572
|
}
|
|
19575
|
-
var _c0$
|
|
19573
|
+
var _c0$C = function (a0) { return { "scroll-container ": a0 }; };
|
|
19576
19574
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
19577
19575
|
if (rf & 1) {
|
|
19578
19576
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -19588,7 +19586,7 @@
|
|
|
19588
19586
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
19589
19587
|
var tmp_0_0 = null;
|
|
19590
19588
|
var tmp_2_0 = null;
|
|
19591
|
-
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));
|
|
19592
19590
|
i0__namespace.ɵɵadvance(2);
|
|
19593
19591
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19594
19592
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -20086,7 +20084,7 @@
|
|
|
20086
20084
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
20087
20085
|
}
|
|
20088
20086
|
}
|
|
20089
|
-
var _c0$
|
|
20087
|
+
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
20090
20088
|
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20091
20089
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
20092
20090
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
@@ -20111,7 +20109,7 @@
|
|
|
20111
20109
|
i0__namespace.ɵɵelementEnd();
|
|
20112
20110
|
}
|
|
20113
20111
|
if (rf & 2) {
|
|
20114
|
-
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)));
|
|
20115
20113
|
i0__namespace.ɵɵadvance(1);
|
|
20116
20114
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20117
20115
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20254,31 +20252,99 @@
|
|
|
20254
20252
|
]
|
|
20255
20253
|
}
|
|
20256
20254
|
];
|
|
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
|
-
|
|
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);
|
|
20286
|
+
},
|
|
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 = {}));
|
|
20282
20348
|
|
|
20283
20349
|
var MarkdownComponent = /** @class */ (function () {
|
|
20284
20350
|
function MarkdownComponent() {
|
|
@@ -20419,168 +20485,6 @@
|
|
|
20419
20485
|
}], function () { return []; }, null);
|
|
20420
20486
|
})();
|
|
20421
20487
|
|
|
20422
|
-
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20423
|
-
if (rf & 1) {
|
|
20424
|
-
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
20425
|
-
i0__namespace.ɵɵelementStart(1, "th", 4);
|
|
20426
|
-
i0__namespace.ɵɵtext(2);
|
|
20427
|
-
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20428
|
-
i0__namespace.ɵɵelementEnd();
|
|
20429
|
-
i0__namespace.ɵɵelementStart(4, "td", 5);
|
|
20430
|
-
i0__namespace.ɵɵtext(5);
|
|
20431
|
-
i0__namespace.ɵɵpipe(6, "date");
|
|
20432
|
-
i0__namespace.ɵɵelementEnd();
|
|
20433
|
-
i0__namespace.ɵɵelementEnd();
|
|
20434
|
-
}
|
|
20435
|
-
if (rf & 2) {
|
|
20436
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
20437
|
-
i0__namespace.ɵɵadvance(2);
|
|
20438
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "What is the date of the hearing your query related to?"));
|
|
20439
|
-
i0__namespace.ɵɵadvance(3);
|
|
20440
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
20441
|
-
}
|
|
20442
|
-
}
|
|
20443
|
-
function QueryDetailsTableComponent_ng_container_0_div_41_Template(rf, ctx) {
|
|
20444
|
-
if (rf & 1) {
|
|
20445
|
-
i0__namespace.ɵɵelementStart(0, "div");
|
|
20446
|
-
i0__namespace.ɵɵelementStart(1, "a", 8);
|
|
20447
|
-
i0__namespace.ɵɵtext(2);
|
|
20448
|
-
i0__namespace.ɵɵelementEnd();
|
|
20449
|
-
i0__namespace.ɵɵelementEnd();
|
|
20450
|
-
}
|
|
20451
|
-
if (rf & 2) {
|
|
20452
|
-
var attachment_r3 = ctx.$implicit;
|
|
20453
|
-
i0__namespace.ɵɵadvance(1);
|
|
20454
|
-
i0__namespace.ɵɵproperty("href", attachment_r3._links.self.href, i0__namespace.ɵɵsanitizeUrl);
|
|
20455
|
-
i0__namespace.ɵɵadvance(1);
|
|
20456
|
-
i0__namespace.ɵɵtextInterpolate(attachment_r3.originalDocumentName);
|
|
20457
|
-
}
|
|
20458
|
-
}
|
|
20459
|
-
function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) {
|
|
20460
|
-
if (rf & 1) {
|
|
20461
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20462
|
-
i0__namespace.ɵɵelementStart(1, "table", 1);
|
|
20463
|
-
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
20464
|
-
i0__namespace.ɵɵelementStart(3, "tbody", 2);
|
|
20465
|
-
i0__namespace.ɵɵelementStart(4, "tr", 3);
|
|
20466
|
-
i0__namespace.ɵɵelementStart(5, "th", 4);
|
|
20467
|
-
i0__namespace.ɵɵtext(6);
|
|
20468
|
-
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
20469
|
-
i0__namespace.ɵɵelementEnd();
|
|
20470
|
-
i0__namespace.ɵɵelementStart(8, "td", 5);
|
|
20471
|
-
i0__namespace.ɵɵtext(9);
|
|
20472
|
-
i0__namespace.ɵɵelementEnd();
|
|
20473
|
-
i0__namespace.ɵɵelementEnd();
|
|
20474
|
-
i0__namespace.ɵɵelementStart(10, "tr", 3);
|
|
20475
|
-
i0__namespace.ɵɵelementStart(11, "th", 4);
|
|
20476
|
-
i0__namespace.ɵɵtext(12);
|
|
20477
|
-
i0__namespace.ɵɵpipe(13, "rpxTranslate");
|
|
20478
|
-
i0__namespace.ɵɵelementEnd();
|
|
20479
|
-
i0__namespace.ɵɵelementStart(14, "td", 5);
|
|
20480
|
-
i0__namespace.ɵɵtext(15);
|
|
20481
|
-
i0__namespace.ɵɵpipe(16, "date");
|
|
20482
|
-
i0__namespace.ɵɵelementEnd();
|
|
20483
|
-
i0__namespace.ɵɵelementEnd();
|
|
20484
|
-
i0__namespace.ɵɵelementStart(17, "tr", 3);
|
|
20485
|
-
i0__namespace.ɵɵelementStart(18, "th", 4);
|
|
20486
|
-
i0__namespace.ɵɵtext(19);
|
|
20487
|
-
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
20488
|
-
i0__namespace.ɵɵelementEnd();
|
|
20489
|
-
i0__namespace.ɵɵelementStart(21, "td", 5);
|
|
20490
|
-
i0__namespace.ɵɵtext(22);
|
|
20491
|
-
i0__namespace.ɵɵelementEnd();
|
|
20492
|
-
i0__namespace.ɵɵelementEnd();
|
|
20493
|
-
i0__namespace.ɵɵelementStart(23, "tr", 3);
|
|
20494
|
-
i0__namespace.ɵɵelementStart(24, "th", 4);
|
|
20495
|
-
i0__namespace.ɵɵtext(25);
|
|
20496
|
-
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
20497
|
-
i0__namespace.ɵɵelementEnd();
|
|
20498
|
-
i0__namespace.ɵɵelementStart(27, "td", 5);
|
|
20499
|
-
i0__namespace.ɵɵtext(28);
|
|
20500
|
-
i0__namespace.ɵɵelementEnd();
|
|
20501
|
-
i0__namespace.ɵɵelementEnd();
|
|
20502
|
-
i0__namespace.ɵɵelementStart(29, "tr", 3);
|
|
20503
|
-
i0__namespace.ɵɵelementStart(30, "th", 4);
|
|
20504
|
-
i0__namespace.ɵɵtext(31);
|
|
20505
|
-
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
20506
|
-
i0__namespace.ɵɵelementEnd();
|
|
20507
|
-
i0__namespace.ɵɵelementStart(33, "td", 5);
|
|
20508
|
-
i0__namespace.ɵɵtext(34);
|
|
20509
|
-
i0__namespace.ɵɵelementEnd();
|
|
20510
|
-
i0__namespace.ɵɵelementEnd();
|
|
20511
|
-
i0__namespace.ɵɵtemplate(35, QueryDetailsTableComponent_ng_container_0_tr_35_Template, 7, 7, "tr", 6);
|
|
20512
|
-
i0__namespace.ɵɵelementStart(36, "tr", 3);
|
|
20513
|
-
i0__namespace.ɵɵelementStart(37, "th", 4);
|
|
20514
|
-
i0__namespace.ɵɵtext(38);
|
|
20515
|
-
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
20516
|
-
i0__namespace.ɵɵelementEnd();
|
|
20517
|
-
i0__namespace.ɵɵelementStart(40, "td", 5);
|
|
20518
|
-
i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_div_41_Template, 3, 2, "div", 7);
|
|
20519
|
-
i0__namespace.ɵɵelementEnd();
|
|
20520
|
-
i0__namespace.ɵɵelementEnd();
|
|
20521
|
-
i0__namespace.ɵɵelementEnd();
|
|
20522
|
-
i0__namespace.ɵɵelementEnd();
|
|
20523
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20524
|
-
}
|
|
20525
|
-
if (rf & 2) {
|
|
20526
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20527
|
-
i0__namespace.ɵɵadvance(1);
|
|
20528
|
-
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 14, "Details of the query"));
|
|
20529
|
-
i0__namespace.ɵɵadvance(5);
|
|
20530
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 16, "Last submitted by"));
|
|
20531
|
-
i0__namespace.ɵɵadvance(3);
|
|
20532
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
20533
|
-
i0__namespace.ɵɵadvance(3);
|
|
20534
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 18, "Submission date"));
|
|
20535
|
-
i0__namespace.ɵɵadvance(3);
|
|
20536
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 20, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
20537
|
-
i0__namespace.ɵɵadvance(4);
|
|
20538
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 23, "Query subject"));
|
|
20539
|
-
i0__namespace.ɵɵadvance(3);
|
|
20540
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
20541
|
-
i0__namespace.ɵɵadvance(3);
|
|
20542
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 25, "Query body"));
|
|
20543
|
-
i0__namespace.ɵɵadvance(3);
|
|
20544
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
|
|
20545
|
-
i0__namespace.ɵɵadvance(3);
|
|
20546
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(32, 27, "Is the query hearing related?"));
|
|
20547
|
-
i0__namespace.ɵɵadvance(3);
|
|
20548
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
|
|
20549
|
-
i0__namespace.ɵɵadvance(1);
|
|
20550
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
|
|
20551
|
-
i0__namespace.ɵɵadvance(3);
|
|
20552
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(39, 29, "Attachments"));
|
|
20553
|
-
i0__namespace.ɵɵadvance(3);
|
|
20554
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
|
|
20555
|
-
}
|
|
20556
|
-
}
|
|
20557
|
-
var QueryDetailsTableComponent = /** @class */ (function () {
|
|
20558
|
-
function QueryDetailsTableComponent() {
|
|
20559
|
-
}
|
|
20560
|
-
return QueryDetailsTableComponent;
|
|
20561
|
-
}());
|
|
20562
|
-
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
20563
|
-
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) {
|
|
20564
|
-
if (rf & 1) {
|
|
20565
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
|
|
20566
|
-
}
|
|
20567
|
-
if (rf & 2) {
|
|
20568
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
20569
|
-
}
|
|
20570
|
-
}, 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}"] });
|
|
20571
|
-
(function () {
|
|
20572
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
20573
|
-
type: i0.Component,
|
|
20574
|
-
args: [{
|
|
20575
|
-
selector: 'ccd-query-details-table',
|
|
20576
|
-
templateUrl: './query-details-table.component.html',
|
|
20577
|
-
styleUrls: ['./query-details-table.component.scss']
|
|
20578
|
-
}]
|
|
20579
|
-
}], null, { queryItem: [{
|
|
20580
|
-
type: i0.Input
|
|
20581
|
-
}] });
|
|
20582
|
-
})();
|
|
20583
|
-
|
|
20584
20488
|
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20585
20489
|
if (rf & 1) {
|
|
20586
20490
|
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -20643,6 +20547,168 @@
|
|
|
20643
20547
|
}] });
|
|
20644
20548
|
})();
|
|
20645
20549
|
|
|
20550
|
+
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20551
|
+
if (rf & 1) {
|
|
20552
|
+
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
20553
|
+
i0__namespace.ɵɵelementStart(1, "th", 4);
|
|
20554
|
+
i0__namespace.ɵɵtext(2);
|
|
20555
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20556
|
+
i0__namespace.ɵɵelementEnd();
|
|
20557
|
+
i0__namespace.ɵɵelementStart(4, "td", 5);
|
|
20558
|
+
i0__namespace.ɵɵtext(5);
|
|
20559
|
+
i0__namespace.ɵɵpipe(6, "date");
|
|
20560
|
+
i0__namespace.ɵɵelementEnd();
|
|
20561
|
+
i0__namespace.ɵɵelementEnd();
|
|
20562
|
+
}
|
|
20563
|
+
if (rf & 2) {
|
|
20564
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
20565
|
+
i0__namespace.ɵɵadvance(2);
|
|
20566
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "What is the date of the hearing your query related to?"));
|
|
20567
|
+
i0__namespace.ɵɵadvance(3);
|
|
20568
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
20569
|
+
}
|
|
20570
|
+
}
|
|
20571
|
+
function QueryDetailsTableComponent_ng_container_0_div_41_Template(rf, ctx) {
|
|
20572
|
+
if (rf & 1) {
|
|
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();
|
|
20578
|
+
}
|
|
20579
|
+
if (rf & 2) {
|
|
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);
|
|
20585
|
+
}
|
|
20586
|
+
}
|
|
20587
|
+
function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) {
|
|
20588
|
+
if (rf & 1) {
|
|
20589
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20590
|
+
i0__namespace.ɵɵelementStart(1, "table", 1);
|
|
20591
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
20592
|
+
i0__namespace.ɵɵelementStart(3, "tbody", 2);
|
|
20593
|
+
i0__namespace.ɵɵelementStart(4, "tr", 3);
|
|
20594
|
+
i0__namespace.ɵɵelementStart(5, "th", 4);
|
|
20595
|
+
i0__namespace.ɵɵtext(6);
|
|
20596
|
+
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
20597
|
+
i0__namespace.ɵɵelementEnd();
|
|
20598
|
+
i0__namespace.ɵɵelementStart(8, "td", 5);
|
|
20599
|
+
i0__namespace.ɵɵtext(9);
|
|
20600
|
+
i0__namespace.ɵɵelementEnd();
|
|
20601
|
+
i0__namespace.ɵɵelementEnd();
|
|
20602
|
+
i0__namespace.ɵɵelementStart(10, "tr", 3);
|
|
20603
|
+
i0__namespace.ɵɵelementStart(11, "th", 4);
|
|
20604
|
+
i0__namespace.ɵɵtext(12);
|
|
20605
|
+
i0__namespace.ɵɵpipe(13, "rpxTranslate");
|
|
20606
|
+
i0__namespace.ɵɵelementEnd();
|
|
20607
|
+
i0__namespace.ɵɵelementStart(14, "td", 5);
|
|
20608
|
+
i0__namespace.ɵɵtext(15);
|
|
20609
|
+
i0__namespace.ɵɵpipe(16, "date");
|
|
20610
|
+
i0__namespace.ɵɵelementEnd();
|
|
20611
|
+
i0__namespace.ɵɵelementEnd();
|
|
20612
|
+
i0__namespace.ɵɵelementStart(17, "tr", 3);
|
|
20613
|
+
i0__namespace.ɵɵelementStart(18, "th", 4);
|
|
20614
|
+
i0__namespace.ɵɵtext(19);
|
|
20615
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
20616
|
+
i0__namespace.ɵɵelementEnd();
|
|
20617
|
+
i0__namespace.ɵɵelementStart(21, "td", 5);
|
|
20618
|
+
i0__namespace.ɵɵtext(22);
|
|
20619
|
+
i0__namespace.ɵɵelementEnd();
|
|
20620
|
+
i0__namespace.ɵɵelementEnd();
|
|
20621
|
+
i0__namespace.ɵɵelementStart(23, "tr", 3);
|
|
20622
|
+
i0__namespace.ɵɵelementStart(24, "th", 4);
|
|
20623
|
+
i0__namespace.ɵɵtext(25);
|
|
20624
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
20625
|
+
i0__namespace.ɵɵelementEnd();
|
|
20626
|
+
i0__namespace.ɵɵelementStart(27, "td", 5);
|
|
20627
|
+
i0__namespace.ɵɵtext(28);
|
|
20628
|
+
i0__namespace.ɵɵelementEnd();
|
|
20629
|
+
i0__namespace.ɵɵelementEnd();
|
|
20630
|
+
i0__namespace.ɵɵelementStart(29, "tr", 3);
|
|
20631
|
+
i0__namespace.ɵɵelementStart(30, "th", 4);
|
|
20632
|
+
i0__namespace.ɵɵtext(31);
|
|
20633
|
+
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
20634
|
+
i0__namespace.ɵɵelementEnd();
|
|
20635
|
+
i0__namespace.ɵɵelementStart(33, "td", 5);
|
|
20636
|
+
i0__namespace.ɵɵtext(34);
|
|
20637
|
+
i0__namespace.ɵɵelementEnd();
|
|
20638
|
+
i0__namespace.ɵɵelementEnd();
|
|
20639
|
+
i0__namespace.ɵɵtemplate(35, QueryDetailsTableComponent_ng_container_0_tr_35_Template, 7, 7, "tr", 6);
|
|
20640
|
+
i0__namespace.ɵɵelementStart(36, "tr", 3);
|
|
20641
|
+
i0__namespace.ɵɵelementStart(37, "th", 4);
|
|
20642
|
+
i0__namespace.ɵɵtext(38);
|
|
20643
|
+
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
20644
|
+
i0__namespace.ɵɵelementEnd();
|
|
20645
|
+
i0__namespace.ɵɵelementStart(40, "td", 5);
|
|
20646
|
+
i0__namespace.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_div_41_Template, 3, 2, "div", 7);
|
|
20647
|
+
i0__namespace.ɵɵelementEnd();
|
|
20648
|
+
i0__namespace.ɵɵelementEnd();
|
|
20649
|
+
i0__namespace.ɵɵelementEnd();
|
|
20650
|
+
i0__namespace.ɵɵelementEnd();
|
|
20651
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20652
|
+
}
|
|
20653
|
+
if (rf & 2) {
|
|
20654
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20655
|
+
i0__namespace.ɵɵadvance(1);
|
|
20656
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 14, "Details of the query"));
|
|
20657
|
+
i0__namespace.ɵɵadvance(5);
|
|
20658
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 16, "Last submitted by"));
|
|
20659
|
+
i0__namespace.ɵɵadvance(3);
|
|
20660
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
20661
|
+
i0__namespace.ɵɵadvance(3);
|
|
20662
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 18, "Submission date"));
|
|
20663
|
+
i0__namespace.ɵɵadvance(3);
|
|
20664
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 20, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
20665
|
+
i0__namespace.ɵɵadvance(4);
|
|
20666
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 23, "Query subject"));
|
|
20667
|
+
i0__namespace.ɵɵadvance(3);
|
|
20668
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
20669
|
+
i0__namespace.ɵɵadvance(3);
|
|
20670
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 25, "Query body"));
|
|
20671
|
+
i0__namespace.ɵɵadvance(3);
|
|
20672
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
|
|
20673
|
+
i0__namespace.ɵɵadvance(3);
|
|
20674
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(32, 27, "Is the query hearing related?"));
|
|
20675
|
+
i0__namespace.ɵɵadvance(3);
|
|
20676
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
|
|
20677
|
+
i0__namespace.ɵɵadvance(1);
|
|
20678
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
|
|
20679
|
+
i0__namespace.ɵɵadvance(3);
|
|
20680
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(39, 29, "Attachments"));
|
|
20681
|
+
i0__namespace.ɵɵadvance(3);
|
|
20682
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryItem.attachments);
|
|
20683
|
+
}
|
|
20684
|
+
}
|
|
20685
|
+
var QueryDetailsTableComponent = /** @class */ (function () {
|
|
20686
|
+
function QueryDetailsTableComponent() {
|
|
20687
|
+
}
|
|
20688
|
+
return QueryDetailsTableComponent;
|
|
20689
|
+
}());
|
|
20690
|
+
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
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) {
|
|
20692
|
+
if (rf & 1) {
|
|
20693
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
|
|
20694
|
+
}
|
|
20695
|
+
if (rf & 2) {
|
|
20696
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
20697
|
+
}
|
|
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}"] });
|
|
20699
|
+
(function () {
|
|
20700
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
20701
|
+
type: i0.Component,
|
|
20702
|
+
args: [{
|
|
20703
|
+
selector: 'ccd-query-details-table',
|
|
20704
|
+
templateUrl: './query-details-table.component.html',
|
|
20705
|
+
styleUrls: ['./query-details-table.component.scss']
|
|
20706
|
+
}]
|
|
20707
|
+
}], null, { queryItem: [{
|
|
20708
|
+
type: i0.Input
|
|
20709
|
+
}] });
|
|
20710
|
+
})();
|
|
20711
|
+
|
|
20646
20712
|
var SortOrder;
|
|
20647
20713
|
(function (SortOrder) {
|
|
20648
20714
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -20650,99 +20716,6 @@
|
|
|
20650
20716
|
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
20651
20717
|
})(SortOrder || (SortOrder = {}));
|
|
20652
20718
|
|
|
20653
|
-
var QueryListItem = /** @class */ (function () {
|
|
20654
|
-
function QueryListItem() {
|
|
20655
|
-
this.children = [];
|
|
20656
|
-
}
|
|
20657
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20658
|
-
get: function () {
|
|
20659
|
-
var getLastSubmittedMessage = function (item) {
|
|
20660
|
-
var e_1, _b;
|
|
20661
|
-
var lastSubmittedMessage = item;
|
|
20662
|
-
if (item.children && item.children.length > 0) {
|
|
20663
|
-
try {
|
|
20664
|
-
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20665
|
-
var child = _d.value;
|
|
20666
|
-
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20667
|
-
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20668
|
-
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20669
|
-
}
|
|
20670
|
-
}
|
|
20671
|
-
}
|
|
20672
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20673
|
-
finally {
|
|
20674
|
-
try {
|
|
20675
|
-
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20676
|
-
}
|
|
20677
|
-
finally { if (e_1) throw e_1.error; }
|
|
20678
|
-
}
|
|
20679
|
-
}
|
|
20680
|
-
return lastSubmittedMessage;
|
|
20681
|
-
};
|
|
20682
|
-
return getLastSubmittedMessage(this);
|
|
20683
|
-
},
|
|
20684
|
-
enumerable: false,
|
|
20685
|
-
configurable: true
|
|
20686
|
-
});
|
|
20687
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20688
|
-
get: function () {
|
|
20689
|
-
return this.lastSubmittedMessage.name;
|
|
20690
|
-
},
|
|
20691
|
-
enumerable: false,
|
|
20692
|
-
configurable: true
|
|
20693
|
-
});
|
|
20694
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20695
|
-
get: function () {
|
|
20696
|
-
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20697
|
-
},
|
|
20698
|
-
enumerable: false,
|
|
20699
|
-
configurable: true
|
|
20700
|
-
});
|
|
20701
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20702
|
-
get: function () {
|
|
20703
|
-
var _a;
|
|
20704
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20705
|
-
},
|
|
20706
|
-
enumerable: false,
|
|
20707
|
-
configurable: true
|
|
20708
|
-
});
|
|
20709
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20710
|
-
get: function () {
|
|
20711
|
-
var _a;
|
|
20712
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20713
|
-
},
|
|
20714
|
-
enumerable: false,
|
|
20715
|
-
configurable: true
|
|
20716
|
-
});
|
|
20717
|
-
return QueryListItem;
|
|
20718
|
-
}());
|
|
20719
|
-
|
|
20720
|
-
var QueryListData = /** @class */ (function () {
|
|
20721
|
-
function QueryListData(partyMessagesGroup) {
|
|
20722
|
-
var _this = this;
|
|
20723
|
-
this.partyName = partyMessagesGroup.partyName;
|
|
20724
|
-
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20725
|
-
// get the parent messages (messages without parentId) and add the children to them
|
|
20726
|
-
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20727
|
-
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20728
|
-
}
|
|
20729
|
-
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20730
|
-
var _this = this;
|
|
20731
|
-
var queryListItem = new QueryListItem();
|
|
20732
|
-
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20733
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20734
|
-
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20735
|
-
return queryListItem;
|
|
20736
|
-
};
|
|
20737
|
-
return QueryListData;
|
|
20738
|
-
}());
|
|
20739
|
-
|
|
20740
|
-
exports.QueryListResponseStatus = void 0;
|
|
20741
|
-
(function (QueryListResponseStatus) {
|
|
20742
|
-
QueryListResponseStatus["NEW"] = "New";
|
|
20743
|
-
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20744
|
-
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20745
|
-
|
|
20746
20719
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
20747
20720
|
if (rf & 1) {
|
|
20748
20721
|
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -20927,176 +20900,78 @@
|
|
|
20927
20900
|
}] });
|
|
20928
20901
|
})();
|
|
20929
20902
|
|
|
20930
|
-
function
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20903
|
+
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
20904
|
+
function QueryWriteAddDocumentsComponent() {
|
|
20905
|
+
this.documentFormGroup = new i3.FormGroup({});
|
|
20906
|
+
this.documentCollectionUpdate = new i0.EventEmitter();
|
|
20907
|
+
// This field is mocked to allow the document component to be used in isolation
|
|
20908
|
+
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
20909
|
+
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
20910
|
+
label: 'Add document (optional)',
|
|
20911
|
+
hint_text: 'Attach a document to this message',
|
|
20912
|
+
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
20913
|
+
field_type: Object.assign(new FieldType(), {
|
|
20914
|
+
id: 'queryDocuments',
|
|
20915
|
+
type: 'queryDocuments',
|
|
20916
|
+
min: null,
|
|
20917
|
+
max: null,
|
|
20918
|
+
regular_expression: null,
|
|
20919
|
+
fixed_list_items: [],
|
|
20920
|
+
complex_fields: [],
|
|
20921
|
+
collection_field_type: Object.assign(new FieldType(), {
|
|
20922
|
+
id: 'Document',
|
|
20923
|
+
type: 'Document',
|
|
20924
|
+
min: null,
|
|
20925
|
+
max: null,
|
|
20926
|
+
regular_expression: null,
|
|
20927
|
+
fixed_list_items: [],
|
|
20928
|
+
complex_fields: [],
|
|
20929
|
+
collection_field_type: null,
|
|
20930
|
+
})
|
|
20931
|
+
}),
|
|
20932
|
+
});
|
|
20943
20933
|
}
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
|
|
20947
|
-
|
|
20948
|
-
|
|
20949
|
-
value: {
|
|
20950
|
-
|
|
20951
|
-
|
|
20952
|
-
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
|
|
20953
|
-
}
|
|
20954
|
-
},
|
|
20955
|
-
{
|
|
20956
|
-
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20957
|
-
value: {
|
|
20958
|
-
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
|
|
20959
|
-
document_filename: 'dummy.pdf',
|
|
20960
|
-
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
|
|
20961
|
-
}
|
|
20962
|
-
}
|
|
20963
|
-
];
|
|
20964
|
-
this.caseField = caseFieldMockData;
|
|
20934
|
+
QueryWriteAddDocumentsComponent.prototype.ngAfterViewInit = function () {
|
|
20935
|
+
var _this = this;
|
|
20936
|
+
var formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
20937
|
+
if (formControl) {
|
|
20938
|
+
this.documentFormControlSubscription = formControl.valueChanges
|
|
20939
|
+
.pipe(operators.map(function (documents) { return (documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
20940
|
+
.subscribe();
|
|
20941
|
+
}
|
|
20965
20942
|
};
|
|
20966
|
-
|
|
20967
|
-
|
|
20943
|
+
QueryWriteAddDocumentsComponent.prototype.ngOnDestroy = function () {
|
|
20944
|
+
var _a;
|
|
20945
|
+
(_a = this.documentFormControlSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
20968
20946
|
};
|
|
20969
|
-
return
|
|
20947
|
+
return QueryWriteAddDocumentsComponent;
|
|
20970
20948
|
}());
|
|
20971
|
-
|
|
20972
|
-
|
|
20949
|
+
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
20950
|
+
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
20951
|
+
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
20973
20952
|
if (rf & 1) {
|
|
20974
|
-
i0__namespace.ɵɵ
|
|
20975
|
-
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20976
|
-
i0__namespace.ɵɵelementStart(2, "h1", 2);
|
|
20977
|
-
i0__namespace.ɵɵtext(3);
|
|
20978
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20979
|
-
i0__namespace.ɵɵelementEnd();
|
|
20980
|
-
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
20981
|
-
i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
|
|
20982
|
-
i0__namespace.ɵɵelementEnd();
|
|
20983
|
-
i0__namespace.ɵɵelementStart(7, "dl", 4);
|
|
20984
|
-
i0__namespace.ɵɵelementStart(8, "div", 5);
|
|
20985
|
-
i0__namespace.ɵɵelementStart(9, "dt", 6);
|
|
20986
|
-
i0__namespace.ɵɵtext(10);
|
|
20987
|
-
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
20988
|
-
i0__namespace.ɵɵelementEnd();
|
|
20989
|
-
i0__namespace.ɵɵelementStart(12, "dd", 7);
|
|
20990
|
-
i0__namespace.ɵɵtext(13);
|
|
20991
|
-
i0__namespace.ɵɵelementEnd();
|
|
20992
|
-
i0__namespace.ɵɵelementEnd();
|
|
20993
|
-
i0__namespace.ɵɵelementEnd();
|
|
20994
|
-
i0__namespace.ɵɵelementStart(14, "dl", 4);
|
|
20995
|
-
i0__namespace.ɵɵelementStart(15, "div", 5);
|
|
20996
|
-
i0__namespace.ɵɵelementStart(16, "dt", 6);
|
|
20997
|
-
i0__namespace.ɵɵtext(17);
|
|
20998
|
-
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
20999
|
-
i0__namespace.ɵɵelementEnd();
|
|
21000
|
-
i0__namespace.ɵɵelementStart(19, "dd", 7);
|
|
21001
|
-
i0__namespace.ɵɵtext(20);
|
|
21002
|
-
i0__namespace.ɵɵelementEnd();
|
|
21003
|
-
i0__namespace.ɵɵelementStart(21, "dd", 8);
|
|
21004
|
-
i0__namespace.ɵɵelementStart(22, "a", 9);
|
|
21005
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_22_listener() { return ctx.goBack(); });
|
|
21006
|
-
i0__namespace.ɵɵtext(23);
|
|
21007
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
21008
|
-
i0__namespace.ɵɵelementEnd();
|
|
21009
|
-
i0__namespace.ɵɵelementEnd();
|
|
21010
|
-
i0__namespace.ɵɵelementEnd();
|
|
21011
|
-
i0__namespace.ɵɵelementEnd();
|
|
21012
|
-
i0__namespace.ɵɵelementStart(25, "dl", 4);
|
|
21013
|
-
i0__namespace.ɵɵelementStart(26, "div", 5);
|
|
21014
|
-
i0__namespace.ɵɵelementStart(27, "dt", 6);
|
|
21015
|
-
i0__namespace.ɵɵtext(28);
|
|
21016
|
-
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21017
|
-
i0__namespace.ɵɵelementEnd();
|
|
21018
|
-
i0__namespace.ɵɵelementStart(30, "dd", 7);
|
|
21019
|
-
i0__namespace.ɵɵtemplate(31, QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template, 1, 1, "ccd-read-collection-field", 10);
|
|
21020
|
-
i0__namespace.ɵɵelementEnd();
|
|
21021
|
-
i0__namespace.ɵɵelementStart(32, "dd", 8);
|
|
21022
|
-
i0__namespace.ɵɵelementStart(33, "a", 9);
|
|
21023
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_33_listener() { return ctx.goBack(); });
|
|
21024
|
-
i0__namespace.ɵɵtext(34);
|
|
21025
|
-
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
21026
|
-
i0__namespace.ɵɵelementEnd();
|
|
21027
|
-
i0__namespace.ɵɵelementEnd();
|
|
21028
|
-
i0__namespace.ɵɵelementEnd();
|
|
21029
|
-
i0__namespace.ɵɵelementEnd();
|
|
21030
|
-
i0__namespace.ɵɵelement(36, "br");
|
|
21031
|
-
i0__namespace.ɵɵelementStart(37, "div");
|
|
21032
|
-
i0__namespace.ɵɵelementStart(38, "button", 11);
|
|
21033
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.goBack(); });
|
|
21034
|
-
i0__namespace.ɵɵtext(39);
|
|
21035
|
-
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21036
|
-
i0__namespace.ɵɵelementEnd();
|
|
21037
|
-
i0__namespace.ɵɵelementStart(41, "button", 12);
|
|
21038
|
-
i0__namespace.ɵɵtext(42);
|
|
21039
|
-
i0__namespace.ɵɵpipe(43, "rpxTranslate");
|
|
21040
|
-
i0__namespace.ɵɵelementEnd();
|
|
21041
|
-
i0__namespace.ɵɵelementEnd();
|
|
21042
|
-
i0__namespace.ɵɵelementStart(44, "div", 13);
|
|
21043
|
-
i0__namespace.ɵɵelementStart(45, "a", 14);
|
|
21044
|
-
i0__namespace.ɵɵtext(46);
|
|
21045
|
-
i0__namespace.ɵɵpipe(47, "rpxTranslate");
|
|
21046
|
-
i0__namespace.ɵɵelementEnd();
|
|
21047
|
-
i0__namespace.ɵɵelementEnd();
|
|
21048
|
-
i0__namespace.ɵɵelementEnd();
|
|
21049
|
-
i0__namespace.ɵɵelementEnd();
|
|
20953
|
+
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
21050
20954
|
}
|
|
21051
20955
|
if (rf & 2) {
|
|
21052
|
-
i0__namespace.ɵɵ
|
|
21053
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 13, "Review query response details"));
|
|
21054
|
-
i0__namespace.ɵɵadvance(7);
|
|
21055
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 15, "Submitted query"), " ");
|
|
21056
|
-
i0__namespace.ɵɵadvance(3);
|
|
21057
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryItem.subject, " ");
|
|
21058
|
-
i0__namespace.ɵɵadvance(4);
|
|
21059
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 17, "Response message"), " ");
|
|
21060
|
-
i0__namespace.ɵɵadvance(3);
|
|
21061
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryItem.response, " ");
|
|
21062
|
-
i0__namespace.ɵɵadvance(3);
|
|
21063
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(24, 19, "Change"), " ");
|
|
21064
|
-
i0__namespace.ɵɵadvance(5);
|
|
21065
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 21, "Document attached"), " ");
|
|
21066
|
-
i0__namespace.ɵɵadvance(3);
|
|
21067
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
21068
|
-
i0__namespace.ɵɵadvance(3);
|
|
21069
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(35, 23, "Change"), " ");
|
|
21070
|
-
i0__namespace.ɵɵadvance(5);
|
|
21071
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 25, "Previous"), " ");
|
|
21072
|
-
i0__namespace.ɵɵadvance(3);
|
|
21073
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(43, 27, "Submit"), " ");
|
|
21074
|
-
i0__namespace.ɵɵadvance(3);
|
|
21075
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(31, _c0$B));
|
|
21076
|
-
i0__namespace.ɵɵadvance(1);
|
|
21077
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(47, 29, "Cancel and return to case"));
|
|
20956
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
21078
20957
|
}
|
|
21079
|
-
},
|
|
20958
|
+
}, encapsulation: 2 });
|
|
21080
20959
|
(function () {
|
|
21081
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(
|
|
20960
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
21082
20961
|
type: i0.Component,
|
|
21083
20962
|
args: [{
|
|
21084
|
-
selector: 'ccd-query-
|
|
21085
|
-
templateUrl: './query-
|
|
21086
|
-
styleUrls: ['./query-check-your-answers.component.scss'],
|
|
21087
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
20963
|
+
selector: 'ccd-query-write-add-documents',
|
|
20964
|
+
templateUrl: './query-write-add-documents.component.html'
|
|
21088
20965
|
}]
|
|
21089
|
-
}],
|
|
21090
|
-
type: i0.Input
|
|
21091
|
-
}], backClicked: [{
|
|
20966
|
+
}], function () { return []; }, { documentCollectionUpdate: [{
|
|
21092
20967
|
type: i0.Output
|
|
21093
20968
|
}] });
|
|
21094
20969
|
})();
|
|
21095
20970
|
|
|
21096
|
-
function
|
|
20971
|
+
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21097
20972
|
if (rf & 1) {
|
|
21098
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21099
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20973
|
+
i0__namespace.ɵɵelementStart(0, "p", 27);
|
|
20974
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21100
20975
|
i0__namespace.ɵɵtext(2);
|
|
21101
20976
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21102
20977
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21108,13 +20983,13 @@
|
|
|
21108
20983
|
i0__namespace.ɵɵadvance(2);
|
|
21109
20984
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21110
20985
|
i0__namespace.ɵɵadvance(2);
|
|
21111
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a
|
|
20986
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
|
|
21112
20987
|
}
|
|
21113
20988
|
}
|
|
21114
|
-
function
|
|
20989
|
+
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21115
20990
|
if (rf & 1) {
|
|
21116
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21117
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20991
|
+
i0__namespace.ɵɵelementStart(0, "p", 29);
|
|
20992
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21118
20993
|
i0__namespace.ɵɵtext(2);
|
|
21119
20994
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21120
20995
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21129,10 +21004,10 @@
|
|
|
21129
21004
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
|
|
21130
21005
|
}
|
|
21131
21006
|
}
|
|
21132
|
-
function
|
|
21007
|
+
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21133
21008
|
if (rf & 1) {
|
|
21134
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21135
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21009
|
+
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21010
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21136
21011
|
i0__namespace.ɵɵtext(2);
|
|
21137
21012
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21138
21013
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21147,170 +21022,101 @@
|
|
|
21147
21022
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
21148
21023
|
}
|
|
21149
21024
|
}
|
|
21150
|
-
function QueryWriteRaiseQueryComponent_p_73_Template(rf, ctx) {
|
|
21151
|
-
if (rf & 1) {
|
|
21152
|
-
i0__namespace.ɵɵelementStart(0, "p", 42);
|
|
21153
|
-
i0__namespace.ɵɵelementStart(1, "span", 39);
|
|
21154
|
-
i0__namespace.ɵɵtext(2);
|
|
21155
|
-
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21156
|
-
i0__namespace.ɵɵelementEnd();
|
|
21157
|
-
i0__namespace.ɵɵtext(4);
|
|
21158
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21159
|
-
i0__namespace.ɵɵelementEnd();
|
|
21160
|
-
}
|
|
21161
|
-
if (rf & 2) {
|
|
21162
|
-
i0__namespace.ɵɵadvance(2);
|
|
21163
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21164
|
-
i0__namespace.ɵɵadvance(2);
|
|
21165
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "File error message"), " ");
|
|
21166
|
-
}
|
|
21167
|
-
}
|
|
21168
21025
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
21169
21026
|
function QueryWriteRaiseQueryComponent() {
|
|
21170
21027
|
}
|
|
21171
|
-
QueryWriteRaiseQueryComponent.prototype.ngOnInit = function () {
|
|
21172
|
-
this.formGroup = new i3.FormGroup({
|
|
21173
|
-
fullName: new i3.FormControl('', i3.Validators.required),
|
|
21174
|
-
subject: new i3.FormControl('', i3.Validators.required),
|
|
21175
|
-
body: new i3.FormControl('', i3.Validators.required),
|
|
21176
|
-
isHearingRelated: new i3.FormControl(null, i3.Validators.required),
|
|
21177
|
-
documents: new i3.FormControl([], i3.Validators.required)
|
|
21178
|
-
});
|
|
21179
|
-
};
|
|
21180
21028
|
return QueryWriteRaiseQueryComponent;
|
|
21181
21029
|
}());
|
|
21182
21030
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21183
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls:
|
|
21031
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21184
21032
|
if (rf & 1) {
|
|
21185
|
-
i0__namespace.ɵɵelementStart(0, "div"
|
|
21186
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
21187
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
21188
|
-
i0__namespace.ɵɵ
|
|
21189
|
-
i0__namespace.ɵɵ
|
|
21190
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21191
|
-
i0__namespace.ɵɵelementEnd();
|
|
21192
|
-
i0__namespace.ɵɵelementStart(6, "h1", 4);
|
|
21193
|
-
i0__namespace.ɵɵtext(7);
|
|
21194
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
21195
|
-
i0__namespace.ɵɵelementEnd();
|
|
21196
|
-
i0__namespace.ɵɵelementEnd();
|
|
21197
|
-
i0__namespace.ɵɵelementStart(9, "div");
|
|
21198
|
-
i0__namespace.ɵɵelement(10, "ccd-query-case-details-header");
|
|
21199
|
-
i0__namespace.ɵɵelementEnd();
|
|
21200
|
-
i0__namespace.ɵɵelement(11, "hr");
|
|
21201
|
-
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
21202
|
-
i0__namespace.ɵɵelementStart(13, "div", 6);
|
|
21203
|
-
i0__namespace.ɵɵelementStart(14, "div");
|
|
21204
|
-
i0__namespace.ɵɵelementStart(15, "div", 7);
|
|
21205
|
-
i0__namespace.ɵɵelementStart(16, "div", 8);
|
|
21206
|
-
i0__namespace.ɵɵelementStart(17, "label", 9);
|
|
21207
|
-
i0__namespace.ɵɵtext(18);
|
|
21208
|
-
i0__namespace.ɵɵpipe(19, "rpxTranslate");
|
|
21209
|
-
i0__namespace.ɵɵelementEnd();
|
|
21210
|
-
i0__namespace.ɵɵelementEnd();
|
|
21211
|
-
i0__namespace.ɵɵelementStart(20, "div", 10);
|
|
21212
|
-
i0__namespace.ɵɵtext(21);
|
|
21213
|
-
i0__namespace.ɵɵpipe(22, "rpxTranslate");
|
|
21214
|
-
i0__namespace.ɵɵelementEnd();
|
|
21215
|
-
i0__namespace.ɵɵtemplate(23, QueryWriteRaiseQueryComponent_p_23_Template, 6, 6, "p", 11);
|
|
21216
|
-
i0__namespace.ɵɵelement(24, "input", 12);
|
|
21217
|
-
i0__namespace.ɵɵelementEnd();
|
|
21218
|
-
i0__namespace.ɵɵelementStart(25, "div", 7);
|
|
21219
|
-
i0__namespace.ɵɵelementStart(26, "div", 8);
|
|
21220
|
-
i0__namespace.ɵɵelementStart(27, "label", 13);
|
|
21221
|
-
i0__namespace.ɵɵtext(28);
|
|
21222
|
-
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21223
|
-
i0__namespace.ɵɵelementEnd();
|
|
21224
|
-
i0__namespace.ɵɵelementEnd();
|
|
21225
|
-
i0__namespace.ɵɵelementStart(30, "div", 14);
|
|
21226
|
-
i0__namespace.ɵɵtext(31);
|
|
21227
|
-
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
21228
|
-
i0__namespace.ɵɵelementEnd();
|
|
21229
|
-
i0__namespace.ɵɵtemplate(33, QueryWriteRaiseQueryComponent_p_33_Template, 6, 6, "p", 15);
|
|
21230
|
-
i0__namespace.ɵɵelement(34, "input", 16);
|
|
21231
|
-
i0__namespace.ɵɵelementEnd();
|
|
21232
|
-
i0__namespace.ɵɵelementStart(35, "div", 7);
|
|
21233
|
-
i0__namespace.ɵɵelementStart(36, "div", 8);
|
|
21234
|
-
i0__namespace.ɵɵelementStart(37, "label", 17);
|
|
21235
|
-
i0__namespace.ɵɵtext(38);
|
|
21236
|
-
i0__namespace.ɵɵpipe(39, "rpxTranslate");
|
|
21237
|
-
i0__namespace.ɵɵelementEnd();
|
|
21238
|
-
i0__namespace.ɵɵelementEnd();
|
|
21239
|
-
i0__namespace.ɵɵelementStart(40, "div", 18);
|
|
21240
|
-
i0__namespace.ɵɵtext(41);
|
|
21241
|
-
i0__namespace.ɵɵpipe(42, "rpxTranslate");
|
|
21033
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
21034
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
21035
|
+
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
21036
|
+
i0__namespace.ɵɵtext(3);
|
|
21037
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
21242
21038
|
i0__namespace.ɵɵelementEnd();
|
|
21243
|
-
i0__namespace.ɵɵ
|
|
21244
|
-
i0__namespace.ɵɵ
|
|
21245
|
-
i0__namespace.ɵɵ
|
|
21039
|
+
i0__namespace.ɵɵelementStart(5, "h1", 2);
|
|
21040
|
+
i0__namespace.ɵɵtext(6);
|
|
21041
|
+
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
21246
21042
|
i0__namespace.ɵɵelementEnd();
|
|
21247
21043
|
i0__namespace.ɵɵelementEnd();
|
|
21248
|
-
i0__namespace.ɵɵelementStart(
|
|
21249
|
-
i0__namespace.ɵɵ
|
|
21250
|
-
i0__namespace.ɵɵelementStart(48, "legend");
|
|
21251
|
-
i0__namespace.ɵɵelementStart(49, "label", 22);
|
|
21252
|
-
i0__namespace.ɵɵtext(50);
|
|
21253
|
-
i0__namespace.ɵɵpipe(51, "rpxTranslate");
|
|
21044
|
+
i0__namespace.ɵɵelementStart(8, "div");
|
|
21045
|
+
i0__namespace.ɵɵelement(9, "ccd-query-case-details-header");
|
|
21254
21046
|
i0__namespace.ɵɵelementEnd();
|
|
21047
|
+
i0__namespace.ɵɵelement(10, "hr");
|
|
21048
|
+
i0__namespace.ɵɵelementStart(11, "div", 3);
|
|
21049
|
+
i0__namespace.ɵɵelementStart(12, "div", 4);
|
|
21050
|
+
i0__namespace.ɵɵelementStart(13, "div");
|
|
21051
|
+
i0__namespace.ɵɵelementStart(14, "div", 5);
|
|
21052
|
+
i0__namespace.ɵɵelementStart(15, "div", 6);
|
|
21053
|
+
i0__namespace.ɵɵelementStart(16, "label", 7);
|
|
21054
|
+
i0__namespace.ɵɵtext(17);
|
|
21055
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21255
21056
|
i0__namespace.ɵɵelementEnd();
|
|
21256
|
-
i0__namespace.ɵɵelementStart(52, "div", 23);
|
|
21257
|
-
i0__namespace.ɵɵelementStart(53, "div", 24);
|
|
21258
|
-
i0__namespace.ɵɵelement(54, "input", 25);
|
|
21259
|
-
i0__namespace.ɵɵelementStart(55, "label", 26);
|
|
21260
|
-
i0__namespace.ɵɵtext(56);
|
|
21261
|
-
i0__namespace.ɵɵpipe(57, "rpxTranslate");
|
|
21262
21057
|
i0__namespace.ɵɵelementEnd();
|
|
21058
|
+
i0__namespace.ɵɵelementStart(19, "div", 8);
|
|
21059
|
+
i0__namespace.ɵɵtext(20);
|
|
21060
|
+
i0__namespace.ɵɵpipe(21, "rpxTranslate");
|
|
21263
21061
|
i0__namespace.ɵɵelementEnd();
|
|
21264
|
-
i0__namespace.ɵɵ
|
|
21265
|
-
i0__namespace.ɵɵelement(
|
|
21266
|
-
i0__namespace.ɵɵelementStart(60, "label", 28);
|
|
21267
|
-
i0__namespace.ɵɵtext(61);
|
|
21268
|
-
i0__namespace.ɵɵpipe(62, "rpxTranslate");
|
|
21062
|
+
i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
|
|
21063
|
+
i0__namespace.ɵɵelement(23, "input", 10);
|
|
21269
21064
|
i0__namespace.ɵɵelementEnd();
|
|
21065
|
+
i0__namespace.ɵɵelementStart(24, "div", 5);
|
|
21066
|
+
i0__namespace.ɵɵelementStart(25, "div", 6);
|
|
21067
|
+
i0__namespace.ɵɵelementStart(26, "label", 11);
|
|
21068
|
+
i0__namespace.ɵɵtext(27);
|
|
21069
|
+
i0__namespace.ɵɵpipe(28, "rpxTranslate");
|
|
21270
21070
|
i0__namespace.ɵɵelementEnd();
|
|
21271
21071
|
i0__namespace.ɵɵelementEnd();
|
|
21072
|
+
i0__namespace.ɵɵelementStart(29, "div", 12);
|
|
21073
|
+
i0__namespace.ɵɵtext(30);
|
|
21074
|
+
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
21272
21075
|
i0__namespace.ɵɵelementEnd();
|
|
21076
|
+
i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
|
|
21077
|
+
i0__namespace.ɵɵelement(33, "input", 14);
|
|
21273
21078
|
i0__namespace.ɵɵelementEnd();
|
|
21274
|
-
i0__namespace.ɵɵelementStart(
|
|
21275
|
-
i0__namespace.ɵɵelementStart(
|
|
21276
|
-
i0__namespace.ɵɵelementStart(
|
|
21277
|
-
i0__namespace.ɵɵ
|
|
21278
|
-
i0__namespace.ɵɵ
|
|
21279
|
-
i0__namespace.ɵɵtext(68);
|
|
21280
|
-
i0__namespace.ɵɵpipe(69, "rpxTranslate");
|
|
21079
|
+
i0__namespace.ɵɵelementStart(34, "div", 5);
|
|
21080
|
+
i0__namespace.ɵɵelementStart(35, "div", 6);
|
|
21081
|
+
i0__namespace.ɵɵelementStart(36, "label", 15);
|
|
21082
|
+
i0__namespace.ɵɵtext(37);
|
|
21083
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
21281
21084
|
i0__namespace.ɵɵelementEnd();
|
|
21282
|
-
i0__namespace.ɵɵelementStart(70, "div");
|
|
21283
|
-
i0__namespace.ɵɵtext(71);
|
|
21284
|
-
i0__namespace.ɵɵpipe(72, "rpxTranslate");
|
|
21285
21085
|
i0__namespace.ɵɵelementEnd();
|
|
21086
|
+
i0__namespace.ɵɵelementStart(39, "div", 16);
|
|
21087
|
+
i0__namespace.ɵɵtext(40);
|
|
21088
|
+
i0__namespace.ɵɵpipe(41, "rpxTranslate");
|
|
21286
21089
|
i0__namespace.ɵɵelementEnd();
|
|
21090
|
+
i0__namespace.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
|
|
21091
|
+
i0__namespace.ɵɵelementStart(43, "textarea", 18);
|
|
21092
|
+
i0__namespace.ɵɵtext(44, " ");
|
|
21287
21093
|
i0__namespace.ɵɵelementEnd();
|
|
21288
|
-
i0__namespace.ɵɵtemplate(73, QueryWriteRaiseQueryComponent_p_73_Template, 6, 6, "p", 31);
|
|
21289
|
-
i0__namespace.ɵɵelement(74, "input", 32);
|
|
21290
21094
|
i0__namespace.ɵɵelementEnd();
|
|
21095
|
+
i0__namespace.ɵɵelementStart(45, "div", 5);
|
|
21096
|
+
i0__namespace.ɵɵelementStart(46, "fieldset", 19);
|
|
21097
|
+
i0__namespace.ɵɵelementStart(47, "legend");
|
|
21098
|
+
i0__namespace.ɵɵelementStart(48, "label", 20);
|
|
21099
|
+
i0__namespace.ɵɵtext(49);
|
|
21100
|
+
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
21291
21101
|
i0__namespace.ɵɵelementEnd();
|
|
21292
|
-
i0__namespace.ɵɵelementStart(75, "button", 33);
|
|
21293
|
-
i0__namespace.ɵɵtext(76);
|
|
21294
|
-
i0__namespace.ɵɵpipe(77, "rpxTranslate");
|
|
21295
21102
|
i0__namespace.ɵɵelementEnd();
|
|
21103
|
+
i0__namespace.ɵɵelementStart(51, "div", 21);
|
|
21104
|
+
i0__namespace.ɵɵelementStart(52, "div", 22);
|
|
21105
|
+
i0__namespace.ɵɵelement(53, "input", 23);
|
|
21106
|
+
i0__namespace.ɵɵelementStart(54, "label", 24);
|
|
21107
|
+
i0__namespace.ɵɵtext(55);
|
|
21108
|
+
i0__namespace.ɵɵpipe(56, "rpxTranslate");
|
|
21296
21109
|
i0__namespace.ɵɵelementEnd();
|
|
21297
21110
|
i0__namespace.ɵɵelementEnd();
|
|
21298
|
-
i0__namespace.ɵɵelementStart(
|
|
21299
|
-
i0__namespace.ɵɵ
|
|
21300
|
-
i0__namespace.ɵɵelementStart(
|
|
21301
|
-
i0__namespace.ɵɵtext(
|
|
21302
|
-
i0__namespace.ɵɵpipe(
|
|
21111
|
+
i0__namespace.ɵɵelementStart(57, "div", 22);
|
|
21112
|
+
i0__namespace.ɵɵelement(58, "input", 25);
|
|
21113
|
+
i0__namespace.ɵɵelementStart(59, "label", 26);
|
|
21114
|
+
i0__namespace.ɵɵtext(60);
|
|
21115
|
+
i0__namespace.ɵɵpipe(61, "rpxTranslate");
|
|
21303
21116
|
i0__namespace.ɵɵelementEnd();
|
|
21304
|
-
i0__namespace.ɵɵelementStart(83, "button", 33);
|
|
21305
|
-
i0__namespace.ɵɵtext(84);
|
|
21306
|
-
i0__namespace.ɵɵpipe(85, "rpxTranslate");
|
|
21307
21117
|
i0__namespace.ɵɵelementEnd();
|
|
21308
21118
|
i0__namespace.ɵɵelementEnd();
|
|
21309
21119
|
i0__namespace.ɵɵelementEnd();
|
|
21310
|
-
i0__namespace.ɵɵelementStart(86, "div", 36);
|
|
21311
|
-
i0__namespace.ɵɵelementStart(87, "a", 37);
|
|
21312
|
-
i0__namespace.ɵɵtext(88);
|
|
21313
|
-
i0__namespace.ɵɵpipe(89, "rpxTranslate");
|
|
21314
21120
|
i0__namespace.ɵɵelementEnd();
|
|
21315
21121
|
i0__namespace.ɵɵelementEnd();
|
|
21316
21122
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21327,94 +21133,73 @@
|
|
|
21327
21133
|
var tmp_15_0 = null;
|
|
21328
21134
|
var tmp_18_0 = null;
|
|
21329
21135
|
var tmp_19_0 = null;
|
|
21330
|
-
var tmp_28_0 = null;
|
|
21331
|
-
var tmp_31_0 = null;
|
|
21332
|
-
i0__namespace.ɵɵadvance(4);
|
|
21333
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 44, "Raise a query"));
|
|
21334
21136
|
i0__namespace.ɵɵadvance(3);
|
|
21335
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21137
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
|
|
21138
|
+
i0__namespace.ɵɵadvance(3);
|
|
21139
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
|
|
21336
21140
|
i0__namespace.ɵɵadvance(6);
|
|
21337
21141
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21338
21142
|
i0__namespace.ɵɵadvance(2);
|
|
21339
21143
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
|
|
21340
21144
|
i0__namespace.ɵɵadvance(3);
|
|
21341
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21145
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
21342
21146
|
i0__namespace.ɵɵadvance(3);
|
|
21343
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21147
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
21344
21148
|
i0__namespace.ɵɵadvance(2);
|
|
21345
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("
|
|
21149
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21346
21150
|
i0__namespace.ɵɵadvance(1);
|
|
21347
21151
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
|
|
21348
21152
|
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21349
21153
|
i0__namespace.ɵɵadvance(1);
|
|
21350
21154
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21351
21155
|
i0__namespace.ɵɵadvance(3);
|
|
21352
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21156
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
|
|
21353
21157
|
i0__namespace.ɵɵadvance(3);
|
|
21354
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21158
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
|
|
21355
21159
|
i0__namespace.ɵɵadvance(2);
|
|
21356
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("
|
|
21160
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21357
21161
|
i0__namespace.ɵɵadvance(1);
|
|
21358
21162
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
|
|
21359
21163
|
i0__namespace.ɵɵproperty("formControlName", "subject");
|
|
21360
21164
|
i0__namespace.ɵɵadvance(1);
|
|
21361
21165
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21362
21166
|
i0__namespace.ɵɵadvance(3);
|
|
21363
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21167
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
|
|
21364
21168
|
i0__namespace.ɵɵadvance(3);
|
|
21365
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21169
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21366
21170
|
i0__namespace.ɵɵadvance(2);
|
|
21367
21171
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21368
21172
|
i0__namespace.ɵɵadvance(1);
|
|
21369
21173
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
|
|
21370
21174
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21371
21175
|
i0__namespace.ɵɵadvance(6);
|
|
21372
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21176
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
|
|
21373
21177
|
i0__namespace.ɵɵadvance(4);
|
|
21374
21178
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21375
21179
|
i0__namespace.ɵɵadvance(2);
|
|
21376
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21180
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
|
|
21377
21181
|
i0__namespace.ɵɵadvance(3);
|
|
21378
21182
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21379
21183
|
i0__namespace.ɵɵadvance(2);
|
|
21380
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21381
|
-
i0__namespace.ɵɵadvance(3);
|
|
21382
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_28_0 = ctx.formGroup.get("documents")) == null ? null : tmp_28_0.errors == null ? null : tmp_28_0.errors.length);
|
|
21383
|
-
i0__namespace.ɵɵadvance(4);
|
|
21384
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(69, 70, "Add document (optional)"));
|
|
21385
|
-
i0__namespace.ɵɵadvance(3);
|
|
21386
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(72, 72, "Attach a document to this message"));
|
|
21387
|
-
i0__namespace.ɵɵadvance(2);
|
|
21388
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_31_0 = ctx.formGroup.get("response")) == null ? null : tmp_31_0.errors == null ? null : tmp_31_0.errors.length);
|
|
21389
|
-
i0__namespace.ɵɵadvance(3);
|
|
21390
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(77, 74, "Next"), " ");
|
|
21391
|
-
i0__namespace.ɵɵadvance(4);
|
|
21392
|
-
i0__namespace.ɵɵproperty("disabled", true);
|
|
21393
|
-
i0__namespace.ɵɵadvance(1);
|
|
21394
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(82, 76, "Previous"), " ");
|
|
21395
|
-
i0__namespace.ɵɵadvance(3);
|
|
21396
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(85, 78, "Continue"), " ");
|
|
21397
|
-
i0__namespace.ɵɵadvance(4);
|
|
21398
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(89, 80, "Cancel and return to case"), " ");
|
|
21184
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
|
|
21399
21185
|
}
|
|
21400
|
-
},
|
|
21186
|
+
}, encapsulation: 2 });
|
|
21401
21187
|
(function () {
|
|
21402
21188
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
|
|
21403
21189
|
type: i0.Component,
|
|
21404
21190
|
args: [{
|
|
21405
21191
|
selector: 'ccd-query-write-raise-query',
|
|
21406
|
-
templateUrl: './query-write-raise-query.component.html'
|
|
21407
|
-
styleUrls: ['./query-write-raise-query.component.scss']
|
|
21192
|
+
templateUrl: './query-write-raise-query.component.html'
|
|
21408
21193
|
}]
|
|
21409
21194
|
}], null, { formGroup: [{
|
|
21410
21195
|
type: i0.Input
|
|
21411
21196
|
}] });
|
|
21412
21197
|
})();
|
|
21413
21198
|
|
|
21414
|
-
function
|
|
21199
|
+
function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
|
|
21415
21200
|
if (rf & 1) {
|
|
21416
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21417
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21201
|
+
i0__namespace.ɵɵelementStart(0, "p", 15);
|
|
21202
|
+
i0__namespace.ɵɵelementStart(1, "span", 16);
|
|
21418
21203
|
i0__namespace.ɵɵtext(2);
|
|
21419
21204
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21420
21205
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21429,43 +21214,13 @@
|
|
|
21429
21214
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
|
|
21430
21215
|
}
|
|
21431
21216
|
}
|
|
21432
|
-
function QueryWriteRespondToQueryComponent_p_38_Template(rf, ctx) {
|
|
21433
|
-
if (rf & 1) {
|
|
21434
|
-
i0__namespace.ɵɵelementStart(0, "p", 26);
|
|
21435
|
-
i0__namespace.ɵɵelementStart(1, "span", 25);
|
|
21436
|
-
i0__namespace.ɵɵtext(2);
|
|
21437
|
-
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21438
|
-
i0__namespace.ɵɵelementEnd();
|
|
21439
|
-
i0__namespace.ɵɵtext(4);
|
|
21440
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21441
|
-
i0__namespace.ɵɵelementEnd();
|
|
21442
|
-
}
|
|
21443
|
-
if (rf & 2) {
|
|
21444
|
-
i0__namespace.ɵɵadvance(2);
|
|
21445
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21446
|
-
i0__namespace.ɵɵadvance(2);
|
|
21447
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "File error message"), " ");
|
|
21448
|
-
}
|
|
21449
|
-
}
|
|
21450
21217
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21451
21218
|
function QueryWriteRespondToQueryComponent() {
|
|
21452
|
-
this.confirmDetails = new i0.EventEmitter();
|
|
21453
21219
|
}
|
|
21454
|
-
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21455
|
-
var _a;
|
|
21456
|
-
this.formGroup = new i3.FormGroup({
|
|
21457
|
-
response: new i3.FormControl(((_a = this.queryItem) === null || _a === void 0 ? void 0 : _a.response) ? this.queryItem.response : '', i3.Validators.required),
|
|
21458
|
-
documents: new i3.FormControl([], i3.Validators.required)
|
|
21459
|
-
});
|
|
21460
|
-
};
|
|
21461
|
-
QueryWriteRespondToQueryComponent.prototype.submitForm = function () {
|
|
21462
|
-
this.queryItem.response = this.formGroup.controls['response'].value;
|
|
21463
|
-
this.confirmDetails.emit(true);
|
|
21464
|
-
};
|
|
21465
21220
|
return QueryWriteRespondToQueryComponent;
|
|
21466
21221
|
}());
|
|
21467
21222
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21468
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" },
|
|
21223
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 30, vars: 23, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21469
21224
|
if (rf & 1) {
|
|
21470
21225
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21471
21226
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21474,80 +21229,43 @@
|
|
|
21474
21229
|
i0__namespace.ɵɵelementEnd();
|
|
21475
21230
|
i0__namespace.ɵɵelementEnd();
|
|
21476
21231
|
i0__namespace.ɵɵelementStart(4, "div", 2);
|
|
21477
|
-
i0__namespace.ɵɵelementStart(5, "div",
|
|
21478
|
-
i0__namespace.ɵɵ
|
|
21479
|
-
i0__namespace.ɵɵ
|
|
21480
|
-
i0__namespace.ɵɵ
|
|
21481
|
-
i0__namespace.ɵɵelementStart(8, "h1", 4);
|
|
21482
|
-
i0__namespace.ɵɵtext(9);
|
|
21483
|
-
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21484
|
-
i0__namespace.ɵɵelementEnd();
|
|
21485
|
-
i0__namespace.ɵɵelementStart(11, "div", 5);
|
|
21486
|
-
i0__namespace.ɵɵelement(12, "ccd-query-case-details-header");
|
|
21487
|
-
i0__namespace.ɵɵelementEnd();
|
|
21488
|
-
i0__namespace.ɵɵelementStart(13, "div");
|
|
21489
|
-
i0__namespace.ɵɵelement(14, "ccd-query-details-table", 6);
|
|
21490
|
-
i0__namespace.ɵɵelementEnd();
|
|
21491
|
-
i0__namespace.ɵɵelementEnd();
|
|
21492
|
-
i0__namespace.ɵɵelementStart(15, "div", 5);
|
|
21493
|
-
i0__namespace.ɵɵelementStart(16, "h1", 7);
|
|
21494
|
-
i0__namespace.ɵɵtext(17);
|
|
21495
|
-
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21496
|
-
i0__namespace.ɵɵelementEnd();
|
|
21497
|
-
i0__namespace.ɵɵelementStart(19, "div", 8);
|
|
21498
|
-
i0__namespace.ɵɵelementStart(20, "div", 9);
|
|
21499
|
-
i0__namespace.ɵɵelementStart(21, "div", 10);
|
|
21500
|
-
i0__namespace.ɵɵelementStart(22, "label", 11);
|
|
21501
|
-
i0__namespace.ɵɵtext(23);
|
|
21502
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
21503
|
-
i0__namespace.ɵɵelementEnd();
|
|
21504
|
-
i0__namespace.ɵɵelementEnd();
|
|
21505
|
-
i0__namespace.ɵɵtemplate(25, QueryWriteRespondToQueryComponent_p_25_Template, 6, 6, "p", 12);
|
|
21506
|
-
i0__namespace.ɵɵelementStart(26, "textarea", 13);
|
|
21507
|
-
i0__namespace.ɵɵtext(27, " ");
|
|
21508
|
-
i0__namespace.ɵɵelementEnd();
|
|
21509
|
-
i0__namespace.ɵɵelementEnd();
|
|
21510
|
-
i0__namespace.ɵɵelementStart(28, "div");
|
|
21511
|
-
i0__namespace.ɵɵelementStart(29, "div", 14);
|
|
21512
|
-
i0__namespace.ɵɵelementStart(30, "div", 10);
|
|
21513
|
-
i0__namespace.ɵɵelementStart(31, "label", 15);
|
|
21514
|
-
i0__namespace.ɵɵelementStart(32, "div", 16);
|
|
21515
|
-
i0__namespace.ɵɵtext(33);
|
|
21516
|
-
i0__namespace.ɵɵpipe(34, "rpxTranslate");
|
|
21517
|
-
i0__namespace.ɵɵelementEnd();
|
|
21518
|
-
i0__namespace.ɵɵelementStart(35, "div");
|
|
21519
|
-
i0__namespace.ɵɵtext(36);
|
|
21520
|
-
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
21232
|
+
i0__namespace.ɵɵelementStart(5, "div", 2);
|
|
21233
|
+
i0__namespace.ɵɵelementStart(6, "div", 3);
|
|
21234
|
+
i0__namespace.ɵɵtext(7);
|
|
21235
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
21521
21236
|
i0__namespace.ɵɵelementEnd();
|
|
21237
|
+
i0__namespace.ɵɵelementStart(9, "h1", 4);
|
|
21238
|
+
i0__namespace.ɵɵtext(10);
|
|
21239
|
+
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
21522
21240
|
i0__namespace.ɵɵelementEnd();
|
|
21523
21241
|
i0__namespace.ɵɵelementEnd();
|
|
21524
|
-
i0__namespace.ɵɵ
|
|
21525
|
-
i0__namespace.ɵɵelement(
|
|
21242
|
+
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
21243
|
+
i0__namespace.ɵɵelement(13, "ccd-query-case-details-header");
|
|
21526
21244
|
i0__namespace.ɵɵelementEnd();
|
|
21245
|
+
i0__namespace.ɵɵelementStart(14, "div");
|
|
21246
|
+
i0__namespace.ɵɵelement(15, "ccd-query-details-table", 6);
|
|
21527
21247
|
i0__namespace.ɵɵelementEnd();
|
|
21528
|
-
i0__namespace.ɵɵelementStart(40, "button", 19);
|
|
21529
|
-
i0__namespace.ɵɵtext(41);
|
|
21530
|
-
i0__namespace.ɵɵpipe(42, "rpxTranslate");
|
|
21531
21248
|
i0__namespace.ɵɵelementEnd();
|
|
21249
|
+
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
21250
|
+
i0__namespace.ɵɵelementStart(17, "div", 5);
|
|
21251
|
+
i0__namespace.ɵɵelementStart(18, "h1", 8);
|
|
21252
|
+
i0__namespace.ɵɵtext(19);
|
|
21253
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
21532
21254
|
i0__namespace.ɵɵelementEnd();
|
|
21255
|
+
i0__namespace.ɵɵelementStart(21, "div", 9);
|
|
21256
|
+
i0__namespace.ɵɵelementStart(22, "div", 10);
|
|
21257
|
+
i0__namespace.ɵɵelementStart(23, "div", 11);
|
|
21258
|
+
i0__namespace.ɵɵelementStart(24, "label", 12);
|
|
21259
|
+
i0__namespace.ɵɵtext(25);
|
|
21260
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21533
21261
|
i0__namespace.ɵɵelementEnd();
|
|
21534
|
-
i0__namespace.ɵɵelementStart(43, "div");
|
|
21535
|
-
i0__namespace.ɵɵelementStart(44, "div", 20);
|
|
21536
|
-
i0__namespace.ɵɵelementStart(45, "button", 21);
|
|
21537
|
-
i0__namespace.ɵɵtext(46);
|
|
21538
|
-
i0__namespace.ɵɵpipe(47, "rpxTranslate");
|
|
21539
21262
|
i0__namespace.ɵɵelementEnd();
|
|
21540
|
-
i0__namespace.ɵɵ
|
|
21541
|
-
i0__namespace.ɵɵ
|
|
21542
|
-
i0__namespace.ɵɵtext(
|
|
21543
|
-
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
21263
|
+
i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
|
|
21264
|
+
i0__namespace.ɵɵelementStart(28, "textarea", 14);
|
|
21265
|
+
i0__namespace.ɵɵtext(29, " ");
|
|
21544
21266
|
i0__namespace.ɵɵelementEnd();
|
|
21545
21267
|
i0__namespace.ɵɵelementEnd();
|
|
21546
21268
|
i0__namespace.ɵɵelementEnd();
|
|
21547
|
-
i0__namespace.ɵɵelementStart(51, "div", 0);
|
|
21548
|
-
i0__namespace.ɵɵelementStart(52, "a", 23);
|
|
21549
|
-
i0__namespace.ɵɵtext(53);
|
|
21550
|
-
i0__namespace.ɵɵpipe(54, "rpxTranslate");
|
|
21551
21269
|
i0__namespace.ɵɵelementEnd();
|
|
21552
21270
|
i0__namespace.ɵɵelementEnd();
|
|
21553
21271
|
}
|
|
@@ -21555,62 +21273,41 @@
|
|
|
21555
21273
|
var tmp_6_0 = null;
|
|
21556
21274
|
var tmp_8_0 = null;
|
|
21557
21275
|
var tmp_9_0 = null;
|
|
21558
|
-
var tmp_11_0 = null;
|
|
21559
|
-
var tmp_14_0 = null;
|
|
21560
21276
|
i0__namespace.ɵɵadvance(2);
|
|
21561
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3,
|
|
21562
|
-
i0__namespace.ɵɵadvance(
|
|
21563
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21277
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 13, "Back to tasks"));
|
|
21278
|
+
i0__namespace.ɵɵadvance(5);
|
|
21279
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 15, "Respond to query"));
|
|
21564
21280
|
i0__namespace.ɵɵadvance(3);
|
|
21565
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21281
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 17, "Query details"));
|
|
21566
21282
|
i0__namespace.ɵɵadvance(5);
|
|
21567
21283
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21568
|
-
i0__namespace.ɵɵadvance(
|
|
21569
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21284
|
+
i0__namespace.ɵɵadvance(4);
|
|
21285
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 19, "Respond to a query"));
|
|
21570
21286
|
i0__namespace.ɵɵadvance(2);
|
|
21571
21287
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21572
21288
|
i0__namespace.ɵɵadvance(1);
|
|
21573
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("
|
|
21289
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21574
21290
|
i0__namespace.ɵɵadvance(3);
|
|
21575
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21291
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 21, "Response message"), " ");
|
|
21576
21292
|
i0__namespace.ɵɵadvance(2);
|
|
21577
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("
|
|
21293
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
21578
21294
|
i0__namespace.ɵɵadvance(1);
|
|
21579
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("
|
|
21580
|
-
i0__namespace.ɵɵproperty("formControlName", "
|
|
21581
|
-
i0__namespace.ɵɵadvance(3);
|
|
21582
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_11_0 = ctx.formGroup.get("documents")) == null ? null : tmp_11_0.errors == null ? null : tmp_11_0.errors.length);
|
|
21583
|
-
i0__namespace.ɵɵadvance(4);
|
|
21584
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(34, 33, "Add document (optional)"));
|
|
21585
|
-
i0__namespace.ɵɵadvance(3);
|
|
21586
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(37, 35, "Attach a document to this message"));
|
|
21587
|
-
i0__namespace.ɵɵadvance(2);
|
|
21588
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_14_0 = ctx.formGroup.get("response")) == null ? null : tmp_14_0.errors == null ? null : tmp_14_0.errors.length);
|
|
21589
|
-
i0__namespace.ɵɵadvance(3);
|
|
21590
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(42, 37, "Next"), " ");
|
|
21591
|
-
i0__namespace.ɵɵadvance(4);
|
|
21592
|
-
i0__namespace.ɵɵproperty("disabled", true);
|
|
21593
|
-
i0__namespace.ɵɵadvance(1);
|
|
21594
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(47, 39, "Previous"), " ");
|
|
21595
|
-
i0__namespace.ɵɵadvance(3);
|
|
21596
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 41, "Continue"), " ");
|
|
21597
|
-
i0__namespace.ɵɵadvance(4);
|
|
21598
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(54, 43, "Cancel and return to query list"));
|
|
21295
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21296
|
+
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21599
21297
|
}
|
|
21600
|
-
},
|
|
21298
|
+
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
21601
21299
|
(function () {
|
|
21602
21300
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteRespondToQueryComponent, [{
|
|
21603
21301
|
type: i0.Component,
|
|
21604
21302
|
args: [{
|
|
21605
21303
|
selector: 'ccd-query-write-respond-to-query',
|
|
21606
|
-
templateUrl: './query-write-respond-to-query.component.html'
|
|
21304
|
+
templateUrl: './query-write-respond-to-query.component.html',
|
|
21305
|
+
styleUrls: ['./query-write-respond-to-query.component.scss']
|
|
21607
21306
|
}]
|
|
21608
21307
|
}], null, { queryItem: [{
|
|
21609
21308
|
type: i0.Input
|
|
21610
21309
|
}], formGroup: [{
|
|
21611
21310
|
type: i0.Input
|
|
21612
|
-
}], confirmDetails: [{
|
|
21613
|
-
type: i0.Output
|
|
21614
21311
|
}] });
|
|
21615
21312
|
})();
|
|
21616
21313
|
|
|
@@ -21721,89 +21418,48 @@
|
|
|
21721
21418
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
21722
21419
|
})();
|
|
21723
21420
|
|
|
21724
|
-
function WriteQueryManagementFieldComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
21725
|
-
if (rf & 1) {
|
|
21726
|
-
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21727
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
21728
|
-
i0__namespace.ɵɵelementStart(1, "ccd-query-write-respond-to-query", 5);
|
|
21729
|
-
i0__namespace.ɵɵlistener("confirmDetails", function WriteQueryManagementFieldComponent_ng_container_1_ng_container_1_Template_ccd_query_write_respond_to_query_confirmDetails_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(2); return ctx_r5.confirmDetails(); });
|
|
21730
|
-
i0__namespace.ɵɵelementEnd();
|
|
21731
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
21732
|
-
}
|
|
21733
|
-
if (rf & 2) {
|
|
21734
|
-
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
21735
|
-
i0__namespace.ɵɵadvance(1);
|
|
21736
|
-
i0__namespace.ɵɵproperty("queryItem", ctx_r2.queryItem)("formGroup", ctx_r2.formGroup);
|
|
21737
|
-
}
|
|
21738
|
-
}
|
|
21739
|
-
function WriteQueryManagementFieldComponent_ng_container_1_ng_template_2_Template(rf, ctx) {
|
|
21740
|
-
if (rf & 1) {
|
|
21741
|
-
i0__namespace.ɵɵelement(0, "ccd-query-write-raise-query", 6);
|
|
21742
|
-
}
|
|
21743
|
-
if (rf & 2) {
|
|
21744
|
-
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
21745
|
-
i0__namespace.ɵɵproperty("formGroup", ctx_r4.formGroup);
|
|
21746
|
-
}
|
|
21747
|
-
}
|
|
21748
21421
|
function WriteQueryManagementFieldComponent_ng_container_1_Template(rf, ctx) {
|
|
21749
21422
|
if (rf & 1) {
|
|
21750
21423
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
21751
|
-
i0__namespace.ɵɵ
|
|
21752
|
-
i0__namespace.ɵɵtemplate(2, WriteQueryManagementFieldComponent_ng_container_1_ng_template_2_Template, 1, 1, "ng-template", null, 4, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21424
|
+
i0__namespace.ɵɵelement(1, "ccd-query-write-respond-to-query", 3);
|
|
21753
21425
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21754
21426
|
}
|
|
21755
21427
|
if (rf & 2) {
|
|
21756
|
-
var _r3 = i0__namespace.ɵɵreference(3);
|
|
21757
21428
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
21758
21429
|
i0__namespace.ɵɵadvance(1);
|
|
21759
|
-
i0__namespace.ɵɵproperty("
|
|
21430
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.queryItem)("formGroup", ctx_r0.formGroup);
|
|
21760
21431
|
}
|
|
21761
21432
|
}
|
|
21762
|
-
function
|
|
21433
|
+
function WriteQueryManagementFieldComponent_ng_template_2_Template(rf, ctx) {
|
|
21763
21434
|
if (rf & 1) {
|
|
21764
|
-
|
|
21765
|
-
i0__namespace.ɵɵelementStart(0, "ccd-query-check-your-answers", 7);
|
|
21766
|
-
i0__namespace.ɵɵlistener("backClicked", function WriteQueryManagementFieldComponent_ccd_query_check_your_answers_2_Template_ccd_query_check_your_answers_backClicked_0_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.showResponseForm(); });
|
|
21767
|
-
i0__namespace.ɵɵelementEnd();
|
|
21435
|
+
i0__namespace.ɵɵelement(0, "ccd-query-write-raise-query", 4);
|
|
21768
21436
|
}
|
|
21769
21437
|
if (rf & 2) {
|
|
21770
|
-
var
|
|
21771
|
-
i0__namespace.ɵɵproperty("
|
|
21438
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
21439
|
+
i0__namespace.ɵɵproperty("formGroup", ctx_r2.formGroup);
|
|
21772
21440
|
}
|
|
21773
21441
|
}
|
|
21774
21442
|
var WriteQueryManagementFieldComponent = /** @class */ (function (_super) {
|
|
21775
21443
|
__extends(WriteQueryManagementFieldComponent, _super);
|
|
21776
21444
|
function WriteQueryManagementFieldComponent() {
|
|
21777
21445
|
var _this = _super.call(this) || this;
|
|
21778
|
-
_this.showSummary = false;
|
|
21779
21446
|
_this.formGroup = new i3.FormGroup({});
|
|
21780
21447
|
return _this;
|
|
21781
21448
|
}
|
|
21782
|
-
WriteQueryManagementFieldComponent.prototype.ngOnInit = function () {
|
|
21783
|
-
this.queryItem = new QueryListItem();
|
|
21784
|
-
Object.assign(this.queryItem, partyMessagesMockData[0].partyMessages[0]);
|
|
21785
|
-
};
|
|
21786
|
-
WriteQueryManagementFieldComponent.prototype.showResponseForm = function () {
|
|
21787
|
-
this.showSummary = false;
|
|
21788
|
-
};
|
|
21789
|
-
WriteQueryManagementFieldComponent.prototype.confirmDetails = function () {
|
|
21790
|
-
this.showSummary = true;
|
|
21791
|
-
};
|
|
21792
21449
|
return WriteQueryManagementFieldComponent;
|
|
21793
21450
|
}(AbstractFieldReadComponent));
|
|
21794
21451
|
WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
|
|
21795
|
-
WriteQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls:
|
|
21452
|
+
WriteQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteQueryManagementFieldComponent, selectors: [["ccd-write-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 4, vars: 2, consts: [[1, "govuk-!-margin-top-6", "govuk-!-margin-bottom-6"], [4, "ngIf", "ngIfElse"], ["raiseQuery", ""], [3, "queryItem", "formGroup"], [3, "formGroup"]], template: function WriteQueryManagementFieldComponent_Template(rf, ctx) {
|
|
21796
21453
|
if (rf & 1) {
|
|
21797
21454
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21798
|
-
i0__namespace.ɵɵtemplate(1, WriteQueryManagementFieldComponent_ng_container_1_Template,
|
|
21799
|
-
i0__namespace.ɵɵtemplate(2,
|
|
21455
|
+
i0__namespace.ɵɵtemplate(1, WriteQueryManagementFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
|
|
21456
|
+
i0__namespace.ɵɵtemplate(2, WriteQueryManagementFieldComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21800
21457
|
i0__namespace.ɵɵelementEnd();
|
|
21801
21458
|
}
|
|
21802
21459
|
if (rf & 2) {
|
|
21460
|
+
var _r1 = i0__namespace.ɵɵreference(3);
|
|
21803
21461
|
i0__namespace.ɵɵadvance(1);
|
|
21804
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
21805
|
-
i0__namespace.ɵɵadvance(1);
|
|
21806
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.showSummary);
|
|
21462
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem)("ngIfElse", _r1);
|
|
21807
21463
|
}
|
|
21808
21464
|
}, styles: [".response-textarea[_ngcontent-%COMP%]{max-width:576px}"] });
|
|
21809
21465
|
(function () {
|
|
@@ -29565,7 +29221,7 @@
|
|
|
29565
29221
|
QueryWriteRespondToQueryComponent,
|
|
29566
29222
|
QueryWriteRaiseQueryComponent,
|
|
29567
29223
|
QueryCaseDetailsHeaderComponent,
|
|
29568
|
-
|
|
29224
|
+
QueryWriteAddDocumentsComponent,
|
|
29569
29225
|
];
|
|
29570
29226
|
var PaletteModule = /** @class */ (function () {
|
|
29571
29227
|
function PaletteModule() {
|
|
@@ -29751,7 +29407,7 @@
|
|
|
29751
29407
|
QueryWriteRespondToQueryComponent,
|
|
29752
29408
|
QueryWriteRaiseQueryComponent,
|
|
29753
29409
|
QueryCaseDetailsHeaderComponent,
|
|
29754
|
-
|
|
29410
|
+
QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
|
|
29755
29411
|
i1$1.RouterModule,
|
|
29756
29412
|
i3.FormsModule,
|
|
29757
29413
|
i3.ReactiveFormsModule,
|
|
@@ -29898,7 +29554,7 @@
|
|
|
29898
29554
|
QueryWriteRespondToQueryComponent,
|
|
29899
29555
|
QueryWriteRaiseQueryComponent,
|
|
29900
29556
|
QueryCaseDetailsHeaderComponent,
|
|
29901
|
-
|
|
29557
|
+
QueryWriteAddDocumentsComponent] });
|
|
29902
29558
|
})();
|
|
29903
29559
|
(function () {
|
|
29904
29560
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -30040,13 +29696,12 @@
|
|
|
30040
29696
|
// Components for Query Management
|
|
30041
29697
|
ReadQueryManagementFieldComponent, [i5__namespace.NgForOf, i5__namespace.NgIf, QueryListComponent,
|
|
30042
29698
|
QueryDetailsComponent], []);
|
|
30043
|
-
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent,
|
|
30044
|
-
QueryCheckYourAnswersComponent], []);
|
|
29699
|
+
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
30045
29700
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
30046
29701
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
30047
29702
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
30048
29703
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
30049
|
-
i0__namespace.ɵɵsetComponentScope(
|
|
29704
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
30050
29705
|
|
|
30051
29706
|
var Confirmation = /** @class */ (function () {
|
|
30052
29707
|
function Confirmation(caseId, status, header, body) {
|
|
@@ -40663,13 +40318,13 @@
|
|
|
40663
40318
|
exports.ProfileNotifier = ProfileNotifier;
|
|
40664
40319
|
exports.ProfileService = ProfileService;
|
|
40665
40320
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
40666
|
-
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
40667
40321
|
exports.QueryCreateComponent = QueryCreateComponent;
|
|
40668
40322
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
40669
40323
|
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
40670
40324
|
exports.QueryListComponent = QueryListComponent;
|
|
40671
40325
|
exports.QueryListData = QueryListData;
|
|
40672
40326
|
exports.QueryListItem = QueryListItem;
|
|
40327
|
+
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40673
40328
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40674
40329
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40675
40330
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|
|
@@ -40782,7 +40437,6 @@
|
|
|
40782
40437
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
40783
40438
|
exports.YesNoService = YesNoService;
|
|
40784
40439
|
exports.aCaseField = aCaseField;
|
|
40785
|
-
exports.caseFieldMockData = caseFieldMockData;
|
|
40786
40440
|
exports.createACL = createACL;
|
|
40787
40441
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
40788
40442
|
exports.createCaseField = createCaseField;
|