@hmcts/ccd-case-ui-toolkit 7.4.3-redact → 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 +567 -288
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +70 -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) {
|
|
@@ -27404,8 +27407,12 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27404
27407
|
this.removeUnsupportedMarkup(documentElement);
|
|
27405
27408
|
this.normaliseDateRangeSpacing(documentElement);
|
|
27406
27409
|
this.removeUnsupportedAttributes(documentElement);
|
|
27410
|
+
const hasMeaningfulContent = this.hasMeaningfulRichTextContent(documentElement);
|
|
27411
|
+
if (hasMeaningfulContent) {
|
|
27412
|
+
this.preserveDocmosisBlankParagraphs(documentElement);
|
|
27413
|
+
}
|
|
27407
27414
|
const sanitisedValue = sanitiseRichTextDocument(documentElement);
|
|
27408
|
-
return
|
|
27415
|
+
return hasMeaningfulContent
|
|
27409
27416
|
? this.normalisePlainTextValue(sanitisedValue)
|
|
27410
27417
|
: '';
|
|
27411
27418
|
}
|
|
@@ -27425,11 +27432,22 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27425
27432
|
this.removeUnsupportedMarkup(documentElement);
|
|
27426
27433
|
this.normaliseDateRangeSpacing(documentElement);
|
|
27427
27434
|
this.removeUnsupportedAttributes(documentElement);
|
|
27435
|
+
const hasMeaningfulContent = this.hasMeaningfulRichTextContent(documentElement);
|
|
27436
|
+
if (hasMeaningfulContent) {
|
|
27437
|
+
this.preserveDocmosisBlankParagraphs(documentElement);
|
|
27438
|
+
}
|
|
27428
27439
|
const sanitisedValue = sanitiseRichTextDocument(documentElement);
|
|
27429
|
-
return
|
|
27440
|
+
return hasMeaningfulContent
|
|
27430
27441
|
? this.normalisePlainTextValue(sanitisedValue)
|
|
27431
27442
|
: '';
|
|
27432
27443
|
}
|
|
27444
|
+
/**
|
|
27445
|
+
* Gives intentionally blank paragraphs content so Docmosis preserves them as blank lines.
|
|
27446
|
+
* This runs only when the document has meaningful content, so a completely empty field remains empty.
|
|
27447
|
+
*/
|
|
27448
|
+
preserveDocmosisBlankParagraphs(documentElement) {
|
|
27449
|
+
this.replaceBlankParagraphContent(documentElement, '\u00a0');
|
|
27450
|
+
}
|
|
27433
27451
|
hasMeaningfulRichTextContent(documentElement) {
|
|
27434
27452
|
const visibleText = (documentElement.body.textContent || '')
|
|
27435
27453
|
.replace(/[\s\u00a0\u200b-\u200d\ufeff]/g, '');
|
|
@@ -27550,7 +27568,8 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27550
27568
|
emitEvent: false,
|
|
27551
27569
|
emitModelToViewChange: false
|
|
27552
27570
|
});
|
|
27553
|
-
if (normalisedValue || this.editorHasMeaningfulRichTextContent())
|
|
27571
|
+
if ((normalisedValue || this.editorHasMeaningfulRichTextContent())
|
|
27572
|
+
&& !this.differsOnlyByDocmosisBlankParagraphs(value, normalisedValue)) {
|
|
27554
27573
|
this.editor.setContent(normalisedValue || '');
|
|
27555
27574
|
}
|
|
27556
27575
|
}
|
|
@@ -27558,6 +27577,34 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27558
27577
|
this.isNormalisingValue = false;
|
|
27559
27578
|
}
|
|
27560
27579
|
}
|
|
27580
|
+
differsOnlyByDocmosisBlankParagraphs(value, normalisedValue) {
|
|
27581
|
+
if (!value || !normalisedValue) {
|
|
27582
|
+
return false;
|
|
27583
|
+
}
|
|
27584
|
+
const originalDocument = new DOMParser().parseFromString(value, 'text/html');
|
|
27585
|
+
const normalisedDocument = new DOMParser().parseFromString(normalisedValue, 'text/html');
|
|
27586
|
+
this.clearBlankParagraphs(originalDocument);
|
|
27587
|
+
this.clearBlankParagraphs(normalisedDocument);
|
|
27588
|
+
return originalDocument.body.innerHTML === normalisedDocument.body.innerHTML;
|
|
27589
|
+
}
|
|
27590
|
+
/**
|
|
27591
|
+
* Canonicalises visually blank paragraphs to <p></p> before comparing two HTML values.
|
|
27592
|
+
* This lets the editor avoid reloading when only the Docmosis blank-line representation changed.
|
|
27593
|
+
*/
|
|
27594
|
+
clearBlankParagraphs(documentElement) {
|
|
27595
|
+
this.replaceBlankParagraphContent(documentElement, '');
|
|
27596
|
+
}
|
|
27597
|
+
replaceBlankParagraphContent(documentElement, replacement) {
|
|
27598
|
+
const paragraphs = Array.prototype.slice.call(documentElement.body.querySelectorAll('p'));
|
|
27599
|
+
paragraphs.forEach((paragraph) => {
|
|
27600
|
+
// Ignore standard whitespace (\s), non-breaking spaces (U+00A0), zero-width characters
|
|
27601
|
+
// (U+200B–U+200D), and the byte-order mark (U+FEFF) when checking for visible text.
|
|
27602
|
+
const visibleText = (paragraph.textContent || '').replace(/[\s\u00a0\u200b-\u200d\ufeff]/g, '');
|
|
27603
|
+
if (!visibleText && !paragraph.querySelector('hr')) {
|
|
27604
|
+
paragraph.textContent = replacement;
|
|
27605
|
+
}
|
|
27606
|
+
});
|
|
27607
|
+
}
|
|
27561
27608
|
editorHasMeaningfulRichTextContent() {
|
|
27562
27609
|
const documentNode = this.editor.view.state.doc;
|
|
27563
27610
|
const visibleText = documentNode.textContent.replace(/[\s\u00a0\u200b-\u200d\ufeff]/g, '');
|
|
@@ -28966,7 +29013,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28966
29013
|
}
|
|
28967
29014
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
28968
29015
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
28969
|
-
i0.ɵɵviewQuery(_c0$
|
|
29016
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
28970
29017
|
} if (rf & 2) {
|
|
28971
29018
|
let _t;
|
|
28972
29019
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29081,7 +29128,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29081
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()); });
|
|
29082
29129
|
i0.ɵɵelementEnd()()()();
|
|
29083
29130
|
} if (rf & 2) {
|
|
29084
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$
|
|
29131
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$f, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
|
|
29085
29132
|
i0.ɵɵadvance();
|
|
29086
29133
|
i0.ɵɵproperty("id", ctx.labelId());
|
|
29087
29134
|
i0.ɵɵadvance();
|
|
@@ -29159,8 +29206,8 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29159
29206
|
}], null, null); })();
|
|
29160
29207
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29161
29208
|
|
|
29162
|
-
const _c0$
|
|
29163
|
-
const _c1$
|
|
29209
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
29210
|
+
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
29164
29211
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29165
29212
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29166
29213
|
i0.ɵɵtext(1);
|
|
@@ -29217,7 +29264,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29217
29264
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29218
29265
|
i0.ɵɵelementEnd()();
|
|
29219
29266
|
} if (rf & 2) {
|
|
29220
|
-
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)));
|
|
29221
29268
|
i0.ɵɵadvance();
|
|
29222
29269
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29223
29270
|
i0.ɵɵadvance();
|
|
@@ -29225,7 +29272,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29225
29272
|
i0.ɵɵadvance();
|
|
29226
29273
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
29227
29274
|
i0.ɵɵadvance();
|
|
29228
|
-
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);
|
|
29229
29276
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29230
29277
|
}
|
|
29231
29278
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -29255,8 +29302,8 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29255
29302
|
}], null, null); })();
|
|
29256
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 }); })();
|
|
29257
29304
|
|
|
29258
|
-
const _c0$
|
|
29259
|
-
const _c1$
|
|
29305
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29306
|
+
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
29260
29307
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29261
29308
|
i0.ɵɵelementStart(0, "span", 6);
|
|
29262
29309
|
i0.ɵɵtext(1);
|
|
@@ -29314,7 +29361,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29314
29361
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29315
29362
|
i0.ɵɵelementEnd()();
|
|
29316
29363
|
} if (rf & 2) {
|
|
29317
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29318
29365
|
i0.ɵɵadvance();
|
|
29319
29366
|
i0.ɵɵproperty("for", ctx.id());
|
|
29320
29367
|
i0.ɵɵadvance();
|
|
@@ -29324,7 +29371,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29324
29371
|
i0.ɵɵadvance();
|
|
29325
29372
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
29326
29373
|
i0.ɵɵadvance();
|
|
29327
|
-
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);
|
|
29328
29375
|
} }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
29329
29376
|
}
|
|
29330
29377
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
@@ -29457,8 +29504,8 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
29457
29504
|
}], () => [{ type: YesNoService }], null); })();
|
|
29458
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 }); })();
|
|
29459
29506
|
|
|
29460
|
-
const _c0$
|
|
29461
|
-
const _c1$
|
|
29507
|
+
const _c0$C = a0 => ({ "form-group-error": a0 });
|
|
29508
|
+
const _c1$c = a0 => ({ selected: a0 });
|
|
29462
29509
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
29463
29510
|
i0.ɵɵelementStart(0, "span", 7);
|
|
29464
29511
|
i0.ɵɵtext(1);
|
|
@@ -29499,7 +29546,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
29499
29546
|
} if (rf & 2) {
|
|
29500
29547
|
const value_r2 = ctx.$implicit;
|
|
29501
29548
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
29502
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
29549
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$c, ctx_r0.yesNoControl.value === value_r2));
|
|
29503
29550
|
i0.ɵɵadvance();
|
|
29504
29551
|
i0.ɵɵproperty("id", ctx_r0.createElementId(value_r2))("name", ctx_r0.id())("formControl", ctx_r0.yesNoControl)("value", value_r2);
|
|
29505
29552
|
i0.ɵɵattribute("name", ctx_r0.id());
|
|
@@ -29529,7 +29576,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29529
29576
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
29530
29577
|
i0.ɵɵelementEnd()()();
|
|
29531
29578
|
} if (rf & 2) {
|
|
29532
|
-
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)));
|
|
29533
29580
|
i0.ɵɵadvance(3);
|
|
29534
29581
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
29535
29582
|
i0.ɵɵadvance();
|
|
@@ -29650,7 +29697,7 @@ class PaletteService {
|
|
|
29650
29697
|
type: Injectable
|
|
29651
29698
|
}], null, null); })();
|
|
29652
29699
|
|
|
29653
|
-
const _c0$
|
|
29700
|
+
const _c0$B = ["fieldContainer"];
|
|
29654
29701
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29655
29702
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
29656
29703
|
resolver;
|
|
@@ -29699,7 +29746,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29699
29746
|
}
|
|
29700
29747
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29701
29748
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29702
|
-
i0.ɵɵviewQuery(_c0$
|
|
29749
|
+
i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
|
|
29703
29750
|
} if (rf & 2) {
|
|
29704
29751
|
let _t;
|
|
29705
29752
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29728,7 +29775,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
29728
29775
|
}] }); })();
|
|
29729
29776
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
29730
29777
|
|
|
29731
|
-
const _c0$
|
|
29778
|
+
const _c0$A = ["fieldContainer"];
|
|
29732
29779
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
29733
29780
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
29734
29781
|
resolver;
|
|
@@ -29788,7 +29835,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29788
29835
|
}
|
|
29789
29836
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
29790
29837
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29791
|
-
i0.ɵɵviewQuery(_c0$
|
|
29838
|
+
i0.ɵɵviewQuery(_c0$A, 7, ViewContainerRef);
|
|
29792
29839
|
} if (rf & 2) {
|
|
29793
29840
|
let _t;
|
|
29794
29841
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -29812,7 +29859,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
29812
29859
|
}] }); })();
|
|
29813
29860
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 17 }); })();
|
|
29814
29861
|
|
|
29815
|
-
const _c0$
|
|
29862
|
+
const _c0$z = ["*"];
|
|
29816
29863
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
29817
29864
|
i0.ɵɵelementContainer(0);
|
|
29818
29865
|
} }
|
|
@@ -29866,7 +29913,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29866
29913
|
}
|
|
29867
29914
|
}
|
|
29868
29915
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
29869
|
-
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) {
|
|
29870
29917
|
i0.ɵɵprojectionDef();
|
|
29871
29918
|
i0.ɵɵelementStart(0, "div", 1);
|
|
29872
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);
|
|
@@ -29887,8 +29934,8 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
29887
29934
|
}] }); })();
|
|
29888
29935
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 15 }); })();
|
|
29889
29936
|
|
|
29890
|
-
const _c0$
|
|
29891
|
-
const _c1$
|
|
29937
|
+
const _c0$y = a0 => ({ cat: a0, level: 1 });
|
|
29938
|
+
const _c1$b = (a0, a1) => ({ cat: a0, level: a1 });
|
|
29892
29939
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29893
29940
|
i0.ɵɵelementContainer(0);
|
|
29894
29941
|
} }
|
|
@@ -29901,7 +29948,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
29901
29948
|
i0.ɵɵnextContext();
|
|
29902
29949
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29903
29950
|
i0.ɵɵadvance();
|
|
29904
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
29951
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$y, cat_r2));
|
|
29905
29952
|
} }
|
|
29906
29953
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
29907
29954
|
i0.ɵɵelementContainer(0);
|
|
@@ -29916,7 +29963,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
29916
29963
|
i0.ɵɵnextContext();
|
|
29917
29964
|
const folder_r3 = i0.ɵɵreference(13);
|
|
29918
29965
|
i0.ɵɵadvance();
|
|
29919
|
-
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));
|
|
29920
29967
|
} }
|
|
29921
29968
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
29922
29969
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -30039,8 +30086,8 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
30039
30086
|
}] }], null); })();
|
|
30040
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 }); })();
|
|
30041
30088
|
|
|
30042
|
-
const _c0$
|
|
30043
|
-
const _c1$
|
|
30089
|
+
const _c0$x = [[["", "trigger", ""]]];
|
|
30090
|
+
const _c1$a = ["[trigger]"];
|
|
30044
30091
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
30045
30092
|
i0.ɵɵelementContainerStart(0);
|
|
30046
30093
|
i0.ɵɵelementStart(1, "div", 6);
|
|
@@ -30110,9 +30157,9 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
30110
30157
|
}
|
|
30111
30158
|
}
|
|
30112
30159
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
30113
|
-
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) {
|
|
30114
30161
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
30115
|
-
i0.ɵɵprojectionDef(_c0$
|
|
30162
|
+
i0.ɵɵprojectionDef(_c0$x);
|
|
30116
30163
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
30117
30164
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
30118
30165
|
i0.ɵɵprojection(3, 0, ["aria-hidden", "true"]);
|
|
@@ -30809,7 +30856,7 @@ class CaseFileViewFolderComponent {
|
|
|
30809
30856
|
}] }); })();
|
|
30810
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 }); })();
|
|
30811
30858
|
|
|
30812
|
-
const _c0$
|
|
30859
|
+
const _c0$w = a0 => ({ "form-group-error": a0 });
|
|
30813
30860
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
30814
30861
|
i0.ɵɵelementStart(0, "span");
|
|
30815
30862
|
i0.ɵɵtext(1);
|
|
@@ -30963,7 +31010,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
30963
31010
|
} if (rf & 2) {
|
|
30964
31011
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
30965
31012
|
i0.ɵɵadvance(2);
|
|
30966
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
31013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$w, ctx.errorMessages.length > 0));
|
|
30967
31014
|
i0.ɵɵadvance(2);
|
|
30968
31015
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
30969
31016
|
i0.ɵɵadvance();
|
|
@@ -31294,7 +31341,7 @@ class CaseFlagSummaryListComponent {
|
|
|
31294
31341
|
}] }); })();
|
|
31295
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 }); })();
|
|
31296
31343
|
|
|
31297
|
-
const _c0$
|
|
31344
|
+
const _c0$v = a0 => ({ "govuk-!-font-weight-bold": a0 });
|
|
31298
31345
|
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
31299
31346
|
i0.ɵɵelementStart(0, "caption", 13);
|
|
31300
31347
|
i0.ɵɵtext(1);
|
|
@@ -31423,7 +31470,7 @@ function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf
|
|
|
31423
31470
|
i0.ɵɵadvance(3);
|
|
31424
31471
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(9, 16, flagDetail_r2, "subTypeValue"));
|
|
31425
31472
|
i0.ɵɵadvance(3);
|
|
31426
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$
|
|
31473
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(28, _c0$v, ctx_r0.isActivePvpFlag(flagDetail_r2)));
|
|
31427
31474
|
i0.ɵɵadvance();
|
|
31428
31475
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(13, 19, flagDetail_r2, "flagComment"), " ");
|
|
31429
31476
|
i0.ɵɵadvance(2);
|
|
@@ -31532,7 +31579,7 @@ class CaseFlagTableComponent {
|
|
|
31532
31579
|
}] }); })();
|
|
31533
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 }); })();
|
|
31534
31581
|
|
|
31535
|
-
const _c0$
|
|
31582
|
+
const _c0$u = a0 => ({ "form-group-error": a0 });
|
|
31536
31583
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
31537
31584
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
31538
31585
|
i0.ɵɵtext(2);
|
|
@@ -31850,7 +31897,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
31850
31897
|
} if (rf & 2) {
|
|
31851
31898
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
31852
31899
|
i0.ɵɵadvance();
|
|
31853
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
31900
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$u, ctx.errorMessages.length > 0));
|
|
31854
31901
|
i0.ɵɵadvance(4);
|
|
31855
31902
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
31856
31903
|
i0.ɵɵadvance(2);
|
|
@@ -31936,7 +31983,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
31936
31983
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
31937
31984
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
31938
31985
|
|
|
31939
|
-
const _c0$
|
|
31986
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
31940
31987
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
31941
31988
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
31942
31989
|
i0.ɵɵtext(2);
|
|
@@ -32028,7 +32075,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
32028
32075
|
} if (rf & 2) {
|
|
32029
32076
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32030
32077
|
i0.ɵɵadvance();
|
|
32031
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32078
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$t, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
32032
32079
|
i0.ɵɵadvance(2);
|
|
32033
32080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
32034
32081
|
i0.ɵɵadvance(2);
|
|
@@ -32202,7 +32249,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32202
32249
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
32203
32250
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32204
32251
|
i0.ɵɵadvance();
|
|
32205
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
32252
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$t, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
32206
32253
|
i0.ɵɵadvance(2);
|
|
32207
32254
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
32208
32255
|
i0.ɵɵadvance();
|
|
@@ -32239,7 +32286,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
32239
32286
|
}] }); })();
|
|
32240
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 }); })();
|
|
32241
32288
|
|
|
32242
|
-
const _c0$
|
|
32289
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
32243
32290
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32244
32291
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
32245
32292
|
i0.ɵɵtext(2);
|
|
@@ -32414,7 +32461,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32414
32461
|
} if (rf & 2) {
|
|
32415
32462
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
32416
32463
|
i0.ɵɵadvance();
|
|
32417
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
32464
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
32418
32465
|
i0.ɵɵadvance(4);
|
|
32419
32466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
32420
32467
|
i0.ɵɵadvance(2);
|
|
@@ -32437,8 +32484,8 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
32437
32484
|
}] }); })();
|
|
32438
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 }); })();
|
|
32439
32486
|
|
|
32440
|
-
const _c0$
|
|
32441
|
-
const _c1$
|
|
32487
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
32488
|
+
const _c1$9 = a0 => ({ "govuk-input--error": a0 });
|
|
32442
32489
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
32443
32490
|
i0.ɵɵelementContainerStart(0);
|
|
32444
32491
|
i0.ɵɵtext(1);
|
|
@@ -32532,13 +32579,13 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
32532
32579
|
} if (rf & 2) {
|
|
32533
32580
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
32534
32581
|
i0.ɵɵadvance();
|
|
32535
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
32582
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$r, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
32536
32583
|
i0.ɵɵadvance(2);
|
|
32537
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), " ");
|
|
32538
32585
|
i0.ɵɵadvance(3);
|
|
32539
32586
|
i0.ɵɵproperty("ngIf", ctx_r0.flagTypeErrorMessage.length > 0);
|
|
32540
32587
|
i0.ɵɵadvance();
|
|
32541
|
-
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);
|
|
32542
32589
|
i0.ɵɵadvance();
|
|
32543
32590
|
i0.ɵɵproperty("ngIf", !ctx_r0.isDisplayContextParameterExternal && !ctx_r0.isCaseLevelFlag && ctx_r0.isDisplayContextParameter2Point1Enabled);
|
|
32544
32591
|
} }
|
|
@@ -32557,7 +32604,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
32557
32604
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
32558
32605
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
32559
32606
|
i0.ɵɵadvance();
|
|
32560
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
32607
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
32561
32608
|
i0.ɵɵadvance(4);
|
|
32562
32609
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
32563
32610
|
i0.ɵɵadvance(3);
|
|
@@ -32884,8 +32931,8 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
32884
32931
|
}] }); })();
|
|
32885
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 }); })();
|
|
32886
32933
|
|
|
32887
|
-
const _c0$
|
|
32888
|
-
const _c1$
|
|
32934
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
32935
|
+
const _c1$8 = a0 => ({ "govuk-tag--grey": a0 });
|
|
32889
32936
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
32890
32937
|
i0.ɵɵelementStart(0, "div", 15);
|
|
32891
32938
|
i0.ɵɵtext(1);
|
|
@@ -33145,7 +33192,7 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
33145
33192
|
i0.ɵɵadvance(3);
|
|
33146
33193
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 4, "Flag status:"), " ");
|
|
33147
33194
|
i0.ɵɵadvance(3);
|
|
33148
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
33195
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$8, ctx_r0.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
33149
33196
|
i0.ɵɵadvance();
|
|
33150
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), " ");
|
|
33151
33198
|
i0.ɵɵadvance(3);
|
|
@@ -33370,7 +33417,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33370
33417
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
33371
33418
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33372
33419
|
i0.ɵɵadvance(2);
|
|
33373
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
33420
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$q, ctx.errorMessages.length > 0));
|
|
33374
33421
|
i0.ɵɵadvance(3);
|
|
33375
33422
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
33376
33423
|
i0.ɵɵadvance(2);
|
|
@@ -33403,7 +33450,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
33403
33450
|
}] }); })();
|
|
33404
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 }); })();
|
|
33405
33452
|
|
|
33406
|
-
const _c0$
|
|
33453
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
33407
33454
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
33408
33455
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
33409
33456
|
i0.ɵɵtext(2);
|
|
@@ -33611,7 +33658,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33611
33658
|
} if (rf & 2) {
|
|
33612
33659
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33613
33660
|
i0.ɵɵadvance(2);
|
|
33614
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
33661
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$p, ctx.errorMessages.length > 0));
|
|
33615
33662
|
i0.ɵɵadvance(3);
|
|
33616
33663
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
33617
33664
|
i0.ɵɵadvance(3);
|
|
@@ -33668,7 +33715,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
33668
33715
|
}] }); })();
|
|
33669
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 }); })();
|
|
33670
33717
|
|
|
33671
|
-
const _c0$
|
|
33718
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
33672
33719
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
33673
33720
|
i0.ɵɵelementStart(0, "div", 13);
|
|
33674
33721
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -33802,7 +33849,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
33802
33849
|
} if (rf & 2) {
|
|
33803
33850
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
33804
33851
|
i0.ɵɵadvance(2);
|
|
33805
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
33852
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$o, ctx.errorMessages.length > 0));
|
|
33806
33853
|
i0.ɵɵadvance(4);
|
|
33807
33854
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
33808
33855
|
i0.ɵɵadvance(3);
|
|
@@ -34086,7 +34133,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
34086
34133
|
}]
|
|
34087
34134
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
34088
34135
|
|
|
34089
|
-
const _c0$
|
|
34136
|
+
const _c0$n = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
34090
34137
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
34091
34138
|
i0.ɵɵelementContainerStart(0)(1, 2);
|
|
34092
34139
|
i0.ɵɵelementStart(2, "dt", 3)(3, "span", 4);
|
|
@@ -34125,7 +34172,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34125
34172
|
i0.ɵɵelementEnd();
|
|
34126
34173
|
} if (rf & 2) {
|
|
34127
34174
|
i0.ɵɵadvance();
|
|
34128
|
-
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())));
|
|
34129
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}"] });
|
|
34130
34177
|
}
|
|
34131
34178
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -34136,7 +34183,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
34136
34183
|
}] }); })();
|
|
34137
34184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 17 }); })();
|
|
34138
34185
|
|
|
34139
|
-
const _c0$
|
|
34186
|
+
const _c0$m = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
34140
34187
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
34141
34188
|
i0.ɵɵelementContainerStart(0);
|
|
34142
34189
|
i0.ɵɵelementStart(1, "tr", 8)(2, "td", 9)(3, "span", 3);
|
|
@@ -34217,7 +34264,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
34217
34264
|
i0.ɵɵadvance(4);
|
|
34218
34265
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
34219
34266
|
i0.ɵɵadvance(5);
|
|
34220
|
-
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)));
|
|
34221
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}"] });
|
|
34222
34269
|
}
|
|
34223
34270
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -34604,7 +34651,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
34604
34651
|
}], null, null); })();
|
|
34605
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 }); })();
|
|
34606
34653
|
|
|
34607
|
-
const _c0$
|
|
34654
|
+
const _c0$l = a0 => ({ "form-group-error": a0 });
|
|
34608
34655
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34609
34656
|
i0.ɵɵelementStart(0, "span", 5);
|
|
34610
34657
|
i0.ɵɵtext(1);
|
|
@@ -34656,7 +34703,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
34656
34703
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
34657
34704
|
i0.ɵɵelementEnd()();
|
|
34658
34705
|
} if (rf & 2) {
|
|
34659
|
-
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)));
|
|
34660
34707
|
i0.ɵɵadvance(3);
|
|
34661
34708
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
34662
34709
|
i0.ɵɵadvance();
|
|
@@ -34685,8 +34732,8 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
34685
34732
|
},
|
|
34686
34733
|
};
|
|
34687
34734
|
|
|
34688
|
-
const _c0$
|
|
34689
|
-
const _c1$
|
|
34735
|
+
const _c0$k = ["picker"];
|
|
34736
|
+
const _c1$7 = ["input"];
|
|
34690
34737
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
34691
34738
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
34692
34739
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -34903,8 +34950,8 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
34903
34950
|
}
|
|
34904
34951
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
34905
34952
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
34906
|
-
i0.ɵɵviewQuery(_c0$
|
|
34907
|
-
i0.ɵɵviewQuery(_c1$
|
|
34953
|
+
i0.ɵɵviewQuery(_c0$k, 5);
|
|
34954
|
+
i0.ɵɵviewQuery(_c1$7, 5);
|
|
34908
34955
|
} if (rf & 2) {
|
|
34909
34956
|
let _t;
|
|
34910
34957
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
|
|
@@ -35092,8 +35139,8 @@ class EventLogDetailsComponent {
|
|
|
35092
35139
|
}] }); })();
|
|
35093
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 }); })();
|
|
35094
35141
|
|
|
35095
|
-
const _c0$
|
|
35096
|
-
const _c1$
|
|
35142
|
+
const _c0$j = a0 => ({ "EventLogTable-Selected": a0 });
|
|
35143
|
+
const _c1$6 = a0 => ["./", "event", a0, "history"];
|
|
35097
35144
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
35098
35145
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
35099
35146
|
i0.ɵɵelementStart(0, "a", 17);
|
|
@@ -35140,7 +35187,7 @@ function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) { if (rf & 1)
|
|
|
35140
35187
|
} if (rf & 2) {
|
|
35141
35188
|
const event_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
35142
35189
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35143
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$
|
|
35190
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c1$6, event_r2.id))("target", "_blank");
|
|
35144
35191
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforLink(event_r2, ctx_r2.isUserExternal));
|
|
35145
35192
|
i0.ɵɵadvance();
|
|
35146
35193
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, event_r2.event_name));
|
|
@@ -35222,7 +35269,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
35222
35269
|
} if (rf & 2) {
|
|
35223
35270
|
const event_r2 = ctx.$implicit;
|
|
35224
35271
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35225
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
35272
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$j, ctx_r2.selected === event_r2));
|
|
35226
35273
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
35227
35274
|
i0.ɵɵadvance(2);
|
|
35228
35275
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -35419,11 +35466,11 @@ class EventLogComponent {
|
|
|
35419
35466
|
}] }); })();
|
|
35420
35467
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 10 }); })();
|
|
35421
35468
|
|
|
35422
|
-
const _c0$
|
|
35469
|
+
const _c0$i = ["*"];
|
|
35423
35470
|
class RouterLinkComponent {
|
|
35424
35471
|
link;
|
|
35425
35472
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
35426
|
-
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) {
|
|
35427
35474
|
i0.ɵɵprojectionDef();
|
|
35428
35475
|
i0.ɵɵelementStart(0, "a", 0);
|
|
35429
35476
|
i0.ɵɵprojection(1);
|
|
@@ -36015,7 +36062,7 @@ class OrderSummary {
|
|
|
36015
36062
|
PaymentTotal;
|
|
36016
36063
|
}
|
|
36017
36064
|
|
|
36018
|
-
const _c0$
|
|
36065
|
+
const _c0$h = ["ccdReadOrderSummaryRow", ""];
|
|
36019
36066
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
36020
36067
|
feeValue;
|
|
36021
36068
|
ngOnInit() {
|
|
@@ -36028,7 +36075,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
36028
36075
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
36029
36076
|
}
|
|
36030
36077
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
36031
|
-
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) {
|
|
36032
36079
|
i0.ɵɵelementStart(0, "td");
|
|
36033
36080
|
i0.ɵɵtext(1);
|
|
36034
36081
|
i0.ɵɵelementEnd();
|
|
@@ -37124,8 +37171,8 @@ var CaseEditSubmitTitles;
|
|
|
37124
37171
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
37125
37172
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
37126
37173
|
|
|
37127
|
-
const _c0$
|
|
37128
|
-
const _c1$
|
|
37174
|
+
const _c0$g = (a0, a1) => [a0, false, undefined, true, a1];
|
|
37175
|
+
const _c1$5 = a0 => ({ "form-group-error": a0 });
|
|
37129
37176
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
37130
37177
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
37131
37178
|
i0.ɵɵelement(0, "div");
|
|
@@ -37247,7 +37294,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
37247
37294
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
37248
37295
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
37249
37296
|
i0.ɵɵadvance();
|
|
37250
|
-
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))));
|
|
37251
37298
|
} }
|
|
37252
37299
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
37253
37300
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -37375,13 +37422,13 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
37375
37422
|
} if (rf & 2) {
|
|
37376
37423
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
37377
37424
|
i0.ɵɵadvance(3);
|
|
37378
|
-
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)));
|
|
37379
37426
|
i0.ɵɵadvance(5);
|
|
37380
37427
|
i0.ɵɵproperty("ngIf", (ctx_r1.summary == null ? null : ctx_r1.summary.errors) && (ctx_r1.summary.dirty || ctx_r1.summary.touched));
|
|
37381
37428
|
i0.ɵɵadvance();
|
|
37382
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)));
|
|
37383
37430
|
i0.ɵɵadvance();
|
|
37384
|
-
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)));
|
|
37385
37432
|
i0.ɵɵadvance(3);
|
|
37386
37433
|
i0.ɵɵproperty("ngIf", (ctx_r1.description == null ? null : ctx_r1.description.errors) && (ctx_r1.description.dirty || ctx_r1.description.touched));
|
|
37387
37434
|
i0.ɵɵadvance();
|
|
@@ -38507,7 +38554,7 @@ class PaginationComponent {
|
|
|
38507
38554
|
}] }); })();
|
|
38508
38555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 13 }); })();
|
|
38509
38556
|
|
|
38510
|
-
const _c0$
|
|
38557
|
+
const _c0$f = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
38511
38558
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
38512
38559
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
38513
38560
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -38814,7 +38861,7 @@ class CaseListComponent {
|
|
|
38814
38861
|
i0.ɵɵadvance();
|
|
38815
38862
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
38816
38863
|
i0.ɵɵadvance(2);
|
|
38817
|
-
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)));
|
|
38818
38865
|
i0.ɵɵadvance(2);
|
|
38819
38866
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
38820
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 });
|
|
@@ -38932,8 +38979,237 @@ class CaseListModule {
|
|
|
38932
38979
|
NgxPaginationModule,
|
|
38933
38980
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
38934
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 = () => [];
|
|
38935
39211
|
function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
38936
|
-
i0.ɵɵelementStart(0, "option",
|
|
39212
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38937
39213
|
i0.ɵɵtext(1);
|
|
38938
39214
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38939
39215
|
i0.ɵɵelementEnd();
|
|
@@ -38943,7 +39219,7 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
38943
39219
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
38944
39220
|
} }
|
|
38945
39221
|
function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
38946
|
-
i0.ɵɵelementStart(0, "option",
|
|
39222
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38947
39223
|
i0.ɵɵtext(1);
|
|
38948
39224
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38949
39225
|
i0.ɵɵelementEnd();
|
|
@@ -38954,7 +39230,7 @@ function WorkbasketFiltersComponent_option_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
38954
39230
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
38955
39231
|
} }
|
|
38956
39232
|
function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
38957
|
-
i0.ɵɵelementStart(0, "option",
|
|
39233
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38958
39234
|
i0.ɵɵtext(1);
|
|
38959
39235
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38960
39236
|
i0.ɵɵelementEnd();
|
|
@@ -38964,7 +39240,7 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
38964
39240
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
38965
39241
|
} }
|
|
38966
39242
|
function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
38967
|
-
i0.ɵɵelementStart(0, "option",
|
|
39243
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
38968
39244
|
i0.ɵɵtext(1);
|
|
38969
39245
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38970
39246
|
i0.ɵɵelementEnd();
|
|
@@ -38974,39 +39250,28 @@ function WorkbasketFiltersComponent_option_29_Template(rf, ctx) { if (rf & 1) {
|
|
|
38974
39250
|
i0.ɵɵadvance();
|
|
38975
39251
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r2.name));
|
|
38976
39252
|
} }
|
|
38977
|
-
function
|
|
38978
|
-
i0.ɵɵ
|
|
38979
|
-
i0.ɵɵtext(1);
|
|
38980
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38981
|
-
i0.ɵɵelementEnd();
|
|
38982
|
-
} if (rf & 2) {
|
|
38983
|
-
const cs_r3 = ctx.$implicit;
|
|
38984
|
-
i0.ɵɵproperty("ngValue", cs_r3);
|
|
38985
|
-
i0.ɵɵadvance();
|
|
38986
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r3.name));
|
|
38987
|
-
} }
|
|
38988
|
-
function WorkbasketFiltersComponent_ng_container_39_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
38989
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
39253
|
+
function WorkbasketFiltersComponent_ng_container_35_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
39254
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
38990
39255
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-field-write", 20);
|
|
38991
|
-
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)); });
|
|
38992
39257
|
i0.ɵɵelementEnd()();
|
|
38993
39258
|
} if (rf & 2) {
|
|
38994
|
-
const
|
|
38995
|
-
const
|
|
39259
|
+
const workbasketInput_r5 = ctx.$implicit;
|
|
39260
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
38996
39261
|
i0.ɵɵadvance();
|
|
38997
|
-
i0.ɵɵproperty("caseField",
|
|
39262
|
+
i0.ɵɵproperty("caseField", workbasketInput_r5.field)("formGroup", ctx_r3.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
38998
39263
|
} }
|
|
38999
|
-
function
|
|
39264
|
+
function WorkbasketFiltersComponent_ng_container_35_Template(rf, ctx) { if (rf & 1) {
|
|
39000
39265
|
i0.ɵɵelementContainerStart(0, 17);
|
|
39001
39266
|
i0.ɵɵelementStart(1, "div", 18);
|
|
39002
|
-
i0.ɵɵtemplate(2,
|
|
39267
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_35_div_2_Template, 2, 4, "div", 19);
|
|
39003
39268
|
i0.ɵɵelementEnd();
|
|
39004
39269
|
i0.ɵɵelementContainerEnd();
|
|
39005
39270
|
} if (rf & 2) {
|
|
39006
|
-
const
|
|
39007
|
-
i0.ɵɵproperty("formGroup",
|
|
39271
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
39272
|
+
i0.ɵɵproperty("formGroup", ctx_r3.formGroup)("contextFields", ctx_r3.caseFields);
|
|
39008
39273
|
i0.ɵɵadvance(2);
|
|
39009
|
-
i0.ɵɵproperty("ngForOf",
|
|
39274
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.workbasketInputs);
|
|
39010
39275
|
} }
|
|
39011
39276
|
const FORM_GROUP_VAL_LOC_STORAGE = 'workbasket-filter-form-group-value';
|
|
39012
39277
|
const SAVED_QUERY_PARAM_LOC_STORAGE = 'savedQueryParams';
|
|
@@ -39064,7 +39329,7 @@ class WorkbasketFiltersComponent {
|
|
|
39064
39329
|
jurisdiction: null,
|
|
39065
39330
|
caseType: null,
|
|
39066
39331
|
formGroup: null,
|
|
39067
|
-
caseState:
|
|
39332
|
+
caseState: [],
|
|
39068
39333
|
page: 1,
|
|
39069
39334
|
metadataFields: []
|
|
39070
39335
|
};
|
|
@@ -39093,8 +39358,8 @@ class WorkbasketFiltersComponent {
|
|
|
39093
39358
|
if (this.selected.caseType) {
|
|
39094
39359
|
queryParams[WorkbasketFiltersComponent.PARAM_CASE_TYPE] = this.selected.caseType.id;
|
|
39095
39360
|
}
|
|
39096
|
-
if (this.selected.caseState) {
|
|
39097
|
-
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(',');
|
|
39098
39363
|
}
|
|
39099
39364
|
// without explicitly preserving alerts any message on the page
|
|
39100
39365
|
// would be cleared out because of this initial navigation.
|
|
@@ -39162,7 +39427,7 @@ class WorkbasketFiltersComponent {
|
|
|
39162
39427
|
else {
|
|
39163
39428
|
this.selected.caseType = null;
|
|
39164
39429
|
}
|
|
39165
|
-
this.selected.caseState =
|
|
39430
|
+
this.selected.caseState = [];
|
|
39166
39431
|
this.clearWorkbasketInputs();
|
|
39167
39432
|
if (!this.isApplyButtonDisabled()) {
|
|
39168
39433
|
this.onCaseTypeIdChange(false);
|
|
@@ -39179,7 +39444,7 @@ class WorkbasketFiltersComponent {
|
|
|
39179
39444
|
}
|
|
39180
39445
|
if (this.selected.caseType) {
|
|
39181
39446
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
39182
|
-
this.selected.caseState =
|
|
39447
|
+
this.selected.caseState = [];
|
|
39183
39448
|
this.formGroup = new FormGroup({});
|
|
39184
39449
|
this.clearWorkbasketInputs();
|
|
39185
39450
|
if (!this.isApplyButtonDisabled()) {
|
|
@@ -39256,7 +39521,7 @@ class WorkbasketFiltersComponent {
|
|
|
39256
39521
|
* Try to initialise filters based on query parameters or workbasket defaults.
|
|
39257
39522
|
* Query parameters, when available, take precedence over workbasket defaults.
|
|
39258
39523
|
*/
|
|
39259
|
-
initFilters(init) {
|
|
39524
|
+
initFilters(init, resetCaseState = false) {
|
|
39260
39525
|
const savedQueryParams = this.windowService.getLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE);
|
|
39261
39526
|
const routeSnapshot = this.route.snapshot;
|
|
39262
39527
|
if (savedQueryParams) {
|
|
@@ -39271,7 +39536,9 @@ class WorkbasketFiltersComponent {
|
|
|
39271
39536
|
this.selected.caseType = this.selectCaseType(this.selected, this.selectedJurisdictionCaseTypes, routeSnapshot);
|
|
39272
39537
|
if (this.selected.caseType) {
|
|
39273
39538
|
this.onCaseTypeIdChange(false);
|
|
39274
|
-
this.selected.caseState =
|
|
39539
|
+
this.selected.caseState = resetCaseState
|
|
39540
|
+
? []
|
|
39541
|
+
: this.selectCaseStates(this.selected.caseType, routeSnapshot);
|
|
39275
39542
|
}
|
|
39276
39543
|
this.workbasketDefaults = true;
|
|
39277
39544
|
}
|
|
@@ -39282,16 +39549,24 @@ class WorkbasketFiltersComponent {
|
|
|
39282
39549
|
}
|
|
39283
39550
|
this.apply(init);
|
|
39284
39551
|
}
|
|
39285
|
-
|
|
39286
|
-
let
|
|
39552
|
+
selectCaseStates(caseType, routeSnapshot) {
|
|
39553
|
+
let caseStates = [];
|
|
39287
39554
|
if (caseType) {
|
|
39288
|
-
const
|
|
39289
|
-
|
|
39555
|
+
const selectedCaseStateIds = this.selectCaseStateIdsFromQueryOrDefaults(routeSnapshot, this.defaults?.state_id);
|
|
39556
|
+
caseStates = (this.selectedCaseTypeStates || caseType.states || [])
|
|
39557
|
+
.filter(state => selectedCaseStateIds.includes(state.id));
|
|
39290
39558
|
}
|
|
39291
|
-
return
|
|
39559
|
+
return caseStates;
|
|
39292
39560
|
}
|
|
39293
|
-
|
|
39294
|
-
|
|
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);
|
|
39295
39570
|
}
|
|
39296
39571
|
selectCaseType(selected, caseTypes, routeSnapshot) {
|
|
39297
39572
|
let caseType;
|
|
@@ -39311,7 +39586,7 @@ class WorkbasketFiltersComponent {
|
|
|
39311
39586
|
this.workbasketDefaults = false;
|
|
39312
39587
|
this.selected.jurisdiction = null;
|
|
39313
39588
|
this.initialised = false;
|
|
39314
|
-
this.initFilters(true);
|
|
39589
|
+
this.initFilters(true, true);
|
|
39315
39590
|
}
|
|
39316
39591
|
clearWorkbasketInputs() {
|
|
39317
39592
|
this.workbasketInputsReady = false;
|
|
@@ -39322,7 +39597,7 @@ class WorkbasketFiltersComponent {
|
|
|
39322
39597
|
}
|
|
39323
39598
|
resetCaseState() {
|
|
39324
39599
|
this.defaults.state_id = null;
|
|
39325
|
-
this.selected.caseState =
|
|
39600
|
+
this.selected.caseState = [];
|
|
39326
39601
|
this.selectedCaseTypeStates = null;
|
|
39327
39602
|
}
|
|
39328
39603
|
resetCaseType() {
|
|
@@ -39342,7 +39617,7 @@ class WorkbasketFiltersComponent {
|
|
|
39342
39617
|
}
|
|
39343
39618
|
}
|
|
39344
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)); };
|
|
39345
|
-
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) {
|
|
39346
39621
|
i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "fieldset", 2);
|
|
39347
39622
|
i0.ɵɵtext(3);
|
|
39348
39623
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -39384,37 +39659,32 @@ class WorkbasketFiltersComponent {
|
|
|
39384
39659
|
i0.ɵɵtext(32);
|
|
39385
39660
|
i0.ɵɵpipe(33, "rpxTranslate");
|
|
39386
39661
|
i0.ɵɵelementEnd();
|
|
39387
|
-
i0.ɵɵelementStart(34, "select", 13);
|
|
39388
|
-
i0.ɵɵ
|
|
39389
|
-
i0.ɵɵelementStart(35, "option", 14);
|
|
39390
|
-
i0.ɵɵtext(36);
|
|
39391
|
-
i0.ɵɵpipe(37, "rpxTranslate");
|
|
39392
|
-
i0.ɵɵelementEnd();
|
|
39393
|
-
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; });
|
|
39394
39664
|
i0.ɵɵelementEnd()();
|
|
39395
|
-
i0.ɵɵtemplate(
|
|
39396
|
-
i0.ɵɵelementStart(
|
|
39397
|
-
i0.ɵɵpipe(
|
|
39398
|
-
i0.ɵɵpipe(
|
|
39399
|
-
i0.ɵɵlistener("click", function
|
|
39400
|
-
i0.ɵɵtext(
|
|
39401
|
-
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");
|
|
39402
39672
|
i0.ɵɵelementEnd()();
|
|
39403
39673
|
} if (rf & 2) {
|
|
39404
39674
|
i0.ɵɵadvance(3);
|
|
39405
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
39675
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 25, "Filters"));
|
|
39406
39676
|
i0.ɵɵadvance(2);
|
|
39407
|
-
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(6,
|
|
39408
|
-
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"));
|
|
39409
39679
|
i0.ɵɵadvance(3);
|
|
39410
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
39680
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 31, "Apply"), " ");
|
|
39411
39681
|
i0.ɵɵadvance(3);
|
|
39412
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(12,
|
|
39413
|
-
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"));
|
|
39414
39684
|
i0.ɵɵadvance(3);
|
|
39415
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15,
|
|
39685
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 37, "Reset"), " ");
|
|
39416
39686
|
i0.ɵɵadvance(4);
|
|
39417
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
39687
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 39, "Jurisdiction"));
|
|
39418
39688
|
i0.ɵɵadvance(2);
|
|
39419
39689
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
39420
39690
|
i0.ɵɵadvance();
|
|
@@ -39422,7 +39692,7 @@ class WorkbasketFiltersComponent {
|
|
|
39422
39692
|
i0.ɵɵadvance();
|
|
39423
39693
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
39424
39694
|
i0.ɵɵadvance(3);
|
|
39425
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
39695
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 41, "Case type"));
|
|
39426
39696
|
i0.ɵɵadvance(2);
|
|
39427
39697
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
39428
39698
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -39431,28 +39701,21 @@ class WorkbasketFiltersComponent {
|
|
|
39431
39701
|
i0.ɵɵadvance();
|
|
39432
39702
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
39433
39703
|
i0.ɵɵadvance(3);
|
|
39434
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33,
|
|
39704
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 43, "State"));
|
|
39435
39705
|
i0.ɵɵadvance(2);
|
|
39436
|
-
i0.ɵɵ
|
|
39437
|
-
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39438
|
-
i0.ɵɵadvance();
|
|
39439
|
-
i0.ɵɵproperty("ngValue", null);
|
|
39440
|
-
i0.ɵɵadvance();
|
|
39441
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(37, 47, "Any"));
|
|
39442
|
-
i0.ɵɵadvance(2);
|
|
39443
|
-
i0.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
39706
|
+
i0.ɵɵproperty("states", ctx.selectedCaseTypeStates || i0.ɵɵpureFunction0(51, _c0$d))("selectedStates", ctx.selected.caseState || i0.ɵɵpureFunction0(52, _c0$d))("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
39444
39707
|
i0.ɵɵadvance();
|
|
39445
39708
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
39446
39709
|
i0.ɵɵadvance();
|
|
39447
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(
|
|
39448
|
-
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"));
|
|
39449
39712
|
i0.ɵɵadvance(3);
|
|
39450
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
39713
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(40, 49, "Back to top"), " ");
|
|
39451
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}"] });
|
|
39452
39715
|
}
|
|
39453
39716
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
39454
39717
|
type: Component,
|
|
39455
|
-
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"] }]
|
|
39456
39719
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
39457
39720
|
type: Input
|
|
39458
39721
|
}], defaults: [{
|
|
@@ -39492,9 +39755,11 @@ class WorkbasketFiltersModule {
|
|
|
39492
39755
|
RpxTranslationModule.forChild()
|
|
39493
39756
|
],
|
|
39494
39757
|
declarations: [
|
|
39758
|
+
CaseStateMultiSelectComponent,
|
|
39495
39759
|
WorkbasketFiltersComponent,
|
|
39496
39760
|
],
|
|
39497
39761
|
exports: [
|
|
39762
|
+
CaseStateMultiSelectComponent,
|
|
39498
39763
|
WorkbasketFiltersComponent,
|
|
39499
39764
|
],
|
|
39500
39765
|
providers: [
|
|
@@ -39506,12 +39771,14 @@ class WorkbasketFiltersModule {
|
|
|
39506
39771
|
]
|
|
39507
39772
|
}]
|
|
39508
39773
|
}], null, null); })();
|
|
39509
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [
|
|
39774
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [CaseStateMultiSelectComponent,
|
|
39775
|
+
WorkbasketFiltersComponent], imports: [CommonModule,
|
|
39510
39776
|
FormsModule,
|
|
39511
39777
|
ReactiveFormsModule,
|
|
39512
39778
|
PaletteModule,
|
|
39513
|
-
ConditionalShowModule, i1.RpxTranslationModule], exports: [
|
|
39514
|
-
|
|
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]; });
|
|
39515
39782
|
|
|
39516
39783
|
const READ_ACCESS = 'read';
|
|
39517
39784
|
const CREATE_ACCESS = 'create';
|
|
@@ -45580,7 +45847,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45580
45847
|
} if (rf & 2) {
|
|
45581
45848
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45582
45849
|
i0.ɵɵadvance(3);
|
|
45583
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.
|
|
45850
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.hasSelectedCaseState() ? "Your cases" : "Search result"));
|
|
45584
45851
|
i0.ɵɵadvance(2);
|
|
45585
45852
|
i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
|
|
45586
45853
|
i0.ɵɵadvance();
|
|
@@ -45816,7 +46083,10 @@ class SearchResultComponent {
|
|
|
45816
46083
|
const queryParams = {};
|
|
45817
46084
|
queryParams[SearchResultComponent.PARAM_JURISDICTION] = this.selected.jurisdiction ? this.selected.jurisdiction.id : null;
|
|
45818
46085
|
queryParams[SearchResultComponent.PARAM_CASE_TYPE] = this.selected.caseType ? this.selected.caseType.id : null;
|
|
45819
|
-
|
|
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;
|
|
45820
46090
|
this.changePage.emit({
|
|
45821
46091
|
selected: this.selected,
|
|
45822
46092
|
queryParams
|
|
@@ -45829,6 +46099,15 @@ class SearchResultComponent {
|
|
|
45829
46099
|
topContainer.focus();
|
|
45830
46100
|
}
|
|
45831
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
|
+
}
|
|
45832
46111
|
buildCaseField(col, result) {
|
|
45833
46112
|
return Object.assign(new CaseField(), {
|
|
45834
46113
|
id: col.case_field_id,
|
|
@@ -45974,7 +46253,7 @@ class SearchResultComponent {
|
|
|
45974
46253
|
}
|
|
45975
46254
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
45976
46255
|
type: Component,
|
|
45977
|
-
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"] }]
|
|
45978
46257
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
45979
46258
|
type: Input
|
|
45980
46259
|
}], jurisdiction: [{
|
|
@@ -46311,5 +46590,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46311
46590
|
* Generated bundle index. Do not edit.
|
|
46312
46591
|
*/
|
|
46313
46592
|
|
|
46314
|
-
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 };
|
|
46315
46594
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|