@hmcts/ccd-case-ui-toolkit 7.4.12 → 7.4.13-exui-2855-rc1
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 +615 -353
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +63 -31
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
2
|
+
import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA, HostListener } from '@angular/core';
|
|
3
3
|
import * as i5 from '@angular/common';
|
|
4
4
|
import { CommonModule, AsyncPipe, CurrencyPipe, formatDate } from '@angular/common';
|
|
5
5
|
import * as i1 from 'rpx-xui-translation';
|
|
@@ -63,8 +63,8 @@ import * as i10 from '@angular/material/legacy-tabs';
|
|
|
63
63
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
64
64
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
65
65
|
|
|
66
|
-
const _c0$
|
|
67
|
-
const _c1$
|
|
66
|
+
const _c0$1c = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
67
|
+
const _c1$x = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
68
68
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
69
69
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
70
70
|
i0.ɵɵprojection(2);
|
|
@@ -140,8 +140,8 @@ class FooterComponent {
|
|
|
140
140
|
phone;
|
|
141
141
|
workhours;
|
|
142
142
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
143
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$
|
|
144
|
-
i0.ɵɵprojectionDef(_c0$
|
|
143
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$x, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
+
i0.ɵɵprojectionDef(_c0$1c);
|
|
145
145
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
146
146
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
147
147
|
i0.ɵɵelementEnd()();
|
|
@@ -782,8 +782,8 @@ class ProfileService {
|
|
|
782
782
|
type: Injectable
|
|
783
783
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
784
784
|
|
|
785
|
-
const _c0$
|
|
786
|
-
const _c1$
|
|
785
|
+
const _c0$1b = [[["", "headerNavigation", ""]]];
|
|
786
|
+
const _c1$w = ["[headerNavigation]"];
|
|
787
787
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
788
788
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
789
789
|
i0.ɵɵelement(2, "img", 13);
|
|
@@ -832,8 +832,8 @@ class HeaderBarComponent {
|
|
|
832
832
|
this.signOutRequest.emit();
|
|
833
833
|
}
|
|
834
834
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
|
|
835
|
-
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$
|
|
836
|
-
i0.ɵɵprojectionDef(_c0$
|
|
835
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$w, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
836
|
+
i0.ɵɵprojectionDef(_c0$1b);
|
|
837
837
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
838
838
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
839
839
|
i0.ɵɵelementEnd();
|
|
@@ -887,13 +887,13 @@ class HeaderBarComponent {
|
|
|
887
887
|
}] }); })();
|
|
888
888
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 11 }); })();
|
|
889
889
|
|
|
890
|
-
const _c0$
|
|
891
|
-
const _c1$
|
|
890
|
+
const _c0$1a = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
891
|
+
const _c1$v = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
892
892
|
class NavigationComponent {
|
|
893
893
|
isSolicitor;
|
|
894
894
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
895
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$
|
|
896
|
-
i0.ɵɵprojectionDef(_c0$
|
|
895
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$v, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
896
|
+
i0.ɵɵprojectionDef(_c0$1a);
|
|
897
897
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
898
898
|
i0.ɵɵprojection(2);
|
|
899
899
|
i0.ɵɵprojection(3, 1);
|
|
@@ -1011,12 +1011,12 @@ class HeadersModule {
|
|
|
1011
1011
|
}], null, null); })();
|
|
1012
1012
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
1013
1013
|
|
|
1014
|
-
const _c0$
|
|
1015
|
-
const _c1$
|
|
1014
|
+
const _c0$19 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
1015
|
+
const _c1$u = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
1016
1016
|
class BodyComponent {
|
|
1017
1017
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
1018
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$
|
|
1019
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1018
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1019
|
+
i0.ɵɵprojectionDef(_c0$19);
|
|
1020
1020
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1021
1021
|
i0.ɵɵprojection(1);
|
|
1022
1022
|
i0.ɵɵprojection(2, 1);
|
|
@@ -1030,7 +1030,7 @@ class BodyComponent {
|
|
|
1030
1030
|
}], null, null); })();
|
|
1031
1031
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
|
|
1032
1032
|
|
|
1033
|
-
const _c0$
|
|
1033
|
+
const _c0$18 = a0 => ({ "govuk-input--error": a0 });
|
|
1034
1034
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
1035
1035
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
1036
1036
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -1047,7 +1047,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
1047
1047
|
i0.ɵɵadvance();
|
|
1048
1048
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
1049
1049
|
i0.ɵɵadvance(2);
|
|
1050
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1050
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
1051
1051
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
1052
1052
|
} }
|
|
1053
1053
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1066,7 +1066,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
1066
1066
|
i0.ɵɵadvance();
|
|
1067
1067
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
1068
1068
|
i0.ɵɵadvance(2);
|
|
1069
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1069
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
1070
1070
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
1071
1071
|
} }
|
|
1072
1072
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1085,7 +1085,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
1085
1085
|
i0.ɵɵadvance();
|
|
1086
1086
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
1087
1087
|
i0.ɵɵadvance(2);
|
|
1088
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1088
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
1089
1089
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
1090
1090
|
} }
|
|
1091
1091
|
class DateInputComponent {
|
|
@@ -1321,21 +1321,21 @@ class DateInputComponent {
|
|
|
1321
1321
|
i0.ɵɵadvance();
|
|
1322
1322
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
1323
1323
|
i0.ɵɵadvance(2);
|
|
1324
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
1324
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$18, ctx.isInvalid));
|
|
1325
1325
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
1326
1326
|
i0.ɵɵadvance(3);
|
|
1327
1327
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
1328
1328
|
i0.ɵɵadvance();
|
|
1329
1329
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
1330
1330
|
i0.ɵɵadvance(2);
|
|
1331
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
1331
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$18, ctx.isInvalid));
|
|
1332
1332
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
1333
1333
|
i0.ɵɵadvance(3);
|
|
1334
1334
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
1335
1335
|
i0.ɵɵadvance();
|
|
1336
1336
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
1337
1337
|
i0.ɵɵadvance(2);
|
|
1338
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
1338
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$18, ctx.isInvalid));
|
|
1339
1339
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
1340
1340
|
i0.ɵɵadvance(2);
|
|
1341
1341
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -1372,7 +1372,7 @@ class DateInputComponent {
|
|
|
1372
1372
|
}] }); })();
|
|
1373
1373
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
|
|
1374
1374
|
|
|
1375
|
-
const _c0$
|
|
1375
|
+
const _c0$17 = ["*"];
|
|
1376
1376
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1377
1377
|
i0.ɵɵelementContainerStart(0);
|
|
1378
1378
|
i0.ɵɵnamespaceSVG();
|
|
@@ -1422,7 +1422,7 @@ class AlertComponent {
|
|
|
1422
1422
|
showIcon = true;
|
|
1423
1423
|
alertMessageType = AlertMessageType;
|
|
1424
1424
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
1425
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$
|
|
1425
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$17, 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) {
|
|
1426
1426
|
i0.ɵɵprojectionDef();
|
|
1427
1427
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1428
1428
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1636,20 +1636,20 @@ class NotificationBannerComponent {
|
|
|
1636
1636
|
}] }); })();
|
|
1637
1637
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
|
|
1638
1638
|
|
|
1639
|
-
const _c0$
|
|
1640
|
-
const _c1$
|
|
1639
|
+
const _c0$16 = ["*"];
|
|
1640
|
+
const _c1$t = a0 => ({ "js-hidden": a0 });
|
|
1641
1641
|
class TabComponent {
|
|
1642
1642
|
id;
|
|
1643
1643
|
title;
|
|
1644
1644
|
selected;
|
|
1645
1645
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1646
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$
|
|
1646
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$16, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1647
1647
|
i0.ɵɵprojectionDef();
|
|
1648
1648
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1649
1649
|
i0.ɵɵprojection(1);
|
|
1650
1650
|
i0.ɵɵelementEnd();
|
|
1651
1651
|
} if (rf & 2) {
|
|
1652
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$
|
|
1652
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$t, !ctx.selected));
|
|
1653
1653
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1654
1654
|
} }, 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}}"] });
|
|
1655
1655
|
}
|
|
@@ -1665,8 +1665,8 @@ class TabComponent {
|
|
|
1665
1665
|
}] }); })();
|
|
1666
1666
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
|
|
1667
1667
|
|
|
1668
|
-
const _c0$
|
|
1669
|
-
const _c1$
|
|
1668
|
+
const _c0$15 = ["tab"];
|
|
1669
|
+
const _c1$s = ["*"];
|
|
1670
1670
|
const _c2$5 = () => ["."];
|
|
1671
1671
|
const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
1672
1672
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1712,11 +1712,11 @@ class TabsComponent {
|
|
|
1712
1712
|
let _t;
|
|
1713
1713
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1714
1714
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1715
|
-
i0.ɵɵviewQuery(_c0$
|
|
1715
|
+
i0.ɵɵviewQuery(_c0$15, 5);
|
|
1716
1716
|
} if (rf & 2) {
|
|
1717
1717
|
let _t;
|
|
1718
1718
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
1719
|
-
} }, standalone: false, ngContentSelectors: _c1$
|
|
1719
|
+
} }, standalone: false, ngContentSelectors: _c1$s, 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) {
|
|
1720
1720
|
i0.ɵɵprojectionDef();
|
|
1721
1721
|
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
1722
1722
|
i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
|
|
@@ -1771,7 +1771,7 @@ class TabsModule {
|
|
|
1771
1771
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1772
1772
|
TabComponent] }); })();
|
|
1773
1773
|
|
|
1774
|
-
const _c0$
|
|
1774
|
+
const _c0$14 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1775
1775
|
class ActivityBannerComponent {
|
|
1776
1776
|
bannerType;
|
|
1777
1777
|
description;
|
|
@@ -1790,7 +1790,7 @@ class ActivityBannerComponent {
|
|
|
1790
1790
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1791
1791
|
i0.ɵɵelementEnd()();
|
|
1792
1792
|
} if (rf & 2) {
|
|
1793
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$
|
|
1793
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$14, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1794
1794
|
i0.ɵɵadvance(2);
|
|
1795
1795
|
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1796
1796
|
i0.ɵɵadvance(3);
|
|
@@ -9391,34 +9391,69 @@ class RetryUtil {
|
|
|
9391
9391
|
type: Injectable
|
|
9392
9392
|
}], null, null); })();
|
|
9393
9393
|
|
|
9394
|
+
const MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS = 100;
|
|
9395
|
+
const MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS = 100;
|
|
9394
9396
|
class WindowService {
|
|
9395
9397
|
locationAssign(url) {
|
|
9396
9398
|
window.location.assign(url);
|
|
9397
9399
|
}
|
|
9398
|
-
setLocalStorage(key, value) {
|
|
9399
|
-
window.localStorage.setItem(key, value);
|
|
9400
|
-
}
|
|
9401
|
-
getLocalStorage(key) {
|
|
9402
|
-
return window.localStorage.getItem(key);
|
|
9403
|
-
}
|
|
9404
|
-
clearLocalStorage() {
|
|
9405
|
-
window.localStorage.clear();
|
|
9406
|
-
}
|
|
9407
|
-
removeLocalStorage(key) {
|
|
9408
|
-
window.localStorage.removeItem(key);
|
|
9409
|
-
}
|
|
9410
9400
|
setSessionStorage(key, value) {
|
|
9411
9401
|
window.sessionStorage.setItem(key, value);
|
|
9412
9402
|
}
|
|
9413
9403
|
getSessionStorage(key) {
|
|
9414
9404
|
return window.sessionStorage.getItem(key);
|
|
9415
9405
|
}
|
|
9406
|
+
removeSessionStorage(key) {
|
|
9407
|
+
window.sessionStorage.removeItem(key);
|
|
9408
|
+
}
|
|
9409
|
+
clearSessionStorage() {
|
|
9410
|
+
window.sessionStorage.clear();
|
|
9411
|
+
}
|
|
9416
9412
|
openOnNewTab(url) {
|
|
9417
9413
|
const openedWindow = window.open(url, '_blank', 'noopener,noreferrer');
|
|
9418
9414
|
if (openedWindow) {
|
|
9419
9415
|
openedWindow.opener = null;
|
|
9420
9416
|
}
|
|
9421
9417
|
}
|
|
9418
|
+
openOnNewTabWithMessage(url, message, token) {
|
|
9419
|
+
const openedWindow = window.open(url, '_blank');
|
|
9420
|
+
if (!openedWindow) {
|
|
9421
|
+
return;
|
|
9422
|
+
}
|
|
9423
|
+
const targetOrigin = window.location.origin;
|
|
9424
|
+
const handoff = { type: 'MEDIA_VIEWER_HANDOFF', token, payload: message };
|
|
9425
|
+
let attempts = 0;
|
|
9426
|
+
let retryTimer;
|
|
9427
|
+
let acknowledged = false;
|
|
9428
|
+
const complete = () => {
|
|
9429
|
+
acknowledged = true;
|
|
9430
|
+
window.clearTimeout(retryTimer);
|
|
9431
|
+
window.removeEventListener('message', acknowledgementListener);
|
|
9432
|
+
if (!openedWindow.closed) {
|
|
9433
|
+
openedWindow.opener = null;
|
|
9434
|
+
}
|
|
9435
|
+
};
|
|
9436
|
+
const acknowledgementListener = (event) => {
|
|
9437
|
+
const data = event.data;
|
|
9438
|
+
if (event.origin === targetOrigin && event.source === openedWindow &&
|
|
9439
|
+
data?.type === 'MEDIA_VIEWER_HANDOFF_RECEIVED' && data.token === token) {
|
|
9440
|
+
complete();
|
|
9441
|
+
}
|
|
9442
|
+
};
|
|
9443
|
+
window.addEventListener('message', acknowledgementListener);
|
|
9444
|
+
const send = () => {
|
|
9445
|
+
if (acknowledged || openedWindow.closed || attempts++ >= MEDIA_VIEWER_HANDOFF_MAX_ATTEMPTS) {
|
|
9446
|
+
window.removeEventListener('message', acknowledgementListener);
|
|
9447
|
+
if (!openedWindow.closed) {
|
|
9448
|
+
openedWindow.opener = null;
|
|
9449
|
+
}
|
|
9450
|
+
return;
|
|
9451
|
+
}
|
|
9452
|
+
openedWindow.postMessage(handoff, targetOrigin);
|
|
9453
|
+
retryTimer = window.setTimeout(send, MEDIA_VIEWER_HANDOFF_RETRY_INTERVAL_MS);
|
|
9454
|
+
};
|
|
9455
|
+
send();
|
|
9456
|
+
}
|
|
9422
9457
|
confirm(message) {
|
|
9423
9458
|
return window.confirm(message);
|
|
9424
9459
|
}
|
|
@@ -13633,7 +13668,7 @@ class CaseEventCompletionComponent {
|
|
|
13633
13668
|
}] }); })();
|
|
13634
13669
|
(() => { (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 }); })();
|
|
13635
13670
|
|
|
13636
|
-
const _c0$
|
|
13671
|
+
const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13637
13672
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13638
13673
|
context;
|
|
13639
13674
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13702,7 +13737,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13702
13737
|
i0.ɵɵadvance(4);
|
|
13703
13738
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13704
13739
|
i0.ɵɵadvance(2);
|
|
13705
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13740
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$13, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13706
13741
|
i0.ɵɵadvance();
|
|
13707
13742
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13708
13743
|
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13717,7 +13752,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13717
13752
|
}] }); })();
|
|
13718
13753
|
(() => { (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 }); })();
|
|
13719
13754
|
|
|
13720
|
-
const _c0$
|
|
13755
|
+
const _c0$12 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13721
13756
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13722
13757
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13723
13758
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13770,7 +13805,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13770
13805
|
i0.ɵɵadvance(4);
|
|
13771
13806
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13772
13807
|
i0.ɵɵadvance(2);
|
|
13773
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$
|
|
13808
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$12, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
13774
13809
|
i0.ɵɵadvance();
|
|
13775
13810
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13776
13811
|
} }
|
|
@@ -14173,8 +14208,8 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14173
14208
|
}] }); })();
|
|
14174
14209
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14175
14210
|
|
|
14176
|
-
const _c0
|
|
14177
|
-
const _c1$
|
|
14211
|
+
const _c0$11 = ["writeComplexFieldComponent"];
|
|
14212
|
+
const _c1$r = a0 => ({ "form-group-error": a0 });
|
|
14178
14213
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14179
14214
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
14180
14215
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -14211,7 +14246,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
|
|
|
14211
14246
|
i0.ɵɵelementEnd()();
|
|
14212
14247
|
} if (rf & 2) {
|
|
14213
14248
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14214
|
-
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$
|
|
14249
|
+
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$r, ctx_r0.missingPostcode));
|
|
14215
14250
|
i0.ɵɵadvance();
|
|
14216
14251
|
i0.ɵɵproperty("for", ctx_r0.createElementId("postcodeInput"));
|
|
14217
14252
|
i0.ɵɵadvance(2);
|
|
@@ -14279,7 +14314,7 @@ function WriteAddressFieldComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1)
|
|
|
14279
14314
|
i0.ɵɵelementEnd()();
|
|
14280
14315
|
} if (rf & 2) {
|
|
14281
14316
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14282
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$
|
|
14317
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$r, ctx_r0.noAddressSelected));
|
|
14283
14318
|
i0.ɵɵadvance();
|
|
14284
14319
|
i0.ɵɵproperty("for", ctx_r0.createElementId("addressList"));
|
|
14285
14320
|
i0.ɵɵadvance(2);
|
|
@@ -14452,7 +14487,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14452
14487
|
}
|
|
14453
14488
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14454
14489
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14455
|
-
i0.ɵɵviewQuery(_c0
|
|
14490
|
+
i0.ɵɵviewQuery(_c0$11, 5);
|
|
14456
14491
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14457
14492
|
} if (rf & 2) {
|
|
14458
14493
|
let _t;
|
|
@@ -14515,7 +14550,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14515
14550
|
type: Input
|
|
14516
14551
|
}] }); })();
|
|
14517
14552
|
|
|
14518
|
-
const _c0$
|
|
14553
|
+
const _c0$10 = ["journeyChild"];
|
|
14519
14554
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14520
14555
|
multipageComponentStateService;
|
|
14521
14556
|
journeyStartPageNumber = 0;
|
|
@@ -14590,7 +14625,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14590
14625
|
;
|
|
14591
14626
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14592
14627
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14593
|
-
i0.ɵɵviewQuery(_c0$
|
|
14628
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
14594
14629
|
} if (rf & 2) {
|
|
14595
14630
|
let _t;
|
|
14596
14631
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14605,7 +14640,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14605
14640
|
args: ['journeyChild']
|
|
14606
14641
|
}] }); })();
|
|
14607
14642
|
|
|
14608
|
-
const _c0
|
|
14643
|
+
const _c0$$ = ["journeyChild"];
|
|
14609
14644
|
class AbstractJourneyComponent {
|
|
14610
14645
|
multipageComponentStateService;
|
|
14611
14646
|
journeyStartPageNumber = 0;
|
|
@@ -14667,7 +14702,7 @@ class AbstractJourneyComponent {
|
|
|
14667
14702
|
onPageChange() { }
|
|
14668
14703
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14669
14704
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14670
|
-
i0.ɵɵviewQuery(_c0
|
|
14705
|
+
i0.ɵɵviewQuery(_c0$$, 5);
|
|
14671
14706
|
} if (rf & 2) {
|
|
14672
14707
|
let _t;
|
|
14673
14708
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -16152,8 +16187,8 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16152
16187
|
}], null, null); })();
|
|
16153
16188
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
|
|
16154
16189
|
|
|
16155
|
-
const _c0$
|
|
16156
|
-
const _c1$
|
|
16190
|
+
const _c0$_ = ["writeComplexFieldComponent"];
|
|
16191
|
+
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
16157
16192
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16158
16193
|
i0.ɵɵelementStart(0, "span", 6);
|
|
16159
16194
|
i0.ɵɵtext(1);
|
|
@@ -16233,7 +16268,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16233
16268
|
}
|
|
16234
16269
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16235
16270
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16236
|
-
i0.ɵɵviewQuery(_c0$
|
|
16271
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
16237
16272
|
} if (rf & 2) {
|
|
16238
16273
|
let _t;
|
|
16239
16274
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16245,7 +16280,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16245
16280
|
i0.ɵɵelement(5, "input", 5);
|
|
16246
16281
|
i0.ɵɵelementEnd();
|
|
16247
16282
|
} if (rf & 2) {
|
|
16248
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16283
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$q, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
16249
16284
|
i0.ɵɵadvance();
|
|
16250
16285
|
i0.ɵɵproperty("for", ctx.id());
|
|
16251
16286
|
i0.ɵɵadvance();
|
|
@@ -16267,8 +16302,8 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16267
16302
|
}] }); })();
|
|
16268
16303
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
|
|
16269
16304
|
|
|
16270
|
-
const _c0$
|
|
16271
|
-
const _c1$
|
|
16305
|
+
const _c0$Z = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
|
|
16306
|
+
const _c1$p = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
16272
16307
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16273
16308
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
16274
16309
|
i0.ɵɵelement(2, "th", 4);
|
|
@@ -16278,7 +16313,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16278
16313
|
} if (rf & 2) {
|
|
16279
16314
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16280
16315
|
i0.ɵɵadvance(4);
|
|
16281
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$
|
|
16316
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$Z, 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);
|
|
16282
16317
|
} }
|
|
16283
16318
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16284
16319
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16289,7 +16324,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
16289
16324
|
const i_r3 = ctx.index;
|
|
16290
16325
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
16291
16326
|
i0.ɵɵadvance(2);
|
|
16292
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$
|
|
16327
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$p, 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));
|
|
16293
16328
|
} }
|
|
16294
16329
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
16295
16330
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -16400,7 +16435,7 @@ class RemoveDialogComponent {
|
|
|
16400
16435
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
16401
16436
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16402
16437
|
|
|
16403
|
-
const _c0$
|
|
16438
|
+
const _c0$Y = ["collectionItem"];
|
|
16404
16439
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16405
16440
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16406
16441
|
i0.ɵɵtext(1);
|
|
@@ -16821,7 +16856,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16821
16856
|
}
|
|
16822
16857
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16823
16858
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16824
|
-
i0.ɵɵviewQuery(_c0$
|
|
16859
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
16825
16860
|
} if (rf & 2) {
|
|
16826
16861
|
let _t;
|
|
16827
16862
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -16996,7 +17031,6 @@ function ReadDocumentFieldComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
16996
17031
|
i0.ɵɵadvance();
|
|
16997
17032
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.value.document_filename, "\n");
|
|
16998
17033
|
} }
|
|
16999
|
-
const MEDIA_VIEWER_INFO = 'media-viewer-info';
|
|
17000
17034
|
class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
17001
17035
|
windowService;
|
|
17002
17036
|
documentManagement;
|
|
@@ -17041,10 +17075,8 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
17041
17075
|
return;
|
|
17042
17076
|
}
|
|
17043
17077
|
const token = FieldsUtils.createToken();
|
|
17044
|
-
const storageKey = `${MEDIA_VIEWER_INFO}:${token}`;
|
|
17045
17078
|
const payload = this.documentManagement.getMediaViewerInfo(documentFieldValue);
|
|
17046
|
-
this.windowService.
|
|
17047
|
-
this.windowService.openOnNewTab(this.getMediaViewerUrl(token));
|
|
17079
|
+
this.windowService.openOnNewTabWithMessage(this.getMediaViewerUrl(token), payload, token);
|
|
17048
17080
|
}
|
|
17049
17081
|
getMediaViewerUrl(token) {
|
|
17050
17082
|
const routerMediaViewer = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } });
|
|
@@ -17066,7 +17098,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
17066
17098
|
type: Component,
|
|
17067
17099
|
args: [{ selector: 'ccd-read-document-field', standalone: false, template: "<button type=\"button\" *ngIf=\"caseField.value\" class=\"govuk-js-link\"\n (click)=\"showMediaViewer()\">\n {{ caseField.value.document_filename }}\n</button>\n" }]
|
|
17068
17100
|
}], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: CasesService }], null); })();
|
|
17069
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber:
|
|
17101
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 15 }); })();
|
|
17070
17102
|
|
|
17071
17103
|
class DocumentDialogComponent {
|
|
17072
17104
|
matDialogRef;
|
|
@@ -17140,8 +17172,8 @@ class FileUploadStateService {
|
|
|
17140
17172
|
type: Injectable
|
|
17141
17173
|
}], null, null); })();
|
|
17142
17174
|
|
|
17143
|
-
const _c0$
|
|
17144
|
-
const _c1$
|
|
17175
|
+
const _c0$X = ["fileInput"];
|
|
17176
|
+
const _c1$o = a0 => ({ "form-group-error bottom-30": a0 });
|
|
17145
17177
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17146
17178
|
i0.ɵɵelementStart(0, "span", 12);
|
|
17147
17179
|
i0.ɵɵelement(1, "markdown", 13);
|
|
@@ -17519,7 +17551,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17519
17551
|
}
|
|
17520
17552
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
17521
17553
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17522
|
-
i0.ɵɵviewQuery(_c0$
|
|
17554
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
17523
17555
|
} if (rf & 2) {
|
|
17524
17556
|
let _t;
|
|
17525
17557
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -17550,7 +17582,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17550
17582
|
i0.ɵɵpipe(19, "rpxTranslate");
|
|
17551
17583
|
i0.ɵɵelementEnd()();
|
|
17552
17584
|
} if (rf & 2) {
|
|
17553
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$
|
|
17585
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$o, !ctx.valid));
|
|
17554
17586
|
i0.ɵɵadvance();
|
|
17555
17587
|
i0.ɵɵproperty("for", ctx.id());
|
|
17556
17588
|
i0.ɵɵadvance();
|
|
@@ -17634,7 +17666,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
17634
17666
|
}], null, null); })();
|
|
17635
17667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
|
|
17636
17668
|
|
|
17637
|
-
const _c0$
|
|
17669
|
+
const _c0$W = a0 => ({ "form-group-error": a0 });
|
|
17638
17670
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
17639
17671
|
i0.ɵɵelementStart(0, "span", 8);
|
|
17640
17672
|
i0.ɵɵtext(1);
|
|
@@ -17722,7 +17754,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17722
17754
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
17723
17755
|
i0.ɵɵelementEnd()();
|
|
17724
17756
|
} if (rf & 2) {
|
|
17725
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
17757
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$W, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
17726
17758
|
i0.ɵɵadvance();
|
|
17727
17759
|
i0.ɵɵproperty("for", ctx.id());
|
|
17728
17760
|
i0.ɵɵadvance();
|
|
@@ -17903,7 +17935,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
17903
17935
|
}], null, null); })();
|
|
17904
17936
|
(() => { (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 }); })();
|
|
17905
17937
|
|
|
17906
|
-
const _c0$
|
|
17938
|
+
const _c0$V = a0 => ({ "error": a0 });
|
|
17907
17939
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
17908
17940
|
i0.ɵɵelementStart(0, "span", 5);
|
|
17909
17941
|
i0.ɵɵtext(1);
|
|
@@ -18023,7 +18055,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
18023
18055
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
|
|
18024
18056
|
i0.ɵɵelementEnd()();
|
|
18025
18057
|
} if (rf & 2) {
|
|
18026
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
18058
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$V, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
18027
18059
|
i0.ɵɵadvance(3);
|
|
18028
18060
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
18029
18061
|
i0.ɵɵadvance();
|
|
@@ -18103,8 +18135,8 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18103
18135
|
}], null, null); })();
|
|
18104
18136
|
(() => { (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 }); })();
|
|
18105
18137
|
|
|
18106
|
-
const _c0$
|
|
18107
|
-
const _c1$
|
|
18138
|
+
const _c0$U = a0 => ({ "form-group-error": a0 });
|
|
18139
|
+
const _c1$n = a0 => ({ selected: a0 });
|
|
18108
18140
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18109
18141
|
i0.ɵɵelementStart(0, "span", 7);
|
|
18110
18142
|
i0.ɵɵtext(1);
|
|
@@ -18154,7 +18186,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
18154
18186
|
} if (rf & 2) {
|
|
18155
18187
|
const radioButton_r2 = ctx.$implicit;
|
|
18156
18188
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18157
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18189
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r0.dynamicRadioListControl.value === radioButton_r2.code));
|
|
18158
18190
|
i0.ɵɵadvance();
|
|
18159
18191
|
i0.ɵɵproperty("id", ctx_r0.createElementId(radioButton_r2.code))("name", ctx_r0.id())("formControl", ctx_r0.dynamicRadioListControl)("value", radioButton_r2.code);
|
|
18160
18192
|
i0.ɵɵadvance();
|
|
@@ -18198,7 +18230,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18198
18230
|
i0.ɵɵelementContainerEnd();
|
|
18199
18231
|
i0.ɵɵelementEnd()();
|
|
18200
18232
|
} if (rf & 2) {
|
|
18201
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18233
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
18202
18234
|
i0.ɵɵadvance(3);
|
|
18203
18235
|
i0.ɵɵproperty("for", ctx.id());
|
|
18204
18236
|
i0.ɵɵadvance();
|
|
@@ -18252,8 +18284,8 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
18252
18284
|
}], null, null); })();
|
|
18253
18285
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
|
|
18254
18286
|
|
|
18255
|
-
const _c0$
|
|
18256
|
-
const _c1$
|
|
18287
|
+
const _c0$T = a0 => ({ "form-group-error": a0 });
|
|
18288
|
+
const _c1$m = a0 => ({ "govuk-input--error": a0 });
|
|
18257
18289
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18258
18290
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18259
18291
|
i0.ɵɵtext(1);
|
|
@@ -18298,7 +18330,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18298
18330
|
i0.ɵɵelement(5, "input", 5);
|
|
18299
18331
|
i0.ɵɵelementEnd();
|
|
18300
18332
|
} if (rf & 2) {
|
|
18301
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18333
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$T, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
18302
18334
|
i0.ɵɵadvance();
|
|
18303
18335
|
i0.ɵɵproperty("for", ctx.id());
|
|
18304
18336
|
i0.ɵɵadvance();
|
|
@@ -18308,7 +18340,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18308
18340
|
i0.ɵɵadvance();
|
|
18309
18341
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
18310
18342
|
i0.ɵɵadvance();
|
|
18311
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
18343
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$m, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
18312
18344
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
18313
18345
|
}
|
|
18314
18346
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -18340,7 +18372,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18340
18372
|
}], null, null); })();
|
|
18341
18373
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
|
|
18342
18374
|
|
|
18343
|
-
const _c0$
|
|
18375
|
+
const _c0$S = a0 => ({ "form-group-error": a0 });
|
|
18344
18376
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18345
18377
|
i0.ɵɵelementStart(0, "span", 8);
|
|
18346
18378
|
i0.ɵɵtext(1);
|
|
@@ -18415,7 +18447,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18415
18447
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
18416
18448
|
i0.ɵɵelementEnd()();
|
|
18417
18449
|
} if (rf & 2) {
|
|
18418
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18450
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
18419
18451
|
i0.ɵɵadvance();
|
|
18420
18452
|
i0.ɵɵproperty("for", ctx.id());
|
|
18421
18453
|
i0.ɵɵadvance();
|
|
@@ -18478,8 +18510,8 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18478
18510
|
}], null, null); })();
|
|
18479
18511
|
(() => { (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 }); })();
|
|
18480
18512
|
|
|
18481
|
-
const _c0$
|
|
18482
|
-
const _c1$
|
|
18513
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
18514
|
+
const _c1$l = a0 => ({ selected: a0 });
|
|
18483
18515
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18484
18516
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18485
18517
|
i0.ɵɵtext(1);
|
|
@@ -18520,7 +18552,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
18520
18552
|
} if (rf & 2) {
|
|
18521
18553
|
const radioButton_r2 = ctx.$implicit;
|
|
18522
18554
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18523
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18555
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$l, ctx_r0.fixedRadioListControl.value === radioButton_r2.code));
|
|
18524
18556
|
i0.ɵɵadvance();
|
|
18525
18557
|
i0.ɵɵproperty("id", ctx_r0.id() + "-" + radioButton_r2.code)("name", ctx_r0.id())("formControl", ctx_r0.fixedRadioListControl)("value", radioButton_r2.code);
|
|
18526
18558
|
i0.ɵɵadvance();
|
|
@@ -18546,7 +18578,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18546
18578
|
i0.ɵɵelementContainerEnd();
|
|
18547
18579
|
i0.ɵɵelementEnd()();
|
|
18548
18580
|
} if (rf & 2) {
|
|
18549
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
18581
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$R, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
18550
18582
|
i0.ɵɵadvance(3);
|
|
18551
18583
|
i0.ɵɵproperty("for", ctx.id());
|
|
18552
18584
|
i0.ɵɵadvance();
|
|
@@ -18622,8 +18654,8 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18622
18654
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
18623
18655
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
|
|
18624
18656
|
|
|
18625
|
-
const _c0$
|
|
18626
|
-
const _c1$
|
|
18657
|
+
const _c0$Q = a0 => ({ "form-group-error": a0 });
|
|
18658
|
+
const _c1$k = a0 => ({ "hide-autocomplete": a0 });
|
|
18627
18659
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18628
18660
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18629
18661
|
i0.ɵɵtext(1);
|
|
@@ -18662,7 +18694,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
|
|
|
18662
18694
|
} if (rf & 2) {
|
|
18663
18695
|
const judicialUser_r4 = ctx.$implicit;
|
|
18664
18696
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18665
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18697
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$k, !ctx_r1.showAutocomplete))("value", judicialUser_r4);
|
|
18666
18698
|
i0.ɵɵadvance();
|
|
18667
18699
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r4 == null ? null : judicialUser_r4.fullName) ? judicialUser_r4.fullName : "", "", (judicialUser_r4 == null ? null : judicialUser_r4.emailId) ? " (" + judicialUser_r4.emailId + ")" : "", " ");
|
|
18668
18700
|
} }
|
|
@@ -18842,7 +18874,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18842
18874
|
i0.ɵɵelementEnd()();
|
|
18843
18875
|
} if (rf & 2) {
|
|
18844
18876
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
18845
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
18877
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.judicialUserControl && ctx.errors));
|
|
18846
18878
|
i0.ɵɵadvance();
|
|
18847
18879
|
i0.ɵɵproperty("for", ctx.id());
|
|
18848
18880
|
i0.ɵɵadvance();
|
|
@@ -18921,8 +18953,8 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18921
18953
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18922
18954
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
|
|
18923
18955
|
|
|
18924
|
-
const _c0$
|
|
18925
|
-
const _c1$
|
|
18956
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
18957
|
+
const _c1$j = a0 => ({ "hide-autocomplete": a0 });
|
|
18926
18958
|
function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18927
18959
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18928
18960
|
i0.ɵɵtext(1);
|
|
@@ -18959,7 +18991,7 @@ function WriteStaffUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf &
|
|
|
18959
18991
|
} if (rf & 2) {
|
|
18960
18992
|
const staffUser_r4 = ctx.$implicit;
|
|
18961
18993
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18962
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18994
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r1.showAutocomplete))("value", staffUser_r4);
|
|
18963
18995
|
i0.ɵɵadvance();
|
|
18964
18996
|
i0.ɵɵtextInterpolate2(" ", (staffUser_r4 == null ? null : staffUser_r4.displayName) ? staffUser_r4.displayName : "", "", (staffUser_r4 == null ? null : staffUser_r4.emailId) ? " (" + staffUser_r4.emailId + ")" : "", " ");
|
|
18965
18997
|
} }
|
|
@@ -19160,7 +19192,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
19160
19192
|
i0.ɵɵelementEnd()();
|
|
19161
19193
|
} if (rf & 2) {
|
|
19162
19194
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
19163
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
19195
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$P, !!ctx.staffUserControl && ctx.errors));
|
|
19164
19196
|
i0.ɵɵadvance();
|
|
19165
19197
|
i0.ɵɵproperty("for", ctx.id());
|
|
19166
19198
|
i0.ɵɵadvance();
|
|
@@ -19625,8 +19657,8 @@ class ValidatorsUtils {
|
|
|
19625
19657
|
args: [{ providedIn: 'root' }]
|
|
19626
19658
|
}], null, null); })();
|
|
19627
19659
|
|
|
19628
|
-
const _c0$
|
|
19629
|
-
const _c1$
|
|
19660
|
+
const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
|
|
19661
|
+
const _c1$i = a0 => ({ "table-group-error": a0 });
|
|
19630
19662
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19631
19663
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
19632
19664
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -19692,7 +19724,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
19692
19724
|
i0.ɵɵelementEnd()();
|
|
19693
19725
|
} if (rf & 2) {
|
|
19694
19726
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19695
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
19727
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
|
|
19696
19728
|
i0.ɵɵadvance(3);
|
|
19697
19729
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
19698
19730
|
} }
|
|
@@ -19736,11 +19768,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19736
19768
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19737
19769
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
19738
19770
|
i0.ɵɵadvance();
|
|
19739
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19771
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
|
|
19740
19772
|
i0.ɵɵadvance(3);
|
|
19741
19773
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
19742
19774
|
i0.ɵɵadvance(2);
|
|
19743
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
19775
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
|
|
19744
19776
|
i0.ɵɵadvance(5);
|
|
19745
19777
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
19746
19778
|
i0.ɵɵadvance(2);
|
|
@@ -19802,7 +19834,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) { if (rf & 1) {
|
|
|
19802
19834
|
const case_r9 = ctx.$implicit;
|
|
19803
19835
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19804
19836
|
i0.ɵɵadvance(2);
|
|
19805
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
19837
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$i, ctx_r1.caseSelectionError && case_r9.caseReference === ctx_r1.linkCaseForm.value.caseNumber));
|
|
19806
19838
|
i0.ɵɵadvance(2);
|
|
19807
19839
|
i0.ɵɵtextInterpolate1("", case_r9.caseName, " ");
|
|
19808
19840
|
i0.ɵɵadvance(2);
|
|
@@ -20168,7 +20200,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
20168
20200
|
i0.ɵɵadvance(4);
|
|
20169
20201
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
20170
20202
|
i0.ɵɵadvance(4);
|
|
20171
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
20203
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
|
|
20172
20204
|
i0.ɵɵadvance();
|
|
20173
20205
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
20174
20206
|
i0.ɵɵadvance(18);
|
|
@@ -20761,7 +20793,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20761
20793
|
}], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20762
20794
|
(() => { (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 }); })();
|
|
20763
20795
|
|
|
20764
|
-
const _c0$
|
|
20796
|
+
const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
|
|
20765
20797
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
20766
20798
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
20767
20799
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -20799,7 +20831,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20799
20831
|
i0.ɵɵelementEnd()();
|
|
20800
20832
|
} if (rf & 2) {
|
|
20801
20833
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20802
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
20834
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
20803
20835
|
i0.ɵɵadvance();
|
|
20804
20836
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
20805
20837
|
i0.ɵɵadvance(2);
|
|
@@ -21736,7 +21768,7 @@ class MoneyGbpInputComponent {
|
|
|
21736
21768
|
}] }); })();
|
|
21737
21769
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
|
|
21738
21770
|
|
|
21739
|
-
const _c0$
|
|
21771
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
21740
21772
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21741
21773
|
i0.ɵɵelementStart(0, "span", 8);
|
|
21742
21774
|
i0.ɵɵtext(1);
|
|
@@ -21785,7 +21817,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21785
21817
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
21786
21818
|
i0.ɵɵelementEnd()();
|
|
21787
21819
|
} if (rf & 2) {
|
|
21788
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
21820
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$M, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
21789
21821
|
i0.ɵɵadvance();
|
|
21790
21822
|
i0.ɵɵproperty("for", ctx.id());
|
|
21791
21823
|
i0.ɵɵadvance();
|
|
@@ -21851,7 +21883,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
21851
21883
|
}], null, null); })();
|
|
21852
21884
|
(() => { (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 }); })();
|
|
21853
21885
|
|
|
21854
|
-
const _c0$
|
|
21886
|
+
const _c0$L = a0 => ({ "error": a0 });
|
|
21855
21887
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21856
21888
|
i0.ɵɵelementStart(0, "span", 5);
|
|
21857
21889
|
i0.ɵɵtext(1);
|
|
@@ -21952,7 +21984,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21952
21984
|
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);
|
|
21953
21985
|
i0.ɵɵelementEnd()();
|
|
21954
21986
|
} if (rf & 2) {
|
|
21955
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
21987
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
21956
21988
|
i0.ɵɵadvance(3);
|
|
21957
21989
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
21958
21990
|
i0.ɵɵadvance();
|
|
@@ -21991,8 +22023,8 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
21991
22023
|
}], null, null); })();
|
|
21992
22024
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
|
|
21993
22025
|
|
|
21994
|
-
const _c0$
|
|
21995
|
-
const _c1$
|
|
22026
|
+
const _c0$K = a0 => ({ "form-group-error": a0 });
|
|
22027
|
+
const _c1$h = a0 => ({ "govuk-input--error": a0 });
|
|
21996
22028
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21997
22029
|
i0.ɵɵelementStart(0, "span", 6);
|
|
21998
22030
|
i0.ɵɵtext(1);
|
|
@@ -22037,7 +22069,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22037
22069
|
i0.ɵɵelement(5, "input", 5);
|
|
22038
22070
|
i0.ɵɵelementEnd();
|
|
22039
22071
|
} if (rf & 2) {
|
|
22040
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22072
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
22041
22073
|
i0.ɵɵadvance();
|
|
22042
22074
|
i0.ɵɵproperty("for", ctx.id());
|
|
22043
22075
|
i0.ɵɵadvance();
|
|
@@ -22047,7 +22079,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22047
22079
|
i0.ɵɵadvance();
|
|
22048
22080
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
22049
22081
|
i0.ɵɵadvance();
|
|
22050
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
22082
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$h, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
22051
22083
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.PatternValidator, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22052
22084
|
}
|
|
22053
22085
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -22216,7 +22248,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
22216
22248
|
}] }); })();
|
|
22217
22249
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
|
|
22218
22250
|
|
|
22219
|
-
const _c0$
|
|
22251
|
+
const _c0$J = a0 => ({ "scroll-container ": a0 });
|
|
22220
22252
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
22221
22253
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
22222
22254
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -22295,7 +22327,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
22295
22327
|
let tmp_3_0;
|
|
22296
22328
|
let tmp_5_0;
|
|
22297
22329
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
22298
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
22330
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$J, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
|
|
22299
22331
|
i0.ɵɵadvance(2);
|
|
22300
22332
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
22301
22333
|
i0.ɵɵadvance(2);
|
|
@@ -22691,8 +22723,8 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
22691
22723
|
}], null, null); })();
|
|
22692
22724
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
|
|
22693
22725
|
|
|
22694
|
-
const _c0$
|
|
22695
|
-
const _c1$
|
|
22726
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
22727
|
+
const _c1$g = a0 => ({ "govuk-input--error": a0 });
|
|
22696
22728
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22697
22729
|
i0.ɵɵelementStart(0, "span", 6);
|
|
22698
22730
|
i0.ɵɵtext(1);
|
|
@@ -22737,7 +22769,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22737
22769
|
i0.ɵɵelement(5, "input", 5);
|
|
22738
22770
|
i0.ɵɵelementEnd();
|
|
22739
22771
|
} if (rf & 2) {
|
|
22740
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22772
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
22741
22773
|
i0.ɵɵadvance();
|
|
22742
22774
|
i0.ɵɵproperty("for", ctx.id());
|
|
22743
22775
|
i0.ɵɵadvance();
|
|
@@ -22747,7 +22779,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22747
22779
|
i0.ɵɵadvance();
|
|
22748
22780
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
22749
22781
|
i0.ɵɵadvance();
|
|
22750
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
22782
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
22751
22783
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22752
22784
|
}
|
|
22753
22785
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -25217,7 +25249,7 @@ class QueryWriteDateInputComponent {
|
|
|
25217
25249
|
}] }); })();
|
|
25218
25250
|
(() => { (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 }); })();
|
|
25219
25251
|
|
|
25220
|
-
const _c0$
|
|
25252
|
+
const _c0$H = a0 => ({ "govuk-form-group--error": a0 });
|
|
25221
25253
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
25222
25254
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
25223
25255
|
} if (rf & 2) {
|
|
@@ -25297,7 +25329,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
25297
25329
|
} if (rf & 2) {
|
|
25298
25330
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
25299
25331
|
i0.ɵɵadvance();
|
|
25300
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
25332
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
25301
25333
|
i0.ɵɵadvance(4);
|
|
25302
25334
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
25303
25335
|
i0.ɵɵadvance(2);
|
|
@@ -25364,7 +25396,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25364
25396
|
i0.ɵɵadvance(8);
|
|
25365
25397
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
25366
25398
|
i0.ɵɵadvance(2);
|
|
25367
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
25399
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
25368
25400
|
i0.ɵɵadvance(3);
|
|
25369
25401
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
25370
25402
|
i0.ɵɵadvance(3);
|
|
@@ -25372,7 +25404,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25372
25404
|
i0.ɵɵadvance(2);
|
|
25373
25405
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25374
25406
|
i0.ɵɵadvance(2);
|
|
25375
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
25407
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
25376
25408
|
i0.ɵɵadvance(3);
|
|
25377
25409
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
25378
25410
|
i0.ɵɵadvance(3);
|
|
@@ -25383,7 +25415,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25383
25415
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25384
25416
|
i0.ɵɵproperty("formControlName", "body");
|
|
25385
25417
|
i0.ɵɵadvance(2);
|
|
25386
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
25418
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
25387
25419
|
i0.ɵɵadvance(4);
|
|
25388
25420
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
25389
25421
|
i0.ɵɵadvance(2);
|
|
@@ -26007,7 +26039,7 @@ class CloseQueryComponent {
|
|
|
26007
26039
|
}] }); })();
|
|
26008
26040
|
(() => { (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 }); })();
|
|
26009
26041
|
|
|
26010
|
-
const _c0$
|
|
26042
|
+
const _c0$G = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
26011
26043
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
26012
26044
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
26013
26045
|
i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
|
|
@@ -26046,7 +26078,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
26046
26078
|
} if (rf & 2) {
|
|
26047
26079
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
26048
26080
|
i0.ɵɵadvance();
|
|
26049
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26081
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
26050
26082
|
i0.ɵɵadvance();
|
|
26051
26083
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26052
26084
|
} }
|
|
@@ -26060,7 +26092,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
26060
26092
|
} if (rf & 2) {
|
|
26061
26093
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
26062
26094
|
i0.ɵɵadvance();
|
|
26063
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26095
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
26064
26096
|
i0.ɵɵadvance();
|
|
26065
26097
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26066
26098
|
} }
|
|
@@ -26473,8 +26505,8 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
26473
26505
|
}], () => [{ type: i4$1.DomSanitizer }], null); })();
|
|
26474
26506
|
(() => { (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 }); })();
|
|
26475
26507
|
|
|
26476
|
-
const _c0$
|
|
26477
|
-
const _c1$
|
|
26508
|
+
const _c0$F = ["editorHost"];
|
|
26509
|
+
const _c1$f = a0 => ({ "form-group-error": a0 });
|
|
26478
26510
|
const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
|
|
26479
26511
|
const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
|
|
26480
26512
|
function WriteRichTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29064,7 +29096,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29064
29096
|
}
|
|
29065
29097
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
29066
29098
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29067
|
-
i0.ɵɵviewQuery(_c0$
|
|
29099
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
29068
29100
|
} if (rf & 2) {
|
|
29069
29101
|
let _t;
|
|
29070
29102
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29179,7 +29211,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29179
29211
|
i0.ɵɵlistener("focusIn", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusIn_64_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("focusOut", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusOut_64_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorFocusOut()); });
|
|
29180
29212
|
i0.ɵɵelementEnd()()()();
|
|
29181
29213
|
} if (rf & 2) {
|
|
29182
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$
|
|
29214
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$f, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
|
|
29183
29215
|
i0.ɵɵadvance();
|
|
29184
29216
|
i0.ɵɵproperty("id", ctx.labelId());
|
|
29185
29217
|
i0.ɵɵadvance();
|
|
@@ -29257,8 +29289,8 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29257
29289
|
}], null, null); })();
|
|
29258
29290
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29259
29291
|
|
|
29260
|
-
const _c0$
|
|
29261
|
-
const _c1$
|
|
29292
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
29293
|
+
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
29262
29294
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29263
29295
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29264
29296
|
i0.ɵɵtext(1);
|
|
@@ -29315,7 +29347,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29315
29347
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29316
29348
|
i0.ɵɵelementEnd()();
|
|
29317
29349
|
} if (rf & 2) {
|
|
29318
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29350
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
29319
29351
|
i0.ɵɵadvance();
|
|
29320
29352
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29321
29353
|
i0.ɵɵadvance();
|
|
@@ -29323,7 +29355,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29323
29355
|
i0.ɵɵadvance();
|
|
29324
29356
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
29325
29357
|
i0.ɵɵadvance();
|
|
29326
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
29358
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("type", ctx.caseField.hidden ? "hidden" : "text")("formControl", ctx.textControl);
|
|
29327
29359
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29328
29360
|
}
|
|
29329
29361
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -29353,8 +29385,8 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29353
29385
|
}], null, null); })();
|
|
29354
29386
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
|
|
29355
29387
|
|
|
29356
|
-
const _c0$
|
|
29357
|
-
const _c1$
|
|
29388
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29389
|
+
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
29358
29390
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29359
29391
|
i0.ɵɵelementStart(0, "span", 6);
|
|
29360
29392
|
i0.ɵɵtext(1);
|
|
@@ -29412,7 +29444,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29412
29444
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29413
29445
|
i0.ɵɵelementEnd()();
|
|
29414
29446
|
} if (rf & 2) {
|
|
29415
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29447
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29416
29448
|
i0.ɵɵadvance();
|
|
29417
29449
|
i0.ɵɵproperty("for", ctx.id());
|
|
29418
29450
|
i0.ɵɵadvance();
|
|
@@ -29422,7 +29454,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29422
29454
|
i0.ɵɵadvance();
|
|
29423
29455
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
29424
29456
|
i0.ɵɵadvance();
|
|
29425
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
29457
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
29426
29458
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29427
29459
|
}
|
|
29428
29460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
@@ -29555,8 +29587,8 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
29555
29587
|
}], () => [{ type: YesNoService }], null); })();
|
|
29556
29588
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
|
|
29557
29589
|
|
|
29558
|
-
const _c0$
|
|
29559
|
-
const _c1$
|
|
29590
|
+
const _c0$C = a0 => ({ "form-group-error": a0 });
|
|
29591
|
+
const _c1$c = a0 => ({ selected: a0 });
|
|
29560
29592
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
29561
29593
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29562
29594
|
i0.ɵɵtext(1);
|
|
@@ -29597,7 +29629,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
29597
29629
|
} if (rf & 2) {
|
|
29598
29630
|
const value_r2 = ctx.$implicit;
|
|
29599
29631
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
29600
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
29632
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$c, ctx_r0.yesNoControl.value === value_r2));
|
|
29601
29633
|
i0.ɵɵadvance();
|
|
29602
29634
|
i0.ɵɵproperty("id", ctx_r0.createElementId(value_r2))("name", ctx_r0.id())("formControl", ctx_r0.yesNoControl)("value", value_r2);
|
|
29603
29635
|
i0.ɵɵattribute("name", ctx_r0.id());
|
|
@@ -29627,7 +29659,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29627
29659
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
29628
29660
|
i0.ɵɵelementEnd()()();
|
|
29629
29661
|
} if (rf & 2) {
|
|
29630
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
29662
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$C, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
29631
29663
|
i0.ɵɵadvance(3);
|
|
29632
29664
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
29633
29665
|
i0.ɵɵadvance();
|
|
@@ -29748,7 +29780,7 @@ class PaletteService {
|
|
|
29748
29780
|
type: Injectable
|
|
29749
29781
|
}], null, null); })();
|
|
29750
29782
|
|
|
29751
|
-
const _c0$
|
|
29783
|
+
const _c0$B = ["fieldContainer"];
|
|
29752
29784
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29753
29785
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
29754
29786
|
resolver;
|
|
@@ -29797,7 +29829,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29797
29829
|
}
|
|
29798
29830
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29799
29831
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29800
|
-
i0.ɵɵviewQuery(_c0$
|
|
29832
|
+
i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
|
|
29801
29833
|
} if (rf & 2) {
|
|
29802
29834
|
let _t;
|
|
29803
29835
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29826,7 +29858,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29826
29858
|
}] }); })();
|
|
29827
29859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
29828
29860
|
|
|
29829
|
-
const _c0$
|
|
29861
|
+
const _c0$A = ["fieldContainer"];
|
|
29830
29862
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29831
29863
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
29832
29864
|
resolver;
|
|
@@ -29886,7 +29918,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29886
29918
|
}
|
|
29887
29919
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29888
29920
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29889
|
-
i0.ɵɵviewQuery(_c0$
|
|
29921
|
+
i0.ɵɵviewQuery(_c0$A, 7, ViewContainerRef);
|
|
29890
29922
|
} if (rf & 2) {
|
|
29891
29923
|
let _t;
|
|
29892
29924
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29910,7 +29942,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29910
29942
|
}] }); })();
|
|
29911
29943
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
|
|
29912
29944
|
|
|
29913
|
-
const _c0$
|
|
29945
|
+
const _c0$z = ["*"];
|
|
29914
29946
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
29915
29947
|
i0.ɵɵelementContainer(0);
|
|
29916
29948
|
} }
|
|
@@ -29964,7 +29996,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29964
29996
|
}
|
|
29965
29997
|
}
|
|
29966
29998
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
29967
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
29999
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$z, 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) {
|
|
29968
30000
|
i0.ɵɵprojectionDef();
|
|
29969
30001
|
i0.ɵɵelementStart(0, "div", 1);
|
|
29970
30002
|
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);
|
|
@@ -29985,8 +30017,8 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29985
30017
|
}] }); })();
|
|
29986
30018
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
|
|
29987
30019
|
|
|
29988
|
-
const _c0$
|
|
29989
|
-
const _c1$
|
|
30020
|
+
const _c0$y = a0 => ({ cat: a0, level: 1 });
|
|
30021
|
+
const _c1$b = (a0, a1) => ({ cat: a0, level: a1 });
|
|
29990
30022
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29991
30023
|
i0.ɵɵelementContainer(0);
|
|
29992
30024
|
} }
|
|
@@ -29999,7 +30031,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
29999
30031
|
i0.ɵɵnextContext();
|
|
30000
30032
|
const folder_r3 = i0.ɵɵreference(13);
|
|
30001
30033
|
i0.ɵɵadvance();
|
|
30002
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
30034
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$y, cat_r2));
|
|
30003
30035
|
} }
|
|
30004
30036
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30005
30037
|
i0.ɵɵelementContainer(0);
|
|
@@ -30014,7 +30046,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
30014
30046
|
i0.ɵɵnextContext();
|
|
30015
30047
|
const folder_r3 = i0.ɵɵreference(13);
|
|
30016
30048
|
i0.ɵɵadvance();
|
|
30017
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
30049
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$b, subcat_r6, level_r7 + 1));
|
|
30018
30050
|
} }
|
|
30019
30051
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30020
30052
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -30137,8 +30169,8 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
30137
30169
|
}] }], null); })();
|
|
30138
30170
|
(() => { (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 }); })();
|
|
30139
30171
|
|
|
30140
|
-
const _c0$
|
|
30141
|
-
const _c1$
|
|
30172
|
+
const _c0$x = [[["", "trigger", ""]]];
|
|
30173
|
+
const _c1$a = ["[trigger]"];
|
|
30142
30174
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30143
30175
|
i0.ɵɵelementContainerStart(0);
|
|
30144
30176
|
i0.ɵɵelementStart(1, "div", 6);
|
|
@@ -30208,9 +30240,9 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
30208
30240
|
}
|
|
30209
30241
|
}
|
|
30210
30242
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
30211
|
-
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$
|
|
30243
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, standalone: false, ngContentSelectors: _c1$a, decls: 5, vars: 5, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", "aria-haspopup", "true", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["class", "overlay-menu__itemIcon", "aria-hidden", "true", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], ["aria-hidden", "true", 1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30212
30244
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
30213
|
-
i0.ɵɵprojectionDef(_c0$
|
|
30245
|
+
i0.ɵɵprojectionDef(_c0$x);
|
|
30214
30246
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
30215
30247
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
30216
30248
|
i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
|
|
@@ -30611,7 +30643,6 @@ function CaseFileViewFolderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
30611
30643
|
i0.ɵɵadvance(2);
|
|
30612
30644
|
i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r2.nestedChildren);
|
|
30613
30645
|
} }
|
|
30614
|
-
const MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
|
|
30615
30646
|
class CaseFileViewFolderComponent {
|
|
30616
30647
|
windowService;
|
|
30617
30648
|
router;
|
|
@@ -30781,16 +30812,14 @@ class CaseFileViewFolderComponent {
|
|
|
30781
30812
|
}
|
|
30782
30813
|
}
|
|
30783
30814
|
const token = FieldsUtils.createToken();
|
|
30784
|
-
const storageKey = `${MEDIA_VIEWER_LOCALSTORAGE_KEY}:${token}`;
|
|
30785
30815
|
const payload = this.documentManagementService.getMediaViewerInfo({
|
|
30786
30816
|
document_binary_url: documentTreeNode.document_binary_url,
|
|
30787
30817
|
document_filename: documentTreeNode.document_filename,
|
|
30788
30818
|
content_type: documentTreeNode.content_type
|
|
30789
30819
|
});
|
|
30790
|
-
this.windowService.setLocalStorage(storageKey, payload);
|
|
30791
30820
|
const mediaViewerUrl = this.router.createUrlTree(['/media-viewer'], { queryParams: { mvToken: token } })?.toString();
|
|
30792
30821
|
if (mediaViewerUrl) {
|
|
30793
|
-
this.windowService.
|
|
30822
|
+
this.windowService.openOnNewTabWithMessage(mediaViewerUrl, payload, token);
|
|
30794
30823
|
}
|
|
30795
30824
|
break;
|
|
30796
30825
|
case ('download'):
|
|
@@ -30905,9 +30934,9 @@ class CaseFileViewFolderComponent {
|
|
|
30905
30934
|
}], moveDocument: [{
|
|
30906
30935
|
type: Output
|
|
30907
30936
|
}] }); })();
|
|
30908
|
-
(() => { (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:
|
|
30937
|
+
(() => { (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 }); })();
|
|
30909
30938
|
|
|
30910
|
-
const _c0$
|
|
30939
|
+
const _c0$w = a0 => ({ "form-group-error": a0 });
|
|
30911
30940
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
30912
30941
|
i0.ɵɵelementStart(0, "span");
|
|
30913
30942
|
i0.ɵɵtext(1);
|
|
@@ -31061,7 +31090,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
31061
31090
|
} if (rf & 2) {
|
|
31062
31091
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31063
31092
|
i0.ɵɵadvance(2);
|
|
31064
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
31093
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$w, ctx.errorMessages.length > 0));
|
|
31065
31094
|
i0.ɵɵadvance(2);
|
|
31066
31095
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
31067
31096
|
i0.ɵɵadvance();
|
|
@@ -31427,7 +31456,7 @@ class CaseFlagSummaryListComponent {
|
|
|
31427
31456
|
}] }); })();
|
|
31428
31457
|
(() => { (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 }); })();
|
|
31429
31458
|
|
|
31430
|
-
const _c0$
|
|
31459
|
+
const _c0$v = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
31431
31460
|
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
31432
31461
|
i0.ɵɵelementStart(0, "caption", 13);
|
|
31433
31462
|
i0.ɵɵtext(1);
|
|
@@ -31556,7 +31585,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
|
|
|
31556
31585
|
i0.ɵɵadvance(3);
|
|
31557
31586
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
|
|
31558
31587
|
i0.ɵɵadvance(3);
|
|
31559
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$
|
|
31588
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$v, ctx_r0.isActivePvpFlag(flagDetail_r2)));
|
|
31560
31589
|
i0.ɵɵadvance();
|
|
31561
31590
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
|
|
31562
31591
|
i0.ɵɵadvance(2);
|
|
@@ -31665,7 +31694,7 @@ class CaseFlagTableComponent {
|
|
|
31665
31694
|
}] }); })();
|
|
31666
31695
|
(() => { (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 }); })();
|
|
31667
31696
|
|
|
31668
|
-
const _c0$
|
|
31697
|
+
const _c0$u = a0 => ({ "form-group-error": a0 });
|
|
31669
31698
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
31670
31699
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
31671
31700
|
i0.ɵɵtext(2);
|
|
@@ -31983,7 +32012,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
31983
32012
|
} if (rf & 2) {
|
|
31984
32013
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31985
32014
|
i0.ɵɵadvance();
|
|
31986
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32015
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$u, ctx.errorMessages.length > 0));
|
|
31987
32016
|
i0.ɵɵadvance(4);
|
|
31988
32017
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
31989
32018
|
i0.ɵɵadvance(2);
|
|
@@ -32069,7 +32098,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
32069
32098
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
32070
32099
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
32071
32100
|
|
|
32072
|
-
const _c0$
|
|
32101
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
32073
32102
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
32074
32103
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
32075
32104
|
i0.ɵɵtext(2);
|
|
@@ -32161,7 +32190,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
32161
32190
|
} if (rf & 2) {
|
|
32162
32191
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32163
32192
|
i0.ɵɵadvance();
|
|
32164
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32193
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$t, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
32165
32194
|
i0.ɵɵadvance(2);
|
|
32166
32195
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
32167
32196
|
i0.ɵɵadvance(2);
|
|
@@ -32335,7 +32364,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32335
32364
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
32336
32365
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32337
32366
|
i0.ɵɵadvance();
|
|
32338
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
32367
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$t, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
32339
32368
|
i0.ɵɵadvance(2);
|
|
32340
32369
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
32341
32370
|
i0.ɵɵadvance();
|
|
@@ -32372,7 +32401,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32372
32401
|
}] }); })();
|
|
32373
32402
|
(() => { (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 }); })();
|
|
32374
32403
|
|
|
32375
|
-
const _c0$
|
|
32404
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
32376
32405
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32377
32406
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
32378
32407
|
i0.ɵɵtext(2);
|
|
@@ -32547,7 +32576,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32547
32576
|
} if (rf & 2) {
|
|
32548
32577
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32549
32578
|
i0.ɵɵadvance();
|
|
32550
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32579
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
32551
32580
|
i0.ɵɵadvance(4);
|
|
32552
32581
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
32553
32582
|
i0.ɵɵadvance(2);
|
|
@@ -32570,8 +32599,8 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32570
32599
|
}] }); })();
|
|
32571
32600
|
(() => { (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 }); })();
|
|
32572
32601
|
|
|
32573
|
-
const _c0$
|
|
32574
|
-
const _c1$
|
|
32602
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
32603
|
+
const _c1$9 = a0 => ({ "govuk-input--error": a0 });
|
|
32575
32604
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32576
32605
|
i0.ɵɵelementContainerStart(0);
|
|
32577
32606
|
i0.ɵɵtext(1);
|
|
@@ -32665,13 +32694,13 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
32665
32694
|
} if (rf & 2) {
|
|
32666
32695
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
32667
32696
|
i0.ɵɵadvance();
|
|
32668
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
32697
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$r, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
32669
32698
|
i0.ɵɵadvance(2);
|
|
32670
32699
|
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), " ");
|
|
32671
32700
|
i0.ɵɵadvance(3);
|
|
32672
32701
|
i0.ɵɵproperty("ngIf", ctx_r0.flagTypeErrorMessage.length > 0);
|
|
32673
32702
|
i0.ɵɵadvance();
|
|
32674
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$
|
|
32703
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$9, ctx_r0.flagTypeErrorMessage.length > 0))("name", ctx_r0.caseFlagFormField.OTHER_FLAG_DESCRIPTION)("formControlName", ctx_r0.caseFlagFormField.OTHER_FLAG_DESCRIPTION);
|
|
32675
32704
|
i0.ɵɵadvance();
|
|
32676
32705
|
i0.ɵɵproperty("ngIf", !ctx_r0.isDisplayContextParameterExternal && !ctx_r0.isCaseLevelFlag && ctx_r0.isDisplayContextParameter2Point1Enabled);
|
|
32677
32706
|
} }
|
|
@@ -32690,7 +32719,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
32690
32719
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32691
32720
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
32692
32721
|
i0.ɵɵadvance();
|
|
32693
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32722
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
32694
32723
|
i0.ɵɵadvance(4);
|
|
32695
32724
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
32696
32725
|
i0.ɵɵadvance(3);
|
|
@@ -33017,8 +33046,8 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
33017
33046
|
}] }); })();
|
|
33018
33047
|
(() => { (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 }); })();
|
|
33019
33048
|
|
|
33020
|
-
const _c0$
|
|
33021
|
-
const _c1$
|
|
33049
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
33050
|
+
const _c1$8 = a0 => ({ "govuk-tag--grey": a0 });
|
|
33022
33051
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
33023
33052
|
i0.ɵɵelementStart(0, "div", 15);
|
|
33024
33053
|
i0.ɵɵtext(1);
|
|
@@ -33278,7 +33307,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
33278
33307
|
i0.ɵɵadvance(3);
|
|
33279
33308
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 4, "Flag status:"), " ");
|
|
33280
33309
|
i0.ɵɵadvance(3);
|
|
33281
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
33310
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$8, ctx_r0.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
33282
33311
|
i0.ɵɵadvance();
|
|
33283
33312
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 6, ctx_r0.selectedFlag == null ? null : ctx_r0.selectedFlag.flagDetailDisplay == null ? null : ctx_r0.selectedFlag.flagDetailDisplay.flagDetail == null ? null : ctx_r0.selectedFlag.flagDetailDisplay.flagDetail.status), " ");
|
|
33284
33313
|
i0.ɵɵadvance(3);
|
|
@@ -33503,7 +33532,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33503
33532
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
33504
33533
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33505
33534
|
i0.ɵɵadvance(2);
|
|
33506
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
33535
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$q, ctx.errorMessages.length > 0));
|
|
33507
33536
|
i0.ɵɵadvance(3);
|
|
33508
33537
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
33509
33538
|
i0.ɵɵadvance(2);
|
|
@@ -33536,7 +33565,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33536
33565
|
}] }); })();
|
|
33537
33566
|
(() => { (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 }); })();
|
|
33538
33567
|
|
|
33539
|
-
const _c0$
|
|
33568
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
33540
33569
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
33541
33570
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
33542
33571
|
i0.ɵɵtext(2);
|
|
@@ -33744,7 +33773,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33744
33773
|
} if (rf & 2) {
|
|
33745
33774
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33746
33775
|
i0.ɵɵadvance(2);
|
|
33747
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
33776
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$p, ctx.errorMessages.length > 0));
|
|
33748
33777
|
i0.ɵɵadvance(3);
|
|
33749
33778
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
33750
33779
|
i0.ɵɵadvance(3);
|
|
@@ -33801,7 +33830,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33801
33830
|
}] }); })();
|
|
33802
33831
|
(() => { (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 }); })();
|
|
33803
33832
|
|
|
33804
|
-
const _c0$
|
|
33833
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
33805
33834
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
33806
33835
|
i0.ɵɵelementStart(0, "div", 13);
|
|
33807
33836
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -33935,7 +33964,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
33935
33964
|
} if (rf & 2) {
|
|
33936
33965
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33937
33966
|
i0.ɵɵadvance(2);
|
|
33938
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
33967
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$o, ctx.errorMessages.length > 0));
|
|
33939
33968
|
i0.ɵɵadvance(4);
|
|
33940
33969
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
33941
33970
|
i0.ɵɵadvance(3);
|
|
@@ -34219,7 +34248,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
34219
34248
|
}]
|
|
34220
34249
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
34221
34250
|
|
|
34222
|
-
const _c0$
|
|
34251
|
+
const _c0$n = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
34223
34252
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
34224
34253
|
i0.ɵɵelementContainerStart(0)(1, 2);
|
|
34225
34254
|
i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
|
|
@@ -34258,7 +34287,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34258
34287
|
i0.ɵɵelementEnd();
|
|
34259
34288
|
} if (rf & 2) {
|
|
34260
34289
|
i0.ɵɵadvance();
|
|
34261
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
34290
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$n, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
34262
34291
|
} }, 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}"] });
|
|
34263
34292
|
}
|
|
34264
34293
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -34269,7 +34298,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34269
34298
|
}] }); })();
|
|
34270
34299
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
|
|
34271
34300
|
|
|
34272
|
-
const _c0$
|
|
34301
|
+
const _c0$m = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
34273
34302
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34274
34303
|
i0.ɵɵelementContainerStart(0);
|
|
34275
34304
|
i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
|
|
@@ -34363,7 +34392,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
34363
34392
|
i0.ɵɵadvance(4);
|
|
34364
34393
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
34365
34394
|
i0.ɵɵadvance(5);
|
|
34366
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
34395
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$m, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
34367
34396
|
} }, 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}"] });
|
|
34368
34397
|
}
|
|
34369
34398
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -34751,7 +34780,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
34751
34780
|
}], null, null); })();
|
|
34752
34781
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 13 }); })();
|
|
34753
34782
|
|
|
34754
|
-
const _c0$
|
|
34783
|
+
const _c0$l = a0 => ({ "form-group-error": a0 });
|
|
34755
34784
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34756
34785
|
i0.ɵɵelementStart(0, "span", 5);
|
|
34757
34786
|
i0.ɵɵtext(1);
|
|
@@ -34803,7 +34832,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
34803
34832
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
34804
34833
|
i0.ɵɵelementEnd()();
|
|
34805
34834
|
} if (rf & 2) {
|
|
34806
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
34835
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$l, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
34807
34836
|
i0.ɵɵadvance(3);
|
|
34808
34837
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
34809
34838
|
i0.ɵɵadvance();
|
|
@@ -34832,8 +34861,8 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
34832
34861
|
},
|
|
34833
34862
|
};
|
|
34834
34863
|
|
|
34835
|
-
const _c0$
|
|
34836
|
-
const _c1$
|
|
34864
|
+
const _c0$k = ["picker"];
|
|
34865
|
+
const _c1$7 = ["input"];
|
|
34837
34866
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
34838
34867
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34839
34868
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -35050,8 +35079,8 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
35050
35079
|
}
|
|
35051
35080
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
35052
35081
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35053
|
-
i0.ɵɵviewQuery(_c0$
|
|
35054
|
-
i0.ɵɵviewQuery(_c1$
|
|
35082
|
+
i0.ɵɵviewQuery(_c0$k, 5);
|
|
35083
|
+
i0.ɵɵviewQuery(_c1$7, 5);
|
|
35055
35084
|
} if (rf & 2) {
|
|
35056
35085
|
let _t;
|
|
35057
35086
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
|
|
@@ -35239,8 +35268,8 @@ class EventLogDetailsComponent {
|
|
|
35239
35268
|
}] }); })();
|
|
35240
35269
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 10 }); })();
|
|
35241
35270
|
|
|
35242
|
-
const _c0$
|
|
35243
|
-
const _c1$
|
|
35271
|
+
const _c0$j = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35272
|
+
const _c1$6 = a0 => ["./", "event", a0, "history"];
|
|
35244
35273
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
35245
35274
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
35246
35275
|
i0.ɵɵelementStart(0, "a", 17);
|
|
@@ -35287,7 +35316,7 @@ function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) { if (rf & 1)
|
|
|
35287
35316
|
} if (rf & 2) {
|
|
35288
35317
|
const event_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
35289
35318
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35290
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$
|
|
35319
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$6, event_r2.id))("target", "_blank");
|
|
35291
35320
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforLink(event_r2, ctx_r2.isUserExternal));
|
|
35292
35321
|
i0.ɵɵadvance();
|
|
35293
35322
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, event_r2.event_name));
|
|
@@ -35369,7 +35398,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
35369
35398
|
} if (rf & 2) {
|
|
35370
35399
|
const event_r2 = ctx.$implicit;
|
|
35371
35400
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35372
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
35401
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$j, ctx_r2.selected === event_r2));
|
|
35373
35402
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
35374
35403
|
i0.ɵɵadvance(2);
|
|
35375
35404
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -35566,11 +35595,11 @@ class EventLogComponent {
|
|
|
35566
35595
|
}] }); })();
|
|
35567
35596
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 10 }); })();
|
|
35568
35597
|
|
|
35569
|
-
const _c0$
|
|
35598
|
+
const _c0$i = ["*"];
|
|
35570
35599
|
class RouterLinkComponent {
|
|
35571
35600
|
link;
|
|
35572
35601
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
35573
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], standalone: false, ngContentSelectors: _c0$
|
|
35602
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], standalone: false, ngContentSelectors: _c0$i, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35574
35603
|
i0.ɵɵprojectionDef();
|
|
35575
35604
|
i0.ɵɵelementStart(0, "a", 0);
|
|
35576
35605
|
i0.ɵɵprojection(1);
|
|
@@ -36162,7 +36191,7 @@ class OrderSummary {
|
|
|
36162
36191
|
PaymentTotal;
|
|
36163
36192
|
}
|
|
36164
36193
|
|
|
36165
|
-
const _c0$
|
|
36194
|
+
const _c0$h = ["ccdReadOrderSummaryRow", ""];
|
|
36166
36195
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
36167
36196
|
feeValue;
|
|
36168
36197
|
ngOnInit() {
|
|
@@ -36175,7 +36204,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
36175
36204
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
36176
36205
|
}
|
|
36177
36206
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
36178
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
36207
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$h, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36179
36208
|
i0.ɵɵelementStart(0, "td");
|
|
36180
36209
|
i0.ɵɵtext(1);
|
|
36181
36210
|
i0.ɵɵelementEnd();
|
|
@@ -37271,8 +37300,8 @@ var CaseEditSubmitTitles;
|
|
|
37271
37300
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
37272
37301
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
37273
37302
|
|
|
37274
|
-
const _c0$
|
|
37275
|
-
const _c1$
|
|
37303
|
+
const _c0$g = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37304
|
+
const _c1$5 = a0 => ({ "form-group-error": a0 });
|
|
37276
37305
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
37277
37306
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
37278
37307
|
i0.ɵɵelement(0, "div");
|
|
@@ -37394,7 +37423,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
37394
37423
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
37395
37424
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
37396
37425
|
i0.ɵɵadvance();
|
|
37397
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
37426
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$g, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
|
|
37398
37427
|
} }
|
|
37399
37428
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
37400
37429
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -37522,13 +37551,13 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
37522
37551
|
} if (rf & 2) {
|
|
37523
37552
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
37524
37553
|
i0.ɵɵadvance(3);
|
|
37525
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$
|
|
37554
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$5, !!ctx_r1.summary && !ctx_r1.summary.valid && (ctx_r1.summary.dirty || ctx_r1.summary.touched)));
|
|
37526
37555
|
i0.ɵɵadvance(5);
|
|
37527
37556
|
i0.ɵɵproperty("ngIf", (ctx_r1.summary == null ? null : ctx_r1.summary.errors) && (ctx_r1.summary.dirty || ctx_r1.summary.touched));
|
|
37528
37557
|
i0.ɵɵadvance();
|
|
37529
37558
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$1, (ctx_r1.summary == null ? null : ctx_r1.summary.errors) && (ctx_r1.summary.dirty || ctx_r1.summary.touched)));
|
|
37530
37559
|
i0.ɵɵadvance();
|
|
37531
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
37560
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$5, !!ctx_r1.description && !ctx_r1.description.valid && (ctx_r1.description.dirty || ctx_r1.description.touched)));
|
|
37532
37561
|
i0.ɵɵadvance(3);
|
|
37533
37562
|
i0.ɵɵproperty("ngIf", (ctx_r1.description == null ? null : ctx_r1.description.errors) && (ctx_r1.description.dirty || ctx_r1.description.touched));
|
|
37534
37563
|
i0.ɵɵadvance();
|
|
@@ -38657,7 +38686,7 @@ class PaginationComponent {
|
|
|
38657
38686
|
}] }); })();
|
|
38658
38687
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 13 }); })();
|
|
38659
38688
|
|
|
38660
|
-
const _c0$
|
|
38689
|
+
const _c0$f = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
38661
38690
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
38662
38691
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
38663
38692
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -38964,7 +38993,7 @@ class CaseListComponent {
|
|
|
38964
38993
|
i0.ɵɵadvance();
|
|
38965
38994
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
38966
38995
|
i0.ɵɵadvance(2);
|
|
38967
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$
|
|
38996
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$f, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
38968
38997
|
i0.ɵɵadvance(2);
|
|
38969
38998
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
38970
38999
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$1.PaginatePipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -39082,8 +39111,237 @@ class CaseListModule {
|
|
|
39082
39111
|
NgxPaginationModule,
|
|
39083
39112
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
39084
39113
|
|
|
39114
|
+
const _c0$e = ["trigger"];
|
|
39115
|
+
const _c1$4 = ["optionsPanel"];
|
|
39116
|
+
function CaseStateMultiSelectComponent_div_16_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
39117
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
39118
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "input", 13);
|
|
39119
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39120
|
+
i0.ɵɵlistener("change", function CaseStateMultiSelectComponent_div_16_div_7_Template_input_change_1_listener($event) { const state_r3 = i0.ɵɵrestoreView(_r2).$implicit; const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.selectState(state_r3, $event)); });
|
|
39121
|
+
i0.ɵɵelementEnd();
|
|
39122
|
+
i0.ɵɵelementStart(3, "label", 14);
|
|
39123
|
+
i0.ɵɵtext(4);
|
|
39124
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
39125
|
+
i0.ɵɵelementEnd()();
|
|
39126
|
+
} if (rf & 2) {
|
|
39127
|
+
const state_r3 = ctx.$implicit;
|
|
39128
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
39129
|
+
i0.ɵɵadvance();
|
|
39130
|
+
i0.ɵɵproperty("id", ctx_r3.controlId + "-" + state_r3.id)("name", ctx_r3.controlId + "-" + state_r3.id)("checked", ctx_r3.isSelected(state_r3));
|
|
39131
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, state_r3.name));
|
|
39132
|
+
i0.ɵɵadvance(2);
|
|
39133
|
+
i0.ɵɵproperty("for", ctx_r3.controlId + "-" + state_r3.id);
|
|
39134
|
+
i0.ɵɵadvance();
|
|
39135
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 8, state_r3.name), " ");
|
|
39136
|
+
} }
|
|
39137
|
+
function CaseStateMultiSelectComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
39138
|
+
i0.ɵɵelementStart(0, "div", 9, 1)(2, "fieldset")(3, "legend", 4);
|
|
39139
|
+
i0.ɵɵtext(4);
|
|
39140
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
39141
|
+
i0.ɵɵelementEnd();
|
|
39142
|
+
i0.ɵɵelementStart(6, "div", 10);
|
|
39143
|
+
i0.ɵɵtemplate(7, CaseStateMultiSelectComponent_div_16_div_7_Template, 6, 10, "div", 11);
|
|
39144
|
+
i0.ɵɵelementEnd()()();
|
|
39145
|
+
} if (rf & 2) {
|
|
39146
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39147
|
+
i0.ɵɵproperty("id", ctx_r3.optionsId);
|
|
39148
|
+
i0.ɵɵadvance(4);
|
|
39149
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "State options"));
|
|
39150
|
+
i0.ɵɵadvance(3);
|
|
39151
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.states);
|
|
39152
|
+
} }
|
|
39153
|
+
class CaseStateMultiSelectComponent {
|
|
39154
|
+
elementRef;
|
|
39155
|
+
states = [];
|
|
39156
|
+
selectedStates = [];
|
|
39157
|
+
disabled = false;
|
|
39158
|
+
selectedStatesChange = new EventEmitter();
|
|
39159
|
+
trigger;
|
|
39160
|
+
optionsPanel;
|
|
39161
|
+
isOpen = false;
|
|
39162
|
+
controlId = 'wb-case-state';
|
|
39163
|
+
optionsId = 'wb-case-state-options';
|
|
39164
|
+
pointerDownInside = false;
|
|
39165
|
+
constructor(elementRef) {
|
|
39166
|
+
this.elementRef = elementRef;
|
|
39167
|
+
}
|
|
39168
|
+
togglePanel(event) {
|
|
39169
|
+
event?.stopPropagation();
|
|
39170
|
+
if (this.disabled) {
|
|
39171
|
+
return;
|
|
39172
|
+
}
|
|
39173
|
+
this.isOpen = !this.isOpen;
|
|
39174
|
+
}
|
|
39175
|
+
closePanel(returnFocus = false) {
|
|
39176
|
+
if (!this.isOpen) {
|
|
39177
|
+
return;
|
|
39178
|
+
}
|
|
39179
|
+
this.isOpen = false;
|
|
39180
|
+
if (returnFocus) {
|
|
39181
|
+
this.trigger?.nativeElement.focus();
|
|
39182
|
+
}
|
|
39183
|
+
}
|
|
39184
|
+
isSelected(state) {
|
|
39185
|
+
return (this.selectedStates || []).some(selectedState => selectedState.id === state.id);
|
|
39186
|
+
}
|
|
39187
|
+
selectState(state, event) {
|
|
39188
|
+
event.stopPropagation();
|
|
39189
|
+
const input = event.target;
|
|
39190
|
+
const selectedStates = (this.selectedStates || []).filter(selectedState => selectedState.id !== state.id);
|
|
39191
|
+
if (input.checked) {
|
|
39192
|
+
selectedStates.push(state);
|
|
39193
|
+
}
|
|
39194
|
+
this.selectedStatesChange.emit(selectedStates);
|
|
39195
|
+
}
|
|
39196
|
+
selectAll(event) {
|
|
39197
|
+
event.stopPropagation();
|
|
39198
|
+
this.selectedStatesChange.emit([...this.states]);
|
|
39199
|
+
}
|
|
39200
|
+
unselectAll(event) {
|
|
39201
|
+
event.stopPropagation();
|
|
39202
|
+
this.selectedStatesChange.emit([]);
|
|
39203
|
+
}
|
|
39204
|
+
get isSelectAllDisabled() {
|
|
39205
|
+
return this.disabled || this.states.every(state => this.isSelected(state));
|
|
39206
|
+
}
|
|
39207
|
+
get isUnselectAllDisabled() {
|
|
39208
|
+
return this.disabled || this.states.length === 0 || (this.selectedStates || []).length === 0;
|
|
39209
|
+
}
|
|
39210
|
+
get selectedLabel() {
|
|
39211
|
+
const selectedCount = (this.selectedStates || []).length;
|
|
39212
|
+
if (selectedCount === 0) {
|
|
39213
|
+
return 'Any';
|
|
39214
|
+
}
|
|
39215
|
+
if (selectedCount === 1) {
|
|
39216
|
+
return this.selectedStates[0].name;
|
|
39217
|
+
}
|
|
39218
|
+
return `${selectedCount} selected`;
|
|
39219
|
+
}
|
|
39220
|
+
onDocumentClick(event) {
|
|
39221
|
+
if (this.isOpen && !this.isInteractiveTarget(event.target)) {
|
|
39222
|
+
this.closePanel();
|
|
39223
|
+
}
|
|
39224
|
+
}
|
|
39225
|
+
onEscape() {
|
|
39226
|
+
this.closePanel(true);
|
|
39227
|
+
}
|
|
39228
|
+
onPointerDown(event) {
|
|
39229
|
+
this.pointerDownInside = this.isOpen && this.isInteractiveTarget(event.target);
|
|
39230
|
+
}
|
|
39231
|
+
onDocumentPointerUp() {
|
|
39232
|
+
this.pointerDownInside = false;
|
|
39233
|
+
}
|
|
39234
|
+
onFocusOut(event) {
|
|
39235
|
+
const nextFocusedElement = event.relatedTarget;
|
|
39236
|
+
if (!nextFocusedElement || !this.elementRef.nativeElement.contains(nextFocusedElement)) {
|
|
39237
|
+
if (this.pointerDownInside) {
|
|
39238
|
+
return;
|
|
39239
|
+
}
|
|
39240
|
+
this.closePanel();
|
|
39241
|
+
}
|
|
39242
|
+
}
|
|
39243
|
+
isInteractiveTarget(target) {
|
|
39244
|
+
if (!(target instanceof Node)) {
|
|
39245
|
+
return false;
|
|
39246
|
+
}
|
|
39247
|
+
if (this.trigger?.nativeElement.contains(target) || this.optionsPanel?.nativeElement.contains(target)) {
|
|
39248
|
+
return true;
|
|
39249
|
+
}
|
|
39250
|
+
const actionButtons = this.elementRef.nativeElement.querySelectorAll('.case-state-multi-select__actions button');
|
|
39251
|
+
return Array.from(actionButtons).some(button => button.contains(target));
|
|
39252
|
+
}
|
|
39253
|
+
static ɵfac = function CaseStateMultiSelectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseStateMultiSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
39254
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseStateMultiSelectComponent, selectors: [["ccd-case-state-multi-select"]], viewQuery: function CaseStateMultiSelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
39255
|
+
i0.ɵɵviewQuery(_c0$e, 5);
|
|
39256
|
+
i0.ɵɵviewQuery(_c1$4, 5);
|
|
39257
|
+
} if (rf & 2) {
|
|
39258
|
+
let _t;
|
|
39259
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.trigger = _t.first);
|
|
39260
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionsPanel = _t.first);
|
|
39261
|
+
} }, hostBindings: function CaseStateMultiSelectComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
39262
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_click_HostBindingHandler($event) { return ctx.onDocumentClick($event); }, i0.ɵɵresolveDocument)("keydown.escape", function CaseStateMultiSelectComponent_keydown_escape_HostBindingHandler() { return ctx.onEscape(); }, i0.ɵɵresolveDocument)("pointerdown", function CaseStateMultiSelectComponent_pointerdown_HostBindingHandler($event) { return ctx.onPointerDown($event); })("pointerup", function CaseStateMultiSelectComponent_pointerup_HostBindingHandler() { return ctx.onDocumentPointerUp(); }, i0.ɵɵresolveDocument)("focusout", function CaseStateMultiSelectComponent_focusout_HostBindingHandler($event) { return ctx.onFocusOut($event); });
|
|
39263
|
+
} }, inputs: { states: "states", selectedStates: "selectedStates", disabled: "disabled" }, outputs: { selectedStatesChange: "selectedStatesChange" }, standalone: false, decls: 17, vars: 19, consts: [["trigger", ""], ["optionsPanel", ""], [1, "case-state-multi-select"], [1, "case-state-multi-select__actions"], [1, "govuk-visually-hidden"], ["id", "wb-case-state-select-all", "type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["id", "wb-case-state-unselect-all", "type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "button", "aria-haspopup", "true", 1, "form-control", "form-control-3-4", "ccd-dropdown", "case-state-multi-select__trigger", 3, "click", "id", "disabled"], ["class", "case-state-multi-select__panel", 3, "id", 4, "ngIf"], [1, "case-state-multi-select__panel", 3, "id"], [1, "govuk-checkboxes", "govuk-checkboxes--small"], ["class", "govuk-checkboxes__item", 4, "ngFor", "ngForOf"], [1, "govuk-checkboxes__item"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"]], template: function CaseStateMultiSelectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39264
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
39265
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "fieldset", 3)(2, "legend", 4);
|
|
39266
|
+
i0.ɵɵtext(3);
|
|
39267
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
39268
|
+
i0.ɵɵelementEnd();
|
|
39269
|
+
i0.ɵɵelementStart(5, "button", 5);
|
|
39270
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.selectAll($event)); });
|
|
39271
|
+
i0.ɵɵtext(6);
|
|
39272
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
39273
|
+
i0.ɵɵelementEnd();
|
|
39274
|
+
i0.ɵɵelementStart(8, "button", 6);
|
|
39275
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_8_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.unselectAll($event)); });
|
|
39276
|
+
i0.ɵɵtext(9);
|
|
39277
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
39278
|
+
i0.ɵɵelementEnd()();
|
|
39279
|
+
i0.ɵɵelementStart(11, "button", 7, 0);
|
|
39280
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.togglePanel($event)); });
|
|
39281
|
+
i0.ɵɵelementStart(13, "span");
|
|
39282
|
+
i0.ɵɵtext(14);
|
|
39283
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
39284
|
+
i0.ɵɵelementEnd()();
|
|
39285
|
+
i0.ɵɵtemplate(16, CaseStateMultiSelectComponent_div_16_Template, 8, 5, "div", 8);
|
|
39286
|
+
i0.ɵɵelementEnd();
|
|
39287
|
+
} if (rf & 2) {
|
|
39288
|
+
i0.ɵɵadvance(3);
|
|
39289
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "State selection actions"));
|
|
39290
|
+
i0.ɵɵadvance(2);
|
|
39291
|
+
i0.ɵɵproperty("disabled", ctx.isSelectAllDisabled);
|
|
39292
|
+
i0.ɵɵadvance();
|
|
39293
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 13, "Select All"), " ");
|
|
39294
|
+
i0.ɵɵadvance(2);
|
|
39295
|
+
i0.ɵɵproperty("disabled", ctx.isUnselectAllDisabled);
|
|
39296
|
+
i0.ɵɵadvance();
|
|
39297
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 15, "Unselect All"), " ");
|
|
39298
|
+
i0.ɵɵadvance(2);
|
|
39299
|
+
i0.ɵɵproperty("id", ctx.controlId)("disabled", ctx.disabled);
|
|
39300
|
+
i0.ɵɵattribute("aria-expanded", ctx.isOpen)("aria-controls", ctx.optionsId);
|
|
39301
|
+
i0.ɵɵadvance(3);
|
|
39302
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 17, ctx.selectedLabel));
|
|
39303
|
+
i0.ɵɵadvance(2);
|
|
39304
|
+
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
39305
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i1.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block;width:100%}.case-state-multi-select[_ngcontent-%COMP%]{position:relative;width:100%;margin-bottom:30px}.case-state-multi-select__actions[_ngcontent-%COMP%]{display:flex;gap:15px;margin-bottom:10px;min-width:0;padding:0;border:0}.case-state-multi-select__actions[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin:0}.case-state-multi-select__trigger[_ngcontent-%COMP%]{position:relative;padding-right:35px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}.case-state-multi-select__panel[_ngcontent-%COMP%]{position:absolute;z-index:1000;top:100%;left:0;width:100%;max-height:500px;overflow-y:auto;padding:18px 22px;border:1px solid #b1b4b6;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0003;box-sizing:border-box}.case-state-multi-select__panel[_ngcontent-%COMP%] fieldset[_ngcontent-%COMP%]{min-width:0;margin:0;padding:0;border:0}.case-state-multi-select__panel[_ngcontent-%COMP%] .govuk-checkboxes__item[_ngcontent-%COMP%]{min-height:44px;margin-bottom:2px}.case-state-multi-select__panel[_ngcontent-%COMP%] .govuk-label[_ngcontent-%COMP%]{font-size:18px;line-height:1.45}"] });
|
|
39306
|
+
}
|
|
39307
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseStateMultiSelectComponent, [{
|
|
39308
|
+
type: Component,
|
|
39309
|
+
args: [{ selector: 'ccd-case-state-multi-select', standalone: false, template: "<div class=\"case-state-multi-select\">\n <fieldset class=\"case-state-multi-select__actions\">\n <legend class=\"govuk-visually-hidden\">{{'State selection actions' | rpxTranslate}}</legend>\n <button id=\"wb-case-state-select-all\"\n type=\"button\"\n class=\"button button-secondary\"\n [disabled]=\"isSelectAllDisabled\"\n (click)=\"selectAll($event)\">\n {{'Select All' | rpxTranslate}}\n </button>\n <button id=\"wb-case-state-unselect-all\"\n type=\"button\"\n class=\"button button-secondary\"\n [disabled]=\"isUnselectAllDisabled\"\n (click)=\"unselectAll($event)\">\n {{'Unselect All' | rpxTranslate}}\n </button>\n </fieldset>\n\n <button #trigger\n type=\"button\"\n class=\"form-control form-control-3-4 ccd-dropdown case-state-multi-select__trigger\"\n [id]=\"controlId\"\n [disabled]=\"disabled\"\n [attr.aria-expanded]=\"isOpen\"\n [attr.aria-controls]=\"optionsId\"\n aria-haspopup=\"true\"\n (click)=\"togglePanel($event)\">\n <span>{{selectedLabel | rpxTranslate}}</span>\n </button>\n\n <div #optionsPanel\n *ngIf=\"isOpen\"\n class=\"case-state-multi-select__panel\"\n [id]=\"optionsId\">\n <fieldset>\n <legend class=\"govuk-visually-hidden\">{{'State options' | rpxTranslate}}</legend>\n <div class=\"govuk-checkboxes govuk-checkboxes--small\">\n <div class=\"govuk-checkboxes__item\" *ngFor=\"let state of states\">\n <input class=\"govuk-checkboxes__input\"\n type=\"checkbox\"\n [id]=\"controlId + '-' + state.id\"\n [name]=\"controlId + '-' + state.id\"\n [checked]=\"isSelected(state)\"\n [attr.aria-label]=\"state.name | rpxTranslate\"\n (change)=\"selectState(state, $event)\">\n <label class=\"govuk-label govuk-checkboxes__label\"\n [for]=\"controlId + '-' + state.id\">\n {{state.name | rpxTranslate}}\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n</div>\n", styles: [":host{display:block;width:100%}.case-state-multi-select{position:relative;width:100%;margin-bottom:30px}.case-state-multi-select__actions{display:flex;gap:15px;margin-bottom:10px;min-width:0;padding:0;border:0}.case-state-multi-select__actions .button{margin:0}.case-state-multi-select__trigger{position:relative;padding-right:35px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}.case-state-multi-select__panel{position:absolute;z-index:1000;top:100%;left:0;width:100%;max-height:500px;overflow-y:auto;padding:18px 22px;border:1px solid #b1b4b6;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0003;box-sizing:border-box}.case-state-multi-select__panel fieldset{min-width:0;margin:0;padding:0;border:0}.case-state-multi-select__panel .govuk-checkboxes__item{min-height:44px;margin-bottom:2px}.case-state-multi-select__panel .govuk-label{font-size:18px;line-height:1.45}\n"] }]
|
|
39310
|
+
}], () => [{ type: i0.ElementRef }], { states: [{
|
|
39311
|
+
type: Input
|
|
39312
|
+
}], selectedStates: [{
|
|
39313
|
+
type: Input
|
|
39314
|
+
}], disabled: [{
|
|
39315
|
+
type: Input
|
|
39316
|
+
}], selectedStatesChange: [{
|
|
39317
|
+
type: Output
|
|
39318
|
+
}], trigger: [{
|
|
39319
|
+
type: ViewChild,
|
|
39320
|
+
args: ['trigger']
|
|
39321
|
+
}], optionsPanel: [{
|
|
39322
|
+
type: ViewChild,
|
|
39323
|
+
args: ['optionsPanel']
|
|
39324
|
+
}], onDocumentClick: [{
|
|
39325
|
+
type: HostListener,
|
|
39326
|
+
args: ['document:click', ['$event']]
|
|
39327
|
+
}], onEscape: [{
|
|
39328
|
+
type: HostListener,
|
|
39329
|
+
args: ['document:keydown.escape']
|
|
39330
|
+
}], onPointerDown: [{
|
|
39331
|
+
type: HostListener,
|
|
39332
|
+
args: ['pointerdown', ['$event']]
|
|
39333
|
+
}], onDocumentPointerUp: [{
|
|
39334
|
+
type: HostListener,
|
|
39335
|
+
args: ['document:pointerup']
|
|
39336
|
+
}], onFocusOut: [{
|
|
39337
|
+
type: HostListener,
|
|
39338
|
+
args: ['focusout', ['$event']]
|
|
39339
|
+
}] }); })();
|
|
39340
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseStateMultiSelectComponent, { className: "CaseStateMultiSelectComponent", filePath: "lib/shared/components/workbasket-filters/case-state-multi-select/case-state-multi-select.component.ts", lineNumber: 10 }); })();
|
|
39341
|
+
|
|
39342
|
+
const _c0$d = () => [];
|
|
39085
39343
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
39086
|
-
i0.ɵɵelementStart(0, "option",
|
|
39344
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39087
39345
|
i0.ɵɵtext(1);
|
|
39088
39346
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39089
39347
|
i0.ɵɵelementEnd();
|
|
@@ -39093,7 +39351,7 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
39093
39351
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39094
39352
|
} }
|
|
39095
39353
|
function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
39096
|
-
i0.ɵɵelementStart(0, "option",
|
|
39354
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39097
39355
|
i0.ɵɵtext(1);
|
|
39098
39356
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39099
39357
|
i0.ɵɵelementEnd();
|
|
@@ -39104,7 +39362,7 @@ function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
39104
39362
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
39105
39363
|
} }
|
|
39106
39364
|
function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
39107
|
-
i0.ɵɵelementStart(0, "option",
|
|
39365
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39108
39366
|
i0.ɵɵtext(1);
|
|
39109
39367
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39110
39368
|
i0.ɵɵelementEnd();
|
|
@@ -39114,7 +39372,7 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
39114
39372
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39115
39373
|
} }
|
|
39116
39374
|
function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
39117
|
-
i0.ɵɵelementStart(0, "option",
|
|
39375
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39118
39376
|
i0.ɵɵtext(1);
|
|
39119
39377
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39120
39378
|
i0.ɵɵelementEnd();
|
|
@@ -39124,42 +39382,31 @@ function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
39124
39382
|
i0.ɵɵadvance();
|
|
39125
39383
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r2.name));
|
|
39126
39384
|
} }
|
|
39127
|
-
function
|
|
39128
|
-
i0.ɵɵ
|
|
39129
|
-
i0.ɵɵtext(1);
|
|
39130
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39131
|
-
i0.ɵɵelementEnd();
|
|
39132
|
-
} if (rf & 2) {
|
|
39133
|
-
const cs_r3 = ctx.$implicit;
|
|
39134
|
-
i0.ɵɵproperty("ngValue", cs_r3);
|
|
39135
|
-
i0.ɵɵadvance();
|
|
39136
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r3.name));
|
|
39137
|
-
} }
|
|
39138
|
-
function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39139
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
39385
|
+
function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39386
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
39140
39387
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 20);
|
|
39141
|
-
i0.ɵɵlistener("keyup.enter", function
|
|
39388
|
+
i0.ɵɵlistener("keyup.enter", function WorkbasketFiltersComponent_ng_container_35_div_2_Template_ccd_field_write_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.apply(null)); });
|
|
39142
39389
|
i0.ɵɵelementEnd()();
|
|
39143
39390
|
} if (rf & 2) {
|
|
39144
|
-
const
|
|
39145
|
-
const
|
|
39391
|
+
const workbasketInput_r5 = ctx.$implicit;
|
|
39392
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
39146
39393
|
i0.ɵɵadvance();
|
|
39147
|
-
i0.ɵɵproperty("caseField",
|
|
39394
|
+
i0.ɵɵproperty("caseField", workbasketInput_r5.field)("formGroup", ctx_r3.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
39148
39395
|
} }
|
|
39149
|
-
function
|
|
39396
|
+
function WorkbasketFiltersComponent_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
39150
39397
|
i0.ɵɵelementContainerStart(0, 17);
|
|
39151
39398
|
i0.ɵɵelementStart(1, "div", 18);
|
|
39152
|
-
i0.ɵɵtemplate(2,
|
|
39399
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div", 19);
|
|
39153
39400
|
i0.ɵɵelementEnd();
|
|
39154
39401
|
i0.ɵɵelementContainerEnd();
|
|
39155
39402
|
} if (rf & 2) {
|
|
39156
|
-
const
|
|
39157
|
-
i0.ɵɵproperty("formGroup",
|
|
39403
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39404
|
+
i0.ɵɵproperty("formGroup", ctx_r3.formGroup)("contextFields", ctx_r3.caseFields);
|
|
39158
39405
|
i0.ɵɵadvance(2);
|
|
39159
|
-
i0.ɵɵproperty("ngForOf",
|
|
39406
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.workbasketInputs);
|
|
39160
39407
|
} }
|
|
39161
|
-
const
|
|
39162
|
-
const
|
|
39408
|
+
const FORM_GROUP_VAL_SES_STORAGE = 'workbasket-filter-form-group-value';
|
|
39409
|
+
const SAVED_QUERY_PARAM_SES_STORAGE = 'savedQueryParams';
|
|
39163
39410
|
const REGION_LIST_AND_FRC_FILTER = 'regionList';
|
|
39164
39411
|
class WorkbasketFiltersComponent {
|
|
39165
39412
|
route;
|
|
@@ -39214,7 +39461,7 @@ class WorkbasketFiltersComponent {
|
|
|
39214
39461
|
jurisdiction: null,
|
|
39215
39462
|
caseType: null,
|
|
39216
39463
|
formGroup: null,
|
|
39217
|
-
caseState:
|
|
39464
|
+
caseState: [],
|
|
39218
39465
|
page: 1,
|
|
39219
39466
|
metadataFields: []
|
|
39220
39467
|
};
|
|
@@ -39243,8 +39490,8 @@ class WorkbasketFiltersComponent {
|
|
|
39243
39490
|
if (this.selected.caseType) {
|
|
39244
39491
|
queryParams[WorkbasketFiltersComponent.PARAM_CASE_TYPE] = this.selected.caseType.id;
|
|
39245
39492
|
}
|
|
39246
|
-
if (this.selected.caseState) {
|
|
39247
|
-
queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE] = this.selected.caseState.id;
|
|
39493
|
+
if (this.selected.caseState && this.selected.caseState.length > 0) {
|
|
39494
|
+
queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE] = this.selected.caseState.map(state => state.id).join(',');
|
|
39248
39495
|
}
|
|
39249
39496
|
// without explicitly preserving alerts any message on the page
|
|
39250
39497
|
// would be cleared out because of this initial navigation.
|
|
@@ -39253,7 +39500,8 @@ class WorkbasketFiltersComponent {
|
|
|
39253
39500
|
this.alertService.setPreserveAlerts(!this.initialised);
|
|
39254
39501
|
}
|
|
39255
39502
|
if (Object.keys(this.formGroup.controls).length === 0) {
|
|
39256
|
-
|
|
39503
|
+
const storedFormGroup = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
|
|
39504
|
+
this.selected.formGroup = storedFormGroup && Object.keys(storedFormGroup).length > 0 ? storedFormGroup : null;
|
|
39257
39505
|
}
|
|
39258
39506
|
else {
|
|
39259
39507
|
// Update form group filters
|
|
@@ -39264,14 +39512,14 @@ class WorkbasketFiltersComponent {
|
|
|
39264
39512
|
this.selected.page = 1;
|
|
39265
39513
|
this.selected.metadataFields = this.getMetadataFields();
|
|
39266
39514
|
if (init) {
|
|
39267
|
-
this.windowService.
|
|
39515
|
+
this.windowService.setSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE, JSON.stringify(queryParams));
|
|
39268
39516
|
if (Object.keys(this.formGroup.controls).length > 0) {
|
|
39269
39517
|
// Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
|
|
39270
39518
|
// FormGroup value because these values are not intended to be stored and subsequently passed as query string
|
|
39271
39519
|
// parameters when calling searchCases API endpoint
|
|
39272
39520
|
const judicialUserControlValuesToRemove = Object.keys(this.formGroup.controls).filter((key) => key.endsWith('_judicialUserControl'));
|
|
39273
39521
|
judicialUserControlValuesToRemove.forEach((controlKey) => delete this.formGroup.value[controlKey]);
|
|
39274
|
-
this.windowService.
|
|
39522
|
+
this.windowService.setSessionStorage(FORM_GROUP_VAL_SES_STORAGE, JSON.stringify(this.formGroup.value));
|
|
39275
39523
|
}
|
|
39276
39524
|
}
|
|
39277
39525
|
// Announce selected jurisdiction via JurisdictionService
|
|
@@ -39285,8 +39533,8 @@ class WorkbasketFiltersComponent {
|
|
|
39285
39533
|
this.setFocusToTop();
|
|
39286
39534
|
}
|
|
39287
39535
|
reset() {
|
|
39288
|
-
this.windowService.
|
|
39289
|
-
this.windowService.
|
|
39536
|
+
this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
|
|
39537
|
+
this.windowService.removeSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
|
|
39290
39538
|
setTimeout(() => {
|
|
39291
39539
|
this.resetFieldsWhenNoDefaults();
|
|
39292
39540
|
this.onReset.emit(true);
|
|
@@ -39312,7 +39560,7 @@ class WorkbasketFiltersComponent {
|
|
|
39312
39560
|
else {
|
|
39313
39561
|
this.selected.caseType = null;
|
|
39314
39562
|
}
|
|
39315
|
-
this.selected.caseState =
|
|
39563
|
+
this.selected.caseState = [];
|
|
39316
39564
|
this.clearWorkbasketInputs();
|
|
39317
39565
|
if (!this.isApplyButtonDisabled()) {
|
|
39318
39566
|
this.onCaseTypeIdChange(false);
|
|
@@ -39329,7 +39577,7 @@ class WorkbasketFiltersComponent {
|
|
|
39329
39577
|
}
|
|
39330
39578
|
if (this.selected.caseType) {
|
|
39331
39579
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39332
|
-
this.selected.caseState =
|
|
39580
|
+
this.selected.caseState = [];
|
|
39333
39581
|
this.formGroup = new FormGroup({});
|
|
39334
39582
|
this.clearWorkbasketInputs();
|
|
39335
39583
|
if (!this.isApplyButtonDisabled()) {
|
|
@@ -39337,7 +39585,7 @@ class WorkbasketFiltersComponent {
|
|
|
39337
39585
|
this.workbasketInputsReady = true;
|
|
39338
39586
|
this.workbasketInputs = workbasketInputs
|
|
39339
39587
|
.sort(this.orderService.sortAsc);
|
|
39340
|
-
const formValue = this.windowService.
|
|
39588
|
+
const formValue = this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
|
|
39341
39589
|
workbasketInputs.forEach(item => {
|
|
39342
39590
|
if (item.field.elementPath) {
|
|
39343
39591
|
item.field.id = `${item.field.id}.${item.field.elementPath}`;
|
|
@@ -39377,18 +39625,18 @@ class WorkbasketFiltersComponent {
|
|
|
39377
39625
|
* in future to incorporate other dynamic filters.
|
|
39378
39626
|
*/
|
|
39379
39627
|
updateFormGroupFilters() {
|
|
39380
|
-
// Read the form group
|
|
39381
|
-
const
|
|
39382
|
-
// Form group
|
|
39383
|
-
if (!!
|
|
39628
|
+
// Read the form group from session storage
|
|
39629
|
+
const formGroupSessionStorage = safeJsonParse(this.windowService.getSessionStorage(FORM_GROUP_VAL_SES_STORAGE), null);
|
|
39630
|
+
// Form group session storage is available and contains regionList property
|
|
39631
|
+
if (!!formGroupSessionStorage && formGroupSessionStorage.hasOwnProperty(REGION_LIST_AND_FRC_FILTER)) {
|
|
39384
39632
|
if (this.formGroup.get(REGION_LIST_AND_FRC_FILTER)) {
|
|
39385
|
-
// If regionList value does not match between
|
|
39633
|
+
// If regionList value does not match between session storage and form group
|
|
39386
39634
|
// then the filter value has been changed and we need to clear the old filter values
|
|
39387
|
-
if (
|
|
39388
|
-
for (const key in
|
|
39389
|
-
if (
|
|
39390
|
-
const value =
|
|
39391
|
-
// Clear the filter form group control values if it has a value in
|
|
39635
|
+
if (formGroupSessionStorage[REGION_LIST_AND_FRC_FILTER] !== this.formGroup.get(REGION_LIST_AND_FRC_FILTER).value) {
|
|
39636
|
+
for (const key in formGroupSessionStorage) {
|
|
39637
|
+
if (formGroupSessionStorage.hasOwnProperty(key)) {
|
|
39638
|
+
const value = formGroupSessionStorage[key];
|
|
39639
|
+
// Clear the filter form group control values if it has a value in session storage
|
|
39392
39640
|
// The regionList form group control value should be ignored as it always contain the latest value
|
|
39393
39641
|
if (key !== REGION_LIST_AND_FRC_FILTER && value !== null) {
|
|
39394
39642
|
this.formGroup.get(key).setValue(null);
|
|
@@ -39406,8 +39654,8 @@ class WorkbasketFiltersComponent {
|
|
|
39406
39654
|
* Try to initialise filters based on query parameters or workbasket defaults.
|
|
39407
39655
|
* Query parameters, when available, take precedence over workbasket defaults.
|
|
39408
39656
|
*/
|
|
39409
|
-
initFilters(init) {
|
|
39410
|
-
const savedQueryParams = this.windowService.
|
|
39657
|
+
initFilters(init, resetCaseState = false) {
|
|
39658
|
+
const savedQueryParams = this.windowService.getSessionStorage(SAVED_QUERY_PARAM_SES_STORAGE);
|
|
39411
39659
|
const routeSnapshot = this.route.snapshot;
|
|
39412
39660
|
if (savedQueryParams) {
|
|
39413
39661
|
routeSnapshot.queryParams = JSON.parse(savedQueryParams);
|
|
@@ -39421,7 +39669,9 @@ class WorkbasketFiltersComponent {
|
|
|
39421
39669
|
this.selected.caseType = this.selectCaseType(this.selected, this.selectedJurisdictionCaseTypes, routeSnapshot);
|
|
39422
39670
|
if (this.selected.caseType) {
|
|
39423
39671
|
this.onCaseTypeIdChange(false);
|
|
39424
|
-
this.selected.caseState =
|
|
39672
|
+
this.selected.caseState = resetCaseState
|
|
39673
|
+
? []
|
|
39674
|
+
: this.selectCaseStates(this.selected.caseType, routeSnapshot);
|
|
39425
39675
|
}
|
|
39426
39676
|
this.workbasketDefaults = true;
|
|
39427
39677
|
}
|
|
@@ -39432,16 +39682,24 @@ class WorkbasketFiltersComponent {
|
|
|
39432
39682
|
}
|
|
39433
39683
|
this.apply(init);
|
|
39434
39684
|
}
|
|
39435
|
-
|
|
39436
|
-
let
|
|
39685
|
+
selectCaseStates(caseType, routeSnapshot) {
|
|
39686
|
+
let caseStates = [];
|
|
39437
39687
|
if (caseType) {
|
|
39438
|
-
const
|
|
39439
|
-
|
|
39688
|
+
const selectedCaseStateIds = this.selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, this.defaults?.state_id);
|
|
39689
|
+
caseStates = (this.selectedCaseTypeStates || caseType.states || [])
|
|
39690
|
+
.filter(state => selectedCaseStateIds.includes(state.id));
|
|
39440
39691
|
}
|
|
39441
|
-
return
|
|
39692
|
+
return caseStates;
|
|
39442
39693
|
}
|
|
39443
|
-
|
|
39444
|
-
|
|
39694
|
+
selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, defaultCaseStateId) {
|
|
39695
|
+
const queryState = routeSnapshot.queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE];
|
|
39696
|
+
const stateValue = queryState || defaultCaseStateId;
|
|
39697
|
+
if (!stateValue) {
|
|
39698
|
+
return [];
|
|
39699
|
+
}
|
|
39700
|
+
return (Array.isArray(stateValue) ? stateValue : String(stateValue).split(','))
|
|
39701
|
+
.map(stateId => String(stateId).trim())
|
|
39702
|
+
.filter(Boolean);
|
|
39445
39703
|
}
|
|
39446
39704
|
selectCaseType(selected, caseTypes, routeSnapshot) {
|
|
39447
39705
|
let caseType;
|
|
@@ -39461,18 +39719,18 @@ class WorkbasketFiltersComponent {
|
|
|
39461
39719
|
this.workbasketDefaults = false;
|
|
39462
39720
|
this.selected.jurisdiction = null;
|
|
39463
39721
|
this.initialised = false;
|
|
39464
|
-
this.initFilters(true);
|
|
39722
|
+
this.initFilters(true, true);
|
|
39465
39723
|
}
|
|
39466
39724
|
clearWorkbasketInputs() {
|
|
39467
39725
|
this.workbasketInputsReady = false;
|
|
39468
39726
|
this.workbasketInputs = [];
|
|
39469
39727
|
}
|
|
39470
39728
|
clearStoredWorkbasketFilterValues() {
|
|
39471
|
-
this.windowService.
|
|
39729
|
+
this.windowService.removeSessionStorage(FORM_GROUP_VAL_SES_STORAGE);
|
|
39472
39730
|
}
|
|
39473
39731
|
resetCaseState() {
|
|
39474
39732
|
this.defaults.state_id = null;
|
|
39475
|
-
this.selected.caseState =
|
|
39733
|
+
this.selected.caseState = [];
|
|
39476
39734
|
this.selectedCaseTypeStates = null;
|
|
39477
39735
|
}
|
|
39478
39736
|
resetCaseType() {
|
|
@@ -39492,7 +39750,7 @@ class WorkbasketFiltersComponent {
|
|
|
39492
39750
|
}
|
|
39493
39751
|
}
|
|
39494
39752
|
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)); };
|
|
39495
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, standalone: false, decls:
|
|
39753
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, standalone: false, decls: 41, vars: 53, consts: [["id", "filters", 1, "global-display"], [1, "form-group", "flex"], [1, "heading-h2"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "click", "disabled", "title"], ["type", "button", 1, "button", "button-secondary", 3, "click", "title"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel", "disabled"], ["for", "wb-case-state", 1, "form-label"], [3, "selectedStatesChange", "states", "selectedStates", "disabled"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", 3, "click", "title"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded", "isInSearchBlock"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39496
39754
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "h2", 2);
|
|
39497
39755
|
i0.ɵɵtext(3);
|
|
39498
39756
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39534,37 +39792,32 @@ class WorkbasketFiltersComponent {
|
|
|
39534
39792
|
i0.ɵɵtext(32);
|
|
39535
39793
|
i0.ɵɵpipe(33, "rpxTranslate");
|
|
39536
39794
|
i0.ɵɵelementEnd();
|
|
39537
|
-
i0.ɵɵelementStart(34, "select", 13);
|
|
39538
|
-
i0.ɵɵ
|
|
39539
|
-
i0.ɵɵelementStart(35, "option", 14);
|
|
39540
|
-
i0.ɵɵtext(36);
|
|
39541
|
-
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39542
|
-
i0.ɵɵelementEnd();
|
|
39543
|
-
i0.ɵɵtemplate(38, WorkbasketFiltersComponent_option_38_Template, 3, 4, "option", 9);
|
|
39795
|
+
i0.ɵɵelementStart(34, "ccd-case-state-multi-select", 13);
|
|
39796
|
+
i0.ɵɵlistener("selectedStatesChange", function WorkbasketFiltersComponent_Template_ccd_case_state_multi_select_selectedStatesChange_34_listener($event) { return ctx.selected.caseState = $event; });
|
|
39544
39797
|
i0.ɵɵelementEnd()();
|
|
39545
|
-
i0.ɵɵtemplate(
|
|
39546
|
-
i0.ɵɵelementStart(
|
|
39547
|
-
i0.ɵɵpipe(
|
|
39548
|
-
i0.ɵɵpipe(
|
|
39549
|
-
i0.ɵɵlistener("click", function
|
|
39550
|
-
i0.ɵɵtext(
|
|
39551
|
-
i0.ɵɵpipe(
|
|
39798
|
+
i0.ɵɵtemplate(35, WorkbasketFiltersComponent_ng_container_35_Template, 3, 3, "ng-container", 14);
|
|
39799
|
+
i0.ɵɵelementStart(36, "button", 15);
|
|
39800
|
+
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39801
|
+
i0.ɵɵpipe(38, "rpxTranslate");
|
|
39802
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_36_listener() { return ctx.scrollToTop(); });
|
|
39803
|
+
i0.ɵɵtext(39);
|
|
39804
|
+
i0.ɵɵpipe(40, "rpxTranslate");
|
|
39552
39805
|
i0.ɵɵelementEnd()();
|
|
39553
39806
|
} if (rf & 2) {
|
|
39554
39807
|
i0.ɵɵadvance(3);
|
|
39555
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
39808
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 25, "Filters"));
|
|
39556
39809
|
i0.ɵɵadvance(2);
|
|
39557
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39558
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7,
|
|
39810
|
+
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6, 27, "Apply filter"));
|
|
39811
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7, 29, "Apply filter"));
|
|
39559
39812
|
i0.ɵɵadvance(3);
|
|
39560
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
39813
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 31, "Apply"), " ");
|
|
39561
39814
|
i0.ɵɵadvance(3);
|
|
39562
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39563
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13,
|
|
39815
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12, 33, "Reset filter"));
|
|
39816
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13, 35, "Reset filter"));
|
|
39564
39817
|
i0.ɵɵadvance(3);
|
|
39565
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
39818
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 37, "Reset"), " ");
|
|
39566
39819
|
i0.ɵɵadvance(4);
|
|
39567
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
39820
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 39, "Jurisdiction"));
|
|
39568
39821
|
i0.ɵɵadvance(2);
|
|
39569
39822
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39570
39823
|
i0.ɵɵadvance();
|
|
@@ -39572,7 +39825,7 @@ class WorkbasketFiltersComponent {
|
|
|
39572
39825
|
i0.ɵɵadvance();
|
|
39573
39826
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39574
39827
|
i0.ɵɵadvance(3);
|
|
39575
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
39828
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 41, "Case type"));
|
|
39576
39829
|
i0.ɵɵadvance(2);
|
|
39577
39830
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39578
39831
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39581,28 +39834,21 @@ class WorkbasketFiltersComponent {
|
|
|
39581
39834
|
i0.ɵɵadvance();
|
|
39582
39835
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39583
39836
|
i0.ɵɵadvance(3);
|
|
39584
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
39837
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 43, "State"));
|
|
39585
39838
|
i0.ɵɵadvance(2);
|
|
39586
|
-
i0.ɵɵ
|
|
39587
|
-
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39588
|
-
i0.ɵɵadvance();
|
|
39589
|
-
i0.ɵɵproperty("ngValue", null);
|
|
39590
|
-
i0.ɵɵadvance();
|
|
39591
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 47, "Any"));
|
|
39592
|
-
i0.ɵɵadvance(2);
|
|
39593
|
-
i0.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
39839
|
+
i0.ɵɵproperty("states", ctx.selectedCaseTypeStates || i0.ɵɵpureFunction0(51, _c0$d))("selectedStates", ctx.selected.caseState || i0.ɵɵpureFunction0(52, _c0$d))("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39594
39840
|
i0.ɵɵadvance();
|
|
39595
39841
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39596
39842
|
i0.ɵɵadvance();
|
|
39597
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(
|
|
39598
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(
|
|
39843
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(37, 45, "Back to top"));
|
|
39844
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(38, 47, "Back to top"));
|
|
39599
39845
|
i0.ɵɵadvance(3);
|
|
39600
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
39846
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(40, 49, "Back to top"), " ");
|
|
39601
39847
|
} }, 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}"] });
|
|
39602
39848
|
}
|
|
39603
39849
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39604
39850
|
type: Component,
|
|
39605
|
-
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 <
|
|
39851
|
+
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <h2 class=\"heading-h2\">{{'Filters' | rpxTranslate }}</h2>\n <button type=\"button\" class=\"button workbasket-filters-apply\" (click)=\"apply(true)\" [disabled]=\"isApplyButtonDisabled()\"\n [title]=\"'Apply filter' | rpxTranslate\" [attr.aria-label]=\"'Apply filter' | rpxTranslate\">\n {{'Apply' | rpxTranslate}}\n </button> \n <button type=\"button\" (click)=\"reset()\" class=\"button button-secondary\"\n [title]=\"'Reset filter' | rpxTranslate\" [attr.aria-label]=\"'Reset filter' | rpxTranslate\">\n {{'Reset' | rpxTranslate}}\n </button>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-jurisdiction\">{{'Jurisdiction' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-jurisdiction\"\n name=\"jurisdiction\" [(ngModel)]=\"selected.jurisdiction\" aria-controls=\"search-result\"\n (change)=\"onJurisdictionIdChange()\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let j of jurisdictions\" [ngValue]=\"j\">{{j.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-type\">{{'Case type' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-type\"\n name=\"case-type\" [(ngModel)]=\"selected.caseType\" [disabled]=\"isCaseTypesDropdownDisabled()\"\n (change)=\"onCaseTypeIdChange()\" aria-controls=\"search-result\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let ct of selectedJurisdictionCaseTypes\" [ngValue]=\"ct\">{{ct.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-state\">{{'State' | rpxTranslate}}</label>\n <ccd-case-state-multi-select\n [states]=\"selectedCaseTypeStates || []\"\n [selectedStates]=\"selected.caseState || []\"\n [disabled]=\"isCaseStatesDropdownDisabled()\"\n (selectedStatesChange)=\"selected.caseState = $event\">\n </ccd-case-state-multi-select>\n </div>\n\n <ng-container ccdConditionalShowForm *ngIf=\"isSearchableAndWorkbasketInputsReady()\" [formGroup]=\"formGroup\" [contextFields]=\"caseFields\">\n <div id=\"dynamicFilters\">\n <div class=\"form-group\" *ngFor=\"let workbasketInput of workbasketInputs\">\n <ccd-field-write [caseField]=\"workbasketInput.field\" [formGroup]=\"formGroup\" [isExpanded]=\"true\" [isInSearchBlock]=\"true\" (keyup.enter)=\"apply(null)\">\n </ccd-field-write>\n </div>\n </div>\n </ng-container>\n\n <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"] }]
|
|
39606
39852
|
}], () => [{ type: i1$2.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
39607
39853
|
type: Input
|
|
39608
39854
|
}], defaults: [{
|
|
@@ -39612,7 +39858,7 @@ class WorkbasketFiltersComponent {
|
|
|
39612
39858
|
}], onReset: [{
|
|
39613
39859
|
type: Output
|
|
39614
39860
|
}] }); })();
|
|
39615
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber:
|
|
39861
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 29 }); })();
|
|
39616
39862
|
|
|
39617
39863
|
class WorkbasketFiltersModule {
|
|
39618
39864
|
static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
|
|
@@ -39642,9 +39888,11 @@ class WorkbasketFiltersModule {
|
|
|
39642
39888
|
RpxTranslationModule.forChild()
|
|
39643
39889
|
],
|
|
39644
39890
|
declarations: [
|
|
39891
|
+
CaseStateMultiSelectComponent,
|
|
39645
39892
|
WorkbasketFiltersComponent,
|
|
39646
39893
|
],
|
|
39647
39894
|
exports: [
|
|
39895
|
+
CaseStateMultiSelectComponent,
|
|
39648
39896
|
WorkbasketFiltersComponent,
|
|
39649
39897
|
],
|
|
39650
39898
|
providers: [
|
|
@@ -39656,12 +39904,14 @@ class WorkbasketFiltersModule {
|
|
|
39656
39904
|
]
|
|
39657
39905
|
}]
|
|
39658
39906
|
}], null, null); })();
|
|
39659
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
39907
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [CaseStateMultiSelectComponent,
|
|
39908
|
+
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39660
39909
|
FormsModule,
|
|
39661
39910
|
ReactiveFormsModule,
|
|
39662
39911
|
PaletteModule,
|
|
39663
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
39664
|
-
|
|
39912
|
+
ConditionalShowModule, i1.RpxTranslationModule], exports: [CaseStateMultiSelectComponent,
|
|
39913
|
+
WorkbasketFiltersComponent] }); })();
|
|
39914
|
+
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, CaseStateMultiSelectComponent]; }, function () { return [i1.RpxTranslatePipe]; });
|
|
39665
39915
|
|
|
39666
39916
|
const READ_ACCESS = 'read';
|
|
39667
39917
|
const CREATE_ACCESS = 'create';
|
|
@@ -45018,10 +45268,10 @@ function SearchFiltersComponent_ng_container_16_Template(rf, ctx) { if (rf & 1)
|
|
|
45018
45268
|
i0.ɵɵadvance(2);
|
|
45019
45269
|
i0.ɵɵproperty("ngForOf", ctx_r3.searchInputs);
|
|
45020
45270
|
} }
|
|
45021
|
-
const
|
|
45022
|
-
const
|
|
45023
|
-
const
|
|
45024
|
-
const
|
|
45271
|
+
const JURISDICTION_SES_STORAGE = 'search-jurisdiction';
|
|
45272
|
+
const META_FIELDS_SES_STORAGE = 'search-metadata-fields';
|
|
45273
|
+
const FORM_GROUP_VALUE_SES_STORAGE = 'search-form-group-value';
|
|
45274
|
+
const CASE_TYPE_SES_STORAGE = 'search-caseType';
|
|
45025
45275
|
class SearchFiltersComponent {
|
|
45026
45276
|
searchService;
|
|
45027
45277
|
orderService;
|
|
@@ -45050,7 +45300,7 @@ class SearchFiltersComponent {
|
|
|
45050
45300
|
this.selected = {};
|
|
45051
45301
|
}
|
|
45052
45302
|
ngOnInit() {
|
|
45053
|
-
const jurisdiction = this.
|
|
45303
|
+
const jurisdiction = this.getValuesFromSessionStorage();
|
|
45054
45304
|
if (this.jurisdictions.length === 1 || jurisdiction) {
|
|
45055
45305
|
this.selected.jurisdiction = this.jurisdictions[0];
|
|
45056
45306
|
if (jurisdiction) {
|
|
@@ -45077,10 +45327,10 @@ class SearchFiltersComponent {
|
|
|
45077
45327
|
});
|
|
45078
45328
|
}
|
|
45079
45329
|
reset() {
|
|
45080
|
-
this.windowService.
|
|
45081
|
-
this.windowService.
|
|
45082
|
-
this.windowService.
|
|
45083
|
-
this.windowService.
|
|
45330
|
+
this.windowService.removeSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
|
|
45331
|
+
this.windowService.removeSessionStorage(CASE_TYPE_SES_STORAGE);
|
|
45332
|
+
this.windowService.removeSessionStorage(JURISDICTION_SES_STORAGE);
|
|
45333
|
+
this.windowService.removeSessionStorage(META_FIELDS_SES_STORAGE);
|
|
45084
45334
|
this.selected = {};
|
|
45085
45335
|
if (this.jurisdictions.length === 1) {
|
|
45086
45336
|
this.selected.jurisdiction = this.jurisdictions[0];
|
|
@@ -45092,39 +45342,39 @@ class SearchFiltersComponent {
|
|
|
45092
45342
|
this.selected.formGroup = this.formGroup;
|
|
45093
45343
|
this.selected.page = 1;
|
|
45094
45344
|
this.selected.metadataFields = this.getMetadataFields();
|
|
45095
|
-
this.
|
|
45345
|
+
this.populateValuesInSessionStorage();
|
|
45096
45346
|
this.onApply.emit({
|
|
45097
45347
|
selected: this.selected,
|
|
45098
45348
|
queryParams: this.getQueryParams()
|
|
45099
45349
|
});
|
|
45100
45350
|
this.setFocusToTop();
|
|
45101
45351
|
}
|
|
45102
|
-
|
|
45103
|
-
this.windowService.
|
|
45104
|
-
this.windowService.
|
|
45352
|
+
populateValuesInSessionStorage() {
|
|
45353
|
+
this.windowService.setSessionStorage(FORM_GROUP_VALUE_SES_STORAGE, JSON.stringify(this.selected.formGroup.value));
|
|
45354
|
+
this.windowService.setSessionStorage(META_FIELDS_SES_STORAGE, JSON.stringify(this.selected.metadataFields));
|
|
45105
45355
|
try {
|
|
45106
45356
|
const compJurisd = compressToUTF16(JSON.stringify(this.selected.jurisdiction));
|
|
45107
|
-
this.windowService.
|
|
45357
|
+
this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, compJurisd);
|
|
45108
45358
|
}
|
|
45109
45359
|
catch (e) {
|
|
45110
|
-
this.windowService.
|
|
45360
|
+
this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
|
|
45111
45361
|
}
|
|
45112
45362
|
if (this.selected.caseType) {
|
|
45113
|
-
this.windowService.
|
|
45363
|
+
this.windowService.setSessionStorage(CASE_TYPE_SES_STORAGE, JSON.stringify(this.selected.caseType));
|
|
45114
45364
|
}
|
|
45115
45365
|
}
|
|
45116
|
-
|
|
45117
|
-
const jurisdiction = this.windowService.
|
|
45366
|
+
getValuesFromSessionStorage() {
|
|
45367
|
+
const jurisdiction = this.windowService.getSessionStorage(JURISDICTION_SES_STORAGE);
|
|
45118
45368
|
if (jurisdiction) {
|
|
45119
45369
|
try {
|
|
45120
|
-
const
|
|
45121
|
-
if (
|
|
45122
|
-
return
|
|
45370
|
+
const sessionStorageJurisdiction = JSON.parse(decompressFromUTF16(jurisdiction));
|
|
45371
|
+
if (sessionStorageJurisdiction) {
|
|
45372
|
+
return sessionStorageJurisdiction;
|
|
45123
45373
|
}
|
|
45124
45374
|
}
|
|
45125
45375
|
catch (e) {
|
|
45126
|
-
this.logger.error('Failed to retrieve jurisdiction from
|
|
45127
|
-
this.windowService.
|
|
45376
|
+
this.logger.error('Failed to retrieve jurisdiction from session storage.', { error: e });
|
|
45377
|
+
this.windowService.setSessionStorage(JURISDICTION_SES_STORAGE, null);
|
|
45128
45378
|
}
|
|
45129
45379
|
}
|
|
45130
45380
|
return null;
|
|
@@ -45162,7 +45412,7 @@ class SearchFiltersComponent {
|
|
|
45162
45412
|
this.searchInputs = [];
|
|
45163
45413
|
this.searchService.getSearchInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(tap(() => this.searchInputsReady = true)).subscribe(searchInputs => {
|
|
45164
45414
|
this.searchInputs = searchInputs.sort(this.orderService.sortAsc);
|
|
45165
|
-
const formValue = this.windowService.
|
|
45415
|
+
const formValue = this.windowService.getSessionStorage(FORM_GROUP_VALUE_SES_STORAGE);
|
|
45166
45416
|
let formValueObject = null;
|
|
45167
45417
|
if (formValue) {
|
|
45168
45418
|
formValueObject = JSON.parse(formValue);
|
|
@@ -45200,7 +45450,7 @@ class SearchFiltersComponent {
|
|
|
45200
45450
|
selectCaseType(caseTypes) {
|
|
45201
45451
|
if (caseTypes && caseTypes.length > 0) {
|
|
45202
45452
|
this.selected.caseType = caseTypes[0];
|
|
45203
|
-
const caseType = this.windowService.
|
|
45453
|
+
const caseType = this.windowService.getSessionStorage(CASE_TYPE_SES_STORAGE);
|
|
45204
45454
|
if (caseType) {
|
|
45205
45455
|
const caseTypeObject = JSON.parse(caseType);
|
|
45206
45456
|
const result = caseTypes.filter(c => c.id === caseTypeObject.id);
|
|
@@ -45799,7 +46049,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45799
46049
|
} if (rf & 2) {
|
|
45800
46050
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45801
46051
|
i0.ɵɵadvance(3);
|
|
45802
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.
|
|
46052
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.hasSelectedCaseState() ? "Your cases" : "Search result"));
|
|
45803
46053
|
i0.ɵɵadvance(2);
|
|
45804
46054
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
45805
46055
|
i0.ɵɵadvance();
|
|
@@ -46033,7 +46283,10 @@ class SearchResultComponent {
|
|
|
46033
46283
|
const queryParams = {};
|
|
46034
46284
|
queryParams[SearchResultComponent.PARAM_JURISDICTION] = this.selected.jurisdiction ? this.selected.jurisdiction.id : null;
|
|
46035
46285
|
queryParams[SearchResultComponent.PARAM_CASE_TYPE] = this.selected.caseType ? this.selected.caseType.id : null;
|
|
46036
|
-
|
|
46286
|
+
const caseStates = this.getCaseStates(this.selected.caseState);
|
|
46287
|
+
queryParams[SearchResultComponent.PARAM_CASE_STATE] = caseStates.length > 0
|
|
46288
|
+
? caseStates.map(state => state.id).join(',')
|
|
46289
|
+
: null;
|
|
46037
46290
|
this.changePage.emit({
|
|
46038
46291
|
selected: this.selected,
|
|
46039
46292
|
queryParams
|
|
@@ -46046,6 +46299,15 @@ class SearchResultComponent {
|
|
|
46046
46299
|
topContainer.focus();
|
|
46047
46300
|
}
|
|
46048
46301
|
}
|
|
46302
|
+
hasSelectedCaseState() {
|
|
46303
|
+
return this.getCaseStates(this.caseState).length > 0;
|
|
46304
|
+
}
|
|
46305
|
+
getCaseStates(caseState) {
|
|
46306
|
+
if (Array.isArray(caseState)) {
|
|
46307
|
+
return caseState;
|
|
46308
|
+
}
|
|
46309
|
+
return caseState ? [caseState] : [];
|
|
46310
|
+
}
|
|
46049
46311
|
buildCaseField(col, result) {
|
|
46050
46312
|
return Object.assign(new CaseField(), {
|
|
46051
46313
|
id: col.case_field_id,
|
|
@@ -46191,7 +46453,7 @@ class SearchResultComponent {
|
|
|
46191
46453
|
}
|
|
46192
46454
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46193
46455
|
type: Component,
|
|
46194
|
-
args: [{ selector: 'ccd-search-result', standalone: false, template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\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}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46456
|
+
args: [{ selector: 'ccd-search-result', standalone: false, template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (hasSelectedCaseState() ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\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}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46195
46457
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46196
46458
|
type: Input
|
|
46197
46459
|
}], jurisdiction: [{
|
|
@@ -46528,5 +46790,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46528
46790
|
* Generated bundle index. Do not edit.
|
|
46529
46791
|
*/
|
|
46530
46792
|
|
|
46531
|
-
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, MEDIA_VIEWER_LOCALSTORAGE_KEY, 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 };
|
|
46793
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseStateMultiSelectComponent, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
46532
46794
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|