@hmcts/ccd-case-ui-toolkit 7.4.3 → 7.4.4-exui-2855
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 +520 -285
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +58 -24
- package/index.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -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);
|
|
@@ -13589,7 +13589,7 @@ class CaseEventCompletionComponent {
|
|
|
13589
13589
|
}] }); })();
|
|
13590
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 }); })();
|
|
13591
13591
|
|
|
13592
|
-
const _c0$
|
|
13592
|
+
const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13593
13593
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13594
13594
|
context;
|
|
13595
13595
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13658,7 +13658,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13658
13658
|
i0.ɵɵadvance(4);
|
|
13659
13659
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13660
13660
|
i0.ɵɵadvance(2);
|
|
13661
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13661
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$13, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13662
13662
|
i0.ɵɵadvance();
|
|
13663
13663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13664
13664
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13673,7 +13673,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13673
13673
|
}] }); })();
|
|
13674
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 }); })();
|
|
13675
13675
|
|
|
13676
|
-
const _c0$
|
|
13676
|
+
const _c0$12 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13677
13677
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13678
13678
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13679
13679
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13726,7 +13726,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13726
13726
|
i0.ɵɵadvance(4);
|
|
13727
13727
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13728
13728
|
i0.ɵɵadvance(2);
|
|
13729
|
-
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));
|
|
13730
13730
|
i0.ɵɵadvance();
|
|
13731
13731
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13732
13732
|
} }
|
|
@@ -14129,8 +14129,8 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14129
14129
|
}] }); })();
|
|
14130
14130
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14131
14131
|
|
|
14132
|
-
const _c0
|
|
14133
|
-
const _c1$
|
|
14132
|
+
const _c0$11 = ["writeComplexFieldComponent"];
|
|
14133
|
+
const _c1$r = a0 => ({ "form-group-error": a0 });
|
|
14134
14134
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14135
14135
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
14136
14136
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -14167,7 +14167,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
|
|
|
14167
14167
|
i0.ɵɵelementEnd()();
|
|
14168
14168
|
} if (rf & 2) {
|
|
14169
14169
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14170
|
-
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));
|
|
14171
14171
|
i0.ɵɵadvance();
|
|
14172
14172
|
i0.ɵɵproperty("for", ctx_r0.createElementId("postcodeInput"));
|
|
14173
14173
|
i0.ɵɵadvance(2);
|
|
@@ -14235,7 +14235,7 @@ function WriteAddressFieldComponent_div_1_div_6_Template(rf, ctx) { if (rf & 1)
|
|
|
14235
14235
|
i0.ɵɵelementEnd()();
|
|
14236
14236
|
} if (rf & 2) {
|
|
14237
14237
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14238
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$
|
|
14238
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$r, ctx_r0.noAddressSelected));
|
|
14239
14239
|
i0.ɵɵadvance();
|
|
14240
14240
|
i0.ɵɵproperty("for", ctx_r0.createElementId("addressList"));
|
|
14241
14241
|
i0.ɵɵadvance(2);
|
|
@@ -14408,7 +14408,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14408
14408
|
}
|
|
14409
14409
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14410
14410
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14411
|
-
i0.ɵɵviewQuery(_c0
|
|
14411
|
+
i0.ɵɵviewQuery(_c0$11, 5);
|
|
14412
14412
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14413
14413
|
} if (rf & 2) {
|
|
14414
14414
|
let _t;
|
|
@@ -14471,7 +14471,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14471
14471
|
type: Input
|
|
14472
14472
|
}] }); })();
|
|
14473
14473
|
|
|
14474
|
-
const _c0$
|
|
14474
|
+
const _c0$10 = ["journeyChild"];
|
|
14475
14475
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14476
14476
|
multipageComponentStateService;
|
|
14477
14477
|
journeyStartPageNumber = 0;
|
|
@@ -14546,7 +14546,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14546
14546
|
;
|
|
14547
14547
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14548
14548
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14549
|
-
i0.ɵɵviewQuery(_c0$
|
|
14549
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
14550
14550
|
} if (rf & 2) {
|
|
14551
14551
|
let _t;
|
|
14552
14552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14561,7 +14561,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14561
14561
|
args: ['journeyChild']
|
|
14562
14562
|
}] }); })();
|
|
14563
14563
|
|
|
14564
|
-
const _c0
|
|
14564
|
+
const _c0$$ = ["journeyChild"];
|
|
14565
14565
|
class AbstractJourneyComponent {
|
|
14566
14566
|
multipageComponentStateService;
|
|
14567
14567
|
journeyStartPageNumber = 0;
|
|
@@ -14623,7 +14623,7 @@ class AbstractJourneyComponent {
|
|
|
14623
14623
|
onPageChange() { }
|
|
14624
14624
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14625
14625
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14626
|
-
i0.ɵɵviewQuery(_c0
|
|
14626
|
+
i0.ɵɵviewQuery(_c0$$, 5);
|
|
14627
14627
|
} if (rf & 2) {
|
|
14628
14628
|
let _t;
|
|
14629
14629
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14766,6 +14766,9 @@ class CaseFileViewFieldComponent {
|
|
|
14766
14766
|
ngAfterViewInit() {
|
|
14767
14767
|
const slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
14768
14768
|
const documentTreeContainer = this.elementRef.nativeElement.querySelector('.document-tree-container');
|
|
14769
|
+
if (!slider || !documentTreeContainer) {
|
|
14770
|
+
return;
|
|
14771
|
+
}
|
|
14769
14772
|
const mousedown$ = fromEvent(slider, 'mousedown');
|
|
14770
14773
|
const mousemove$ = fromEvent(document, 'mousemove');
|
|
14771
14774
|
const mouseup$ = fromEvent(document, 'mouseup');
|
|
@@ -16105,8 +16108,8 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16105
16108
|
}], null, null); })();
|
|
16106
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 }); })();
|
|
16107
16110
|
|
|
16108
|
-
const _c0$
|
|
16109
|
-
const _c1$
|
|
16111
|
+
const _c0$_ = ["writeComplexFieldComponent"];
|
|
16112
|
+
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
16110
16113
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16111
16114
|
i0.ɵɵelementStart(0, "span", 6);
|
|
16112
16115
|
i0.ɵɵtext(1);
|
|
@@ -16186,7 +16189,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16186
16189
|
}
|
|
16187
16190
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16188
16191
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16189
|
-
i0.ɵɵviewQuery(_c0$
|
|
16192
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
16190
16193
|
} if (rf & 2) {
|
|
16191
16194
|
let _t;
|
|
16192
16195
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16198,7 +16201,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16198
16201
|
i0.ɵɵelement(5, "input", 5);
|
|
16199
16202
|
i0.ɵɵelementEnd();
|
|
16200
16203
|
} if (rf & 2) {
|
|
16201
|
-
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)));
|
|
16202
16205
|
i0.ɵɵadvance();
|
|
16203
16206
|
i0.ɵɵproperty("for", ctx.id());
|
|
16204
16207
|
i0.ɵɵadvance();
|
|
@@ -16220,8 +16223,8 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16220
16223
|
}] }); })();
|
|
16221
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 }); })();
|
|
16222
16225
|
|
|
16223
|
-
const _c0$
|
|
16224
|
-
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 });
|
|
16225
16228
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16226
16229
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
16227
16230
|
i0.ɵɵelement(2, "th", 4);
|
|
@@ -16231,7 +16234,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16231
16234
|
} if (rf & 2) {
|
|
16232
16235
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16233
16236
|
i0.ɵɵadvance(4);
|
|
16234
|
-
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);
|
|
16235
16238
|
} }
|
|
16236
16239
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16237
16240
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16242,7 +16245,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
16242
16245
|
const i_r3 = ctx.index;
|
|
16243
16246
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
16244
16247
|
i0.ɵɵadvance(2);
|
|
16245
|
-
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));
|
|
16246
16249
|
} }
|
|
16247
16250
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
16248
16251
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -16353,7 +16356,7 @@ class RemoveDialogComponent {
|
|
|
16353
16356
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
16354
16357
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16355
16358
|
|
|
16356
|
-
const _c0$
|
|
16359
|
+
const _c0$Y = ["collectionItem"];
|
|
16357
16360
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16358
16361
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16359
16362
|
i0.ɵɵtext(1);
|
|
@@ -16774,7 +16777,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16774
16777
|
}
|
|
16775
16778
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16776
16779
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16777
|
-
i0.ɵɵviewQuery(_c0$
|
|
16780
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
16778
16781
|
} if (rf & 2) {
|
|
16779
16782
|
let _t;
|
|
16780
16783
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -17093,8 +17096,8 @@ class FileUploadStateService {
|
|
|
17093
17096
|
type: Injectable
|
|
17094
17097
|
}], null, null); })();
|
|
17095
17098
|
|
|
17096
|
-
const _c0$
|
|
17097
|
-
const _c1$
|
|
17099
|
+
const _c0$X = ["fileInput"];
|
|
17100
|
+
const _c1$o = a0 => ({ "form-group-error bottom-30": a0 });
|
|
17098
17101
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17099
17102
|
i0.ɵɵelementStart(0, "span", 12);
|
|
17100
17103
|
i0.ɵɵelement(1, "markdown", 13);
|
|
@@ -17472,7 +17475,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17472
17475
|
}
|
|
17473
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)); };
|
|
17474
17477
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17475
|
-
i0.ɵɵviewQuery(_c0$
|
|
17478
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
17476
17479
|
} if (rf & 2) {
|
|
17477
17480
|
let _t;
|
|
17478
17481
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -17503,7 +17506,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17503
17506
|
i0.ɵɵpipe(19, "rpxTranslate");
|
|
17504
17507
|
i0.ɵɵelementEnd()();
|
|
17505
17508
|
} if (rf & 2) {
|
|
17506
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$
|
|
17509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$o, !ctx.valid));
|
|
17507
17510
|
i0.ɵɵadvance();
|
|
17508
17511
|
i0.ɵɵproperty("for", ctx.id());
|
|
17509
17512
|
i0.ɵɵadvance();
|
|
@@ -17587,7 +17590,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
17587
17590
|
}], null, null); })();
|
|
17588
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 }); })();
|
|
17589
17592
|
|
|
17590
|
-
const _c0$
|
|
17593
|
+
const _c0$W = a0 => ({ "form-group-error": a0 });
|
|
17591
17594
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
17592
17595
|
i0.ɵɵelementStart(0, "span", 8);
|
|
17593
17596
|
i0.ɵɵtext(1);
|
|
@@ -17675,7 +17678,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17675
17678
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
17676
17679
|
i0.ɵɵelementEnd()();
|
|
17677
17680
|
} if (rf & 2) {
|
|
17678
|
-
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)));
|
|
17679
17682
|
i0.ɵɵadvance();
|
|
17680
17683
|
i0.ɵɵproperty("for", ctx.id());
|
|
17681
17684
|
i0.ɵɵadvance();
|
|
@@ -17856,7 +17859,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
17856
17859
|
}], null, null); })();
|
|
17857
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 }); })();
|
|
17858
17861
|
|
|
17859
|
-
const _c0$
|
|
17862
|
+
const _c0$V = a0 => ({ "error": a0 });
|
|
17860
17863
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
17861
17864
|
i0.ɵɵelementStart(0, "span", 5);
|
|
17862
17865
|
i0.ɵɵtext(1);
|
|
@@ -17976,7 +17979,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
17976
17979
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
|
|
17977
17980
|
i0.ɵɵelementEnd()();
|
|
17978
17981
|
} if (rf & 2) {
|
|
17979
|
-
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());
|
|
17980
17983
|
i0.ɵɵadvance(3);
|
|
17981
17984
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17982
17985
|
i0.ɵɵadvance();
|
|
@@ -18056,8 +18059,8 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18056
18059
|
}], null, null); })();
|
|
18057
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 }); })();
|
|
18058
18061
|
|
|
18059
|
-
const _c0$
|
|
18060
|
-
const _c1$
|
|
18062
|
+
const _c0$U = a0 => ({ "form-group-error": a0 });
|
|
18063
|
+
const _c1$n = a0 => ({ selected: a0 });
|
|
18061
18064
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18062
18065
|
i0.ɵɵelementStart(0, "span", 7);
|
|
18063
18066
|
i0.ɵɵtext(1);
|
|
@@ -18107,7 +18110,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
18107
18110
|
} if (rf & 2) {
|
|
18108
18111
|
const radioButton_r2 = ctx.$implicit;
|
|
18109
18112
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18110
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18113
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r0.dynamicRadioListControl.value === radioButton_r2.code));
|
|
18111
18114
|
i0.ɵɵadvance();
|
|
18112
18115
|
i0.ɵɵproperty("id", ctx_r0.createElementId(radioButton_r2.code))("name", ctx_r0.id())("formControl", ctx_r0.dynamicRadioListControl)("value", radioButton_r2.code);
|
|
18113
18116
|
i0.ɵɵadvance();
|
|
@@ -18151,7 +18154,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18151
18154
|
i0.ɵɵelementContainerEnd();
|
|
18152
18155
|
i0.ɵɵelementEnd()();
|
|
18153
18156
|
} if (rf & 2) {
|
|
18154
|
-
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());
|
|
18155
18158
|
i0.ɵɵadvance(3);
|
|
18156
18159
|
i0.ɵɵproperty("for", ctx.id());
|
|
18157
18160
|
i0.ɵɵadvance();
|
|
@@ -18205,8 +18208,8 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
18205
18208
|
}], null, null); })();
|
|
18206
18209
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
|
|
18207
18210
|
|
|
18208
|
-
const _c0$
|
|
18209
|
-
const _c1$
|
|
18211
|
+
const _c0$T = a0 => ({ "form-group-error": a0 });
|
|
18212
|
+
const _c1$m = a0 => ({ "govuk-input--error": a0 });
|
|
18210
18213
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18211
18214
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18212
18215
|
i0.ɵɵtext(1);
|
|
@@ -18251,7 +18254,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18251
18254
|
i0.ɵɵelement(5, "input", 5);
|
|
18252
18255
|
i0.ɵɵelementEnd();
|
|
18253
18256
|
} if (rf & 2) {
|
|
18254
|
-
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)));
|
|
18255
18258
|
i0.ɵɵadvance();
|
|
18256
18259
|
i0.ɵɵproperty("for", ctx.id());
|
|
18257
18260
|
i0.ɵɵadvance();
|
|
@@ -18261,7 +18264,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18261
18264
|
i0.ɵɵadvance();
|
|
18262
18265
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
18263
18266
|
i0.ɵɵadvance();
|
|
18264
|
-
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);
|
|
18265
18268
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
18266
18269
|
}
|
|
18267
18270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -18293,7 +18296,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18293
18296
|
}], null, null); })();
|
|
18294
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 }); })();
|
|
18295
18298
|
|
|
18296
|
-
const _c0$
|
|
18299
|
+
const _c0$S = a0 => ({ "form-group-error": a0 });
|
|
18297
18300
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18298
18301
|
i0.ɵɵelementStart(0, "span", 8);
|
|
18299
18302
|
i0.ɵɵtext(1);
|
|
@@ -18368,7 +18371,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18368
18371
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
18369
18372
|
i0.ɵɵelementEnd()();
|
|
18370
18373
|
} if (rf & 2) {
|
|
18371
|
-
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)));
|
|
18372
18375
|
i0.ɵɵadvance();
|
|
18373
18376
|
i0.ɵɵproperty("for", ctx.id());
|
|
18374
18377
|
i0.ɵɵadvance();
|
|
@@ -18431,8 +18434,8 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18431
18434
|
}], null, null); })();
|
|
18432
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 }); })();
|
|
18433
18436
|
|
|
18434
|
-
const _c0$
|
|
18435
|
-
const _c1$
|
|
18437
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
18438
|
+
const _c1$l = a0 => ({ selected: a0 });
|
|
18436
18439
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18437
18440
|
i0.ɵɵelementStart(0, "span", 6);
|
|
18438
18441
|
i0.ɵɵtext(1);
|
|
@@ -18473,7 +18476,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
18473
18476
|
} if (rf & 2) {
|
|
18474
18477
|
const radioButton_r2 = ctx.$implicit;
|
|
18475
18478
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18476
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
18479
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$l, ctx_r0.fixedRadioListControl.value === radioButton_r2.code));
|
|
18477
18480
|
i0.ɵɵadvance();
|
|
18478
18481
|
i0.ɵɵproperty("id", ctx_r0.id() + "-" + radioButton_r2.code)("name", ctx_r0.id())("formControl", ctx_r0.fixedRadioListControl)("value", radioButton_r2.code);
|
|
18479
18482
|
i0.ɵɵadvance();
|
|
@@ -18499,7 +18502,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18499
18502
|
i0.ɵɵelementContainerEnd();
|
|
18500
18503
|
i0.ɵɵelementEnd()();
|
|
18501
18504
|
} if (rf & 2) {
|
|
18502
|
-
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());
|
|
18503
18506
|
i0.ɵɵadvance(3);
|
|
18504
18507
|
i0.ɵɵproperty("for", ctx.id());
|
|
18505
18508
|
i0.ɵɵadvance();
|
|
@@ -18575,8 +18578,8 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18575
18578
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
18576
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 }); })();
|
|
18577
18580
|
|
|
18578
|
-
const _c0$
|
|
18579
|
-
const _c1$
|
|
18581
|
+
const _c0$Q = a0 => ({ "form-group-error": a0 });
|
|
18582
|
+
const _c1$k = a0 => ({ "hide-autocomplete": a0 });
|
|
18580
18583
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18581
18584
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18582
18585
|
i0.ɵɵtext(1);
|
|
@@ -18615,7 +18618,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
|
|
|
18615
18618
|
} if (rf & 2) {
|
|
18616
18619
|
const judicialUser_r4 = ctx.$implicit;
|
|
18617
18620
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18618
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18621
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$k, !ctx_r1.showAutocomplete))("value", judicialUser_r4);
|
|
18619
18622
|
i0.ɵɵadvance();
|
|
18620
18623
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r4 == null ? null : judicialUser_r4.fullName) ? judicialUser_r4.fullName : "", "", (judicialUser_r4 == null ? null : judicialUser_r4.emailId) ? " (" + judicialUser_r4.emailId + ")" : "", " ");
|
|
18621
18624
|
} }
|
|
@@ -18795,7 +18798,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18795
18798
|
i0.ɵɵelementEnd()();
|
|
18796
18799
|
} if (rf & 2) {
|
|
18797
18800
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
18798
|
-
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));
|
|
18799
18802
|
i0.ɵɵadvance();
|
|
18800
18803
|
i0.ɵɵproperty("for", ctx.id());
|
|
18801
18804
|
i0.ɵɵadvance();
|
|
@@ -18874,8 +18877,8 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18874
18877
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18875
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 }); })();
|
|
18876
18879
|
|
|
18877
|
-
const _c0$
|
|
18878
|
-
const _c1$
|
|
18880
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
18881
|
+
const _c1$j = a0 => ({ "hide-autocomplete": a0 });
|
|
18879
18882
|
function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18880
18883
|
i0.ɵɵelementStart(0, "span", 10);
|
|
18881
18884
|
i0.ɵɵtext(1);
|
|
@@ -18912,7 +18915,7 @@ function WriteStaffUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf &
|
|
|
18912
18915
|
} if (rf & 2) {
|
|
18913
18916
|
const staffUser_r4 = ctx.$implicit;
|
|
18914
18917
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18915
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
18918
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r1.showAutocomplete))("value", staffUser_r4);
|
|
18916
18919
|
i0.ɵɵadvance();
|
|
18917
18920
|
i0.ɵɵtextInterpolate2(" ", (staffUser_r4 == null ? null : staffUser_r4.displayName) ? staffUser_r4.displayName : "", "", (staffUser_r4 == null ? null : staffUser_r4.emailId) ? " (" + staffUser_r4.emailId + ")" : "", " ");
|
|
18918
18921
|
} }
|
|
@@ -19113,7 +19116,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
19113
19116
|
i0.ɵɵelementEnd()();
|
|
19114
19117
|
} if (rf & 2) {
|
|
19115
19118
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
19116
|
-
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));
|
|
19117
19120
|
i0.ɵɵadvance();
|
|
19118
19121
|
i0.ɵɵproperty("for", ctx.id());
|
|
19119
19122
|
i0.ɵɵadvance();
|
|
@@ -19578,8 +19581,8 @@ class ValidatorsUtils {
|
|
|
19578
19581
|
args: [{ providedIn: 'root' }]
|
|
19579
19582
|
}], null, null); })();
|
|
19580
19583
|
|
|
19581
|
-
const _c0$
|
|
19582
|
-
const _c1$
|
|
19584
|
+
const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
|
|
19585
|
+
const _c1$i = a0 => ({ "table-group-error": a0 });
|
|
19583
19586
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19584
19587
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
19585
19588
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -19645,7 +19648,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
19645
19648
|
i0.ɵɵelementEnd()();
|
|
19646
19649
|
} if (rf & 2) {
|
|
19647
19650
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19648
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
19651
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
|
|
19649
19652
|
i0.ɵɵadvance(3);
|
|
19650
19653
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
19651
19654
|
} }
|
|
@@ -19689,11 +19692,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19689
19692
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19690
19693
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
19691
19694
|
i0.ɵɵadvance();
|
|
19692
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19695
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
|
|
19693
19696
|
i0.ɵɵadvance(3);
|
|
19694
19697
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
19695
19698
|
i0.ɵɵadvance(2);
|
|
19696
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
19699
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
|
|
19697
19700
|
i0.ɵɵadvance(5);
|
|
19698
19701
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
19699
19702
|
i0.ɵɵadvance(2);
|
|
@@ -19755,7 +19758,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) { if (rf & 1) {
|
|
|
19755
19758
|
const case_r9 = ctx.$implicit;
|
|
19756
19759
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19757
19760
|
i0.ɵɵadvance(2);
|
|
19758
|
-
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));
|
|
19759
19762
|
i0.ɵɵadvance(2);
|
|
19760
19763
|
i0.ɵɵtextInterpolate1("", case_r9.caseName, " ");
|
|
19761
19764
|
i0.ɵɵadvance(2);
|
|
@@ -20121,7 +20124,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
20121
20124
|
i0.ɵɵadvance(4);
|
|
20122
20125
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
20123
20126
|
i0.ɵɵadvance(4);
|
|
20124
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
20127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
|
|
20125
20128
|
i0.ɵɵadvance();
|
|
20126
20129
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
20127
20130
|
i0.ɵɵadvance(18);
|
|
@@ -20714,7 +20717,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20714
20717
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20715
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 }); })();
|
|
20716
20719
|
|
|
20717
|
-
const _c0$
|
|
20720
|
+
const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
|
|
20718
20721
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
20719
20722
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
20720
20723
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -20752,7 +20755,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20752
20755
|
i0.ɵɵelementEnd()();
|
|
20753
20756
|
} if (rf & 2) {
|
|
20754
20757
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20755
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
20758
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
20756
20759
|
i0.ɵɵadvance();
|
|
20757
20760
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
20758
20761
|
i0.ɵɵadvance(2);
|
|
@@ -21689,7 +21692,7 @@ class MoneyGbpInputComponent {
|
|
|
21689
21692
|
}] }); })();
|
|
21690
21693
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
|
|
21691
21694
|
|
|
21692
|
-
const _c0$
|
|
21695
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
21693
21696
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21694
21697
|
i0.ɵɵelementStart(0, "span", 8);
|
|
21695
21698
|
i0.ɵɵtext(1);
|
|
@@ -21738,7 +21741,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21738
21741
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
21739
21742
|
i0.ɵɵelementEnd()();
|
|
21740
21743
|
} if (rf & 2) {
|
|
21741
|
-
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)));
|
|
21742
21745
|
i0.ɵɵadvance();
|
|
21743
21746
|
i0.ɵɵproperty("for", ctx.id());
|
|
21744
21747
|
i0.ɵɵadvance();
|
|
@@ -21797,7 +21800,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
21797
21800
|
}], null, null); })();
|
|
21798
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 }); })();
|
|
21799
21802
|
|
|
21800
|
-
const _c0$
|
|
21803
|
+
const _c0$L = a0 => ({ "error": a0 });
|
|
21801
21804
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21802
21805
|
i0.ɵɵelementStart(0, "span", 5);
|
|
21803
21806
|
i0.ɵɵtext(1);
|
|
@@ -21898,7 +21901,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21898
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);
|
|
21899
21902
|
i0.ɵɵelementEnd()();
|
|
21900
21903
|
} if (rf & 2) {
|
|
21901
|
-
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());
|
|
21902
21905
|
i0.ɵɵadvance(3);
|
|
21903
21906
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
21904
21907
|
i0.ɵɵadvance();
|
|
@@ -21937,8 +21940,8 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
21937
21940
|
}], null, null); })();
|
|
21938
21941
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
|
|
21939
21942
|
|
|
21940
|
-
const _c0$
|
|
21941
|
-
const _c1$
|
|
21943
|
+
const _c0$K = a0 => ({ "form-group-error": a0 });
|
|
21944
|
+
const _c1$h = a0 => ({ "govuk-input--error": a0 });
|
|
21942
21945
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21943
21946
|
i0.ɵɵelementStart(0, "span", 6);
|
|
21944
21947
|
i0.ɵɵtext(1);
|
|
@@ -21983,7 +21986,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21983
21986
|
i0.ɵɵelement(5, "input", 5);
|
|
21984
21987
|
i0.ɵɵelementEnd();
|
|
21985
21988
|
} if (rf & 2) {
|
|
21986
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
21989
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
21987
21990
|
i0.ɵɵadvance();
|
|
21988
21991
|
i0.ɵɵproperty("for", ctx.id());
|
|
21989
21992
|
i0.ɵɵadvance();
|
|
@@ -21993,7 +21996,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21993
21996
|
i0.ɵɵadvance();
|
|
21994
21997
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
21995
21998
|
i0.ɵɵadvance();
|
|
21996
|
-
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);
|
|
21997
22000
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.PatternValidator, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
21998
22001
|
}
|
|
21999
22002
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -22162,7 +22165,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
22162
22165
|
}] }); })();
|
|
22163
22166
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
|
|
22164
22167
|
|
|
22165
|
-
const _c0$
|
|
22168
|
+
const _c0$J = a0 => ({ "scroll-container ": a0 });
|
|
22166
22169
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
22167
22170
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
22168
22171
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -22241,7 +22244,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
22241
22244
|
let tmp_3_0;
|
|
22242
22245
|
let tmp_5_0;
|
|
22243
22246
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
22244
|
-
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));
|
|
22245
22248
|
i0.ɵɵadvance(2);
|
|
22246
22249
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
22247
22250
|
i0.ɵɵadvance(2);
|
|
@@ -22637,8 +22640,8 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
22637
22640
|
}], null, null); })();
|
|
22638
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 }); })();
|
|
22639
22642
|
|
|
22640
|
-
const _c0$
|
|
22641
|
-
const _c1$
|
|
22643
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
22644
|
+
const _c1$g = a0 => ({ "govuk-input--error": a0 });
|
|
22642
22645
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22643
22646
|
i0.ɵɵelementStart(0, "span", 6);
|
|
22644
22647
|
i0.ɵɵtext(1);
|
|
@@ -22683,7 +22686,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22683
22686
|
i0.ɵɵelement(5, "input", 5);
|
|
22684
22687
|
i0.ɵɵelementEnd();
|
|
22685
22688
|
} if (rf & 2) {
|
|
22686
|
-
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)));
|
|
22687
22690
|
i0.ɵɵadvance();
|
|
22688
22691
|
i0.ɵɵproperty("for", ctx.id());
|
|
22689
22692
|
i0.ɵɵadvance();
|
|
@@ -22693,7 +22696,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22693
22696
|
i0.ɵɵadvance();
|
|
22694
22697
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
22695
22698
|
i0.ɵɵadvance();
|
|
22696
|
-
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);
|
|
22697
22700
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22698
22701
|
}
|
|
22699
22702
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -25163,7 +25166,7 @@ class QueryWriteDateInputComponent {
|
|
|
25163
25166
|
}] }); })();
|
|
25164
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 }); })();
|
|
25165
25168
|
|
|
25166
|
-
const _c0$
|
|
25169
|
+
const _c0$H = a0 => ({ "govuk-form-group--error": a0 });
|
|
25167
25170
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
25168
25171
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
25169
25172
|
} if (rf & 2) {
|
|
@@ -25243,7 +25246,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
25243
25246
|
} if (rf & 2) {
|
|
25244
25247
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
25245
25248
|
i0.ɵɵadvance();
|
|
25246
|
-
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));
|
|
25247
25250
|
i0.ɵɵadvance(4);
|
|
25248
25251
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
25249
25252
|
i0.ɵɵadvance(2);
|
|
@@ -25310,7 +25313,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25310
25313
|
i0.ɵɵadvance(8);
|
|
25311
25314
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
25312
25315
|
i0.ɵɵadvance(2);
|
|
25313
|
-
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")));
|
|
25314
25317
|
i0.ɵɵadvance(3);
|
|
25315
25318
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
25316
25319
|
i0.ɵɵadvance(3);
|
|
@@ -25318,7 +25321,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25318
25321
|
i0.ɵɵadvance(2);
|
|
25319
25322
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25320
25323
|
i0.ɵɵadvance(2);
|
|
25321
|
-
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")));
|
|
25322
25325
|
i0.ɵɵadvance(3);
|
|
25323
25326
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
25324
25327
|
i0.ɵɵadvance(3);
|
|
@@ -25329,7 +25332,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25329
25332
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25330
25333
|
i0.ɵɵproperty("formControlName", "body");
|
|
25331
25334
|
i0.ɵɵadvance(2);
|
|
25332
|
-
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")));
|
|
25333
25336
|
i0.ɵɵadvance(4);
|
|
25334
25337
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
25335
25338
|
i0.ɵɵadvance(2);
|
|
@@ -25953,7 +25956,7 @@ class CloseQueryComponent {
|
|
|
25953
25956
|
}] }); })();
|
|
25954
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 }); })();
|
|
25955
25958
|
|
|
25956
|
-
const _c0$
|
|
25959
|
+
const _c0$G = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
25957
25960
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
25958
25961
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
25959
25962
|
i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
|
|
@@ -25992,7 +25995,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
25992
25995
|
} if (rf & 2) {
|
|
25993
25996
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
25994
25997
|
i0.ɵɵadvance();
|
|
25995
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
25998
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
25996
25999
|
i0.ɵɵadvance();
|
|
25997
26000
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
25998
26001
|
} }
|
|
@@ -26006,7 +26009,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
26006
26009
|
} if (rf & 2) {
|
|
26007
26010
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
26008
26011
|
i0.ɵɵadvance();
|
|
26009
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26012
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$G, ctx_r1.caseId, ctx_r1.query.id));
|
|
26010
26013
|
i0.ɵɵadvance();
|
|
26011
26014
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26012
26015
|
} }
|
|
@@ -26419,8 +26422,8 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
26419
26422
|
}], () => [{ type: i1$5.DomSanitizer }], null); })();
|
|
26420
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 }); })();
|
|
26421
26424
|
|
|
26422
|
-
const _c0$
|
|
26423
|
-
const _c1$
|
|
26425
|
+
const _c0$F = ["editorHost"];
|
|
26426
|
+
const _c1$f = a0 => ({ "form-group-error": a0 });
|
|
26424
26427
|
const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
|
|
26425
26428
|
const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
|
|
26426
26429
|
function WriteRichTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29010,7 +29013,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29010
29013
|
}
|
|
29011
29014
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
29012
29015
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29013
|
-
i0.ɵɵviewQuery(_c0$
|
|
29016
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
29014
29017
|
} if (rf & 2) {
|
|
29015
29018
|
let _t;
|
|
29016
29019
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29125,7 +29128,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29125
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()); });
|
|
29126
29129
|
i0.ɵɵelementEnd()()()();
|
|
29127
29130
|
} if (rf & 2) {
|
|
29128
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$
|
|
29131
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$f, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
|
|
29129
29132
|
i0.ɵɵadvance();
|
|
29130
29133
|
i0.ɵɵproperty("id", ctx.labelId());
|
|
29131
29134
|
i0.ɵɵadvance();
|
|
@@ -29203,8 +29206,8 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29203
29206
|
}], null, null); })();
|
|
29204
29207
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29205
29208
|
|
|
29206
|
-
const _c0$
|
|
29207
|
-
const _c1$
|
|
29209
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
29210
|
+
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
29208
29211
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29209
29212
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29210
29213
|
i0.ɵɵtext(1);
|
|
@@ -29261,7 +29264,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29261
29264
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29262
29265
|
i0.ɵɵelementEnd()();
|
|
29263
29266
|
} if (rf & 2) {
|
|
29264
|
-
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)));
|
|
29265
29268
|
i0.ɵɵadvance();
|
|
29266
29269
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29267
29270
|
i0.ɵɵadvance();
|
|
@@ -29269,7 +29272,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29269
29272
|
i0.ɵɵadvance();
|
|
29270
29273
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
29271
29274
|
i0.ɵɵadvance();
|
|
29272
|
-
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);
|
|
29273
29276
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29274
29277
|
}
|
|
29275
29278
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -29299,8 +29302,8 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29299
29302
|
}], null, null); })();
|
|
29300
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 }); })();
|
|
29301
29304
|
|
|
29302
|
-
const _c0$
|
|
29303
|
-
const _c1$
|
|
29305
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29306
|
+
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
29304
29307
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29305
29308
|
i0.ɵɵelementStart(0, "span", 6);
|
|
29306
29309
|
i0.ɵɵtext(1);
|
|
@@ -29358,7 +29361,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29358
29361
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29359
29362
|
i0.ɵɵelementEnd()();
|
|
29360
29363
|
} if (rf & 2) {
|
|
29361
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29362
29365
|
i0.ɵɵadvance();
|
|
29363
29366
|
i0.ɵɵproperty("for", ctx.id());
|
|
29364
29367
|
i0.ɵɵadvance();
|
|
@@ -29368,7 +29371,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29368
29371
|
i0.ɵɵadvance();
|
|
29369
29372
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
29370
29373
|
i0.ɵɵadvance();
|
|
29371
|
-
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);
|
|
29372
29375
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29373
29376
|
}
|
|
29374
29377
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
@@ -29501,8 +29504,8 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
29501
29504
|
}], () => [{ type: YesNoService }], null); })();
|
|
29502
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 }); })();
|
|
29503
29506
|
|
|
29504
|
-
const _c0$
|
|
29505
|
-
const _c1$
|
|
29507
|
+
const _c0$C = a0 => ({ "form-group-error": a0 });
|
|
29508
|
+
const _c1$c = a0 => ({ selected: a0 });
|
|
29506
29509
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
29507
29510
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29508
29511
|
i0.ɵɵtext(1);
|
|
@@ -29543,7 +29546,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
29543
29546
|
} if (rf & 2) {
|
|
29544
29547
|
const value_r2 = ctx.$implicit;
|
|
29545
29548
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
29546
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
29549
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$c, ctx_r0.yesNoControl.value === value_r2));
|
|
29547
29550
|
i0.ɵɵadvance();
|
|
29548
29551
|
i0.ɵɵproperty("id", ctx_r0.createElementId(value_r2))("name", ctx_r0.id())("formControl", ctx_r0.yesNoControl)("value", value_r2);
|
|
29549
29552
|
i0.ɵɵattribute("name", ctx_r0.id());
|
|
@@ -29573,7 +29576,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29573
29576
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
29574
29577
|
i0.ɵɵelementEnd()()();
|
|
29575
29578
|
} if (rf & 2) {
|
|
29576
|
-
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)));
|
|
29577
29580
|
i0.ɵɵadvance(3);
|
|
29578
29581
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
29579
29582
|
i0.ɵɵadvance();
|
|
@@ -29694,7 +29697,7 @@ class PaletteService {
|
|
|
29694
29697
|
type: Injectable
|
|
29695
29698
|
}], null, null); })();
|
|
29696
29699
|
|
|
29697
|
-
const _c0$
|
|
29700
|
+
const _c0$B = ["fieldContainer"];
|
|
29698
29701
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29699
29702
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
29700
29703
|
resolver;
|
|
@@ -29743,7 +29746,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29743
29746
|
}
|
|
29744
29747
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29745
29748
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29746
|
-
i0.ɵɵviewQuery(_c0$
|
|
29749
|
+
i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
|
|
29747
29750
|
} if (rf & 2) {
|
|
29748
29751
|
let _t;
|
|
29749
29752
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29772,7 +29775,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29772
29775
|
}] }); })();
|
|
29773
29776
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
29774
29777
|
|
|
29775
|
-
const _c0$
|
|
29778
|
+
const _c0$A = ["fieldContainer"];
|
|
29776
29779
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29777
29780
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
29778
29781
|
resolver;
|
|
@@ -29832,7 +29835,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29832
29835
|
}
|
|
29833
29836
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29834
29837
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29835
|
-
i0.ɵɵviewQuery(_c0$
|
|
29838
|
+
i0.ɵɵviewQuery(_c0$A, 7, ViewContainerRef);
|
|
29836
29839
|
} if (rf & 2) {
|
|
29837
29840
|
let _t;
|
|
29838
29841
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29856,7 +29859,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29856
29859
|
}] }); })();
|
|
29857
29860
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
|
|
29858
29861
|
|
|
29859
|
-
const _c0$
|
|
29862
|
+
const _c0$z = ["*"];
|
|
29860
29863
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
29861
29864
|
i0.ɵɵelementContainer(0);
|
|
29862
29865
|
} }
|
|
@@ -29910,7 +29913,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29910
29913
|
}
|
|
29911
29914
|
}
|
|
29912
29915
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
29913
|
-
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) {
|
|
29914
29917
|
i0.ɵɵprojectionDef();
|
|
29915
29918
|
i0.ɵɵelementStart(0, "div", 1);
|
|
29916
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);
|
|
@@ -29931,8 +29934,8 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29931
29934
|
}] }); })();
|
|
29932
29935
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
|
|
29933
29936
|
|
|
29934
|
-
const _c0$
|
|
29935
|
-
const _c1$
|
|
29937
|
+
const _c0$y = a0 => ({ cat: a0, level: 1 });
|
|
29938
|
+
const _c1$b = (a0, a1) => ({ cat: a0, level: a1 });
|
|
29936
29939
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29937
29940
|
i0.ɵɵelementContainer(0);
|
|
29938
29941
|
} }
|
|
@@ -29945,7 +29948,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
29945
29948
|
i0.ɵɵnextContext();
|
|
29946
29949
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29947
29950
|
i0.ɵɵadvance();
|
|
29948
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
29951
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$y, cat_r2));
|
|
29949
29952
|
} }
|
|
29950
29953
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29951
29954
|
i0.ɵɵelementContainer(0);
|
|
@@ -29960,7 +29963,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
29960
29963
|
i0.ɵɵnextContext();
|
|
29961
29964
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29962
29965
|
i0.ɵɵadvance();
|
|
29963
|
-
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));
|
|
29964
29967
|
} }
|
|
29965
29968
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
29966
29969
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -30083,8 +30086,8 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
30083
30086
|
}] }], null); })();
|
|
30084
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 }); })();
|
|
30085
30088
|
|
|
30086
|
-
const _c0$
|
|
30087
|
-
const _c1$
|
|
30089
|
+
const _c0$x = [[["", "trigger", ""]]];
|
|
30090
|
+
const _c1$a = ["[trigger]"];
|
|
30088
30091
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30089
30092
|
i0.ɵɵelementContainerStart(0);
|
|
30090
30093
|
i0.ɵɵelementStart(1, "div", 6);
|
|
@@ -30154,9 +30157,9 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
30154
30157
|
}
|
|
30155
30158
|
}
|
|
30156
30159
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
30157
|
-
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) {
|
|
30158
30161
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
30159
|
-
i0.ɵɵprojectionDef(_c0$
|
|
30162
|
+
i0.ɵɵprojectionDef(_c0$x);
|
|
30160
30163
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
30161
30164
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
30162
30165
|
i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
|
|
@@ -30853,7 +30856,7 @@ class CaseFileViewFolderComponent {
|
|
|
30853
30856
|
}] }); })();
|
|
30854
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 }); })();
|
|
30855
30858
|
|
|
30856
|
-
const _c0$
|
|
30859
|
+
const _c0$w = a0 => ({ "form-group-error": a0 });
|
|
30857
30860
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
30858
30861
|
i0.ɵɵelementStart(0, "span");
|
|
30859
30862
|
i0.ɵɵtext(1);
|
|
@@ -31007,7 +31010,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
31007
31010
|
} if (rf & 2) {
|
|
31008
31011
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31009
31012
|
i0.ɵɵadvance(2);
|
|
31010
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
31013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$w, ctx.errorMessages.length > 0));
|
|
31011
31014
|
i0.ɵɵadvance(2);
|
|
31012
31015
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
31013
31016
|
i0.ɵɵadvance();
|
|
@@ -31338,7 +31341,7 @@ class CaseFlagSummaryListComponent {
|
|
|
31338
31341
|
}] }); })();
|
|
31339
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 }); })();
|
|
31340
31343
|
|
|
31341
|
-
const _c0$
|
|
31344
|
+
const _c0$v = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
31342
31345
|
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
31343
31346
|
i0.ɵɵelementStart(0, "caption", 13);
|
|
31344
31347
|
i0.ɵɵtext(1);
|
|
@@ -31467,7 +31470,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
|
|
|
31467
31470
|
i0.ɵɵadvance(3);
|
|
31468
31471
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
|
|
31469
31472
|
i0.ɵɵadvance(3);
|
|
31470
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$
|
|
31473
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$v, ctx_r0.isActivePvpFlag(flagDetail_r2)));
|
|
31471
31474
|
i0.ɵɵadvance();
|
|
31472
31475
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
|
|
31473
31476
|
i0.ɵɵadvance(2);
|
|
@@ -31576,7 +31579,7 @@ class CaseFlagTableComponent {
|
|
|
31576
31579
|
}] }); })();
|
|
31577
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 }); })();
|
|
31578
31581
|
|
|
31579
|
-
const _c0$
|
|
31582
|
+
const _c0$u = a0 => ({ "form-group-error": a0 });
|
|
31580
31583
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
31581
31584
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
31582
31585
|
i0.ɵɵtext(2);
|
|
@@ -31894,7 +31897,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
31894
31897
|
} if (rf & 2) {
|
|
31895
31898
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31896
31899
|
i0.ɵɵadvance();
|
|
31897
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
31900
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$u, ctx.errorMessages.length > 0));
|
|
31898
31901
|
i0.ɵɵadvance(4);
|
|
31899
31902
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
31900
31903
|
i0.ɵɵadvance(2);
|
|
@@ -31980,7 +31983,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
31980
31983
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
31981
31984
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
31982
31985
|
|
|
31983
|
-
const _c0$
|
|
31986
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
31984
31987
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
31985
31988
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
31986
31989
|
i0.ɵɵtext(2);
|
|
@@ -32072,7 +32075,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
32072
32075
|
} if (rf & 2) {
|
|
32073
32076
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32074
32077
|
i0.ɵɵadvance();
|
|
32075
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32078
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$t, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
32076
32079
|
i0.ɵɵadvance(2);
|
|
32077
32080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
32078
32081
|
i0.ɵɵadvance(2);
|
|
@@ -32246,7 +32249,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32246
32249
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
32247
32250
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32248
32251
|
i0.ɵɵadvance();
|
|
32249
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
32252
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$t, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
32250
32253
|
i0.ɵɵadvance(2);
|
|
32251
32254
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
32252
32255
|
i0.ɵɵadvance();
|
|
@@ -32283,7 +32286,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32283
32286
|
}] }); })();
|
|
32284
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 }); })();
|
|
32285
32288
|
|
|
32286
|
-
const _c0$
|
|
32289
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
32287
32290
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32288
32291
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
32289
32292
|
i0.ɵɵtext(2);
|
|
@@ -32458,7 +32461,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32458
32461
|
} if (rf & 2) {
|
|
32459
32462
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32460
32463
|
i0.ɵɵadvance();
|
|
32461
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32464
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
32462
32465
|
i0.ɵɵadvance(4);
|
|
32463
32466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
32464
32467
|
i0.ɵɵadvance(2);
|
|
@@ -32481,8 +32484,8 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32481
32484
|
}] }); })();
|
|
32482
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 }); })();
|
|
32483
32486
|
|
|
32484
|
-
const _c0$
|
|
32485
|
-
const _c1$
|
|
32487
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
32488
|
+
const _c1$9 = a0 => ({ "govuk-input--error": a0 });
|
|
32486
32489
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32487
32490
|
i0.ɵɵelementContainerStart(0);
|
|
32488
32491
|
i0.ɵɵtext(1);
|
|
@@ -32576,13 +32579,13 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
32576
32579
|
} if (rf & 2) {
|
|
32577
32580
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
32578
32581
|
i0.ɵɵadvance();
|
|
32579
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
32582
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$r, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
32580
32583
|
i0.ɵɵadvance(2);
|
|
32581
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), " ");
|
|
32582
32585
|
i0.ɵɵadvance(3);
|
|
32583
32586
|
i0.ɵɵproperty("ngIf", ctx_r0.flagTypeErrorMessage.length > 0);
|
|
32584
32587
|
i0.ɵɵadvance();
|
|
32585
|
-
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);
|
|
32586
32589
|
i0.ɵɵadvance();
|
|
32587
32590
|
i0.ɵɵproperty("ngIf", !ctx_r0.isDisplayContextParameterExternal && !ctx_r0.isCaseLevelFlag && ctx_r0.isDisplayContextParameter2Point1Enabled);
|
|
32588
32591
|
} }
|
|
@@ -32601,7 +32604,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
32601
32604
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32602
32605
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
32603
32606
|
i0.ɵɵadvance();
|
|
32604
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32607
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
32605
32608
|
i0.ɵɵadvance(4);
|
|
32606
32609
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
32607
32610
|
i0.ɵɵadvance(3);
|
|
@@ -32928,8 +32931,8 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
32928
32931
|
}] }); })();
|
|
32929
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 }); })();
|
|
32930
32933
|
|
|
32931
|
-
const _c0$
|
|
32932
|
-
const _c1$
|
|
32934
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
32935
|
+
const _c1$8 = a0 => ({ "govuk-tag--grey": a0 });
|
|
32933
32936
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32934
32937
|
i0.ɵɵelementStart(0, "div", 15);
|
|
32935
32938
|
i0.ɵɵtext(1);
|
|
@@ -33189,7 +33192,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
33189
33192
|
i0.ɵɵadvance(3);
|
|
33190
33193
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 4, "Flag status:"), " ");
|
|
33191
33194
|
i0.ɵɵadvance(3);
|
|
33192
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
33195
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$8, ctx_r0.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
33193
33196
|
i0.ɵɵadvance();
|
|
33194
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), " ");
|
|
33195
33198
|
i0.ɵɵadvance(3);
|
|
@@ -33414,7 +33417,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33414
33417
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
33415
33418
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33416
33419
|
i0.ɵɵadvance(2);
|
|
33417
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
33420
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$q, ctx.errorMessages.length > 0));
|
|
33418
33421
|
i0.ɵɵadvance(3);
|
|
33419
33422
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
33420
33423
|
i0.ɵɵadvance(2);
|
|
@@ -33447,7 +33450,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33447
33450
|
}] }); })();
|
|
33448
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 }); })();
|
|
33449
33452
|
|
|
33450
|
-
const _c0$
|
|
33453
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
33451
33454
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
33452
33455
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
33453
33456
|
i0.ɵɵtext(2);
|
|
@@ -33655,7 +33658,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33655
33658
|
} if (rf & 2) {
|
|
33656
33659
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33657
33660
|
i0.ɵɵadvance(2);
|
|
33658
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
33661
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$p, ctx.errorMessages.length > 0));
|
|
33659
33662
|
i0.ɵɵadvance(3);
|
|
33660
33663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
33661
33664
|
i0.ɵɵadvance(3);
|
|
@@ -33712,7 +33715,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33712
33715
|
}] }); })();
|
|
33713
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 }); })();
|
|
33714
33717
|
|
|
33715
|
-
const _c0$
|
|
33718
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
33716
33719
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
33717
33720
|
i0.ɵɵelementStart(0, "div", 13);
|
|
33718
33721
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -33846,7 +33849,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
33846
33849
|
} if (rf & 2) {
|
|
33847
33850
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33848
33851
|
i0.ɵɵadvance(2);
|
|
33849
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
33852
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$o, ctx.errorMessages.length > 0));
|
|
33850
33853
|
i0.ɵɵadvance(4);
|
|
33851
33854
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
33852
33855
|
i0.ɵɵadvance(3);
|
|
@@ -34130,7 +34133,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
34130
34133
|
}]
|
|
34131
34134
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
34132
34135
|
|
|
34133
|
-
const _c0$
|
|
34136
|
+
const _c0$n = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
34134
34137
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
34135
34138
|
i0.ɵɵelementContainerStart(0)(1, 2);
|
|
34136
34139
|
i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
|
|
@@ -34169,7 +34172,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34169
34172
|
i0.ɵɵelementEnd();
|
|
34170
34173
|
} if (rf & 2) {
|
|
34171
34174
|
i0.ɵɵadvance();
|
|
34172
|
-
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())));
|
|
34173
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}"] });
|
|
34174
34177
|
}
|
|
34175
34178
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -34180,7 +34183,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34180
34183
|
}] }); })();
|
|
34181
34184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
|
|
34182
34185
|
|
|
34183
|
-
const _c0$
|
|
34186
|
+
const _c0$m = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
34184
34187
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34185
34188
|
i0.ɵɵelementContainerStart(0);
|
|
34186
34189
|
i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
|
|
@@ -34261,7 +34264,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
34261
34264
|
i0.ɵɵadvance(4);
|
|
34262
34265
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
34263
34266
|
i0.ɵɵadvance(5);
|
|
34264
|
-
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)));
|
|
34265
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}"] });
|
|
34266
34269
|
}
|
|
34267
34270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -34648,7 +34651,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
34648
34651
|
}], null, null); })();
|
|
34649
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 }); })();
|
|
34650
34653
|
|
|
34651
|
-
const _c0$
|
|
34654
|
+
const _c0$l = a0 => ({ "form-group-error": a0 });
|
|
34652
34655
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34653
34656
|
i0.ɵɵelementStart(0, "span", 5);
|
|
34654
34657
|
i0.ɵɵtext(1);
|
|
@@ -34700,7 +34703,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
34700
34703
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
34701
34704
|
i0.ɵɵelementEnd()();
|
|
34702
34705
|
} if (rf & 2) {
|
|
34703
|
-
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)));
|
|
34704
34707
|
i0.ɵɵadvance(3);
|
|
34705
34708
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
34706
34709
|
i0.ɵɵadvance();
|
|
@@ -34729,8 +34732,8 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
34729
34732
|
},
|
|
34730
34733
|
};
|
|
34731
34734
|
|
|
34732
|
-
const _c0$
|
|
34733
|
-
const _c1$
|
|
34735
|
+
const _c0$k = ["picker"];
|
|
34736
|
+
const _c1$7 = ["input"];
|
|
34734
34737
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
34735
34738
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34736
34739
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -34947,8 +34950,8 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
34947
34950
|
}
|
|
34948
34951
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
34949
34952
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
34950
|
-
i0.ɵɵviewQuery(_c0$
|
|
34951
|
-
i0.ɵɵviewQuery(_c1$
|
|
34953
|
+
i0.ɵɵviewQuery(_c0$k, 5);
|
|
34954
|
+
i0.ɵɵviewQuery(_c1$7, 5);
|
|
34952
34955
|
} if (rf & 2) {
|
|
34953
34956
|
let _t;
|
|
34954
34957
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
|
|
@@ -35136,8 +35139,8 @@ class EventLogDetailsComponent {
|
|
|
35136
35139
|
}] }); })();
|
|
35137
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 }); })();
|
|
35138
35141
|
|
|
35139
|
-
const _c0$
|
|
35140
|
-
const _c1$
|
|
35142
|
+
const _c0$j = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35143
|
+
const _c1$6 = a0 => ["./", "event", a0, "history"];
|
|
35141
35144
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
35142
35145
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
35143
35146
|
i0.ɵɵelementStart(0, "a", 17);
|
|
@@ -35184,7 +35187,7 @@ function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) { if (rf & 1)
|
|
|
35184
35187
|
} if (rf & 2) {
|
|
35185
35188
|
const event_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
35186
35189
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35187
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$
|
|
35190
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$6, event_r2.id))("target", "_blank");
|
|
35188
35191
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforLink(event_r2, ctx_r2.isUserExternal));
|
|
35189
35192
|
i0.ɵɵadvance();
|
|
35190
35193
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, event_r2.event_name));
|
|
@@ -35266,7 +35269,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
35266
35269
|
} if (rf & 2) {
|
|
35267
35270
|
const event_r2 = ctx.$implicit;
|
|
35268
35271
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35269
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
35272
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$j, ctx_r2.selected === event_r2));
|
|
35270
35273
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
35271
35274
|
i0.ɵɵadvance(2);
|
|
35272
35275
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -35463,11 +35466,11 @@ class EventLogComponent {
|
|
|
35463
35466
|
}] }); })();
|
|
35464
35467
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 10 }); })();
|
|
35465
35468
|
|
|
35466
|
-
const _c0$
|
|
35469
|
+
const _c0$i = ["*"];
|
|
35467
35470
|
class RouterLinkComponent {
|
|
35468
35471
|
link;
|
|
35469
35472
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
35470
|
-
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) {
|
|
35471
35474
|
i0.ɵɵprojectionDef();
|
|
35472
35475
|
i0.ɵɵelementStart(0, "a", 0);
|
|
35473
35476
|
i0.ɵɵprojection(1);
|
|
@@ -36059,7 +36062,7 @@ class OrderSummary {
|
|
|
36059
36062
|
PaymentTotal;
|
|
36060
36063
|
}
|
|
36061
36064
|
|
|
36062
|
-
const _c0$
|
|
36065
|
+
const _c0$h = ["ccdReadOrderSummaryRow", ""];
|
|
36063
36066
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
36064
36067
|
feeValue;
|
|
36065
36068
|
ngOnInit() {
|
|
@@ -36072,7 +36075,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
36072
36075
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
36073
36076
|
}
|
|
36074
36077
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
36075
|
-
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) {
|
|
36076
36079
|
i0.ɵɵelementStart(0, "td");
|
|
36077
36080
|
i0.ɵɵtext(1);
|
|
36078
36081
|
i0.ɵɵelementEnd();
|
|
@@ -37168,8 +37171,8 @@ var CaseEditSubmitTitles;
|
|
|
37168
37171
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
37169
37172
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
37170
37173
|
|
|
37171
|
-
const _c0$
|
|
37172
|
-
const _c1$
|
|
37174
|
+
const _c0$g = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37175
|
+
const _c1$5 = a0 => ({ "form-group-error": a0 });
|
|
37173
37176
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
37174
37177
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
37175
37178
|
i0.ɵɵelement(0, "div");
|
|
@@ -37291,7 +37294,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
37291
37294
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
37292
37295
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
37293
37296
|
i0.ɵɵadvance();
|
|
37294
|
-
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))));
|
|
37295
37298
|
} }
|
|
37296
37299
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
37297
37300
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -37419,13 +37422,13 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
37419
37422
|
} if (rf & 2) {
|
|
37420
37423
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
37421
37424
|
i0.ɵɵadvance(3);
|
|
37422
|
-
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)));
|
|
37423
37426
|
i0.ɵɵadvance(5);
|
|
37424
37427
|
i0.ɵɵproperty("ngIf", (ctx_r1.summary == null ? null : ctx_r1.summary.errors) && (ctx_r1.summary.dirty || ctx_r1.summary.touched));
|
|
37425
37428
|
i0.ɵɵadvance();
|
|
37426
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)));
|
|
37427
37430
|
i0.ɵɵadvance();
|
|
37428
|
-
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)));
|
|
37429
37432
|
i0.ɵɵadvance(3);
|
|
37430
37433
|
i0.ɵɵproperty("ngIf", (ctx_r1.description == null ? null : ctx_r1.description.errors) && (ctx_r1.description.dirty || ctx_r1.description.touched));
|
|
37431
37434
|
i0.ɵɵadvance();
|
|
@@ -38551,7 +38554,7 @@ class PaginationComponent {
|
|
|
38551
38554
|
}] }); })();
|
|
38552
38555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 13 }); })();
|
|
38553
38556
|
|
|
38554
|
-
const _c0$
|
|
38557
|
+
const _c0$f = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
38555
38558
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
38556
38559
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
38557
38560
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -38858,7 +38861,7 @@ class CaseListComponent {
|
|
|
38858
38861
|
i0.ɵɵadvance();
|
|
38859
38862
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
38860
38863
|
i0.ɵɵadvance(2);
|
|
38861
|
-
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)));
|
|
38862
38865
|
i0.ɵɵadvance(2);
|
|
38863
38866
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
38864
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 });
|
|
@@ -38976,8 +38979,237 @@ class CaseListModule {
|
|
|
38976
38979
|
NgxPaginationModule,
|
|
38977
38980
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
38978
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
|
+
togglePanel(event) {
|
|
39034
|
+
event?.stopPropagation();
|
|
39035
|
+
if (this.disabled) {
|
|
39036
|
+
return;
|
|
39037
|
+
}
|
|
39038
|
+
this.isOpen = !this.isOpen;
|
|
39039
|
+
}
|
|
39040
|
+
closePanel(returnFocus = false) {
|
|
39041
|
+
if (!this.isOpen) {
|
|
39042
|
+
return;
|
|
39043
|
+
}
|
|
39044
|
+
this.isOpen = false;
|
|
39045
|
+
if (returnFocus) {
|
|
39046
|
+
this.trigger?.nativeElement.focus();
|
|
39047
|
+
}
|
|
39048
|
+
}
|
|
39049
|
+
isSelected(state) {
|
|
39050
|
+
return (this.selectedStates || []).some(selectedState => selectedState.id === state.id);
|
|
39051
|
+
}
|
|
39052
|
+
selectState(state, event) {
|
|
39053
|
+
event.stopPropagation();
|
|
39054
|
+
const input = event.target;
|
|
39055
|
+
const selectedStates = (this.selectedStates || []).filter(selectedState => selectedState.id !== state.id);
|
|
39056
|
+
if (input.checked) {
|
|
39057
|
+
selectedStates.push(state);
|
|
39058
|
+
}
|
|
39059
|
+
this.selectedStatesChange.emit(selectedStates);
|
|
39060
|
+
}
|
|
39061
|
+
selectAll(event) {
|
|
39062
|
+
event.stopPropagation();
|
|
39063
|
+
this.selectedStatesChange.emit([...this.states]);
|
|
39064
|
+
}
|
|
39065
|
+
unselectAll(event) {
|
|
39066
|
+
event.stopPropagation();
|
|
39067
|
+
this.selectedStatesChange.emit([]);
|
|
39068
|
+
}
|
|
39069
|
+
get isSelectAllDisabled() {
|
|
39070
|
+
return this.disabled || this.states.every(state => this.isSelected(state));
|
|
39071
|
+
}
|
|
39072
|
+
get isUnselectAllDisabled() {
|
|
39073
|
+
return this.disabled || this.states.length === 0 || (this.selectedStates || []).length === 0;
|
|
39074
|
+
}
|
|
39075
|
+
get selectedLabel() {
|
|
39076
|
+
const selectedCount = (this.selectedStates || []).length;
|
|
39077
|
+
if (selectedCount === 0) {
|
|
39078
|
+
return 'Any';
|
|
39079
|
+
}
|
|
39080
|
+
if (selectedCount === 1) {
|
|
39081
|
+
return this.selectedStates[0].name;
|
|
39082
|
+
}
|
|
39083
|
+
return `${selectedCount} selected`;
|
|
39084
|
+
}
|
|
39085
|
+
onDocumentClick(event) {
|
|
39086
|
+
if (this.isOpen && !this.isInteractiveTarget(event.target)) {
|
|
39087
|
+
this.closePanel();
|
|
39088
|
+
}
|
|
39089
|
+
}
|
|
39090
|
+
onEscape() {
|
|
39091
|
+
this.closePanel(true);
|
|
39092
|
+
}
|
|
39093
|
+
onPointerDown(event) {
|
|
39094
|
+
this.pointerDownInside = this.isOpen && this.isInteractiveTarget(event.target);
|
|
39095
|
+
}
|
|
39096
|
+
onDocumentPointerUp() {
|
|
39097
|
+
this.pointerDownInside = false;
|
|
39098
|
+
}
|
|
39099
|
+
onFocusOut(event) {
|
|
39100
|
+
const nextFocusedElement = event.relatedTarget;
|
|
39101
|
+
if (!nextFocusedElement || !this.elementRef.nativeElement.contains(nextFocusedElement)) {
|
|
39102
|
+
if (this.pointerDownInside) {
|
|
39103
|
+
return;
|
|
39104
|
+
}
|
|
39105
|
+
this.closePanel();
|
|
39106
|
+
}
|
|
39107
|
+
}
|
|
39108
|
+
isInteractiveTarget(target) {
|
|
39109
|
+
if (!(target instanceof Node)) {
|
|
39110
|
+
return false;
|
|
39111
|
+
}
|
|
39112
|
+
if (this.trigger?.nativeElement.contains(target) || this.optionsPanel?.nativeElement.contains(target)) {
|
|
39113
|
+
return true;
|
|
39114
|
+
}
|
|
39115
|
+
const actionButtons = this.elementRef.nativeElement.querySelectorAll('.case-state-multi-select__actions button');
|
|
39116
|
+
return Array.from(actionButtons).some(button => button.contains(target));
|
|
39117
|
+
}
|
|
39118
|
+
constructor(elementRef) {
|
|
39119
|
+
this.elementRef = elementRef;
|
|
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 = () => [];
|
|
38979
39211
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
38980
|
-
i0.ɵɵelementStart(0, "option",
|
|
39212
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38981
39213
|
i0.ɵɵtext(1);
|
|
38982
39214
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38983
39215
|
i0.ɵɵelementEnd();
|
|
@@ -38987,7 +39219,7 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
38987
39219
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
38988
39220
|
} }
|
|
38989
39221
|
function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
38990
|
-
i0.ɵɵelementStart(0, "option",
|
|
39222
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38991
39223
|
i0.ɵɵtext(1);
|
|
38992
39224
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38993
39225
|
i0.ɵɵelementEnd();
|
|
@@ -38998,7 +39230,7 @@ function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
38998
39230
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
38999
39231
|
} }
|
|
39000
39232
|
function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
39001
|
-
i0.ɵɵelementStart(0, "option",
|
|
39233
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39002
39234
|
i0.ɵɵtext(1);
|
|
39003
39235
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39004
39236
|
i0.ɵɵelementEnd();
|
|
@@ -39008,7 +39240,7 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
39008
39240
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
39009
39241
|
} }
|
|
39010
39242
|
function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
39011
|
-
i0.ɵɵelementStart(0, "option",
|
|
39243
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
39012
39244
|
i0.ɵɵtext(1);
|
|
39013
39245
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39014
39246
|
i0.ɵɵelementEnd();
|
|
@@ -39018,39 +39250,28 @@ function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
39018
39250
|
i0.ɵɵadvance();
|
|
39019
39251
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r2.name));
|
|
39020
39252
|
} }
|
|
39021
|
-
function
|
|
39022
|
-
i0.ɵɵ
|
|
39023
|
-
i0.ɵɵtext(1);
|
|
39024
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39025
|
-
i0.ɵɵelementEnd();
|
|
39026
|
-
} if (rf & 2) {
|
|
39027
|
-
const cs_r3 = ctx.$implicit;
|
|
39028
|
-
i0.ɵɵproperty("ngValue", cs_r3);
|
|
39029
|
-
i0.ɵɵadvance();
|
|
39030
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r3.name));
|
|
39031
|
-
} }
|
|
39032
|
-
function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39033
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
39253
|
+
function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39254
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
39034
39255
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 20);
|
|
39035
|
-
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)); });
|
|
39036
39257
|
i0.ɵɵelementEnd()();
|
|
39037
39258
|
} if (rf & 2) {
|
|
39038
|
-
const
|
|
39039
|
-
const
|
|
39259
|
+
const workbasketInput_r5 = ctx.$implicit;
|
|
39260
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
39040
39261
|
i0.ɵɵadvance();
|
|
39041
|
-
i0.ɵɵproperty("caseField",
|
|
39262
|
+
i0.ɵɵproperty("caseField", workbasketInput_r5.field)("formGroup", ctx_r3.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
39042
39263
|
} }
|
|
39043
|
-
function
|
|
39264
|
+
function WorkbasketFiltersComponent_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
39044
39265
|
i0.ɵɵelementContainerStart(0, 17);
|
|
39045
39266
|
i0.ɵɵelementStart(1, "div", 18);
|
|
39046
|
-
i0.ɵɵtemplate(2,
|
|
39267
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div", 19);
|
|
39047
39268
|
i0.ɵɵelementEnd();
|
|
39048
39269
|
i0.ɵɵelementContainerEnd();
|
|
39049
39270
|
} if (rf & 2) {
|
|
39050
|
-
const
|
|
39051
|
-
i0.ɵɵproperty("formGroup",
|
|
39271
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39272
|
+
i0.ɵɵproperty("formGroup", ctx_r3.formGroup)("contextFields", ctx_r3.caseFields);
|
|
39052
39273
|
i0.ɵɵadvance(2);
|
|
39053
|
-
i0.ɵɵproperty("ngForOf",
|
|
39274
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.workbasketInputs);
|
|
39054
39275
|
} }
|
|
39055
39276
|
const FORM_GROUP_VAL_LOC_STORAGE = 'workbasket-filter-form-group-value';
|
|
39056
39277
|
const SAVED_QUERY_PARAM_LOC_STORAGE = 'savedQueryParams';
|
|
@@ -39108,7 +39329,7 @@ class WorkbasketFiltersComponent {
|
|
|
39108
39329
|
jurisdiction: null,
|
|
39109
39330
|
caseType: null,
|
|
39110
39331
|
formGroup: null,
|
|
39111
|
-
caseState:
|
|
39332
|
+
caseState: [],
|
|
39112
39333
|
page: 1,
|
|
39113
39334
|
metadataFields: []
|
|
39114
39335
|
};
|
|
@@ -39137,8 +39358,8 @@ class WorkbasketFiltersComponent {
|
|
|
39137
39358
|
if (this.selected.caseType) {
|
|
39138
39359
|
queryParams[WorkbasketFiltersComponent.PARAM_CASE_TYPE] = this.selected.caseType.id;
|
|
39139
39360
|
}
|
|
39140
|
-
if (this.selected.caseState) {
|
|
39141
|
-
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(',');
|
|
39142
39363
|
}
|
|
39143
39364
|
// without explicitly preserving alerts any message on the page
|
|
39144
39365
|
// would be cleared out because of this initial navigation.
|
|
@@ -39206,7 +39427,7 @@ class WorkbasketFiltersComponent {
|
|
|
39206
39427
|
else {
|
|
39207
39428
|
this.selected.caseType = null;
|
|
39208
39429
|
}
|
|
39209
|
-
this.selected.caseState =
|
|
39430
|
+
this.selected.caseState = [];
|
|
39210
39431
|
this.clearWorkbasketInputs();
|
|
39211
39432
|
if (!this.isApplyButtonDisabled()) {
|
|
39212
39433
|
this.onCaseTypeIdChange(false);
|
|
@@ -39223,7 +39444,7 @@ class WorkbasketFiltersComponent {
|
|
|
39223
39444
|
}
|
|
39224
39445
|
if (this.selected.caseType) {
|
|
39225
39446
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39226
|
-
this.selected.caseState =
|
|
39447
|
+
this.selected.caseState = [];
|
|
39227
39448
|
this.formGroup = new FormGroup({});
|
|
39228
39449
|
this.clearWorkbasketInputs();
|
|
39229
39450
|
if (!this.isApplyButtonDisabled()) {
|
|
@@ -39300,7 +39521,7 @@ class WorkbasketFiltersComponent {
|
|
|
39300
39521
|
* Try to initialise filters based on query parameters or workbasket defaults.
|
|
39301
39522
|
* Query parameters, when available, take precedence over workbasket defaults.
|
|
39302
39523
|
*/
|
|
39303
|
-
initFilters(init) {
|
|
39524
|
+
initFilters(init, resetCaseState = false) {
|
|
39304
39525
|
const savedQueryParams = this.windowService.getLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
|
|
39305
39526
|
const routeSnapshot = this.route.snapshot;
|
|
39306
39527
|
if (savedQueryParams) {
|
|
@@ -39315,7 +39536,9 @@ class WorkbasketFiltersComponent {
|
|
|
39315
39536
|
this.selected.caseType = this.selectCaseType(this.selected, this.selectedJurisdictionCaseTypes, routeSnapshot);
|
|
39316
39537
|
if (this.selected.caseType) {
|
|
39317
39538
|
this.onCaseTypeIdChange(false);
|
|
39318
|
-
this.selected.caseState =
|
|
39539
|
+
this.selected.caseState = resetCaseState
|
|
39540
|
+
? []
|
|
39541
|
+
: this.selectCaseStates(this.selected.caseType, routeSnapshot);
|
|
39319
39542
|
}
|
|
39320
39543
|
this.workbasketDefaults = true;
|
|
39321
39544
|
}
|
|
@@ -39326,16 +39549,24 @@ class WorkbasketFiltersComponent {
|
|
|
39326
39549
|
}
|
|
39327
39550
|
this.apply(init);
|
|
39328
39551
|
}
|
|
39329
|
-
|
|
39330
|
-
let
|
|
39552
|
+
selectCaseStates(caseType, routeSnapshot) {
|
|
39553
|
+
let caseStates = [];
|
|
39331
39554
|
if (caseType) {
|
|
39332
|
-
const
|
|
39333
|
-
|
|
39555
|
+
const selectedCaseStateIds = this.selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, this.defaults?.state_id);
|
|
39556
|
+
caseStates = (this.selectedCaseTypeStates || caseType.states || [])
|
|
39557
|
+
.filter(state => selectedCaseStateIds.includes(state.id));
|
|
39334
39558
|
}
|
|
39335
|
-
return
|
|
39559
|
+
return caseStates;
|
|
39336
39560
|
}
|
|
39337
|
-
|
|
39338
|
-
|
|
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);
|
|
39339
39570
|
}
|
|
39340
39571
|
selectCaseType(selected, caseTypes, routeSnapshot) {
|
|
39341
39572
|
let caseType;
|
|
@@ -39355,7 +39586,7 @@ class WorkbasketFiltersComponent {
|
|
|
39355
39586
|
this.workbasketDefaults = false;
|
|
39356
39587
|
this.selected.jurisdiction = null;
|
|
39357
39588
|
this.initialised = false;
|
|
39358
|
-
this.initFilters(true);
|
|
39589
|
+
this.initFilters(true, true);
|
|
39359
39590
|
}
|
|
39360
39591
|
clearWorkbasketInputs() {
|
|
39361
39592
|
this.workbasketInputsReady = false;
|
|
@@ -39366,7 +39597,7 @@ class WorkbasketFiltersComponent {
|
|
|
39366
39597
|
}
|
|
39367
39598
|
resetCaseState() {
|
|
39368
39599
|
this.defaults.state_id = null;
|
|
39369
|
-
this.selected.caseState =
|
|
39600
|
+
this.selected.caseState = [];
|
|
39370
39601
|
this.selectedCaseTypeStates = null;
|
|
39371
39602
|
}
|
|
39372
39603
|
resetCaseType() {
|
|
@@ -39386,7 +39617,7 @@ class WorkbasketFiltersComponent {
|
|
|
39386
39617
|
}
|
|
39387
39618
|
}
|
|
39388
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)); };
|
|
39389
|
-
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) {
|
|
39390
39621
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "fieldset", 2);
|
|
39391
39622
|
i0.ɵɵtext(3);
|
|
39392
39623
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39428,37 +39659,32 @@ class WorkbasketFiltersComponent {
|
|
|
39428
39659
|
i0.ɵɵtext(32);
|
|
39429
39660
|
i0.ɵɵpipe(33, "rpxTranslate");
|
|
39430
39661
|
i0.ɵɵelementEnd();
|
|
39431
|
-
i0.ɵɵelementStart(34, "select", 13);
|
|
39432
|
-
i0.ɵɵ
|
|
39433
|
-
i0.ɵɵelementStart(35, "option", 14);
|
|
39434
|
-
i0.ɵɵtext(36);
|
|
39435
|
-
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39436
|
-
i0.ɵɵelementEnd();
|
|
39437
|
-
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; });
|
|
39438
39664
|
i0.ɵɵelementEnd()();
|
|
39439
|
-
i0.ɵɵtemplate(
|
|
39440
|
-
i0.ɵɵelementStart(
|
|
39441
|
-
i0.ɵɵpipe(
|
|
39442
|
-
i0.ɵɵpipe(
|
|
39443
|
-
i0.ɵɵlistener("click", function
|
|
39444
|
-
i0.ɵɵtext(
|
|
39445
|
-
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");
|
|
39446
39672
|
i0.ɵɵelementEnd()();
|
|
39447
39673
|
} if (rf & 2) {
|
|
39448
39674
|
i0.ɵɵadvance(3);
|
|
39449
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
39675
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 25, "Filters"));
|
|
39450
39676
|
i0.ɵɵadvance(2);
|
|
39451
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39452
|
-
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"));
|
|
39453
39679
|
i0.ɵɵadvance(3);
|
|
39454
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
39680
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 31, "Apply"), " ");
|
|
39455
39681
|
i0.ɵɵadvance(3);
|
|
39456
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39457
|
-
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"));
|
|
39458
39684
|
i0.ɵɵadvance(3);
|
|
39459
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
39685
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 37, "Reset"), " ");
|
|
39460
39686
|
i0.ɵɵadvance(4);
|
|
39461
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
39687
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 39, "Jurisdiction"));
|
|
39462
39688
|
i0.ɵɵadvance(2);
|
|
39463
39689
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39464
39690
|
i0.ɵɵadvance();
|
|
@@ -39466,7 +39692,7 @@ class WorkbasketFiltersComponent {
|
|
|
39466
39692
|
i0.ɵɵadvance();
|
|
39467
39693
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39468
39694
|
i0.ɵɵadvance(3);
|
|
39469
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
39695
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 41, "Case type"));
|
|
39470
39696
|
i0.ɵɵadvance(2);
|
|
39471
39697
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39472
39698
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39475,28 +39701,21 @@ class WorkbasketFiltersComponent {
|
|
|
39475
39701
|
i0.ɵɵadvance();
|
|
39476
39702
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39477
39703
|
i0.ɵɵadvance(3);
|
|
39478
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
39479
|
-
i0.ɵɵadvance(2);
|
|
39480
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseState);
|
|
39481
|
-
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39482
|
-
i0.ɵɵadvance();
|
|
39483
|
-
i0.ɵɵproperty("ngValue", null);
|
|
39484
|
-
i0.ɵɵadvance();
|
|
39485
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 47, "Any"));
|
|
39704
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 43, "State"));
|
|
39486
39705
|
i0.ɵɵadvance(2);
|
|
39487
|
-
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());
|
|
39488
39707
|
i0.ɵɵadvance();
|
|
39489
39708
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39490
39709
|
i0.ɵɵadvance();
|
|
39491
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(
|
|
39492
|
-
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"));
|
|
39493
39712
|
i0.ɵɵadvance(3);
|
|
39494
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
39713
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(40, 49, "Back to top"), " ");
|
|
39495
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}"] });
|
|
39496
39715
|
}
|
|
39497
39716
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39498
39717
|
type: Component,
|
|
39499
|
-
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"] }]
|
|
39500
39719
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
39501
39720
|
type: Input
|
|
39502
39721
|
}], defaults: [{
|
|
@@ -39536,9 +39755,11 @@ class WorkbasketFiltersModule {
|
|
|
39536
39755
|
RpxTranslationModule.forChild()
|
|
39537
39756
|
],
|
|
39538
39757
|
declarations: [
|
|
39758
|
+
CaseStateMultiSelectComponent,
|
|
39539
39759
|
WorkbasketFiltersComponent,
|
|
39540
39760
|
],
|
|
39541
39761
|
exports: [
|
|
39762
|
+
CaseStateMultiSelectComponent,
|
|
39542
39763
|
WorkbasketFiltersComponent,
|
|
39543
39764
|
],
|
|
39544
39765
|
providers: [
|
|
@@ -39550,12 +39771,14 @@ class WorkbasketFiltersModule {
|
|
|
39550
39771
|
]
|
|
39551
39772
|
}]
|
|
39552
39773
|
}], null, null); })();
|
|
39553
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
39774
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [CaseStateMultiSelectComponent,
|
|
39775
|
+
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39554
39776
|
FormsModule,
|
|
39555
39777
|
ReactiveFormsModule,
|
|
39556
39778
|
PaletteModule,
|
|
39557
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
39558
|
-
|
|
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]; });
|
|
39559
39782
|
|
|
39560
39783
|
const READ_ACCESS = 'read';
|
|
39561
39784
|
const CREATE_ACCESS = 'create';
|
|
@@ -45624,7 +45847,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45624
45847
|
} if (rf & 2) {
|
|
45625
45848
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45626
45849
|
i0.ɵɵadvance(3);
|
|
45627
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.
|
|
45850
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.hasSelectedCaseState() ? "Your cases" : "Search result"));
|
|
45628
45851
|
i0.ɵɵadvance(2);
|
|
45629
45852
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
45630
45853
|
i0.ɵɵadvance();
|
|
@@ -45860,7 +46083,10 @@ class SearchResultComponent {
|
|
|
45860
46083
|
const queryParams = {};
|
|
45861
46084
|
queryParams[SearchResultComponent.PARAM_JURISDICTION] = this.selected.jurisdiction ? this.selected.jurisdiction.id : null;
|
|
45862
46085
|
queryParams[SearchResultComponent.PARAM_CASE_TYPE] = this.selected.caseType ? this.selected.caseType.id : null;
|
|
45863
|
-
|
|
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;
|
|
45864
46090
|
this.changePage.emit({
|
|
45865
46091
|
selected: this.selected,
|
|
45866
46092
|
queryParams
|
|
@@ -45873,6 +46099,15 @@ class SearchResultComponent {
|
|
|
45873
46099
|
topContainer.focus();
|
|
45874
46100
|
}
|
|
45875
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
|
+
}
|
|
45876
46111
|
buildCaseField(col, result) {
|
|
45877
46112
|
return Object.assign(new CaseField(), {
|
|
45878
46113
|
id: col.case_field_id,
|
|
@@ -46018,7 +46253,7 @@ class SearchResultComponent {
|
|
|
46018
46253
|
}
|
|
46019
46254
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46020
46255
|
type: Component,
|
|
46021
|
-
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"] }]
|
|
46022
46257
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46023
46258
|
type: Input
|
|
46024
46259
|
}], jurisdiction: [{
|
|
@@ -46355,5 +46590,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46355
46590
|
* Generated bundle index. Do not edit.
|
|
46356
46591
|
*/
|
|
46357
46592
|
|
|
46358
|
-
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 };
|
|
46359
46594
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|