@hmcts/ccd-case-ui-toolkit 7.4.24-exui-5453-1 → 7.4.25-5516
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 +67 -434
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +15 -60
- package/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -61,8 +61,8 @@ 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$
|
|
65
|
-
const _c1$
|
|
64
|
+
const _c0$1a = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
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);
|
|
68
68
|
i0.ɵɵprojection(2);
|
|
@@ -138,8 +138,8 @@ class FooterComponent {
|
|
|
138
138
|
phone;
|
|
139
139
|
workhours;
|
|
140
140
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
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$
|
|
142
|
-
i0.ɵɵprojectionDef(_c0$
|
|
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$1a);
|
|
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,8 +780,8 @@ class ProfileService {
|
|
|
780
780
|
type: Injectable
|
|
781
781
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
782
782
|
|
|
783
|
-
const _c0$
|
|
784
|
-
const _c1$
|
|
783
|
+
const _c0$19 = [[["", "headerNavigation", ""]]];
|
|
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);
|
|
787
787
|
i0.ɵɵelement(2, "img", 13);
|
|
@@ -830,8 +830,8 @@ class HeaderBarComponent {
|
|
|
830
830
|
this.signOutRequest.emit();
|
|
831
831
|
}
|
|
832
832
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
|
|
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$
|
|
834
|
-
i0.ɵɵprojectionDef(_c0$
|
|
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$19);
|
|
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$
|
|
889
|
-
const _c1$
|
|
888
|
+
const _c0$18 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
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
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$
|
|
894
|
-
i0.ɵɵprojectionDef(_c0$
|
|
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$18);
|
|
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$
|
|
1013
|
-
const _c1$
|
|
1012
|
+
const _c0$17 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
1013
|
+
const _c1$t = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
1014
1014
|
class BodyComponent {
|
|
1015
1015
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
1016
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$
|
|
1017
|
-
i0.ɵɵprojectionDef(_c0$
|
|
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$17);
|
|
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$16 = 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$16, 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$16, 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$16, 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$16, 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$16, 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$16, 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$15 = ["*"];
|
|
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$15, 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,20 +1634,20 @@ 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$
|
|
1638
|
-
const _c1$
|
|
1637
|
+
const _c0$14 = ["*"];
|
|
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$14, 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);
|
|
1648
1648
|
i0.ɵɵelementEnd();
|
|
1649
1649
|
} if (rf & 2) {
|
|
1650
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$
|
|
1650
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$s, !ctx.selected));
|
|
1651
1651
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1652
1652
|
} }, dependencies: [i5.NgClass], 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}.tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media(max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
1653
1653
|
}
|
|
@@ -1663,8 +1663,8 @@ 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$
|
|
1667
|
-
const _c1$
|
|
1666
|
+
const _c0$13 = ["tab"];
|
|
1667
|
+
const _c1$r = ["*"];
|
|
1668
1668
|
const _c2$5 = () => ["."];
|
|
1669
1669
|
const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
1670
1670
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1710,11 +1710,11 @@ 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$13, 5);
|
|
1714
1714
|
} if (rf & 2) {
|
|
1715
1715
|
let _t;
|
|
1716
1716
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
1717
|
-
} }, standalone: false, ngContentSelectors: _c1$
|
|
1717
|
+
} }, standalone: false, ngContentSelectors: _c1$r, decls: 5, vars: 1, consts: [["tab", ""], [1, "tabs"], ["role", "list", 1, "tabs-list"], ["class", "tabs-list-item", 4, "ngFor", "ngForOf"], [1, "tabs-content"], [1, "tabs-list-item"], ["role", "tab", "tabindex", "0", 1, "tabs-toggle", 3, "click", "routerLink", "fragment", "ngClass"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1718
1718
|
i0.ɵɵprojectionDef();
|
|
1719
1719
|
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
1720
1720
|
i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
|
|
@@ -1769,7 +1769,7 @@ class TabsModule {
|
|
|
1769
1769
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1770
1770
|
TabComponent] }); })();
|
|
1771
1771
|
|
|
1772
|
-
const _c0$
|
|
1772
|
+
const _c0$12 = (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$12, 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);
|
|
@@ -4053,6 +4053,7 @@ class CaseTab {
|
|
|
4053
4053
|
order;
|
|
4054
4054
|
fields;
|
|
4055
4055
|
show_condition;
|
|
4056
|
+
defaultFocus;
|
|
4056
4057
|
}
|
|
4057
4058
|
__decorate([
|
|
4058
4059
|
Type(() => CaseField),
|
|
@@ -12863,11 +12864,6 @@ class CaseEditPageComponent {
|
|
|
12863
12864
|
fieldElement['component'].errors = { required: true };
|
|
12864
12865
|
}
|
|
12865
12866
|
}
|
|
12866
|
-
else if (fieldElement.hasError('dateInputRequired') || fieldElement.hasError('dateInputInvalid')) {
|
|
12867
|
-
const message = fieldElement.getError('dateInputRequired') || fieldElement.getError('dateInputInvalid');
|
|
12868
|
-
this.caseEditDataService.addFormValidationError({ id, message });
|
|
12869
|
-
fieldElement.markAsDirty();
|
|
12870
|
-
}
|
|
12871
12867
|
else if (fieldElement.hasError('pattern')) {
|
|
12872
12868
|
this.caseEditDataService.addFormValidationError({ id, message: `%FIELDLABEL% is not valid`, label });
|
|
12873
12869
|
fieldElement.markAsDirty();
|
|
@@ -13687,7 +13683,7 @@ class CaseEventCompletionComponent {
|
|
|
13687
13683
|
}] }); })();
|
|
13688
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 }); })();
|
|
13689
13685
|
|
|
13690
|
-
const _c0$
|
|
13686
|
+
const _c0$11 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13691
13687
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13692
13688
|
context;
|
|
13693
13689
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13756,7 +13752,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13756
13752
|
i0.ɵɵadvance(4);
|
|
13757
13753
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13758
13754
|
i0.ɵɵadvance(2);
|
|
13759
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13755
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$11, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13760
13756
|
i0.ɵɵadvance();
|
|
13761
13757
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13762
13758
|
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13771,7 +13767,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13771
13767
|
}] }); })();
|
|
13772
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 }); })();
|
|
13773
13769
|
|
|
13774
|
-
const _c0$
|
|
13770
|
+
const _c0$10 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13775
13771
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13776
13772
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13777
13773
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13824,7 +13820,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13824
13820
|
i0.ɵɵadvance(4);
|
|
13825
13821
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13826
13822
|
i0.ɵɵadvance(2);
|
|
13827
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$
|
|
13823
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$10, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
13828
13824
|
i0.ɵɵadvance();
|
|
13829
13825
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13830
13826
|
} }
|
|
@@ -14227,8 +14223,8 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14227
14223
|
}] }); })();
|
|
14228
14224
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14229
14225
|
|
|
14230
|
-
const _c0
|
|
14231
|
-
const _c1$
|
|
14226
|
+
const _c0$$ = ["writeComplexFieldComponent"];
|
|
14227
|
+
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
14232
14228
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14233
14229
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
14234
14230
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -14265,7 +14261,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
|
|
|
14265
14261
|
i0.ɵɵelementEnd()();
|
|
14266
14262
|
} if (rf & 2) {
|
|
14267
14263
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14268
|
-
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$
|
|
14264
|
+
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$q, ctx_r0.missingPostcode));
|
|
14269
14265
|
i0.ɵɵadvance();
|
|
14270
14266
|
i0.ɵɵproperty("for", ctx_r0.createElementId("postcodeInput"));
|
|
14271
14267
|
i0.ɵɵadvance(2);
|
|
@@ -14333,7 +14329,7 @@ function WriteAddressFieldComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1)
|
|
|
14333
14329
|
i0.ɵɵelementEnd()();
|
|
14334
14330
|
} if (rf & 2) {
|
|
14335
14331
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14336
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$
|
|
14332
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$q, ctx_r0.noAddressSelected));
|
|
14337
14333
|
i0.ɵɵadvance();
|
|
14338
14334
|
i0.ɵɵproperty("for", ctx_r0.createElementId("addressList"));
|
|
14339
14335
|
i0.ɵɵadvance(2);
|
|
@@ -14506,7 +14502,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14506
14502
|
}
|
|
14507
14503
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14508
14504
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14509
|
-
i0.ɵɵviewQuery(_c0
|
|
14505
|
+
i0.ɵɵviewQuery(_c0$$, 5);
|
|
14510
14506
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14511
14507
|
} if (rf & 2) {
|
|
14512
14508
|
let _t;
|
|
@@ -14569,7 +14565,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14569
14565
|
type: Input
|
|
14570
14566
|
}] }); })();
|
|
14571
14567
|
|
|
14572
|
-
const _c0
|
|
14568
|
+
const _c0$_ = ["journeyChild"];
|
|
14573
14569
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14574
14570
|
multipageComponentStateService;
|
|
14575
14571
|
journeyStartPageNumber = 0;
|
|
@@ -14644,7 +14640,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14644
14640
|
;
|
|
14645
14641
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14646
14642
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14647
|
-
i0.ɵɵviewQuery(_c0
|
|
14643
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
14648
14644
|
} if (rf & 2) {
|
|
14649
14645
|
let _t;
|
|
14650
14646
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14659,7 +14655,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14659
14655
|
args: ['journeyChild']
|
|
14660
14656
|
}] }); })();
|
|
14661
14657
|
|
|
14662
|
-
const _c0$
|
|
14658
|
+
const _c0$Z = ["journeyChild"];
|
|
14663
14659
|
class AbstractJourneyComponent {
|
|
14664
14660
|
multipageComponentStateService;
|
|
14665
14661
|
journeyStartPageNumber = 0;
|
|
@@ -14721,7 +14717,7 @@ class AbstractJourneyComponent {
|
|
|
14721
14717
|
onPageChange() { }
|
|
14722
14718
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14723
14719
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14724
|
-
i0.ɵɵviewQuery(_c0$
|
|
14720
|
+
i0.ɵɵviewQuery(_c0$Z, 5);
|
|
14725
14721
|
} if (rf & 2) {
|
|
14726
14722
|
let _t;
|
|
14727
14723
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -16206,8 +16202,8 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16206
16202
|
}], null, null); })();
|
|
16207
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 }); })();
|
|
16208
16204
|
|
|
16209
|
-
const _c0$
|
|
16210
|
-
const _c1$
|
|
16205
|
+
const _c0$Y = ["writeComplexFieldComponent"];
|
|
16206
|
+
const _c1$p = a0 => ({ "form-group-error": a0 });
|
|
16211
16207
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16212
16208
|
i0.ɵɵelementStart(0, "span", 6);
|
|
16213
16209
|
i0.ɵɵtext(1);
|
|
@@ -16287,7 +16283,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16287
16283
|
}
|
|
16288
16284
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16289
16285
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16290
|
-
i0.ɵɵviewQuery(_c0$
|
|
16286
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
16291
16287
|
} if (rf & 2) {
|
|
16292
16288
|
let _t;
|
|
16293
16289
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16299,7 +16295,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16299
16295
|
i0.ɵɵelement(5, "input", 5);
|
|
16300
16296
|
i0.ɵɵelementEnd();
|
|
16301
16297
|
} if (rf & 2) {
|
|
16302
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16298
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$p, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
16303
16299
|
i0.ɵɵadvance();
|
|
16304
16300
|
i0.ɵɵproperty("for", ctx.id());
|
|
16305
16301
|
i0.ɵɵadvance();
|
|
@@ -16321,8 +16317,8 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16321
16317
|
}] }); })();
|
|
16322
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 }); })();
|
|
16323
16319
|
|
|
16324
|
-
const _c0$
|
|
16325
|
-
const _c1$
|
|
16320
|
+
const _c0$X = (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
|
+
const _c1$o = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
16326
16322
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16327
16323
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
16328
16324
|
i0.ɵɵelement(2, "th", 4);
|
|
@@ -16332,7 +16328,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16332
16328
|
} if (rf & 2) {
|
|
16333
16329
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16334
16330
|
i0.ɵɵadvance(4);
|
|
16335
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$
|
|
16331
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$X, 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);
|
|
16336
16332
|
} }
|
|
16337
16333
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16338
16334
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16343,7 +16339,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
16343
16339
|
const i_r3 = ctx.index;
|
|
16344
16340
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
16345
16341
|
i0.ɵɵadvance(2);
|
|
16346
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$
|
|
16342
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$o, i_r3 + "", ctx_r0.caseField.label + " " + (i_r3 + 1), ctx_r0.caseField.field_type.collection_field_type, item_r2.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.buildIdPrefix(i_r3));
|
|
16347
16343
|
} }
|
|
16348
16344
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
16349
16345
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -16454,7 +16450,7 @@ class RemoveDialogComponent {
|
|
|
16454
16450
|
}], () => [{ type: i1$3.MatDialogRef }], null); })();
|
|
16455
16451
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16456
16452
|
|
|
16457
|
-
const _c0$
|
|
16453
|
+
const _c0$W = ["collectionItem"];
|
|
16458
16454
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16459
16455
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16460
16456
|
i0.ɵɵtext(1);
|
|
@@ -16875,7 +16871,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16875
16871
|
}
|
|
16876
16872
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16877
16873
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16878
|
-
i0.ɵɵviewQuery(_c0$
|
|
16874
|
+
i0.ɵɵviewQuery(_c0$W, 5);
|
|
16879
16875
|
} if (rf & 2) {
|
|
16880
16876
|
let _t;
|
|
16881
16877
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -16986,361 +16982,6 @@ class ReadComplexFieldComponent extends AbstractFieldReadComponent {
|
|
|
16986
16982
|
}] }); })();
|
|
16987
16983
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldComponent, { className: "ReadComplexFieldComponent", filePath: "lib/shared/components/palette/complex/read-complex-field.component.ts", lineNumber: 11 }); })();
|
|
16988
16984
|
|
|
16989
|
-
const DATE_INPUT_REQUIRED = 'dateInputRequired';
|
|
16990
|
-
const DATE_INPUT_INVALID = 'dateInputInvalid';
|
|
16991
|
-
const TIMELINE_OF_EVENTS_DATE_LABEL_FIELD_ID = 'timelineDateLabel';
|
|
16992
|
-
const TIMELINE_OF_EVENTS_DATE_INPUT = {
|
|
16993
|
-
day: {
|
|
16994
|
-
fieldId: 'timelineDay',
|
|
16995
|
-
label: 'Day',
|
|
16996
|
-
cssClass: 'form-group-day',
|
|
16997
|
-
maxLength: 2
|
|
16998
|
-
},
|
|
16999
|
-
month: {
|
|
17000
|
-
fieldId: 'timelineMonth',
|
|
17001
|
-
label: 'Month',
|
|
17002
|
-
cssClass: 'form-group-month',
|
|
17003
|
-
maxLength: 2
|
|
17004
|
-
},
|
|
17005
|
-
year: {
|
|
17006
|
-
fieldId: 'timelineYear',
|
|
17007
|
-
label: 'Year',
|
|
17008
|
-
cssClass: 'form-group-year',
|
|
17009
|
-
maxLength: 4
|
|
17010
|
-
}
|
|
17011
|
-
};
|
|
17012
|
-
function isTimelineOfEventsDateInputConfigured(caseField) {
|
|
17013
|
-
const complexFields = caseField?.field_type?.complex_fields;
|
|
17014
|
-
if (!complexFields?.length) {
|
|
17015
|
-
return false;
|
|
17016
|
-
}
|
|
17017
|
-
const displayContext = (fieldId) => complexFields.find((field) => field?.id === fieldId)?.display_context?.toUpperCase();
|
|
17018
|
-
return displayContext(TIMELINE_OF_EVENTS_DATE_LABEL_FIELD_ID) === 'READONLY'
|
|
17019
|
-
&& displayContext(TIMELINE_OF_EVENTS_DATE_INPUT.day.fieldId) === 'OPTIONAL'
|
|
17020
|
-
&& displayContext(TIMELINE_OF_EVENTS_DATE_INPUT.month.fieldId) === 'MANDATORY'
|
|
17021
|
-
&& displayContext(TIMELINE_OF_EVENTS_DATE_INPUT.year.fieldId) === 'MANDATORY';
|
|
17022
|
-
}
|
|
17023
|
-
|
|
17024
|
-
const _c0$W = a0 => ({ "form-group-error": a0 });
|
|
17025
|
-
const _c1$o = a0 => ({ "govuk-input--error": a0 });
|
|
17026
|
-
function WriteTimelineOfEventsFieldComponent_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
17027
|
-
i0.ɵɵelementStart(0, "span", 3);
|
|
17028
|
-
i0.ɵɵtext(1);
|
|
17029
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
17030
|
-
i0.ɵɵelementEnd();
|
|
17031
|
-
} if (rf & 2) {
|
|
17032
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17033
|
-
i0.ɵɵproperty("id", ctx_r0.serviceHintId());
|
|
17034
|
-
i0.ɵɵadvance();
|
|
17035
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.caseField.hint_text));
|
|
17036
|
-
} }
|
|
17037
|
-
function WriteTimelineOfEventsFieldComponent_span_11_Template(rf, ctx) { if (rf & 1) {
|
|
17038
|
-
i0.ɵɵelementStart(0, "span", 9);
|
|
17039
|
-
i0.ɵɵtext(1);
|
|
17040
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
17041
|
-
i0.ɵɵelementEnd();
|
|
17042
|
-
} if (rf & 2) {
|
|
17043
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17044
|
-
i0.ɵɵproperty("id", ctx_r0.dateInputGroupErrorId());
|
|
17045
|
-
i0.ɵɵadvance();
|
|
17046
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, ctx_r0.dateInputErrorMessage()), " ");
|
|
17047
|
-
} }
|
|
17048
|
-
function WriteTimelineOfEventsFieldComponent_div_13_ccd_field_read_3_Template(rf, ctx) { if (rf & 1) {
|
|
17049
|
-
i0.ɵɵelement(0, "ccd-field-read", 14);
|
|
17050
|
-
} if (rf & 2) {
|
|
17051
|
-
const part_r2 = i0.ɵɵnextContext().$implicit;
|
|
17052
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17053
|
-
i0.ɵɵproperty("caseField", ctx_r0.buildField(part_r2.field))("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("withLabel", true);
|
|
17054
|
-
} }
|
|
17055
|
-
function WriteTimelineOfEventsFieldComponent_div_13_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
17056
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
17057
|
-
i0.ɵɵelementContainerStart(0);
|
|
17058
|
-
i0.ɵɵelementStart(1, "label", 15);
|
|
17059
|
-
i0.ɵɵtext(2);
|
|
17060
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
17061
|
-
i0.ɵɵelementEnd();
|
|
17062
|
-
i0.ɵɵelementStart(4, "input", 16);
|
|
17063
|
-
i0.ɵɵlistener("input", function WriteTimelineOfEventsFieldComponent_div_13_ng_container_4_Template_input_input_4_listener() { i0.ɵɵrestoreView(_r3); const part_r2 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.clearEmptyDatePart(part_r2.control)); });
|
|
17064
|
-
i0.ɵɵelementEnd();
|
|
17065
|
-
i0.ɵɵelementContainerEnd();
|
|
17066
|
-
} if (rf & 2) {
|
|
17067
|
-
const part_r2 = i0.ɵɵnextContext().$implicit;
|
|
17068
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17069
|
-
i0.ɵɵadvance();
|
|
17070
|
-
i0.ɵɵproperty("for", ctx_r0.dateInputId(part_r2.fieldId));
|
|
17071
|
-
i0.ɵɵadvance();
|
|
17072
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, ctx_r0.dateInputLabel(part_r2.fieldId, part_r2.label)));
|
|
17073
|
-
i0.ɵɵadvance(2);
|
|
17074
|
-
i0.ɵɵproperty("formControl", part_r2.control)("id", ctx_r0.dateInputId(part_r2.fieldId))("name", ctx_r0.dateInputId(part_r2.fieldId))("maxlength", part_r2.maxLength)("ngClass", i0.ɵɵpureFunction1(10, _c1$o, ctx_r0.hasVisibleDateInputError()));
|
|
17075
|
-
i0.ɵɵattribute("aria-describedby", ctx_r0.dateInputDescribedBy());
|
|
17076
|
-
} }
|
|
17077
|
-
function WriteTimelineOfEventsFieldComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
17078
|
-
i0.ɵɵelementStart(0, "div", 10);
|
|
17079
|
-
i0.ɵɵelementContainerStart(1, 11);
|
|
17080
|
-
i0.ɵɵpipe(2, "ccdIsReadOnly");
|
|
17081
|
-
i0.ɵɵtemplate(3, WriteTimelineOfEventsFieldComponent_div_13_ccd_field_read_3_Template, 1, 4, "ccd-field-read", 12)(4, WriteTimelineOfEventsFieldComponent_div_13_ng_container_4_Template, 5, 12, "ng-container", 13);
|
|
17082
|
-
i0.ɵɵelementContainerEnd();
|
|
17083
|
-
i0.ɵɵelementEnd();
|
|
17084
|
-
} if (rf & 2) {
|
|
17085
|
-
const part_r2 = ctx.$implicit;
|
|
17086
|
-
i0.ɵɵproperty("ngClass", part_r2.cssClass)("hidden", part_r2.field.hidden || (part_r2.field.display_context == null ? null : part_r2.field.display_context.toUpperCase()) === "HIDDEN");
|
|
17087
|
-
i0.ɵɵadvance();
|
|
17088
|
-
i0.ɵɵproperty("ngSwitch", i0.ɵɵpipeBind1(2, 5, part_r2.field));
|
|
17089
|
-
i0.ɵɵadvance(2);
|
|
17090
|
-
i0.ɵɵproperty("ngSwitchCase", true);
|
|
17091
|
-
i0.ɵɵadvance();
|
|
17092
|
-
i0.ɵɵproperty("ngSwitchCase", false);
|
|
17093
|
-
} }
|
|
17094
|
-
function WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_ccd_field_read_3_Template(rf, ctx) { if (rf & 1) {
|
|
17095
|
-
i0.ɵɵelement(0, "ccd-field-read", 14);
|
|
17096
|
-
} if (rf & 2) {
|
|
17097
|
-
const field_r4 = i0.ɵɵnextContext(2).$implicit;
|
|
17098
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17099
|
-
i0.ɵɵproperty("caseField", ctx_r0.buildField(field_r4))("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("withLabel", true);
|
|
17100
|
-
} }
|
|
17101
|
-
function WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_ccd_field_write_4_Template(rf, ctx) { if (rf & 1) {
|
|
17102
|
-
i0.ɵɵelement(0, "ccd-field-write", 19);
|
|
17103
|
-
} if (rf & 2) {
|
|
17104
|
-
const field_r4 = i0.ɵɵnextContext(2).$implicit;
|
|
17105
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17106
|
-
i0.ɵɵproperty("caseField", field_r4)("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("parent", ctx_r0.complexGroup)("idPrefix", ctx_r0.buildIdPrefix(field_r4))("hidden", field_r4.hidden)("isExpanded", ctx_r0.isExpanded)("isInSearchBlock", ctx_r0.isInSearchBlock);
|
|
17107
|
-
} }
|
|
17108
|
-
function WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
17109
|
-
i0.ɵɵelementContainerStart(0)(1, 11);
|
|
17110
|
-
i0.ɵɵpipe(2, "ccdIsReadOnly");
|
|
17111
|
-
i0.ɵɵtemplate(3, WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_ccd_field_read_3_Template, 1, 4, "ccd-field-read", 12)(4, WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_ccd_field_write_4_Template, 1, 8, "ccd-field-write", 18);
|
|
17112
|
-
i0.ɵɵelementContainerEnd()();
|
|
17113
|
-
} if (rf & 2) {
|
|
17114
|
-
const field_r4 = i0.ɵɵnextContext().$implicit;
|
|
17115
|
-
i0.ɵɵadvance();
|
|
17116
|
-
i0.ɵɵproperty("ngSwitch", i0.ɵɵpipeBind1(2, 3, field_r4));
|
|
17117
|
-
i0.ɵɵadvance(2);
|
|
17118
|
-
i0.ɵɵproperty("ngSwitchCase", true);
|
|
17119
|
-
i0.ɵɵadvance();
|
|
17120
|
-
i0.ɵɵproperty("ngSwitchCase", false);
|
|
17121
|
-
} }
|
|
17122
|
-
function WriteTimelineOfEventsFieldComponent_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
17123
|
-
i0.ɵɵelementContainerStart(0);
|
|
17124
|
-
i0.ɵɵtemplate(1, WriteTimelineOfEventsFieldComponent_ng_container_14_ng_container_1_Template, 5, 5, "ng-container", 17);
|
|
17125
|
-
i0.ɵɵelementContainerEnd();
|
|
17126
|
-
} if (rf & 2) {
|
|
17127
|
-
const field_r4 = ctx.$implicit;
|
|
17128
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
17129
|
-
i0.ɵɵadvance();
|
|
17130
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.isDateInputPart(field_r4) && field_r4.id !== "timelineDateLabel");
|
|
17131
|
-
} }
|
|
17132
|
-
class WriteTimelineOfEventsFieldComponent extends WriteComplexFieldComponent {
|
|
17133
|
-
dayControl;
|
|
17134
|
-
monthControl;
|
|
17135
|
-
yearControl;
|
|
17136
|
-
dateInputParts = [];
|
|
17137
|
-
dateInputSubscriptions = [];
|
|
17138
|
-
constructor(isCompoundPipe, formValidatorsService) {
|
|
17139
|
-
super(isCompoundPipe, formValidatorsService);
|
|
17140
|
-
}
|
|
17141
|
-
ngOnInit() {
|
|
17142
|
-
super.ngOnInit();
|
|
17143
|
-
const configuration = TIMELINE_OF_EVENTS_DATE_INPUT;
|
|
17144
|
-
this.dayControl = this.complexGroup.get(configuration.day.fieldId);
|
|
17145
|
-
this.monthControl = this.complexGroup.get(configuration.month.fieldId);
|
|
17146
|
-
this.yearControl = this.complexGroup.get(configuration.year.fieldId);
|
|
17147
|
-
this.dateInputParts = Object.values(configuration).map((part) => ({
|
|
17148
|
-
...part,
|
|
17149
|
-
control: this.complexGroup.get(part.fieldId),
|
|
17150
|
-
field: this.complexFields.find((field) => field.id === part.fieldId)
|
|
17151
|
-
}));
|
|
17152
|
-
this.configureDateInputControls();
|
|
17153
|
-
this.complexGroup.updateValueAndValidity({ emitEvent: true });
|
|
17154
|
-
}
|
|
17155
|
-
ngOnDestroy() {
|
|
17156
|
-
this.dateInputSubscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
17157
|
-
}
|
|
17158
|
-
isDateInputPart(field) {
|
|
17159
|
-
return this.dateInputParts.some((part) => part.fieldId === field?.id);
|
|
17160
|
-
}
|
|
17161
|
-
dateQuestionLabel() {
|
|
17162
|
-
return this.dateLabelField()?.label;
|
|
17163
|
-
}
|
|
17164
|
-
dateInputHintText() {
|
|
17165
|
-
return this.dateLabelField()?.hint_text;
|
|
17166
|
-
}
|
|
17167
|
-
hasOptionalDatePart() {
|
|
17168
|
-
return this.dateInputParts.some((part) => this.isDateInputPartOptional(part.fieldId));
|
|
17169
|
-
}
|
|
17170
|
-
dateInputId(fieldId) {
|
|
17171
|
-
const field = this.getConfiguredField(fieldId);
|
|
17172
|
-
return `${this.buildIdPrefix(field)}${field.id}`;
|
|
17173
|
-
}
|
|
17174
|
-
dateInputLabel(fieldId, fallbackLabel) {
|
|
17175
|
-
const label = this.getConfiguredField(fieldId)?.label || fallbackLabel;
|
|
17176
|
-
return this.isDatePartMandatory(fieldId) ? label : `${label} (optional)`;
|
|
17177
|
-
}
|
|
17178
|
-
isDateInputPartOptional(fieldId) {
|
|
17179
|
-
return !this.isDatePartMandatory(fieldId);
|
|
17180
|
-
}
|
|
17181
|
-
dateInputHintId() {
|
|
17182
|
-
return `${this.id()}-date-hint`;
|
|
17183
|
-
}
|
|
17184
|
-
dateInputGroupErrorId() {
|
|
17185
|
-
return `${this.id()}-date-error`;
|
|
17186
|
-
}
|
|
17187
|
-
serviceHintId() {
|
|
17188
|
-
return `${this.id()}-service-hint`;
|
|
17189
|
-
}
|
|
17190
|
-
hasVisibleError(control) {
|
|
17191
|
-
return !!control?.errors && (control.dirty || control.touched);
|
|
17192
|
-
}
|
|
17193
|
-
hasVisibleDateInputError() {
|
|
17194
|
-
return [this.dayControl, this.monthControl, this.yearControl].some((control) => this.hasVisibleError(control));
|
|
17195
|
-
}
|
|
17196
|
-
dateInputErrorMessage() {
|
|
17197
|
-
const controls = [this.dayControl, this.monthControl, this.yearControl];
|
|
17198
|
-
if (controls.some((control) => control?.errors?.[DATE_INPUT_REQUIRED])) {
|
|
17199
|
-
return 'Date is required';
|
|
17200
|
-
}
|
|
17201
|
-
if (controls.some((control) => control?.errors?.[DATE_INPUT_INVALID])) {
|
|
17202
|
-
return 'Enter a valid date';
|
|
17203
|
-
}
|
|
17204
|
-
return '';
|
|
17205
|
-
}
|
|
17206
|
-
dateInputDescribedBy() {
|
|
17207
|
-
const ids = [this.dateInputHintId()];
|
|
17208
|
-
if (this.caseField.hint_text) {
|
|
17209
|
-
ids.push(this.serviceHintId());
|
|
17210
|
-
}
|
|
17211
|
-
if (this.hasVisibleDateInputError()) {
|
|
17212
|
-
ids.push(this.dateInputGroupErrorId());
|
|
17213
|
-
}
|
|
17214
|
-
return ids.join(' ');
|
|
17215
|
-
}
|
|
17216
|
-
clearEmptyDatePart(control) {
|
|
17217
|
-
if (control.value === '') {
|
|
17218
|
-
control.setValue(null);
|
|
17219
|
-
}
|
|
17220
|
-
}
|
|
17221
|
-
dateLabelField() {
|
|
17222
|
-
return this.caseField?.field_type?.complex_fields?.find((field) => field?.id === TIMELINE_OF_EVENTS_DATE_LABEL_FIELD_ID);
|
|
17223
|
-
}
|
|
17224
|
-
configureDateInputControls() {
|
|
17225
|
-
const configuration = TIMELINE_OF_EVENTS_DATE_INPUT;
|
|
17226
|
-
const partValidator = (part) => (current) => {
|
|
17227
|
-
if (this.isDatePartHiddenOrReadOnly(part.fieldId)) {
|
|
17228
|
-
return null;
|
|
17229
|
-
}
|
|
17230
|
-
const label = part.label.toLowerCase();
|
|
17231
|
-
const value = this.asText(current.value);
|
|
17232
|
-
if (!value) {
|
|
17233
|
-
return this.isDatePartMandatory(part.fieldId)
|
|
17234
|
-
? { [DATE_INPUT_REQUIRED]: `${label[0].toUpperCase()}${label.slice(1)} is required` }
|
|
17235
|
-
: null;
|
|
17236
|
-
}
|
|
17237
|
-
if (!/^\d+$/.test(value) || value.length > part.maxLength) {
|
|
17238
|
-
return { [DATE_INPUT_INVALID]: `Enter a valid ${label}` };
|
|
17239
|
-
}
|
|
17240
|
-
if (part.fieldId === configuration.month.fieldId && !moment.utc([2000, Number(value) - 1, 1]).isValid()) {
|
|
17241
|
-
return { [DATE_INPUT_INVALID]: 'Enter a valid month' };
|
|
17242
|
-
}
|
|
17243
|
-
if (part.fieldId === configuration.year.fieldId) {
|
|
17244
|
-
const parsedYear = moment.utc([Number(value), 0, 1]);
|
|
17245
|
-
if (!parsedYear.isValid() || parsedYear.year() < 1) {
|
|
17246
|
-
return { [DATE_INPUT_INVALID]: 'Enter a valid year' };
|
|
17247
|
-
}
|
|
17248
|
-
}
|
|
17249
|
-
return null;
|
|
17250
|
-
};
|
|
17251
|
-
this.monthControl.setValidators(partValidator(configuration.month));
|
|
17252
|
-
this.yearControl.setValidators(partValidator(configuration.year));
|
|
17253
|
-
this.monthControl.updateValueAndValidity({ onlySelf: true, emitEvent: false });
|
|
17254
|
-
this.yearControl.updateValueAndValidity({ onlySelf: true, emitEvent: false });
|
|
17255
|
-
const validDateValidator = (control) => {
|
|
17256
|
-
if (Object.values(configuration).some((part) => this.isDatePartHiddenOrReadOnly(part.fieldId))) {
|
|
17257
|
-
return null;
|
|
17258
|
-
}
|
|
17259
|
-
const day = this.asText(control.value);
|
|
17260
|
-
const month = this.asText(this.monthControl.value);
|
|
17261
|
-
const year = this.asText(this.yearControl.value);
|
|
17262
|
-
if (!day || !month || !year || !/^\d+$/.test(day) || !/^\d+$/.test(month) || !/^\d+$/.test(year)
|
|
17263
|
-
|| this.monthControl.errors?.[DATE_INPUT_INVALID] || this.yearControl.errors?.[DATE_INPUT_INVALID]) {
|
|
17264
|
-
return null;
|
|
17265
|
-
}
|
|
17266
|
-
return moment.utc([Number(year), Number(month) - 1, Number(day)]).isValid()
|
|
17267
|
-
? null
|
|
17268
|
-
: { [DATE_INPUT_INVALID]: 'Enter a valid date' };
|
|
17269
|
-
};
|
|
17270
|
-
this.dayControl.setValidators([
|
|
17271
|
-
partValidator(configuration.day),
|
|
17272
|
-
validDateValidator
|
|
17273
|
-
]);
|
|
17274
|
-
this.dayControl.updateValueAndValidity({ onlySelf: true, emitEvent: false });
|
|
17275
|
-
[this.monthControl, this.yearControl].forEach((control) => {
|
|
17276
|
-
this.dateInputSubscriptions.push(control.valueChanges.subscribe(() => {
|
|
17277
|
-
this.dayControl.updateValueAndValidity({ emitEvent: false });
|
|
17278
|
-
}));
|
|
17279
|
-
});
|
|
17280
|
-
}
|
|
17281
|
-
getConfiguredField(fieldId) {
|
|
17282
|
-
return this.complexFields?.find((field) => field?.id === fieldId)
|
|
17283
|
-
|| this.caseField?.field_type?.complex_fields?.find((field) => field?.id === fieldId);
|
|
17284
|
-
}
|
|
17285
|
-
isDatePartMandatory(fieldId) {
|
|
17286
|
-
const field = this.getConfiguredField(fieldId);
|
|
17287
|
-
const displayContext = field?.display_context?.toUpperCase();
|
|
17288
|
-
return !this.ignoreMandatory
|
|
17289
|
-
&& !this.isDatePartHiddenOrReadOnly(fieldId)
|
|
17290
|
-
&& displayContext !== 'OPTIONAL';
|
|
17291
|
-
}
|
|
17292
|
-
isDatePartHiddenOrReadOnly(fieldId) {
|
|
17293
|
-
const field = this.getConfiguredField(fieldId);
|
|
17294
|
-
const displayContext = field?.display_context?.toUpperCase();
|
|
17295
|
-
return field?.hidden === true || displayContext === 'HIDDEN' || displayContext === 'READONLY';
|
|
17296
|
-
}
|
|
17297
|
-
asText(value) {
|
|
17298
|
-
return value === null || value === undefined ? '' : String(value).trim();
|
|
17299
|
-
}
|
|
17300
|
-
static ɵfac = function WriteTimelineOfEventsFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteTimelineOfEventsFieldComponent)(i0.ɵɵdirectiveInject(IsCompoundPipe), i0.ɵɵdirectiveInject(FormValidatorsService)); };
|
|
17301
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTimelineOfEventsFieldComponent, selectors: [["ccd-write-timeline-of-events-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 17, consts: [[1, "form-group", 3, "id"], [1, "form-group", "bottom-30", 3, "ngClass"], [1, "form-label"], [1, "form-hint", 3, "id"], ["class", "form-hint", 3, "id", 4, "ngIf"], ["class", "error-message", 3, "id", 4, "ngIf"], [1, "form-date"], ["class", "form-group", 3, "ngClass", "hidden", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [1, "error-message", 3, "id"], [1, "form-group", 3, "ngClass", "hidden"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "withLabel", 4, "ngSwitchCase"], [4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "withLabel"], [1, "form-label", 3, "for"], ["type", "text", "pattern", "[0-9]*", "inputmode", "numeric", 1, "form-control", 3, "input", "formControl", "id", "name", "maxlength", "ngClass"], [4, "ngIf"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"]], template: function WriteTimelineOfEventsFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17302
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "fieldset")(3, "legend")(4, "span", 2);
|
|
17303
|
-
i0.ɵɵtext(5);
|
|
17304
|
-
i0.ɵɵpipe(6, "rpxTranslate");
|
|
17305
|
-
i0.ɵɵelementEnd()();
|
|
17306
|
-
i0.ɵɵelementStart(7, "span", 3);
|
|
17307
|
-
i0.ɵɵtext(8);
|
|
17308
|
-
i0.ɵɵpipe(9, "rpxTranslate");
|
|
17309
|
-
i0.ɵɵelementEnd();
|
|
17310
|
-
i0.ɵɵtemplate(10, WriteTimelineOfEventsFieldComponent_span_10_Template, 3, 4, "span", 4)(11, WriteTimelineOfEventsFieldComponent_span_11_Template, 3, 4, "span", 5);
|
|
17311
|
-
i0.ɵɵelementStart(12, "div", 6);
|
|
17312
|
-
i0.ɵɵtemplate(13, WriteTimelineOfEventsFieldComponent_div_13_Template, 5, 7, "div", 7);
|
|
17313
|
-
i0.ɵɵelementEnd()()();
|
|
17314
|
-
i0.ɵɵtemplate(14, WriteTimelineOfEventsFieldComponent_ng_container_14_Template, 2, 1, "ng-container", 8);
|
|
17315
|
-
i0.ɵɵelementEnd();
|
|
17316
|
-
} if (rf & 2) {
|
|
17317
|
-
i0.ɵɵproperty("id", ctx.id());
|
|
17318
|
-
i0.ɵɵadvance();
|
|
17319
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c0$W, ctx.hasVisibleDateInputError()));
|
|
17320
|
-
i0.ɵɵadvance(4);
|
|
17321
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 11, ctx.dateQuestionLabel()));
|
|
17322
|
-
i0.ɵɵadvance(2);
|
|
17323
|
-
i0.ɵɵproperty("id", ctx.dateInputHintId());
|
|
17324
|
-
i0.ɵɵadvance();
|
|
17325
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 13, ctx.dateInputHintText()));
|
|
17326
|
-
i0.ɵɵadvance(2);
|
|
17327
|
-
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
17328
|
-
i0.ɵɵadvance();
|
|
17329
|
-
i0.ɵɵproperty("ngIf", ctx.hasVisibleDateInputError());
|
|
17330
|
-
i0.ɵɵadvance();
|
|
17331
|
-
i0.ɵɵclassProp("form-date-has-optional-part", ctx.hasOptionalDatePart());
|
|
17332
|
-
i0.ɵɵadvance();
|
|
17333
|
-
i0.ɵɵproperty("ngForOf", ctx.dateInputParts);
|
|
17334
|
-
i0.ɵɵadvance();
|
|
17335
|
-
i0.ɵɵproperty("ngForOf", ctx.complexFields);
|
|
17336
|
-
} }, 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}", ".form-date-has-optional-part[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{min-height:2.5em;min-height:2lh}"] });
|
|
17337
|
-
}
|
|
17338
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTimelineOfEventsFieldComponent, [{
|
|
17339
|
-
type: Component,
|
|
17340
|
-
args: [{ selector: 'ccd-write-timeline-of-events-field', standalone: false, template: "<div class=\"form-group\" [id]=\"id()\">\n <div class=\"form-group bottom-30\"\n [ngClass]=\"{'form-group-error': hasVisibleDateInputError()}\">\n <fieldset>\n <legend>\n <span class=\"form-label\">{{dateQuestionLabel() | rpxTranslate}}</span>\n </legend>\n <span class=\"form-hint\" [id]=\"dateInputHintId()\">{{dateInputHintText() | rpxTranslate}}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\" [id]=\"serviceHintId()\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\" *ngIf=\"hasVisibleDateInputError()\" [id]=\"dateInputGroupErrorId()\">\n {{dateInputErrorMessage() | rpxTranslate}}\n </span>\n\n <div class=\"form-date\" [class.form-date-has-optional-part]=\"hasOptionalDatePart()\">\n <div class=\"form-group\"\n [ngClass]=\"part.cssClass\"\n [hidden]=\"part.field.hidden || part.field.display_context?.toUpperCase() === 'HIDDEN'\"\n *ngFor=\"let part of dateInputParts\">\n <ng-container [ngSwitch]=\"part.field | ccdIsReadOnly\">\n <ccd-field-read *ngSwitchCase=\"true\"\n ccdLabelSubstitutor\n [caseField]=\"buildField(part.field)\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [withLabel]=\"true\">\n </ccd-field-read>\n <ng-container *ngSwitchCase=\"false\">\n <label class=\"form-label\" [for]=\"dateInputId(part.fieldId)\">{{dateInputLabel(part.fieldId, part.label) | rpxTranslate}}</label>\n <input class=\"form-control\"\n [formControl]=\"part.control\"\n [id]=\"dateInputId(part.fieldId)\"\n [name]=\"dateInputId(part.fieldId)\"\n type=\"text\"\n [maxlength]=\"part.maxLength\"\n pattern=\"[0-9]*\"\n inputmode=\"numeric\"\n [attr.aria-describedby]=\"dateInputDescribedBy()\"\n [ngClass]=\"{'govuk-input--error': hasVisibleDateInputError()}\"\n (input)=\"clearEmptyDatePart(part.control)\">\n </ng-container>\n </ng-container>\n </div>\n </div>\n </fieldset>\n </div>\n\n <ng-container *ngFor=\"let field of complexFields\">\n <ng-container *ngIf=\"!isDateInputPart(field) && field.id !== 'timelineDateLabel'\">\n <ng-container [ngSwitch]=\"field | ccdIsReadOnly\">\n <ccd-field-read *ngSwitchCase=\"true\"\n ccdLabelSubstitutor\n [caseField]=\"buildField(field)\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [withLabel]=\"true\">\n </ccd-field-read>\n <ccd-field-write *ngSwitchCase=\"false\"\n ccdLabelSubstitutor\n [caseField]=\"field\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [parent]=\"complexGroup\"\n [idPrefix]=\"buildIdPrefix(field)\"\n [hidden]=\"field.hidden\"\n [isExpanded]=\"isExpanded\"\n [isInSearchBlock]=\"isInSearchBlock\">\n </ccd-field-write>\n </ng-container>\n </ng-container>\n </ng-container>\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}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{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 .complex-panel-title{font-size:19px;line-height:1.3157894737}}@media print{.complex-panel .complex-panel-title{font-size:14pt}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n", ".form-date-has-optional-part .form-group .form-label{min-height:2.5em;min-height:2lh}\n"] }]
|
|
17341
|
-
}], () => [{ type: IsCompoundPipe }, { type: FormValidatorsService }], null); })();
|
|
17342
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteTimelineOfEventsFieldComponent, { className: "WriteTimelineOfEventsFieldComponent", filePath: "lib/shared/components/palette/complex/write-timeline-of-events-field.component.ts", lineNumber: 23 }); })();
|
|
17343
|
-
|
|
17344
16985
|
class ReadDateFieldComponent extends AbstractFieldReadComponent {
|
|
17345
16986
|
timeZone = 'utc';
|
|
17346
16987
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDateFieldComponent_BaseFactory; return function ReadDateFieldComponent_Factory(__ngFactoryType__) { return (ɵReadDateFieldComponent_BaseFactory || (ɵReadDateFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadDateFieldComponent)))(__ngFactoryType__ || ReadDateFieldComponent); }; })();
|
|
@@ -30167,12 +29808,6 @@ class PaletteService {
|
|
|
30167
29808
|
return write ? WriteJudicialUserFieldComponent : ReadJudicialUserFieldComponent;
|
|
30168
29809
|
case 'StaffUser':
|
|
30169
29810
|
return write ? WriteStaffUserFieldComponent : ReadStaffUserFieldComponent;
|
|
30170
|
-
case 'TimelineOfEvents': {
|
|
30171
|
-
const writeComponent = isTimelineOfEventsDateInputConfigured(caseField)
|
|
30172
|
-
? WriteTimelineOfEventsFieldComponent
|
|
30173
|
-
: WriteComplexFieldComponent;
|
|
30174
|
-
return write ? writeComponent : ReadComplexFieldComponent;
|
|
30175
|
-
}
|
|
30176
29811
|
default:
|
|
30177
29812
|
return write ? WriteComplexFieldComponent : ReadComplexFieldComponent;
|
|
30178
29813
|
}
|
|
@@ -37093,7 +36728,6 @@ const PALETTE_COMPONENTS = [
|
|
|
37093
36728
|
WriteStaffUserFieldComponent,
|
|
37094
36729
|
WriteAddressFieldComponent,
|
|
37095
36730
|
WriteComplexFieldComponent,
|
|
37096
|
-
WriteTimelineOfEventsFieldComponent,
|
|
37097
36731
|
WriteOrganisationComplexFieldComponent,
|
|
37098
36732
|
WriteDocumentFieldComponent,
|
|
37099
36733
|
WriteDynamicListFieldComponent,
|
|
@@ -37400,7 +37034,6 @@ class PaletteModule {
|
|
|
37400
37034
|
WriteStaffUserFieldComponent,
|
|
37401
37035
|
WriteAddressFieldComponent,
|
|
37402
37036
|
WriteComplexFieldComponent,
|
|
37403
|
-
WriteTimelineOfEventsFieldComponent,
|
|
37404
37037
|
WriteOrganisationComplexFieldComponent,
|
|
37405
37038
|
WriteDocumentFieldComponent,
|
|
37406
37039
|
WriteDynamicListFieldComponent,
|
|
@@ -37567,7 +37200,6 @@ class PaletteModule {
|
|
|
37567
37200
|
WriteStaffUserFieldComponent,
|
|
37568
37201
|
WriteAddressFieldComponent,
|
|
37569
37202
|
WriteComplexFieldComponent,
|
|
37570
|
-
WriteTimelineOfEventsFieldComponent,
|
|
37571
37203
|
WriteOrganisationComplexFieldComponent,
|
|
37572
37204
|
WriteDocumentFieldComponent,
|
|
37573
37205
|
WriteDynamicListFieldComponent,
|
|
@@ -37677,8 +37309,6 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
37677
37309
|
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.DefaultValueAccessor, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, MarkdownComponent, WriteComplexFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
37678
37310
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
37679
37311
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
37680
|
-
i0.ɵɵsetComponentScope(WriteTimelineOfEventsFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MaxLengthValidator, i4.PatternValidator, i4.FormControlDirective, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
37681
|
-
FieldWriteComponent]; }, function () { return [IsReadOnlyPipe, i1.RpxTranslatePipe]; });
|
|
37682
37312
|
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i1$4.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
37683
37313
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
37684
37314
|
WriteDateFieldComponent]; }, []);
|
|
@@ -42085,7 +41715,7 @@ class CaseFullAccessViewComponent {
|
|
|
42085
41715
|
if (!hasHash && !isSpecialTabPath) {
|
|
42086
41716
|
const paths = url.split('/');
|
|
42087
41717
|
const lastPath = decodeURIComponent(paths[paths.length - 1]);
|
|
42088
|
-
let foundTab
|
|
41718
|
+
let foundTab;
|
|
42089
41719
|
if (!this.prependedTabs) {
|
|
42090
41720
|
this.prependedTabs = [];
|
|
42091
41721
|
}
|
|
@@ -42106,10 +41736,13 @@ class CaseFullAccessViewComponent {
|
|
|
42106
41736
|
});
|
|
42107
41737
|
}
|
|
42108
41738
|
else {
|
|
42109
|
-
this.caseDetails.tabs
|
|
41739
|
+
this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
|
|
41740
|
+
// Presuming default focus only set for one tab here - multiple tabs with default focus are not handled as is a contradiction
|
|
41741
|
+
let preSelectTab = this.caseDetails.tabs.find((tab) => tab.defaultFocus === true) ?? null;
|
|
41742
|
+
// Attempt to pre-select the tab based on the preferred label for the current case type
|
|
42110
41743
|
const preferredLabel = FieldsUtils.defaultTabList?.[this.caseDetails?.case_type?.id];
|
|
42111
|
-
|
|
42112
|
-
if (preferredLabel) {
|
|
41744
|
+
// If no tab has default focus, attempt to use the preferred label for the current case type
|
|
41745
|
+
if (!preSelectTab && preferredLabel) {
|
|
42113
41746
|
preSelectTab = this.caseDetails.tabs.find((tab) => (tab.label === preferredLabel) || (tab.id === preferredLabel)) ?? null;
|
|
42114
41747
|
}
|
|
42115
41748
|
if (!preSelectTab) {
|
|
@@ -47008,5 +46641,5 @@ class TestRouteSnapshotBuilder {
|
|
|
47008
46641
|
* Generated bundle index. Do not edit.
|
|
47009
46642
|
*/
|
|
47010
46643
|
|
|
47011
|
-
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, WriteTimelineOfEventsFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
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 };
|
|
47012
46645
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|