@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-response-UI-changes-v2 → 6.16.0-query-details-ui-changes-v3
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 +144 -129
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +3 -2
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +13 -13
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +8 -4
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +4 -4
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +51 -40
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +144 -129
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +3 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
var _c0$
|
|
147
|
+
var _c0$13 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
148
148
|
var _c1$r = ["[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$r, 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$13);
|
|
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$12 = [[["", "headerNavigation", ""]]];
|
|
244
244
|
var _c1$q = ["[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$q, 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$12);
|
|
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$11 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
325
325
|
var _c1$p = ["[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$p, 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$11);
|
|
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$10 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
491
491
|
var _c1$o = ["[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$o, 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$10);
|
|
501
501
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
502
502
|
i0__namespace.ɵɵprojection(1);
|
|
503
503
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
var _c0
|
|
905
|
+
var _c0$$ = function (a0) { return { "govuk-input--error": a0 }; };
|
|
906
906
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
907
907
|
if (rf & 1) {
|
|
908
908
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
i0__namespace.ɵɵadvance(1);
|
|
924
924
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Hour"));
|
|
925
925
|
i0__namespace.ɵɵadvance(2);
|
|
926
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0
|
|
926
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r3.isInvalid));
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
function DateInputComponent_div_20_Template(rf, ctx) {
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
i0__namespace.ɵɵadvance(1);
|
|
947
947
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Minute"));
|
|
948
948
|
i0__namespace.ɵɵadvance(2);
|
|
949
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0
|
|
949
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r4.isInvalid));
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
function DateInputComponent_div_21_Template(rf, ctx) {
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
i0__namespace.ɵɵadvance(1);
|
|
970
970
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Second"));
|
|
971
971
|
i0__namespace.ɵɵadvance(2);
|
|
972
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0
|
|
972
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$$, ctx_r5.isInvalid));
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
975
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1208,19 +1208,19 @@
|
|
|
1208
1208
|
i0__namespace.ɵɵadvance(1);
|
|
1209
1209
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Day"));
|
|
1210
1210
|
i0__namespace.ɵɵadvance(2);
|
|
1211
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0
|
|
1211
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$$, ctx.isInvalid));
|
|
1212
1212
|
i0__namespace.ɵɵadvance(3);
|
|
1213
1213
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1214
1214
|
i0__namespace.ɵɵadvance(1);
|
|
1215
1215
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 23, "Month"));
|
|
1216
1216
|
i0__namespace.ɵɵadvance(2);
|
|
1217
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0
|
|
1217
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$$, ctx.isInvalid));
|
|
1218
1218
|
i0__namespace.ɵɵadvance(3);
|
|
1219
1219
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1220
1220
|
i0__namespace.ɵɵadvance(1);
|
|
1221
1221
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 25, "Year"));
|
|
1222
1222
|
i0__namespace.ɵɵadvance(2);
|
|
1223
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0
|
|
1223
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$$, ctx.isInvalid));
|
|
1224
1224
|
i0__namespace.ɵɵadvance(2);
|
|
1225
1225
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1226
1226
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
|
-
var _c0$
|
|
1304
|
+
var _c0$_ = ["*"];
|
|
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$_, 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$Z = function (a0) { return { "js-hidden": a0 }; };
|
|
1608
1608
|
var _c1$n = ["*"];
|
|
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$Z, !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$Y = ["tab"];
|
|
1647
1647
|
var _c1$m = 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$Y, 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$X = 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$X, 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);
|
|
@@ -11480,7 +11480,7 @@
|
|
|
11480
11480
|
return AddressOption;
|
|
11481
11481
|
}());
|
|
11482
11482
|
|
|
11483
|
-
var _c0$
|
|
11483
|
+
var _c0$W = ["writeComplexFieldComponent"];
|
|
11484
11484
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
|
|
11485
11485
|
if (rf & 1) {
|
|
11486
11486
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -11715,7 +11715,7 @@
|
|
|
11715
11715
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
11716
11716
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
11717
11717
|
if (rf & 1) {
|
|
11718
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
11718
|
+
i0__namespace.ɵɵviewQuery(_c0$W, 1);
|
|
11719
11719
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
11720
11720
|
}
|
|
11721
11721
|
if (rf & 2) {
|
|
@@ -12545,7 +12545,7 @@
|
|
|
12545
12545
|
i0__namespace.ɵɵproperty("formGroup", ctx_r11.caseFlagParentFormGroup)("defaultStatus", ctx_r11.flagType.defaultStatus);
|
|
12546
12546
|
}
|
|
12547
12547
|
}
|
|
12548
|
-
var _c0$
|
|
12548
|
+
var _c0$V = function (a0) { return { "form-group-error": a0 }; };
|
|
12549
12549
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
12550
12550
|
if (rf & 1) {
|
|
12551
12551
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -12568,7 +12568,7 @@
|
|
|
12568
12568
|
i0__namespace.ɵɵadvance(1);
|
|
12569
12569
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
12570
12570
|
i0__namespace.ɵɵadvance(1);
|
|
12571
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
12571
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$V, ctx_r1.errorMessages.length > 0));
|
|
12572
12572
|
i0__namespace.ɵɵadvance(1);
|
|
12573
12573
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 9, ctx_r1.createFlagCaption), " ");
|
|
12574
12574
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -13145,7 +13145,7 @@
|
|
|
13145
13145
|
}], null, null);
|
|
13146
13146
|
})();
|
|
13147
13147
|
|
|
13148
|
-
var _c0$
|
|
13148
|
+
var _c0$U = ["writeComplexFieldComponent"];
|
|
13149
13149
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
13150
13150
|
if (rf & 1) {
|
|
13151
13151
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -13253,7 +13253,7 @@
|
|
|
13253
13253
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
13254
13254
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
13255
13255
|
if (rf & 1) {
|
|
13256
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13256
|
+
i0__namespace.ɵɵviewQuery(_c0$U, 1);
|
|
13257
13257
|
}
|
|
13258
13258
|
if (rf & 2) {
|
|
13259
13259
|
var _t = void 0;
|
|
@@ -13298,7 +13298,7 @@
|
|
|
13298
13298
|
}] });
|
|
13299
13299
|
})();
|
|
13300
13300
|
|
|
13301
|
-
var _c0$
|
|
13301
|
+
var _c0$T = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
13302
13302
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
13303
13303
|
if (rf & 1) {
|
|
13304
13304
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -13313,7 +13313,7 @@
|
|
|
13313
13313
|
if (rf & 2) {
|
|
13314
13314
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
13315
13315
|
i0__namespace.ɵɵadvance(4);
|
|
13316
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
13316
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$T, 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);
|
|
13317
13317
|
}
|
|
13318
13318
|
}
|
|
13319
13319
|
var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -13478,7 +13478,7 @@
|
|
|
13478
13478
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
13479
13479
|
})();
|
|
13480
13480
|
|
|
13481
|
-
var _c0$
|
|
13481
|
+
var _c0$S = ["collectionItem"];
|
|
13482
13482
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
|
|
13483
13483
|
if (rf & 1) {
|
|
13484
13484
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -13909,7 +13909,7 @@
|
|
|
13909
13909
|
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)); };
|
|
13910
13910
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13911
13911
|
if (rf & 1) {
|
|
13912
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13912
|
+
i0__namespace.ɵɵviewQuery(_c0$S, 1);
|
|
13913
13913
|
}
|
|
13914
13914
|
if (rf & 2) {
|
|
13915
13915
|
var _t = void 0;
|
|
@@ -14622,7 +14622,7 @@
|
|
|
14622
14622
|
}], null, null);
|
|
14623
14623
|
})();
|
|
14624
14624
|
|
|
14625
|
-
var _c0$
|
|
14625
|
+
var _c0$R = ["fileInput"];
|
|
14626
14626
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
14627
14627
|
if (rf & 1) {
|
|
14628
14628
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14918,7 +14918,7 @@
|
|
|
14918
14918
|
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)); };
|
|
14919
14919
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14920
14920
|
if (rf & 1) {
|
|
14921
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14921
|
+
i0__namespace.ɵɵviewQuery(_c0$R, 1);
|
|
14922
14922
|
}
|
|
14923
14923
|
if (rf & 2) {
|
|
14924
14924
|
var _t = void 0;
|
|
@@ -15132,7 +15132,7 @@
|
|
|
15132
15132
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
15133
15133
|
}
|
|
15134
15134
|
}
|
|
15135
|
-
var _c0$
|
|
15135
|
+
var _c0$Q = function (a0) { return { "form-group-error": a0 }; };
|
|
15136
15136
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
15137
15137
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
15138
15138
|
function WriteDynamicListFieldComponent() {
|
|
@@ -15182,7 +15182,7 @@
|
|
|
15182
15182
|
i0__namespace.ɵɵelementEnd();
|
|
15183
15183
|
}
|
|
15184
15184
|
if (rf & 2) {
|
|
15185
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$
|
|
15185
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$Q, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15186
15186
|
i0__namespace.ɵɵadvance(1);
|
|
15187
15187
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15188
15188
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15360,7 +15360,7 @@
|
|
|
15360
15360
|
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
15361
15361
|
}
|
|
15362
15362
|
}
|
|
15363
|
-
var _c0$
|
|
15363
|
+
var _c0$P = function (a0) { return { "error": a0 }; };
|
|
15364
15364
|
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15365
15365
|
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
15366
15366
|
function WriteDynamicMultiSelectListFieldComponent() {
|
|
@@ -15443,7 +15443,7 @@
|
|
|
15443
15443
|
i0__namespace.ɵɵelementEnd();
|
|
15444
15444
|
}
|
|
15445
15445
|
if (rf & 2) {
|
|
15446
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
15446
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$P, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15447
15447
|
i0__namespace.ɵɵadvance(3);
|
|
15448
15448
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15449
15449
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15594,7 +15594,7 @@
|
|
|
15594
15594
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
15595
15595
|
}
|
|
15596
15596
|
}
|
|
15597
|
-
var _c0$
|
|
15597
|
+
var _c0$O = function (a0) { return { selected: a0 }; };
|
|
15598
15598
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15599
15599
|
if (rf & 1) {
|
|
15600
15600
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -15607,7 +15607,7 @@
|
|
|
15607
15607
|
if (rf & 2) {
|
|
15608
15608
|
var radioButton_r5 = ctx.$implicit;
|
|
15609
15609
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
15610
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
15610
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$O, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
15611
15611
|
i0__namespace.ɵɵadvance(1);
|
|
15612
15612
|
i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
15613
15613
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15773,7 +15773,7 @@
|
|
|
15773
15773
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
15774
15774
|
}
|
|
15775
15775
|
}
|
|
15776
|
-
var _c0$
|
|
15776
|
+
var _c0$N = function (a0) { return { "form-group-error": a0 }; };
|
|
15777
15777
|
var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15778
15778
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15779
15779
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -15798,7 +15798,7 @@
|
|
|
15798
15798
|
i0__namespace.ɵɵelementEnd();
|
|
15799
15799
|
}
|
|
15800
15800
|
if (rf & 2) {
|
|
15801
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
15801
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$N, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
15802
15802
|
i0__namespace.ɵɵadvance(1);
|
|
15803
15803
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15804
15804
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15909,7 +15909,7 @@
|
|
|
15909
15909
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
15910
15910
|
}
|
|
15911
15911
|
}
|
|
15912
|
-
var _c0$
|
|
15912
|
+
var _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
15913
15913
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
15914
15914
|
__extends(WriteFixedListFieldComponent, _super);
|
|
15915
15915
|
function WriteFixedListFieldComponent() {
|
|
@@ -15958,7 +15958,7 @@
|
|
|
15958
15958
|
i0__namespace.ɵɵelementEnd();
|
|
15959
15959
|
}
|
|
15960
15960
|
if (rf & 2) {
|
|
15961
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
15961
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$M, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
15962
15962
|
i0__namespace.ɵɵadvance(1);
|
|
15963
15963
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15964
15964
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16080,7 +16080,7 @@
|
|
|
16080
16080
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
16081
16081
|
}
|
|
16082
16082
|
}
|
|
16083
|
-
var _c0$
|
|
16083
|
+
var _c0$L = function (a0) { return { selected: a0 }; };
|
|
16084
16084
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
16085
16085
|
if (rf & 1) {
|
|
16086
16086
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -16094,7 +16094,7 @@
|
|
|
16094
16094
|
if (rf & 2) {
|
|
16095
16095
|
var radioButton_r4 = ctx.$implicit;
|
|
16096
16096
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
16097
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16097
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
16098
16098
|
i0__namespace.ɵɵadvance(1);
|
|
16099
16099
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
16100
16100
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16264,7 +16264,7 @@
|
|
|
16264
16264
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
16265
16265
|
}
|
|
16266
16266
|
}
|
|
16267
|
-
var _c0$
|
|
16267
|
+
var _c0$K = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
16268
16268
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
|
|
16269
16269
|
if (rf & 1) {
|
|
16270
16270
|
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -16276,7 +16276,7 @@
|
|
|
16276
16276
|
if (rf & 2) {
|
|
16277
16277
|
var judicialUser_r5 = ctx.$implicit;
|
|
16278
16278
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
16279
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
16279
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$K, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
|
|
16280
16280
|
i0__namespace.ɵɵadvance(1);
|
|
16281
16281
|
i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
16282
16282
|
}
|
|
@@ -17115,7 +17115,7 @@
|
|
|
17115
17115
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
17116
17116
|
}
|
|
17117
17117
|
}
|
|
17118
|
-
var _c0$
|
|
17118
|
+
var _c0$J = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17119
17119
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
17120
17120
|
if (rf & 1) {
|
|
17121
17121
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -17133,7 +17133,7 @@
|
|
|
17133
17133
|
}
|
|
17134
17134
|
if (rf & 2) {
|
|
17135
17135
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
17136
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
17136
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$J, !!ctx_r7.caseReasonCommentsError));
|
|
17137
17137
|
i0__namespace.ɵɵadvance(3);
|
|
17138
17138
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
17139
17139
|
}
|
|
@@ -17190,11 +17190,11 @@
|
|
|
17190
17190
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
17191
17191
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
17192
17192
|
i0__namespace.ɵɵadvance(1);
|
|
17193
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
17193
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !!ctx_r0.caseNumberError));
|
|
17194
17194
|
i0__namespace.ɵɵadvance(3);
|
|
17195
17195
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
17196
17196
|
i0__namespace.ɵɵadvance(2);
|
|
17197
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
17197
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$J, !!ctx_r0.caseReasonError));
|
|
17198
17198
|
i0__namespace.ɵɵadvance(5);
|
|
17199
17199
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
17200
17200
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17628,7 +17628,7 @@
|
|
|
17628
17628
|
i0__namespace.ɵɵadvance(4);
|
|
17629
17629
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17630
17630
|
i0__namespace.ɵɵadvance(4);
|
|
17631
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
17631
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !!ctx.noSelectedCaseError));
|
|
17632
17632
|
i0__namespace.ɵɵadvance(1);
|
|
17633
17633
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17634
17634
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -18335,7 +18335,7 @@
|
|
|
18335
18335
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
18336
18336
|
}
|
|
18337
18337
|
}
|
|
18338
|
-
var _c0$
|
|
18338
|
+
var _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
18339
18339
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
18340
18340
|
if (rf & 1) {
|
|
18341
18341
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -18347,7 +18347,7 @@
|
|
|
18347
18347
|
}
|
|
18348
18348
|
if (rf & 2) {
|
|
18349
18349
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
18350
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
18350
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$I, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
18351
18351
|
i0__namespace.ɵɵadvance(1);
|
|
18352
18352
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
18353
18353
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -19234,7 +19234,7 @@
|
|
|
19234
19234
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
19235
19235
|
}
|
|
19236
19236
|
}
|
|
19237
|
-
var _c0$
|
|
19237
|
+
var _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
19238
19238
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
19239
19239
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
19240
19240
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -19264,7 +19264,7 @@
|
|
|
19264
19264
|
i0__namespace.ɵɵelementEnd();
|
|
19265
19265
|
}
|
|
19266
19266
|
if (rf & 2) {
|
|
19267
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
19267
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$H, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19268
19268
|
i0__namespace.ɵɵadvance(1);
|
|
19269
19269
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19270
19270
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19419,7 +19419,7 @@
|
|
|
19419
19419
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
19420
19420
|
}
|
|
19421
19421
|
}
|
|
19422
|
-
var _c0$
|
|
19422
|
+
var _c0$G = function (a0) { return { "error": a0 }; };
|
|
19423
19423
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19424
19424
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
19425
19425
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -19483,7 +19483,7 @@
|
|
|
19483
19483
|
i0__namespace.ɵɵelementEnd();
|
|
19484
19484
|
}
|
|
19485
19485
|
if (rf & 2) {
|
|
19486
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
19486
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$G, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19487
19487
|
i0__namespace.ɵɵadvance(3);
|
|
19488
19488
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19489
19489
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19577,7 +19577,7 @@
|
|
|
19577
19577
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)));
|
|
19578
19578
|
}
|
|
19579
19579
|
}
|
|
19580
|
-
var _c0$
|
|
19580
|
+
var _c0$F = function (a0) { return { "form-group-error": a0 }; };
|
|
19581
19581
|
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19582
19582
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
19583
19583
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -19602,7 +19602,7 @@
|
|
|
19602
19602
|
i0__namespace.ɵɵelementEnd();
|
|
19603
19603
|
}
|
|
19604
19604
|
if (rf & 2) {
|
|
19605
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
19605
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$F, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19606
19606
|
i0__namespace.ɵɵadvance(1);
|
|
19607
19607
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19608
19608
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19941,7 +19941,7 @@
|
|
|
19941
19941
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
19942
19942
|
}
|
|
19943
19943
|
}
|
|
19944
|
-
var _c0$
|
|
19944
|
+
var _c0$E = function (a0) { return { "scroll-container ": a0 }; };
|
|
19945
19945
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
19946
19946
|
if (rf & 1) {
|
|
19947
19947
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -19957,7 +19957,7 @@
|
|
|
19957
19957
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
19958
19958
|
var tmp_0_0 = null;
|
|
19959
19959
|
var tmp_2_0 = null;
|
|
19960
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
19960
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
19961
19961
|
i0__namespace.ɵɵadvance(2);
|
|
19962
19962
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19963
19963
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -20455,7 +20455,7 @@
|
|
|
20455
20455
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
20456
20456
|
}
|
|
20457
20457
|
}
|
|
20458
|
-
var _c0$
|
|
20458
|
+
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
20459
20459
|
var _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20460
20460
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
20461
20461
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
@@ -20480,7 +20480,7 @@
|
|
|
20480
20480
|
i0__namespace.ɵɵelementEnd();
|
|
20481
20481
|
}
|
|
20482
20482
|
if (rf & 2) {
|
|
20483
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20483
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$D, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20484
20484
|
i0__namespace.ɵɵadvance(1);
|
|
20485
20485
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20486
20486
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21432,16 +21432,16 @@
|
|
|
21432
21432
|
i0__namespace.ɵɵelementEnd();
|
|
21433
21433
|
i0__namespace.ɵɵelementStart(8, "td", 5);
|
|
21434
21434
|
i0__namespace.ɵɵtext(9);
|
|
21435
|
-
i0__namespace.ɵɵpipe(10, "date");
|
|
21436
21435
|
i0__namespace.ɵɵelementEnd();
|
|
21437
21436
|
i0__namespace.ɵɵelementEnd();
|
|
21438
|
-
i0__namespace.ɵɵelementStart(
|
|
21439
|
-
i0__namespace.ɵɵelementStart(
|
|
21440
|
-
i0__namespace.ɵɵtext(
|
|
21441
|
-
i0__namespace.ɵɵpipe(
|
|
21437
|
+
i0__namespace.ɵɵelementStart(10, "tr", 3);
|
|
21438
|
+
i0__namespace.ɵɵelementStart(11, "th", 4);
|
|
21439
|
+
i0__namespace.ɵɵtext(12);
|
|
21440
|
+
i0__namespace.ɵɵpipe(13, "rpxTranslate");
|
|
21442
21441
|
i0__namespace.ɵɵelementEnd();
|
|
21443
|
-
i0__namespace.ɵɵelementStart(
|
|
21444
|
-
i0__namespace.ɵɵtext(
|
|
21442
|
+
i0__namespace.ɵɵelementStart(14, "td", 5);
|
|
21443
|
+
i0__namespace.ɵɵtext(15);
|
|
21444
|
+
i0__namespace.ɵɵpipe(16, "date");
|
|
21445
21445
|
i0__namespace.ɵɵelementEnd();
|
|
21446
21446
|
i0__namespace.ɵɵelementEnd();
|
|
21447
21447
|
i0__namespace.ɵɵelementStart(17, "tr", 3);
|
|
@@ -21491,14 +21491,14 @@
|
|
|
21491
21491
|
i0__namespace.ɵɵadvance(1);
|
|
21492
21492
|
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 18, "Details of the query"));
|
|
21493
21493
|
i0__namespace.ɵɵadvance(5);
|
|
21494
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "
|
|
21495
|
-
i0__namespace.ɵɵadvance(3);
|
|
21496
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 22, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21497
|
-
i0__namespace.ɵɵadvance(4);
|
|
21498
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 25, "Last submitted by"));
|
|
21494
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Last submitted by"));
|
|
21499
21495
|
i0__namespace.ɵɵadvance(3);
|
|
21500
21496
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
21501
21497
|
i0__namespace.ɵɵadvance(3);
|
|
21498
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 22, "Submission date"));
|
|
21499
|
+
i0__namespace.ɵɵadvance(3);
|
|
21500
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21501
|
+
i0__namespace.ɵɵadvance(4);
|
|
21502
21502
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Query subject"));
|
|
21503
21503
|
i0__namespace.ɵɵadvance(3);
|
|
21504
21504
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
@@ -22151,8 +22151,8 @@
|
|
|
22151
22151
|
// This field is mocked to allow the document component to be used in isolation
|
|
22152
22152
|
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
22153
22153
|
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
22154
|
-
label: 'Add document',
|
|
22155
|
-
hint_text: 'Attach a document to this message',
|
|
22154
|
+
label: this.label ? this.label : 'Add document',
|
|
22155
|
+
hint_text: this.hintText ? this.hintText : 'Attach a document to this message',
|
|
22156
22156
|
display_context: 'OPTIONAL',
|
|
22157
22157
|
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
22158
22158
|
field_type: Object.assign(new FieldType(), {
|
|
@@ -22194,7 +22194,7 @@
|
|
|
22194
22194
|
}());
|
|
22195
22195
|
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
22196
22196
|
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
22197
|
-
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
22197
|
+
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup", label: "label", hintText: "hintText" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
22198
22198
|
if (rf & 1) {
|
|
22199
22199
|
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
22200
22200
|
}
|
|
@@ -22211,6 +22211,10 @@
|
|
|
22211
22211
|
}]
|
|
22212
22212
|
}], null, { formGroup: [{
|
|
22213
22213
|
type: i0.Input
|
|
22214
|
+
}], label: [{
|
|
22215
|
+
type: i0.Input
|
|
22216
|
+
}], hintText: [{
|
|
22217
|
+
type: i0.Input
|
|
22214
22218
|
}], documentCollectionUpdate: [{
|
|
22215
22219
|
type: i0.Output
|
|
22216
22220
|
}] });
|
|
@@ -22292,7 +22296,7 @@
|
|
|
22292
22296
|
i0__namespace.ɵɵtextInterpolate1("", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
22293
22297
|
}
|
|
22294
22298
|
}
|
|
22295
|
-
var _c0$
|
|
22299
|
+
var _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
22296
22300
|
function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
|
|
22297
22301
|
if (rf & 1) {
|
|
22298
22302
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -22313,9 +22317,9 @@
|
|
|
22313
22317
|
if (rf & 2) {
|
|
22314
22318
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
22315
22319
|
i0__namespace.ɵɵadvance(1);
|
|
22316
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
22320
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
|
|
22317
22321
|
i0__namespace.ɵɵadvance(4);
|
|
22318
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "
|
|
22322
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
22319
22323
|
i0__namespace.ɵɵadvance(2);
|
|
22320
22324
|
i0__namespace.ɵɵproperty("ngIf", ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null);
|
|
22321
22325
|
}
|
|
@@ -22327,7 +22331,7 @@
|
|
|
22327
22331
|
return QueryWriteRaiseQueryComponent;
|
|
22328
22332
|
}());
|
|
22329
22333
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
22330
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 55, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
22334
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted" }, decls: 54, vars: 55, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
22331
22335
|
if (rf & 1) {
|
|
22332
22336
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
22333
22337
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -22419,7 +22423,7 @@
|
|
|
22419
22423
|
i0__namespace.ɵɵadvance(6);
|
|
22420
22424
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22421
22425
|
i0__namespace.ɵɵadvance(2);
|
|
22422
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$
|
|
22426
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
|
|
22423
22427
|
i0__namespace.ɵɵadvance(3);
|
|
22424
22428
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 31, "Query subject"), " ");
|
|
22425
22429
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -22430,9 +22434,9 @@
|
|
|
22430
22434
|
i0__namespace.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("subject")) == null ? null : tmp_7_0.hasError("required")));
|
|
22431
22435
|
i0__namespace.ɵɵproperty("formControlName", "subject");
|
|
22432
22436
|
i0__namespace.ɵɵadvance(1);
|
|
22433
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(51, _c0$
|
|
22437
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(51, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
|
|
22434
22438
|
i0__namespace.ɵɵadvance(3);
|
|
22435
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 35, "Query
|
|
22439
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 35, "Query detail"), " ");
|
|
22436
22440
|
i0__namespace.ɵɵadvance(3);
|
|
22437
22441
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 37, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
22438
22442
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -22441,7 +22445,7 @@
|
|
|
22441
22445
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
|
|
22442
22446
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
22443
22447
|
i0__namespace.ɵɵadvance(2);
|
|
22444
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(53, _c0$
|
|
22448
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(53, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
|
|
22445
22449
|
i0__namespace.ɵɵadvance(4);
|
|
22446
22450
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 39, "Is the query hearing related?"), " ");
|
|
22447
22451
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -22472,10 +22476,10 @@
|
|
|
22472
22476
|
}] });
|
|
22473
22477
|
})();
|
|
22474
22478
|
|
|
22475
|
-
function
|
|
22479
|
+
function QueryWriteRespondToQueryComponent_p_27_Template(rf, ctx) {
|
|
22476
22480
|
if (rf & 1) {
|
|
22477
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
22478
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
22481
|
+
i0__namespace.ɵɵelementStart(0, "p", 15);
|
|
22482
|
+
i0__namespace.ɵɵelementStart(1, "span", 16);
|
|
22479
22483
|
i0__namespace.ɵɵtext(2);
|
|
22480
22484
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22481
22485
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22491,6 +22495,7 @@
|
|
|
22491
22495
|
i0__namespace.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22492
22496
|
}
|
|
22493
22497
|
}
|
|
22498
|
+
var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
22494
22499
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
22495
22500
|
function QueryWriteRespondToQueryComponent(caseNotifier) {
|
|
22496
22501
|
this.caseNotifier = caseNotifier;
|
|
@@ -22507,43 +22512,49 @@
|
|
|
22507
22512
|
return QueryWriteRespondToQueryComponent;
|
|
22508
22513
|
}());
|
|
22509
22514
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
|
|
22510
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls:
|
|
22515
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 30, vars: 26, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0", 3, "routerLink"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
22511
22516
|
if (rf & 1) {
|
|
22512
22517
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
22513
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
22514
|
-
i0__namespace.ɵɵ
|
|
22515
|
-
i0__namespace.ɵɵ
|
|
22516
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
22517
|
-
i0__namespace.ɵɵelementEnd();
|
|
22518
|
-
i0__namespace.ɵɵelementStart(5, "h1", 2);
|
|
22519
|
-
i0__namespace.ɵɵtext(6);
|
|
22520
|
-
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
22518
|
+
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
22519
|
+
i0__namespace.ɵɵtext(2);
|
|
22520
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22521
22521
|
i0__namespace.ɵɵelementEnd();
|
|
22522
22522
|
i0__namespace.ɵɵelementEnd();
|
|
22523
|
-
i0__namespace.ɵɵelementStart(
|
|
22524
|
-
i0__namespace.ɵɵ
|
|
22523
|
+
i0__namespace.ɵɵelementStart(4, "div", 2);
|
|
22524
|
+
i0__namespace.ɵɵelementStart(5, "div", 2);
|
|
22525
|
+
i0__namespace.ɵɵelementStart(6, "div", 3);
|
|
22526
|
+
i0__namespace.ɵɵtext(7);
|
|
22527
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
22525
22528
|
i0__namespace.ɵɵelementEnd();
|
|
22526
|
-
i0__namespace.ɵɵelementStart(
|
|
22527
|
-
i0__namespace.ɵɵ
|
|
22529
|
+
i0__namespace.ɵɵelementStart(9, "h1", 4);
|
|
22530
|
+
i0__namespace.ɵɵtext(10);
|
|
22531
|
+
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
22528
22532
|
i0__namespace.ɵɵelementEnd();
|
|
22529
22533
|
i0__namespace.ɵɵelementEnd();
|
|
22530
22534
|
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
22531
|
-
i0__namespace.ɵɵ
|
|
22532
|
-
i0__namespace.ɵɵ
|
|
22533
|
-
i0__namespace.ɵɵ
|
|
22534
|
-
i0__namespace.ɵɵ
|
|
22535
|
+
i0__namespace.ɵɵelement(13, "ccd-query-case-details-header");
|
|
22536
|
+
i0__namespace.ɵɵelementEnd();
|
|
22537
|
+
i0__namespace.ɵɵelementStart(14, "div");
|
|
22538
|
+
i0__namespace.ɵɵelement(15, "ccd-query-details-table", 6);
|
|
22535
22539
|
i0__namespace.ɵɵelementEnd();
|
|
22536
|
-
i0__namespace.ɵɵelementStart(17, "div", 7);
|
|
22537
|
-
i0__namespace.ɵɵelementStart(18, "div", 8);
|
|
22538
|
-
i0__namespace.ɵɵelementStart(19, "div", 9);
|
|
22539
|
-
i0__namespace.ɵɵelementStart(20, "label", 10);
|
|
22540
|
-
i0__namespace.ɵɵtext(21);
|
|
22541
|
-
i0__namespace.ɵɵpipe(22, "rpxTranslate");
|
|
22542
22540
|
i0__namespace.ɵɵelementEnd();
|
|
22541
|
+
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
22542
|
+
i0__namespace.ɵɵelementStart(17, "div");
|
|
22543
|
+
i0__namespace.ɵɵelementStart(18, "h1", 8);
|
|
22544
|
+
i0__namespace.ɵɵtext(19);
|
|
22545
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
22543
22546
|
i0__namespace.ɵɵelementEnd();
|
|
22544
|
-
i0__namespace.ɵɵ
|
|
22545
|
-
i0__namespace.ɵɵelementStart(
|
|
22546
|
-
i0__namespace.ɵɵ
|
|
22547
|
+
i0__namespace.ɵɵelementStart(21, "div", 9);
|
|
22548
|
+
i0__namespace.ɵɵelementStart(22, "div", 10);
|
|
22549
|
+
i0__namespace.ɵɵelementStart(23, "div", 11);
|
|
22550
|
+
i0__namespace.ɵɵelementStart(24, "label", 12);
|
|
22551
|
+
i0__namespace.ɵɵtext(25);
|
|
22552
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
22553
|
+
i0__namespace.ɵɵelementEnd();
|
|
22554
|
+
i0__namespace.ɵɵelementEnd();
|
|
22555
|
+
i0__namespace.ɵɵtemplate(27, QueryWriteRespondToQueryComponent_p_27_Template, 6, 6, "p", 13);
|
|
22556
|
+
i0__namespace.ɵɵelementStart(28, "textarea", 14);
|
|
22557
|
+
i0__namespace.ɵɵtext(29, " ");
|
|
22547
22558
|
i0__namespace.ɵɵelementEnd();
|
|
22548
22559
|
i0__namespace.ɵɵelementEnd();
|
|
22549
22560
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22551,27 +22562,31 @@
|
|
|
22551
22562
|
i0__namespace.ɵɵelementEnd();
|
|
22552
22563
|
}
|
|
22553
22564
|
if (rf & 2) {
|
|
22554
|
-
var tmp_5_0 = null;
|
|
22555
22565
|
var tmp_7_0 = null;
|
|
22556
|
-
var
|
|
22557
|
-
|
|
22558
|
-
i0__namespace.ɵɵ
|
|
22566
|
+
var tmp_9_0 = null;
|
|
22567
|
+
var tmp_10_0 = null;
|
|
22568
|
+
i0__namespace.ɵɵadvance(1);
|
|
22569
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
|
|
22570
|
+
i0__namespace.ɵɵadvance(1);
|
|
22571
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
|
|
22572
|
+
i0__namespace.ɵɵadvance(5);
|
|
22573
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 16, "Respond to query"));
|
|
22559
22574
|
i0__namespace.ɵɵadvance(3);
|
|
22560
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
22575
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 18, "Query details"));
|
|
22561
22576
|
i0__namespace.ɵɵadvance(5);
|
|
22562
22577
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
22563
22578
|
i0__namespace.ɵɵadvance(4);
|
|
22564
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(
|
|
22579
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 20, "Ask a follow-up question"), " ");
|
|
22565
22580
|
i0__namespace.ɵɵadvance(2);
|
|
22566
22581
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22567
22582
|
i0__namespace.ɵɵadvance(1);
|
|
22568
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((
|
|
22583
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
|
|
22569
22584
|
i0__namespace.ɵɵadvance(3);
|
|
22570
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response
|
|
22585
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(26, 22, "Query Body"), " ");
|
|
22571
22586
|
i0__namespace.ɵɵadvance(2);
|
|
22572
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((
|
|
22587
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.hasError("required")));
|
|
22573
22588
|
i0__namespace.ɵɵadvance(1);
|
|
22574
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((
|
|
22589
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_10_0 = ctx.formGroup.get("body")) == null ? null : tmp_10_0.hasError("required")));
|
|
22575
22590
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
22576
22591
|
}
|
|
22577
22592
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -30998,7 +31013,7 @@
|
|
|
30998
31013
|
QueryDetailsComponent], []);
|
|
30999
31014
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent, i5__namespace.NgForOf, QueryAttachmentsReadComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
31000
31015
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsTableComponent, [i5__namespace.NgIf, QueryAttachmentsReadComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
31001
|
-
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
31016
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [i1__namespace$1.RouterLinkWithHref, QueryCaseDetailsHeaderComponent,
|
|
31002
31017
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
31003
31018
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgClass, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
|
|
31004
31019
|
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [i5__namespace.NgIf, QueryCaseDetailsHeaderComponent,
|