@hmcts/ccd-case-ui-toolkit 7.4.27-5516 → 7.4.27-date-range-filter-2
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 +439 -202
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +58 -23
- package/index.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -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$1b = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
65
65
|
const _c1$w = ["[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$w, 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$1b);
|
|
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$1a = [[["", "headerNavigation", ""]]];
|
|
784
784
|
const _c1$v = ["[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$v, 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$1a);
|
|
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$19 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
889
889
|
const _c1$u = ["[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$u, 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$19);
|
|
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$18 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
1013
1013
|
const _c1$t = ["[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$t, 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$18);
|
|
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$17 = 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$17, 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$17, 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$17, 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$17, 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$17, 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$17, 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$16 = ["*"];
|
|
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$16, 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$15 = ["*"];
|
|
1638
1638
|
const _c1$s = 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$15, 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$14 = ["tab"];
|
|
1667
1667
|
const _c1$r = ["*"];
|
|
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$14, 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$13 = (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$13, 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$12 = (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$12, 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$11 = (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$11, 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$10 = ["writeComplexFieldComponent"];
|
|
14227
14227
|
const _c1$q = 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$10, 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$$ = ["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$$, 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$_ = ["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$_, 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$Z = ["writeComplexFieldComponent"];
|
|
16206
16206
|
const _c1$p = 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$Z, 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$Y = (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$o = (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$Y, 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$X = ["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$X, 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$W = ["fileInput"];
|
|
17191
17191
|
const _c1$n = 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$W, 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$V = 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$V, !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$U = 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$U, !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$T = a0 => ({ "form-group-error": a0 });
|
|
18154
18154
|
const _c1$m = 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$T, !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$S = a0 => ({ "form-group-error": a0 });
|
|
18303
18303
|
const _c1$l = 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$S, !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$R = 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$R, !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$Q = a0 => ({ "form-group-error": a0 });
|
|
18529
18529
|
const _c1$k = 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$Q, !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$P = a0 => ({ "form-group-error": a0 });
|
|
18673
18673
|
const _c1$j = 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$P, !!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$O = a0 => ({ "form-group-error": a0 });
|
|
18989
18989
|
const _c1$i = 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$O, !!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$N = a0 => ({ "govuk-form-group--error": a0 });
|
|
19693
19693
|
const _c1$h = 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$N, !!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$N, !!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$N, !!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$N, !!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$M = 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$M, 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$L = 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$L, !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$K = 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$K, !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$J = a0 => ({ "form-group-error": a0 });
|
|
22059
22059
|
const _c1$g = 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$J, !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$I = 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$I, ((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$H = a0 => ({ "form-group-error": a0 });
|
|
22759
22759
|
const _c1$f = 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$H, !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$G = 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$G, 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$G, 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$G, 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$G, 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$F = (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$F, 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$F, 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$E = ["editorHost"];
|
|
26555
26555
|
const _c1$e = 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$E, 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$D = a0 => ({ "form-group-error": a0 });
|
|
29370
29370
|
const _c1$d = 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$D, !!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$C = a0 => ({ "form-group-error": a0 });
|
|
29466
29466
|
const _c1$c = 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$C, !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$B = a0 => ({ "form-group-error": a0 });
|
|
29668
29668
|
const _c1$b = 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$B, !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$A = ["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$A, 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$z = ["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$z, 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$y = ["*"];
|
|
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$y, 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$x = a0 => ({ cat: a0, level: 1 });
|
|
30098
30098
|
const _c1$a = (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$x, 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$w = [[["", "trigger", ""]]];
|
|
30250
30250
|
const _c1$9 = ["[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$9, 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$w);
|
|
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$v = 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$v, 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$u = 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$u, 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$t = 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$t, 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$s = 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$s, 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$s, 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$r = 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$r, 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$q = a0 => ({ "form-group-error": a0 });
|
|
32680
32680
|
const _c1$8 = 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$q, 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$q, 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$p = a0 => ({ "form-group-error": a0 });
|
|
33127
33127
|
const _c1$7 = 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$p, 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$o = 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$o, 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$n = 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$n, 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$m = (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$m, 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$l = (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$l, 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$k = 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$k, 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$j = ["picker"];
|
|
34942
34942
|
const _c1$6 = ["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$j, 5);
|
|
35160
35187
|
i0.ɵɵviewQuery(_c1$6, 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);
|
|
35218
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label && ctx.caseFieldLabel);
|
|
35192
35219
|
i0.ɵɵadvance();
|
|
35193
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
35220
|
+
i0.ɵɵproperty("ngIf", !ctx.caseFieldLabel);
|
|
35194
35221
|
i0.ɵɵadvance();
|
|
35195
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
35196
|
-
i0.ɵɵadvance();
|
|
35197
|
-
i0.ɵɵproperty("ngIf", ctx.dateControl && ctx.dateControl.dirty && ctx.minError);
|
|
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$i = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35349
35378
|
const _c1$5 = 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$i, 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$h = ["*"];
|
|
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$h, 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$g = ["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$g, 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$f = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37381
37410
|
const _c1$4 = 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$f, 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$e = (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$e, 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$d = 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$d, 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
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
39192
39376
|
i0.ɵɵelementStart(0, "option", 14);
|
|
39193
39377
|
i0.ɵɵtext(1);
|
|
@@ -39243,7 +39427,7 @@ function WorkbasketFiltersComponent_option_38_Template(rf, ctx) { if (rf & 1) {
|
|
|
39243
39427
|
} }
|
|
39244
39428
|
function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39245
39429
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
39246
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write",
|
|
39430
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 21);
|
|
39247
39431
|
i0.ɵɵlistener("keyup.enter", function WorkbasketFiltersComponent_ng_container_39_div_2_Template_ccd_field_write_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r4 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r4.apply(null)); });
|
|
39248
39432
|
i0.ɵɵelementEnd()();
|
|
39249
39433
|
} if (rf & 2) {
|
|
@@ -39253,9 +39437,9 @@ function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if
|
|
|
39253
39437
|
i0.ɵɵproperty("caseField", workbasketInput_r6.field)("formGroup", ctx_r4.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
39254
39438
|
} }
|
|
39255
39439
|
function WorkbasketFiltersComponent_ng_container_39_Template(rf, ctx) { if (rf & 1) {
|
|
39256
|
-
i0.ɵɵelementContainerStart(0,
|
|
39257
|
-
i0.ɵɵelementStart(1, "div",
|
|
39258
|
-
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_39_div_2_Template, 2, 4, "div",
|
|
39440
|
+
i0.ɵɵelementContainerStart(0, 18);
|
|
39441
|
+
i0.ɵɵelementStart(1, "div", 19);
|
|
39442
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_39_div_2_Template, 2, 4, "div", 20);
|
|
39259
39443
|
i0.ɵɵelementEnd();
|
|
39260
39444
|
i0.ɵɵelementContainerEnd();
|
|
39261
39445
|
} if (rf & 2) {
|
|
@@ -39278,11 +39462,14 @@ class WorkbasketFiltersComponent {
|
|
|
39278
39462
|
static PARAM_CASE_TYPE = 'case-type';
|
|
39279
39463
|
static PARAM_CASE_STATE = 'case-state';
|
|
39280
39464
|
logger = new StructuredLoggerService();
|
|
39465
|
+
storedDateRange;
|
|
39281
39466
|
caseFields;
|
|
39467
|
+
datePickerRange;
|
|
39282
39468
|
jurisdictions;
|
|
39283
39469
|
defaults;
|
|
39284
39470
|
onApply = new EventEmitter();
|
|
39285
39471
|
onReset = new EventEmitter();
|
|
39472
|
+
validationErrors = new EventEmitter();
|
|
39286
39473
|
workbasketInputs;
|
|
39287
39474
|
workbasketInputsReady;
|
|
39288
39475
|
workbasketDefaults;
|
|
@@ -39340,6 +39527,16 @@ class WorkbasketFiltersComponent {
|
|
|
39340
39527
|
}
|
|
39341
39528
|
});
|
|
39342
39529
|
}
|
|
39530
|
+
// Need this to set the date range in the form group after the view has initialized
|
|
39531
|
+
// Otherwise does not appear
|
|
39532
|
+
ngAfterViewInit() {
|
|
39533
|
+
if (this.storedDateRange) {
|
|
39534
|
+
this.formGroup.patchValue({
|
|
39535
|
+
dateFrom: this.storedDateRange[0],
|
|
39536
|
+
dateTo: this.storedDateRange[1]
|
|
39537
|
+
});
|
|
39538
|
+
}
|
|
39539
|
+
}
|
|
39343
39540
|
apply(init) {
|
|
39344
39541
|
// Save filters as query parameters for current route
|
|
39345
39542
|
const queryParams = {};
|
|
@@ -39360,17 +39557,19 @@ class WorkbasketFiltersComponent {
|
|
|
39360
39557
|
}
|
|
39361
39558
|
if (Object.keys(this.formGroup.controls).length === 0) {
|
|
39362
39559
|
const storedFormGroup = safeJsonParse(this.windowService.getLocalStorage(FORM_GROUP_VAL_LOC_STORAGE), null);
|
|
39560
|
+
this.storedDateRange = [storedFormGroup?.dateFrom, storedFormGroup?.dateTo];
|
|
39363
39561
|
this.selected.formGroup = storedFormGroup && Object.keys(storedFormGroup).length > 0 ? storedFormGroup : null;
|
|
39364
39562
|
}
|
|
39365
39563
|
else {
|
|
39366
39564
|
// Update form group filters
|
|
39367
39565
|
this.updateFormGroupFilters();
|
|
39566
|
+
this.datePickerRange?.normaliseDateRange();
|
|
39368
39567
|
this.selected.formGroup = this.formGroup;
|
|
39369
39568
|
}
|
|
39370
39569
|
this.selected.init = init;
|
|
39371
39570
|
this.selected.page = 1;
|
|
39372
39571
|
this.selected.metadataFields = this.getMetadataFields();
|
|
39373
|
-
if (init) {
|
|
39572
|
+
if (init && !this.datePickerRange?.dateRangeErrors?.length) {
|
|
39374
39573
|
this.windowService.setLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE, JSON.stringify(queryParams));
|
|
39375
39574
|
if (Object.keys(this.formGroup.controls).length > 0) {
|
|
39376
39575
|
// Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
|
|
@@ -39394,11 +39593,17 @@ class WorkbasketFiltersComponent {
|
|
|
39394
39593
|
reset() {
|
|
39395
39594
|
this.windowService.removeLocalStorage(FORM_GROUP_VAL_LOC_STORAGE);
|
|
39396
39595
|
this.windowService.removeLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
|
|
39596
|
+
this.datePickerRange?.reset();
|
|
39397
39597
|
setTimeout(() => {
|
|
39398
39598
|
this.resetFieldsWhenNoDefaults();
|
|
39399
39599
|
this.onReset.emit(true);
|
|
39400
39600
|
}, 500);
|
|
39401
39601
|
}
|
|
39602
|
+
// Date range validation errors handler
|
|
39603
|
+
// Currently the only validation errors present
|
|
39604
|
+
onDateRangeValidationErrors(errors) {
|
|
39605
|
+
this.validationErrors.emit(errors);
|
|
39606
|
+
}
|
|
39402
39607
|
getMetadataFields() {
|
|
39403
39608
|
if (this.workbasketInputs) {
|
|
39404
39609
|
return this.workbasketInputs
|
|
@@ -39437,7 +39642,7 @@ class WorkbasketFiltersComponent {
|
|
|
39437
39642
|
if (this.selected.caseType) {
|
|
39438
39643
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39439
39644
|
this.selected.caseState = null;
|
|
39440
|
-
this.
|
|
39645
|
+
this.clearDynamicFormControls();
|
|
39441
39646
|
this.clearWorkbasketInputs();
|
|
39442
39647
|
if (!this.isApplyButtonDisabled()) {
|
|
39443
39648
|
this.workbasketInputFilterService.getWorkbasketInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(take(1)).subscribe(workbasketInputs => {
|
|
@@ -39598,8 +39803,19 @@ class WorkbasketFiltersComponent {
|
|
|
39598
39803
|
this.caseFields = this.workbasketInputs.map(item => FieldsUtils.convertToCaseField(item.field));
|
|
39599
39804
|
}
|
|
39600
39805
|
}
|
|
39806
|
+
// clear the dynamic date range filter
|
|
39807
|
+
clearDynamicFormControls() {
|
|
39808
|
+
Object.keys(this.formGroup.controls)
|
|
39809
|
+
.filter((controlName) => !DatePickerRangeComponent.isRangeControl(controlName))
|
|
39810
|
+
.forEach((controlName) => this.formGroup.removeControl(controlName));
|
|
39811
|
+
}
|
|
39601
39812
|
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)); };
|
|
39602
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]],
|
|
39813
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], viewQuery: function WorkbasketFiltersComponent_Query(rf, ctx) { if (rf & 1) {
|
|
39814
|
+
i0.ɵɵviewQuery(DatePickerRangeComponent, 5);
|
|
39815
|
+
} if (rf & 2) {
|
|
39816
|
+
let _t;
|
|
39817
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePickerRange = _t.first);
|
|
39818
|
+
} }, inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset", validationErrors: "validationErrors" }, standalone: false, decls: 46, vars: 56, 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"], ["id", "wb-case-state", "name", "state", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "ngModel", "disabled"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], [3, "validationErrors", "formGroup"], ["type", "button", 1, "button", 3, "click", "title"], ["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) {
|
|
39603
39819
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "h2", 2);
|
|
39604
39820
|
i0.ɵɵtext(3);
|
|
39605
39821
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39650,28 +39866,31 @@ class WorkbasketFiltersComponent {
|
|
|
39650
39866
|
i0.ɵɵtemplate(38, WorkbasketFiltersComponent_option_38_Template, 3, 4, "option", 9);
|
|
39651
39867
|
i0.ɵɵelementEnd()();
|
|
39652
39868
|
i0.ɵɵtemplate(39, WorkbasketFiltersComponent_ng_container_39_Template, 3, 3, "ng-container", 15);
|
|
39653
|
-
i0.ɵɵelementStart(40, "
|
|
39654
|
-
i0.ɵɵ
|
|
39869
|
+
i0.ɵɵelementStart(40, "ccd-date-picker-range", 16);
|
|
39870
|
+
i0.ɵɵlistener("validationErrors", function WorkbasketFiltersComponent_Template_ccd_date_picker_range_validationErrors_40_listener($event) { return ctx.onDateRangeValidationErrors($event); });
|
|
39871
|
+
i0.ɵɵelementEnd();
|
|
39872
|
+
i0.ɵɵelementStart(41, "button", 17);
|
|
39655
39873
|
i0.ɵɵpipe(42, "rpxTranslate");
|
|
39656
|
-
i0.ɵɵ
|
|
39657
|
-
i0.ɵɵ
|
|
39658
|
-
i0.ɵɵ
|
|
39874
|
+
i0.ɵɵpipe(43, "rpxTranslate");
|
|
39875
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_41_listener() { return ctx.scrollToTop(); });
|
|
39876
|
+
i0.ɵɵtext(44);
|
|
39877
|
+
i0.ɵɵpipe(45, "rpxTranslate");
|
|
39659
39878
|
i0.ɵɵelementEnd()();
|
|
39660
39879
|
} if (rf & 2) {
|
|
39661
39880
|
i0.ɵɵadvance(3);
|
|
39662
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
39881
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 28, "Filters"));
|
|
39663
39882
|
i0.ɵɵadvance(2);
|
|
39664
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39665
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7,
|
|
39883
|
+
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6, 30, "Apply filter"));
|
|
39884
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7, 32, "Apply filter"));
|
|
39666
39885
|
i0.ɵɵadvance(3);
|
|
39667
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
39886
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 34, "Apply"), " ");
|
|
39668
39887
|
i0.ɵɵadvance(3);
|
|
39669
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39670
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13,
|
|
39888
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12, 36, "Reset filter"));
|
|
39889
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13, 38, "Reset filter"));
|
|
39671
39890
|
i0.ɵɵadvance(3);
|
|
39672
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
39891
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 40, "Reset"), " ");
|
|
39673
39892
|
i0.ɵɵadvance(4);
|
|
39674
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
39893
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 42, "Jurisdiction"));
|
|
39675
39894
|
i0.ɵɵadvance(2);
|
|
39676
39895
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39677
39896
|
i0.ɵɵadvance();
|
|
@@ -39679,7 +39898,7 @@ class WorkbasketFiltersComponent {
|
|
|
39679
39898
|
i0.ɵɵadvance();
|
|
39680
39899
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39681
39900
|
i0.ɵɵadvance(3);
|
|
39682
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
39901
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 44, "Case type"));
|
|
39683
39902
|
i0.ɵɵadvance(2);
|
|
39684
39903
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39685
39904
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39688,29 +39907,34 @@ class WorkbasketFiltersComponent {
|
|
|
39688
39907
|
i0.ɵɵadvance();
|
|
39689
39908
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39690
39909
|
i0.ɵɵadvance(3);
|
|
39691
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
39910
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 46, "State"));
|
|
39692
39911
|
i0.ɵɵadvance(2);
|
|
39693
39912
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseState);
|
|
39694
39913
|
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39695
39914
|
i0.ɵɵadvance();
|
|
39696
39915
|
i0.ɵɵproperty("ngValue", null);
|
|
39697
39916
|
i0.ɵɵadvance();
|
|
39698
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37,
|
|
39917
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 48, "Any"));
|
|
39699
39918
|
i0.ɵɵadvance(2);
|
|
39700
39919
|
i0.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
39701
39920
|
i0.ɵɵadvance();
|
|
39702
39921
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39703
39922
|
i0.ɵɵadvance();
|
|
39704
|
-
i0.ɵɵproperty("
|
|
39705
|
-
i0.ɵɵ
|
|
39923
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
39924
|
+
i0.ɵɵadvance();
|
|
39925
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(42, 50, "Back to top"));
|
|
39926
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(43, 52, "Back to top"));
|
|
39706
39927
|
i0.ɵɵadvance(3);
|
|
39707
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
39928
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(45, 54, "Back to top"), " ");
|
|
39708
39929
|
} }, 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}"] });
|
|
39709
39930
|
}
|
|
39710
39931
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39711
39932
|
type: Component,
|
|
39712
|
-
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 <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-state\"\n name=\"state\" [(ngModel)]=\"selected.caseState\" [disabled]=\"isCaseStatesDropdownDisabled()\"\n aria-controls=\"search-result\">\n <option [ngValue]=\"null\">{{'Any' | rpxTranslate}}</option>\n <option *ngFor=\"let cs of selectedCaseTypeStates\" [ngValue]=\"cs\">{{cs.name | rpxTranslate}}</option>\n </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
|
|
39713
|
-
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], {
|
|
39933
|
+
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 <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-state\"\n name=\"state\" [(ngModel)]=\"selected.caseState\" [disabled]=\"isCaseStatesDropdownDisabled()\"\n aria-controls=\"search-result\">\n <option [ngValue]=\"null\">{{'Any' | rpxTranslate}}</option>\n <option *ngFor=\"let cs of selectedCaseTypeStates\" [ngValue]=\"cs\">{{cs.name | rpxTranslate}}</option>\n </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"] }]
|
|
39934
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { datePickerRange: [{
|
|
39935
|
+
type: ViewChild,
|
|
39936
|
+
args: [DatePickerRangeComponent]
|
|
39937
|
+
}], jurisdictions: [{
|
|
39714
39938
|
type: Input
|
|
39715
39939
|
}], defaults: [{
|
|
39716
39940
|
type: Input
|
|
@@ -39718,8 +39942,10 @@ class WorkbasketFiltersComponent {
|
|
|
39718
39942
|
type: Output
|
|
39719
39943
|
}], onReset: [{
|
|
39720
39944
|
type: Output
|
|
39945
|
+
}], validationErrors: [{
|
|
39946
|
+
type: Output
|
|
39721
39947
|
}] }); })();
|
|
39722
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber:
|
|
39948
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 31 }); })();
|
|
39723
39949
|
|
|
39724
39950
|
class WorkbasketFiltersModule {
|
|
39725
39951
|
static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
|
|
@@ -39749,9 +39975,11 @@ class WorkbasketFiltersModule {
|
|
|
39749
39975
|
RpxTranslationModule.forChild()
|
|
39750
39976
|
],
|
|
39751
39977
|
declarations: [
|
|
39978
|
+
DatePickerRangeComponent,
|
|
39752
39979
|
WorkbasketFiltersComponent,
|
|
39753
39980
|
],
|
|
39754
39981
|
exports: [
|
|
39982
|
+
DatePickerRangeComponent,
|
|
39755
39983
|
WorkbasketFiltersComponent,
|
|
39756
39984
|
],
|
|
39757
39985
|
providers: [
|
|
@@ -39763,12 +39991,15 @@ class WorkbasketFiltersModule {
|
|
|
39763
39991
|
]
|
|
39764
39992
|
}]
|
|
39765
39993
|
}], null, null); })();
|
|
39766
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
39994
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [DatePickerRangeComponent,
|
|
39995
|
+
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39767
39996
|
FormsModule,
|
|
39768
39997
|
ReactiveFormsModule,
|
|
39769
39998
|
PaletteModule,
|
|
39770
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
39771
|
-
|
|
39999
|
+
ConditionalShowModule, i1.RpxTranslationModule], exports: [DatePickerRangeComponent,
|
|
40000
|
+
WorkbasketFiltersComponent] }); })();
|
|
40001
|
+
i0.ɵɵsetComponentScope(DatePickerRangeComponent, function () { return [i5.NgClass, i5.NgForOf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
40002
|
+
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]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
39772
40003
|
|
|
39773
40004
|
const READ_ACCESS = 'read';
|
|
39774
40005
|
const CREATE_ACCESS = 'create';
|
|
@@ -39777,7 +40008,7 @@ const UPDATE_ACCESS = 'update';
|
|
|
39777
40008
|
function CaseListFiltersComponent_ccd_workbasket_filters_0_Template(rf, ctx) { if (rf & 1) {
|
|
39778
40009
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
39779
40010
|
i0.ɵɵelementStart(0, "ccd-workbasket-filters", 1);
|
|
39780
|
-
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)); });
|
|
40011
|
+
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)); });
|
|
39781
40012
|
i0.ɵɵelementEnd();
|
|
39782
40013
|
} if (rf & 2) {
|
|
39783
40014
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -39788,6 +40019,7 @@ class CaseListFiltersComponent {
|
|
|
39788
40019
|
defaults;
|
|
39789
40020
|
onApply = new EventEmitter();
|
|
39790
40021
|
onReset = new EventEmitter();
|
|
40022
|
+
validationErrors = new EventEmitter();
|
|
39791
40023
|
jurisdictions;
|
|
39792
40024
|
isVisible;
|
|
39793
40025
|
constructor(definitionsService) {
|
|
@@ -39807,8 +40039,11 @@ class CaseListFiltersComponent {
|
|
|
39807
40039
|
onWrapperReset(value) {
|
|
39808
40040
|
this.onReset.emit(value);
|
|
39809
40041
|
}
|
|
40042
|
+
onWrapperValidationErrors(errors) {
|
|
40043
|
+
this.validationErrors.emit(errors);
|
|
40044
|
+
}
|
|
39810
40045
|
static ɵfac = function CaseListFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersComponent)(i0.ɵɵdirectiveInject(DefinitionsService)); };
|
|
39811
|
-
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) {
|
|
40046
|
+
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) {
|
|
39812
40047
|
i0.ɵɵtemplate(0, CaseListFiltersComponent_ccd_workbasket_filters_0_Template, 1, 2, "ccd-workbasket-filters", 0);
|
|
39813
40048
|
} if (rf & 2) {
|
|
39814
40049
|
i0.ɵɵproperty("ngIf", ctx.isVisible);
|
|
@@ -39816,15 +40051,17 @@ class CaseListFiltersComponent {
|
|
|
39816
40051
|
}
|
|
39817
40052
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListFiltersComponent, [{
|
|
39818
40053
|
type: Component,
|
|
39819
|
-
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" }]
|
|
40054
|
+
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" }]
|
|
39820
40055
|
}], () => [{ type: DefinitionsService }], { defaults: [{
|
|
39821
40056
|
type: Input
|
|
39822
40057
|
}], onApply: [{
|
|
39823
40058
|
type: Output
|
|
39824
40059
|
}], onReset: [{
|
|
39825
40060
|
type: Output
|
|
40061
|
+
}], validationErrors: [{
|
|
40062
|
+
type: Output
|
|
39826
40063
|
}] }); })();
|
|
39827
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseListFiltersComponent, { className: "CaseListFiltersComponent", filePath: "lib/shared/components/case-list-filters/case-list-filters.component.ts", lineNumber:
|
|
40064
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseListFiltersComponent, { className: "CaseListFiltersComponent", filePath: "lib/shared/components/case-list-filters/case-list-filters.component.ts", lineNumber: 12 }); })();
|
|
39828
40065
|
|
|
39829
40066
|
class CaseListFiltersModule {
|
|
39830
40067
|
static ɵfac = function CaseListFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersModule)(); };
|
|
@@ -46641,5 +46878,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46641
46878
|
* Generated bundle index. Do not edit.
|
|
46642
46879
|
*/
|
|
46643
46880
|
|
|
46644
|
-
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, 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 };
|
|
46881
|
+
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, 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 };
|
|
46645
46882
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|