@hmcts/ccd-case-ui-toolkit 7.4.28-exui-2855 → 7.4.28-exui-2855-1
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/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +572 -310
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +71 -25
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ import * as i10 from '@angular/material/tabs';
|
|
|
61
61
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
62
62
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
63
63
|
|
|
64
|
-
const _c0$
|
|
64
|
+
const _c0$1d = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
65
65
|
const _c1$x = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
66
66
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
67
67
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
@@ -139,7 +139,7 @@ class FooterComponent {
|
|
|
139
139
|
workhours;
|
|
140
140
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
141
141
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$x, 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) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵprojectionDef(_c0$
|
|
142
|
+
i0.ɵɵprojectionDef(_c0$1d);
|
|
143
143
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
144
144
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
145
145
|
i0.ɵɵelementEnd()();
|
|
@@ -780,7 +780,7 @@ class ProfileService {
|
|
|
780
780
|
type: Injectable
|
|
781
781
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
782
782
|
|
|
783
|
-
const _c0$
|
|
783
|
+
const _c0$1c = [[["", "headerNavigation", ""]]];
|
|
784
784
|
const _c1$w = ["[headerNavigation]"];
|
|
785
785
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
786
786
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
@@ -831,7 +831,7 @@ class HeaderBarComponent {
|
|
|
831
831
|
}
|
|
832
832
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
|
|
833
833
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$w, 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"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 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) { if (rf & 1) {
|
|
834
|
-
i0.ɵɵprojectionDef(_c0$
|
|
834
|
+
i0.ɵɵprojectionDef(_c0$1c);
|
|
835
835
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
836
836
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
837
837
|
i0.ɵɵelementEnd();
|
|
@@ -885,13 +885,13 @@ class HeaderBarComponent {
|
|
|
885
885
|
}] }); })();
|
|
886
886
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 11 }); })();
|
|
887
887
|
|
|
888
|
-
const _c0$
|
|
888
|
+
const _c0$1b = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
889
889
|
const _c1$v = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
890
890
|
class NavigationComponent {
|
|
891
891
|
isSolicitor;
|
|
892
892
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
893
893
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$v, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
894
|
-
i0.ɵɵprojectionDef(_c0$
|
|
894
|
+
i0.ɵɵprojectionDef(_c0$1b);
|
|
895
895
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
896
896
|
i0.ɵɵprojection(2);
|
|
897
897
|
i0.ɵɵprojection(3, 1);
|
|
@@ -1009,12 +1009,12 @@ class HeadersModule {
|
|
|
1009
1009
|
}], null, null); })();
|
|
1010
1010
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
1011
1011
|
|
|
1012
|
-
const _c0$
|
|
1012
|
+
const _c0$1a = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
1013
1013
|
const _c1$u = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
1014
1014
|
class BodyComponent {
|
|
1015
1015
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
1016
1016
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1017
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1017
|
+
i0.ɵɵprojectionDef(_c0$1a);
|
|
1018
1018
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1019
1019
|
i0.ɵɵprojection(1);
|
|
1020
1020
|
i0.ɵɵprojection(2, 1);
|
|
@@ -1028,7 +1028,7 @@ class BodyComponent {
|
|
|
1028
1028
|
}], null, null); })();
|
|
1029
1029
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
|
|
1030
1030
|
|
|
1031
|
-
const _c0$
|
|
1031
|
+
const _c0$19 = a0 => ({ "govuk-input--error": a0 });
|
|
1032
1032
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
1033
1033
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
1034
1034
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -1045,7 +1045,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
1045
1045
|
i0.ɵɵadvance();
|
|
1046
1046
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
1047
1047
|
i0.ɵɵadvance(2);
|
|
1048
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1048
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1049
1049
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
1050
1050
|
} }
|
|
1051
1051
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1064,7 +1064,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
1064
1064
|
i0.ɵɵadvance();
|
|
1065
1065
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
1066
1066
|
i0.ɵɵadvance(2);
|
|
1067
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1067
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1068
1068
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
1069
1069
|
} }
|
|
1070
1070
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1083,7 +1083,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
1083
1083
|
i0.ɵɵadvance();
|
|
1084
1084
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
1085
1085
|
i0.ɵɵadvance(2);
|
|
1086
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1086
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1087
1087
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
1088
1088
|
} }
|
|
1089
1089
|
class DateInputComponent {
|
|
@@ -1319,21 +1319,21 @@ class DateInputComponent {
|
|
|
1319
1319
|
i0.ɵɵadvance();
|
|
1320
1320
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
1321
1321
|
i0.ɵɵadvance(2);
|
|
1322
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
1322
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$19, ctx.isInvalid));
|
|
1323
1323
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
1324
1324
|
i0.ɵɵadvance(3);
|
|
1325
1325
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
1326
1326
|
i0.ɵɵadvance();
|
|
1327
1327
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
1328
1328
|
i0.ɵɵadvance(2);
|
|
1329
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
1329
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$19, ctx.isInvalid));
|
|
1330
1330
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
1331
1331
|
i0.ɵɵadvance(3);
|
|
1332
1332
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
1333
1333
|
i0.ɵɵadvance();
|
|
1334
1334
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
1335
1335
|
i0.ɵɵadvance(2);
|
|
1336
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
1336
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$19, ctx.isInvalid));
|
|
1337
1337
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
1338
1338
|
i0.ɵɵadvance(2);
|
|
1339
1339
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -1370,7 +1370,7 @@ class DateInputComponent {
|
|
|
1370
1370
|
}] }); })();
|
|
1371
1371
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
|
|
1372
1372
|
|
|
1373
|
-
const _c0$
|
|
1373
|
+
const _c0$18 = ["*"];
|
|
1374
1374
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1375
1375
|
i0.ɵɵelementContainerStart(0);
|
|
1376
1376
|
i0.ɵɵnamespaceSVG();
|
|
@@ -1420,7 +1420,7 @@ class AlertComponent {
|
|
|
1420
1420
|
showIcon = true;
|
|
1421
1421
|
alertMessageType = AlertMessageType;
|
|
1422
1422
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
1423
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$
|
|
1423
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$18, 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) { if (rf & 1) {
|
|
1424
1424
|
i0.ɵɵprojectionDef();
|
|
1425
1425
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1426
1426
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1634,14 +1634,14 @@ class NotificationBannerComponent {
|
|
|
1634
1634
|
}] }); })();
|
|
1635
1635
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
|
|
1636
1636
|
|
|
1637
|
-
const _c0$
|
|
1637
|
+
const _c0$17 = ["*"];
|
|
1638
1638
|
const _c1$t = a0 => ({ "js-hidden": a0 });
|
|
1639
1639
|
class TabComponent {
|
|
1640
1640
|
id;
|
|
1641
1641
|
title;
|
|
1642
1642
|
selected;
|
|
1643
1643
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1644
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$
|
|
1644
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$17, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1645
1645
|
i0.ɵɵprojectionDef();
|
|
1646
1646
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1647
1647
|
i0.ɵɵprojection(1);
|
|
@@ -1663,7 +1663,7 @@ class TabComponent {
|
|
|
1663
1663
|
}] }); })();
|
|
1664
1664
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
|
|
1665
1665
|
|
|
1666
|
-
const _c0$
|
|
1666
|
+
const _c0$16 = ["tab"];
|
|
1667
1667
|
const _c1$s = ["*"];
|
|
1668
1668
|
const _c2$5 = () => ["."];
|
|
1669
1669
|
const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
@@ -1710,7 +1710,7 @@ class TabsComponent {
|
|
|
1710
1710
|
let _t;
|
|
1711
1711
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1712
1712
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1713
|
-
i0.ɵɵviewQuery(_c0$
|
|
1713
|
+
i0.ɵɵviewQuery(_c0$16, 5);
|
|
1714
1714
|
} if (rf & 2) {
|
|
1715
1715
|
let _t;
|
|
1716
1716
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1769,7 +1769,7 @@ class TabsModule {
|
|
|
1769
1769
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1770
1770
|
TabComponent] }); })();
|
|
1771
1771
|
|
|
1772
|
-
const _c0$
|
|
1772
|
+
const _c0$15 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1773
1773
|
class ActivityBannerComponent {
|
|
1774
1774
|
bannerType;
|
|
1775
1775
|
description;
|
|
@@ -1788,7 +1788,7 @@ class ActivityBannerComponent {
|
|
|
1788
1788
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1789
1789
|
i0.ɵɵelementEnd()();
|
|
1790
1790
|
} if (rf & 2) {
|
|
1791
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$
|
|
1791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$15, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1792
1792
|
i0.ɵɵadvance(2);
|
|
1793
1793
|
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1794
1794
|
i0.ɵɵadvance(3);
|
|
@@ -13683,7 +13683,7 @@ class CaseEventCompletionComponent {
|
|
|
13683
13683
|
}] }); })();
|
|
13684
13684
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 21 }); })();
|
|
13685
13685
|
|
|
13686
|
-
const _c0$
|
|
13686
|
+
const _c0$14 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13687
13687
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13688
13688
|
context;
|
|
13689
13689
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13752,7 +13752,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13752
13752
|
i0.ɵɵadvance(4);
|
|
13753
13753
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13754
13754
|
i0.ɵɵadvance(2);
|
|
13755
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13755
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$14, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13756
13756
|
i0.ɵɵadvance();
|
|
13757
13757
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13758
13758
|
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13767,7 +13767,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13767
13767
|
}] }); })();
|
|
13768
13768
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 10 }); })();
|
|
13769
13769
|
|
|
13770
|
-
const _c0$
|
|
13770
|
+
const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13771
13771
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13772
13772
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13773
13773
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13820,7 +13820,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13820
13820
|
i0.ɵɵadvance(4);
|
|
13821
13821
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13822
13822
|
i0.ɵɵadvance(2);
|
|
13823
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$
|
|
13823
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$13, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
13824
13824
|
i0.ɵɵadvance();
|
|
13825
13825
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13826
13826
|
} }
|
|
@@ -14223,7 +14223,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14223
14223
|
}] }); })();
|
|
14224
14224
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14225
14225
|
|
|
14226
|
-
const _c0$
|
|
14226
|
+
const _c0$12 = ["writeComplexFieldComponent"];
|
|
14227
14227
|
const _c1$r = a0 => ({ "form-group-error": a0 });
|
|
14228
14228
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14229
14229
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -14502,7 +14502,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14502
14502
|
}
|
|
14503
14503
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14504
14504
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14505
|
-
i0.ɵɵviewQuery(_c0$
|
|
14505
|
+
i0.ɵɵviewQuery(_c0$12, 5);
|
|
14506
14506
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14507
14507
|
} if (rf & 2) {
|
|
14508
14508
|
let _t;
|
|
@@ -14565,7 +14565,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14565
14565
|
type: Input
|
|
14566
14566
|
}] }); })();
|
|
14567
14567
|
|
|
14568
|
-
const _c0$
|
|
14568
|
+
const _c0$11 = ["journeyChild"];
|
|
14569
14569
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14570
14570
|
multipageComponentStateService;
|
|
14571
14571
|
journeyStartPageNumber = 0;
|
|
@@ -14640,7 +14640,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14640
14640
|
;
|
|
14641
14641
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14642
14642
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14643
|
-
i0.ɵɵviewQuery(_c0$
|
|
14643
|
+
i0.ɵɵviewQuery(_c0$11, 5);
|
|
14644
14644
|
} if (rf & 2) {
|
|
14645
14645
|
let _t;
|
|
14646
14646
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14655,7 +14655,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14655
14655
|
args: ['journeyChild']
|
|
14656
14656
|
}] }); })();
|
|
14657
14657
|
|
|
14658
|
-
const _c0
|
|
14658
|
+
const _c0$10 = ["journeyChild"];
|
|
14659
14659
|
class AbstractJourneyComponent {
|
|
14660
14660
|
multipageComponentStateService;
|
|
14661
14661
|
journeyStartPageNumber = 0;
|
|
@@ -14717,7 +14717,7 @@ class AbstractJourneyComponent {
|
|
|
14717
14717
|
onPageChange() { }
|
|
14718
14718
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14719
14719
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14720
|
-
i0.ɵɵviewQuery(_c0
|
|
14720
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
14721
14721
|
} if (rf & 2) {
|
|
14722
14722
|
let _t;
|
|
14723
14723
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -16202,7 +16202,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16202
16202
|
}], null, null); })();
|
|
16203
16203
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
|
|
16204
16204
|
|
|
16205
|
-
const _c0
|
|
16205
|
+
const _c0$$ = ["writeComplexFieldComponent"];
|
|
16206
16206
|
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
16207
16207
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16208
16208
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16283,7 +16283,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16283
16283
|
}
|
|
16284
16284
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16285
16285
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16286
|
-
i0.ɵɵviewQuery(_c0
|
|
16286
|
+
i0.ɵɵviewQuery(_c0$$, 5);
|
|
16287
16287
|
} if (rf & 2) {
|
|
16288
16288
|
let _t;
|
|
16289
16289
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16317,7 +16317,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16317
16317
|
}] }); })();
|
|
16318
16318
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
|
|
16319
16319
|
|
|
16320
|
-
const _c0$
|
|
16320
|
+
const _c0$_ = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
|
|
16321
16321
|
const _c1$p = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
16322
16322
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16323
16323
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -16328,7 +16328,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16328
16328
|
} if (rf & 2) {
|
|
16329
16329
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16330
16330
|
i0.ɵɵadvance(4);
|
|
16331
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$
|
|
16331
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$_, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
|
|
16332
16332
|
} }
|
|
16333
16333
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16334
16334
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16450,7 +16450,7 @@ class RemoveDialogComponent {
|
|
|
16450
16450
|
}], () => [{ type: i1$3.MatDialogRef }], null); })();
|
|
16451
16451
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16452
16452
|
|
|
16453
|
-
const _c0$
|
|
16453
|
+
const _c0$Z = ["collectionItem"];
|
|
16454
16454
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16455
16455
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16456
16456
|
i0.ɵɵtext(1);
|
|
@@ -16871,7 +16871,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16871
16871
|
}
|
|
16872
16872
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16873
16873
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16874
|
-
i0.ɵɵviewQuery(_c0$
|
|
16874
|
+
i0.ɵɵviewQuery(_c0$Z, 5);
|
|
16875
16875
|
} if (rf & 2) {
|
|
16876
16876
|
let _t;
|
|
16877
16877
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -17187,7 +17187,7 @@ class FileUploadStateService {
|
|
|
17187
17187
|
type: Injectable
|
|
17188
17188
|
}], null, null); })();
|
|
17189
17189
|
|
|
17190
|
-
const _c0$
|
|
17190
|
+
const _c0$Y = ["fileInput"];
|
|
17191
17191
|
const _c1$o = a0 => ({ "form-group-error bottom-30": a0 });
|
|
17192
17192
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17193
17193
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -17566,7 +17566,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17566
17566
|
}
|
|
17567
17567
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
17568
17568
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17569
|
-
i0.ɵɵviewQuery(_c0$
|
|
17569
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
17570
17570
|
} if (rf & 2) {
|
|
17571
17571
|
let _t;
|
|
17572
17572
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -17681,7 +17681,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
17681
17681
|
}], null, null); })();
|
|
17682
17682
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
|
|
17683
17683
|
|
|
17684
|
-
const _c0$
|
|
17684
|
+
const _c0$X = a0 => ({ "form-group-error": a0 });
|
|
17685
17685
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
17686
17686
|
i0.ɵɵelementStart(0, "span", 8);
|
|
17687
17687
|
i0.ɵɵtext(1);
|
|
@@ -17769,7 +17769,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17769
17769
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
17770
17770
|
i0.ɵɵelementEnd()();
|
|
17771
17771
|
} if (rf & 2) {
|
|
17772
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
17772
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$X, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
17773
17773
|
i0.ɵɵadvance();
|
|
17774
17774
|
i0.ɵɵproperty("for", ctx.id());
|
|
17775
17775
|
i0.ɵɵadvance();
|
|
@@ -17950,7 +17950,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
17950
17950
|
}], null, null); })();
|
|
17951
17951
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 10 }); })();
|
|
17952
17952
|
|
|
17953
|
-
const _c0$
|
|
17953
|
+
const _c0$W = a0 => ({ "error": a0 });
|
|
17954
17954
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
17955
17955
|
i0.ɵɵelementStart(0, "span", 5);
|
|
17956
17956
|
i0.ɵɵtext(1);
|
|
@@ -18070,7 +18070,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
18070
18070
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
|
|
18071
18071
|
i0.ɵɵelementEnd()();
|
|
18072
18072
|
} if (rf & 2) {
|
|
18073
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
18073
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$W, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
18074
18074
|
i0.ɵɵadvance(3);
|
|
18075
18075
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
18076
18076
|
i0.ɵɵadvance();
|
|
@@ -18150,7 +18150,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18150
18150
|
}], null, null); })();
|
|
18151
18151
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 9 }); })();
|
|
18152
18152
|
|
|
18153
|
-
const _c0$
|
|
18153
|
+
const _c0$V = a0 => ({ "form-group-error": a0 });
|
|
18154
18154
|
const _c1$n = a0 => ({ selected: a0 });
|
|
18155
18155
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18156
18156
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -18245,7 +18245,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18245
18245
|
i0.ɵɵelementContainerEnd();
|
|
18246
18246
|
i0.ɵɵelementEnd()();
|
|
18247
18247
|
} if (rf & 2) {
|
|
18248
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18248
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$V, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
18249
18249
|
i0.ɵɵadvance(3);
|
|
18250
18250
|
i0.ɵɵproperty("for", ctx.id());
|
|
18251
18251
|
i0.ɵɵadvance();
|
|
@@ -18299,7 +18299,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
18299
18299
|
}], null, null); })();
|
|
18300
18300
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
|
|
18301
18301
|
|
|
18302
|
-
const _c0$
|
|
18302
|
+
const _c0$U = a0 => ({ "form-group-error": a0 });
|
|
18303
18303
|
const _c1$m = a0 => ({ "govuk-input--error": a0 });
|
|
18304
18304
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18305
18305
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -18345,7 +18345,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18345
18345
|
i0.ɵɵelement(5, "input", 5);
|
|
18346
18346
|
i0.ɵɵelementEnd();
|
|
18347
18347
|
} if (rf & 2) {
|
|
18348
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18348
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
18349
18349
|
i0.ɵɵadvance();
|
|
18350
18350
|
i0.ɵɵproperty("for", ctx.id());
|
|
18351
18351
|
i0.ɵɵadvance();
|
|
@@ -18387,7 +18387,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18387
18387
|
}], null, null); })();
|
|
18388
18388
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
|
|
18389
18389
|
|
|
18390
|
-
const _c0$
|
|
18390
|
+
const _c0$T = a0 => ({ "form-group-error": a0 });
|
|
18391
18391
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18392
18392
|
i0.ɵɵelementStart(0, "span", 8);
|
|
18393
18393
|
i0.ɵɵtext(1);
|
|
@@ -18462,7 +18462,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18462
18462
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
18463
18463
|
i0.ɵɵelementEnd()();
|
|
18464
18464
|
} if (rf & 2) {
|
|
18465
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18465
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$T, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
18466
18466
|
i0.ɵɵadvance();
|
|
18467
18467
|
i0.ɵɵproperty("for", ctx.id());
|
|
18468
18468
|
i0.ɵɵadvance();
|
|
@@ -18525,7 +18525,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18525
18525
|
}], null, null); })();
|
|
18526
18526
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 9 }); })();
|
|
18527
18527
|
|
|
18528
|
-
const _c0$
|
|
18528
|
+
const _c0$S = a0 => ({ "form-group-error": a0 });
|
|
18529
18529
|
const _c1$l = a0 => ({ selected: a0 });
|
|
18530
18530
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18531
18531
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -18593,7 +18593,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18593
18593
|
i0.ɵɵelementContainerEnd();
|
|
18594
18594
|
i0.ɵɵelementEnd()();
|
|
18595
18595
|
} if (rf & 2) {
|
|
18596
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
18596
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$S, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
18597
18597
|
i0.ɵɵadvance(3);
|
|
18598
18598
|
i0.ɵɵproperty("for", ctx.id());
|
|
18599
18599
|
i0.ɵɵadvance();
|
|
@@ -18669,7 +18669,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18669
18669
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
18670
18670
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
|
|
18671
18671
|
|
|
18672
|
-
const _c0$
|
|
18672
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
18673
18673
|
const _c1$k = a0 => ({ "hide-autocomplete": a0 });
|
|
18674
18674
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18675
18675
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -18903,7 +18903,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18903
18903
|
i0.ɵɵelementEnd()();
|
|
18904
18904
|
} if (rf & 2) {
|
|
18905
18905
|
const autoComplete_r4 = i0.ɵɵreference(7);
|
|
18906
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
18906
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$R, !!ctx.judicialUserControl && ctx.errors));
|
|
18907
18907
|
i0.ɵɵadvance();
|
|
18908
18908
|
i0.ɵɵproperty("for", ctx.id());
|
|
18909
18909
|
i0.ɵɵadvance();
|
|
@@ -18985,7 +18985,7 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18985
18985
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18986
18986
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
|
|
18987
18987
|
|
|
18988
|
-
const _c0$
|
|
18988
|
+
const _c0$Q = a0 => ({ "form-group-error": a0 });
|
|
18989
18989
|
const _c1$j = a0 => ({ "hide-autocomplete": a0 });
|
|
18990
18990
|
function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18991
18991
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -19224,7 +19224,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
19224
19224
|
i0.ɵɵelementEnd()();
|
|
19225
19225
|
} if (rf & 2) {
|
|
19226
19226
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
19227
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
19227
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.staffUserControl && ctx.errors));
|
|
19228
19228
|
i0.ɵɵadvance();
|
|
19229
19229
|
i0.ɵɵproperty("for", ctx.id());
|
|
19230
19230
|
i0.ɵɵadvance();
|
|
@@ -19689,7 +19689,7 @@ class ValidatorsUtils {
|
|
|
19689
19689
|
args: [{ providedIn: 'root' }]
|
|
19690
19690
|
}], null, null); })();
|
|
19691
19691
|
|
|
19692
|
-
const _c0$
|
|
19692
|
+
const _c0$P = a0 => ({ "govuk-form-group--error": a0 });
|
|
19693
19693
|
const _c1$i = a0 => ({ "table-group-error": a0 });
|
|
19694
19694
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19695
19695
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -19756,7 +19756,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
19756
19756
|
i0.ɵɵelementEnd()();
|
|
19757
19757
|
} if (rf & 2) {
|
|
19758
19758
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19759
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
19759
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$P, !!ctx_r1.caseReasonCommentsError));
|
|
19760
19760
|
i0.ɵɵadvance(3);
|
|
19761
19761
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
19762
19762
|
} }
|
|
@@ -19800,11 +19800,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19800
19800
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19801
19801
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
19802
19802
|
i0.ɵɵadvance();
|
|
19803
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19803
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !!ctx_r1.caseNumberError));
|
|
19804
19804
|
i0.ɵɵadvance(3);
|
|
19805
19805
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
19806
19806
|
i0.ɵɵadvance(2);
|
|
19807
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
19807
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$P, !!ctx_r1.caseReasonError));
|
|
19808
19808
|
i0.ɵɵadvance(5);
|
|
19809
19809
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
19810
19810
|
i0.ɵɵadvance(2);
|
|
@@ -20232,7 +20232,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
20232
20232
|
i0.ɵɵadvance(4);
|
|
20233
20233
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
20234
20234
|
i0.ɵɵadvance(4);
|
|
20235
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
20235
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$P, !!ctx.noSelectedCaseError));
|
|
20236
20236
|
i0.ɵɵadvance();
|
|
20237
20237
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
20238
20238
|
i0.ɵɵadvance(18);
|
|
@@ -20825,7 +20825,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20825
20825
|
}], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20826
20826
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 13 }); })();
|
|
20827
20827
|
|
|
20828
|
-
const _c0$
|
|
20828
|
+
const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
|
|
20829
20829
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
20830
20830
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
20831
20831
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -20863,7 +20863,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20863
20863
|
i0.ɵɵelementEnd()();
|
|
20864
20864
|
} if (rf & 2) {
|
|
20865
20865
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20866
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
20866
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$O, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
20867
20867
|
i0.ɵɵadvance();
|
|
20868
20868
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
20869
20869
|
i0.ɵɵadvance(2);
|
|
@@ -21800,7 +21800,7 @@ class MoneyGbpInputComponent {
|
|
|
21800
21800
|
}] }); })();
|
|
21801
21801
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
|
|
21802
21802
|
|
|
21803
|
-
const _c0$
|
|
21803
|
+
const _c0$N = a0 => ({ "form-group-error": a0 });
|
|
21804
21804
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21805
21805
|
i0.ɵɵelementStart(0, "span", 8);
|
|
21806
21806
|
i0.ɵɵtext(1);
|
|
@@ -21849,7 +21849,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21849
21849
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
21850
21850
|
i0.ɵɵelementEnd()();
|
|
21851
21851
|
} if (rf & 2) {
|
|
21852
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
21852
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$N, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
21853
21853
|
i0.ɵɵadvance();
|
|
21854
21854
|
i0.ɵɵproperty("for", ctx.id());
|
|
21855
21855
|
i0.ɵɵadvance();
|
|
@@ -21915,7 +21915,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
21915
21915
|
}], null, null); })();
|
|
21916
21916
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 10 }); })();
|
|
21917
21917
|
|
|
21918
|
-
const _c0$
|
|
21918
|
+
const _c0$M = a0 => ({ "error": a0 });
|
|
21919
21919
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21920
21920
|
i0.ɵɵelementStart(0, "span", 5);
|
|
21921
21921
|
i0.ɵɵtext(1);
|
|
@@ -22016,7 +22016,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22016
22016
|
i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
22017
22017
|
i0.ɵɵelementEnd()();
|
|
22018
22018
|
} if (rf & 2) {
|
|
22019
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
22019
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$M, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
22020
22020
|
i0.ɵɵadvance(3);
|
|
22021
22021
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
22022
22022
|
i0.ɵɵadvance();
|
|
@@ -22055,7 +22055,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
22055
22055
|
}], null, null); })();
|
|
22056
22056
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
|
|
22057
22057
|
|
|
22058
|
-
const _c0$
|
|
22058
|
+
const _c0$L = a0 => ({ "form-group-error": a0 });
|
|
22059
22059
|
const _c1$h = a0 => ({ "govuk-input--error": a0 });
|
|
22060
22060
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22061
22061
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -22101,7 +22101,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22101
22101
|
i0.ɵɵelement(5, "input", 5);
|
|
22102
22102
|
i0.ɵɵelementEnd();
|
|
22103
22103
|
} if (rf & 2) {
|
|
22104
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22104
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$L, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
22105
22105
|
i0.ɵɵadvance();
|
|
22106
22106
|
i0.ɵɵproperty("for", ctx.id());
|
|
22107
22107
|
i0.ɵɵadvance();
|
|
@@ -22280,7 +22280,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
22280
22280
|
}] }); })();
|
|
22281
22281
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
|
|
22282
22282
|
|
|
22283
|
-
const _c0$
|
|
22283
|
+
const _c0$K = a0 => ({ "scroll-container ": a0 });
|
|
22284
22284
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
22285
22285
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
22286
22286
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -22359,7 +22359,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
22359
22359
|
let tmp_3_0;
|
|
22360
22360
|
let tmp_5_0;
|
|
22361
22361
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
22362
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
22362
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$K, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
|
|
22363
22363
|
i0.ɵɵadvance(2);
|
|
22364
22364
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
22365
22365
|
i0.ɵɵadvance(2);
|
|
@@ -22755,7 +22755,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
22755
22755
|
}], null, null); })();
|
|
22756
22756
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
|
|
22757
22757
|
|
|
22758
|
-
const _c0$
|
|
22758
|
+
const _c0$J = a0 => ({ "form-group-error": a0 });
|
|
22759
22759
|
const _c1$g = a0 => ({ "govuk-input--error": a0 });
|
|
22760
22760
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22761
22761
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -22801,7 +22801,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22801
22801
|
i0.ɵɵelement(5, "input", 5);
|
|
22802
22802
|
i0.ɵɵelementEnd();
|
|
22803
22803
|
} if (rf & 2) {
|
|
22804
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22804
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
22805
22805
|
i0.ɵɵadvance();
|
|
22806
22806
|
i0.ɵɵproperty("for", ctx.id());
|
|
22807
22807
|
i0.ɵɵadvance();
|
|
@@ -25295,7 +25295,7 @@ class QueryWriteDateInputComponent {
|
|
|
25295
25295
|
}] }); })();
|
|
25296
25296
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 16 }); })();
|
|
25297
25297
|
|
|
25298
|
-
const _c0$
|
|
25298
|
+
const _c0$I = a0 => ({ "govuk-form-group--error": a0 });
|
|
25299
25299
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
25300
25300
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
25301
25301
|
} if (rf & 2) {
|
|
@@ -25375,7 +25375,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
25375
25375
|
} if (rf & 2) {
|
|
25376
25376
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
25377
25377
|
i0.ɵɵadvance();
|
|
25378
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
25378
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$I, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
25379
25379
|
i0.ɵɵadvance(4);
|
|
25380
25380
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
25381
25381
|
i0.ɵɵadvance(2);
|
|
@@ -25442,7 +25442,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25442
25442
|
i0.ɵɵadvance(8);
|
|
25443
25443
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
25444
25444
|
i0.ɵɵadvance(2);
|
|
25445
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
25445
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$I, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
25446
25446
|
i0.ɵɵadvance(3);
|
|
25447
25447
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
25448
25448
|
i0.ɵɵadvance(3);
|
|
@@ -25450,7 +25450,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25450
25450
|
i0.ɵɵadvance(2);
|
|
25451
25451
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25452
25452
|
i0.ɵɵadvance(2);
|
|
25453
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
25453
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$I, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
25454
25454
|
i0.ɵɵadvance(3);
|
|
25455
25455
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
25456
25456
|
i0.ɵɵadvance(3);
|
|
@@ -25461,7 +25461,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25461
25461
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25462
25462
|
i0.ɵɵproperty("formControlName", "body");
|
|
25463
25463
|
i0.ɵɵadvance(2);
|
|
25464
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
25464
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$I, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
25465
25465
|
i0.ɵɵadvance(4);
|
|
25466
25466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
25467
25467
|
i0.ɵɵadvance(2);
|
|
@@ -26085,7 +26085,7 @@ class CloseQueryComponent {
|
|
|
26085
26085
|
}] }); })();
|
|
26086
26086
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 9 }); })();
|
|
26087
26087
|
|
|
26088
|
-
const _c0$
|
|
26088
|
+
const _c0$H = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
26089
26089
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
26090
26090
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
26091
26091
|
i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
|
|
@@ -26124,7 +26124,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
26124
26124
|
} if (rf & 2) {
|
|
26125
26125
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
26126
26126
|
i0.ɵɵadvance();
|
|
26127
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26127
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$H, ctx_r1.caseId, ctx_r1.query.id));
|
|
26128
26128
|
i0.ɵɵadvance();
|
|
26129
26129
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26130
26130
|
} }
|
|
@@ -26138,7 +26138,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
26138
26138
|
} if (rf & 2) {
|
|
26139
26139
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
26140
26140
|
i0.ɵɵadvance();
|
|
26141
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26141
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$H, ctx_r1.caseId, ctx_r1.query.id));
|
|
26142
26142
|
i0.ɵɵadvance();
|
|
26143
26143
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26144
26144
|
} }
|
|
@@ -26551,7 +26551,7 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
26551
26551
|
}], () => [{ type: i4$1.DomSanitizer }], null); })();
|
|
26552
26552
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadRichTextAreaFieldComponent, { className: "ReadRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/read-rich-text-area-field.component.ts", lineNumber: 13 }); })();
|
|
26553
26553
|
|
|
26554
|
-
const _c0$
|
|
26554
|
+
const _c0$G = ["editorHost"];
|
|
26555
26555
|
const _c1$f = a0 => ({ "form-group-error": a0 });
|
|
26556
26556
|
const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
|
|
26557
26557
|
const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
|
|
@@ -29173,7 +29173,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29173
29173
|
}
|
|
29174
29174
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
29175
29175
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29176
|
-
i0.ɵɵviewQuery(_c0$
|
|
29176
|
+
i0.ɵɵviewQuery(_c0$G, 5);
|
|
29177
29177
|
} if (rf & 2) {
|
|
29178
29178
|
let _t;
|
|
29179
29179
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29366,7 +29366,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29366
29366
|
}], null, null); })();
|
|
29367
29367
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29368
29368
|
|
|
29369
|
-
const _c0$
|
|
29369
|
+
const _c0$F = a0 => ({ "form-group-error": a0 });
|
|
29370
29370
|
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
29371
29371
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29372
29372
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -29424,7 +29424,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29424
29424
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29425
29425
|
i0.ɵɵelementEnd()();
|
|
29426
29426
|
} if (rf & 2) {
|
|
29427
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29427
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
29428
29428
|
i0.ɵɵadvance();
|
|
29429
29429
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29430
29430
|
i0.ɵɵadvance();
|
|
@@ -29462,7 +29462,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29462
29462
|
}], null, null); })();
|
|
29463
29463
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
|
|
29464
29464
|
|
|
29465
|
-
const _c0$
|
|
29465
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
29466
29466
|
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
29467
29467
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29468
29468
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -29521,7 +29521,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29521
29521
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29522
29522
|
i0.ɵɵelementEnd()();
|
|
29523
29523
|
} if (rf & 2) {
|
|
29524
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29524
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29525
29525
|
i0.ɵɵadvance();
|
|
29526
29526
|
i0.ɵɵproperty("for", ctx.id());
|
|
29527
29527
|
i0.ɵɵadvance();
|
|
@@ -29664,7 +29664,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
29664
29664
|
}], () => [{ type: YesNoService }], null); })();
|
|
29665
29665
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
|
|
29666
29666
|
|
|
29667
|
-
const _c0$
|
|
29667
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29668
29668
|
const _c1$c = a0 => ({ selected: a0 });
|
|
29669
29669
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
29670
29670
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -29736,7 +29736,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29736
29736
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
29737
29737
|
i0.ɵɵelementEnd()()();
|
|
29738
29738
|
} if (rf & 2) {
|
|
29739
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
29739
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$D, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
29740
29740
|
i0.ɵɵadvance(3);
|
|
29741
29741
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
29742
29742
|
i0.ɵɵadvance();
|
|
@@ -29857,7 +29857,7 @@ class PaletteService {
|
|
|
29857
29857
|
type: Injectable
|
|
29858
29858
|
}], null, null); })();
|
|
29859
29859
|
|
|
29860
|
-
const _c0$
|
|
29860
|
+
const _c0$C = ["fieldContainer"];
|
|
29861
29861
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29862
29862
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
29863
29863
|
resolver;
|
|
@@ -29906,7 +29906,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29906
29906
|
}
|
|
29907
29907
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29908
29908
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29909
|
-
i0.ɵɵviewQuery(_c0$
|
|
29909
|
+
i0.ɵɵviewQuery(_c0$C, 5, ViewContainerRef);
|
|
29910
29910
|
} if (rf & 2) {
|
|
29911
29911
|
let _t;
|
|
29912
29912
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29935,7 +29935,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29935
29935
|
}] }); })();
|
|
29936
29936
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
29937
29937
|
|
|
29938
|
-
const _c0$
|
|
29938
|
+
const _c0$B = ["fieldContainer"];
|
|
29939
29939
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29940
29940
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
29941
29941
|
resolver;
|
|
@@ -29995,7 +29995,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29995
29995
|
}
|
|
29996
29996
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29997
29997
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29998
|
-
i0.ɵɵviewQuery(_c0$
|
|
29998
|
+
i0.ɵɵviewQuery(_c0$B, 7, ViewContainerRef);
|
|
29999
29999
|
} if (rf & 2) {
|
|
30000
30000
|
let _t;
|
|
30001
30001
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -30019,7 +30019,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
30019
30019
|
}] }); })();
|
|
30020
30020
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
|
|
30021
30021
|
|
|
30022
|
-
const _c0$
|
|
30022
|
+
const _c0$A = ["*"];
|
|
30023
30023
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
30024
30024
|
i0.ɵɵelementContainer(0);
|
|
30025
30025
|
} }
|
|
@@ -30073,7 +30073,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
30073
30073
|
}
|
|
30074
30074
|
}
|
|
30075
30075
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
30076
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
30076
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$A, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30077
30077
|
i0.ɵɵprojectionDef();
|
|
30078
30078
|
i0.ɵɵelementStart(0, "div", 1);
|
|
30079
30079
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -30094,7 +30094,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
30094
30094
|
}] }); })();
|
|
30095
30095
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
|
|
30096
30096
|
|
|
30097
|
-
const _c0$
|
|
30097
|
+
const _c0$z = a0 => ({ cat: a0, level: 1 });
|
|
30098
30098
|
const _c1$b = (a0, a1) => ({ cat: a0, level: a1 });
|
|
30099
30099
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30100
30100
|
i0.ɵɵelementContainer(0);
|
|
@@ -30108,7 +30108,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
30108
30108
|
i0.ɵɵnextContext();
|
|
30109
30109
|
const folder_r3 = i0.ɵɵreference(13);
|
|
30110
30110
|
i0.ɵɵadvance();
|
|
30111
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
30111
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$z, cat_r2));
|
|
30112
30112
|
} }
|
|
30113
30113
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30114
30114
|
i0.ɵɵelementContainer(0);
|
|
@@ -30246,7 +30246,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
30246
30246
|
}] }], null); })();
|
|
30247
30247
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 13 }); })();
|
|
30248
30248
|
|
|
30249
|
-
const _c0$
|
|
30249
|
+
const _c0$y = [[["", "trigger", ""]]];
|
|
30250
30250
|
const _c1$a = ["[trigger]"];
|
|
30251
30251
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30252
30252
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -30319,7 +30319,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
30319
30319
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
30320
30320
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, standalone: false, ngContentSelectors: _c1$a, decls: 5, vars: 5, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", "aria-haspopup", "true", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", "aria-hidden", "true", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], ["aria-hidden", "true", 1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30321
30321
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
30322
|
-
i0.ɵɵprojectionDef(_c0$
|
|
30322
|
+
i0.ɵɵprojectionDef(_c0$y);
|
|
30323
30323
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
30324
30324
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
30325
30325
|
i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
|
|
@@ -31013,7 +31013,7 @@ class CaseFileViewFolderComponent {
|
|
|
31013
31013
|
}] }); })();
|
|
31014
31014
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 26 }); })();
|
|
31015
31015
|
|
|
31016
|
-
const _c0$
|
|
31016
|
+
const _c0$x = a0 => ({ "form-group-error": a0 });
|
|
31017
31017
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
31018
31018
|
i0.ɵɵelementStart(0, "span");
|
|
31019
31019
|
i0.ɵɵtext(1);
|
|
@@ -31167,7 +31167,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
31167
31167
|
} if (rf & 2) {
|
|
31168
31168
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31169
31169
|
i0.ɵɵadvance(2);
|
|
31170
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
31170
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$x, ctx.errorMessages.length > 0));
|
|
31171
31171
|
i0.ɵɵadvance(2);
|
|
31172
31172
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
31173
31173
|
i0.ɵɵadvance();
|
|
@@ -31533,7 +31533,7 @@ class CaseFlagSummaryListComponent {
|
|
|
31533
31533
|
}] }); })();
|
|
31534
31534
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagSummaryListComponent, { className: "CaseFlagSummaryListComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.ts", lineNumber: 17 }); })();
|
|
31535
31535
|
|
|
31536
|
-
const _c0$
|
|
31536
|
+
const _c0$w = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
31537
31537
|
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
31538
31538
|
i0.ɵɵelementStart(0, "caption", 13);
|
|
31539
31539
|
i0.ɵɵtext(1);
|
|
@@ -31662,7 +31662,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
|
|
|
31662
31662
|
i0.ɵɵadvance(3);
|
|
31663
31663
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
|
|
31664
31664
|
i0.ɵɵadvance(3);
|
|
31665
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$
|
|
31665
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$w, ctx_r0.isActivePvpFlag(flagDetail_r2)));
|
|
31666
31666
|
i0.ɵɵadvance();
|
|
31667
31667
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
|
|
31668
31668
|
i0.ɵɵadvance(2);
|
|
@@ -31771,7 +31771,7 @@ class CaseFlagTableComponent {
|
|
|
31771
31771
|
}] }); })();
|
|
31772
31772
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 12 }); })();
|
|
31773
31773
|
|
|
31774
|
-
const _c0$
|
|
31774
|
+
const _c0$v = a0 => ({ "form-group-error": a0 });
|
|
31775
31775
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
31776
31776
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
31777
31777
|
i0.ɵɵtext(2);
|
|
@@ -32089,7 +32089,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
32089
32089
|
} if (rf & 2) {
|
|
32090
32090
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32091
32091
|
i0.ɵɵadvance();
|
|
32092
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32092
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$v, ctx.errorMessages.length > 0));
|
|
32093
32093
|
i0.ɵɵadvance(4);
|
|
32094
32094
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
32095
32095
|
i0.ɵɵadvance(2);
|
|
@@ -32175,7 +32175,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
32175
32175
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
32176
32176
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
32177
32177
|
|
|
32178
|
-
const _c0$
|
|
32178
|
+
const _c0$u = a0 => ({ "form-group-error": a0 });
|
|
32179
32179
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
32180
32180
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
32181
32181
|
i0.ɵɵtext(2);
|
|
@@ -32267,7 +32267,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
32267
32267
|
} if (rf & 2) {
|
|
32268
32268
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32269
32269
|
i0.ɵɵadvance();
|
|
32270
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32270
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$u, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
32271
32271
|
i0.ɵɵadvance(2);
|
|
32272
32272
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
32273
32273
|
i0.ɵɵadvance(2);
|
|
@@ -32441,7 +32441,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32441
32441
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
32442
32442
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32443
32443
|
i0.ɵɵadvance();
|
|
32444
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
32444
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$u, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
32445
32445
|
i0.ɵɵadvance(2);
|
|
32446
32446
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
32447
32447
|
i0.ɵɵadvance();
|
|
@@ -32478,7 +32478,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32478
32478
|
}] }); })();
|
|
32479
32479
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchLanguageInterpreterComponent, { className: "SearchLanguageInterpreterComponent", filePath: "lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.ts", lineNumber: 21 }); })();
|
|
32480
32480
|
|
|
32481
|
-
const _c0$
|
|
32481
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
32482
32482
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32483
32483
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
32484
32484
|
i0.ɵɵtext(2);
|
|
@@ -32653,7 +32653,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32653
32653
|
} if (rf & 2) {
|
|
32654
32654
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32655
32655
|
i0.ɵɵadvance();
|
|
32656
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32656
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$t, ctx.errorMessages.length > 0));
|
|
32657
32657
|
i0.ɵɵadvance(4);
|
|
32658
32658
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
32659
32659
|
i0.ɵɵadvance(2);
|
|
@@ -32676,7 +32676,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32676
32676
|
}] }); })();
|
|
32677
32677
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagLocationComponent, { className: "SelectFlagLocationComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.ts", lineNumber: 13 }); })();
|
|
32678
32678
|
|
|
32679
|
-
const _c0$
|
|
32679
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
32680
32680
|
const _c1$9 = a0 => ({ "govuk-input--error": a0 });
|
|
32681
32681
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32682
32682
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -32771,7 +32771,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
32771
32771
|
} if (rf & 2) {
|
|
32772
32772
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
32773
32773
|
i0.ɵɵadvance();
|
|
32774
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
32774
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$s, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
32775
32775
|
i0.ɵɵadvance(2);
|
|
32776
32776
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.isDisplayContextParameterExternal ? i0.ɵɵpipeBind1(4, 7, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL) : i0.ɵɵpipeBind1(5, 9, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION), " ");
|
|
32777
32777
|
i0.ɵɵadvance(3);
|
|
@@ -32796,7 +32796,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
32796
32796
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32797
32797
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
32798
32798
|
i0.ɵɵadvance();
|
|
32799
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32799
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$s, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
32800
32800
|
i0.ɵɵadvance(4);
|
|
32801
32801
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
32802
32802
|
i0.ɵɵadvance(3);
|
|
@@ -33123,7 +33123,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
33123
33123
|
}] }); })();
|
|
33124
33124
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagTypeComponent, { className: "SelectFlagTypeComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.ts", lineNumber: 20 }); })();
|
|
33125
33125
|
|
|
33126
|
-
const _c0$
|
|
33126
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
33127
33127
|
const _c1$8 = a0 => ({ "govuk-tag--grey": a0 });
|
|
33128
33128
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
33129
33129
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -33609,7 +33609,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33609
33609
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
33610
33610
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33611
33611
|
i0.ɵɵadvance(2);
|
|
33612
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
33612
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$r, ctx.errorMessages.length > 0));
|
|
33613
33613
|
i0.ɵɵadvance(3);
|
|
33614
33614
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
33615
33615
|
i0.ɵɵadvance(2);
|
|
@@ -33642,7 +33642,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33642
33642
|
}] }); })();
|
|
33643
33643
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagComponent, { className: "UpdateFlagComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.ts", lineNumber: 23 }); })();
|
|
33644
33644
|
|
|
33645
|
-
const _c0$
|
|
33645
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
33646
33646
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
33647
33647
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
33648
33648
|
i0.ɵɵtext(2);
|
|
@@ -33850,7 +33850,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33850
33850
|
} if (rf & 2) {
|
|
33851
33851
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33852
33852
|
i0.ɵɵadvance(2);
|
|
33853
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
33853
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$q, ctx.errorMessages.length > 0));
|
|
33854
33854
|
i0.ɵɵadvance(3);
|
|
33855
33855
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
33856
33856
|
i0.ɵɵadvance(3);
|
|
@@ -33907,7 +33907,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33907
33907
|
}] }); })();
|
|
33908
33908
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagAddTranslationFormComponent, { className: "UpdateFlagAddTranslationFormComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.ts", lineNumber: 19 }); })();
|
|
33909
33909
|
|
|
33910
|
-
const _c0$
|
|
33910
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
33911
33911
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
33912
33912
|
i0.ɵɵelementStart(0, "div", 13);
|
|
33913
33913
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -34041,7 +34041,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
34041
34041
|
} if (rf & 2) {
|
|
34042
34042
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
34043
34043
|
i0.ɵɵadvance(2);
|
|
34044
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
34044
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$p, ctx.errorMessages.length > 0));
|
|
34045
34045
|
i0.ɵɵadvance(4);
|
|
34046
34046
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
34047
34047
|
i0.ɵɵadvance(3);
|
|
@@ -34325,7 +34325,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
34325
34325
|
}]
|
|
34326
34326
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
34327
34327
|
|
|
34328
|
-
const _c0$
|
|
34328
|
+
const _c0$o = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
34329
34329
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
34330
34330
|
i0.ɵɵelementContainerStart(0)(1, 2);
|
|
34331
34331
|
i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
|
|
@@ -34364,7 +34364,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34364
34364
|
i0.ɵɵelementEnd();
|
|
34365
34365
|
} if (rf & 2) {
|
|
34366
34366
|
i0.ɵɵadvance();
|
|
34367
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
34367
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$o, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
34368
34368
|
} }, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
|
|
34369
34369
|
}
|
|
34370
34370
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -34375,7 +34375,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34375
34375
|
}] }); })();
|
|
34376
34376
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
|
|
34377
34377
|
|
|
34378
|
-
const _c0$
|
|
34378
|
+
const _c0$n = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
34379
34379
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34380
34380
|
i0.ɵɵelementContainerStart(0);
|
|
34381
34381
|
i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
|
|
@@ -34469,7 +34469,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
34469
34469
|
i0.ɵɵadvance(4);
|
|
34470
34470
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
34471
34471
|
i0.ɵɵadvance(5);
|
|
34472
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
34472
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$n, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
34473
34473
|
} }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}.complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media(min-width:641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}@media print{.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:14pt}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
34474
34474
|
}
|
|
34475
34475
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -34857,7 +34857,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
34857
34857
|
}], null, null); })();
|
|
34858
34858
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 13 }); })();
|
|
34859
34859
|
|
|
34860
|
-
const _c0$
|
|
34860
|
+
const _c0$m = a0 => ({ "form-group-error": a0 });
|
|
34861
34861
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34862
34862
|
i0.ɵɵelementStart(0, "span", 5);
|
|
34863
34863
|
i0.ɵɵtext(1);
|
|
@@ -34909,7 +34909,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
34909
34909
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
34910
34910
|
i0.ɵɵelementEnd()();
|
|
34911
34911
|
} if (rf & 2) {
|
|
34912
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
34912
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$m, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
34913
34913
|
i0.ɵɵadvance(3);
|
|
34914
34914
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
34915
34915
|
i0.ɵɵadvance();
|
|
@@ -34938,7 +34938,7 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
34938
34938
|
},
|
|
34939
34939
|
};
|
|
34940
34940
|
|
|
34941
|
-
const _c0$
|
|
34941
|
+
const _c0$l = ["picker"];
|
|
34942
34942
|
const _c1$7 = ["input"];
|
|
34943
34943
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
34944
34944
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -34952,6 +34952,15 @@ function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
34952
34952
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField));
|
|
34953
34953
|
} }
|
|
34954
34954
|
function DatetimePickerComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
34955
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
34956
|
+
i0.ɵɵtext(1);
|
|
34957
|
+
i0.ɵɵelementEnd();
|
|
34958
|
+
} if (rf & 2) {
|
|
34959
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
34960
|
+
i0.ɵɵadvance();
|
|
34961
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.label);
|
|
34962
|
+
} }
|
|
34963
|
+
function DatetimePickerComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
34955
34964
|
i0.ɵɵelementStart(0, "span", 12);
|
|
34956
34965
|
i0.ɵɵtext(1);
|
|
34957
34966
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -34961,18 +34970,18 @@ function DatetimePickerComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
34961
34970
|
i0.ɵɵadvance();
|
|
34962
34971
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
|
|
34963
34972
|
} }
|
|
34964
|
-
function
|
|
34965
|
-
i0.ɵɵelementStart(0, "span",
|
|
34973
|
+
function DatetimePickerComponent_ng_container_6_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
34974
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
34966
34975
|
i0.ɵɵtext(1);
|
|
34967
34976
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
34968
34977
|
i0.ɵɵelementEnd();
|
|
34969
34978
|
} if (rf & 2) {
|
|
34970
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
34979
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
34971
34980
|
i0.ɵɵadvance();
|
|
34972
34981
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r1.dateControl.errors, ctx_r1.caseField.label));
|
|
34973
34982
|
} }
|
|
34974
|
-
function
|
|
34975
|
-
i0.ɵɵelementStart(0, "span",
|
|
34983
|
+
function DatetimePickerComponent_ng_container_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
34984
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
34976
34985
|
i0.ɵɵtext(1);
|
|
34977
34986
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
34978
34987
|
i0.ɵɵelementEnd();
|
|
@@ -34980,8 +34989,8 @@ function DatetimePickerComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
34980
34989
|
i0.ɵɵadvance();
|
|
34981
34990
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is older than the minimum date allowed"));
|
|
34982
34991
|
} }
|
|
34983
|
-
function
|
|
34984
|
-
i0.ɵɵelementStart(0, "span",
|
|
34992
|
+
function DatetimePickerComponent_ng_container_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34993
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
34985
34994
|
i0.ɵɵtext(1);
|
|
34986
34995
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
34987
34996
|
i0.ɵɵelementEnd();
|
|
@@ -34989,6 +34998,19 @@ function DatetimePickerComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
34989
34998
|
i0.ɵɵadvance();
|
|
34990
34999
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is later than the maximum date allowed"));
|
|
34991
35000
|
} }
|
|
35001
|
+
function DatetimePickerComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
35002
|
+
i0.ɵɵelementContainerStart(0);
|
|
35003
|
+
i0.ɵɵtemplate(1, DatetimePickerComponent_ng_container_6_span_1_Template, 3, 4, "span", 13)(2, DatetimePickerComponent_ng_container_6_span_2_Template, 3, 3, "span", 13)(3, DatetimePickerComponent_ng_container_6_span_3_Template, 3, 3, "span", 13);
|
|
35004
|
+
i0.ɵɵelementContainerEnd();
|
|
35005
|
+
} if (rf & 2) {
|
|
35006
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
35007
|
+
i0.ɵɵadvance();
|
|
35008
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dateControl && ctx_r1.dateControl.errors && ctx_r1.dateControl.dirty && !(ctx_r1.minError || ctx_r1.maxError));
|
|
35009
|
+
i0.ɵɵadvance();
|
|
35010
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dateControl && ctx_r1.dateControl.dirty && ctx_r1.minError);
|
|
35011
|
+
i0.ɵɵadvance();
|
|
35012
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dateControl && ctx_r1.dateControl.dirty && ctx_r1.maxError);
|
|
35013
|
+
} }
|
|
34992
35014
|
class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
34993
35015
|
formatTranslationService;
|
|
34994
35016
|
ngxMatDateFormats;
|
|
@@ -35013,6 +35035,10 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35013
35035
|
datetimePicker;
|
|
35014
35036
|
inputElement;
|
|
35015
35037
|
dateControl = new FormControl(new Date());
|
|
35038
|
+
// having a case field label means that this component is being used as a caseField
|
|
35039
|
+
caseFieldLabel = true;
|
|
35040
|
+
// emit event for DatePickerRange component when the date changes - ignored as casefield
|
|
35041
|
+
dateChange = new EventEmitter();
|
|
35016
35042
|
minimumDate = new Date('01/01/1800');
|
|
35017
35043
|
maximumDate = null;
|
|
35018
35044
|
momentFormat = 'YYYY-MM-DDTHH:mm:ss.SSS';
|
|
@@ -35049,13 +35075,14 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35049
35075
|
*/
|
|
35050
35076
|
valueChanged() {
|
|
35051
35077
|
this.formatValueAndSetErrors();
|
|
35078
|
+
this.dateChange.emit(this.dateControl.value);
|
|
35052
35079
|
}
|
|
35053
35080
|
focusIn() {
|
|
35054
35081
|
this.setDateTimeFormat();
|
|
35055
35082
|
}
|
|
35056
35083
|
focusOut() {
|
|
35057
35084
|
// focus out needed to obtain errors (relevant to formatting)
|
|
35058
|
-
this.
|
|
35085
|
+
this.valueChanged();
|
|
35059
35086
|
}
|
|
35060
35087
|
toggleClick() {
|
|
35061
35088
|
this.setDateTimeFormat();
|
|
@@ -35156,13 +35183,13 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35156
35183
|
}
|
|
35157
35184
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS)); };
|
|
35158
35185
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35159
|
-
i0.ɵɵviewQuery(_c0$
|
|
35186
|
+
i0.ɵɵviewQuery(_c0$l, 5);
|
|
35160
35187
|
i0.ɵɵviewQuery(_c1$7, 5);
|
|
35161
35188
|
} if (rf & 2) {
|
|
35162
35189
|
let _t;
|
|
35163
35190
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
|
|
35164
35191
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
35165
|
-
} }, inputs: { dateControl: "dateControl" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
35192
|
+
} }, inputs: { dateControl: "dateControl", caseFieldLabel: "caseFieldLabel" }, outputs: { dateChange: "dateChange" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
35166
35193
|
{ provide: MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
35167
35194
|
{
|
|
35168
35195
|
provide: DateAdapter,
|
|
@@ -35170,33 +35197,31 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35170
35197
|
deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
35171
35198
|
},
|
|
35172
35199
|
{ provide: MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
35173
|
-
]), i0.ɵɵInheritDefinitionFeature], decls:
|
|
35200
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 16, vars: 26, consts: [["input", ""], ["picker", ""], [1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], [4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "focusin", "focusout", "dateChange", "min", "max", "formControl", "ngxMatDatetimePicker"], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "yearSelected", "monthSelected", "opened", "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian"], ["mat-raised-button", "", "color", "primary", "ngxMatDatepickerApply", ""], [1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35174
35201
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
35175
35202
|
i0.ɵɵelementStart(0, "div", 2)(1, "fieldset")(2, "legend");
|
|
35176
|
-
i0.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 3, 3, "span", 3)(4, DatetimePickerComponent_span_4_Template,
|
|
35203
|
+
i0.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 3, 3, "span", 3)(4, DatetimePickerComponent_span_4_Template, 2, 1, "span", 3)(5, DatetimePickerComponent_span_5_Template, 3, 3, "span", 4)(6, DatetimePickerComponent_ng_container_6_Template, 4, 3, "ng-container", 5);
|
|
35177
35204
|
i0.ɵɵelementEnd();
|
|
35178
|
-
i0.ɵɵelementStart(
|
|
35179
|
-
i0.ɵɵlistener("focusin", function
|
|
35205
|
+
i0.ɵɵelementStart(7, "div", 6)(8, "input", 7, 0);
|
|
35206
|
+
i0.ɵɵlistener("focusin", function DatetimePickerComponent_Template_input_focusin_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.focusIn()); })("focusout", function DatetimePickerComponent_Template_input_focusout_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.focusOut()); })("dateChange", function DatetimePickerComponent_Template_input_dateChange_8_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.valueChanged()); });
|
|
35180
35207
|
i0.ɵɵelementEnd();
|
|
35181
|
-
i0.ɵɵelement(
|
|
35182
|
-
i0.ɵɵelementStart(
|
|
35183
|
-
i0.ɵɵlistener("yearSelected", function
|
|
35184
|
-
i0.ɵɵelementStart(
|
|
35185
|
-
i0.ɵɵtext(
|
|
35208
|
+
i0.ɵɵelement(10, "mat-datepicker-toggle", 8);
|
|
35209
|
+
i0.ɵɵelementStart(11, "ngx-mat-datetime-picker", 9, 1);
|
|
35210
|
+
i0.ɵɵlistener("yearSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_yearSelected_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.yearSelected($event)); })("monthSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_monthSelected_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.monthSelected($event)); })("opened", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_opened_11_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleClick()); });
|
|
35211
|
+
i0.ɵɵelementStart(13, "ngx-mat-datepicker-actions")(14, "button", 10);
|
|
35212
|
+
i0.ɵɵtext(15, "Confirm");
|
|
35186
35213
|
i0.ɵɵelementEnd()()()()()();
|
|
35187
35214
|
} if (rf & 2) {
|
|
35188
|
-
const picker_r3 = i0.ɵɵreference(
|
|
35189
|
-
i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(
|
|
35215
|
+
const picker_r3 = i0.ɵɵreference(12);
|
|
35216
|
+
i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$2, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty && ctx.caseFieldLabel));
|
|
35190
35217
|
i0.ɵɵadvance(3);
|
|
35191
|
-
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
35192
|
-
i0.ɵɵadvance();
|
|
35193
|
-
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
35218
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label && ctx.caseFieldLabel);
|
|
35194
35219
|
i0.ɵɵadvance();
|
|
35195
|
-
i0.ɵɵproperty("ngIf",
|
|
35220
|
+
i0.ɵɵproperty("ngIf", !ctx.caseFieldLabel);
|
|
35196
35221
|
i0.ɵɵadvance();
|
|
35197
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
35222
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
35198
35223
|
i0.ɵɵadvance();
|
|
35199
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
35224
|
+
i0.ɵɵproperty("ngIf", ctx.caseFieldLabel);
|
|
35200
35225
|
i0.ɵɵadvance(2);
|
|
35201
35226
|
i0.ɵɵattribute("aria-label", i0.ɵɵinterpolate1("Please enter a date and time in the format | rpxTranslate ", ctx.dateTimeEntryFormat));
|
|
35202
35227
|
i0.ɵɵproperty("min", ctx.minDate(ctx.caseField))("max", ctx.maxDate(ctx.caseField))("formControl", ctx.dateControl)("ngxMatDatetimePicker", picker_r3);
|
|
@@ -35216,7 +35241,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35216
35241
|
deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
35217
35242
|
},
|
|
35218
35243
|
{ provide: MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
35219
|
-
], standalone: false, template: "<div class=\"govuk-form-group bottom-30\" [id]=\"caseField.id\"\n [ngClass]=\"{'form-group-error': dateControl && !dateControl.valid && dateControl.dirty}\">\n <fieldset>\n <legend>\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{(caseField | ccdFieldLabel)}}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.errors && dateControl.dirty && !(minError || maxError)\">{{(dateControl.errors | ccdFirstError:caseField.label)}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && minError\">{{'This date is older than the minimum date allowed' | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && maxError\">{{'This date is later than the maximum date allowed' | rpxTranslate}}</span>\n </legend>\n <div class=\"datepicker-container\">\n <input class=\"govuk-input\"\n #input\n attr.aria-label=\"Please enter a date and time in the format | rpxTranslate {{dateTimeEntryFormat}}\"\n [min]=\"minDate(caseField)\"\n [max]=\"maxDate(caseField)\"\n [formControl]=\"dateControl\"\n [ngxMatDatetimePicker]=\"picker\"\n (focusin)=\"focusIn()\"\n (focusout)=\"focusOut()\"\n (dateChange)=\"valueChanged()\"\n ng-model-options=\"{timezone:'utc'}\"\n >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" id=\"pickerOpener\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [color]=\"color\"\n [touchUi]=\"touchUi\"\n [hideTime]=\"hideTime\"\n [startView]=\"startView\"\n [stepHour]=\"stepHour\"\n [stepSecond]=\"stepSecond\"\n [stepMinute]=\"stepMinute\"\n [showSeconds]=\"showSeconds\"\n [showSpinners]=\"showSpinners\"\n [disableMinute]=\"disableMinute\"\n [enableMeridian]=\"enableMeridian\"\n (yearSelected)=\"yearSelected($event)\"\n (monthSelected)=\"monthSelected($event)\"\n (opened)=\"toggleClick()\"\n >\n <ngx-mat-datepicker-actions>\n <button mat-raised-button color=\"primary\" ngxMatDatepickerApply>Confirm</button>\n </ngx-mat-datepicker-actions>\n </ngx-mat-datetime-picker>\n </div>\n </fieldset>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px;background:#fff}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;column-width:20px;text-transform:uppercase}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{padding-top:0;justify-content:flex-start;padding-left:15px}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.526315em 1em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:auto;min-width:96px;white-space:nowrap;overflow:visible;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:16px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.526315em 1em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:auto;min-width:96px;white-space:nowrap;overflow:visible;cursor:pointer}\n"] }]
|
|
35244
|
+
], standalone: false, template: "<div class=\"govuk-form-group bottom-30\" [id]=\"caseField.id\"\n [ngClass]=\"{'form-group-error': dateControl && !dateControl.valid && dateControl.dirty && caseFieldLabel}\">\n <fieldset>\n <legend>\n <span class=\"form-label\" *ngIf=\"caseField.label && caseFieldLabel\">{{(caseField | ccdFieldLabel)}}</span>\n <span class=\"form-label\" *ngIf=\"!caseFieldLabel\">{{caseField.label}}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <ng-container *ngIf=\"caseFieldLabel\">\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.errors && dateControl.dirty && !(minError || maxError)\">{{(dateControl.errors\n | ccdFirstError:caseField.label)}}</span>\n <span class=\"error-message\" *ngIf=\"dateControl && dateControl.dirty && minError\">{{'This date is older than the\n minimum date allowed' | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"dateControl && dateControl.dirty && maxError\">{{'This date is later than the\n maximum date allowed' | rpxTranslate}}</span>\n </ng-container>\n </legend>\n <div class=\"datepicker-container\">\n <input class=\"govuk-input\" #input\n attr.aria-label=\"Please enter a date and time in the format | rpxTranslate {{dateTimeEntryFormat}}\"\n [min]=\"minDate(caseField)\" [max]=\"maxDate(caseField)\" [formControl]=\"dateControl\"\n [ngxMatDatetimePicker]=\"picker\" (focusin)=\"focusIn()\" (focusout)=\"focusOut()\" (dateChange)=\"valueChanged()\"\n ng-model-options=\"{timezone:'utc'}\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\" id=\"pickerOpener\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker [color]=\"color\" [touchUi]=\"touchUi\" [hideTime]=\"hideTime\" [startView]=\"startView\"\n [stepHour]=\"stepHour\" [stepSecond]=\"stepSecond\" [stepMinute]=\"stepMinute\" [showSeconds]=\"showSeconds\"\n [showSpinners]=\"showSpinners\" [disableMinute]=\"disableMinute\" [enableMeridian]=\"enableMeridian\"\n (yearSelected)=\"yearSelected($event)\" (monthSelected)=\"monthSelected($event)\" (opened)=\"toggleClick()\">\n <ngx-mat-datepicker-actions>\n <button mat-raised-button color=\"primary\" ngxMatDatepickerApply>Confirm</button>\n </ngx-mat-datepicker-actions>\n </ngx-mat-datetime-picker>\n </div>\n </fieldset>\n</div>", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px;background:#fff}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;column-width:20px;text-transform:uppercase}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{padding-top:0;justify-content:flex-start;padding-left:15px}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.526315em 1em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:auto;min-width:96px;white-space:nowrap;overflow:visible;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:16px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:.526315em 1em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:auto;min-width:96px;white-space:nowrap;overflow:visible;cursor:pointer}\n"] }]
|
|
35220
35245
|
}], () => [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
|
|
35221
35246
|
type: Inject,
|
|
35222
35247
|
args: [MAT_DATE_FORMATS]
|
|
@@ -35228,6 +35253,10 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35228
35253
|
args: ['input', { static: false }]
|
|
35229
35254
|
}], dateControl: [{
|
|
35230
35255
|
type: Input
|
|
35256
|
+
}], caseFieldLabel: [{
|
|
35257
|
+
type: Input
|
|
35258
|
+
}], dateChange: [{
|
|
35259
|
+
type: Output
|
|
35231
35260
|
}] }); })();
|
|
35232
35261
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatetimePickerComponent, { className: "DatetimePickerComponent", filePath: "lib/shared/components/palette/datetime-picker/datetime-picker.component.ts", lineNumber: 31 }); })();
|
|
35233
35262
|
|
|
@@ -35345,7 +35374,7 @@ class EventLogDetailsComponent {
|
|
|
35345
35374
|
}] }); })();
|
|
35346
35375
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 10 }); })();
|
|
35347
35376
|
|
|
35348
|
-
const _c0$
|
|
35377
|
+
const _c0$k = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35349
35378
|
const _c1$6 = a0 => ["./", "event", a0, "history"];
|
|
35350
35379
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
35351
35380
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -35475,7 +35504,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
35475
35504
|
} if (rf & 2) {
|
|
35476
35505
|
const event_r2 = ctx.$implicit;
|
|
35477
35506
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35478
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
35507
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$k, ctx_r2.selected === event_r2));
|
|
35479
35508
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
35480
35509
|
i0.ɵɵadvance(2);
|
|
35481
35510
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -35672,11 +35701,11 @@ class EventLogComponent {
|
|
|
35672
35701
|
}] }); })();
|
|
35673
35702
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 10 }); })();
|
|
35674
35703
|
|
|
35675
|
-
const _c0$
|
|
35704
|
+
const _c0$j = ["*"];
|
|
35676
35705
|
class RouterLinkComponent {
|
|
35677
35706
|
link;
|
|
35678
35707
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
35679
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], standalone: false, ngContentSelectors: _c0$
|
|
35708
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], standalone: false, ngContentSelectors: _c0$j, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35680
35709
|
i0.ɵɵprojectionDef();
|
|
35681
35710
|
i0.ɵɵelementStart(0, "a", 0);
|
|
35682
35711
|
i0.ɵɵprojection(1);
|
|
@@ -36268,7 +36297,7 @@ class OrderSummary {
|
|
|
36268
36297
|
PaymentTotal;
|
|
36269
36298
|
}
|
|
36270
36299
|
|
|
36271
|
-
const _c0$
|
|
36300
|
+
const _c0$i = ["ccdReadOrderSummaryRow", ""];
|
|
36272
36301
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
36273
36302
|
feeValue;
|
|
36274
36303
|
ngOnInit() {
|
|
@@ -36281,7 +36310,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
36281
36310
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
36282
36311
|
}
|
|
36283
36312
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
36284
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
36313
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$i, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36285
36314
|
i0.ɵɵelementStart(0, "td");
|
|
36286
36315
|
i0.ɵɵtext(1);
|
|
36287
36316
|
i0.ɵɵelementEnd();
|
|
@@ -37377,7 +37406,7 @@ var CaseEditSubmitTitles;
|
|
|
37377
37406
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
37378
37407
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
37379
37408
|
|
|
37380
|
-
const _c0$
|
|
37409
|
+
const _c0$h = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37381
37410
|
const _c1$5 = a0 => ({ "form-group-error": a0 });
|
|
37382
37411
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
37383
37412
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -37500,7 +37529,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
37500
37529
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
37501
37530
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
37502
37531
|
i0.ɵɵadvance();
|
|
37503
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
37532
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$h, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
|
|
37504
37533
|
} }
|
|
37505
37534
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
37506
37535
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -38763,7 +38792,7 @@ class PaginationComponent {
|
|
|
38763
38792
|
}] }); })();
|
|
38764
38793
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 13 }); })();
|
|
38765
38794
|
|
|
38766
|
-
const _c0$
|
|
38795
|
+
const _c0$g = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
38767
38796
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
38768
38797
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
38769
38798
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -39070,7 +39099,7 @@ class CaseListComponent {
|
|
|
39070
39099
|
i0.ɵɵadvance();
|
|
39071
39100
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
39072
39101
|
i0.ɵɵadvance(2);
|
|
39073
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$
|
|
39102
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$g, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
39074
39103
|
i0.ɵɵadvance(2);
|
|
39075
39104
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
39076
39105
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$1.PaginatePipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -39188,6 +39217,161 @@ class CaseListModule {
|
|
|
39188
39217
|
NgxPaginationModule,
|
|
39189
39218
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
39190
39219
|
|
|
39220
|
+
const _c0$f = a0 => ({ "form-group-error": a0 });
|
|
39221
|
+
function DatePickerRangeComponent_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
39222
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
39223
|
+
i0.ɵɵtext(1);
|
|
39224
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39225
|
+
i0.ɵɵelementEnd();
|
|
39226
|
+
} if (rf & 2) {
|
|
39227
|
+
const error_r1 = ctx.$implicit;
|
|
39228
|
+
i0.ɵɵadvance();
|
|
39229
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, error_r1.message));
|
|
39230
|
+
} }
|
|
39231
|
+
/*
|
|
39232
|
+
DatePickerRangeComponent is a reusable component for selecting a date range with "Date From" and "Date To" fields.
|
|
39233
|
+
*/
|
|
39234
|
+
class DatePickerRangeComponent {
|
|
39235
|
+
static DATE_FROM = 'dateFrom';
|
|
39236
|
+
static DATE_TO = 'dateTo';
|
|
39237
|
+
static DATE_RANGE_ERROR = 'dateRange';
|
|
39238
|
+
static DATE_RANGE_ERROR_MESSAGE = 'Date To must be the same as or later than Date From';
|
|
39239
|
+
static INVALID_DATE_ERROR_MESSAGE = 'is not valid. Please provide a valid date';
|
|
39240
|
+
static MIN_DATE_ERROR_MESSAGE = 'is older than the minimum date allowed';
|
|
39241
|
+
static MAX_DATE_ERROR_MESSAGE = 'is later than the maximum date allowed';
|
|
39242
|
+
formGroup = new FormGroup({});
|
|
39243
|
+
validationErrors = new EventEmitter();
|
|
39244
|
+
dateRangeErrors = [];
|
|
39245
|
+
// Create datetime picker fields for "Date From" and "Date To"
|
|
39246
|
+
dateFromField = FieldsUtils.convertToCaseField({
|
|
39247
|
+
id: DatePickerRangeComponent.DATE_FROM,
|
|
39248
|
+
label: 'Date From',
|
|
39249
|
+
display_context: 'OPTIONAL',
|
|
39250
|
+
display_context_parameter: '#DATETIMEENTRY(DD/MM/YYYY)',
|
|
39251
|
+
field_type: { id: 'DateTime', type: 'DateTime' }
|
|
39252
|
+
});
|
|
39253
|
+
dateToField = FieldsUtils.convertToCaseField({
|
|
39254
|
+
id: DatePickerRangeComponent.DATE_TO,
|
|
39255
|
+
label: 'Date To',
|
|
39256
|
+
display_context: 'OPTIONAL',
|
|
39257
|
+
display_context_parameter: '#DATETIMEENTRY(DD/MM/YYYY)',
|
|
39258
|
+
field_type: { id: 'DateTime', type: 'DateTime' }
|
|
39259
|
+
});
|
|
39260
|
+
// From parent component, determine if a control is part of the date range
|
|
39261
|
+
static isRangeControl(controlName) {
|
|
39262
|
+
return controlName === DatePickerRangeComponent.DATE_FROM || controlName === DatePickerRangeComponent.DATE_TO;
|
|
39263
|
+
}
|
|
39264
|
+
// Set range as minimum and maximum times for the date range controls
|
|
39265
|
+
// Will be overridden by elasticsearch settings but provides default behaviour for other use cases
|
|
39266
|
+
normaliseDateRange() {
|
|
39267
|
+
this.setDateRangeTime(DatePickerRangeComponent.DATE_FROM, 0, 0);
|
|
39268
|
+
this.setDateRangeTime(DatePickerRangeComponent.DATE_TO, 23, 59);
|
|
39269
|
+
}
|
|
39270
|
+
// Reset the date range controls
|
|
39271
|
+
reset() {
|
|
39272
|
+
this.formGroup.get(DatePickerRangeComponent.DATE_FROM)?.reset();
|
|
39273
|
+
this.formGroup.get(DatePickerRangeComponent.DATE_TO)?.reset();
|
|
39274
|
+
this.validateDateRange();
|
|
39275
|
+
}
|
|
39276
|
+
// Confirm that the range of the datetime pickers are valid
|
|
39277
|
+
validateDateRange() {
|
|
39278
|
+
const dateFrom = this.formGroup.get(DatePickerRangeComponent.DATE_FROM);
|
|
39279
|
+
const dateTo = this.formGroup.get(DatePickerRangeComponent.DATE_TO);
|
|
39280
|
+
const isInvalidRange = dateFrom?.valid && dateTo?.valid && this.isValidDate(dateFrom) && this.isValidDate(dateTo)
|
|
39281
|
+
&& moment(dateTo.value).isBefore(moment(dateFrom.value));
|
|
39282
|
+
this.setFormGroupRangeError(isInvalidRange);
|
|
39283
|
+
// Get any validation errors for the individual date controls
|
|
39284
|
+
const errors = [
|
|
39285
|
+
this.getControlValidationError(DatePickerRangeComponent.DATE_FROM, this.dateFromField.label),
|
|
39286
|
+
this.getControlValidationError(DatePickerRangeComponent.DATE_TO, this.dateToField.label)
|
|
39287
|
+
].filter((error) => Boolean(error));
|
|
39288
|
+
// if date range invalid, add a validation error for the "Date To" field
|
|
39289
|
+
if (isInvalidRange) {
|
|
39290
|
+
errors.push({
|
|
39291
|
+
id: DatePickerRangeComponent.DATE_TO,
|
|
39292
|
+
message: DatePickerRangeComponent.DATE_RANGE_ERROR_MESSAGE
|
|
39293
|
+
});
|
|
39294
|
+
}
|
|
39295
|
+
this.dateRangeErrors = errors;
|
|
39296
|
+
this.validationErrors.emit(errors);
|
|
39297
|
+
return errors;
|
|
39298
|
+
}
|
|
39299
|
+
setDateRangeTime(controlName, hour, minute) {
|
|
39300
|
+
const control = this.formGroup.get(controlName);
|
|
39301
|
+
if (control?.value) {
|
|
39302
|
+
const date = moment(control.value);
|
|
39303
|
+
if (date.isValid()) {
|
|
39304
|
+
control.setValue(date.hour(hour).minute(minute).second(0).millisecond(0).format('YYYY-MM-DDTHH:mm:ss.SSS'));
|
|
39305
|
+
}
|
|
39306
|
+
}
|
|
39307
|
+
}
|
|
39308
|
+
isValidDate(control) {
|
|
39309
|
+
return Boolean(control?.value) && moment(control.value, moment.ISO_8601, true).isValid();
|
|
39310
|
+
}
|
|
39311
|
+
getControlValidationError(controlName, label) {
|
|
39312
|
+
const control = this.formGroup.get(controlName);
|
|
39313
|
+
if (!control) {
|
|
39314
|
+
return null;
|
|
39315
|
+
}
|
|
39316
|
+
let message;
|
|
39317
|
+
if (control.hasError('matDatetimePickerMin')) {
|
|
39318
|
+
message = `${label} ${DatePickerRangeComponent.MIN_DATE_ERROR_MESSAGE}`;
|
|
39319
|
+
}
|
|
39320
|
+
else if (control.hasError('matDatetimePickerMax')) {
|
|
39321
|
+
message = `${label} ${DatePickerRangeComponent.MAX_DATE_ERROR_MESSAGE}`;
|
|
39322
|
+
}
|
|
39323
|
+
else if (control.hasError('matDatetimePickerParse')
|
|
39324
|
+
|| (control.value && !moment(control.value, moment.ISO_8601, true).isValid())) {
|
|
39325
|
+
message = `${label} ${DatePickerRangeComponent.INVALID_DATE_ERROR_MESSAGE}`;
|
|
39326
|
+
}
|
|
39327
|
+
else {
|
|
39328
|
+
return null;
|
|
39329
|
+
}
|
|
39330
|
+
return { id: controlName, message };
|
|
39331
|
+
}
|
|
39332
|
+
setFormGroupRangeError(isInvalidRange) {
|
|
39333
|
+
const errors = { ...this.formGroup.errors };
|
|
39334
|
+
if (isInvalidRange) {
|
|
39335
|
+
errors[DatePickerRangeComponent.DATE_RANGE_ERROR] = DatePickerRangeComponent.DATE_RANGE_ERROR_MESSAGE;
|
|
39336
|
+
}
|
|
39337
|
+
else {
|
|
39338
|
+
delete errors[DatePickerRangeComponent.DATE_RANGE_ERROR];
|
|
39339
|
+
}
|
|
39340
|
+
this.formGroup.setErrors(Object.keys(errors).length ? errors : null);
|
|
39341
|
+
}
|
|
39342
|
+
static ɵfac = function DatePickerRangeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePickerRangeComponent)(); };
|
|
39343
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatePickerRangeComponent, selectors: [["ccd-date-picker-range"]], inputs: { formGroup: "formGroup" }, outputs: { validationErrors: "validationErrors" }, standalone: false, decls: 7, vars: 10, consts: [[1, "form-group", 3, "ngClass"], ["class", "error-message", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "date-range"], [3, "dateChange", "caseField", "formGroup", "caseFieldLabel"], [1, "error-message"]], template: function DatePickerRangeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39344
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
39345
|
+
i0.ɵɵtemplate(1, DatePickerRangeComponent_span_1_Template, 3, 3, "span", 1);
|
|
39346
|
+
i0.ɵɵelementStart(2, "span", 2);
|
|
39347
|
+
i0.ɵɵtext(3, "Last Modified Date:");
|
|
39348
|
+
i0.ɵɵelementEnd();
|
|
39349
|
+
i0.ɵɵelementStart(4, "div", 3)(5, "ccd-datetime-picker", 4);
|
|
39350
|
+
i0.ɵɵlistener("dateChange", function DatePickerRangeComponent_Template_ccd_datetime_picker_dateChange_5_listener() { return ctx.validateDateRange(); });
|
|
39351
|
+
i0.ɵɵelementEnd();
|
|
39352
|
+
i0.ɵɵelementStart(6, "ccd-datetime-picker", 4);
|
|
39353
|
+
i0.ɵɵlistener("dateChange", function DatePickerRangeComponent_Template_ccd_datetime_picker_dateChange_6_listener() { return ctx.validateDateRange(); });
|
|
39354
|
+
i0.ɵɵelementEnd()()();
|
|
39355
|
+
} if (rf & 2) {
|
|
39356
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$f, ctx.dateRangeErrors.length));
|
|
39357
|
+
i0.ɵɵadvance();
|
|
39358
|
+
i0.ɵɵproperty("ngForOf", ctx.dateRangeErrors);
|
|
39359
|
+
i0.ɵɵadvance(4);
|
|
39360
|
+
i0.ɵɵproperty("caseField", ctx.dateFromField)("formGroup", ctx.formGroup)("caseFieldLabel", false);
|
|
39361
|
+
i0.ɵɵadvance();
|
|
39362
|
+
i0.ɵɵproperty("caseField", ctx.dateToField)("formGroup", ctx.formGroup)("caseFieldLabel", false);
|
|
39363
|
+
} }, styles: [".date-range[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.date-range[_ngcontent-%COMP%] ccd-datetime-picker[_ngcontent-%COMP%]{min-width:0;width:100%}.form-group-error[_ngcontent-%COMP%]{padding-left:10px;padding-bottom:10px;margin-bottom:20px}[_nghost-%COMP%] .date-range ccd-datetime-picker .govuk-form-group, [_nghost-%COMP%] .date-range ccd-datetime-picker fieldset, [_nghost-%COMP%] .date-range ccd-datetime-picker .datepicker-container, [_nghost-%COMP%] .date-range ccd-datetime-picker .datepicker-container .govuk-input{box-sizing:border-box;min-width:0;width:100%}"] });
|
|
39364
|
+
}
|
|
39365
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatePickerRangeComponent, [{
|
|
39366
|
+
type: Component,
|
|
39367
|
+
args: [{ selector: 'ccd-date-picker-range', standalone: false, template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error': dateRangeErrors.length}\">\n <span class=\"error-message\" *ngFor=\"let error of dateRangeErrors\">{{error.message | rpxTranslate}}</span>\n <span class=\"form-label\">Last Modified Date:</span>\n <div class=\"date-range\">\n <ccd-datetime-picker [caseField]=\"dateFromField\" [formGroup]=\"formGroup\" [caseFieldLabel]=\"false\"\n (dateChange)=\"validateDateRange()\">\n </ccd-datetime-picker>\n <ccd-datetime-picker [caseField]=\"dateToField\" [formGroup]=\"formGroup\" [caseFieldLabel]=\"false\"\n (dateChange)=\"validateDateRange()\">\n </ccd-datetime-picker>\n </div>\n</div>\n", styles: [".date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.date-range ccd-datetime-picker{min-width:0;width:100%}.form-group-error{padding-left:10px;padding-bottom:10px;margin-bottom:20px}:host ::ng-deep .date-range ccd-datetime-picker .govuk-form-group,:host ::ng-deep .date-range ccd-datetime-picker fieldset,:host ::ng-deep .date-range ccd-datetime-picker .datepicker-container,:host ::ng-deep .date-range ccd-datetime-picker .datepicker-container .govuk-input{box-sizing:border-box;min-width:0;width:100%}\n"] }]
|
|
39368
|
+
}], null, { formGroup: [{
|
|
39369
|
+
type: Input
|
|
39370
|
+
}], validationErrors: [{
|
|
39371
|
+
type: Output
|
|
39372
|
+
}] }); })();
|
|
39373
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePickerRangeComponent, { className: "DatePickerRangeComponent", filePath: "lib/shared/components/palette/datetime-picker-range/date-picker-range.component.ts", lineNumber: 17 }); })();
|
|
39374
|
+
|
|
39191
39375
|
const _c0$e = ["trigger"];
|
|
39192
39376
|
const _c1$4 = ["optionsPanel"];
|
|
39193
39377
|
function CaseStateMultiSelectComponent_div_16_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -39418,7 +39602,7 @@ class CaseStateMultiSelectComponent {
|
|
|
39418
39602
|
|
|
39419
39603
|
const _c0$d = () => [];
|
|
39420
39604
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
39421
|
-
i0.ɵɵelementStart(0, "option",
|
|
39605
|
+
i0.ɵɵelementStart(0, "option", 17);
|
|
39422
39606
|
i0.ɵɵtext(1);
|
|
39423
39607
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39424
39608
|
i0.ɵɵelementEnd();
|
|
@@ -39428,7 +39612,7 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
39428
39612
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39429
39613
|
} }
|
|
39430
39614
|
function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
39431
|
-
i0.ɵɵelementStart(0, "option",
|
|
39615
|
+
i0.ɵɵelementStart(0, "option", 17);
|
|
39432
39616
|
i0.ɵɵtext(1);
|
|
39433
39617
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39434
39618
|
i0.ɵɵelementEnd();
|
|
@@ -39439,7 +39623,7 @@ function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
39439
39623
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
39440
39624
|
} }
|
|
39441
39625
|
function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
39442
|
-
i0.ɵɵelementStart(0, "option",
|
|
39626
|
+
i0.ɵɵelementStart(0, "option", 17);
|
|
39443
39627
|
i0.ɵɵtext(1);
|
|
39444
39628
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39445
39629
|
i0.ɵɵelementEnd();
|
|
@@ -39449,7 +39633,7 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
39449
39633
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39450
39634
|
} }
|
|
39451
39635
|
function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
39452
|
-
i0.ɵɵelementStart(0, "option",
|
|
39636
|
+
i0.ɵɵelementStart(0, "option", 17);
|
|
39453
39637
|
i0.ɵɵtext(1);
|
|
39454
39638
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39455
39639
|
i0.ɵɵelementEnd();
|
|
@@ -39461,7 +39645,7 @@ function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
39461
39645
|
} }
|
|
39462
39646
|
function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39463
39647
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
39464
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write",
|
|
39648
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 21);
|
|
39465
39649
|
i0.ɵɵlistener("keyup.enter", function WorkbasketFiltersComponent_ng_container_35_div_2_Template_ccd_field_write_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.apply(null)); });
|
|
39466
39650
|
i0.ɵɵelementEnd()();
|
|
39467
39651
|
} if (rf & 2) {
|
|
@@ -39471,9 +39655,9 @@ function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if
|
|
|
39471
39655
|
i0.ɵɵproperty("caseField", workbasketInput_r5.field)("formGroup", ctx_r3.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
39472
39656
|
} }
|
|
39473
39657
|
function WorkbasketFiltersComponent_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
39474
|
-
i0.ɵɵelementContainerStart(0,
|
|
39475
|
-
i0.ɵɵelementStart(1, "div",
|
|
39476
|
-
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div",
|
|
39658
|
+
i0.ɵɵelementContainerStart(0, 18);
|
|
39659
|
+
i0.ɵɵelementStart(1, "div", 19);
|
|
39660
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div", 20);
|
|
39477
39661
|
i0.ɵɵelementEnd();
|
|
39478
39662
|
i0.ɵɵelementContainerEnd();
|
|
39479
39663
|
} if (rf & 2) {
|
|
@@ -39496,11 +39680,14 @@ class WorkbasketFiltersComponent {
|
|
|
39496
39680
|
static PARAM_CASE_TYPE = 'case-type';
|
|
39497
39681
|
static PARAM_CASE_STATE = 'case-state';
|
|
39498
39682
|
logger = new StructuredLoggerService();
|
|
39683
|
+
storedDateRange;
|
|
39499
39684
|
caseFields;
|
|
39685
|
+
datePickerRange;
|
|
39500
39686
|
jurisdictions;
|
|
39501
39687
|
defaults;
|
|
39502
39688
|
onApply = new EventEmitter();
|
|
39503
39689
|
onReset = new EventEmitter();
|
|
39690
|
+
validationErrors = new EventEmitter();
|
|
39504
39691
|
workbasketInputs;
|
|
39505
39692
|
workbasketInputsReady;
|
|
39506
39693
|
workbasketDefaults;
|
|
@@ -39558,6 +39745,16 @@ class WorkbasketFiltersComponent {
|
|
|
39558
39745
|
}
|
|
39559
39746
|
});
|
|
39560
39747
|
}
|
|
39748
|
+
// Need this to set the date range in the form group after the view has initialized
|
|
39749
|
+
// Otherwise does not appear
|
|
39750
|
+
ngAfterViewInit() {
|
|
39751
|
+
if (this.storedDateRange) {
|
|
39752
|
+
this.formGroup.patchValue({
|
|
39753
|
+
dateFrom: this.storedDateRange[0],
|
|
39754
|
+
dateTo: this.storedDateRange[1]
|
|
39755
|
+
});
|
|
39756
|
+
}
|
|
39757
|
+
}
|
|
39561
39758
|
apply(init) {
|
|
39562
39759
|
// Save filters as query parameters for current route
|
|
39563
39760
|
const queryParams = {};
|
|
@@ -39578,17 +39775,19 @@ class WorkbasketFiltersComponent {
|
|
|
39578
39775
|
}
|
|
39579
39776
|
if (Object.keys(this.formGroup.controls).length === 0) {
|
|
39580
39777
|
const storedFormGroup = safeJsonParse(this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE), null);
|
|
39778
|
+
this.storedDateRange = [storedFormGroup?.dateFrom, storedFormGroup?.dateTo];
|
|
39581
39779
|
this.selected.formGroup = storedFormGroup && Object.keys(storedFormGroup).length > 0 ? storedFormGroup : null;
|
|
39582
39780
|
}
|
|
39583
39781
|
else {
|
|
39584
39782
|
// Update form group filters
|
|
39585
39783
|
this.updateFormGroupFilters();
|
|
39784
|
+
this.datePickerRange?.normaliseDateRange();
|
|
39586
39785
|
this.selected.formGroup = this.formGroup;
|
|
39587
39786
|
}
|
|
39588
39787
|
this.selected.init = init;
|
|
39589
39788
|
this.selected.page = 1;
|
|
39590
39789
|
this.selected.metadataFields = this.getMetadataFields();
|
|
39591
|
-
if (init) {
|
|
39790
|
+
if (init && !this.datePickerRange?.dateRangeErrors?.length) {
|
|
39592
39791
|
this.windowService.setLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE, JSON.stringify(queryParams));
|
|
39593
39792
|
if (Object.keys(this.formGroup.controls).length > 0) {
|
|
39594
39793
|
// Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
|
|
@@ -39612,11 +39811,17 @@ class WorkbasketFiltersComponent {
|
|
|
39612
39811
|
reset() {
|
|
39613
39812
|
this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
|
|
39614
39813
|
this.windowService.removeLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
|
|
39814
|
+
this.datePickerRange?.reset();
|
|
39615
39815
|
setTimeout(() => {
|
|
39616
39816
|
this.resetFieldsWhenNoDefaults();
|
|
39617
39817
|
this.onReset.emit(true);
|
|
39618
39818
|
}, 500);
|
|
39619
39819
|
}
|
|
39820
|
+
// Date range validation errors handler
|
|
39821
|
+
// Currently the only validation errors present
|
|
39822
|
+
onDateRangeValidationErrors(errors) {
|
|
39823
|
+
this.validationErrors.emit(errors);
|
|
39824
|
+
}
|
|
39620
39825
|
getMetadataFields() {
|
|
39621
39826
|
if (this.workbasketInputs) {
|
|
39622
39827
|
return this.workbasketInputs
|
|
@@ -39655,7 +39860,7 @@ class WorkbasketFiltersComponent {
|
|
|
39655
39860
|
if (this.selected.caseType) {
|
|
39656
39861
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39657
39862
|
this.selected.caseState = [];
|
|
39658
|
-
this.
|
|
39863
|
+
this.clearDynamicFormControls();
|
|
39659
39864
|
this.clearWorkbasketInputs();
|
|
39660
39865
|
if (!this.isApplyButtonDisabled()) {
|
|
39661
39866
|
this.workbasketInputFilterService.getWorkbasketInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(take(1)).subscribe(workbasketInputs => {
|
|
@@ -39826,8 +40031,19 @@ class WorkbasketFiltersComponent {
|
|
|
39826
40031
|
this.caseFields = this.workbasketInputs.map(item => FieldsUtils.convertToCaseField(item.field));
|
|
39827
40032
|
}
|
|
39828
40033
|
}
|
|
40034
|
+
// clear the dynamic date range filter
|
|
40035
|
+
clearDynamicFormControls() {
|
|
40036
|
+
Object.keys(this.formGroup.controls)
|
|
40037
|
+
.filter((controlName) => !DatePickerRangeComponent.isRangeControl(controlName))
|
|
40038
|
+
.forEach((controlName) => this.formGroup.removeControl(controlName));
|
|
40039
|
+
}
|
|
39829
40040
|
static ɵfac = function WorkbasketFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(WorkbasketInputFilterService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
39830
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]],
|
|
40041
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], viewQuery: function WorkbasketFiltersComponent_Query(rf, ctx) { if (rf & 1) {
|
|
40042
|
+
i0.ɵɵviewQuery(DatePickerRangeComponent, 5);
|
|
40043
|
+
} if (rf & 2) {
|
|
40044
|
+
let _t;
|
|
40045
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePickerRange = _t.first);
|
|
40046
|
+
} }, inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset", validationErrors: "validationErrors" }, standalone: false, decls: 42, vars: 54, consts: [["id", "filters", 1, "global-display"], [1, "form-group", "flex"], [1, "heading-h2"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "click", "disabled", "title"], ["type", "button", 1, "button", "button-secondary", 3, "click", "title"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel", "disabled"], ["for", "wb-case-state", 1, "form-label"], [3, "selectedStatesChange", "states", "selectedStates", "disabled"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], [3, "validationErrors", "formGroup"], ["type", "button", 1, "button", 3, "click", "title"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded", "isInSearchBlock"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39831
40047
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "h2", 2);
|
|
39832
40048
|
i0.ɵɵtext(3);
|
|
39833
40049
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39873,28 +40089,31 @@ class WorkbasketFiltersComponent {
|
|
|
39873
40089
|
i0.ɵɵlistener("selectedStatesChange", function WorkbasketFiltersComponent_Template_ccd_case_state_multi_select_selectedStatesChange_34_listener($event) { return ctx.selected.caseState = $event; });
|
|
39874
40090
|
i0.ɵɵelementEnd()();
|
|
39875
40091
|
i0.ɵɵtemplate(35, WorkbasketFiltersComponent_ng_container_35_Template, 3, 3, "ng-container", 14);
|
|
39876
|
-
i0.ɵɵelementStart(36, "
|
|
39877
|
-
i0.ɵɵ
|
|
40092
|
+
i0.ɵɵelementStart(36, "ccd-date-picker-range", 15);
|
|
40093
|
+
i0.ɵɵlistener("validationErrors", function WorkbasketFiltersComponent_Template_ccd_date_picker_range_validationErrors_36_listener($event) { return ctx.onDateRangeValidationErrors($event); });
|
|
40094
|
+
i0.ɵɵelementEnd();
|
|
40095
|
+
i0.ɵɵelementStart(37, "button", 16);
|
|
39878
40096
|
i0.ɵɵpipe(38, "rpxTranslate");
|
|
39879
|
-
i0.ɵɵ
|
|
39880
|
-
i0.ɵɵ
|
|
39881
|
-
i0.ɵɵ
|
|
40097
|
+
i0.ɵɵpipe(39, "rpxTranslate");
|
|
40098
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_37_listener() { return ctx.scrollToTop(); });
|
|
40099
|
+
i0.ɵɵtext(40);
|
|
40100
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
39882
40101
|
i0.ɵɵelementEnd()();
|
|
39883
40102
|
} if (rf & 2) {
|
|
39884
40103
|
i0.ɵɵadvance(3);
|
|
39885
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
40104
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 26, "Filters"));
|
|
39886
40105
|
i0.ɵɵadvance(2);
|
|
39887
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39888
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7,
|
|
40106
|
+
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6, 28, "Apply filter"));
|
|
40107
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7, 30, "Apply filter"));
|
|
39889
40108
|
i0.ɵɵadvance(3);
|
|
39890
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
40109
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 32, "Apply"), " ");
|
|
39891
40110
|
i0.ɵɵadvance(3);
|
|
39892
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39893
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13,
|
|
40111
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12, 34, "Reset filter"));
|
|
40112
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13, 36, "Reset filter"));
|
|
39894
40113
|
i0.ɵɵadvance(3);
|
|
39895
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
40114
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 38, "Reset"), " ");
|
|
39896
40115
|
i0.ɵɵadvance(4);
|
|
39897
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
40116
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 40, "Jurisdiction"));
|
|
39898
40117
|
i0.ɵɵadvance(2);
|
|
39899
40118
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39900
40119
|
i0.ɵɵadvance();
|
|
@@ -39902,7 +40121,7 @@ class WorkbasketFiltersComponent {
|
|
|
39902
40121
|
i0.ɵɵadvance();
|
|
39903
40122
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39904
40123
|
i0.ɵɵadvance(3);
|
|
39905
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
40124
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 42, "Case type"));
|
|
39906
40125
|
i0.ɵɵadvance(2);
|
|
39907
40126
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39908
40127
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39911,22 +40130,27 @@ class WorkbasketFiltersComponent {
|
|
|
39911
40130
|
i0.ɵɵadvance();
|
|
39912
40131
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39913
40132
|
i0.ɵɵadvance(3);
|
|
39914
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
40133
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 44, "State"));
|
|
39915
40134
|
i0.ɵɵadvance(2);
|
|
39916
|
-
i0.ɵɵproperty("states", ctx.selectedCaseTypeStates || i0.ɵɵpureFunction0(
|
|
40135
|
+
i0.ɵɵproperty("states", ctx.selectedCaseTypeStates || i0.ɵɵpureFunction0(52, _c0$d))("selectedStates", ctx.selected.caseState || i0.ɵɵpureFunction0(53, _c0$d))("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39917
40136
|
i0.ɵɵadvance();
|
|
39918
40137
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39919
40138
|
i0.ɵɵadvance();
|
|
39920
|
-
i0.ɵɵproperty("
|
|
39921
|
-
i0.ɵɵ
|
|
40139
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
40140
|
+
i0.ɵɵadvance();
|
|
40141
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(38, 46, "Back to top"));
|
|
40142
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(39, 48, "Back to top"));
|
|
39922
40143
|
i0.ɵɵadvance(3);
|
|
39923
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
40144
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(41, 50, "Back to top"), " ");
|
|
39924
40145
|
} }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}div[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:11pt;line-height:1.2727272727}@media(min-width:641px){div[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:12pt;line-height:1.3333333333}}@media print{div[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:10pt}}.form-group[_ngcontent-%COMP%]{margin-bottom:7px}.form-group.flex[_ngcontent-%COMP%]{display:flex;align-items:baseline}.form-group.flex[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{flex:1 1 auto;margin-bottom:0}.form-group.flex[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:.25rem}.ccd-dropdown[_ngcontent-%COMP%]{width:100%}span.heading-medium[_ngcontent-%COMP%]{margin-top:0}"] });
|
|
39925
40146
|
}
|
|
39926
40147
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39927
40148
|
type: Component,
|
|
39928
|
-
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <h2 class=\"heading-h2\">{{'Filters' | rpxTranslate }}</h2>\n <button type=\"button\" class=\"button workbasket-filters-apply\" (click)=\"apply(true)\" [disabled]=\"isApplyButtonDisabled()\"\n [title]=\"'Apply filter' | rpxTranslate\" [attr.aria-label]=\"'Apply filter' | rpxTranslate\">\n {{'Apply' | rpxTranslate}}\n </button> \n <button type=\"button\" (click)=\"reset()\" class=\"button button-secondary\"\n [title]=\"'Reset filter' | rpxTranslate\" [attr.aria-label]=\"'Reset filter' | rpxTranslate\">\n {{'Reset' | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-jurisdiction\">{{'Jurisdiction' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-jurisdiction\"\n name=\"jurisdiction\" [(ngModel)]=\"selected.jurisdiction\" aria-controls=\"search-result\"\n (change)=\"onJurisdictionIdChange()\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let j of jurisdictions\" [ngValue]=\"j\">{{j.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-type\">{{'Case type' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-type\"\n name=\"case-type\" [(ngModel)]=\"selected.caseType\" [disabled]=\"isCaseTypesDropdownDisabled()\"\n (change)=\"onCaseTypeIdChange()\" aria-controls=\"search-result\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let ct of selectedJurisdictionCaseTypes\" [ngValue]=\"ct\">{{ct.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-state\">{{'State' | rpxTranslate}}</label>\n <ccd-case-state-multi-select\n [states]=\"selectedCaseTypeStates || []\"\n [selectedStates]=\"selected.caseState || []\"\n [disabled]=\"isCaseStatesDropdownDisabled()\"\n (selectedStatesChange)=\"selected.caseState = $event\">\n </ccd-case-state-multi-select>\n </div>\n\n <ng-container ccdConditionalShowForm *ngIf=\"isSearchableAndWorkbasketInputsReady()\" [formGroup]=\"formGroup\" [contextFields]=\"caseFields\">\n <div id=\"dynamicFilters\">\n <div class=\"form-group\" *ngFor=\"let workbasketInput of workbasketInputs\">\n <ccd-field-write [caseField]=\"workbasketInput.field\" [formGroup]=\"formGroup\" [isExpanded]=\"true\" [isInSearchBlock]=\"true\" (keyup.enter)=\"apply(null)\">\n </ccd-field-write>\n </div>\n </div>\n </ng-container>\n\n
|
|
39929
|
-
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], {
|
|
40149
|
+
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <h2 class=\"heading-h2\">{{'Filters' | rpxTranslate }}</h2>\n <button type=\"button\" class=\"button workbasket-filters-apply\" (click)=\"apply(true)\" [disabled]=\"isApplyButtonDisabled()\"\n [title]=\"'Apply filter' | rpxTranslate\" [attr.aria-label]=\"'Apply filter' | rpxTranslate\">\n {{'Apply' | rpxTranslate}}\n </button> \n <button type=\"button\" (click)=\"reset()\" class=\"button button-secondary\"\n [title]=\"'Reset filter' | rpxTranslate\" [attr.aria-label]=\"'Reset filter' | rpxTranslate\">\n {{'Reset' | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-jurisdiction\">{{'Jurisdiction' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-jurisdiction\"\n name=\"jurisdiction\" [(ngModel)]=\"selected.jurisdiction\" aria-controls=\"search-result\"\n (change)=\"onJurisdictionIdChange()\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let j of jurisdictions\" [ngValue]=\"j\">{{j.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-type\">{{'Case type' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-type\"\n name=\"case-type\" [(ngModel)]=\"selected.caseType\" [disabled]=\"isCaseTypesDropdownDisabled()\"\n (change)=\"onCaseTypeIdChange()\" aria-controls=\"search-result\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let ct of selectedJurisdictionCaseTypes\" [ngValue]=\"ct\">{{ct.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-state\">{{'State' | rpxTranslate}}</label>\n <ccd-case-state-multi-select\n [states]=\"selectedCaseTypeStates || []\"\n [selectedStates]=\"selected.caseState || []\"\n [disabled]=\"isCaseStatesDropdownDisabled()\"\n (selectedStatesChange)=\"selected.caseState = $event\">\n </ccd-case-state-multi-select>\n </div>\n\n <ng-container ccdConditionalShowForm *ngIf=\"isSearchableAndWorkbasketInputsReady()\" [formGroup]=\"formGroup\" [contextFields]=\"caseFields\">\n <div id=\"dynamicFilters\">\n <div class=\"form-group\" *ngFor=\"let workbasketInput of workbasketInputs\">\n <ccd-field-write [caseField]=\"workbasketInput.field\" [formGroup]=\"formGroup\" [isExpanded]=\"true\" [isInSearchBlock]=\"true\" (keyup.enter)=\"apply(null)\">\n </ccd-field-write>\n </div>\n </div>\n </ng-container>\n\n <ccd-date-picker-range [formGroup]=\"formGroup\"\n (validationErrors)=\"onDateRangeValidationErrors($event)\"></ccd-date-picker-range>\n\n <button type=\"button\" class=\"button\" (click)=\"scrollToTop()\"\n [title]=\"'Back to top' | rpxTranslate\" [attr.aria-label]=\"'Back to top' | rpxTranslate\">{{'Back to top' | rpxTranslate}}\n </button>\n</form>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}div select{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:11pt;line-height:1.2727272727}@media(min-width:641px){div select{font-size:12pt;line-height:1.3333333333}}@media print{div select{font-size:10pt}}.form-group{margin-bottom:7px}.form-group.flex{display:flex;align-items:baseline}.form-group.flex h2{flex:1 1 auto;margin-bottom:0}.form-group.flex button{margin:.25rem}.ccd-dropdown{width:100%}span.heading-medium{margin-top:0}\n"] }]
|
|
40150
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { datePickerRange: [{
|
|
40151
|
+
type: ViewChild,
|
|
40152
|
+
args: [DatePickerRangeComponent]
|
|
40153
|
+
}], jurisdictions: [{
|
|
39930
40154
|
type: Input
|
|
39931
40155
|
}], defaults: [{
|
|
39932
40156
|
type: Input
|
|
@@ -39934,8 +40158,10 @@ class WorkbasketFiltersComponent {
|
|
|
39934
40158
|
type: Output
|
|
39935
40159
|
}], onReset: [{
|
|
39936
40160
|
type: Output
|
|
40161
|
+
}], validationErrors: [{
|
|
40162
|
+
type: Output
|
|
39937
40163
|
}] }); })();
|
|
39938
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber:
|
|
40164
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 31 }); })();
|
|
39939
40165
|
|
|
39940
40166
|
class WorkbasketFiltersModule {
|
|
39941
40167
|
static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
|
|
@@ -39965,10 +40191,12 @@ class WorkbasketFiltersModule {
|
|
|
39965
40191
|
RpxTranslationModule.forChild()
|
|
39966
40192
|
],
|
|
39967
40193
|
declarations: [
|
|
40194
|
+
DatePickerRangeComponent,
|
|
39968
40195
|
CaseStateMultiSelectComponent,
|
|
39969
40196
|
WorkbasketFiltersComponent,
|
|
39970
40197
|
],
|
|
39971
40198
|
exports: [
|
|
40199
|
+
DatePickerRangeComponent,
|
|
39972
40200
|
CaseStateMultiSelectComponent,
|
|
39973
40201
|
WorkbasketFiltersComponent,
|
|
39974
40202
|
],
|
|
@@ -39981,14 +40209,18 @@ class WorkbasketFiltersModule {
|
|
|
39981
40209
|
]
|
|
39982
40210
|
}]
|
|
39983
40211
|
}], null, null); })();
|
|
39984
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
40212
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [DatePickerRangeComponent,
|
|
40213
|
+
CaseStateMultiSelectComponent,
|
|
39985
40214
|
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39986
40215
|
FormsModule,
|
|
39987
40216
|
ReactiveFormsModule,
|
|
39988
40217
|
PaletteModule,
|
|
39989
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
40218
|
+
ConditionalShowModule, i1.RpxTranslationModule], exports: [DatePickerRangeComponent,
|
|
40219
|
+
CaseStateMultiSelectComponent,
|
|
39990
40220
|
WorkbasketFiltersComponent] }); })();
|
|
39991
|
-
i0.ɵɵsetComponentScope(
|
|
40221
|
+
i0.ɵɵsetComponentScope(DatePickerRangeComponent, function () { return [i5.NgClass, i5.NgForOf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
40222
|
+
i0.ɵɵsetComponentScope(WorkbasketFiltersComponent, function () { return [i5.NgForOf, i5.NgIf, i4.ɵNgNoValidate, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.NgModel, i4.NgForm, i4.FormGroupDirective, FieldWriteComponent, ConditionalShowFormDirective, DatePickerRangeComponent,
|
|
40223
|
+
CaseStateMultiSelectComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
39992
40224
|
|
|
39993
40225
|
const READ_ACCESS = 'read';
|
|
39994
40226
|
const CREATE_ACCESS = 'create';
|
|
@@ -39997,7 +40229,7 @@ const UPDATE_ACCESS = 'update';
|
|
|
39997
40229
|
function CaseListFiltersComponent_ccd_workbasket_filters_0_Template(rf, ctx) { if (rf & 1) {
|
|
39998
40230
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
39999
40231
|
i0.ɵɵelementStart(0, "ccd-workbasket-filters", 1);
|
|
40000
|
-
i0.ɵɵlistener("onApply", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onApply_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWrapperApply($event)); })("onReset", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onReset_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWrapperReset($event)); });
|
|
40232
|
+
i0.ɵɵlistener("onApply", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onApply_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWrapperApply($event)); })("onReset", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onReset_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWrapperReset($event)); })("validationErrors", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_validationErrors_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onWrapperValidationErrors($event)); });
|
|
40001
40233
|
i0.ɵɵelementEnd();
|
|
40002
40234
|
} if (rf & 2) {
|
|
40003
40235
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -40008,6 +40240,7 @@ class CaseListFiltersComponent {
|
|
|
40008
40240
|
defaults;
|
|
40009
40241
|
onApply = new EventEmitter();
|
|
40010
40242
|
onReset = new EventEmitter();
|
|
40243
|
+
validationErrors = new EventEmitter();
|
|
40011
40244
|
jurisdictions;
|
|
40012
40245
|
isVisible;
|
|
40013
40246
|
constructor(definitionsService) {
|
|
@@ -40027,8 +40260,11 @@ class CaseListFiltersComponent {
|
|
|
40027
40260
|
onWrapperReset(value) {
|
|
40028
40261
|
this.onReset.emit(value);
|
|
40029
40262
|
}
|
|
40263
|
+
onWrapperValidationErrors(errors) {
|
|
40264
|
+
this.validationErrors.emit(errors);
|
|
40265
|
+
}
|
|
40030
40266
|
static ɵfac = function CaseListFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersComponent)(i0.ɵɵdirectiveInject(DefinitionsService)); };
|
|
40031
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListFiltersComponent, selectors: [["ccd-case-list-filters"]], inputs: { defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, standalone: false, decls: 1, vars: 1, consts: [[3, "jurisdictions", "defaults", "onApply", "onReset", 4, "ngIf"], [3, "onApply", "onReset", "jurisdictions", "defaults"]], template: function CaseListFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40267
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListFiltersComponent, selectors: [["ccd-case-list-filters"]], inputs: { defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset", validationErrors: "validationErrors" }, standalone: false, decls: 1, vars: 1, consts: [[3, "jurisdictions", "defaults", "onApply", "onReset", "validationErrors", 4, "ngIf"], [3, "onApply", "onReset", "validationErrors", "jurisdictions", "defaults"]], template: function CaseListFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40032
40268
|
i0.ɵɵtemplate(0, CaseListFiltersComponent_ccd_workbasket_filters_0_Template, 1, 2, "ccd-workbasket-filters", 0);
|
|
40033
40269
|
} if (rf & 2) {
|
|
40034
40270
|
i0.ɵɵproperty("ngIf", ctx.isVisible);
|
|
@@ -40036,15 +40272,17 @@ class CaseListFiltersComponent {
|
|
|
40036
40272
|
}
|
|
40037
40273
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListFiltersComponent, [{
|
|
40038
40274
|
type: Component,
|
|
40039
|
-
args: [{ selector: 'ccd-case-list-filters', standalone: false, template: "<ccd-workbasket-filters\n *ngIf=\"isVisible\"\n [jurisdictions]=\"jurisdictions\"\n [defaults]=\"defaults\"\n (onApply)=\"onWrapperApply($event)\"\n (onReset)=\"onWrapperReset($event)\"\n></ccd-workbasket-filters>\n" }]
|
|
40275
|
+
args: [{ selector: 'ccd-case-list-filters', standalone: false, template: "<ccd-workbasket-filters\n *ngIf=\"isVisible\"\n [jurisdictions]=\"jurisdictions\"\n [defaults]=\"defaults\"\n (onApply)=\"onWrapperApply($event)\"\n (onReset)=\"onWrapperReset($event)\"\n (validationErrors)=\"onWrapperValidationErrors($event)\"\n></ccd-workbasket-filters>\n" }]
|
|
40040
40276
|
}], () => [{ type: DefinitionsService }], { defaults: [{
|
|
40041
40277
|
type: Input
|
|
40042
40278
|
}], onApply: [{
|
|
40043
40279
|
type: Output
|
|
40044
40280
|
}], onReset: [{
|
|
40045
40281
|
type: Output
|
|
40282
|
+
}], validationErrors: [{
|
|
40283
|
+
type: Output
|
|
40046
40284
|
}] }); })();
|
|
40047
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseListFiltersComponent, { className: "CaseListFiltersComponent", filePath: "lib/shared/components/case-list-filters/case-list-filters.component.ts", lineNumber:
|
|
40285
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseListFiltersComponent, { className: "CaseListFiltersComponent", filePath: "lib/shared/components/case-list-filters/case-list-filters.component.ts", lineNumber: 12 }); })();
|
|
40048
40286
|
|
|
40049
40287
|
class CaseListFiltersModule {
|
|
40050
40288
|
static ɵfac = function CaseListFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersModule)(); };
|
|
@@ -41521,146 +41759,120 @@ function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
41521
41759
|
i0.ɵɵadvance(2);
|
|
41522
41760
|
i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
|
|
41523
41761
|
} }
|
|
41524
|
-
function
|
|
41525
|
-
i0.ɵɵ
|
|
41526
|
-
i0.ɵɵelement(1, "exui-tasks-ce");
|
|
41527
|
-
i0.ɵɵelementContainerEnd();
|
|
41528
|
-
} }
|
|
41529
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
41530
|
-
i0.ɵɵelementContainerStart(0);
|
|
41531
|
-
i0.ɵɵelement(1, "exui-roles-and-access-ce");
|
|
41532
|
-
i0.ɵɵelementContainerEnd();
|
|
41762
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template(rf, ctx) { if (rf & 1) {
|
|
41763
|
+
i0.ɵɵelement(0, "exui-tasks-ce");
|
|
41533
41764
|
} }
|
|
41534
|
-
function
|
|
41535
|
-
i0.ɵɵ
|
|
41536
|
-
} if (rf & 2) {
|
|
41537
|
-
const tab_r6 = i0.ɵɵnextContext().$implicit;
|
|
41538
|
-
i0.ɵɵproperty("ngIf", tab_r6.id === "tasks");
|
|
41539
|
-
i0.ɵɵadvance();
|
|
41540
|
-
i0.ɵɵproperty("ngIf", tab_r6.id === "roles-and-access");
|
|
41765
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template(rf, ctx) { if (rf & 1) {
|
|
41766
|
+
i0.ɵɵelement(0, "exui-roles-and-access-ce");
|
|
41541
41767
|
} }
|
|
41542
|
-
function
|
|
41543
|
-
i0.ɵɵ
|
|
41544
|
-
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41545
|
-
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 28);
|
|
41546
|
-
i0.ɵɵelementEnd();
|
|
41547
|
-
} if (rf & 2) {
|
|
41548
|
-
const tab_r6 = ctx.$implicit;
|
|
41549
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
41550
|
-
i0.ɵɵattribute("data-case-tab-id", tab_r6.id);
|
|
41768
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template(rf, ctx) { if (rf & 1) {
|
|
41769
|
+
i0.ɵɵelement(0, "exui-case-hearings-ce");
|
|
41551
41770
|
} }
|
|
41552
|
-
function
|
|
41553
|
-
i0.ɵɵelementStart(0, "th",
|
|
41771
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
41772
|
+
i0.ɵɵelementStart(0, "th", 37)(1, "div", 38);
|
|
41554
41773
|
i0.ɵɵtext(2);
|
|
41555
41774
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
41556
41775
|
i0.ɵɵelementEnd()();
|
|
41557
41776
|
} if (rf & 2) {
|
|
41558
|
-
const
|
|
41559
|
-
i0.ɵɵproperty("id", "case-viewer-field-label--" +
|
|
41777
|
+
const field_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
41778
|
+
i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r6.id);
|
|
41560
41779
|
i0.ɵɵadvance(2);
|
|
41561
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
41780
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r6.label));
|
|
41562
41781
|
} }
|
|
41563
|
-
function
|
|
41782
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
41564
41783
|
i0.ɵɵelementStart(0, "tr");
|
|
41565
|
-
i0.ɵɵtemplate(1,
|
|
41566
|
-
i0.ɵɵelementStart(2, "td",
|
|
41567
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41784
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 33);
|
|
41785
|
+
i0.ɵɵelementStart(2, "td", 34)(3, "span", 35);
|
|
41786
|
+
i0.ɵɵelement(4, "ccd-field-read", 36);
|
|
41568
41787
|
i0.ɵɵelementEnd()()();
|
|
41569
41788
|
} if (rf & 2) {
|
|
41570
|
-
const
|
|
41571
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41789
|
+
const field_r6 = i0.ɵɵnextContext().$implicit;
|
|
41790
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41572
41791
|
i0.ɵɵadvance();
|
|
41573
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(
|
|
41792
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r6) && field_r6.label);
|
|
41574
41793
|
i0.ɵɵadvance();
|
|
41575
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41794
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
|
|
41576
41795
|
i0.ɵɵadvance(2);
|
|
41577
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41796
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41578
41797
|
} }
|
|
41579
|
-
function
|
|
41580
|
-
i0.ɵɵelementStart(0, "tr",
|
|
41798
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41799
|
+
i0.ɵɵelementStart(0, "tr", 39)(1, "td", 40);
|
|
41581
41800
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41582
|
-
i0.ɵɵelementStart(3, "span",
|
|
41583
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
41801
|
+
i0.ɵɵelementStart(3, "span", 35);
|
|
41802
|
+
i0.ɵɵelement(4, "ccd-field-read", 36);
|
|
41584
41803
|
i0.ɵɵelementEnd()()();
|
|
41585
41804
|
} if (rf & 2) {
|
|
41586
|
-
const
|
|
41587
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41805
|
+
const field_r6 = i0.ɵɵnextContext().$implicit;
|
|
41806
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41588
41807
|
i0.ɵɵadvance();
|
|
41589
|
-
i0.ɵɵproperty("id", "case-viewer-field-read--" +
|
|
41590
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6,
|
|
41808
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
|
|
41809
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r6.label || field_r6.id));
|
|
41591
41810
|
i0.ɵɵadvance(3);
|
|
41592
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField",
|
|
41811
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41593
41812
|
} }
|
|
41594
|
-
function
|
|
41813
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
41595
41814
|
i0.ɵɵelementContainerStart(0);
|
|
41596
|
-
i0.ɵɵelementStart(1, "div",
|
|
41597
|
-
i0.ɵɵelementContainerStart(2,
|
|
41815
|
+
i0.ɵɵelementStart(1, "div", 31);
|
|
41816
|
+
i0.ɵɵelementContainerStart(2, 28);
|
|
41598
41817
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41599
|
-
i0.ɵɵtemplate(4,
|
|
41818
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template, 5, 6, "tr", 29)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template, 5, 8, "tr", 32);
|
|
41600
41819
|
i0.ɵɵelementContainerEnd();
|
|
41601
41820
|
i0.ɵɵelementEnd();
|
|
41602
41821
|
i0.ɵɵelementContainerEnd();
|
|
41603
41822
|
} if (rf & 2) {
|
|
41604
|
-
const
|
|
41605
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
41823
|
+
const field_r6 = ctx.$implicit;
|
|
41824
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
41606
41825
|
i0.ɵɵadvance();
|
|
41607
|
-
i0.ɵɵproperty("caseField",
|
|
41826
|
+
i0.ɵɵproperty("caseField", field_r6)("contextFields", ctx_r1.caseFields)("hidden", field_r6.hidden);
|
|
41608
41827
|
i0.ɵɵadvance();
|
|
41609
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6,
|
|
41828
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r6));
|
|
41610
41829
|
i0.ɵɵadvance(2);
|
|
41611
41830
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
41612
41831
|
i0.ɵɵadvance();
|
|
41613
41832
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
41614
41833
|
} }
|
|
41615
|
-
function
|
|
41834
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template(rf, ctx) { if (rf & 1) {
|
|
41616
41835
|
i0.ɵɵelementStart(0, "table");
|
|
41617
41836
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41618
41837
|
i0.ɵɵelementStart(2, "tbody");
|
|
41619
|
-
i0.ɵɵtemplate(3,
|
|
41838
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template, 6, 8, "ng-container", 19);
|
|
41620
41839
|
i0.ɵɵpipe(4, "ccdTabFields");
|
|
41621
41840
|
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
41622
41841
|
i0.ɵɵelementEnd()();
|
|
41623
41842
|
} if (rf & 2) {
|
|
41624
|
-
const
|
|
41843
|
+
const viewerTab_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
41625
41844
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41626
|
-
i0.ɵɵclassMap(
|
|
41845
|
+
i0.ɵɵclassMap(viewerTab_r7.tab.id);
|
|
41627
41846
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
|
|
41628
41847
|
i0.ɵɵadvance(3);
|
|
41629
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6,
|
|
41848
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, viewerTab_r7.tab), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
|
|
41630
41849
|
} }
|
|
41631
|
-
function
|
|
41632
|
-
i0.ɵɵ
|
|
41633
|
-
i0.ɵɵ
|
|
41634
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41635
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 28);
|
|
41636
|
-
i0.ɵɵelementEnd();
|
|
41637
|
-
} if (rf & 2) {
|
|
41638
|
-
const tab_r8 = ctx.$implicit;
|
|
41639
|
-
const curIdx_r9 = ctx.index;
|
|
41640
|
-
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r8.label));
|
|
41641
|
-
i0.ɵɵariaProperty("aria-label", curIdx_r9 === 0 ? tab_r8.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
|
|
41642
|
-
i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
|
|
41643
|
-
} }
|
|
41644
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
41645
|
-
i0.ɵɵelementContainerStart(0);
|
|
41646
|
-
i0.ɵɵelement(1, "exui-case-hearings-ce");
|
|
41850
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
41851
|
+
i0.ɵɵelementContainerStart(0, 28);
|
|
41852
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template, 1, 0, "exui-tasks-ce", 29)(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template, 1, 0, "exui-roles-and-access-ce", 29)(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template, 1, 0, "exui-case-hearings-ce", 29)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template, 6, 17, "table", 30);
|
|
41647
41853
|
i0.ɵɵelementContainerEnd();
|
|
41648
|
-
} }
|
|
41649
|
-
function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
41650
|
-
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11);
|
|
41651
41854
|
} if (rf & 2) {
|
|
41652
|
-
const
|
|
41653
|
-
i0.ɵɵproperty("
|
|
41855
|
+
const viewerTab_r7 = i0.ɵɵnextContext().$implicit;
|
|
41856
|
+
i0.ɵɵproperty("ngSwitch", viewerTab_r7.contentType);
|
|
41857
|
+
i0.ɵɵadvance();
|
|
41858
|
+
i0.ɵɵproperty("ngSwitchCase", "tasks");
|
|
41859
|
+
i0.ɵɵadvance();
|
|
41860
|
+
i0.ɵɵproperty("ngSwitchCase", "roles-and-access");
|
|
41861
|
+
i0.ɵɵadvance();
|
|
41862
|
+
i0.ɵɵproperty("ngSwitchCase", "hearings");
|
|
41654
41863
|
} }
|
|
41655
|
-
function
|
|
41656
|
-
i0.ɵɵelementStart(0, "mat-tab",
|
|
41864
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
|
|
41865
|
+
i0.ɵɵelementStart(0, "mat-tab", 26);
|
|
41657
41866
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
41658
|
-
i0.ɵɵ
|
|
41867
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41868
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template, 5, 4, "ng-template", 27);
|
|
41659
41869
|
i0.ɵɵelementEnd();
|
|
41660
41870
|
} if (rf & 2) {
|
|
41661
|
-
const
|
|
41662
|
-
|
|
41663
|
-
i0.ɵɵ
|
|
41871
|
+
const viewerTab_r7 = ctx.$implicit;
|
|
41872
|
+
const curIdx_r8 = ctx.index;
|
|
41873
|
+
i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, viewerTab_r7.tab.label));
|
|
41874
|
+
i0.ɵɵariaProperty("aria-label", curIdx_r8 === 0 ? viewerTab_r7.tab.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
|
|
41875
|
+
i0.ɵɵattribute("data-case-tab-id", viewerTab_r7.tab.id);
|
|
41664
41876
|
} }
|
|
41665
41877
|
function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
41666
41878
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -41668,7 +41880,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
|
|
|
41668
41880
|
i0.ɵɵelementStart(1, "mat-tab-group", 24, 0);
|
|
41669
41881
|
i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
|
|
41670
41882
|
i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
|
|
41671
|
-
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template,
|
|
41883
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 4, 7, "mat-tab", 25);
|
|
41672
41884
|
i0.ɵɵelementEnd();
|
|
41673
41885
|
i0.ɵɵelementContainerEnd();
|
|
41674
41886
|
} if (rf & 2) {
|
|
@@ -41678,11 +41890,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
|
|
|
41678
41890
|
i0.ɵɵtwoWayProperty("selectedIndex", ctx_r1.selectedTabIndex);
|
|
41679
41891
|
i0.ɵɵproperty("selectedIndex", ctx_r1.selectedTabIndex);
|
|
41680
41892
|
i0.ɵɵadvance(2);
|
|
41681
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.
|
|
41682
|
-
i0.ɵɵadvance();
|
|
41683
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.sortedTabs);
|
|
41684
|
-
i0.ɵɵadvance();
|
|
41685
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.appendedTabs);
|
|
41893
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.viewerTabs);
|
|
41686
41894
|
} }
|
|
41687
41895
|
class CaseFullAccessViewComponent {
|
|
41688
41896
|
ngZone;
|
|
@@ -41717,6 +41925,7 @@ class CaseFullAccessViewComponent {
|
|
|
41717
41925
|
appendedTabs = [];
|
|
41718
41926
|
BANNER = DisplayMode.BANNER;
|
|
41719
41927
|
sortedTabs;
|
|
41928
|
+
viewerTabs;
|
|
41720
41929
|
caseFields;
|
|
41721
41930
|
formGroup;
|
|
41722
41931
|
error;
|
|
@@ -41792,7 +42001,12 @@ class CaseFullAccessViewComponent {
|
|
|
41792
42001
|
this.caseFlagStateService.resetInitialCaseFlags();
|
|
41793
42002
|
}
|
|
41794
42003
|
ngOnChanges(changes) {
|
|
41795
|
-
|
|
42004
|
+
const hasSubsequentRelevantChange = [
|
|
42005
|
+
changes?.caseDetails,
|
|
42006
|
+
changes?.prependedTabs,
|
|
42007
|
+
changes?.appendedTabs
|
|
42008
|
+
].some((change) => change && !change.firstChange);
|
|
42009
|
+
if (hasSubsequentRelevantChange) {
|
|
41796
42010
|
this.init();
|
|
41797
42011
|
this.crf.detectChanges();
|
|
41798
42012
|
this.organiseTabPosition();
|
|
@@ -41908,7 +42122,7 @@ class CaseFullAccessViewComponent {
|
|
|
41908
42122
|
}
|
|
41909
42123
|
}
|
|
41910
42124
|
hasTabsPresent() {
|
|
41911
|
-
return this.
|
|
42125
|
+
return this.viewerTabs.length > 0;
|
|
41912
42126
|
}
|
|
41913
42127
|
callbackErrorsNotify(callbackErrorsContext) {
|
|
41914
42128
|
this.ignoreWarning = callbackErrorsContext.ignoreWarning;
|
|
@@ -42098,11 +42312,52 @@ class CaseFullAccessViewComponent {
|
|
|
42098
42312
|
this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
|
|
42099
42313
|
this.caseFields = this.getTabFields();
|
|
42100
42314
|
this.sortedTabs = this.sortTabFieldsAndFilterTabs(this.sortedTabs);
|
|
42315
|
+
this.viewerTabs = this.buildViewerTabs();
|
|
42101
42316
|
this.formGroup = this.buildFormGroup(this.caseFields);
|
|
42102
42317
|
if (this.caseDetails?.triggers && this.error) {
|
|
42103
42318
|
this.resetErrors();
|
|
42104
42319
|
}
|
|
42105
42320
|
}
|
|
42321
|
+
buildViewerTabs() {
|
|
42322
|
+
const suppliedTabIds = new Set((this.caseDetails?.tabs || []).map((tab) => tab.id));
|
|
42323
|
+
const suppliedSpecialTabTypes = new Set((this.caseDetails?.tabs || [])
|
|
42324
|
+
.map((tab) => this.getCcdSpecialTabContentType(tab))
|
|
42325
|
+
.filter((contentType) => !!contentType));
|
|
42326
|
+
const prependedTabs = (this.prependedTabs || [])
|
|
42327
|
+
.filter((tab) => !this.isConfiguredTabSupplied(tab, suppliedTabIds, suppliedSpecialTabTypes))
|
|
42328
|
+
.map((tab) => this.toViewerTab(tab, this.getConfiguredSpecialTabContentType(tab)));
|
|
42329
|
+
const appendedTabs = (this.appendedTabs || [])
|
|
42330
|
+
.filter((tab) => !this.isConfiguredTabSupplied(tab, suppliedTabIds, suppliedSpecialTabTypes))
|
|
42331
|
+
.map((tab) => this.toViewerTab(tab, this.getConfiguredSpecialTabContentType(tab)));
|
|
42332
|
+
const caseTabs = this.sortedTabs.map((tab) => this.toViewerTab(tab));
|
|
42333
|
+
return [...prependedTabs, ...caseTabs, ...appendedTabs];
|
|
42334
|
+
}
|
|
42335
|
+
toViewerTab(tab, fallbackContentType) {
|
|
42336
|
+
const contentType = fallbackContentType || this.getCcdSpecialTabContentType(tab) || 'case';
|
|
42337
|
+
return { tab, contentType };
|
|
42338
|
+
}
|
|
42339
|
+
getConfiguredSpecialTabContentType(tab) {
|
|
42340
|
+
return ['tasks', 'roles-and-access', 'hearings'].includes(tab.id)
|
|
42341
|
+
? tab.id
|
|
42342
|
+
: null;
|
|
42343
|
+
}
|
|
42344
|
+
isConfiguredTabSupplied(tab, suppliedTabIds, suppliedSpecialTabTypes) {
|
|
42345
|
+
const contentType = this.getConfiguredSpecialTabContentType(tab);
|
|
42346
|
+
return contentType ? suppliedSpecialTabTypes.has(contentType) : suppliedTabIds.has(tab.id);
|
|
42347
|
+
}
|
|
42348
|
+
getCcdSpecialTabContentType(tab) {
|
|
42349
|
+
const launcherFieldIds = new Set((tab.fields || []).map((field) => field.id?.toLowerCase()));
|
|
42350
|
+
if (launcherFieldIds.has('tasklauncher')) {
|
|
42351
|
+
return 'tasks';
|
|
42352
|
+
}
|
|
42353
|
+
if (launcherFieldIds.has('roleslauncher')) {
|
|
42354
|
+
return 'roles-and-access';
|
|
42355
|
+
}
|
|
42356
|
+
if (launcherFieldIds.has('hearingslauncher')) {
|
|
42357
|
+
return 'hearings';
|
|
42358
|
+
}
|
|
42359
|
+
return null;
|
|
42360
|
+
}
|
|
42106
42361
|
sortTabFieldsAndFilterTabs(tabs) {
|
|
42107
42362
|
return tabs?.map((tab) => ({
|
|
42108
42363
|
...tab,
|
|
@@ -42144,7 +42399,7 @@ class CaseFullAccessViewComponent {
|
|
|
42144
42399
|
} if (rf & 2) {
|
|
42145
42400
|
let _t;
|
|
42146
42401
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
42147
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label",
|
|
42402
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label"], ["matTabContent", ""], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "class", 4, "ngSwitchDefault"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42148
42403
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
42149
42404
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
42150
42405
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -42158,7 +42413,7 @@ class CaseFullAccessViewComponent {
|
|
|
42158
42413
|
i0.ɵɵelementEnd();
|
|
42159
42414
|
i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
|
|
42160
42415
|
i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
|
|
42161
|
-
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template,
|
|
42416
|
+
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 4, 4, "ng-container", 11);
|
|
42162
42417
|
i0.ɵɵelementEnd()();
|
|
42163
42418
|
} if (rf & 2) {
|
|
42164
42419
|
i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
|
|
@@ -42182,7 +42437,7 @@ class CaseFullAccessViewComponent {
|
|
|
42182
42437
|
}
|
|
42183
42438
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
42184
42439
|
type: Component,
|
|
42185
|
-
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let
|
|
42440
|
+
args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let viewerTab of viewerTabs; let curIdx=index\" [attr.data-case-tab-id]=\"viewerTab.tab.id\" [label]=\"viewerTab.tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? viewerTab.tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container [ngSwitch]=\"viewerTab.contentType\">\n <exui-tasks-ce *ngSwitchCase=\"'tasks'\"></exui-tasks-ce>\n <exui-roles-and-access-ce *ngSwitchCase=\"'roles-and-access'\"></exui-roles-and-access-ce>\n <exui-case-hearings-ce *ngSwitchCase=\"'hearings'\"></exui-case-hearings-ce>\n <table *ngSwitchDefault [class]=\"viewerTab.tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of viewerTab.tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
42186
42441
|
}], () => [{ type: i0.NgZone }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
|
|
42187
42442
|
type: Input
|
|
42188
42443
|
}], hasEventSelector: [{
|
|
@@ -42197,7 +42452,7 @@ class CaseFullAccessViewComponent {
|
|
|
42197
42452
|
type: ViewChild,
|
|
42198
42453
|
args: ['tabGroup', { static: false }]
|
|
42199
42454
|
}] }); })();
|
|
42200
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber:
|
|
42455
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 56 }); })();
|
|
42201
42456
|
|
|
42202
42457
|
class PrintUrlPipe {
|
|
42203
42458
|
appConfig;
|
|
@@ -42396,9 +42651,9 @@ class CaseViewerComponent {
|
|
|
42396
42651
|
static BASIC_USER_ACCESS_TYPES = 'BASIC';
|
|
42397
42652
|
hasPrint = true;
|
|
42398
42653
|
hasEventSelector = true;
|
|
42654
|
+
caseDetails;
|
|
42399
42655
|
prependedTabs = [];
|
|
42400
42656
|
appendedTabs = [];
|
|
42401
|
-
caseDetails;
|
|
42402
42657
|
caseSubscription;
|
|
42403
42658
|
userAccessType;
|
|
42404
42659
|
accessGranted;
|
|
@@ -42417,7 +42672,12 @@ class CaseViewerComponent {
|
|
|
42417
42672
|
}
|
|
42418
42673
|
}
|
|
42419
42674
|
loadCaseDetails() {
|
|
42420
|
-
if (this.
|
|
42675
|
+
if (this.caseDetails) {
|
|
42676
|
+
this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
|
|
42677
|
+
this.caseDetails.tabs = this.suffixDuplicateTabs(this.caseDetails.tabs);
|
|
42678
|
+
this.setUserAccessType(this.caseDetails);
|
|
42679
|
+
}
|
|
42680
|
+
else if (this.route.snapshot.data.case) {
|
|
42421
42681
|
this.caseDetails = this.route.snapshot.data.case;
|
|
42422
42682
|
this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
|
|
42423
42683
|
this.caseDetails.tabs = this.suffixDuplicateTabs(this.caseDetails.tabs);
|
|
@@ -42463,7 +42723,7 @@ class CaseViewerComponent {
|
|
|
42463
42723
|
return tabs;
|
|
42464
42724
|
}
|
|
42465
42725
|
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(OrderService)); };
|
|
42466
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewerComponent, selectors: [["ccd-case-viewer"]], inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "accessType", "caseDetails", 4, "ngIf"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], [3, "accessType", "caseDetails"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42726
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewerComponent, selectors: [["ccd-case-viewer"]], inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "accessType", "caseDetails", 4, "ngIf"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], [3, "accessType", "caseDetails"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42467
42727
|
i0.ɵɵtemplate(0, CaseViewerComponent_div_0_Template, 3, 2, "div", 0);
|
|
42468
42728
|
} if (rf & 2) {
|
|
42469
42729
|
i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
|
|
@@ -42476,6 +42736,8 @@ class CaseViewerComponent {
|
|
|
42476
42736
|
type: Input
|
|
42477
42737
|
}], hasEventSelector: [{
|
|
42478
42738
|
type: Input
|
|
42739
|
+
}], caseDetails: [{
|
|
42740
|
+
type: Input
|
|
42479
42741
|
}], prependedTabs: [{
|
|
42480
42742
|
type: Input
|
|
42481
42743
|
}], appendedTabs: [{
|
|
@@ -44856,7 +45118,7 @@ i0.ɵɵsetComponentScope(CaseEventTriggerComponent, function () { return [i5.NgI
|
|
|
44856
45118
|
i0.ɵɵsetComponentScope(CasePrinterComponent, function () { return [i5.NgForOf, i5.NgIf, CaseHeaderComponent]; }, function () { return [i1.RpxTranslatePipe, PrintUrlPipe]; });
|
|
44857
45119
|
i0.ɵɵsetComponentScope(CaseViewerComponent, function () { return [i5.NgIf, CaseFullAccessViewComponent,
|
|
44858
45120
|
CaseBasicAccessViewComponent]; }, []);
|
|
44859
|
-
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
|
|
45121
|
+
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
|
|
44860
45122
|
i0.ɵɵsetComponentScope(CaseViewComponent, function () { return [i5.NgIf, CaseViewerComponent]; }, []);
|
|
44861
45123
|
i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
44862
45124
|
i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
@@ -46870,5 +47132,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46870
47132
|
* Generated bundle index. Do not edit.
|
|
46871
47133
|
*/
|
|
46872
47134
|
|
|
46873
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseStateMultiSelectComponent, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
47135
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseStateMultiSelectComponent, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePickerRangeComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
46874
47136
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|