@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-v1 → 6.16.0-query-management-document-uploader
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 +407 -661
- 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 +9 -11
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +4 -32
- 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 +67 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +49 -83
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +38 -83
- package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-message.model.js +1 -1
- 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 +356 -594
- 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 +5 -4
- 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 +4 -4
- 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/party-messages/party-message.model.d.ts +2 -2
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +2 -3
- 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);
|
|
@@ -20147,11 +20145,9 @@
|
|
|
20147
20145
|
body: 'Please review attached document and advise if hearing should proceed?',
|
|
20148
20146
|
attachments: [
|
|
20149
20147
|
{
|
|
20150
|
-
|
|
20151
|
-
|
|
20152
|
-
|
|
20153
|
-
},
|
|
20154
|
-
originalDocumentName: 'documentName.pdf',
|
|
20148
|
+
document_url: '/',
|
|
20149
|
+
document_binary_url: '/',
|
|
20150
|
+
document_filename: 'document.pdf',
|
|
20155
20151
|
}
|
|
20156
20152
|
],
|
|
20157
20153
|
isHearingRelated: true,
|
|
@@ -20254,31 +20250,99 @@
|
|
|
20254
20250
|
]
|
|
20255
20251
|
}
|
|
20256
20252
|
];
|
|
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
|
-
|
|
20253
|
+
|
|
20254
|
+
var QueryListItem = /** @class */ (function () {
|
|
20255
|
+
function QueryListItem() {
|
|
20256
|
+
this.children = [];
|
|
20257
|
+
}
|
|
20258
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20259
|
+
get: function () {
|
|
20260
|
+
var getLastSubmittedMessage = function (item) {
|
|
20261
|
+
var e_1, _b;
|
|
20262
|
+
var lastSubmittedMessage = item;
|
|
20263
|
+
if (item.children && item.children.length > 0) {
|
|
20264
|
+
try {
|
|
20265
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20266
|
+
var child = _d.value;
|
|
20267
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20268
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20269
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20270
|
+
}
|
|
20271
|
+
}
|
|
20272
|
+
}
|
|
20273
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20274
|
+
finally {
|
|
20275
|
+
try {
|
|
20276
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20277
|
+
}
|
|
20278
|
+
finally { if (e_1) throw e_1.error; }
|
|
20279
|
+
}
|
|
20280
|
+
}
|
|
20281
|
+
return lastSubmittedMessage;
|
|
20282
|
+
};
|
|
20283
|
+
return getLastSubmittedMessage(this);
|
|
20284
|
+
},
|
|
20285
|
+
enumerable: false,
|
|
20286
|
+
configurable: true
|
|
20287
|
+
});
|
|
20288
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20289
|
+
get: function () {
|
|
20290
|
+
return this.lastSubmittedMessage.name;
|
|
20291
|
+
},
|
|
20292
|
+
enumerable: false,
|
|
20293
|
+
configurable: true
|
|
20294
|
+
});
|
|
20295
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20296
|
+
get: function () {
|
|
20297
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20298
|
+
},
|
|
20299
|
+
enumerable: false,
|
|
20300
|
+
configurable: true
|
|
20301
|
+
});
|
|
20302
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20303
|
+
get: function () {
|
|
20304
|
+
var _a;
|
|
20305
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20306
|
+
},
|
|
20307
|
+
enumerable: false,
|
|
20308
|
+
configurable: true
|
|
20309
|
+
});
|
|
20310
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20311
|
+
get: function () {
|
|
20312
|
+
var _a;
|
|
20313
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20314
|
+
},
|
|
20315
|
+
enumerable: false,
|
|
20316
|
+
configurable: true
|
|
20317
|
+
});
|
|
20318
|
+
return QueryListItem;
|
|
20319
|
+
}());
|
|
20320
|
+
|
|
20321
|
+
var QueryListData = /** @class */ (function () {
|
|
20322
|
+
function QueryListData(partyMessagesGroup) {
|
|
20323
|
+
var _this = this;
|
|
20324
|
+
this.partyName = partyMessagesGroup.partyName;
|
|
20325
|
+
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20326
|
+
// get the parent messages (messages without parentId) and add the children to them
|
|
20327
|
+
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20328
|
+
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20329
|
+
}
|
|
20330
|
+
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20331
|
+
var _this = this;
|
|
20332
|
+
var queryListItem = new QueryListItem();
|
|
20333
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20334
|
+
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20335
|
+
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20336
|
+
return queryListItem;
|
|
20337
|
+
};
|
|
20338
|
+
return QueryListData;
|
|
20339
|
+
}());
|
|
20340
|
+
|
|
20341
|
+
exports.QueryListResponseStatus = void 0;
|
|
20342
|
+
(function (QueryListResponseStatus) {
|
|
20343
|
+
QueryListResponseStatus["NEW"] = "New";
|
|
20344
|
+
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20345
|
+
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20282
20346
|
|
|
20283
20347
|
var MarkdownComponent = /** @class */ (function () {
|
|
20284
20348
|
function MarkdownComponent() {
|
|
@@ -20419,6 +20483,68 @@
|
|
|
20419
20483
|
}], function () { return []; }, null);
|
|
20420
20484
|
})();
|
|
20421
20485
|
|
|
20486
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20487
|
+
if (rf & 1) {
|
|
20488
|
+
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20489
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20490
|
+
i0__namespace.ɵɵelementStart(1, "p");
|
|
20491
|
+
i0__namespace.ɵɵelement(2, "br");
|
|
20492
|
+
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20493
|
+
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
|
|
20494
|
+
i0__namespace.ɵɵtext(4);
|
|
20495
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20496
|
+
i0__namespace.ɵɵelementEnd();
|
|
20497
|
+
i0__namespace.ɵɵelementEnd();
|
|
20498
|
+
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20499
|
+
i0__namespace.ɵɵtext(7);
|
|
20500
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20501
|
+
i0__namespace.ɵɵelementEnd();
|
|
20502
|
+
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20503
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20504
|
+
}
|
|
20505
|
+
if (rf & 2) {
|
|
20506
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20507
|
+
i0__namespace.ɵɵadvance(4);
|
|
20508
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20509
|
+
i0__namespace.ɵɵadvance(3);
|
|
20510
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20511
|
+
i0__namespace.ɵɵadvance(2);
|
|
20512
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20513
|
+
}
|
|
20514
|
+
}
|
|
20515
|
+
var QueryDetailsComponent = /** @class */ (function () {
|
|
20516
|
+
function QueryDetailsComponent() {
|
|
20517
|
+
this.backClicked = new i0.EventEmitter();
|
|
20518
|
+
}
|
|
20519
|
+
QueryDetailsComponent.prototype.onBack = function () {
|
|
20520
|
+
this.backClicked.emit(true);
|
|
20521
|
+
};
|
|
20522
|
+
return QueryDetailsComponent;
|
|
20523
|
+
}());
|
|
20524
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20525
|
+
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
20526
|
+
if (rf & 1) {
|
|
20527
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20528
|
+
}
|
|
20529
|
+
if (rf & 2) {
|
|
20530
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20531
|
+
}
|
|
20532
|
+
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20533
|
+
(function () {
|
|
20534
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20535
|
+
type: i0.Component,
|
|
20536
|
+
args: [{
|
|
20537
|
+
selector: 'ccd-query-details',
|
|
20538
|
+
templateUrl: './query-details.component.html',
|
|
20539
|
+
styleUrls: ['./query-details.component.scss']
|
|
20540
|
+
}]
|
|
20541
|
+
}], null, { query: [{
|
|
20542
|
+
type: i0.Input
|
|
20543
|
+
}], backClicked: [{
|
|
20544
|
+
type: i0.Output
|
|
20545
|
+
}] });
|
|
20546
|
+
})();
|
|
20547
|
+
|
|
20422
20548
|
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20423
20549
|
if (rf & 1) {
|
|
20424
20550
|
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
@@ -20581,68 +20707,6 @@
|
|
|
20581
20707
|
}] });
|
|
20582
20708
|
})();
|
|
20583
20709
|
|
|
20584
|
-
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20585
|
-
if (rf & 1) {
|
|
20586
|
-
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20587
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20588
|
-
i0__namespace.ɵɵelementStart(1, "p");
|
|
20589
|
-
i0__namespace.ɵɵelement(2, "br");
|
|
20590
|
-
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20591
|
-
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
|
|
20592
|
-
i0__namespace.ɵɵtext(4);
|
|
20593
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20594
|
-
i0__namespace.ɵɵelementEnd();
|
|
20595
|
-
i0__namespace.ɵɵelementEnd();
|
|
20596
|
-
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20597
|
-
i0__namespace.ɵɵtext(7);
|
|
20598
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20599
|
-
i0__namespace.ɵɵelementEnd();
|
|
20600
|
-
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20601
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20602
|
-
}
|
|
20603
|
-
if (rf & 2) {
|
|
20604
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20605
|
-
i0__namespace.ɵɵadvance(4);
|
|
20606
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20607
|
-
i0__namespace.ɵɵadvance(3);
|
|
20608
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20609
|
-
i0__namespace.ɵɵadvance(2);
|
|
20610
|
-
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20611
|
-
}
|
|
20612
|
-
}
|
|
20613
|
-
var QueryDetailsComponent = /** @class */ (function () {
|
|
20614
|
-
function QueryDetailsComponent() {
|
|
20615
|
-
this.backClicked = new i0.EventEmitter();
|
|
20616
|
-
}
|
|
20617
|
-
QueryDetailsComponent.prototype.onBack = function () {
|
|
20618
|
-
this.backClicked.emit(true);
|
|
20619
|
-
};
|
|
20620
|
-
return QueryDetailsComponent;
|
|
20621
|
-
}());
|
|
20622
|
-
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20623
|
-
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
20624
|
-
if (rf & 1) {
|
|
20625
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20626
|
-
}
|
|
20627
|
-
if (rf & 2) {
|
|
20628
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20629
|
-
}
|
|
20630
|
-
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20631
|
-
(function () {
|
|
20632
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20633
|
-
type: i0.Component,
|
|
20634
|
-
args: [{
|
|
20635
|
-
selector: 'ccd-query-details',
|
|
20636
|
-
templateUrl: './query-details.component.html',
|
|
20637
|
-
styleUrls: ['./query-details.component.scss']
|
|
20638
|
-
}]
|
|
20639
|
-
}], null, { query: [{
|
|
20640
|
-
type: i0.Input
|
|
20641
|
-
}], backClicked: [{
|
|
20642
|
-
type: i0.Output
|
|
20643
|
-
}] });
|
|
20644
|
-
})();
|
|
20645
|
-
|
|
20646
20710
|
var SortOrder;
|
|
20647
20711
|
(function (SortOrder) {
|
|
20648
20712
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -20650,99 +20714,6 @@
|
|
|
20650
20714
|
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
20651
20715
|
})(SortOrder || (SortOrder = {}));
|
|
20652
20716
|
|
|
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
20717
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
20747
20718
|
if (rf & 1) {
|
|
20748
20719
|
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -20927,176 +20898,79 @@
|
|
|
20927
20898
|
}] });
|
|
20928
20899
|
})();
|
|
20929
20900
|
|
|
20930
|
-
function
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20941
|
-
|
|
20942
|
-
|
|
20901
|
+
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
20902
|
+
function QueryWriteAddDocumentsComponent() {
|
|
20903
|
+
this.documentFormGroup = new i3.FormGroup({});
|
|
20904
|
+
this.documentCollectionUpdate = new i0.EventEmitter();
|
|
20905
|
+
// This field is mocked to allow the document component to be used in isolation
|
|
20906
|
+
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
20907
|
+
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
20908
|
+
label: 'Add document (optional)',
|
|
20909
|
+
hint_text: 'Attach a document to this message',
|
|
20910
|
+
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
20911
|
+
field_type: Object.assign(new FieldType(), {
|
|
20912
|
+
id: 'queryDocuments',
|
|
20913
|
+
type: 'queryDocuments',
|
|
20914
|
+
min: null,
|
|
20915
|
+
max: null,
|
|
20916
|
+
regular_expression: null,
|
|
20917
|
+
fixed_list_items: [],
|
|
20918
|
+
complex_fields: [],
|
|
20919
|
+
collection_field_type: Object.assign(new FieldType(), {
|
|
20920
|
+
id: 'Document',
|
|
20921
|
+
type: 'Document',
|
|
20922
|
+
min: null,
|
|
20923
|
+
max: null,
|
|
20924
|
+
regular_expression: null,
|
|
20925
|
+
fixed_list_items: [],
|
|
20926
|
+
complex_fields: [],
|
|
20927
|
+
collection_field_type: null,
|
|
20928
|
+
})
|
|
20929
|
+
}),
|
|
20930
|
+
});
|
|
20943
20931
|
}
|
|
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;
|
|
20932
|
+
QueryWriteAddDocumentsComponent.prototype.ngAfterViewInit = function () {
|
|
20933
|
+
var _this = this;
|
|
20934
|
+
var formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
20935
|
+
if (formControl) {
|
|
20936
|
+
this.documentFormControlSubscription = formControl.valueChanges
|
|
20937
|
+
.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); }))
|
|
20938
|
+
.subscribe();
|
|
20939
|
+
}
|
|
20965
20940
|
};
|
|
20966
|
-
|
|
20967
|
-
|
|
20941
|
+
QueryWriteAddDocumentsComponent.prototype.ngOnDestroy = function () {
|
|
20942
|
+
var _a;
|
|
20943
|
+
(_a = this.documentFormControlSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
20968
20944
|
};
|
|
20969
|
-
return
|
|
20945
|
+
return QueryWriteAddDocumentsComponent;
|
|
20970
20946
|
}());
|
|
20971
|
-
|
|
20972
|
-
|
|
20947
|
+
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
20948
|
+
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
20949
|
+
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
20950
|
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();
|
|
20951
|
+
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
21050
20952
|
}
|
|
21051
20953
|
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"));
|
|
20954
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
21078
20955
|
}
|
|
21079
|
-
}, styles: ["
|
|
20956
|
+
}, styles: [""] });
|
|
21080
20957
|
(function () {
|
|
21081
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(
|
|
20958
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
21082
20959
|
type: i0.Component,
|
|
21083
20960
|
args: [{
|
|
21084
|
-
selector: 'ccd-query-
|
|
21085
|
-
templateUrl: './query-
|
|
21086
|
-
styleUrls: ['./query-
|
|
21087
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
20961
|
+
selector: 'ccd-query-write-add-documents',
|
|
20962
|
+
templateUrl: './query-write-add-documents.component.html',
|
|
20963
|
+
styleUrls: ['./query-write-add-documents.component.scss']
|
|
21088
20964
|
}]
|
|
21089
|
-
}],
|
|
21090
|
-
type: i0.Input
|
|
21091
|
-
}], backClicked: [{
|
|
20965
|
+
}], function () { return []; }, { documentCollectionUpdate: [{
|
|
21092
20966
|
type: i0.Output
|
|
21093
20967
|
}] });
|
|
21094
20968
|
})();
|
|
21095
20969
|
|
|
21096
20970
|
function QueryWriteRaiseQueryComponent_p_23_Template(rf, ctx) {
|
|
21097
20971
|
if (rf & 1) {
|
|
21098
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21099
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20972
|
+
i0__namespace.ɵɵelementStart(0, "p", 35);
|
|
20973
|
+
i0__namespace.ɵɵelementStart(1, "span", 36);
|
|
21100
20974
|
i0__namespace.ɵɵtext(2);
|
|
21101
20975
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21102
20976
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21113,8 +20987,8 @@
|
|
|
21113
20987
|
}
|
|
21114
20988
|
function QueryWriteRaiseQueryComponent_p_33_Template(rf, ctx) {
|
|
21115
20989
|
if (rf & 1) {
|
|
21116
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21117
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20990
|
+
i0__namespace.ɵɵelementStart(0, "p", 37);
|
|
20991
|
+
i0__namespace.ɵɵelementStart(1, "span", 36);
|
|
21118
20992
|
i0__namespace.ɵɵtext(2);
|
|
21119
20993
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21120
20994
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21131,8 +21005,8 @@
|
|
|
21131
21005
|
}
|
|
21132
21006
|
function QueryWriteRaiseQueryComponent_p_43_Template(rf, ctx) {
|
|
21133
21007
|
if (rf & 1) {
|
|
21134
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21135
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21008
|
+
i0__namespace.ɵɵelementStart(0, "p", 38);
|
|
21009
|
+
i0__namespace.ɵɵelementStart(1, "span", 36);
|
|
21136
21010
|
i0__namespace.ɵɵtext(2);
|
|
21137
21011
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21138
21012
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21147,40 +21021,23 @@
|
|
|
21147
21021
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
21148
21022
|
}
|
|
21149
21023
|
}
|
|
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
21024
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
21169
21025
|
function QueryWriteRaiseQueryComponent() {
|
|
21170
|
-
}
|
|
21171
|
-
QueryWriteRaiseQueryComponent.prototype.ngOnInit = function () {
|
|
21172
21026
|
this.formGroup = new i3.FormGroup({
|
|
21173
21027
|
fullName: new i3.FormControl('', i3.Validators.required),
|
|
21174
21028
|
subject: new i3.FormControl('', i3.Validators.required),
|
|
21175
21029
|
body: new i3.FormControl('', i3.Validators.required),
|
|
21176
21030
|
isHearingRelated: new i3.FormControl(null, i3.Validators.required),
|
|
21177
|
-
documents: new i3.FormControl([]
|
|
21031
|
+
documents: new i3.FormControl([])
|
|
21178
21032
|
});
|
|
21033
|
+
}
|
|
21034
|
+
QueryWriteRaiseQueryComponent.prototype.onDocumentCollectionUpdate = function (documents) {
|
|
21035
|
+
this.formGroup.get('documents').setValue(documents);
|
|
21179
21036
|
};
|
|
21180
21037
|
return QueryWriteRaiseQueryComponent;
|
|
21181
21038
|
}());
|
|
21182
21039
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21183
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]],
|
|
21040
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], decls: 80, vars: 75, consts: [[1, "govuk-!-margin-top-6", "govuk-!-margin-bottom-6"], [1, "query-raise"], [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-response", "rows", "5", "aria-describedby", "query-response-hint query-response-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"], [3, "documentCollectionUpdate"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-button-group"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "disabled"], [1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link"], ["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
21041
|
if (rf & 1) {
|
|
21185
21042
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21186
21043
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -21271,46 +21128,33 @@
|
|
|
21271
21128
|
i0__namespace.ɵɵelementEnd();
|
|
21272
21129
|
i0__namespace.ɵɵelementEnd();
|
|
21273
21130
|
i0__namespace.ɵɵelementEnd();
|
|
21274
|
-
i0__namespace.ɵɵelementStart(63, "div");
|
|
21275
|
-
i0__namespace.ɵɵelementStart(64, "
|
|
21276
|
-
i0__namespace.ɵɵ
|
|
21277
|
-
i0__namespace.ɵɵelementStart(66, "label", 29);
|
|
21278
|
-
i0__namespace.ɵɵelementStart(67, "div", 30);
|
|
21279
|
-
i0__namespace.ɵɵtext(68);
|
|
21280
|
-
i0__namespace.ɵɵpipe(69, "rpxTranslate");
|
|
21281
|
-
i0__namespace.ɵɵelementEnd();
|
|
21282
|
-
i0__namespace.ɵɵelementStart(70, "div");
|
|
21283
|
-
i0__namespace.ɵɵtext(71);
|
|
21284
|
-
i0__namespace.ɵɵpipe(72, "rpxTranslate");
|
|
21285
|
-
i0__namespace.ɵɵelementEnd();
|
|
21286
|
-
i0__namespace.ɵɵelementEnd();
|
|
21287
|
-
i0__namespace.ɵɵelementEnd();
|
|
21288
|
-
i0__namespace.ɵɵtemplate(73, QueryWriteRaiseQueryComponent_p_73_Template, 6, 6, "p", 31);
|
|
21289
|
-
i0__namespace.ɵɵelement(74, "input", 32);
|
|
21131
|
+
i0__namespace.ɵɵelementStart(63, "div", 7);
|
|
21132
|
+
i0__namespace.ɵɵelementStart(64, "ccd-query-write-add-documents", 29);
|
|
21133
|
+
i0__namespace.ɵɵlistener("documentCollectionUpdate", function QueryWriteRaiseQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_64_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
21290
21134
|
i0__namespace.ɵɵelementEnd();
|
|
21291
21135
|
i0__namespace.ɵɵelementEnd();
|
|
21292
|
-
i0__namespace.ɵɵelementStart(
|
|
21293
|
-
i0__namespace.ɵɵtext(
|
|
21294
|
-
i0__namespace.ɵɵpipe(
|
|
21136
|
+
i0__namespace.ɵɵelementStart(65, "button", 30);
|
|
21137
|
+
i0__namespace.ɵɵtext(66);
|
|
21138
|
+
i0__namespace.ɵɵpipe(67, "rpxTranslate");
|
|
21295
21139
|
i0__namespace.ɵɵelementEnd();
|
|
21296
21140
|
i0__namespace.ɵɵelementEnd();
|
|
21297
21141
|
i0__namespace.ɵɵelementEnd();
|
|
21298
|
-
i0__namespace.ɵɵelementStart(
|
|
21299
|
-
i0__namespace.ɵɵelementStart(
|
|
21300
|
-
i0__namespace.ɵɵelementStart(
|
|
21301
|
-
i0__namespace.ɵɵtext(
|
|
21302
|
-
i0__namespace.ɵɵpipe(
|
|
21142
|
+
i0__namespace.ɵɵelementStart(68, "div");
|
|
21143
|
+
i0__namespace.ɵɵelementStart(69, "div", 31);
|
|
21144
|
+
i0__namespace.ɵɵelementStart(70, "button", 32);
|
|
21145
|
+
i0__namespace.ɵɵtext(71);
|
|
21146
|
+
i0__namespace.ɵɵpipe(72, "rpxTranslate");
|
|
21303
21147
|
i0__namespace.ɵɵelementEnd();
|
|
21304
|
-
i0__namespace.ɵɵelementStart(
|
|
21305
|
-
i0__namespace.ɵɵtext(
|
|
21306
|
-
i0__namespace.ɵɵpipe(
|
|
21148
|
+
i0__namespace.ɵɵelementStart(73, "button", 30);
|
|
21149
|
+
i0__namespace.ɵɵtext(74);
|
|
21150
|
+
i0__namespace.ɵɵpipe(75, "rpxTranslate");
|
|
21307
21151
|
i0__namespace.ɵɵelementEnd();
|
|
21308
21152
|
i0__namespace.ɵɵelementEnd();
|
|
21309
21153
|
i0__namespace.ɵɵelementEnd();
|
|
21310
|
-
i0__namespace.ɵɵelementStart(
|
|
21311
|
-
i0__namespace.ɵɵelementStart(
|
|
21312
|
-
i0__namespace.ɵɵtext(
|
|
21313
|
-
i0__namespace.ɵɵpipe(
|
|
21154
|
+
i0__namespace.ɵɵelementStart(76, "div", 33);
|
|
21155
|
+
i0__namespace.ɵɵelementStart(77, "a", 34);
|
|
21156
|
+
i0__namespace.ɵɵtext(78);
|
|
21157
|
+
i0__namespace.ɵɵpipe(79, "rpxTranslate");
|
|
21314
21158
|
i0__namespace.ɵɵelementEnd();
|
|
21315
21159
|
i0__namespace.ɵɵelementEnd();
|
|
21316
21160
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21328,19 +21172,18 @@
|
|
|
21328
21172
|
var tmp_18_0 = null;
|
|
21329
21173
|
var tmp_19_0 = null;
|
|
21330
21174
|
var tmp_28_0 = null;
|
|
21331
|
-
var tmp_31_0 = null;
|
|
21332
21175
|
i0__namespace.ɵɵadvance(4);
|
|
21333
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5,
|
|
21176
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 41, "Raise a query"));
|
|
21334
21177
|
i0__namespace.ɵɵadvance(3);
|
|
21335
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
21178
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 43, "Enter query details"));
|
|
21336
21179
|
i0__namespace.ɵɵadvance(6);
|
|
21337
21180
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21338
21181
|
i0__namespace.ɵɵadvance(2);
|
|
21339
21182
|
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
21183
|
i0__namespace.ɵɵadvance(3);
|
|
21341
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(19,
|
|
21184
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(19, 45, "Full name"), " ");
|
|
21342
21185
|
i0__namespace.ɵɵadvance(3);
|
|
21343
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(22,
|
|
21186
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(22, 47, "Your full name must be included here"), " ");
|
|
21344
21187
|
i0__namespace.ɵɵadvance(2);
|
|
21345
21188
|
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("response")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21346
21189
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21349,9 +21192,9 @@
|
|
|
21349
21192
|
i0__namespace.ɵɵadvance(1);
|
|
21350
21193
|
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
21194
|
i0__namespace.ɵɵadvance(3);
|
|
21352
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29,
|
|
21195
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 49, "Query subject"), " ");
|
|
21353
21196
|
i0__namespace.ɵɵadvance(3);
|
|
21354
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32,
|
|
21197
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 51, "The subject should be a summary of your query"), " ");
|
|
21355
21198
|
i0__namespace.ɵɵadvance(2);
|
|
21356
21199
|
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("response")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21357
21200
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21360,42 +21203,36 @@
|
|
|
21360
21203
|
i0__namespace.ɵɵadvance(1);
|
|
21361
21204
|
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
21205
|
i0__namespace.ɵɵadvance(3);
|
|
21363
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(39,
|
|
21206
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(39, 53, "Query body"), " ");
|
|
21364
21207
|
i0__namespace.ɵɵadvance(3);
|
|
21365
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(42,
|
|
21208
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(42, 55, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21366
21209
|
i0__namespace.ɵɵadvance(2);
|
|
21367
21210
|
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
21211
|
i0__namespace.ɵɵadvance(1);
|
|
21369
21212
|
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
21213
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21371
21214
|
i0__namespace.ɵɵadvance(6);
|
|
21372
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(51,
|
|
21215
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(51, 57, "Is the query hearing related?"), " ");
|
|
21373
21216
|
i0__namespace.ɵɵadvance(4);
|
|
21374
21217
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21375
21218
|
i0__namespace.ɵɵadvance(2);
|
|
21376
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(57,
|
|
21219
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(57, 59, "Is the query hearing related?", null, "Yes"), " ");
|
|
21377
21220
|
i0__namespace.ɵɵadvance(3);
|
|
21378
21221
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21379
21222
|
i0__namespace.ɵɵadvance(2);
|
|
21380
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(62,
|
|
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"));
|
|
21223
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(62, 63, "Is the query hearing related?", null, "No"), " ");
|
|
21387
21224
|
i0__namespace.ɵɵadvance(2);
|
|
21388
|
-
i0__namespace.ɵɵ
|
|
21225
|
+
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);
|
|
21389
21226
|
i0__namespace.ɵɵadvance(3);
|
|
21390
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21227
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(67, 67, "Next"), " ");
|
|
21391
21228
|
i0__namespace.ɵɵadvance(4);
|
|
21392
21229
|
i0__namespace.ɵɵproperty("disabled", true);
|
|
21393
21230
|
i0__namespace.ɵɵadvance(1);
|
|
21394
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21231
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(72, 69, "Previous"), " ");
|
|
21395
21232
|
i0__namespace.ɵɵadvance(3);
|
|
21396
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21233
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(75, 71, "Continue"), " ");
|
|
21397
21234
|
i0__namespace.ɵɵadvance(4);
|
|
21398
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21235
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(79, 73, "Cancel and return to case"), " ");
|
|
21399
21236
|
}
|
|
21400
21237
|
}, styles: [".query-raise[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
21401
21238
|
(function () {
|
|
@@ -21406,15 +21243,13 @@
|
|
|
21406
21243
|
templateUrl: './query-write-raise-query.component.html',
|
|
21407
21244
|
styleUrls: ['./query-write-raise-query.component.scss']
|
|
21408
21245
|
}]
|
|
21409
|
-
}],
|
|
21410
|
-
type: i0.Input
|
|
21411
|
-
}] });
|
|
21246
|
+
}], function () { return []; }, null);
|
|
21412
21247
|
})();
|
|
21413
21248
|
|
|
21414
21249
|
function QueryWriteRespondToQueryComponent_p_25_Template(rf, ctx) {
|
|
21415
21250
|
if (rf & 1) {
|
|
21416
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21417
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21251
|
+
i0__namespace.ɵɵelementStart(0, "p", 20);
|
|
21252
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21418
21253
|
i0__namespace.ɵɵtext(2);
|
|
21419
21254
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21420
21255
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21429,43 +21264,22 @@
|
|
|
21429
21264
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a response message"), " ");
|
|
21430
21265
|
}
|
|
21431
21266
|
}
|
|
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
21267
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21451
21268
|
function QueryWriteRespondToQueryComponent() {
|
|
21452
|
-
this.confirmDetails = new i0.EventEmitter();
|
|
21453
21269
|
}
|
|
21454
21270
|
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21455
|
-
var _a;
|
|
21456
21271
|
this.formGroup = new i3.FormGroup({
|
|
21457
|
-
response: new i3.FormControl(
|
|
21458
|
-
documents: new i3.FormControl(
|
|
21272
|
+
response: new i3.FormControl('', i3.Validators.required),
|
|
21273
|
+
documents: new i3.FormControl(null)
|
|
21459
21274
|
});
|
|
21460
21275
|
};
|
|
21461
|
-
QueryWriteRespondToQueryComponent.prototype.
|
|
21462
|
-
this.
|
|
21463
|
-
this.confirmDetails.emit(true);
|
|
21276
|
+
QueryWriteRespondToQueryComponent.prototype.onDocumentCollectionUpdate = function (documents) {
|
|
21277
|
+
this.formGroup.get('documents').setValue(documents);
|
|
21464
21278
|
};
|
|
21465
21279
|
return QueryWriteRespondToQueryComponent;
|
|
21466
21280
|
}());
|
|
21467
21281
|
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"
|
|
21282
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem" }, decls: 45, vars: 38, 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", "govuk-!-margin-bottom-4"], [1, "govuk-heading-l", "govuk-!-margin-bottom-3"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "response-textarea"], [1, "govuk-label-wrapper"], ["for", "query-response", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-response-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-response", "name", "query-response", "rows", "5", "aria-describedby", "query-response-hint query-response-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-form-group"], [3, "documentCollectionUpdate"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-button-group"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "disabled"], ["href", "javascript:void(0)", 1, "govuk-back-link"], ["id", "query-response-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21469
21283
|
if (rf & 1) {
|
|
21470
21284
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21471
21285
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21504,50 +21318,36 @@
|
|
|
21504
21318
|
i0__namespace.ɵɵelementEnd();
|
|
21505
21319
|
i0__namespace.ɵɵtemplate(25, QueryWriteRespondToQueryComponent_p_25_Template, 6, 6, "p", 12);
|
|
21506
21320
|
i0__namespace.ɵɵelementStart(26, "textarea", 13);
|
|
21507
|
-
i0__namespace.ɵɵtext(27, "
|
|
21321
|
+
i0__namespace.ɵɵtext(27, " ");
|
|
21508
21322
|
i0__namespace.ɵɵelementEnd();
|
|
21509
21323
|
i0__namespace.ɵɵelementEnd();
|
|
21510
|
-
i0__namespace.ɵɵelementStart(28, "div");
|
|
21511
|
-
i0__namespace.ɵɵelementStart(29, "
|
|
21512
|
-
i0__namespace.ɵɵ
|
|
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");
|
|
21521
|
-
i0__namespace.ɵɵelementEnd();
|
|
21324
|
+
i0__namespace.ɵɵelementStart(28, "div", 14);
|
|
21325
|
+
i0__namespace.ɵɵelementStart(29, "ccd-query-write-add-documents", 15);
|
|
21326
|
+
i0__namespace.ɵɵlistener("documentCollectionUpdate", function QueryWriteRespondToQueryComponent_Template_ccd_query_write_add_documents_documentCollectionUpdate_29_listener($event) { return ctx.onDocumentCollectionUpdate($event); });
|
|
21522
21327
|
i0__namespace.ɵɵelementEnd();
|
|
21523
21328
|
i0__namespace.ɵɵelementEnd();
|
|
21524
|
-
i0__namespace.ɵɵ
|
|
21525
|
-
i0__namespace.ɵɵ
|
|
21526
|
-
i0__namespace.ɵɵ
|
|
21527
|
-
i0__namespace.ɵɵelementEnd();
|
|
21528
|
-
i0__namespace.ɵɵelementStart(40, "button", 19);
|
|
21529
|
-
i0__namespace.ɵɵtext(41);
|
|
21530
|
-
i0__namespace.ɵɵpipe(42, "rpxTranslate");
|
|
21329
|
+
i0__namespace.ɵɵelementStart(30, "button", 16);
|
|
21330
|
+
i0__namespace.ɵɵtext(31);
|
|
21331
|
+
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
21531
21332
|
i0__namespace.ɵɵelementEnd();
|
|
21532
21333
|
i0__namespace.ɵɵelementEnd();
|
|
21533
21334
|
i0__namespace.ɵɵelementEnd();
|
|
21534
|
-
i0__namespace.ɵɵelementStart(
|
|
21535
|
-
i0__namespace.ɵɵelementStart(
|
|
21536
|
-
i0__namespace.ɵɵelementStart(
|
|
21537
|
-
i0__namespace.ɵɵtext(
|
|
21538
|
-
i0__namespace.ɵɵpipe(
|
|
21335
|
+
i0__namespace.ɵɵelementStart(33, "div");
|
|
21336
|
+
i0__namespace.ɵɵelementStart(34, "div", 17);
|
|
21337
|
+
i0__namespace.ɵɵelementStart(35, "button", 18);
|
|
21338
|
+
i0__namespace.ɵɵtext(36);
|
|
21339
|
+
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
21539
21340
|
i0__namespace.ɵɵelementEnd();
|
|
21540
|
-
i0__namespace.ɵɵelementStart(
|
|
21541
|
-
i0__namespace.ɵɵ
|
|
21542
|
-
i0__namespace.ɵɵ
|
|
21543
|
-
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
21341
|
+
i0__namespace.ɵɵelementStart(38, "button", 16);
|
|
21342
|
+
i0__namespace.ɵɵtext(39);
|
|
21343
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21544
21344
|
i0__namespace.ɵɵelementEnd();
|
|
21545
21345
|
i0__namespace.ɵɵelementEnd();
|
|
21546
21346
|
i0__namespace.ɵɵelementEnd();
|
|
21547
|
-
i0__namespace.ɵɵelementStart(
|
|
21548
|
-
i0__namespace.ɵɵelementStart(
|
|
21549
|
-
i0__namespace.ɵɵtext(
|
|
21550
|
-
i0__namespace.ɵɵpipe(
|
|
21347
|
+
i0__namespace.ɵɵelementStart(41, "div", 0);
|
|
21348
|
+
i0__namespace.ɵɵelementStart(42, "a", 19);
|
|
21349
|
+
i0__namespace.ɵɵtext(43);
|
|
21350
|
+
i0__namespace.ɵɵpipe(44, "rpxTranslate");
|
|
21551
21351
|
i0__namespace.ɵɵelementEnd();
|
|
21552
21352
|
i0__namespace.ɵɵelementEnd();
|
|
21553
21353
|
}
|
|
@@ -21556,46 +21356,39 @@
|
|
|
21556
21356
|
var tmp_8_0 = null;
|
|
21557
21357
|
var tmp_9_0 = null;
|
|
21558
21358
|
var tmp_11_0 = null;
|
|
21559
|
-
var tmp_14_0 = null;
|
|
21560
21359
|
i0__namespace.ɵɵadvance(2);
|
|
21561
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3,
|
|
21360
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 20, "Back to tasks"));
|
|
21562
21361
|
i0__namespace.ɵɵadvance(4);
|
|
21563
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21362
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 22, "Respond to query"));
|
|
21564
21363
|
i0__namespace.ɵɵadvance(3);
|
|
21565
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10,
|
|
21364
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 24, "Query details"));
|
|
21566
21365
|
i0__namespace.ɵɵadvance(5);
|
|
21567
21366
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21568
21367
|
i0__namespace.ɵɵadvance(3);
|
|
21569
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18,
|
|
21368
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 26, "Respond to a query"));
|
|
21570
21369
|
i0__namespace.ɵɵadvance(2);
|
|
21571
21370
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21572
21371
|
i0__namespace.ɵɵadvance(1);
|
|
21573
21372
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("response")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21574
21373
|
i0__namespace.ɵɵadvance(3);
|
|
21575
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(24,
|
|
21374
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(24, 28, "Response message"), " ");
|
|
21576
21375
|
i0__namespace.ɵɵadvance(2);
|
|
21577
21376
|
i0__namespace.ɵɵproperty("ngIf", (tmp_8_0 = ctx.formGroup.get("response")) == null ? null : tmp_8_0.errors == null ? null : tmp_8_0.errors.length);
|
|
21578
21377
|
i0__namespace.ɵɵadvance(1);
|
|
21579
21378
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_9_0 = ctx.formGroup.get("response")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21580
21379
|
i0__namespace.ɵɵproperty("formControlName", "response");
|
|
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
21380
|
i0__namespace.ɵɵadvance(2);
|
|
21588
|
-
i0__namespace.ɵɵ
|
|
21381
|
+
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);
|
|
21589
21382
|
i0__namespace.ɵɵadvance(3);
|
|
21590
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21383
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 30, "Next"), " ");
|
|
21591
21384
|
i0__namespace.ɵɵadvance(4);
|
|
21592
21385
|
i0__namespace.ɵɵproperty("disabled", true);
|
|
21593
21386
|
i0__namespace.ɵɵadvance(1);
|
|
21594
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21387
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 32, "Previous"), " ");
|
|
21595
21388
|
i0__namespace.ɵɵadvance(3);
|
|
21596
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21389
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 34, "Continue"), " ");
|
|
21597
21390
|
i0__namespace.ɵɵadvance(4);
|
|
21598
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21391
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(44, 36, "Cancel and return to query list"));
|
|
21599
21392
|
}
|
|
21600
21393
|
}, encapsulation: 2 });
|
|
21601
21394
|
(function () {
|
|
@@ -21607,10 +21400,6 @@
|
|
|
21607
21400
|
}]
|
|
21608
21401
|
}], null, { queryItem: [{
|
|
21609
21402
|
type: i0.Input
|
|
21610
|
-
}], formGroup: [{
|
|
21611
|
-
type: i0.Input
|
|
21612
|
-
}], confirmDetails: [{
|
|
21613
|
-
type: i0.Output
|
|
21614
21403
|
}] });
|
|
21615
21404
|
})();
|
|
21616
21405
|
|
|
@@ -21721,89 +21510,48 @@
|
|
|
21721
21510
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
21722
21511
|
})();
|
|
21723
21512
|
|
|
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
21513
|
function WriteQueryManagementFieldComponent_ng_container_1_Template(rf, ctx) {
|
|
21749
21514
|
if (rf & 1) {
|
|
21750
21515
|
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);
|
|
21516
|
+
i0__namespace.ɵɵelement(1, "ccd-query-write-respond-to-query", 3);
|
|
21753
21517
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21754
21518
|
}
|
|
21755
21519
|
if (rf & 2) {
|
|
21756
|
-
var _r3 = i0__namespace.ɵɵreference(3);
|
|
21757
21520
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
21758
21521
|
i0__namespace.ɵɵadvance(1);
|
|
21759
|
-
i0__namespace.ɵɵproperty("
|
|
21522
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.queryItem)("formGroup", ctx_r0.formGroup);
|
|
21760
21523
|
}
|
|
21761
21524
|
}
|
|
21762
|
-
function
|
|
21525
|
+
function WriteQueryManagementFieldComponent_ng_template_2_Template(rf, ctx) {
|
|
21763
21526
|
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();
|
|
21527
|
+
i0__namespace.ɵɵelement(0, "ccd-query-write-raise-query", 4);
|
|
21768
21528
|
}
|
|
21769
21529
|
if (rf & 2) {
|
|
21770
|
-
var
|
|
21771
|
-
i0__namespace.ɵɵproperty("
|
|
21530
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
21531
|
+
i0__namespace.ɵɵproperty("formGroup", ctx_r2.formGroup);
|
|
21772
21532
|
}
|
|
21773
21533
|
}
|
|
21774
21534
|
var WriteQueryManagementFieldComponent = /** @class */ (function (_super) {
|
|
21775
21535
|
__extends(WriteQueryManagementFieldComponent, _super);
|
|
21776
21536
|
function WriteQueryManagementFieldComponent() {
|
|
21777
21537
|
var _this = _super.call(this) || this;
|
|
21778
|
-
_this.showSummary = false;
|
|
21779
21538
|
_this.formGroup = new i3.FormGroup({});
|
|
21780
21539
|
return _this;
|
|
21781
21540
|
}
|
|
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
21541
|
return WriteQueryManagementFieldComponent;
|
|
21793
21542
|
}(AbstractFieldReadComponent));
|
|
21794
21543
|
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:
|
|
21544
|
+
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
21545
|
if (rf & 1) {
|
|
21797
21546
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21798
|
-
i0__namespace.ɵɵtemplate(1, WriteQueryManagementFieldComponent_ng_container_1_Template,
|
|
21799
|
-
i0__namespace.ɵɵtemplate(2,
|
|
21547
|
+
i0__namespace.ɵɵtemplate(1, WriteQueryManagementFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
|
|
21548
|
+
i0__namespace.ɵɵtemplate(2, WriteQueryManagementFieldComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21800
21549
|
i0__namespace.ɵɵelementEnd();
|
|
21801
21550
|
}
|
|
21802
21551
|
if (rf & 2) {
|
|
21552
|
+
var _r1 = i0__namespace.ɵɵreference(3);
|
|
21803
21553
|
i0__namespace.ɵɵadvance(1);
|
|
21804
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
21805
|
-
i0__namespace.ɵɵadvance(1);
|
|
21806
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.showSummary);
|
|
21554
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem)("ngIfElse", _r1);
|
|
21807
21555
|
}
|
|
21808
21556
|
}, styles: [".response-textarea[_ngcontent-%COMP%]{max-width:576px}"] });
|
|
21809
21557
|
(function () {
|
|
@@ -29565,7 +29313,7 @@
|
|
|
29565
29313
|
QueryWriteRespondToQueryComponent,
|
|
29566
29314
|
QueryWriteRaiseQueryComponent,
|
|
29567
29315
|
QueryCaseDetailsHeaderComponent,
|
|
29568
|
-
|
|
29316
|
+
QueryWriteAddDocumentsComponent,
|
|
29569
29317
|
];
|
|
29570
29318
|
var PaletteModule = /** @class */ (function () {
|
|
29571
29319
|
function PaletteModule() {
|
|
@@ -29751,7 +29499,7 @@
|
|
|
29751
29499
|
QueryWriteRespondToQueryComponent,
|
|
29752
29500
|
QueryWriteRaiseQueryComponent,
|
|
29753
29501
|
QueryCaseDetailsHeaderComponent,
|
|
29754
|
-
|
|
29502
|
+
QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
|
|
29755
29503
|
i1$1.RouterModule,
|
|
29756
29504
|
i3.FormsModule,
|
|
29757
29505
|
i3.ReactiveFormsModule,
|
|
@@ -29898,7 +29646,7 @@
|
|
|
29898
29646
|
QueryWriteRespondToQueryComponent,
|
|
29899
29647
|
QueryWriteRaiseQueryComponent,
|
|
29900
29648
|
QueryCaseDetailsHeaderComponent,
|
|
29901
|
-
|
|
29649
|
+
QueryWriteAddDocumentsComponent] });
|
|
29902
29650
|
})();
|
|
29903
29651
|
(function () {
|
|
29904
29652
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -30040,13 +29788,12 @@
|
|
|
30040
29788
|
// Components for Query Management
|
|
30041
29789
|
ReadQueryManagementFieldComponent, [i5__namespace.NgForOf, i5__namespace.NgIf, QueryListComponent,
|
|
30042
29790
|
QueryDetailsComponent], []);
|
|
30043
|
-
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent,
|
|
30044
|
-
QueryCheckYourAnswersComponent], []);
|
|
29791
|
+
i0__namespace.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5__namespace.NgIf, QueryWriteRespondToQueryComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, QueryWriteRaiseQueryComponent], []);
|
|
30045
29792
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
30046
29793
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
30047
|
-
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
30048
|
-
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(
|
|
29794
|
+
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, QueryWriteAddDocumentsComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29795
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, QueryWriteAddDocumentsComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29796
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
30050
29797
|
|
|
30051
29798
|
var Confirmation = /** @class */ (function () {
|
|
30052
29799
|
function Confirmation(caseId, status, header, body) {
|
|
@@ -40663,13 +40410,13 @@
|
|
|
40663
40410
|
exports.ProfileNotifier = ProfileNotifier;
|
|
40664
40411
|
exports.ProfileService = ProfileService;
|
|
40665
40412
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
40666
|
-
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
40667
40413
|
exports.QueryCreateComponent = QueryCreateComponent;
|
|
40668
40414
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
40669
40415
|
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
40670
40416
|
exports.QueryListComponent = QueryListComponent;
|
|
40671
40417
|
exports.QueryListData = QueryListData;
|
|
40672
40418
|
exports.QueryListItem = QueryListItem;
|
|
40419
|
+
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40673
40420
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40674
40421
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40675
40422
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|
|
@@ -40782,7 +40529,6 @@
|
|
|
40782
40529
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
40783
40530
|
exports.YesNoService = YesNoService;
|
|
40784
40531
|
exports.aCaseField = aCaseField;
|
|
40785
|
-
exports.caseFieldMockData = caseFieldMockData;
|
|
40786
40532
|
exports.createACL = createACL;
|
|
40787
40533
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
40788
40534
|
exports.createCaseField = createCaseField;
|