@hmcts/ccd-case-ui-toolkit 7.4.4-default-focus → 7.4.4-exui-2855-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +521 -298
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +61 -26
- 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, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, Injectable, DOCUMENT, Inject, InjectionToken, Optional, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
2
|
+
import { Component, Input, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, Injectable, DOCUMENT, Inject, InjectionToken, Optional, 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()();
|
|
@@ -168,8 +168,8 @@ class FooterComponent {
|
|
|
168
168
|
}] }); })();
|
|
169
169
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 9 }); })();
|
|
170
170
|
|
|
171
|
-
const _c0$
|
|
172
|
-
const _c1$
|
|
171
|
+
const _c0$1b = [[["", "headerNavigation", ""]]];
|
|
172
|
+
const _c1$w = ["[headerNavigation]"];
|
|
173
173
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
174
174
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
175
175
|
i0.ɵɵelement(2, "img", 13);
|
|
@@ -210,8 +210,8 @@ class HeaderBarComponent {
|
|
|
210
210
|
this.signOutRequest.emit();
|
|
211
211
|
}
|
|
212
212
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
213
|
-
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$
|
|
214
|
-
i0.ɵɵprojectionDef(_c0$
|
|
213
|
+
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) {
|
|
214
|
+
i0.ɵɵprojectionDef(_c0$1b);
|
|
215
215
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
216
216
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
217
217
|
i0.ɵɵelementEnd();
|
|
@@ -261,13 +261,13 @@ class HeaderBarComponent {
|
|
|
261
261
|
}] }); })();
|
|
262
262
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 9 }); })();
|
|
263
263
|
|
|
264
|
-
const _c0$
|
|
265
|
-
const _c1$
|
|
264
|
+
const _c0$1a = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
265
|
+
const _c1$v = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
266
266
|
class NavigationComponent {
|
|
267
267
|
isSolicitor;
|
|
268
268
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
269
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$
|
|
270
|
-
i0.ɵɵprojectionDef(_c0$
|
|
269
|
+
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) {
|
|
270
|
+
i0.ɵɵprojectionDef(_c0$1a);
|
|
271
271
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
272
272
|
i0.ɵɵprojection(2);
|
|
273
273
|
i0.ɵɵprojection(3, 1);
|
|
@@ -385,12 +385,12 @@ class HeadersModule {
|
|
|
385
385
|
}], null, null); })();
|
|
386
386
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
387
387
|
|
|
388
|
-
const _c0$
|
|
389
|
-
const _c1$
|
|
388
|
+
const _c0$19 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
389
|
+
const _c1$u = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
390
390
|
class BodyComponent {
|
|
391
391
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
392
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$
|
|
393
|
-
i0.ɵɵprojectionDef(_c0$
|
|
392
|
+
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) {
|
|
393
|
+
i0.ɵɵprojectionDef(_c0$19);
|
|
394
394
|
i0.ɵɵelementStart(0, "div", 0);
|
|
395
395
|
i0.ɵɵprojection(1);
|
|
396
396
|
i0.ɵɵprojection(2, 1);
|
|
@@ -404,7 +404,7 @@ class BodyComponent {
|
|
|
404
404
|
}], null, null); })();
|
|
405
405
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
|
|
406
406
|
|
|
407
|
-
const _c0$
|
|
407
|
+
const _c0$18 = a0 => ({ "govuk-input--error": a0 });
|
|
408
408
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
409
409
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
410
410
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -421,7 +421,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
421
421
|
i0.ɵɵadvance();
|
|
422
422
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
423
423
|
i0.ɵɵadvance(2);
|
|
424
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
424
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
425
425
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
426
426
|
} }
|
|
427
427
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -440,7 +440,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
440
440
|
i0.ɵɵadvance();
|
|
441
441
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
442
442
|
i0.ɵɵadvance(2);
|
|
443
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
443
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
444
444
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
445
445
|
} }
|
|
446
446
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -459,7 +459,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
459
459
|
i0.ɵɵadvance();
|
|
460
460
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
461
461
|
i0.ɵɵadvance(2);
|
|
462
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
462
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$18, ctx_r6.isInvalid));
|
|
463
463
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
464
464
|
} }
|
|
465
465
|
class DateInputComponent {
|
|
@@ -695,21 +695,21 @@ class DateInputComponent {
|
|
|
695
695
|
i0.ɵɵadvance();
|
|
696
696
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
697
697
|
i0.ɵɵadvance(2);
|
|
698
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
698
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$18, ctx.isInvalid));
|
|
699
699
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
700
700
|
i0.ɵɵadvance(3);
|
|
701
701
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
702
702
|
i0.ɵɵadvance();
|
|
703
703
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
704
704
|
i0.ɵɵadvance(2);
|
|
705
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
705
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$18, ctx.isInvalid));
|
|
706
706
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
707
707
|
i0.ɵɵadvance(3);
|
|
708
708
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
709
709
|
i0.ɵɵadvance();
|
|
710
710
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
711
711
|
i0.ɵɵadvance(2);
|
|
712
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
712
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$18, ctx.isInvalid));
|
|
713
713
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
714
714
|
i0.ɵɵadvance(2);
|
|
715
715
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -746,7 +746,7 @@ class DateInputComponent {
|
|
|
746
746
|
}] }); })();
|
|
747
747
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
|
|
748
748
|
|
|
749
|
-
const _c0$
|
|
749
|
+
const _c0$17 = ["*"];
|
|
750
750
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
751
751
|
i0.ɵɵelementContainerStart(0);
|
|
752
752
|
i0.ɵɵnamespaceSVG();
|
|
@@ -796,7 +796,7 @@ class AlertComponent {
|
|
|
796
796
|
showIcon = true;
|
|
797
797
|
alertMessageType = AlertMessageType;
|
|
798
798
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
799
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$
|
|
799
|
+
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) {
|
|
800
800
|
i0.ɵɵprojectionDef();
|
|
801
801
|
i0.ɵɵelementStart(0, "div", 0);
|
|
802
802
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1010,20 +1010,20 @@ class NotificationBannerComponent {
|
|
|
1010
1010
|
}] }); })();
|
|
1011
1011
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
|
|
1012
1012
|
|
|
1013
|
-
const _c0$
|
|
1014
|
-
const _c1$
|
|
1013
|
+
const _c0$16 = ["*"];
|
|
1014
|
+
const _c1$t = a0 => ({ "js-hidden": a0 });
|
|
1015
1015
|
class TabComponent {
|
|
1016
1016
|
id;
|
|
1017
1017
|
title;
|
|
1018
1018
|
selected;
|
|
1019
1019
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1020
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$
|
|
1020
|
+
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) {
|
|
1021
1021
|
i0.ɵɵprojectionDef();
|
|
1022
1022
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1023
1023
|
i0.ɵɵprojection(1);
|
|
1024
1024
|
i0.ɵɵelementEnd();
|
|
1025
1025
|
} if (rf & 2) {
|
|
1026
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$
|
|
1026
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$t, !ctx.selected));
|
|
1027
1027
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1028
1028
|
} }, dependencies: [i5.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media(max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
1029
1029
|
}
|
|
@@ -1039,8 +1039,8 @@ class TabComponent {
|
|
|
1039
1039
|
}] }); })();
|
|
1040
1040
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
|
|
1041
1041
|
|
|
1042
|
-
const _c0$
|
|
1043
|
-
const _c1$
|
|
1042
|
+
const _c0$15 = ["tab"];
|
|
1043
|
+
const _c1$s = ["*"];
|
|
1044
1044
|
const _c2$5 = () => ["."];
|
|
1045
1045
|
const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
1046
1046
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1086,11 +1086,11 @@ class TabsComponent {
|
|
|
1086
1086
|
let _t;
|
|
1087
1087
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1088
1088
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1089
|
-
i0.ɵɵviewQuery(_c0$
|
|
1089
|
+
i0.ɵɵviewQuery(_c0$15, 5);
|
|
1090
1090
|
} if (rf & 2) {
|
|
1091
1091
|
let _t;
|
|
1092
1092
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
1093
|
-
} }, standalone: false, ngContentSelectors: _c1$
|
|
1093
|
+
} }, 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) {
|
|
1094
1094
|
i0.ɵɵprojectionDef();
|
|
1095
1095
|
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
1096
1096
|
i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
|
|
@@ -1145,7 +1145,7 @@ class TabsModule {
|
|
|
1145
1145
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1146
1146
|
TabComponent] }); })();
|
|
1147
1147
|
|
|
1148
|
-
const _c0$
|
|
1148
|
+
const _c0$14 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1149
1149
|
class ActivityBannerComponent {
|
|
1150
1150
|
bannerType;
|
|
1151
1151
|
description;
|
|
@@ -1164,7 +1164,7 @@ class ActivityBannerComponent {
|
|
|
1164
1164
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1165
1165
|
i0.ɵɵelementEnd()();
|
|
1166
1166
|
} if (rf & 2) {
|
|
1167
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$
|
|
1167
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$14, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1168
1168
|
i0.ɵɵadvance(2);
|
|
1169
1169
|
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1170
1170
|
i0.ɵɵadvance(3);
|
|
@@ -3960,7 +3960,6 @@ class CaseTab {
|
|
|
3960
3960
|
order;
|
|
3961
3961
|
fields;
|
|
3962
3962
|
show_condition;
|
|
3963
|
-
defaultFocus;
|
|
3964
3963
|
}
|
|
3965
3964
|
__decorate([
|
|
3966
3965
|
Type(() => CaseField),
|
|
@@ -13590,7 +13589,7 @@ class CaseEventCompletionComponent {
|
|
|
13590
13589
|
}] }); })();
|
|
13591
13590
|
(() => { (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 }); })();
|
|
13592
13591
|
|
|
13593
|
-
const _c0$
|
|
13592
|
+
const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13594
13593
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13595
13594
|
context;
|
|
13596
13595
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13659,7 +13658,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13659
13658
|
i0.ɵɵadvance(4);
|
|
13660
13659
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13661
13660
|
i0.ɵɵadvance(2);
|
|
13662
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13661
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$13, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13663
13662
|
i0.ɵɵadvance();
|
|
13664
13663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13665
13664
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13674,7 +13673,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13674
13673
|
}] }); })();
|
|
13675
13674
|
(() => { (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 }); })();
|
|
13676
13675
|
|
|
13677
|
-
const _c0$
|
|
13676
|
+
const _c0$12 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13678
13677
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13679
13678
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13680
13679
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13727,7 +13726,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13727
13726
|
i0.ɵɵadvance(4);
|
|
13728
13727
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13729
13728
|
i0.ɵɵadvance(2);
|
|
13730
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$
|
|
13729
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$12, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
13731
13730
|
i0.ɵɵadvance();
|
|
13732
13731
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13733
13732
|
} }
|
|
@@ -14130,8 +14129,8 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14130
14129
|
}] }); })();
|
|
14131
14130
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14132
14131
|
|
|
14133
|
-
const _c0
|
|
14134
|
-
const _c1$
|
|
14132
|
+
const _c0$11 = ["writeComplexFieldComponent"];
|
|
14133
|
+
const _c1$r = a0 => ({ "form-group-error": a0 });
|
|
14135
14134
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14136
14135
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
14137
14136
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -14168,7 +14167,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
|
|
|
14168
14167
|
i0.ɵɵelementEnd()();
|
|
14169
14168
|
} if (rf & 2) {
|
|
14170
14169
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14171
|
-
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$
|
|
14170
|
+
i0.ɵɵproperty("id", ctx_r0.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$r, ctx_r0.missingPostcode));
|
|
14172
14171
|
i0.ɵɵadvance();
|
|
14173
14172
|
i0.ɵɵproperty("for", ctx_r0.createElementId("postcodeInput"));
|
|
14174
14173
|
i0.ɵɵadvance(2);
|
|
@@ -14236,7 +14235,7 @@ function WriteAddressFieldComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1)
|
|
|
14236
14235
|
i0.ɵɵelementEnd()();
|
|
14237
14236
|
} if (rf & 2) {
|
|
14238
14237
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14239
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$
|
|
14238
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$r, ctx_r0.noAddressSelected));
|
|
14240
14239
|
i0.ɵɵadvance();
|
|
14241
14240
|
i0.ɵɵproperty("for", ctx_r0.createElementId("addressList"));
|
|
14242
14241
|
i0.ɵɵadvance(2);
|
|
@@ -14409,7 +14408,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14409
14408
|
}
|
|
14410
14409
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14411
14410
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14412
|
-
i0.ɵɵviewQuery(_c0
|
|
14411
|
+
i0.ɵɵviewQuery(_c0$11, 5);
|
|
14413
14412
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14414
14413
|
} if (rf & 2) {
|
|
14415
14414
|
let _t;
|
|
@@ -14472,7 +14471,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14472
14471
|
type: Input
|
|
14473
14472
|
}] }); })();
|
|
14474
14473
|
|
|
14475
|
-
const _c0$
|
|
14474
|
+
const _c0$10 = ["journeyChild"];
|
|
14476
14475
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14477
14476
|
multipageComponentStateService;
|
|
14478
14477
|
journeyStartPageNumber = 0;
|
|
@@ -14547,7 +14546,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14547
14546
|
;
|
|
14548
14547
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14549
14548
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14550
|
-
i0.ɵɵviewQuery(_c0$
|
|
14549
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
14551
14550
|
} if (rf & 2) {
|
|
14552
14551
|
let _t;
|
|
14553
14552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14562,7 +14561,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14562
14561
|
args: ['journeyChild']
|
|
14563
14562
|
}] }); })();
|
|
14564
14563
|
|
|
14565
|
-
const _c0
|
|
14564
|
+
const _c0$$ = ["journeyChild"];
|
|
14566
14565
|
class AbstractJourneyComponent {
|
|
14567
14566
|
multipageComponentStateService;
|
|
14568
14567
|
journeyStartPageNumber = 0;
|
|
@@ -14624,7 +14623,7 @@ class AbstractJourneyComponent {
|
|
|
14624
14623
|
onPageChange() { }
|
|
14625
14624
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14626
14625
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14627
|
-
i0.ɵɵviewQuery(_c0
|
|
14626
|
+
i0.ɵɵviewQuery(_c0$$, 5);
|
|
14628
14627
|
} if (rf & 2) {
|
|
14629
14628
|
let _t;
|
|
14630
14629
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -16109,8 +16108,8 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16109
16108
|
}], null, null); })();
|
|
16110
16109
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
|
|
16111
16110
|
|
|
16112
|
-
const _c0$
|
|
16113
|
-
const _c1$
|
|
16111
|
+
const _c0$_ = ["writeComplexFieldComponent"];
|
|
16112
|
+
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
16114
16113
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16115
16114
|
i0.ɵɵelementStart(0, "span", 6);
|
|
16116
16115
|
i0.ɵɵtext(1);
|
|
@@ -16190,7 +16189,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16190
16189
|
}
|
|
16191
16190
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16192
16191
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16193
|
-
i0.ɵɵviewQuery(_c0$
|
|
16192
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
16194
16193
|
} if (rf & 2) {
|
|
16195
16194
|
let _t;
|
|
16196
16195
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16202,7 +16201,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16202
16201
|
i0.ɵɵelement(5, "input", 5);
|
|
16203
16202
|
i0.ɵɵelementEnd();
|
|
16204
16203
|
} if (rf & 2) {
|
|
16205
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16204
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$q, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
16206
16205
|
i0.ɵɵadvance();
|
|
16207
16206
|
i0.ɵɵproperty("for", ctx.id());
|
|
16208
16207
|
i0.ɵɵadvance();
|
|
@@ -16224,8 +16223,8 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16224
16223
|
}] }); })();
|
|
16225
16224
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
|
|
16226
16225
|
|
|
16227
|
-
const _c0$
|
|
16228
|
-
const _c1$
|
|
16226
|
+
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 });
|
|
16227
|
+
const _c1$p = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
16229
16228
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16230
16229
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
16231
16230
|
i0.ɵɵelement(2, "th", 4);
|
|
@@ -16235,7 +16234,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16235
16234
|
} if (rf & 2) {
|
|
16236
16235
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16237
16236
|
i0.ɵɵadvance(4);
|
|
16238
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$
|
|
16237
|
+
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);
|
|
16239
16238
|
} }
|
|
16240
16239
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16241
16240
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16246,7 +16245,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
16246
16245
|
const i_r3 = ctx.index;
|
|
16247
16246
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
16248
16247
|
i0.ɵɵadvance(2);
|
|
16249
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$
|
|
16248
|
+
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));
|
|
16250
16249
|
} }
|
|
16251
16250
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
16252
16251
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -16357,7 +16356,7 @@ class RemoveDialogComponent {
|
|
|
16357
16356
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
16358
16357
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16359
16358
|
|
|
16360
|
-
const _c0$
|
|
16359
|
+
const _c0$Y = ["collectionItem"];
|
|
16361
16360
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16362
16361
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16363
16362
|
i0.ɵɵtext(1);
|
|
@@ -16778,7 +16777,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16778
16777
|
}
|
|
16779
16778
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16780
16779
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16781
|
-
i0.ɵɵviewQuery(_c0$
|
|
16780
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
16782
16781
|
} if (rf & 2) {
|
|
16783
16782
|
let _t;
|
|
16784
16783
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -17097,8 +17096,8 @@ class FileUploadStateService {
|
|
|
17097
17096
|
type: Injectable
|
|
17098
17097
|
}], null, null); })();
|
|
17099
17098
|
|
|
17100
|
-
const _c0$
|
|
17101
|
-
const _c1$
|
|
17099
|
+
const _c0$X = ["fileInput"];
|
|
17100
|
+
const _c1$o = a0 => ({ "form-group-error bottom-30": a0 });
|
|
17102
17101
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17103
17102
|
i0.ɵɵelementStart(0, "span", 12);
|
|
17104
17103
|
i0.ɵɵelement(1, "markdown", 13);
|
|
@@ -17476,7 +17475,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17476
17475
|
}
|
|
17477
17476
|
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)); };
|
|
17478
17477
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17479
|
-
i0.ɵɵviewQuery(_c0$
|
|
17478
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
17480
17479
|
} if (rf & 2) {
|
|
17481
17480
|
let _t;
|
|
17482
17481
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -17507,7 +17506,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17507
17506
|
i0.ɵɵpipe(19, "rpxTranslate");
|
|
17508
17507
|
i0.ɵɵelementEnd()();
|
|
17509
17508
|
} if (rf & 2) {
|
|
17510
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$
|
|
17509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$o, !ctx.valid));
|
|
17511
17510
|
i0.ɵɵadvance();
|
|
17512
17511
|
i0.ɵɵproperty("for", ctx.id());
|
|
17513
17512
|
i0.ɵɵadvance();
|
|
@@ -17591,7 +17590,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
17591
17590
|
}], null, null); })();
|
|
17592
17591
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
|
|
17593
17592
|
|
|
17594
|
-
const _c0$
|
|
17593
|
+
const _c0$W = a0 => ({ "form-group-error": a0 });
|
|
17595
17594
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
17596
17595
|
i0.ɵɵelementStart(0, "span", 8);
|
|
17597
17596
|
i0.ɵɵtext(1);
|
|
@@ -17679,7 +17678,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17679
17678
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
17680
17679
|
i0.ɵɵelementEnd()();
|
|
17681
17680
|
} if (rf & 2) {
|
|
17682
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
17681
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$W, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
17683
17682
|
i0.ɵɵadvance();
|
|
17684
17683
|
i0.ɵɵproperty("for", ctx.id());
|
|
17685
17684
|
i0.ɵɵadvance();
|
|
@@ -17860,7 +17859,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
17860
17859
|
}], null, null); })();
|
|
17861
17860
|
(() => { (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 }); })();
|
|
17862
17861
|
|
|
17863
|
-
const _c0$
|
|
17862
|
+
const _c0$V = a0 => ({ "error": a0 });
|
|
17864
17863
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
17865
17864
|
i0.ɵɵelementStart(0, "span", 5);
|
|
17866
17865
|
i0.ɵɵtext(1);
|
|
@@ -17980,7 +17979,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
17980
17979
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
|
|
17981
17980
|
i0.ɵɵelementEnd()();
|
|
17982
17981
|
} if (rf & 2) {
|
|
17983
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
17982
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$V, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
17984
17983
|
i0.ɵɵadvance(3);
|
|
17985
17984
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17986
17985
|
i0.ɵɵadvance();
|
|
@@ -18060,8 +18059,8 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18060
18059
|
}], null, null); })();
|
|
18061
18060
|
(() => { (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 }); })();
|
|
18062
18061
|
|
|
18063
|
-
const _c0$
|
|
18064
|
-
const _c1$
|
|
18062
|
+
const _c0$U = a0 => ({ "form-group-error": a0 });
|
|
18063
|
+
const _c1$n = a0 => ({ selected: a0 });
|
|
18065
18064
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18066
18065
|
i0.ɵɵelementStart(0, "span", 7);
|
|
18067
18066
|
i0.ɵɵtext(1);
|
|
@@ -18111,7 +18110,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
18111
18110
|
} if (rf & 2) {
|
|
18112
18111
|
const radioButton_r2 = ctx.$implicit;
|
|
18113
18112
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18114
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18113
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r0.dynamicRadioListControl.value === radioButton_r2.code));
|
|
18115
18114
|
i0.ɵɵadvance();
|
|
18116
18115
|
i0.ɵɵproperty("id", ctx_r0.createElementId(radioButton_r2.code))("name", ctx_r0.id())("formControl", ctx_r0.dynamicRadioListControl)("value", radioButton_r2.code);
|
|
18117
18116
|
i0.ɵɵadvance();
|
|
@@ -18155,7 +18154,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18155
18154
|
i0.ɵɵelementContainerEnd();
|
|
18156
18155
|
i0.ɵɵelementEnd()();
|
|
18157
18156
|
} if (rf & 2) {
|
|
18158
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18157
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
18159
18158
|
i0.ɵɵadvance(3);
|
|
18160
18159
|
i0.ɵɵproperty("for", ctx.id());
|
|
18161
18160
|
i0.ɵɵadvance();
|
|
@@ -18209,8 +18208,8 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
18209
18208
|
}], null, null); })();
|
|
18210
18209
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
|
|
18211
18210
|
|
|
18212
|
-
const _c0$
|
|
18213
|
-
const _c1$
|
|
18211
|
+
const _c0$T = a0 => ({ "form-group-error": a0 });
|
|
18212
|
+
const _c1$m = a0 => ({ "govuk-input--error": a0 });
|
|
18214
18213
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18215
18214
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18216
18215
|
i0.ɵɵtext(1);
|
|
@@ -18255,7 +18254,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18255
18254
|
i0.ɵɵelement(5, "input", 5);
|
|
18256
18255
|
i0.ɵɵelementEnd();
|
|
18257
18256
|
} if (rf & 2) {
|
|
18258
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18257
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$T, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
18259
18258
|
i0.ɵɵadvance();
|
|
18260
18259
|
i0.ɵɵproperty("for", ctx.id());
|
|
18261
18260
|
i0.ɵɵadvance();
|
|
@@ -18265,7 +18264,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18265
18264
|
i0.ɵɵadvance();
|
|
18266
18265
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
18267
18266
|
i0.ɵɵadvance();
|
|
18268
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
18267
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$m, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
18269
18268
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
18270
18269
|
}
|
|
18271
18270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -18297,7 +18296,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18297
18296
|
}], null, null); })();
|
|
18298
18297
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
|
|
18299
18298
|
|
|
18300
|
-
const _c0$
|
|
18299
|
+
const _c0$S = a0 => ({ "form-group-error": a0 });
|
|
18301
18300
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18302
18301
|
i0.ɵɵelementStart(0, "span", 8);
|
|
18303
18302
|
i0.ɵɵtext(1);
|
|
@@ -18372,7 +18371,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18372
18371
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
18373
18372
|
i0.ɵɵelementEnd()();
|
|
18374
18373
|
} if (rf & 2) {
|
|
18375
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18374
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
18376
18375
|
i0.ɵɵadvance();
|
|
18377
18376
|
i0.ɵɵproperty("for", ctx.id());
|
|
18378
18377
|
i0.ɵɵadvance();
|
|
@@ -18435,8 +18434,8 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18435
18434
|
}], null, null); })();
|
|
18436
18435
|
(() => { (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 }); })();
|
|
18437
18436
|
|
|
18438
|
-
const _c0$
|
|
18439
|
-
const _c1$
|
|
18437
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
18438
|
+
const _c1$l = a0 => ({ selected: a0 });
|
|
18440
18439
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18441
18440
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18442
18441
|
i0.ɵɵtext(1);
|
|
@@ -18477,7 +18476,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
18477
18476
|
} if (rf & 2) {
|
|
18478
18477
|
const radioButton_r2 = ctx.$implicit;
|
|
18479
18478
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18480
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18479
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$l, ctx_r0.fixedRadioListControl.value === radioButton_r2.code));
|
|
18481
18480
|
i0.ɵɵadvance();
|
|
18482
18481
|
i0.ɵɵproperty("id", ctx_r0.id() + "-" + radioButton_r2.code)("name", ctx_r0.id())("formControl", ctx_r0.fixedRadioListControl)("value", radioButton_r2.code);
|
|
18483
18482
|
i0.ɵɵadvance();
|
|
@@ -18503,7 +18502,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18503
18502
|
i0.ɵɵelementContainerEnd();
|
|
18504
18503
|
i0.ɵɵelementEnd()();
|
|
18505
18504
|
} if (rf & 2) {
|
|
18506
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
18505
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$R, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
18507
18506
|
i0.ɵɵadvance(3);
|
|
18508
18507
|
i0.ɵɵproperty("for", ctx.id());
|
|
18509
18508
|
i0.ɵɵadvance();
|
|
@@ -18579,8 +18578,8 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18579
18578
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
18580
18579
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
|
|
18581
18580
|
|
|
18582
|
-
const _c0$
|
|
18583
|
-
const _c1$
|
|
18581
|
+
const _c0$Q = a0 => ({ "form-group-error": a0 });
|
|
18582
|
+
const _c1$k = a0 => ({ "hide-autocomplete": a0 });
|
|
18584
18583
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18585
18584
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18586
18585
|
i0.ɵɵtext(1);
|
|
@@ -18619,7 +18618,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
|
|
|
18619
18618
|
} if (rf & 2) {
|
|
18620
18619
|
const judicialUser_r4 = ctx.$implicit;
|
|
18621
18620
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18622
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18621
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$k, !ctx_r1.showAutocomplete))("value", judicialUser_r4);
|
|
18623
18622
|
i0.ɵɵadvance();
|
|
18624
18623
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r4 == null ? null : judicialUser_r4.fullName) ? judicialUser_r4.fullName : "", "", (judicialUser_r4 == null ? null : judicialUser_r4.emailId) ? " (" + judicialUser_r4.emailId + ")" : "", " ");
|
|
18625
18624
|
} }
|
|
@@ -18799,7 +18798,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18799
18798
|
i0.ɵɵelementEnd()();
|
|
18800
18799
|
} if (rf & 2) {
|
|
18801
18800
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
18802
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
18801
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.judicialUserControl && ctx.errors));
|
|
18803
18802
|
i0.ɵɵadvance();
|
|
18804
18803
|
i0.ɵɵproperty("for", ctx.id());
|
|
18805
18804
|
i0.ɵɵadvance();
|
|
@@ -18878,8 +18877,8 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18878
18877
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18879
18878
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
|
|
18880
18879
|
|
|
18881
|
-
const _c0$
|
|
18882
|
-
const _c1$
|
|
18880
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
18881
|
+
const _c1$j = a0 => ({ "hide-autocomplete": a0 });
|
|
18883
18882
|
function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18884
18883
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18885
18884
|
i0.ɵɵtext(1);
|
|
@@ -18916,7 +18915,7 @@ function WriteStaffUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf &
|
|
|
18916
18915
|
} if (rf & 2) {
|
|
18917
18916
|
const staffUser_r4 = ctx.$implicit;
|
|
18918
18917
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18919
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18918
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r1.showAutocomplete))("value", staffUser_r4);
|
|
18920
18919
|
i0.ɵɵadvance();
|
|
18921
18920
|
i0.ɵɵtextInterpolate2(" ", (staffUser_r4 == null ? null : staffUser_r4.displayName) ? staffUser_r4.displayName : "", "", (staffUser_r4 == null ? null : staffUser_r4.emailId) ? " (" + staffUser_r4.emailId + ")" : "", " ");
|
|
18922
18921
|
} }
|
|
@@ -19117,7 +19116,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
19117
19116
|
i0.ɵɵelementEnd()();
|
|
19118
19117
|
} if (rf & 2) {
|
|
19119
19118
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
19120
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
19119
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$P, !!ctx.staffUserControl && ctx.errors));
|
|
19121
19120
|
i0.ɵɵadvance();
|
|
19122
19121
|
i0.ɵɵproperty("for", ctx.id());
|
|
19123
19122
|
i0.ɵɵadvance();
|
|
@@ -19582,8 +19581,8 @@ class ValidatorsUtils {
|
|
|
19582
19581
|
args: [{ providedIn: 'root' }]
|
|
19583
19582
|
}], null, null); })();
|
|
19584
19583
|
|
|
19585
|
-
const _c0$
|
|
19586
|
-
const _c1$
|
|
19584
|
+
const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
|
|
19585
|
+
const _c1$i = a0 => ({ "table-group-error": a0 });
|
|
19587
19586
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19588
19587
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
19589
19588
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -19649,7 +19648,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
19649
19648
|
i0.ɵɵelementEnd()();
|
|
19650
19649
|
} if (rf & 2) {
|
|
19651
19650
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19652
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
19651
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
|
|
19653
19652
|
i0.ɵɵadvance(3);
|
|
19654
19653
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
19655
19654
|
} }
|
|
@@ -19693,11 +19692,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19693
19692
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19694
19693
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
19695
19694
|
i0.ɵɵadvance();
|
|
19696
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19695
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
|
|
19697
19696
|
i0.ɵɵadvance(3);
|
|
19698
19697
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
19699
19698
|
i0.ɵɵadvance(2);
|
|
19700
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
19699
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
|
|
19701
19700
|
i0.ɵɵadvance(5);
|
|
19702
19701
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
19703
19702
|
i0.ɵɵadvance(2);
|
|
@@ -19759,7 +19758,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) { if (rf & 1) {
|
|
|
19759
19758
|
const case_r9 = ctx.$implicit;
|
|
19760
19759
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19761
19760
|
i0.ɵɵadvance(2);
|
|
19762
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
19761
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$i, ctx_r1.caseSelectionError && case_r9.caseReference === ctx_r1.linkCaseForm.value.caseNumber));
|
|
19763
19762
|
i0.ɵɵadvance(2);
|
|
19764
19763
|
i0.ɵɵtextInterpolate1("", case_r9.caseName, " ");
|
|
19765
19764
|
i0.ɵɵadvance(2);
|
|
@@ -20125,7 +20124,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
20125
20124
|
i0.ɵɵadvance(4);
|
|
20126
20125
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
20127
20126
|
i0.ɵɵadvance(4);
|
|
20128
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
20127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
|
|
20129
20128
|
i0.ɵɵadvance();
|
|
20130
20129
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
20131
20130
|
i0.ɵɵadvance(18);
|
|
@@ -20718,7 +20717,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20718
20717
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20719
20718
|
(() => { (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 }); })();
|
|
20720
20719
|
|
|
20721
|
-
const _c0$
|
|
20720
|
+
const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
|
|
20722
20721
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
20723
20722
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
20724
20723
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -20756,7 +20755,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20756
20755
|
i0.ɵɵelementEnd()();
|
|
20757
20756
|
} if (rf & 2) {
|
|
20758
20757
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20759
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
20758
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
20760
20759
|
i0.ɵɵadvance();
|
|
20761
20760
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
20762
20761
|
i0.ɵɵadvance(2);
|
|
@@ -21693,7 +21692,7 @@ class MoneyGbpInputComponent {
|
|
|
21693
21692
|
}] }); })();
|
|
21694
21693
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
|
|
21695
21694
|
|
|
21696
|
-
const _c0$
|
|
21695
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
21697
21696
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21698
21697
|
i0.ɵɵelementStart(0, "span", 8);
|
|
21699
21698
|
i0.ɵɵtext(1);
|
|
@@ -21742,7 +21741,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21742
21741
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
21743
21742
|
i0.ɵɵelementEnd()();
|
|
21744
21743
|
} if (rf & 2) {
|
|
21745
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
21744
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$M, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
21746
21745
|
i0.ɵɵadvance();
|
|
21747
21746
|
i0.ɵɵproperty("for", ctx.id());
|
|
21748
21747
|
i0.ɵɵadvance();
|
|
@@ -21801,7 +21800,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
21801
21800
|
}], null, null); })();
|
|
21802
21801
|
(() => { (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 }); })();
|
|
21803
21802
|
|
|
21804
|
-
const _c0$
|
|
21803
|
+
const _c0$L = a0 => ({ "error": a0 });
|
|
21805
21804
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21806
21805
|
i0.ɵɵelementStart(0, "span", 5);
|
|
21807
21806
|
i0.ɵɵtext(1);
|
|
@@ -21902,7 +21901,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21902
21901
|
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);
|
|
21903
21902
|
i0.ɵɵelementEnd()();
|
|
21904
21903
|
} if (rf & 2) {
|
|
21905
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
21904
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
21906
21905
|
i0.ɵɵadvance(3);
|
|
21907
21906
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
21908
21907
|
i0.ɵɵadvance();
|
|
@@ -21941,8 +21940,8 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
21941
21940
|
}], null, null); })();
|
|
21942
21941
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
|
|
21943
21942
|
|
|
21944
|
-
const _c0$
|
|
21945
|
-
const _c1$
|
|
21943
|
+
const _c0$K = a0 => ({ "form-group-error": a0 });
|
|
21944
|
+
const _c1$h = a0 => ({ "govuk-input--error": a0 });
|
|
21946
21945
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21947
21946
|
i0.ɵɵelementStart(0, "span", 6);
|
|
21948
21947
|
i0.ɵɵtext(1);
|
|
@@ -21987,7 +21986,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21987
21986
|
i0.ɵɵelement(5, "input", 5);
|
|
21988
21987
|
i0.ɵɵelementEnd();
|
|
21989
21988
|
} if (rf & 2) {
|
|
21990
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
21989
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
21991
21990
|
i0.ɵɵadvance();
|
|
21992
21991
|
i0.ɵɵproperty("for", ctx.id());
|
|
21993
21992
|
i0.ɵɵadvance();
|
|
@@ -21997,7 +21996,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21997
21996
|
i0.ɵɵadvance();
|
|
21998
21997
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
21999
21998
|
i0.ɵɵadvance();
|
|
22000
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
21999
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$h, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
22001
22000
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.PatternValidator, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22002
22001
|
}
|
|
22003
22002
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -22166,7 +22165,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
22166
22165
|
}] }); })();
|
|
22167
22166
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
|
|
22168
22167
|
|
|
22169
|
-
const _c0$
|
|
22168
|
+
const _c0$J = a0 => ({ "scroll-container ": a0 });
|
|
22170
22169
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
22171
22170
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
22172
22171
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -22245,7 +22244,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
22245
22244
|
let tmp_3_0;
|
|
22246
22245
|
let tmp_5_0;
|
|
22247
22246
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
22248
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
22247
|
+
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));
|
|
22249
22248
|
i0.ɵɵadvance(2);
|
|
22250
22249
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
22251
22250
|
i0.ɵɵadvance(2);
|
|
@@ -22641,8 +22640,8 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
22641
22640
|
}], null, null); })();
|
|
22642
22641
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
|
|
22643
22642
|
|
|
22644
|
-
const _c0$
|
|
22645
|
-
const _c1$
|
|
22643
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
22644
|
+
const _c1$g = a0 => ({ "govuk-input--error": a0 });
|
|
22646
22645
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22647
22646
|
i0.ɵɵelementStart(0, "span", 6);
|
|
22648
22647
|
i0.ɵɵtext(1);
|
|
@@ -22687,7 +22686,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22687
22686
|
i0.ɵɵelement(5, "input", 5);
|
|
22688
22687
|
i0.ɵɵelementEnd();
|
|
22689
22688
|
} if (rf & 2) {
|
|
22690
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22689
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
22691
22690
|
i0.ɵɵadvance();
|
|
22692
22691
|
i0.ɵɵproperty("for", ctx.id());
|
|
22693
22692
|
i0.ɵɵadvance();
|
|
@@ -22697,7 +22696,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22697
22696
|
i0.ɵɵadvance();
|
|
22698
22697
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
22699
22698
|
i0.ɵɵadvance();
|
|
22700
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
22699
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
22701
22700
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22702
22701
|
}
|
|
22703
22702
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -25167,7 +25166,7 @@ class QueryWriteDateInputComponent {
|
|
|
25167
25166
|
}] }); })();
|
|
25168
25167
|
(() => { (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 }); })();
|
|
25169
25168
|
|
|
25170
|
-
const _c0$
|
|
25169
|
+
const _c0$H = a0 => ({ "govuk-form-group--error": a0 });
|
|
25171
25170
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
25172
25171
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
25173
25172
|
} if (rf & 2) {
|
|
@@ -25247,7 +25246,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
25247
25246
|
} if (rf & 2) {
|
|
25248
25247
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
25249
25248
|
i0.ɵɵadvance();
|
|
25250
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
25249
|
+
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));
|
|
25251
25250
|
i0.ɵɵadvance(4);
|
|
25252
25251
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
25253
25252
|
i0.ɵɵadvance(2);
|
|
@@ -25314,7 +25313,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25314
25313
|
i0.ɵɵadvance(8);
|
|
25315
25314
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
25316
25315
|
i0.ɵɵadvance(2);
|
|
25317
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
25316
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
25318
25317
|
i0.ɵɵadvance(3);
|
|
25319
25318
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
25320
25319
|
i0.ɵɵadvance(3);
|
|
@@ -25322,7 +25321,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25322
25321
|
i0.ɵɵadvance(2);
|
|
25323
25322
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25324
25323
|
i0.ɵɵadvance(2);
|
|
25325
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
25324
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
25326
25325
|
i0.ɵɵadvance(3);
|
|
25327
25326
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
25328
25327
|
i0.ɵɵadvance(3);
|
|
@@ -25333,7 +25332,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25333
25332
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25334
25333
|
i0.ɵɵproperty("formControlName", "body");
|
|
25335
25334
|
i0.ɵɵadvance(2);
|
|
25336
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
25335
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$H, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
25337
25336
|
i0.ɵɵadvance(4);
|
|
25338
25337
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
25339
25338
|
i0.ɵɵadvance(2);
|
|
@@ -25957,7 +25956,7 @@ class CloseQueryComponent {
|
|
|
25957
25956
|
}] }); })();
|
|
25958
25957
|
(() => { (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 }); })();
|
|
25959
25958
|
|
|
25960
|
-
const _c0$
|
|
25959
|
+
const _c0$G = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
25961
25960
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
25962
25961
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
25963
25962
|
i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
|
|
@@ -25996,7 +25995,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
25996
25995
|
} if (rf & 2) {
|
|
25997
25996
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
25998
25997
|
i0.ɵɵadvance();
|
|
25999
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
25998
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
26000
25999
|
i0.ɵɵadvance();
|
|
26001
26000
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26002
26001
|
} }
|
|
@@ -26010,7 +26009,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
26010
26009
|
} if (rf & 2) {
|
|
26011
26010
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
26012
26011
|
i0.ɵɵadvance();
|
|
26013
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26012
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
26014
26013
|
i0.ɵɵadvance();
|
|
26015
26014
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26016
26015
|
} }
|
|
@@ -26423,8 +26422,8 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
26423
26422
|
}], () => [{ type: i1$5.DomSanitizer }], null); })();
|
|
26424
26423
|
(() => { (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 }); })();
|
|
26425
26424
|
|
|
26426
|
-
const _c0$
|
|
26427
|
-
const _c1$
|
|
26425
|
+
const _c0$F = ["editorHost"];
|
|
26426
|
+
const _c1$f = a0 => ({ "form-group-error": a0 });
|
|
26428
26427
|
const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
|
|
26429
26428
|
const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
|
|
26430
26429
|
function WriteRichTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29014,7 +29013,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29014
29013
|
}
|
|
29015
29014
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
29016
29015
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29017
|
-
i0.ɵɵviewQuery(_c0$
|
|
29016
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
29018
29017
|
} if (rf & 2) {
|
|
29019
29018
|
let _t;
|
|
29020
29019
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29129,7 +29128,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29129
29128
|
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()); });
|
|
29130
29129
|
i0.ɵɵelementEnd()()()();
|
|
29131
29130
|
} if (rf & 2) {
|
|
29132
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$
|
|
29131
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$f, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
|
|
29133
29132
|
i0.ɵɵadvance();
|
|
29134
29133
|
i0.ɵɵproperty("id", ctx.labelId());
|
|
29135
29134
|
i0.ɵɵadvance();
|
|
@@ -29207,8 +29206,8 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29207
29206
|
}], null, null); })();
|
|
29208
29207
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29209
29208
|
|
|
29210
|
-
const _c0$
|
|
29211
|
-
const _c1$
|
|
29209
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
29210
|
+
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
29212
29211
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29213
29212
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29214
29213
|
i0.ɵɵtext(1);
|
|
@@ -29265,7 +29264,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29265
29264
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29266
29265
|
i0.ɵɵelementEnd()();
|
|
29267
29266
|
} if (rf & 2) {
|
|
29268
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29267
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
29269
29268
|
i0.ɵɵadvance();
|
|
29270
29269
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29271
29270
|
i0.ɵɵadvance();
|
|
@@ -29273,7 +29272,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29273
29272
|
i0.ɵɵadvance();
|
|
29274
29273
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
29275
29274
|
i0.ɵɵadvance();
|
|
29276
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
29275
|
+
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);
|
|
29277
29276
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29278
29277
|
}
|
|
29279
29278
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -29303,8 +29302,8 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29303
29302
|
}], null, null); })();
|
|
29304
29303
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
|
|
29305
29304
|
|
|
29306
|
-
const _c0$
|
|
29307
|
-
const _c1$
|
|
29305
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29306
|
+
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
29308
29307
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29309
29308
|
i0.ɵɵelementStart(0, "span", 6);
|
|
29310
29309
|
i0.ɵɵtext(1);
|
|
@@ -29362,7 +29361,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29362
29361
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29363
29362
|
i0.ɵɵelementEnd()();
|
|
29364
29363
|
} if (rf & 2) {
|
|
29365
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29366
29365
|
i0.ɵɵadvance();
|
|
29367
29366
|
i0.ɵɵproperty("for", ctx.id());
|
|
29368
29367
|
i0.ɵɵadvance();
|
|
@@ -29372,7 +29371,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29372
29371
|
i0.ɵɵadvance();
|
|
29373
29372
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
29374
29373
|
i0.ɵɵadvance();
|
|
29375
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
29374
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
29376
29375
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29377
29376
|
}
|
|
29378
29377
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
@@ -29505,8 +29504,8 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
29505
29504
|
}], () => [{ type: YesNoService }], null); })();
|
|
29506
29505
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 10 }); })();
|
|
29507
29506
|
|
|
29508
|
-
const _c0$
|
|
29509
|
-
const _c1$
|
|
29507
|
+
const _c0$C = a0 => ({ "form-group-error": a0 });
|
|
29508
|
+
const _c1$c = a0 => ({ selected: a0 });
|
|
29510
29509
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
29511
29510
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29512
29511
|
i0.ɵɵtext(1);
|
|
@@ -29547,7 +29546,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
29547
29546
|
} if (rf & 2) {
|
|
29548
29547
|
const value_r2 = ctx.$implicit;
|
|
29549
29548
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
29550
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
29549
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$c, ctx_r0.yesNoControl.value === value_r2));
|
|
29551
29550
|
i0.ɵɵadvance();
|
|
29552
29551
|
i0.ɵɵproperty("id", ctx_r0.createElementId(value_r2))("name", ctx_r0.id())("formControl", ctx_r0.yesNoControl)("value", value_r2);
|
|
29553
29552
|
i0.ɵɵattribute("name", ctx_r0.id());
|
|
@@ -29577,7 +29576,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29577
29576
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
29578
29577
|
i0.ɵɵelementEnd()()();
|
|
29579
29578
|
} if (rf & 2) {
|
|
29580
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
29579
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$C, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
29581
29580
|
i0.ɵɵadvance(3);
|
|
29582
29581
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
29583
29582
|
i0.ɵɵadvance();
|
|
@@ -29698,7 +29697,7 @@ class PaletteService {
|
|
|
29698
29697
|
type: Injectable
|
|
29699
29698
|
}], null, null); })();
|
|
29700
29699
|
|
|
29701
|
-
const _c0$
|
|
29700
|
+
const _c0$B = ["fieldContainer"];
|
|
29702
29701
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29703
29702
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
29704
29703
|
resolver;
|
|
@@ -29747,7 +29746,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29747
29746
|
}
|
|
29748
29747
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29749
29748
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29750
|
-
i0.ɵɵviewQuery(_c0$
|
|
29749
|
+
i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
|
|
29751
29750
|
} if (rf & 2) {
|
|
29752
29751
|
let _t;
|
|
29753
29752
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29776,7 +29775,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29776
29775
|
}] }); })();
|
|
29777
29776
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
29778
29777
|
|
|
29779
|
-
const _c0$
|
|
29778
|
+
const _c0$A = ["fieldContainer"];
|
|
29780
29779
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29781
29780
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
29782
29781
|
resolver;
|
|
@@ -29836,7 +29835,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29836
29835
|
}
|
|
29837
29836
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29838
29837
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29839
|
-
i0.ɵɵviewQuery(_c0$
|
|
29838
|
+
i0.ɵɵviewQuery(_c0$A, 7, ViewContainerRef);
|
|
29840
29839
|
} if (rf & 2) {
|
|
29841
29840
|
let _t;
|
|
29842
29841
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29860,7 +29859,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29860
29859
|
}] }); })();
|
|
29861
29860
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
|
|
29862
29861
|
|
|
29863
|
-
const _c0$
|
|
29862
|
+
const _c0$z = ["*"];
|
|
29864
29863
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
29865
29864
|
i0.ɵɵelementContainer(0);
|
|
29866
29865
|
} }
|
|
@@ -29914,7 +29913,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29914
29913
|
}
|
|
29915
29914
|
}
|
|
29916
29915
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
29917
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
29916
|
+
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) {
|
|
29918
29917
|
i0.ɵɵprojectionDef();
|
|
29919
29918
|
i0.ɵɵelementStart(0, "div", 1);
|
|
29920
29919
|
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);
|
|
@@ -29935,8 +29934,8 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29935
29934
|
}] }); })();
|
|
29936
29935
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
|
|
29937
29936
|
|
|
29938
|
-
const _c0$
|
|
29939
|
-
const _c1$
|
|
29937
|
+
const _c0$y = a0 => ({ cat: a0, level: 1 });
|
|
29938
|
+
const _c1$b = (a0, a1) => ({ cat: a0, level: a1 });
|
|
29940
29939
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29941
29940
|
i0.ɵɵelementContainer(0);
|
|
29942
29941
|
} }
|
|
@@ -29949,7 +29948,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
29949
29948
|
i0.ɵɵnextContext();
|
|
29950
29949
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29951
29950
|
i0.ɵɵadvance();
|
|
29952
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
29951
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$y, cat_r2));
|
|
29953
29952
|
} }
|
|
29954
29953
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29955
29954
|
i0.ɵɵelementContainer(0);
|
|
@@ -29964,7 +29963,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
29964
29963
|
i0.ɵɵnextContext();
|
|
29965
29964
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29966
29965
|
i0.ɵɵadvance();
|
|
29967
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
29966
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$b, subcat_r6, level_r7 + 1));
|
|
29968
29967
|
} }
|
|
29969
29968
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
29970
29969
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -30087,8 +30086,8 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
30087
30086
|
}] }], null); })();
|
|
30088
30087
|
(() => { (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 }); })();
|
|
30089
30088
|
|
|
30090
|
-
const _c0$
|
|
30091
|
-
const _c1$
|
|
30089
|
+
const _c0$x = [[["", "trigger", ""]]];
|
|
30090
|
+
const _c1$a = ["[trigger]"];
|
|
30092
30091
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30093
30092
|
i0.ɵɵelementContainerStart(0);
|
|
30094
30093
|
i0.ɵɵelementStart(1, "div", 6);
|
|
@@ -30158,9 +30157,9 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
30158
30157
|
}
|
|
30159
30158
|
}
|
|
30160
30159
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
30161
|
-
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$
|
|
30160
|
+
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) {
|
|
30162
30161
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
30163
|
-
i0.ɵɵprojectionDef(_c0$
|
|
30162
|
+
i0.ɵɵprojectionDef(_c0$x);
|
|
30164
30163
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
30165
30164
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
30166
30165
|
i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
|
|
@@ -30857,7 +30856,7 @@ class CaseFileViewFolderComponent {
|
|
|
30857
30856
|
}] }); })();
|
|
30858
30857
|
(() => { (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: 28 }); })();
|
|
30859
30858
|
|
|
30860
|
-
const _c0$
|
|
30859
|
+
const _c0$w = a0 => ({ "form-group-error": a0 });
|
|
30861
30860
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
30862
30861
|
i0.ɵɵelementStart(0, "span");
|
|
30863
30862
|
i0.ɵɵtext(1);
|
|
@@ -31011,7 +31010,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
31011
31010
|
} if (rf & 2) {
|
|
31012
31011
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31013
31012
|
i0.ɵɵadvance(2);
|
|
31014
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
31013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$w, ctx.errorMessages.length > 0));
|
|
31015
31014
|
i0.ɵɵadvance(2);
|
|
31016
31015
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
31017
31016
|
i0.ɵɵadvance();
|
|
@@ -31342,7 +31341,7 @@ class CaseFlagSummaryListComponent {
|
|
|
31342
31341
|
}] }); })();
|
|
31343
31342
|
(() => { (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: 16 }); })();
|
|
31344
31343
|
|
|
31345
|
-
const _c0$
|
|
31344
|
+
const _c0$v = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
31346
31345
|
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
31347
31346
|
i0.ɵɵelementStart(0, "caption", 13);
|
|
31348
31347
|
i0.ɵɵtext(1);
|
|
@@ -31471,7 +31470,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
|
|
|
31471
31470
|
i0.ɵɵadvance(3);
|
|
31472
31471
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
|
|
31473
31472
|
i0.ɵɵadvance(3);
|
|
31474
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$
|
|
31473
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$v, ctx_r0.isActivePvpFlag(flagDetail_r2)));
|
|
31475
31474
|
i0.ɵɵadvance();
|
|
31476
31475
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
|
|
31477
31476
|
i0.ɵɵadvance(2);
|
|
@@ -31580,7 +31579,7 @@ class CaseFlagTableComponent {
|
|
|
31580
31579
|
}] }); })();
|
|
31581
31580
|
(() => { (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 }); })();
|
|
31582
31581
|
|
|
31583
|
-
const _c0$
|
|
31582
|
+
const _c0$u = a0 => ({ "form-group-error": a0 });
|
|
31584
31583
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
31585
31584
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
31586
31585
|
i0.ɵɵtext(2);
|
|
@@ -31898,7 +31897,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
31898
31897
|
} if (rf & 2) {
|
|
31899
31898
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31900
31899
|
i0.ɵɵadvance();
|
|
31901
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
31900
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$u, ctx.errorMessages.length > 0));
|
|
31902
31901
|
i0.ɵɵadvance(4);
|
|
31903
31902
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
31904
31903
|
i0.ɵɵadvance(2);
|
|
@@ -31984,7 +31983,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
31984
31983
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
31985
31984
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
31986
31985
|
|
|
31987
|
-
const _c0$
|
|
31986
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
31988
31987
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
31989
31988
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
31990
31989
|
i0.ɵɵtext(2);
|
|
@@ -32076,7 +32075,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
32076
32075
|
} if (rf & 2) {
|
|
32077
32076
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32078
32077
|
i0.ɵɵadvance();
|
|
32079
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32078
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$t, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
32080
32079
|
i0.ɵɵadvance(2);
|
|
32081
32080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
32082
32081
|
i0.ɵɵadvance(2);
|
|
@@ -32250,7 +32249,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32250
32249
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
32251
32250
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32252
32251
|
i0.ɵɵadvance();
|
|
32253
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
32252
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$t, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
32254
32253
|
i0.ɵɵadvance(2);
|
|
32255
32254
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
32256
32255
|
i0.ɵɵadvance();
|
|
@@ -32287,7 +32286,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32287
32286
|
}] }); })();
|
|
32288
32287
|
(() => { (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 }); })();
|
|
32289
32288
|
|
|
32290
|
-
const _c0$
|
|
32289
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
32291
32290
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32292
32291
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
32293
32292
|
i0.ɵɵtext(2);
|
|
@@ -32462,7 +32461,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32462
32461
|
} if (rf & 2) {
|
|
32463
32462
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32464
32463
|
i0.ɵɵadvance();
|
|
32465
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32464
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
32466
32465
|
i0.ɵɵadvance(4);
|
|
32467
32466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
32468
32467
|
i0.ɵɵadvance(2);
|
|
@@ -32485,8 +32484,8 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32485
32484
|
}] }); })();
|
|
32486
32485
|
(() => { (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 }); })();
|
|
32487
32486
|
|
|
32488
|
-
const _c0$
|
|
32489
|
-
const _c1$
|
|
32487
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
32488
|
+
const _c1$9 = a0 => ({ "govuk-input--error": a0 });
|
|
32490
32489
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32491
32490
|
i0.ɵɵelementContainerStart(0);
|
|
32492
32491
|
i0.ɵɵtext(1);
|
|
@@ -32580,13 +32579,13 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
32580
32579
|
} if (rf & 2) {
|
|
32581
32580
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
32582
32581
|
i0.ɵɵadvance();
|
|
32583
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
32582
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$r, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
32584
32583
|
i0.ɵɵadvance(2);
|
|
32585
32584
|
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), " ");
|
|
32586
32585
|
i0.ɵɵadvance(3);
|
|
32587
32586
|
i0.ɵɵproperty("ngIf", ctx_r0.flagTypeErrorMessage.length > 0);
|
|
32588
32587
|
i0.ɵɵadvance();
|
|
32589
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$
|
|
32588
|
+
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);
|
|
32590
32589
|
i0.ɵɵadvance();
|
|
32591
32590
|
i0.ɵɵproperty("ngIf", !ctx_r0.isDisplayContextParameterExternal && !ctx_r0.isCaseLevelFlag && ctx_r0.isDisplayContextParameter2Point1Enabled);
|
|
32592
32591
|
} }
|
|
@@ -32605,7 +32604,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
32605
32604
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32606
32605
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
32607
32606
|
i0.ɵɵadvance();
|
|
32608
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32607
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
32609
32608
|
i0.ɵɵadvance(4);
|
|
32610
32609
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
32611
32610
|
i0.ɵɵadvance(3);
|
|
@@ -32932,8 +32931,8 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
32932
32931
|
}] }); })();
|
|
32933
32932
|
(() => { (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 }); })();
|
|
32934
32933
|
|
|
32935
|
-
const _c0$
|
|
32936
|
-
const _c1$
|
|
32934
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
32935
|
+
const _c1$8 = a0 => ({ "govuk-tag--grey": a0 });
|
|
32937
32936
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32938
32937
|
i0.ɵɵelementStart(0, "div", 15);
|
|
32939
32938
|
i0.ɵɵtext(1);
|
|
@@ -33193,7 +33192,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
33193
33192
|
i0.ɵɵadvance(3);
|
|
33194
33193
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 4, "Flag status:"), " ");
|
|
33195
33194
|
i0.ɵɵadvance(3);
|
|
33196
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
33195
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$8, ctx_r0.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
33197
33196
|
i0.ɵɵadvance();
|
|
33198
33197
|
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), " ");
|
|
33199
33198
|
i0.ɵɵadvance(3);
|
|
@@ -33418,7 +33417,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33418
33417
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
33419
33418
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33420
33419
|
i0.ɵɵadvance(2);
|
|
33421
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
33420
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$q, ctx.errorMessages.length > 0));
|
|
33422
33421
|
i0.ɵɵadvance(3);
|
|
33423
33422
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
33424
33423
|
i0.ɵɵadvance(2);
|
|
@@ -33451,7 +33450,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33451
33450
|
}] }); })();
|
|
33452
33451
|
(() => { (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 }); })();
|
|
33453
33452
|
|
|
33454
|
-
const _c0$
|
|
33453
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
33455
33454
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
33456
33455
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
33457
33456
|
i0.ɵɵtext(2);
|
|
@@ -33659,7 +33658,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33659
33658
|
} if (rf & 2) {
|
|
33660
33659
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33661
33660
|
i0.ɵɵadvance(2);
|
|
33662
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
33661
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$p, ctx.errorMessages.length > 0));
|
|
33663
33662
|
i0.ɵɵadvance(3);
|
|
33664
33663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
33665
33664
|
i0.ɵɵadvance(3);
|
|
@@ -33716,7 +33715,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33716
33715
|
}] }); })();
|
|
33717
33716
|
(() => { (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 }); })();
|
|
33718
33717
|
|
|
33719
|
-
const _c0$
|
|
33718
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
33720
33719
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
33721
33720
|
i0.ɵɵelementStart(0, "div", 13);
|
|
33722
33721
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -33850,7 +33849,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
33850
33849
|
} if (rf & 2) {
|
|
33851
33850
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33852
33851
|
i0.ɵɵadvance(2);
|
|
33853
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
33852
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$o, ctx.errorMessages.length > 0));
|
|
33854
33853
|
i0.ɵɵadvance(4);
|
|
33855
33854
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
33856
33855
|
i0.ɵɵadvance(3);
|
|
@@ -34134,7 +34133,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
34134
34133
|
}]
|
|
34135
34134
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
34136
34135
|
|
|
34137
|
-
const _c0$
|
|
34136
|
+
const _c0$n = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
34138
34137
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
34139
34138
|
i0.ɵɵelementContainerStart(0)(1, 2);
|
|
34140
34139
|
i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
|
|
@@ -34173,7 +34172,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34173
34172
|
i0.ɵɵelementEnd();
|
|
34174
34173
|
} if (rf & 2) {
|
|
34175
34174
|
i0.ɵɵadvance();
|
|
34176
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
34175
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$n, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
34177
34176
|
} }, 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}"] });
|
|
34178
34177
|
}
|
|
34179
34178
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -34184,7 +34183,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34184
34183
|
}] }); })();
|
|
34185
34184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
|
|
34186
34185
|
|
|
34187
|
-
const _c0$
|
|
34186
|
+
const _c0$m = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
34188
34187
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34189
34188
|
i0.ɵɵelementContainerStart(0);
|
|
34190
34189
|
i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
|
|
@@ -34265,7 +34264,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
34265
34264
|
i0.ɵɵadvance(4);
|
|
34266
34265
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
34267
34266
|
i0.ɵɵadvance(5);
|
|
34268
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
34267
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$m, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
34269
34268
|
} }, styles: [".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}}.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}"] });
|
|
34270
34269
|
}
|
|
34271
34270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -34652,7 +34651,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
34652
34651
|
}], null, null); })();
|
|
34653
34652
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 13 }); })();
|
|
34654
34653
|
|
|
34655
|
-
const _c0$
|
|
34654
|
+
const _c0$l = a0 => ({ "form-group-error": a0 });
|
|
34656
34655
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34657
34656
|
i0.ɵɵelementStart(0, "span", 5);
|
|
34658
34657
|
i0.ɵɵtext(1);
|
|
@@ -34704,7 +34703,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
34704
34703
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
34705
34704
|
i0.ɵɵelementEnd()();
|
|
34706
34705
|
} if (rf & 2) {
|
|
34707
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
34706
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$l, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
34708
34707
|
i0.ɵɵadvance(3);
|
|
34709
34708
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
34710
34709
|
i0.ɵɵadvance();
|
|
@@ -34733,8 +34732,8 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
34733
34732
|
},
|
|
34734
34733
|
};
|
|
34735
34734
|
|
|
34736
|
-
const _c0$
|
|
34737
|
-
const _c1$
|
|
34735
|
+
const _c0$k = ["picker"];
|
|
34736
|
+
const _c1$7 = ["input"];
|
|
34738
34737
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
34739
34738
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34740
34739
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -34951,8 +34950,8 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
34951
34950
|
}
|
|
34952
34951
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
34953
34952
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
34954
|
-
i0.ɵɵviewQuery(_c0$
|
|
34955
|
-
i0.ɵɵviewQuery(_c1$
|
|
34953
|
+
i0.ɵɵviewQuery(_c0$k, 5);
|
|
34954
|
+
i0.ɵɵviewQuery(_c1$7, 5);
|
|
34956
34955
|
} if (rf & 2) {
|
|
34957
34956
|
let _t;
|
|
34958
34957
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
|
|
@@ -35140,8 +35139,8 @@ class EventLogDetailsComponent {
|
|
|
35140
35139
|
}] }); })();
|
|
35141
35140
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 10 }); })();
|
|
35142
35141
|
|
|
35143
|
-
const _c0$
|
|
35144
|
-
const _c1$
|
|
35142
|
+
const _c0$j = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35143
|
+
const _c1$6 = a0 => ["./", "event", a0, "history"];
|
|
35145
35144
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
35146
35145
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
35147
35146
|
i0.ɵɵelementStart(0, "a", 17);
|
|
@@ -35188,7 +35187,7 @@ function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) { if (rf & 1)
|
|
|
35188
35187
|
} if (rf & 2) {
|
|
35189
35188
|
const event_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
35190
35189
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35191
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$
|
|
35190
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$6, event_r2.id))("target", "_blank");
|
|
35192
35191
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforLink(event_r2, ctx_r2.isUserExternal));
|
|
35193
35192
|
i0.ɵɵadvance();
|
|
35194
35193
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, event_r2.event_name));
|
|
@@ -35270,7 +35269,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
35270
35269
|
} if (rf & 2) {
|
|
35271
35270
|
const event_r2 = ctx.$implicit;
|
|
35272
35271
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35273
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
35272
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$j, ctx_r2.selected === event_r2));
|
|
35274
35273
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
35275
35274
|
i0.ɵɵadvance(2);
|
|
35276
35275
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -35467,11 +35466,11 @@ class EventLogComponent {
|
|
|
35467
35466
|
}] }); })();
|
|
35468
35467
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 10 }); })();
|
|
35469
35468
|
|
|
35470
|
-
const _c0$
|
|
35469
|
+
const _c0$i = ["*"];
|
|
35471
35470
|
class RouterLinkComponent {
|
|
35472
35471
|
link;
|
|
35473
35472
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
35474
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], standalone: false, ngContentSelectors: _c0$
|
|
35473
|
+
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) {
|
|
35475
35474
|
i0.ɵɵprojectionDef();
|
|
35476
35475
|
i0.ɵɵelementStart(0, "a", 0);
|
|
35477
35476
|
i0.ɵɵprojection(1);
|
|
@@ -36063,7 +36062,7 @@ class OrderSummary {
|
|
|
36063
36062
|
PaymentTotal;
|
|
36064
36063
|
}
|
|
36065
36064
|
|
|
36066
|
-
const _c0$
|
|
36065
|
+
const _c0$h = ["ccdReadOrderSummaryRow", ""];
|
|
36067
36066
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
36068
36067
|
feeValue;
|
|
36069
36068
|
ngOnInit() {
|
|
@@ -36076,7 +36075,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
36076
36075
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
36077
36076
|
}
|
|
36078
36077
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
36079
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
36078
|
+
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) {
|
|
36080
36079
|
i0.ɵɵelementStart(0, "td");
|
|
36081
36080
|
i0.ɵɵtext(1);
|
|
36082
36081
|
i0.ɵɵelementEnd();
|
|
@@ -37172,8 +37171,8 @@ var CaseEditSubmitTitles;
|
|
|
37172
37171
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
37173
37172
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
37174
37173
|
|
|
37175
|
-
const _c0$
|
|
37176
|
-
const _c1$
|
|
37174
|
+
const _c0$g = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37175
|
+
const _c1$5 = a0 => ({ "form-group-error": a0 });
|
|
37177
37176
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
37178
37177
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
37179
37178
|
i0.ɵɵelement(0, "div");
|
|
@@ -37295,7 +37294,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
37295
37294
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
37296
37295
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
37297
37296
|
i0.ɵɵadvance();
|
|
37298
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
37297
|
+
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))));
|
|
37299
37298
|
} }
|
|
37300
37299
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
37301
37300
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -37423,13 +37422,13 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
37423
37422
|
} if (rf & 2) {
|
|
37424
37423
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
37425
37424
|
i0.ɵɵadvance(3);
|
|
37426
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$
|
|
37425
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$5, !!ctx_r1.summary && !ctx_r1.summary.valid && (ctx_r1.summary.dirty || ctx_r1.summary.touched)));
|
|
37427
37426
|
i0.ɵɵadvance(5);
|
|
37428
37427
|
i0.ɵɵproperty("ngIf", (ctx_r1.summary == null ? null : ctx_r1.summary.errors) && (ctx_r1.summary.dirty || ctx_r1.summary.touched));
|
|
37429
37428
|
i0.ɵɵadvance();
|
|
37430
37429
|
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)));
|
|
37431
37430
|
i0.ɵɵadvance();
|
|
37432
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
37431
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$5, !!ctx_r1.description && !ctx_r1.description.valid && (ctx_r1.description.dirty || ctx_r1.description.touched)));
|
|
37433
37432
|
i0.ɵɵadvance(3);
|
|
37434
37433
|
i0.ɵɵproperty("ngIf", (ctx_r1.description == null ? null : ctx_r1.description.errors) && (ctx_r1.description.dirty || ctx_r1.description.touched));
|
|
37435
37434
|
i0.ɵɵadvance();
|
|
@@ -38555,7 +38554,7 @@ class PaginationComponent {
|
|
|
38555
38554
|
}] }); })();
|
|
38556
38555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 13 }); })();
|
|
38557
38556
|
|
|
38558
|
-
const _c0$
|
|
38557
|
+
const _c0$f = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
38559
38558
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
38560
38559
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
38561
38560
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -38862,7 +38861,7 @@ class CaseListComponent {
|
|
|
38862
38861
|
i0.ɵɵadvance();
|
|
38863
38862
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
38864
38863
|
i0.ɵɵadvance(2);
|
|
38865
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$
|
|
38864
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 9, ctx.cases, i0.ɵɵpureFunction3(12, _c0$f, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
38866
38865
|
i0.ɵɵadvance(2);
|
|
38867
38866
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
38868
38867
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$1.PaginatePipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -38980,8 +38979,237 @@ class CaseListModule {
|
|
|
38980
38979
|
NgxPaginationModule,
|
|
38981
38980
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
38982
38981
|
|
|
38982
|
+
const _c0$e = ["trigger"];
|
|
38983
|
+
const _c1$4 = ["optionsPanel"];
|
|
38984
|
+
function CaseStateMultiSelectComponent_div_16_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
38985
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
38986
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "input", 13);
|
|
38987
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38988
|
+
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)); });
|
|
38989
|
+
i0.ɵɵelementEnd();
|
|
38990
|
+
i0.ɵɵelementStart(3, "label", 14);
|
|
38991
|
+
i0.ɵɵtext(4);
|
|
38992
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
38993
|
+
i0.ɵɵelementEnd()();
|
|
38994
|
+
} if (rf & 2) {
|
|
38995
|
+
const state_r3 = ctx.$implicit;
|
|
38996
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
38997
|
+
i0.ɵɵadvance();
|
|
38998
|
+
i0.ɵɵproperty("id", ctx_r3.controlId + "-" + state_r3.id)("name", ctx_r3.controlId + "-" + state_r3.id)("checked", ctx_r3.isSelected(state_r3));
|
|
38999
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, state_r3.name));
|
|
39000
|
+
i0.ɵɵadvance(2);
|
|
39001
|
+
i0.ɵɵproperty("for", ctx_r3.controlId + "-" + state_r3.id);
|
|
39002
|
+
i0.ɵɵadvance();
|
|
39003
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 8, state_r3.name), " ");
|
|
39004
|
+
} }
|
|
39005
|
+
function CaseStateMultiSelectComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
39006
|
+
i0.ɵɵelementStart(0, "div", 9, 1)(2, "fieldset")(3, "legend", 4);
|
|
39007
|
+
i0.ɵɵtext(4);
|
|
39008
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
39009
|
+
i0.ɵɵelementEnd();
|
|
39010
|
+
i0.ɵɵelementStart(6, "div", 10);
|
|
39011
|
+
i0.ɵɵtemplate(7, CaseStateMultiSelectComponent_div_16_div_7_Template, 6, 10, "div", 11);
|
|
39012
|
+
i0.ɵɵelementEnd()()();
|
|
39013
|
+
} if (rf & 2) {
|
|
39014
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39015
|
+
i0.ɵɵproperty("id", ctx_r3.optionsId);
|
|
39016
|
+
i0.ɵɵadvance(4);
|
|
39017
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "State options"));
|
|
39018
|
+
i0.ɵɵadvance(3);
|
|
39019
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.states);
|
|
39020
|
+
} }
|
|
39021
|
+
class CaseStateMultiSelectComponent {
|
|
39022
|
+
elementRef;
|
|
39023
|
+
states = [];
|
|
39024
|
+
selectedStates = [];
|
|
39025
|
+
disabled = false;
|
|
39026
|
+
selectedStatesChange = new EventEmitter();
|
|
39027
|
+
trigger;
|
|
39028
|
+
optionsPanel;
|
|
39029
|
+
isOpen = false;
|
|
39030
|
+
controlId = 'wb-case-state';
|
|
39031
|
+
optionsId = 'wb-case-state-options';
|
|
39032
|
+
pointerDownInside = false;
|
|
39033
|
+
constructor(elementRef) {
|
|
39034
|
+
this.elementRef = elementRef;
|
|
39035
|
+
}
|
|
39036
|
+
togglePanel(event) {
|
|
39037
|
+
event?.stopPropagation();
|
|
39038
|
+
if (this.disabled) {
|
|
39039
|
+
return;
|
|
39040
|
+
}
|
|
39041
|
+
this.isOpen = !this.isOpen;
|
|
39042
|
+
}
|
|
39043
|
+
closePanel(returnFocus = false) {
|
|
39044
|
+
if (!this.isOpen) {
|
|
39045
|
+
return;
|
|
39046
|
+
}
|
|
39047
|
+
this.isOpen = false;
|
|
39048
|
+
if (returnFocus) {
|
|
39049
|
+
this.trigger?.nativeElement.focus();
|
|
39050
|
+
}
|
|
39051
|
+
}
|
|
39052
|
+
isSelected(state) {
|
|
39053
|
+
return (this.selectedStates || []).some(selectedState => selectedState.id === state.id);
|
|
39054
|
+
}
|
|
39055
|
+
selectState(state, event) {
|
|
39056
|
+
event.stopPropagation();
|
|
39057
|
+
const input = event.target;
|
|
39058
|
+
const selectedStates = (this.selectedStates || []).filter(selectedState => selectedState.id !== state.id);
|
|
39059
|
+
if (input.checked) {
|
|
39060
|
+
selectedStates.push(state);
|
|
39061
|
+
}
|
|
39062
|
+
this.selectedStatesChange.emit(selectedStates);
|
|
39063
|
+
}
|
|
39064
|
+
selectAll(event) {
|
|
39065
|
+
event.stopPropagation();
|
|
39066
|
+
this.selectedStatesChange.emit([...this.states]);
|
|
39067
|
+
}
|
|
39068
|
+
unselectAll(event) {
|
|
39069
|
+
event.stopPropagation();
|
|
39070
|
+
this.selectedStatesChange.emit([]);
|
|
39071
|
+
}
|
|
39072
|
+
get isSelectAllDisabled() {
|
|
39073
|
+
return this.disabled || this.states.every(state => this.isSelected(state));
|
|
39074
|
+
}
|
|
39075
|
+
get isUnselectAllDisabled() {
|
|
39076
|
+
return this.disabled || this.states.length === 0 || (this.selectedStates || []).length === 0;
|
|
39077
|
+
}
|
|
39078
|
+
get selectedLabel() {
|
|
39079
|
+
const selectedCount = (this.selectedStates || []).length;
|
|
39080
|
+
if (selectedCount === 0) {
|
|
39081
|
+
return 'Any';
|
|
39082
|
+
}
|
|
39083
|
+
if (selectedCount === 1) {
|
|
39084
|
+
return this.selectedStates[0].name;
|
|
39085
|
+
}
|
|
39086
|
+
return `${selectedCount} selected`;
|
|
39087
|
+
}
|
|
39088
|
+
onDocumentClick(event) {
|
|
39089
|
+
if (this.isOpen && !this.isInteractiveTarget(event.target)) {
|
|
39090
|
+
this.closePanel();
|
|
39091
|
+
}
|
|
39092
|
+
}
|
|
39093
|
+
onEscape() {
|
|
39094
|
+
this.closePanel(true);
|
|
39095
|
+
}
|
|
39096
|
+
onPointerDown(event) {
|
|
39097
|
+
this.pointerDownInside = this.isOpen && this.isInteractiveTarget(event.target);
|
|
39098
|
+
}
|
|
39099
|
+
onDocumentPointerUp() {
|
|
39100
|
+
this.pointerDownInside = false;
|
|
39101
|
+
}
|
|
39102
|
+
onFocusOut(event) {
|
|
39103
|
+
const nextFocusedElement = event.relatedTarget;
|
|
39104
|
+
if (!nextFocusedElement || !this.elementRef.nativeElement.contains(nextFocusedElement)) {
|
|
39105
|
+
if (this.pointerDownInside) {
|
|
39106
|
+
return;
|
|
39107
|
+
}
|
|
39108
|
+
this.closePanel();
|
|
39109
|
+
}
|
|
39110
|
+
}
|
|
39111
|
+
isInteractiveTarget(target) {
|
|
39112
|
+
if (!(target instanceof Node)) {
|
|
39113
|
+
return false;
|
|
39114
|
+
}
|
|
39115
|
+
if (this.trigger?.nativeElement.contains(target) || this.optionsPanel?.nativeElement.contains(target)) {
|
|
39116
|
+
return true;
|
|
39117
|
+
}
|
|
39118
|
+
const actionButtons = this.elementRef.nativeElement.querySelectorAll('.case-state-multi-select__actions button');
|
|
39119
|
+
return Array.from(actionButtons).some(button => button.contains(target));
|
|
39120
|
+
}
|
|
39121
|
+
static ɵfac = function CaseStateMultiSelectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseStateMultiSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
39122
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseStateMultiSelectComponent, selectors: [["ccd-case-state-multi-select"]], viewQuery: function CaseStateMultiSelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
39123
|
+
i0.ɵɵviewQuery(_c0$e, 5);
|
|
39124
|
+
i0.ɵɵviewQuery(_c1$4, 5);
|
|
39125
|
+
} if (rf & 2) {
|
|
39126
|
+
let _t;
|
|
39127
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.trigger = _t.first);
|
|
39128
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionsPanel = _t.first);
|
|
39129
|
+
} }, hostBindings: function CaseStateMultiSelectComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
39130
|
+
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); });
|
|
39131
|
+
} }, 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) {
|
|
39132
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
39133
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "fieldset", 3)(2, "legend", 4);
|
|
39134
|
+
i0.ɵɵtext(3);
|
|
39135
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
39136
|
+
i0.ɵɵelementEnd();
|
|
39137
|
+
i0.ɵɵelementStart(5, "button", 5);
|
|
39138
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.selectAll($event)); });
|
|
39139
|
+
i0.ɵɵtext(6);
|
|
39140
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
39141
|
+
i0.ɵɵelementEnd();
|
|
39142
|
+
i0.ɵɵelementStart(8, "button", 6);
|
|
39143
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_8_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.unselectAll($event)); });
|
|
39144
|
+
i0.ɵɵtext(9);
|
|
39145
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
39146
|
+
i0.ɵɵelementEnd()();
|
|
39147
|
+
i0.ɵɵelementStart(11, "button", 7, 0);
|
|
39148
|
+
i0.ɵɵlistener("click", function CaseStateMultiSelectComponent_Template_button_click_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.togglePanel($event)); });
|
|
39149
|
+
i0.ɵɵelementStart(13, "span");
|
|
39150
|
+
i0.ɵɵtext(14);
|
|
39151
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
39152
|
+
i0.ɵɵelementEnd()();
|
|
39153
|
+
i0.ɵɵtemplate(16, CaseStateMultiSelectComponent_div_16_Template, 8, 5, "div", 8);
|
|
39154
|
+
i0.ɵɵelementEnd();
|
|
39155
|
+
} if (rf & 2) {
|
|
39156
|
+
i0.ɵɵadvance(3);
|
|
39157
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "State selection actions"));
|
|
39158
|
+
i0.ɵɵadvance(2);
|
|
39159
|
+
i0.ɵɵproperty("disabled", ctx.isSelectAllDisabled);
|
|
39160
|
+
i0.ɵɵadvance();
|
|
39161
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 13, "Select All"), " ");
|
|
39162
|
+
i0.ɵɵadvance(2);
|
|
39163
|
+
i0.ɵɵproperty("disabled", ctx.isUnselectAllDisabled);
|
|
39164
|
+
i0.ɵɵadvance();
|
|
39165
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 15, "Unselect All"), " ");
|
|
39166
|
+
i0.ɵɵadvance(2);
|
|
39167
|
+
i0.ɵɵproperty("id", ctx.controlId)("disabled", ctx.disabled);
|
|
39168
|
+
i0.ɵɵattribute("aria-expanded", ctx.isOpen)("aria-controls", ctx.optionsId);
|
|
39169
|
+
i0.ɵɵadvance(3);
|
|
39170
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 17, ctx.selectedLabel));
|
|
39171
|
+
i0.ɵɵadvance(2);
|
|
39172
|
+
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
39173
|
+
} }, 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}"] });
|
|
39174
|
+
}
|
|
39175
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseStateMultiSelectComponent, [{
|
|
39176
|
+
type: Component,
|
|
39177
|
+
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"] }]
|
|
39178
|
+
}], () => [{ type: i0.ElementRef }], { states: [{
|
|
39179
|
+
type: Input
|
|
39180
|
+
}], selectedStates: [{
|
|
39181
|
+
type: Input
|
|
39182
|
+
}], disabled: [{
|
|
39183
|
+
type: Input
|
|
39184
|
+
}], selectedStatesChange: [{
|
|
39185
|
+
type: Output
|
|
39186
|
+
}], trigger: [{
|
|
39187
|
+
type: ViewChild,
|
|
39188
|
+
args: ['trigger']
|
|
39189
|
+
}], optionsPanel: [{
|
|
39190
|
+
type: ViewChild,
|
|
39191
|
+
args: ['optionsPanel']
|
|
39192
|
+
}], onDocumentClick: [{
|
|
39193
|
+
type: HostListener,
|
|
39194
|
+
args: ['document:click', ['$event']]
|
|
39195
|
+
}], onEscape: [{
|
|
39196
|
+
type: HostListener,
|
|
39197
|
+
args: ['document:keydown.escape']
|
|
39198
|
+
}], onPointerDown: [{
|
|
39199
|
+
type: HostListener,
|
|
39200
|
+
args: ['pointerdown', ['$event']]
|
|
39201
|
+
}], onDocumentPointerUp: [{
|
|
39202
|
+
type: HostListener,
|
|
39203
|
+
args: ['document:pointerup']
|
|
39204
|
+
}], onFocusOut: [{
|
|
39205
|
+
type: HostListener,
|
|
39206
|
+
args: ['focusout', ['$event']]
|
|
39207
|
+
}] }); })();
|
|
39208
|
+
(() => { (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 }); })();
|
|
39209
|
+
|
|
39210
|
+
const _c0$d = () => [];
|
|
38983
39211
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
38984
|
-
i0.ɵɵelementStart(0, "option",
|
|
39212
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38985
39213
|
i0.ɵɵtext(1);
|
|
38986
39214
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38987
39215
|
i0.ɵɵelementEnd();
|
|
@@ -38991,7 +39219,7 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
38991
39219
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
38992
39220
|
} }
|
|
38993
39221
|
function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
38994
|
-
i0.ɵɵelementStart(0, "option",
|
|
39222
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38995
39223
|
i0.ɵɵtext(1);
|
|
38996
39224
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38997
39225
|
i0.ɵɵelementEnd();
|
|
@@ -39002,7 +39230,7 @@ function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
39002
39230
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
39003
39231
|
} }
|
|
39004
39232
|
function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
39005
|
-
i0.ɵɵelementStart(0, "option",
|
|
39233
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39006
39234
|
i0.ɵɵtext(1);
|
|
39007
39235
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39008
39236
|
i0.ɵɵelementEnd();
|
|
@@ -39012,7 +39240,7 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
39012
39240
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39013
39241
|
} }
|
|
39014
39242
|
function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
39015
|
-
i0.ɵɵelementStart(0, "option",
|
|
39243
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39016
39244
|
i0.ɵɵtext(1);
|
|
39017
39245
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39018
39246
|
i0.ɵɵelementEnd();
|
|
@@ -39022,39 +39250,28 @@ function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
39022
39250
|
i0.ɵɵadvance();
|
|
39023
39251
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r2.name));
|
|
39024
39252
|
} }
|
|
39025
|
-
function
|
|
39026
|
-
i0.ɵɵ
|
|
39027
|
-
i0.ɵɵtext(1);
|
|
39028
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39029
|
-
i0.ɵɵelementEnd();
|
|
39030
|
-
} if (rf & 2) {
|
|
39031
|
-
const cs_r3 = ctx.$implicit;
|
|
39032
|
-
i0.ɵɵproperty("ngValue", cs_r3);
|
|
39033
|
-
i0.ɵɵadvance();
|
|
39034
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r3.name));
|
|
39035
|
-
} }
|
|
39036
|
-
function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39037
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
39253
|
+
function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39254
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
39038
39255
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 20);
|
|
39039
|
-
i0.ɵɵlistener("keyup.enter", function
|
|
39256
|
+
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)); });
|
|
39040
39257
|
i0.ɵɵelementEnd()();
|
|
39041
39258
|
} if (rf & 2) {
|
|
39042
|
-
const
|
|
39043
|
-
const
|
|
39259
|
+
const workbasketInput_r5 = ctx.$implicit;
|
|
39260
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
39044
39261
|
i0.ɵɵadvance();
|
|
39045
|
-
i0.ɵɵproperty("caseField",
|
|
39262
|
+
i0.ɵɵproperty("caseField", workbasketInput_r5.field)("formGroup", ctx_r3.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
39046
39263
|
} }
|
|
39047
|
-
function
|
|
39264
|
+
function WorkbasketFiltersComponent_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
39048
39265
|
i0.ɵɵelementContainerStart(0, 17);
|
|
39049
39266
|
i0.ɵɵelementStart(1, "div", 18);
|
|
39050
|
-
i0.ɵɵtemplate(2,
|
|
39267
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div", 19);
|
|
39051
39268
|
i0.ɵɵelementEnd();
|
|
39052
39269
|
i0.ɵɵelementContainerEnd();
|
|
39053
39270
|
} if (rf & 2) {
|
|
39054
|
-
const
|
|
39055
|
-
i0.ɵɵproperty("formGroup",
|
|
39271
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39272
|
+
i0.ɵɵproperty("formGroup", ctx_r3.formGroup)("contextFields", ctx_r3.caseFields);
|
|
39056
39273
|
i0.ɵɵadvance(2);
|
|
39057
|
-
i0.ɵɵproperty("ngForOf",
|
|
39274
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.workbasketInputs);
|
|
39058
39275
|
} }
|
|
39059
39276
|
const FORM_GROUP_VAL_LOC_STORAGE = 'workbasket-filter-form-group-value';
|
|
39060
39277
|
const SAVED_QUERY_PARAM_LOC_STORAGE = 'savedQueryParams';
|
|
@@ -39112,7 +39329,7 @@ class WorkbasketFiltersComponent {
|
|
|
39112
39329
|
jurisdiction: null,
|
|
39113
39330
|
caseType: null,
|
|
39114
39331
|
formGroup: null,
|
|
39115
|
-
caseState:
|
|
39332
|
+
caseState: [],
|
|
39116
39333
|
page: 1,
|
|
39117
39334
|
metadataFields: []
|
|
39118
39335
|
};
|
|
@@ -39141,8 +39358,8 @@ class WorkbasketFiltersComponent {
|
|
|
39141
39358
|
if (this.selected.caseType) {
|
|
39142
39359
|
queryParams[WorkbasketFiltersComponent.PARAM_CASE_TYPE] = this.selected.caseType.id;
|
|
39143
39360
|
}
|
|
39144
|
-
if (this.selected.caseState) {
|
|
39145
|
-
queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE] = this.selected.caseState.id;
|
|
39361
|
+
if (this.selected.caseState && this.selected.caseState.length > 0) {
|
|
39362
|
+
queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE] = this.selected.caseState.map(state => state.id).join(',');
|
|
39146
39363
|
}
|
|
39147
39364
|
// without explicitly preserving alerts any message on the page
|
|
39148
39365
|
// would be cleared out because of this initial navigation.
|
|
@@ -39210,7 +39427,7 @@ class WorkbasketFiltersComponent {
|
|
|
39210
39427
|
else {
|
|
39211
39428
|
this.selected.caseType = null;
|
|
39212
39429
|
}
|
|
39213
|
-
this.selected.caseState =
|
|
39430
|
+
this.selected.caseState = [];
|
|
39214
39431
|
this.clearWorkbasketInputs();
|
|
39215
39432
|
if (!this.isApplyButtonDisabled()) {
|
|
39216
39433
|
this.onCaseTypeIdChange(false);
|
|
@@ -39227,7 +39444,7 @@ class WorkbasketFiltersComponent {
|
|
|
39227
39444
|
}
|
|
39228
39445
|
if (this.selected.caseType) {
|
|
39229
39446
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39230
|
-
this.selected.caseState =
|
|
39447
|
+
this.selected.caseState = [];
|
|
39231
39448
|
this.formGroup = new FormGroup({});
|
|
39232
39449
|
this.clearWorkbasketInputs();
|
|
39233
39450
|
if (!this.isApplyButtonDisabled()) {
|
|
@@ -39304,7 +39521,7 @@ class WorkbasketFiltersComponent {
|
|
|
39304
39521
|
* Try to initialise filters based on query parameters or workbasket defaults.
|
|
39305
39522
|
* Query parameters, when available, take precedence over workbasket defaults.
|
|
39306
39523
|
*/
|
|
39307
|
-
initFilters(init) {
|
|
39524
|
+
initFilters(init, resetCaseState = false) {
|
|
39308
39525
|
const savedQueryParams = this.windowService.getLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
|
|
39309
39526
|
const routeSnapshot = this.route.snapshot;
|
|
39310
39527
|
if (savedQueryParams) {
|
|
@@ -39319,7 +39536,9 @@ class WorkbasketFiltersComponent {
|
|
|
39319
39536
|
this.selected.caseType = this.selectCaseType(this.selected, this.selectedJurisdictionCaseTypes, routeSnapshot);
|
|
39320
39537
|
if (this.selected.caseType) {
|
|
39321
39538
|
this.onCaseTypeIdChange(false);
|
|
39322
|
-
this.selected.caseState =
|
|
39539
|
+
this.selected.caseState = resetCaseState
|
|
39540
|
+
? []
|
|
39541
|
+
: this.selectCaseStates(this.selected.caseType, routeSnapshot);
|
|
39323
39542
|
}
|
|
39324
39543
|
this.workbasketDefaults = true;
|
|
39325
39544
|
}
|
|
@@ -39330,16 +39549,24 @@ class WorkbasketFiltersComponent {
|
|
|
39330
39549
|
}
|
|
39331
39550
|
this.apply(init);
|
|
39332
39551
|
}
|
|
39333
|
-
|
|
39334
|
-
let
|
|
39552
|
+
selectCaseStates(caseType, routeSnapshot) {
|
|
39553
|
+
let caseStates = [];
|
|
39335
39554
|
if (caseType) {
|
|
39336
|
-
const
|
|
39337
|
-
|
|
39555
|
+
const selectedCaseStateIds = this.selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, this.defaults?.state_id);
|
|
39556
|
+
caseStates = (this.selectedCaseTypeStates || caseType.states || [])
|
|
39557
|
+
.filter(state => selectedCaseStateIds.includes(state.id));
|
|
39338
39558
|
}
|
|
39339
|
-
return
|
|
39559
|
+
return caseStates;
|
|
39340
39560
|
}
|
|
39341
|
-
|
|
39342
|
-
|
|
39561
|
+
selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, defaultCaseStateId) {
|
|
39562
|
+
const queryState = routeSnapshot.queryParams[WorkbasketFiltersComponent.PARAM_CASE_STATE];
|
|
39563
|
+
const stateValue = queryState || defaultCaseStateId;
|
|
39564
|
+
if (!stateValue) {
|
|
39565
|
+
return [];
|
|
39566
|
+
}
|
|
39567
|
+
return (Array.isArray(stateValue) ? stateValue : String(stateValue).split(','))
|
|
39568
|
+
.map(stateId => String(stateId).trim())
|
|
39569
|
+
.filter(Boolean);
|
|
39343
39570
|
}
|
|
39344
39571
|
selectCaseType(selected, caseTypes, routeSnapshot) {
|
|
39345
39572
|
let caseType;
|
|
@@ -39359,7 +39586,7 @@ class WorkbasketFiltersComponent {
|
|
|
39359
39586
|
this.workbasketDefaults = false;
|
|
39360
39587
|
this.selected.jurisdiction = null;
|
|
39361
39588
|
this.initialised = false;
|
|
39362
|
-
this.initFilters(true);
|
|
39589
|
+
this.initFilters(true, true);
|
|
39363
39590
|
}
|
|
39364
39591
|
clearWorkbasketInputs() {
|
|
39365
39592
|
this.workbasketInputsReady = false;
|
|
@@ -39370,7 +39597,7 @@ class WorkbasketFiltersComponent {
|
|
|
39370
39597
|
}
|
|
39371
39598
|
resetCaseState() {
|
|
39372
39599
|
this.defaults.state_id = null;
|
|
39373
|
-
this.selected.caseState =
|
|
39600
|
+
this.selected.caseState = [];
|
|
39374
39601
|
this.selectedCaseTypeStates = null;
|
|
39375
39602
|
}
|
|
39376
39603
|
resetCaseType() {
|
|
@@ -39390,7 +39617,7 @@ class WorkbasketFiltersComponent {
|
|
|
39390
39617
|
}
|
|
39391
39618
|
}
|
|
39392
39619
|
static ɵfac = function WorkbasketFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(WorkbasketInputFilterService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
39393
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, standalone: false, decls:
|
|
39620
|
+
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"], ["aria-label", "Filters", 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) {
|
|
39394
39621
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "fieldset", 2);
|
|
39395
39622
|
i0.ɵɵtext(3);
|
|
39396
39623
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39432,37 +39659,32 @@ class WorkbasketFiltersComponent {
|
|
|
39432
39659
|
i0.ɵɵtext(32);
|
|
39433
39660
|
i0.ɵɵpipe(33, "rpxTranslate");
|
|
39434
39661
|
i0.ɵɵelementEnd();
|
|
39435
|
-
i0.ɵɵelementStart(34, "select", 13);
|
|
39436
|
-
i0.ɵɵ
|
|
39437
|
-
i0.ɵɵelementStart(35, "option", 14);
|
|
39438
|
-
i0.ɵɵtext(36);
|
|
39439
|
-
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39440
|
-
i0.ɵɵelementEnd();
|
|
39441
|
-
i0.ɵɵtemplate(38, WorkbasketFiltersComponent_option_38_Template, 3, 4, "option", 9);
|
|
39662
|
+
i0.ɵɵelementStart(34, "ccd-case-state-multi-select", 13);
|
|
39663
|
+
i0.ɵɵlistener("selectedStatesChange", function WorkbasketFiltersComponent_Template_ccd_case_state_multi_select_selectedStatesChange_34_listener($event) { return ctx.selected.caseState = $event; });
|
|
39442
39664
|
i0.ɵɵelementEnd()();
|
|
39443
|
-
i0.ɵɵtemplate(
|
|
39444
|
-
i0.ɵɵelementStart(
|
|
39445
|
-
i0.ɵɵpipe(
|
|
39446
|
-
i0.ɵɵpipe(
|
|
39447
|
-
i0.ɵɵlistener("click", function
|
|
39448
|
-
i0.ɵɵtext(
|
|
39449
|
-
i0.ɵɵpipe(
|
|
39665
|
+
i0.ɵɵtemplate(35, WorkbasketFiltersComponent_ng_container_35_Template, 3, 3, "ng-container", 14);
|
|
39666
|
+
i0.ɵɵelementStart(36, "button", 15);
|
|
39667
|
+
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39668
|
+
i0.ɵɵpipe(38, "rpxTranslate");
|
|
39669
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_36_listener() { return ctx.scrollToTop(); });
|
|
39670
|
+
i0.ɵɵtext(39);
|
|
39671
|
+
i0.ɵɵpipe(40, "rpxTranslate");
|
|
39450
39672
|
i0.ɵɵelementEnd()();
|
|
39451
39673
|
} if (rf & 2) {
|
|
39452
39674
|
i0.ɵɵadvance(3);
|
|
39453
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
39675
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 25, "Filters"));
|
|
39454
39676
|
i0.ɵɵadvance(2);
|
|
39455
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39456
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7,
|
|
39677
|
+
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6, 27, "Apply filter"));
|
|
39678
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7, 29, "Apply filter"));
|
|
39457
39679
|
i0.ɵɵadvance(3);
|
|
39458
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
39680
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 31, "Apply"), " ");
|
|
39459
39681
|
i0.ɵɵadvance(3);
|
|
39460
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39461
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13,
|
|
39682
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12, 33, "Reset filter"));
|
|
39683
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(13, 35, "Reset filter"));
|
|
39462
39684
|
i0.ɵɵadvance(3);
|
|
39463
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
39685
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 37, "Reset"), " ");
|
|
39464
39686
|
i0.ɵɵadvance(4);
|
|
39465
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
39687
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 39, "Jurisdiction"));
|
|
39466
39688
|
i0.ɵɵadvance(2);
|
|
39467
39689
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39468
39690
|
i0.ɵɵadvance();
|
|
@@ -39470,7 +39692,7 @@ class WorkbasketFiltersComponent {
|
|
|
39470
39692
|
i0.ɵɵadvance();
|
|
39471
39693
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39472
39694
|
i0.ɵɵadvance(3);
|
|
39473
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
39695
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 41, "Case type"));
|
|
39474
39696
|
i0.ɵɵadvance(2);
|
|
39475
39697
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39476
39698
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39479,28 +39701,21 @@ class WorkbasketFiltersComponent {
|
|
|
39479
39701
|
i0.ɵɵadvance();
|
|
39480
39702
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39481
39703
|
i0.ɵɵadvance(3);
|
|
39482
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
39483
|
-
i0.ɵɵadvance(2);
|
|
39484
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseState);
|
|
39485
|
-
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39486
|
-
i0.ɵɵadvance();
|
|
39487
|
-
i0.ɵɵproperty("ngValue", null);
|
|
39488
|
-
i0.ɵɵadvance();
|
|
39489
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 47, "Any"));
|
|
39704
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 43, "State"));
|
|
39490
39705
|
i0.ɵɵadvance(2);
|
|
39491
|
-
i0.ɵɵproperty("
|
|
39706
|
+
i0.ɵɵproperty("states", ctx.selectedCaseTypeStates || i0.ɵɵpureFunction0(51, _c0$d))("selectedStates", ctx.selected.caseState || i0.ɵɵpureFunction0(52, _c0$d))("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39492
39707
|
i0.ɵɵadvance();
|
|
39493
39708
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39494
39709
|
i0.ɵɵadvance();
|
|
39495
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(
|
|
39496
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(
|
|
39710
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(37, 45, "Back to top"));
|
|
39711
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(38, 47, "Back to top"));
|
|
39497
39712
|
i0.ɵɵadvance(3);
|
|
39498
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
39713
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(40, 49, "Back to top"), " ");
|
|
39499
39714
|
} }, styles: ["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}}.form-group[_ngcontent-%COMP%]{margin-bottom:7px}.form-group.flex[_ngcontent-%COMP%]{display:flex}.form-group.flex[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:1rem .25rem .25rem;height:2rem}.ccd-dropdown[_ngcontent-%COMP%]{width:100%}span.heading-medium[_ngcontent-%COMP%]{margin-top:0}"] });
|
|
39500
39715
|
}
|
|
39501
39716
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39502
39717
|
type: Component,
|
|
39503
|
-
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <fieldset class=\"heading-h2\" aria-label=\"Filters\">{{'Filters' | rpxTranslate }}</fieldset>\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 <
|
|
39718
|
+
args: [{ selector: 'ccd-workbasket-filters', standalone: false, template: "<form id=\"filters\" class=\"global-display\">\n <div class=\"form-group flex\">\n <fieldset class=\"heading-h2\" aria-label=\"Filters\">{{'Filters' | rpxTranslate }}</fieldset>\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: ["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}}.form-group{margin-bottom:7px}.form-group.flex{display:flex}.form-group.flex button{margin:1rem .25rem .25rem;height:2rem}.ccd-dropdown{width:100%}span.heading-medium{margin-top:0}\n"] }]
|
|
39504
39719
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
39505
39720
|
type: Input
|
|
39506
39721
|
}], defaults: [{
|
|
@@ -39540,9 +39755,11 @@ class WorkbasketFiltersModule {
|
|
|
39540
39755
|
RpxTranslationModule.forChild()
|
|
39541
39756
|
],
|
|
39542
39757
|
declarations: [
|
|
39758
|
+
CaseStateMultiSelectComponent,
|
|
39543
39759
|
WorkbasketFiltersComponent,
|
|
39544
39760
|
],
|
|
39545
39761
|
exports: [
|
|
39762
|
+
CaseStateMultiSelectComponent,
|
|
39546
39763
|
WorkbasketFiltersComponent,
|
|
39547
39764
|
],
|
|
39548
39765
|
providers: [
|
|
@@ -39554,12 +39771,14 @@ class WorkbasketFiltersModule {
|
|
|
39554
39771
|
]
|
|
39555
39772
|
}]
|
|
39556
39773
|
}], null, null); })();
|
|
39557
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
39774
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [CaseStateMultiSelectComponent,
|
|
39775
|
+
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39558
39776
|
FormsModule,
|
|
39559
39777
|
ReactiveFormsModule,
|
|
39560
39778
|
PaletteModule,
|
|
39561
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
39562
|
-
|
|
39779
|
+
ConditionalShowModule, i1.RpxTranslationModule], exports: [CaseStateMultiSelectComponent,
|
|
39780
|
+
WorkbasketFiltersComponent] }); })();
|
|
39781
|
+
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]; });
|
|
39563
39782
|
|
|
39564
39783
|
const READ_ACCESS = 'read';
|
|
39565
39784
|
const CREATE_ACCESS = 'create';
|
|
@@ -41505,12 +41724,7 @@ class CaseFullAccessViewComponent {
|
|
|
41505
41724
|
let hashValue = url.substring(url.indexOf('#') + 1);
|
|
41506
41725
|
const hasHash = url.includes('#');
|
|
41507
41726
|
const isSpecialTabPath = url.includes('roles-and-access') || url.includes('tasks') || url.includes('hearings');
|
|
41508
|
-
|
|
41509
|
-
const defaultFocusDemo = url.includes('default-focus-demo');
|
|
41510
|
-
if (defaultFocusDemo) {
|
|
41511
|
-
this.caseDetails.tabs[Number(url.substring(url.indexOf('default-focus-demo-') + 19))].defaultFocus = true;
|
|
41512
|
-
}
|
|
41513
|
-
if (defaultFocusDemo || (!hasHash && !isSpecialTabPath)) {
|
|
41727
|
+
if (!hasHash && !isSpecialTabPath) {
|
|
41514
41728
|
const paths = url.split('/');
|
|
41515
41729
|
const lastPath = decodeURIComponent(paths[paths.length - 1]);
|
|
41516
41730
|
let foundTab = null;
|
|
@@ -41534,13 +41748,10 @@ class CaseFullAccessViewComponent {
|
|
|
41534
41748
|
});
|
|
41535
41749
|
}
|
|
41536
41750
|
else {
|
|
41537
|
-
this.caseDetails.tabs
|
|
41538
|
-
// Presuming default focus only set for one tab here - multiple tabs with default focus are not handled as is a contradiction
|
|
41539
|
-
let preSelectTab = this.caseDetails.tabs.find((tab) => tab.defaultFocus === true) ?? null;
|
|
41540
|
-
// Attempt to pre-select the tab based on the preferred label for the current case type
|
|
41751
|
+
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
41541
41752
|
const preferredLabel = FieldsUtils.defaultTabList?.[this.caseDetails?.case_type?.id];
|
|
41542
|
-
|
|
41543
|
-
if (
|
|
41753
|
+
let preSelectTab = null;
|
|
41754
|
+
if (preferredLabel) {
|
|
41544
41755
|
preSelectTab = this.caseDetails.tabs.find((tab) => (tab.label === preferredLabel) || (tab.id === preferredLabel)) ?? null;
|
|
41545
41756
|
}
|
|
41546
41757
|
if (!preSelectTab) {
|
|
@@ -45636,7 +45847,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45636
45847
|
} if (rf & 2) {
|
|
45637
45848
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45638
45849
|
i0.ɵɵadvance(3);
|
|
45639
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.
|
|
45850
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.hasSelectedCaseState() ? "Your cases" : "Search result"));
|
|
45640
45851
|
i0.ɵɵadvance(2);
|
|
45641
45852
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
45642
45853
|
i0.ɵɵadvance();
|
|
@@ -45872,7 +46083,10 @@ class SearchResultComponent {
|
|
|
45872
46083
|
const queryParams = {};
|
|
45873
46084
|
queryParams[SearchResultComponent.PARAM_JURISDICTION] = this.selected.jurisdiction ? this.selected.jurisdiction.id : null;
|
|
45874
46085
|
queryParams[SearchResultComponent.PARAM_CASE_TYPE] = this.selected.caseType ? this.selected.caseType.id : null;
|
|
45875
|
-
|
|
46086
|
+
const caseStates = this.getCaseStates(this.selected.caseState);
|
|
46087
|
+
queryParams[SearchResultComponent.PARAM_CASE_STATE] = caseStates.length > 0
|
|
46088
|
+
? caseStates.map(state => state.id).join(',')
|
|
46089
|
+
: null;
|
|
45876
46090
|
this.changePage.emit({
|
|
45877
46091
|
selected: this.selected,
|
|
45878
46092
|
queryParams
|
|
@@ -45885,6 +46099,15 @@ class SearchResultComponent {
|
|
|
45885
46099
|
topContainer.focus();
|
|
45886
46100
|
}
|
|
45887
46101
|
}
|
|
46102
|
+
hasSelectedCaseState() {
|
|
46103
|
+
return this.getCaseStates(this.caseState).length > 0;
|
|
46104
|
+
}
|
|
46105
|
+
getCaseStates(caseState) {
|
|
46106
|
+
if (Array.isArray(caseState)) {
|
|
46107
|
+
return caseState;
|
|
46108
|
+
}
|
|
46109
|
+
return caseState ? [caseState] : [];
|
|
46110
|
+
}
|
|
45888
46111
|
buildCaseField(col, result) {
|
|
45889
46112
|
return Object.assign(new CaseField(), {
|
|
45890
46113
|
id: col.case_field_id,
|
|
@@ -46030,7 +46253,7 @@ class SearchResultComponent {
|
|
|
46030
46253
|
}
|
|
46031
46254
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46032
46255
|
type: Component,
|
|
46033
|
-
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\">{{ (
|
|
46256
|
+
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-warning-text__assistive\">{{'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\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["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"] }]
|
|
46034
46257
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46035
46258
|
type: Input
|
|
46036
46259
|
}], jurisdiction: [{
|
|
@@ -46367,5 +46590,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46367
46590
|
* Generated bundle index. Do not edit.
|
|
46368
46591
|
*/
|
|
46369
46592
|
|
|
46370
|
-
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, 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 };
|
|
46593
|
+
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, 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, 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 };
|
|
46371
46594
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|