@hmcts/ccd-case-ui-toolkit 7.4.24 → 7.4.26-4923
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/README.md +14 -1
- package/core/index.d.ts +110 -0
- package/core/index.d.ts.map +1 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit-core.mjs +177 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit-core.mjs.map +1 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit-json-utils.mjs +20 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit-json-utils.mjs.map +1 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +327 -176
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +38 -19
- package/index.d.ts.map +1 -1
- package/json-utils/index.d.ts +4 -0
- package/json-utils/index.d.ts.map +1 -0
- package/package.json +10 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, ChangeDetectionStrategy, SecurityContext, Injector,
|
|
2
|
+
import { Component, Input, Injectable, DOCUMENT, Inject, NgModule, EventEmitter, Optional, Output, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, InjectionToken, ChangeDetectorRef, Directive, ViewChild, createNgModule, ViewContainerRef, ChangeDetectionStrategy, SecurityContext, Injector, CUSTOM_ELEMENTS_SCHEMA } 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';
|
|
@@ -14,6 +14,8 @@ import * as i1$2 from '@angular/router';
|
|
|
14
14
|
import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
|
|
15
15
|
import * as i4 from '@angular/forms';
|
|
16
16
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
17
|
+
import { safeJsonParse } from '@hmcts/ccd-case-ui-toolkit/json-utils';
|
|
18
|
+
export { safeJsonParse } from '@hmcts/ccd-case-ui-toolkit/json-utils';
|
|
17
19
|
import moment from 'moment';
|
|
18
20
|
import * as _ from 'underscore';
|
|
19
21
|
import 'reflect-metadata';
|
|
@@ -25,11 +27,9 @@ import * as i1$4 from 'ngx-markdown';
|
|
|
25
27
|
import { MarkdownModule } from 'ngx-markdown';
|
|
26
28
|
import * as i6 from '@angular/material/autocomplete';
|
|
27
29
|
import { MatAutocompleteTrigger, MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
28
|
-
import * as i3 from '@hmcts/ccpay-web-component';
|
|
29
|
-
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
30
30
|
import { v4 } from 'uuid';
|
|
31
31
|
import * as i4$1 from '@angular/platform-browser';
|
|
32
|
-
import * as i3
|
|
32
|
+
import * as i3 from 'ngx-editor';
|
|
33
33
|
import { Editor, NgxEditorModule } from 'ngx-editor';
|
|
34
34
|
import { nodes, marks } from 'ngx-editor/schema';
|
|
35
35
|
import { setBlockType } from 'prosemirror-commands';
|
|
@@ -50,10 +50,8 @@ import * as i5$1 from '@angular/material/form-field';
|
|
|
50
50
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
51
51
|
import * as i6$2 from '@angular/material/datepicker';
|
|
52
52
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
53
|
-
import * as
|
|
53
|
+
import * as i14 from '@angular/material/input';
|
|
54
54
|
import { MatInputModule } from '@angular/material/input';
|
|
55
|
-
import * as i14 from '@hmcts/media-viewer';
|
|
56
|
-
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
57
55
|
import { PortalModule } from '@angular/cdk/portal';
|
|
58
56
|
import * as i2$1 from 'ngx-pagination';
|
|
59
57
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
@@ -61,7 +59,7 @@ import * as i10 from '@angular/material/tabs';
|
|
|
61
59
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
62
60
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
63
61
|
|
|
64
|
-
const _c0$
|
|
62
|
+
const _c0$1d = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
65
63
|
const _c1$w = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
66
64
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
67
65
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
@@ -139,7 +137,7 @@ class FooterComponent {
|
|
|
139
137
|
workhours;
|
|
140
138
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
141
139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$w, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
142
|
-
i0.ɵɵprojectionDef(_c0$
|
|
140
|
+
i0.ɵɵprojectionDef(_c0$1d);
|
|
143
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
144
142
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
145
143
|
i0.ɵɵelementEnd()();
|
|
@@ -780,7 +778,7 @@ class ProfileService {
|
|
|
780
778
|
type: Injectable
|
|
781
779
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
782
780
|
|
|
783
|
-
const _c0$
|
|
781
|
+
const _c0$1c = [[["", "headerNavigation", ""]]];
|
|
784
782
|
const _c1$v = ["[headerNavigation]"];
|
|
785
783
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
786
784
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
@@ -831,7 +829,7 @@ class HeaderBarComponent {
|
|
|
831
829
|
}
|
|
832
830
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(i0.ɵɵdirectiveInject(ProfileService, 8), i0.ɵɵdirectiveInject(ProfileNotifier, 8)); };
|
|
833
831
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$v, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
834
|
-
i0.ɵɵprojectionDef(_c0$
|
|
832
|
+
i0.ɵɵprojectionDef(_c0$1c);
|
|
835
833
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
836
834
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
837
835
|
i0.ɵɵelementEnd();
|
|
@@ -885,13 +883,13 @@ class HeaderBarComponent {
|
|
|
885
883
|
}] }); })();
|
|
886
884
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 11 }); })();
|
|
887
885
|
|
|
888
|
-
const _c0$
|
|
886
|
+
const _c0$1b = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
889
887
|
const _c1$u = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
890
888
|
class NavigationComponent {
|
|
891
889
|
isSolicitor;
|
|
892
890
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
893
891
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
894
|
-
i0.ɵɵprojectionDef(_c0$
|
|
892
|
+
i0.ɵɵprojectionDef(_c0$1b);
|
|
895
893
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
896
894
|
i0.ɵɵprojection(2);
|
|
897
895
|
i0.ɵɵprojection(3, 1);
|
|
@@ -1009,12 +1007,12 @@ class HeadersModule {
|
|
|
1009
1007
|
}], null, null); })();
|
|
1010
1008
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
1011
1009
|
|
|
1012
|
-
const _c0$
|
|
1010
|
+
const _c0$1a = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
1013
1011
|
const _c1$t = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
1014
1012
|
class BodyComponent {
|
|
1015
1013
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
1016
1014
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$t, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1017
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1015
|
+
i0.ɵɵprojectionDef(_c0$1a);
|
|
1018
1016
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1019
1017
|
i0.ɵɵprojection(1);
|
|
1020
1018
|
i0.ɵɵprojection(2, 1);
|
|
@@ -1028,7 +1026,7 @@ class BodyComponent {
|
|
|
1028
1026
|
}], null, null); })();
|
|
1029
1027
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
|
|
1030
1028
|
|
|
1031
|
-
const _c0$
|
|
1029
|
+
const _c0$19 = a0 => ({ "govuk-input--error": a0 });
|
|
1032
1030
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
1033
1031
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
1034
1032
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -1045,7 +1043,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
1045
1043
|
i0.ɵɵadvance();
|
|
1046
1044
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
1047
1045
|
i0.ɵɵadvance(2);
|
|
1048
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1046
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1049
1047
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
1050
1048
|
} }
|
|
1051
1049
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1064,7 +1062,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
1064
1062
|
i0.ɵɵadvance();
|
|
1065
1063
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
1066
1064
|
i0.ɵɵadvance(2);
|
|
1067
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1065
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1068
1066
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
1069
1067
|
} }
|
|
1070
1068
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1083,7 +1081,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
1083
1081
|
i0.ɵɵadvance();
|
|
1084
1082
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
1085
1083
|
i0.ɵɵadvance(2);
|
|
1086
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
1084
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$19, ctx_r6.isInvalid));
|
|
1087
1085
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
1088
1086
|
} }
|
|
1089
1087
|
class DateInputComponent {
|
|
@@ -1319,21 +1317,21 @@ class DateInputComponent {
|
|
|
1319
1317
|
i0.ɵɵadvance();
|
|
1320
1318
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
1321
1319
|
i0.ɵɵadvance(2);
|
|
1322
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
1320
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$19, ctx.isInvalid));
|
|
1323
1321
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
1324
1322
|
i0.ɵɵadvance(3);
|
|
1325
1323
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
1326
1324
|
i0.ɵɵadvance();
|
|
1327
1325
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
1328
1326
|
i0.ɵɵadvance(2);
|
|
1329
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
1327
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$19, ctx.isInvalid));
|
|
1330
1328
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
1331
1329
|
i0.ɵɵadvance(3);
|
|
1332
1330
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
1333
1331
|
i0.ɵɵadvance();
|
|
1334
1332
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
1335
1333
|
i0.ɵɵadvance(2);
|
|
1336
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
1334
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$19, ctx.isInvalid));
|
|
1337
1335
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
1338
1336
|
i0.ɵɵadvance(2);
|
|
1339
1337
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -1370,7 +1368,7 @@ class DateInputComponent {
|
|
|
1370
1368
|
}] }); })();
|
|
1371
1369
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
|
|
1372
1370
|
|
|
1373
|
-
const _c0$
|
|
1371
|
+
const _c0$18 = ["*"];
|
|
1374
1372
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1375
1373
|
i0.ɵɵelementContainerStart(0);
|
|
1376
1374
|
i0.ɵɵnamespaceSVG();
|
|
@@ -1420,7 +1418,7 @@ class AlertComponent {
|
|
|
1420
1418
|
showIcon = true;
|
|
1421
1419
|
alertMessageType = AlertMessageType;
|
|
1422
1420
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
1423
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$
|
|
1421
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$18, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1424
1422
|
i0.ɵɵprojectionDef();
|
|
1425
1423
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1426
1424
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1634,14 +1632,14 @@ class NotificationBannerComponent {
|
|
|
1634
1632
|
}] }); })();
|
|
1635
1633
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
|
|
1636
1634
|
|
|
1637
|
-
const _c0$
|
|
1635
|
+
const _c0$17 = ["*"];
|
|
1638
1636
|
const _c1$s = a0 => ({ "js-hidden": a0 });
|
|
1639
1637
|
class TabComponent {
|
|
1640
1638
|
id;
|
|
1641
1639
|
title;
|
|
1642
1640
|
selected;
|
|
1643
1641
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1644
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$
|
|
1642
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$17, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1645
1643
|
i0.ɵɵprojectionDef();
|
|
1646
1644
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1647
1645
|
i0.ɵɵprojection(1);
|
|
@@ -1663,7 +1661,7 @@ class TabComponent {
|
|
|
1663
1661
|
}] }); })();
|
|
1664
1662
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
|
|
1665
1663
|
|
|
1666
|
-
const _c0$
|
|
1664
|
+
const _c0$16 = ["tab"];
|
|
1667
1665
|
const _c1$r = ["*"];
|
|
1668
1666
|
const _c2$5 = () => ["."];
|
|
1669
1667
|
const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
@@ -1710,7 +1708,7 @@ class TabsComponent {
|
|
|
1710
1708
|
let _t;
|
|
1711
1709
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1712
1710
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1713
|
-
i0.ɵɵviewQuery(_c0$
|
|
1711
|
+
i0.ɵɵviewQuery(_c0$16, 5);
|
|
1714
1712
|
} if (rf & 2) {
|
|
1715
1713
|
let _t;
|
|
1716
1714
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1769,7 +1767,7 @@ class TabsModule {
|
|
|
1769
1767
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1770
1768
|
TabComponent] }); })();
|
|
1771
1769
|
|
|
1772
|
-
const _c0$
|
|
1770
|
+
const _c0$15 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1773
1771
|
class ActivityBannerComponent {
|
|
1774
1772
|
bannerType;
|
|
1775
1773
|
description;
|
|
@@ -1788,7 +1786,7 @@ class ActivityBannerComponent {
|
|
|
1788
1786
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1789
1787
|
i0.ɵɵelementEnd()();
|
|
1790
1788
|
} if (rf & 2) {
|
|
1791
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$
|
|
1789
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$15, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1792
1790
|
i0.ɵɵadvance(2);
|
|
1793
1791
|
i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
|
|
1794
1792
|
i0.ɵɵadvance(3);
|
|
@@ -1891,21 +1889,6 @@ class SessionStorageService {
|
|
|
1891
1889
|
}]
|
|
1892
1890
|
}], null, null); })();
|
|
1893
1891
|
|
|
1894
|
-
const logger = new StructuredLoggerService();
|
|
1895
|
-
function safeJsonParse(value, fallback = null) {
|
|
1896
|
-
if (!value) {
|
|
1897
|
-
return fallback;
|
|
1898
|
-
}
|
|
1899
|
-
try {
|
|
1900
|
-
return JSON.parse(value);
|
|
1901
|
-
}
|
|
1902
|
-
catch (error) {
|
|
1903
|
-
// Log for diagnostics, then return fallback to avoid UI crashes.
|
|
1904
|
-
logger.error('safeJsonParse failed to parse JSON.', { error });
|
|
1905
|
-
return fallback;
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
1892
|
const SessionErrorRoute = new InjectionToken('SessionErrorRoute');
|
|
1910
1893
|
const SessionJsonErrorLogger = new InjectionToken('SessionJsonErrorLogger');
|
|
1911
1894
|
class SessionStorageGuard {
|
|
@@ -4053,6 +4036,7 @@ class CaseTab {
|
|
|
4053
4036
|
order;
|
|
4054
4037
|
fields;
|
|
4055
4038
|
show_condition;
|
|
4039
|
+
defaultFocus;
|
|
4056
4040
|
}
|
|
4057
4041
|
__decorate([
|
|
4058
4042
|
Type(() => CaseField),
|
|
@@ -13682,7 +13666,7 @@ class CaseEventCompletionComponent {
|
|
|
13682
13666
|
}] }); })();
|
|
13683
13667
|
(() => { (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 }); })();
|
|
13684
13668
|
|
|
13685
|
-
const _c0$
|
|
13669
|
+
const _c0$14 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13686
13670
|
class CaseEventCompletionTaskCancelledComponent {
|
|
13687
13671
|
context;
|
|
13688
13672
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
@@ -13751,7 +13735,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13751
13735
|
i0.ɵɵadvance(4);
|
|
13752
13736
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
13753
13737
|
i0.ɵɵadvance(2);
|
|
13754
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$
|
|
13738
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$14, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
13755
13739
|
i0.ɵɵadvance();
|
|
13756
13740
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
13757
13741
|
} }, dependencies: [i1$2.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -13766,7 +13750,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
13766
13750
|
}] }); })();
|
|
13767
13751
|
(() => { (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 }); })();
|
|
13768
13752
|
|
|
13769
|
-
const _c0$
|
|
13753
|
+
const _c0$13 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
13770
13754
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
13771
13755
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13772
13756
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -13819,7 +13803,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
13819
13803
|
i0.ɵɵadvance(4);
|
|
13820
13804
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
13821
13805
|
i0.ɵɵadvance(2);
|
|
13822
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$
|
|
13806
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$13, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
13823
13807
|
i0.ɵɵadvance();
|
|
13824
13808
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
13825
13809
|
} }
|
|
@@ -14222,7 +14206,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14222
14206
|
}] }); })();
|
|
14223
14207
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
|
|
14224
14208
|
|
|
14225
|
-
const _c0
|
|
14209
|
+
const _c0$12 = ["writeComplexFieldComponent"];
|
|
14226
14210
|
const _c1$q = a0 => ({ "form-group-error": a0 });
|
|
14227
14211
|
const _c2$4 = a0 => ({ "govuk-input--error": a0 });
|
|
14228
14212
|
function WriteAddressFieldComponent_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -14501,7 +14485,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14501
14485
|
}
|
|
14502
14486
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
14503
14487
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14504
|
-
i0.ɵɵviewQuery(_c0
|
|
14488
|
+
i0.ɵɵviewQuery(_c0$12, 5);
|
|
14505
14489
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
14506
14490
|
} if (rf & 2) {
|
|
14507
14491
|
let _t;
|
|
@@ -14564,7 +14548,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
14564
14548
|
type: Input
|
|
14565
14549
|
}] }); })();
|
|
14566
14550
|
|
|
14567
|
-
const _c0$
|
|
14551
|
+
const _c0$11 = ["journeyChild"];
|
|
14568
14552
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
14569
14553
|
multipageComponentStateService;
|
|
14570
14554
|
journeyStartPageNumber = 0;
|
|
@@ -14639,7 +14623,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14639
14623
|
;
|
|
14640
14624
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14641
14625
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14642
|
-
i0.ɵɵviewQuery(_c0$
|
|
14626
|
+
i0.ɵɵviewQuery(_c0$11, 5);
|
|
14643
14627
|
} if (rf & 2) {
|
|
14644
14628
|
let _t;
|
|
14645
14629
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14654,7 +14638,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
14654
14638
|
args: ['journeyChild']
|
|
14655
14639
|
}] }); })();
|
|
14656
14640
|
|
|
14657
|
-
const _c0$
|
|
14641
|
+
const _c0$10 = ["journeyChild"];
|
|
14658
14642
|
class AbstractJourneyComponent {
|
|
14659
14643
|
multipageComponentStateService;
|
|
14660
14644
|
journeyStartPageNumber = 0;
|
|
@@ -14716,7 +14700,7 @@ class AbstractJourneyComponent {
|
|
|
14716
14700
|
onPageChange() { }
|
|
14717
14701
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
14718
14702
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14719
|
-
i0.ɵɵviewQuery(_c0$
|
|
14703
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
14720
14704
|
} if (rf & 2) {
|
|
14721
14705
|
let _t;
|
|
14722
14706
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -14745,8 +14729,9 @@ var DisplayContextCustomParameter;
|
|
|
14745
14729
|
DisplayContextCustomParameter["QueryManagementWriteTest"] = "QueryManagementWriteTest";
|
|
14746
14730
|
})(DisplayContextCustomParameter || (DisplayContextCustomParameter = {}));
|
|
14747
14731
|
|
|
14732
|
+
const _c0$$ = ["mediaViewerHost"];
|
|
14748
14733
|
function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
14749
|
-
i0.ɵɵelementStart(0, "li")(1, "button",
|
|
14734
|
+
i0.ɵɵelementStart(0, "li")(1, "button", 9);
|
|
14750
14735
|
i0.ɵɵtext(2);
|
|
14751
14736
|
i0.ɵɵelementEnd()();
|
|
14752
14737
|
} if (rf & 2) {
|
|
@@ -14756,11 +14741,11 @@ function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (
|
|
|
14756
14741
|
} }
|
|
14757
14742
|
function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
14758
14743
|
i0.ɵɵelementContainerStart(0);
|
|
14759
|
-
i0.ɵɵelementStart(1, "div",
|
|
14744
|
+
i0.ɵɵelementStart(1, "div", 3)(2, "div", 4)(3, "h2", 5);
|
|
14760
14745
|
i0.ɵɵtext(4, "There is a problem");
|
|
14761
14746
|
i0.ɵɵelementEnd();
|
|
14762
|
-
i0.ɵɵelementStart(5, "div",
|
|
14763
|
-
i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li",
|
|
14747
|
+
i0.ɵɵelementStart(5, "div", 6)(6, "ul", 7);
|
|
14748
|
+
i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li", 8);
|
|
14764
14749
|
i0.ɵɵelementEnd()()()();
|
|
14765
14750
|
i0.ɵɵelementContainerEnd();
|
|
14766
14751
|
} if (rf & 2) {
|
|
@@ -14769,33 +14754,29 @@ function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf &
|
|
|
14769
14754
|
i0.ɵɵproperty("ngForOf", ctx_r1.errorMessages);
|
|
14770
14755
|
} }
|
|
14771
14756
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
14772
|
-
i0.ɵɵelementStart(0, "div",
|
|
14757
|
+
i0.ɵɵelementStart(0, "div", 10)(1, "h1", 11);
|
|
14773
14758
|
i0.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
14774
14759
|
i0.ɵɵelementEnd();
|
|
14775
|
-
i0.ɵɵelementStart(3, "p",
|
|
14760
|
+
i0.ɵɵelementStart(3, "p", 12);
|
|
14776
14761
|
i0.ɵɵtext(4, "Try again later.");
|
|
14777
14762
|
i0.ɵɵelementEnd()();
|
|
14778
14763
|
} }
|
|
14779
14764
|
function CaseFileViewFieldComponent_div_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
14780
14765
|
i0.ɵɵelementContainerStart(0);
|
|
14781
|
-
i0.ɵɵ
|
|
14766
|
+
i0.ɵɵelementContainer(1, null, 0);
|
|
14782
14767
|
i0.ɵɵelementContainerEnd();
|
|
14783
|
-
} if (rf & 2) {
|
|
14784
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
14785
|
-
i0.ɵɵadvance();
|
|
14786
|
-
i0.ɵɵproperty("url", ctx_r1.currentDocument.document_binary_url)("downloadFileName", ctx_r1.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r1.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh")("caseId", ctx_r1.caseId)("multimediaPlayerEnabled", true)("enableICP", ctx_r1.isIcpEnabled());
|
|
14787
14768
|
} }
|
|
14788
14769
|
function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14789
14770
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
14790
|
-
i0.ɵɵelementStart(0, "div")(1, "h2",
|
|
14771
|
+
i0.ɵɵelementStart(0, "div")(1, "h2", 13);
|
|
14791
14772
|
i0.ɵɵtext(2, "Case file");
|
|
14792
14773
|
i0.ɵɵelementEnd();
|
|
14793
|
-
i0.ɵɵelementStart(3, "div",
|
|
14774
|
+
i0.ɵɵelementStart(3, "div", 14)(4, "div", 15)(5, "ccd-case-file-view-folder", 16);
|
|
14794
14775
|
i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.setMediaViewerFile($event); return i0.ɵɵresetView(ctx_r1.resetErrorMessages()); })("moveDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.moveDocument($event)); });
|
|
14795
14776
|
i0.ɵɵelementEnd()();
|
|
14796
|
-
i0.ɵɵelement(6, "div",
|
|
14797
|
-
i0.ɵɵelementStart(7, "div",
|
|
14798
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template,
|
|
14777
|
+
i0.ɵɵelement(6, "div", 17);
|
|
14778
|
+
i0.ɵɵelementStart(7, "div", 18);
|
|
14779
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 3, 0, "ng-container", 1);
|
|
14799
14780
|
i0.ɵɵelementEnd()()();
|
|
14800
14781
|
} if (rf & 2) {
|
|
14801
14782
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -14806,6 +14787,8 @@ function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
14806
14787
|
} }
|
|
14807
14788
|
class CaseFileViewFieldComponent {
|
|
14808
14789
|
elementRef;
|
|
14790
|
+
changeDetectorRef;
|
|
14791
|
+
environmentInjector;
|
|
14809
14792
|
route;
|
|
14810
14793
|
caseFileViewService;
|
|
14811
14794
|
documentManagementService;
|
|
@@ -14826,8 +14809,14 @@ class CaseFileViewFieldComponent {
|
|
|
14826
14809
|
icp_jurisdictions = [];
|
|
14827
14810
|
icpEnabled = false;
|
|
14828
14811
|
caseId;
|
|
14829
|
-
|
|
14812
|
+
mediaViewerHost;
|
|
14813
|
+
mediaViewerComponentRef;
|
|
14814
|
+
mediaViewerModuleRef;
|
|
14815
|
+
mediaViewerRenderId = 0;
|
|
14816
|
+
constructor(elementRef, changeDetectorRef, environmentInjector, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, windowService, caseNotifier, abstractConfig) {
|
|
14830
14817
|
this.elementRef = elementRef;
|
|
14818
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
14819
|
+
this.environmentInjector = environmentInjector;
|
|
14831
14820
|
this.route = route;
|
|
14832
14821
|
this.caseFileViewService = caseFileViewService;
|
|
14833
14822
|
this.documentManagementService = documentManagementService;
|
|
@@ -14890,6 +14879,7 @@ class CaseFileViewFieldComponent {
|
|
|
14890
14879
|
if (this.documentManagementService.isHtmlDocument(documentDetails)) {
|
|
14891
14880
|
const documentBinaryUrl = this.documentManagementService.getDocumentBinaryUrl(documentDetails);
|
|
14892
14881
|
if (documentBinaryUrl) {
|
|
14882
|
+
this.destroyMediaViewer();
|
|
14893
14883
|
this.currentDocument = undefined;
|
|
14894
14884
|
this.windowService.openOnNewTab(documentBinaryUrl);
|
|
14895
14885
|
return;
|
|
@@ -14897,6 +14887,7 @@ class CaseFileViewFieldComponent {
|
|
|
14897
14887
|
}
|
|
14898
14888
|
const mediaViewerInfo = this.documentManagementService.getMediaViewerInfo(documentDetails);
|
|
14899
14889
|
this.currentDocument = JSON.parse(mediaViewerInfo);
|
|
14890
|
+
void this.renderMediaViewer();
|
|
14900
14891
|
}
|
|
14901
14892
|
moveDocument(data) {
|
|
14902
14893
|
const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
@@ -14922,6 +14913,9 @@ class CaseFileViewFieldComponent {
|
|
|
14922
14913
|
this.errorMessages = [];
|
|
14923
14914
|
}
|
|
14924
14915
|
ngOnDestroy() {
|
|
14916
|
+
this.mediaViewerRenderId++;
|
|
14917
|
+
this.destroyMediaViewer();
|
|
14918
|
+
this.mediaViewerModuleRef?.destroy();
|
|
14925
14919
|
if (this.categoriesAndDocumentsSubscription) {
|
|
14926
14920
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
14927
14921
|
}
|
|
@@ -14929,6 +14923,43 @@ class CaseFileViewFieldComponent {
|
|
|
14929
14923
|
isIcpEnabled() {
|
|
14930
14924
|
return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
|
|
14931
14925
|
}
|
|
14926
|
+
async renderMediaViewer() {
|
|
14927
|
+
const renderId = ++this.mediaViewerRenderId;
|
|
14928
|
+
this.destroyMediaViewer();
|
|
14929
|
+
this.changeDetectorRef.detectChanges();
|
|
14930
|
+
let mediaViewer;
|
|
14931
|
+
try {
|
|
14932
|
+
mediaViewer = await import('@hmcts/media-viewer');
|
|
14933
|
+
}
|
|
14934
|
+
catch {
|
|
14935
|
+
if (renderId === this.mediaViewerRenderId) {
|
|
14936
|
+
this.errorMessages = ['The document viewer could not be loaded. Please try again.'];
|
|
14937
|
+
}
|
|
14938
|
+
return;
|
|
14939
|
+
}
|
|
14940
|
+
if (renderId !== this.mediaViewerRenderId || !this.currentDocument || !this.mediaViewerHost) {
|
|
14941
|
+
return;
|
|
14942
|
+
}
|
|
14943
|
+
const { MediaViewerComponent, MediaViewerModule } = mediaViewer;
|
|
14944
|
+
this.mediaViewerModuleRef ??= createNgModule(MediaViewerModule, this.environmentInjector);
|
|
14945
|
+
this.mediaViewerComponentRef = this.mediaViewerHost.createComponent(MediaViewerComponent, {
|
|
14946
|
+
ngModuleRef: this.mediaViewerModuleRef
|
|
14947
|
+
});
|
|
14948
|
+
this.mediaViewerComponentRef.setInput('url', this.currentDocument.document_binary_url);
|
|
14949
|
+
this.mediaViewerComponentRef.setInput('downloadFileName', this.currentDocument.document_filename);
|
|
14950
|
+
this.mediaViewerComponentRef.setInput('showToolbar', true);
|
|
14951
|
+
this.mediaViewerComponentRef.setInput('contentType', this.currentDocument.content_type);
|
|
14952
|
+
this.mediaViewerComponentRef.setInput('enableAnnotations', true);
|
|
14953
|
+
this.mediaViewerComponentRef.setInput('enableRedactions', true);
|
|
14954
|
+
this.mediaViewerComponentRef.setInput('height', '94.5vh');
|
|
14955
|
+
this.mediaViewerComponentRef.setInput('caseId', this.caseId);
|
|
14956
|
+
this.mediaViewerComponentRef.setInput('multimediaPlayerEnabled', true);
|
|
14957
|
+
this.mediaViewerComponentRef.setInput('enableICP', this.isIcpEnabled());
|
|
14958
|
+
}
|
|
14959
|
+
destroyMediaViewer() {
|
|
14960
|
+
this.mediaViewerHost?.clear();
|
|
14961
|
+
this.mediaViewerComponentRef = undefined;
|
|
14962
|
+
}
|
|
14932
14963
|
moveDocumentError(err) {
|
|
14933
14964
|
const defaultMsg = 'We couldn\'t move the document. Please try again.';
|
|
14934
14965
|
if (!(err instanceof HttpErrorResponse)) {
|
|
@@ -14954,9 +14985,14 @@ class CaseFileViewFieldComponent {
|
|
|
14954
14985
|
return defaultMsg;
|
|
14955
14986
|
}
|
|
14956
14987
|
}
|
|
14957
|
-
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
14958
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]],
|
|
14959
|
-
i0.ɵɵ
|
|
14988
|
+
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.EnvironmentInjector), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
14989
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], viewQuery: function CaseFileViewFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14990
|
+
i0.ɵɵviewQuery(_c0$$, 5, ViewContainerRef);
|
|
14991
|
+
} if (rf & 2) {
|
|
14992
|
+
let _t;
|
|
14993
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.mediaViewerHost = _t.first);
|
|
14994
|
+
} }, standalone: false, decls: 3, vars: 3, consts: [["mediaViewerHost", ""], [4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["type", "button", 1, "govuk-js-link"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14995
|
+
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 1)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 2)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 1);
|
|
14960
14996
|
} if (rf & 2) {
|
|
14961
14997
|
i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
|
|
14962
14998
|
i0.ɵɵadvance();
|
|
@@ -14967,9 +15003,12 @@ class CaseFileViewFieldComponent {
|
|
|
14967
15003
|
}
|
|
14968
15004
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
14969
15005
|
type: Component,
|
|
14970
|
-
args: [{ selector: 'ccd-case-file-view-field', standalone: false, template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <
|
|
14971
|
-
}], () => [{ type: i0.ElementRef }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }],
|
|
14972
|
-
|
|
15006
|
+
args: [{ selector: 'ccd-case-file-view-field', standalone: false, template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <ng-container #mediaViewerHost></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
15007
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.EnvironmentInjector }, { type: i1$2.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: WindowService }, { type: CaseNotifier }, { type: AbstractAppConfig }], { mediaViewerHost: [{
|
|
15008
|
+
type: ViewChild,
|
|
15009
|
+
args: ['mediaViewerHost', { read: ViewContainerRef }]
|
|
15010
|
+
}] }); })();
|
|
15011
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 33 }); })();
|
|
14973
15012
|
|
|
14974
15013
|
const PVP_FLAG_CODE = 'PF0021';
|
|
14975
15014
|
const PVP_DISPLAY_TEXT = 'POTENTIALLY VIOLENT PERSON';
|
|
@@ -16201,7 +16240,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
16201
16240
|
}], null, null); })();
|
|
16202
16241
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
|
|
16203
16242
|
|
|
16204
|
-
const _c0$
|
|
16243
|
+
const _c0$_ = ["writeComplexFieldComponent"];
|
|
16205
16244
|
const _c1$p = a0 => ({ "form-group-error": a0 });
|
|
16206
16245
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16207
16246
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16282,7 +16321,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16282
16321
|
}
|
|
16283
16322
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
16284
16323
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16285
|
-
i0.ɵɵviewQuery(_c0$
|
|
16324
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
16286
16325
|
} if (rf & 2) {
|
|
16287
16326
|
let _t;
|
|
16288
16327
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -16316,7 +16355,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16316
16355
|
}] }); })();
|
|
16317
16356
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
|
|
16318
16357
|
|
|
16319
|
-
const _c0$
|
|
16358
|
+
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 });
|
|
16320
16359
|
const _c1$o = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
16321
16360
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
16322
16361
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -16327,7 +16366,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
16327
16366
|
} if (rf & 2) {
|
|
16328
16367
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
16329
16368
|
i0.ɵɵadvance(4);
|
|
16330
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$
|
|
16369
|
+
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);
|
|
16331
16370
|
} }
|
|
16332
16371
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16333
16372
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -16449,7 +16488,7 @@ class RemoveDialogComponent {
|
|
|
16449
16488
|
}], () => [{ type: i1$3.MatDialogRef }], null); })();
|
|
16450
16489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
|
|
16451
16490
|
|
|
16452
|
-
const _c0$
|
|
16491
|
+
const _c0$Y = ["collectionItem"];
|
|
16453
16492
|
function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
|
|
16454
16493
|
i0.ɵɵelementStart(0, "h2", 7);
|
|
16455
16494
|
i0.ɵɵtext(1);
|
|
@@ -16870,7 +16909,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16870
16909
|
}
|
|
16871
16910
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
16872
16911
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16873
|
-
i0.ɵɵviewQuery(_c0$
|
|
16912
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
16874
16913
|
} if (rf & 2) {
|
|
16875
16914
|
let _t;
|
|
16876
16915
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -17186,7 +17225,7 @@ class FileUploadStateService {
|
|
|
17186
17225
|
type: Injectable
|
|
17187
17226
|
}], null, null); })();
|
|
17188
17227
|
|
|
17189
|
-
const _c0$
|
|
17228
|
+
const _c0$X = ["fileInput"];
|
|
17190
17229
|
const _c1$n = a0 => ({ "form-group-error bottom-30": a0 });
|
|
17191
17230
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17192
17231
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -17565,7 +17604,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17565
17604
|
}
|
|
17566
17605
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
17567
17606
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17568
|
-
i0.ɵɵviewQuery(_c0$
|
|
17607
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
17569
17608
|
} if (rf & 2) {
|
|
17570
17609
|
let _t;
|
|
17571
17610
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -17680,7 +17719,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
17680
17719
|
}], null, null); })();
|
|
17681
17720
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
|
|
17682
17721
|
|
|
17683
|
-
const _c0$
|
|
17722
|
+
const _c0$W = a0 => ({ "form-group-error": a0 });
|
|
17684
17723
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
17685
17724
|
i0.ɵɵelementStart(0, "span", 8);
|
|
17686
17725
|
i0.ɵɵtext(1);
|
|
@@ -17768,7 +17807,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17768
17807
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
17769
17808
|
i0.ɵɵelementEnd()();
|
|
17770
17809
|
} if (rf & 2) {
|
|
17771
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
17810
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$W, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
17772
17811
|
i0.ɵɵadvance();
|
|
17773
17812
|
i0.ɵɵproperty("for", ctx.id());
|
|
17774
17813
|
i0.ɵɵadvance();
|
|
@@ -17949,7 +17988,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
17949
17988
|
}], null, null); })();
|
|
17950
17989
|
(() => { (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 }); })();
|
|
17951
17990
|
|
|
17952
|
-
const _c0$
|
|
17991
|
+
const _c0$V = a0 => ({ "error": a0 });
|
|
17953
17992
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
17954
17993
|
i0.ɵɵelementStart(0, "span", 5);
|
|
17955
17994
|
i0.ɵɵtext(1);
|
|
@@ -18069,7 +18108,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
18069
18108
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
|
|
18070
18109
|
i0.ɵɵelementEnd()();
|
|
18071
18110
|
} if (rf & 2) {
|
|
18072
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
18111
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$V, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
18073
18112
|
i0.ɵɵadvance(3);
|
|
18074
18113
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
18075
18114
|
i0.ɵɵadvance();
|
|
@@ -18149,7 +18188,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18149
18188
|
}], null, null); })();
|
|
18150
18189
|
(() => { (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 }); })();
|
|
18151
18190
|
|
|
18152
|
-
const _c0$
|
|
18191
|
+
const _c0$U = a0 => ({ "form-group-error": a0 });
|
|
18153
18192
|
const _c1$m = a0 => ({ selected: a0 });
|
|
18154
18193
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18155
18194
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -18244,7 +18283,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18244
18283
|
i0.ɵɵelementContainerEnd();
|
|
18245
18284
|
i0.ɵɵelementEnd()();
|
|
18246
18285
|
} if (rf & 2) {
|
|
18247
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18286
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$U, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
18248
18287
|
i0.ɵɵadvance(3);
|
|
18249
18288
|
i0.ɵɵproperty("for", ctx.id());
|
|
18250
18289
|
i0.ɵɵadvance();
|
|
@@ -18298,7 +18337,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
18298
18337
|
}], null, null); })();
|
|
18299
18338
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
|
|
18300
18339
|
|
|
18301
|
-
const _c0$
|
|
18340
|
+
const _c0$T = a0 => ({ "form-group-error": a0 });
|
|
18302
18341
|
const _c1$l = a0 => ({ "govuk-input--error": a0 });
|
|
18303
18342
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18304
18343
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -18344,7 +18383,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18344
18383
|
i0.ɵɵelement(5, "input", 5);
|
|
18345
18384
|
i0.ɵɵelementEnd();
|
|
18346
18385
|
} if (rf & 2) {
|
|
18347
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18386
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$T, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
18348
18387
|
i0.ɵɵadvance();
|
|
18349
18388
|
i0.ɵɵproperty("for", ctx.id());
|
|
18350
18389
|
i0.ɵɵadvance();
|
|
@@ -18386,7 +18425,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18386
18425
|
}], null, null); })();
|
|
18387
18426
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
|
|
18388
18427
|
|
|
18389
|
-
const _c0$
|
|
18428
|
+
const _c0$S = a0 => ({ "form-group-error": a0 });
|
|
18390
18429
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18391
18430
|
i0.ɵɵelementStart(0, "span", 8);
|
|
18392
18431
|
i0.ɵɵtext(1);
|
|
@@ -18461,7 +18500,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18461
18500
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
18462
18501
|
i0.ɵɵelementEnd()();
|
|
18463
18502
|
} if (rf & 2) {
|
|
18464
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18503
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$S, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
18465
18504
|
i0.ɵɵadvance();
|
|
18466
18505
|
i0.ɵɵproperty("for", ctx.id());
|
|
18467
18506
|
i0.ɵɵadvance();
|
|
@@ -18524,7 +18563,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
18524
18563
|
}], null, null); })();
|
|
18525
18564
|
(() => { (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 }); })();
|
|
18526
18565
|
|
|
18527
|
-
const _c0$
|
|
18566
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
18528
18567
|
const _c1$k = a0 => ({ selected: a0 });
|
|
18529
18568
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
18530
18569
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -18592,7 +18631,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18592
18631
|
i0.ɵɵelementContainerEnd();
|
|
18593
18632
|
i0.ɵɵelementEnd()();
|
|
18594
18633
|
} if (rf & 2) {
|
|
18595
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
18634
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$R, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
18596
18635
|
i0.ɵɵadvance(3);
|
|
18597
18636
|
i0.ɵɵproperty("for", ctx.id());
|
|
18598
18637
|
i0.ɵɵadvance();
|
|
@@ -18668,7 +18707,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18668
18707
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
18669
18708
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
|
|
18670
18709
|
|
|
18671
|
-
const _c0$
|
|
18710
|
+
const _c0$Q = a0 => ({ "form-group-error": a0 });
|
|
18672
18711
|
const _c1$j = a0 => ({ "hide-autocomplete": a0 });
|
|
18673
18712
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18674
18713
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -18902,7 +18941,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18902
18941
|
i0.ɵɵelementEnd()();
|
|
18903
18942
|
} if (rf & 2) {
|
|
18904
18943
|
const autoComplete_r4 = i0.ɵɵreference(7);
|
|
18905
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
18944
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$Q, !!ctx.judicialUserControl && ctx.errors));
|
|
18906
18945
|
i0.ɵɵadvance();
|
|
18907
18946
|
i0.ɵɵproperty("for", ctx.id());
|
|
18908
18947
|
i0.ɵɵadvance();
|
|
@@ -18984,7 +19023,7 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18984
19023
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18985
19024
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
|
|
18986
19025
|
|
|
18987
|
-
const _c0$
|
|
19026
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
18988
19027
|
const _c1$i = a0 => ({ "hide-autocomplete": a0 });
|
|
18989
19028
|
function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
18990
19029
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -19223,7 +19262,7 @@ class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
19223
19262
|
i0.ɵɵelementEnd()();
|
|
19224
19263
|
} if (rf & 2) {
|
|
19225
19264
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
19226
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
19265
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$P, !!ctx.staffUserControl && ctx.errors));
|
|
19227
19266
|
i0.ɵɵadvance();
|
|
19228
19267
|
i0.ɵɵproperty("for", ctx.id());
|
|
19229
19268
|
i0.ɵɵadvance();
|
|
@@ -19688,7 +19727,7 @@ class ValidatorsUtils {
|
|
|
19688
19727
|
args: [{ providedIn: 'root' }]
|
|
19689
19728
|
}], null, null); })();
|
|
19690
19729
|
|
|
19691
|
-
const _c0$
|
|
19730
|
+
const _c0$O = a0 => ({ "govuk-form-group--error": a0 });
|
|
19692
19731
|
const _c1$h = a0 => ({ "table-group-error": a0 });
|
|
19693
19732
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19694
19733
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -19755,7 +19794,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
19755
19794
|
i0.ɵɵelementEnd()();
|
|
19756
19795
|
} if (rf & 2) {
|
|
19757
19796
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19758
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
19797
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$O, !!ctx_r1.caseReasonCommentsError));
|
|
19759
19798
|
i0.ɵɵadvance(3);
|
|
19760
19799
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
19761
19800
|
} }
|
|
@@ -19799,11 +19838,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19799
19838
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19800
19839
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
19801
19840
|
i0.ɵɵadvance();
|
|
19802
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19841
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !!ctx_r1.caseNumberError));
|
|
19803
19842
|
i0.ɵɵadvance(3);
|
|
19804
19843
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
19805
19844
|
i0.ɵɵadvance(2);
|
|
19806
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
19845
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$O, !!ctx_r1.caseReasonError));
|
|
19807
19846
|
i0.ɵɵadvance(5);
|
|
19808
19847
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
19809
19848
|
i0.ɵɵadvance(2);
|
|
@@ -20231,7 +20270,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
20231
20270
|
i0.ɵɵadvance(4);
|
|
20232
20271
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
20233
20272
|
i0.ɵɵadvance(4);
|
|
20234
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
20273
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, !!ctx.noSelectedCaseError));
|
|
20235
20274
|
i0.ɵɵadvance();
|
|
20236
20275
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
20237
20276
|
i0.ɵɵadvance(18);
|
|
@@ -20824,7 +20863,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
20824
20863
|
}], () => [{ type: i1$2.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
20825
20864
|
(() => { (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 }); })();
|
|
20826
20865
|
|
|
20827
|
-
const _c0$
|
|
20866
|
+
const _c0$N = a0 => ({ "govuk-form-group--error": a0 });
|
|
20828
20867
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
20829
20868
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
20830
20869
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -20862,7 +20901,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20862
20901
|
i0.ɵɵelementEnd()();
|
|
20863
20902
|
} if (rf & 2) {
|
|
20864
20903
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
20865
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
20904
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$N, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
20866
20905
|
i0.ɵɵadvance();
|
|
20867
20906
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
20868
20907
|
i0.ɵɵadvance(2);
|
|
@@ -21799,7 +21838,7 @@ class MoneyGbpInputComponent {
|
|
|
21799
21838
|
}] }); })();
|
|
21800
21839
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 28 }); })();
|
|
21801
21840
|
|
|
21802
|
-
const _c0$
|
|
21841
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
21803
21842
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
21804
21843
|
i0.ɵɵelementStart(0, "span", 8);
|
|
21805
21844
|
i0.ɵɵtext(1);
|
|
@@ -21848,7 +21887,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
21848
21887
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
21849
21888
|
i0.ɵɵelementEnd()();
|
|
21850
21889
|
} if (rf & 2) {
|
|
21851
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
21890
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$M, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
21852
21891
|
i0.ɵɵadvance();
|
|
21853
21892
|
i0.ɵɵproperty("for", ctx.id());
|
|
21854
21893
|
i0.ɵɵadvance();
|
|
@@ -21914,7 +21953,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
21914
21953
|
}], null, null); })();
|
|
21915
21954
|
(() => { (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 }); })();
|
|
21916
21955
|
|
|
21917
|
-
const _c0$
|
|
21956
|
+
const _c0$L = a0 => ({ "error": a0 });
|
|
21918
21957
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
21919
21958
|
i0.ɵɵelementStart(0, "span", 5);
|
|
21920
21959
|
i0.ɵɵtext(1);
|
|
@@ -22015,7 +22054,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22015
22054
|
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);
|
|
22016
22055
|
i0.ɵɵelementEnd()();
|
|
22017
22056
|
} if (rf & 2) {
|
|
22018
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
22057
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
22019
22058
|
i0.ɵɵadvance(3);
|
|
22020
22059
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
22021
22060
|
i0.ɵɵadvance();
|
|
@@ -22054,7 +22093,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
22054
22093
|
}], null, null); })();
|
|
22055
22094
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 9 }); })();
|
|
22056
22095
|
|
|
22057
|
-
const _c0$
|
|
22096
|
+
const _c0$K = a0 => ({ "form-group-error": a0 });
|
|
22058
22097
|
const _c1$g = a0 => ({ "govuk-input--error": a0 });
|
|
22059
22098
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22060
22099
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -22100,7 +22139,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22100
22139
|
i0.ɵɵelement(5, "input", 5);
|
|
22101
22140
|
i0.ɵɵelementEnd();
|
|
22102
22141
|
} if (rf & 2) {
|
|
22103
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22142
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
22104
22143
|
i0.ɵɵadvance();
|
|
22105
22144
|
i0.ɵɵproperty("for", ctx.id());
|
|
22106
22145
|
i0.ɵɵadvance();
|
|
@@ -22279,7 +22318,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
22279
22318
|
}] }); })();
|
|
22280
22319
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 11 }); })();
|
|
22281
22320
|
|
|
22282
|
-
const _c0$
|
|
22321
|
+
const _c0$J = a0 => ({ "scroll-container ": a0 });
|
|
22283
22322
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
22284
22323
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
22285
22324
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -22358,7 +22397,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
22358
22397
|
let tmp_3_0;
|
|
22359
22398
|
let tmp_5_0;
|
|
22360
22399
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
22361
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
22400
|
+
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));
|
|
22362
22401
|
i0.ɵɵadvance(2);
|
|
22363
22402
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
22364
22403
|
i0.ɵɵadvance(2);
|
|
@@ -22700,38 +22739,98 @@ class PaymentField extends AbstractFieldReadComponent {
|
|
|
22700
22739
|
}
|
|
22701
22740
|
}
|
|
22702
22741
|
|
|
22742
|
+
const _c0$I = ["paymentHost"];
|
|
22743
|
+
function CasePaymentHistoryViewerFieldComponent_p_9_Template(rf, ctx) { if (rf & 1) {
|
|
22744
|
+
i0.ɵɵelementStart(0, "p", 6);
|
|
22745
|
+
i0.ɵɵtext(1, "The payment information could not be loaded. Please try again.");
|
|
22746
|
+
i0.ɵɵelementEnd();
|
|
22747
|
+
} }
|
|
22703
22748
|
class CasePaymentHistoryViewerFieldComponent extends PaymentField {
|
|
22749
|
+
environmentInjector;
|
|
22704
22750
|
PAYMENT_HISTORY_WARNING = 'Recent payments may take a few minutes to reflect here.';
|
|
22705
|
-
|
|
22751
|
+
paymentLoadError = false;
|
|
22752
|
+
paymentHost;
|
|
22753
|
+
paymentComponentRef;
|
|
22754
|
+
paymentModuleRef;
|
|
22755
|
+
constructor(appConfig, sessionStorage, environmentInjector) {
|
|
22706
22756
|
super(appConfig, sessionStorage);
|
|
22757
|
+
this.environmentInjector = environmentInjector;
|
|
22758
|
+
}
|
|
22759
|
+
ngAfterViewInit() {
|
|
22760
|
+
void this.renderPayment();
|
|
22761
|
+
}
|
|
22762
|
+
ngOnDestroy() {
|
|
22763
|
+
this.paymentHost?.clear();
|
|
22764
|
+
this.paymentComponentRef = undefined;
|
|
22765
|
+
this.paymentModuleRef?.destroy();
|
|
22707
22766
|
}
|
|
22708
|
-
|
|
22709
|
-
|
|
22710
|
-
|
|
22767
|
+
async renderPayment() {
|
|
22768
|
+
let paymentLibrary;
|
|
22769
|
+
try {
|
|
22770
|
+
paymentLibrary = await import('@hmcts/ccpay-web-component');
|
|
22771
|
+
}
|
|
22772
|
+
catch {
|
|
22773
|
+
this.paymentLoadError = true;
|
|
22774
|
+
return;
|
|
22775
|
+
}
|
|
22776
|
+
const { PaymentLibComponent, PaymentLibModule } = paymentLibrary;
|
|
22777
|
+
this.paymentModuleRef = createNgModule(PaymentLibModule, this.environmentInjector);
|
|
22778
|
+
this.paymentComponentRef = this.paymentHost.createComponent(PaymentLibComponent, {
|
|
22779
|
+
ngModuleRef: this.paymentModuleRef
|
|
22780
|
+
});
|
|
22781
|
+
this.paymentComponentRef.setInput('API_ROOT', this.getBaseURL());
|
|
22782
|
+
this.paymentComponentRef.setInput('CCD_CASE_NUMBER', this.caseReference);
|
|
22783
|
+
this.paymentComponentRef.setInput('BULKSCAN_API_ROOT', this.getPayBulkScanBaseURL());
|
|
22784
|
+
this.paymentComponentRef.setInput('SELECTED_OPTION', 'CCDorException');
|
|
22785
|
+
this.paymentComponentRef.setInput('ISBSENABLE', 'true');
|
|
22786
|
+
this.paymentComponentRef.setInput('LOGGEDINUSEREMAIL', this.getUserEmail());
|
|
22787
|
+
this.paymentComponentRef.setInput('LOGGEDINUSERROLES', this.getUserRoles());
|
|
22788
|
+
this.paymentComponentRef.setInput('REFUNDS_API_ROOT', this.getRefundsUrl());
|
|
22789
|
+
this.paymentComponentRef.setInput('NOTIFICATION_API_ROOT', this.getNotificationUrl());
|
|
22790
|
+
this.paymentComponentRef.setInput('VIEW', 'case-transactions');
|
|
22791
|
+
this.paymentComponentRef.setInput('TAKEPAYMENT', false);
|
|
22792
|
+
this.paymentComponentRef.setInput('SERVICEREQUEST', false);
|
|
22793
|
+
this.paymentComponentRef.setInput('PAYMENT_GROUP_REF', null);
|
|
22794
|
+
this.paymentComponentRef.setInput('EXC_REFERENCE', this.caseReference);
|
|
22795
|
+
this.paymentComponentRef.setInput('DCN_NUMBER', null);
|
|
22796
|
+
this.paymentComponentRef.setInput('ISPAYMENTSTATUSENABLED', 'Enable');
|
|
22797
|
+
}
|
|
22798
|
+
static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePaymentHistoryViewerFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i0.EnvironmentInjector)); };
|
|
22799
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], viewQuery: function CasePaymentHistoryViewerFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
22800
|
+
i0.ɵɵviewQuery(_c0$I, 5, ViewContainerRef);
|
|
22801
|
+
} if (rf & 2) {
|
|
22802
|
+
let _t;
|
|
22803
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paymentHost = _t.first);
|
|
22804
|
+
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 7, consts: [["paymentHost", ""], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-error-message"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22805
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "span", 2);
|
|
22711
22806
|
i0.ɵɵtext(2, "!");
|
|
22712
22807
|
i0.ɵɵelementEnd();
|
|
22713
|
-
i0.ɵɵelementStart(3, "strong",
|
|
22808
|
+
i0.ɵɵelementStart(3, "strong", 3)(4, "span", 4);
|
|
22714
22809
|
i0.ɵɵtext(5);
|
|
22715
22810
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
22716
22811
|
i0.ɵɵelementEnd();
|
|
22717
22812
|
i0.ɵɵtext(7);
|
|
22718
22813
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
22719
22814
|
i0.ɵɵelementEnd()();
|
|
22720
|
-
i0.ɵɵ
|
|
22815
|
+
i0.ɵɵtemplate(9, CasePaymentHistoryViewerFieldComponent_p_9_Template, 2, 0, "p", 5);
|
|
22816
|
+
i0.ɵɵelementContainer(10, null, 0);
|
|
22721
22817
|
} if (rf & 2) {
|
|
22722
22818
|
i0.ɵɵadvance(5);
|
|
22723
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6,
|
|
22819
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 3, "Warning"));
|
|
22724
22820
|
i0.ɵɵadvance(2);
|
|
22725
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
22821
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 5, ctx.PAYMENT_HISTORY_WARNING), " ");
|
|
22726
22822
|
i0.ɵɵadvance(2);
|
|
22727
|
-
i0.ɵɵproperty("
|
|
22728
|
-
} }, dependencies: [
|
|
22823
|
+
i0.ɵɵproperty("ngIf", ctx.paymentLoadError);
|
|
22824
|
+
} }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], styles: [".govuk-warning-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:-20px}"] });
|
|
22729
22825
|
}
|
|
22730
22826
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
|
|
22731
22827
|
type: Component,
|
|
22732
|
-
args: [{ selector: 'ccd-case-payment-history-viewer-field', standalone: false, template: "<div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{PAYMENT_HISTORY_WARNING | rpxTranslate}}\n </strong>\n</div>\n<
|
|
22733
|
-
}], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }],
|
|
22734
|
-
|
|
22828
|
+
args: [{ selector: 'ccd-case-payment-history-viewer-field', standalone: false, template: "<div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{PAYMENT_HISTORY_WARNING | rpxTranslate}}\n </strong>\n</div>\n<p *ngIf=\"paymentLoadError\" class=\"govuk-error-message\">The payment information could not be loaded. Please try again.</p>\n<ng-container #paymentHost></ng-container>\n", styles: [".govuk-warning-text{margin-top:20px;margin-bottom:-20px}\n"] }]
|
|
22829
|
+
}], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }, { type: i0.EnvironmentInjector }], { paymentHost: [{
|
|
22830
|
+
type: ViewChild,
|
|
22831
|
+
args: ['paymentHost', { read: ViewContainerRef }]
|
|
22832
|
+
}] }); })();
|
|
22833
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePaymentHistoryViewerFieldComponent, { className: "CasePaymentHistoryViewerFieldComponent", filePath: "lib/shared/components/palette/payment/case-payment-history-viewer-field.component.ts", lineNumber: 22 }); })();
|
|
22735
22834
|
|
|
22736
22835
|
class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
22737
22836
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadPhoneUKFieldComponent_BaseFactory; return function ReadPhoneUKFieldComponent_Factory(__ngFactoryType__) { return (ɵReadPhoneUKFieldComponent_BaseFactory || (ɵReadPhoneUKFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadPhoneUKFieldComponent)))(__ngFactoryType__ || ReadPhoneUKFieldComponent); }; })();
|
|
@@ -22754,7 +22853,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
22754
22853
|
}], null, null); })();
|
|
22755
22854
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 9 }); })();
|
|
22756
22855
|
|
|
22757
|
-
const _c0$
|
|
22856
|
+
const _c0$H = a0 => ({ "form-group-error": a0 });
|
|
22758
22857
|
const _c1$f = a0 => ({ "govuk-input--error": a0 });
|
|
22759
22858
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
22760
22859
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -22800,7 +22899,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22800
22899
|
i0.ɵɵelement(5, "input", 5);
|
|
22801
22900
|
i0.ɵɵelementEnd();
|
|
22802
22901
|
} if (rf & 2) {
|
|
22803
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
22902
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
22804
22903
|
i0.ɵɵadvance();
|
|
22805
22904
|
i0.ɵɵproperty("for", ctx.id());
|
|
22806
22905
|
i0.ɵɵadvance();
|
|
@@ -25294,7 +25393,7 @@ class QueryWriteDateInputComponent {
|
|
|
25294
25393
|
}] }); })();
|
|
25295
25394
|
(() => { (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 }); })();
|
|
25296
25395
|
|
|
25297
|
-
const _c0$
|
|
25396
|
+
const _c0$G = a0 => ({ "govuk-form-group--error": a0 });
|
|
25298
25397
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
25299
25398
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
25300
25399
|
} if (rf & 2) {
|
|
@@ -25374,7 +25473,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
25374
25473
|
} if (rf & 2) {
|
|
25375
25474
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
25376
25475
|
i0.ɵɵadvance();
|
|
25377
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
25476
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
25378
25477
|
i0.ɵɵadvance(4);
|
|
25379
25478
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
25380
25479
|
i0.ɵɵadvance(2);
|
|
@@ -25441,7 +25540,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25441
25540
|
i0.ɵɵadvance(8);
|
|
25442
25541
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
25443
25542
|
i0.ɵɵadvance(2);
|
|
25444
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
25543
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
25445
25544
|
i0.ɵɵadvance(3);
|
|
25446
25545
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
25447
25546
|
i0.ɵɵadvance(3);
|
|
@@ -25449,7 +25548,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25449
25548
|
i0.ɵɵadvance(2);
|
|
25450
25549
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
25451
25550
|
i0.ɵɵadvance(2);
|
|
25452
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
25551
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
25453
25552
|
i0.ɵɵadvance(3);
|
|
25454
25553
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
25455
25554
|
i0.ɵɵadvance(3);
|
|
@@ -25460,7 +25559,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
25460
25559
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
25461
25560
|
i0.ɵɵproperty("formControlName", "body");
|
|
25462
25561
|
i0.ɵɵadvance(2);
|
|
25463
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
25562
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$G, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
25464
25563
|
i0.ɵɵadvance(4);
|
|
25465
25564
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
25466
25565
|
i0.ɵɵadvance(2);
|
|
@@ -26084,7 +26183,7 @@ class CloseQueryComponent {
|
|
|
26084
26183
|
}] }); })();
|
|
26085
26184
|
(() => { (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 }); })();
|
|
26086
26185
|
|
|
26087
|
-
const _c0$
|
|
26186
|
+
const _c0$F = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
26088
26187
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
26089
26188
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
26090
26189
|
i0.ɵɵelementStart(0, "div", 6)(1, "ccd-query-list", 7);
|
|
@@ -26123,7 +26222,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
26123
26222
|
} if (rf & 2) {
|
|
26124
26223
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
26125
26224
|
i0.ɵɵadvance();
|
|
26126
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26225
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
|
|
26127
26226
|
i0.ɵɵadvance();
|
|
26128
26227
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26129
26228
|
} }
|
|
@@ -26137,7 +26236,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
26137
26236
|
} if (rf & 2) {
|
|
26138
26237
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
26139
26238
|
i0.ɵɵadvance();
|
|
26140
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
26239
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$F, ctx_r1.caseId, ctx_r1.query.id));
|
|
26141
26240
|
i0.ɵɵadvance();
|
|
26142
26241
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
26143
26242
|
} }
|
|
@@ -26550,7 +26649,7 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
26550
26649
|
}], () => [{ type: i4$1.DomSanitizer }], null); })();
|
|
26551
26650
|
(() => { (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 }); })();
|
|
26552
26651
|
|
|
26553
|
-
const _c0$
|
|
26652
|
+
const _c0$E = ["editorHost"];
|
|
26554
26653
|
const _c1$e = a0 => ({ "form-group-error": a0 });
|
|
26555
26654
|
const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
|
|
26556
26655
|
const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
|
|
@@ -29172,7 +29271,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29172
29271
|
}
|
|
29173
29272
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteRichTextAreaFieldComponent_BaseFactory; return function WriteRichTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteRichTextAreaFieldComponent_BaseFactory || (ɵWriteRichTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteRichTextAreaFieldComponent)))(__ngFactoryType__ || WriteRichTextAreaFieldComponent); }; })();
|
|
29174
29273
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteRichTextAreaFieldComponent, selectors: [["ccd-write-rich-text-area-field"]], viewQuery: function WriteRichTextAreaFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29175
|
-
i0.ɵɵviewQuery(_c0$
|
|
29274
|
+
i0.ɵɵviewQuery(_c0$E, 5);
|
|
29176
29275
|
} if (rf & 2) {
|
|
29177
29276
|
let _t;
|
|
29178
29277
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
|
|
@@ -29333,7 +29432,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29333
29432
|
i0.ɵɵproperty("ngIf", !ctx.isOrderedListActive());
|
|
29334
29433
|
i0.ɵɵadvance(16);
|
|
29335
29434
|
i0.ɵɵproperty("editor", ctx.editor)("formControl", ctx.richTextAreaControl);
|
|
29336
|
-
} }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3
|
|
29435
|
+
} }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3.NgxEditorComponent, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__keyboard-instructions{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2px;margin-bottom:10px;max-width:100%;padding:6px 8px;row-gap:6px;width:fit-content}.ccd-rich-text-area__toolbar-group{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.ccd-rich-text-area__toolbar-group--list{max-width:100%}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__heading-level{display:inline-flex;margin-right:3px}.ccd-rich-text-area__heading-level-label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__heading-level-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:108px;padding:2px 24px 2px 6px;width:150px}.ccd-rich-text-area__heading-level-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px;min-width:0}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;max-width:100%;min-width:0;padding:2px 28px 2px 8px;width:260px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}@media(max-width:480px){.ccd-rich-text-area__toolbar-group--list{flex-wrap:wrap}.ccd-rich-text-area__list-style{flex:1 1 100%;margin-left:0}.ccd-rich-text-area__list-style-select{flex:1 1 auto;width:auto}}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .ProseMirror h2{font-size:18px;font-weight:700}.ccd-rich-text-area .ProseMirror h3{font-size:16px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;font-size:14px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{font-size:14px;min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol,.ccd-rich-text-area .ProseMirror li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"], encapsulation: 2 });
|
|
29337
29436
|
}
|
|
29338
29437
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteRichTextAreaFieldComponent, [{
|
|
29339
29438
|
type: Component,
|
|
@@ -29365,7 +29464,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
29365
29464
|
}], null, null); })();
|
|
29366
29465
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 9 }); })();
|
|
29367
29466
|
|
|
29368
|
-
const _c0$
|
|
29467
|
+
const _c0$D = a0 => ({ "form-group-error": a0 });
|
|
29369
29468
|
const _c1$d = a0 => ({ "govuk-input--error": a0 });
|
|
29370
29469
|
function WriteTextFieldComponent_label_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
29371
29470
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -29423,7 +29522,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29423
29522
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); });
|
|
29424
29523
|
i0.ɵɵelementEnd()();
|
|
29425
29524
|
} if (rf & 2) {
|
|
29426
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29525
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
29427
29526
|
i0.ɵɵadvance();
|
|
29428
29527
|
i0.ɵɵproperty("ngIf", !ctx.caseField.hidden);
|
|
29429
29528
|
i0.ɵɵadvance();
|
|
@@ -29461,7 +29560,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
29461
29560
|
}], null, null); })();
|
|
29462
29561
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 9 }); })();
|
|
29463
29562
|
|
|
29464
|
-
const _c0$
|
|
29563
|
+
const _c0$C = a0 => ({ "form-group-error": a0 });
|
|
29465
29564
|
const _c1$c = a0 => ({ "govuk-textarea--error": a0 });
|
|
29466
29565
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
29467
29566
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -29520,7 +29619,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29520
29619
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
29521
29620
|
i0.ɵɵelementEnd()();
|
|
29522
29621
|
} if (rf & 2) {
|
|
29523
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
29622
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
29524
29623
|
i0.ɵɵadvance();
|
|
29525
29624
|
i0.ɵɵproperty("for", ctx.id());
|
|
29526
29625
|
i0.ɵɵadvance();
|
|
@@ -29557,31 +29656,86 @@ class UnsupportedFieldComponent {
|
|
|
29557
29656
|
}], null, null); })();
|
|
29558
29657
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UnsupportedFieldComponent, { className: "UnsupportedFieldComponent", filePath: "lib/shared/components/palette/unsupported-field.component.ts", lineNumber: 8 }); })();
|
|
29559
29658
|
|
|
29560
|
-
|
|
29561
|
-
|
|
29562
|
-
|
|
29563
|
-
|
|
29564
|
-
i0.ɵɵ
|
|
29659
|
+
const _c0$B = ["paymentHost"];
|
|
29660
|
+
function WaysToPayFieldComponent_p_0_Template(rf, ctx) { if (rf & 1) {
|
|
29661
|
+
i0.ɵɵelementStart(0, "p", 2);
|
|
29662
|
+
i0.ɵɵtext(1, "The payment information could not be loaded. Please try again.");
|
|
29663
|
+
i0.ɵɵelementEnd();
|
|
29565
29664
|
} }
|
|
29566
29665
|
class WaysToPayFieldComponent extends PaymentField {
|
|
29567
|
-
|
|
29666
|
+
environmentInjector;
|
|
29667
|
+
paymentLoadError = false;
|
|
29668
|
+
paymentHost;
|
|
29669
|
+
paymentComponentRef;
|
|
29670
|
+
paymentModuleRef;
|
|
29671
|
+
constructor(appConfig, sessionStorage, environmentInjector) {
|
|
29568
29672
|
super(appConfig, sessionStorage);
|
|
29673
|
+
this.environmentInjector = environmentInjector;
|
|
29674
|
+
}
|
|
29675
|
+
ngAfterViewInit() {
|
|
29676
|
+
if (this.getUserRoles().length > 0) {
|
|
29677
|
+
void this.renderPayment();
|
|
29678
|
+
}
|
|
29679
|
+
}
|
|
29680
|
+
ngOnDestroy() {
|
|
29681
|
+
this.paymentHost?.clear();
|
|
29682
|
+
this.paymentComponentRef = undefined;
|
|
29683
|
+
this.paymentModuleRef?.destroy();
|
|
29569
29684
|
}
|
|
29570
29685
|
getCardPaymentReturnUrl() {
|
|
29571
29686
|
return this.appConfig.getPaymentReturnUrl();
|
|
29572
29687
|
}
|
|
29573
|
-
|
|
29574
|
-
|
|
29575
|
-
|
|
29688
|
+
async renderPayment() {
|
|
29689
|
+
let paymentLibrary;
|
|
29690
|
+
try {
|
|
29691
|
+
paymentLibrary = await import('@hmcts/ccpay-web-component');
|
|
29692
|
+
}
|
|
29693
|
+
catch {
|
|
29694
|
+
this.paymentLoadError = true;
|
|
29695
|
+
return;
|
|
29696
|
+
}
|
|
29697
|
+
const { PaymentLibComponent, PaymentLibModule } = paymentLibrary;
|
|
29698
|
+
this.paymentModuleRef = createNgModule(PaymentLibModule, this.environmentInjector);
|
|
29699
|
+
this.paymentComponentRef = this.paymentHost.createComponent(PaymentLibComponent, {
|
|
29700
|
+
ngModuleRef: this.paymentModuleRef
|
|
29701
|
+
});
|
|
29702
|
+
this.paymentComponentRef.setInput('API_ROOT', this.getBaseURL());
|
|
29703
|
+
this.paymentComponentRef.setInput('BULKSCAN_API_ROOT', this.getPayBulkScanBaseURL());
|
|
29704
|
+
this.paymentComponentRef.setInput('REFUNDS_API_ROOT', this.getRefundsUrl());
|
|
29705
|
+
this.paymentComponentRef.setInput('NOTIFICATION_API_ROOT', this.getNotificationUrl());
|
|
29706
|
+
this.paymentComponentRef.setInput('CCD_CASE_NUMBER', this.caseReference);
|
|
29707
|
+
this.paymentComponentRef.setInput('VIEW', 'case-transactions');
|
|
29708
|
+
this.paymentComponentRef.setInput('TAKEPAYMENT', false);
|
|
29709
|
+
this.paymentComponentRef.setInput('SERVICEREQUEST', true);
|
|
29710
|
+
this.paymentComponentRef.setInput('PAYMENT_GROUP_REF', null);
|
|
29711
|
+
this.paymentComponentRef.setInput('EXC_REFERENCE', this.caseReference);
|
|
29712
|
+
this.paymentComponentRef.setInput('DCN_NUMBER', null);
|
|
29713
|
+
this.paymentComponentRef.setInput('SELECTED_OPTION', 'CCDorException');
|
|
29714
|
+
this.paymentComponentRef.setInput('LOGGEDINUSERROLES', this.getUserRoles());
|
|
29715
|
+
this.paymentComponentRef.setInput('CARDPAYMENTRETURNURL', this.getCardPaymentReturnUrl());
|
|
29716
|
+
this.paymentComponentRef.setInput('ISPAYMENTSTATUSENABLED', 'Enable');
|
|
29717
|
+
}
|
|
29718
|
+
static ɵfac = function WaysToPayFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i0.EnvironmentInjector)); };
|
|
29719
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], viewQuery: function WaysToPayFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29720
|
+
i0.ɵɵviewQuery(_c0$B, 5, ViewContainerRef);
|
|
29721
|
+
} if (rf & 2) {
|
|
29722
|
+
let _t;
|
|
29723
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paymentHost = _t.first);
|
|
29724
|
+
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 1, consts: [["paymentHost", ""], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-error-message"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29725
|
+
i0.ɵɵtemplate(0, WaysToPayFieldComponent_p_0_Template, 2, 0, "p", 1);
|
|
29726
|
+
i0.ɵɵelementContainer(1, null, 0);
|
|
29576
29727
|
} if (rf & 2) {
|
|
29577
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
29578
|
-
} }, dependencies: [i5.NgIf
|
|
29728
|
+
i0.ɵɵproperty("ngIf", ctx.paymentLoadError);
|
|
29729
|
+
} }, dependencies: [i5.NgIf], encapsulation: 2 });
|
|
29579
29730
|
}
|
|
29580
29731
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
|
|
29581
29732
|
type: Component,
|
|
29582
|
-
args: [{ selector: 'ccd-ways-to-pay-field', standalone: false, template: "<
|
|
29583
|
-
}], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }],
|
|
29584
|
-
|
|
29733
|
+
args: [{ selector: 'ccd-ways-to-pay-field', standalone: false, template: "<p *ngIf=\"paymentLoadError\" class=\"govuk-error-message\">The payment information could not be loaded. Please try again.</p>\n<ng-container #paymentHost></ng-container>\n" }]
|
|
29734
|
+
}], () => [{ type: AbstractAppConfig }, { type: SessionStorageService }, { type: i0.EnvironmentInjector }], { paymentHost: [{
|
|
29735
|
+
type: ViewChild,
|
|
29736
|
+
args: ['paymentHost', { read: ViewContainerRef }]
|
|
29737
|
+
}] }); })();
|
|
29738
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WaysToPayFieldComponent, { className: "WaysToPayFieldComponent", filePath: "lib/shared/components/palette/waystopay/waystopay-field.component.ts", lineNumber: 21 }); })();
|
|
29585
29739
|
|
|
29586
29740
|
class YesNoService {
|
|
29587
29741
|
static YES_INPUTS = [
|
|
@@ -36852,12 +37006,10 @@ class PaletteModule {
|
|
|
36852
37006
|
MatAutocompleteModule,
|
|
36853
37007
|
CdkTreeModule,
|
|
36854
37008
|
OverlayModule,
|
|
36855
|
-
PaymentLibModule,
|
|
36856
37009
|
RpxTranslationModule.forChild(),
|
|
36857
37010
|
CdkTreeModule,
|
|
36858
37011
|
OverlayModule,
|
|
36859
37012
|
MatDialogModule,
|
|
36860
|
-
MediaViewerModule,
|
|
36861
37013
|
LoadingModule,
|
|
36862
37014
|
MarkdownComponentModule,
|
|
36863
37015
|
ErrorsModule,
|
|
@@ -36908,12 +37060,10 @@ class PaletteModule {
|
|
|
36908
37060
|
MatAutocompleteModule,
|
|
36909
37061
|
CdkTreeModule,
|
|
36910
37062
|
OverlayModule,
|
|
36911
|
-
PaymentLibModule,
|
|
36912
37063
|
RpxTranslationModule.forChild(),
|
|
36913
37064
|
CdkTreeModule,
|
|
36914
37065
|
OverlayModule,
|
|
36915
37066
|
MatDialogModule,
|
|
36916
|
-
MediaViewerModule,
|
|
36917
37067
|
LoadingModule,
|
|
36918
37068
|
MarkdownComponentModule,
|
|
36919
37069
|
ErrorsModule,
|
|
@@ -37135,14 +37285,12 @@ class PaletteModule {
|
|
|
37135
37285
|
MatDatepickerModule,
|
|
37136
37286
|
MatAutocompleteModule,
|
|
37137
37287
|
CdkTreeModule,
|
|
37138
|
-
OverlayModule,
|
|
37139
|
-
PaymentLibModule, i1.RpxTranslationModule, CdkTreeModule,
|
|
37288
|
+
OverlayModule, i1.RpxTranslationModule, CdkTreeModule,
|
|
37140
37289
|
OverlayModule,
|
|
37141
37290
|
MatDialogModule,
|
|
37142
|
-
MediaViewerModule,
|
|
37143
37291
|
LoadingModule,
|
|
37144
37292
|
MarkdownComponentModule,
|
|
37145
|
-
ErrorsModule, i3
|
|
37293
|
+
ErrorsModule, i3.NgxEditorModule], exports: [NgxMatDatepickerActions,
|
|
37146
37294
|
NgxMatDatepickerApply,
|
|
37147
37295
|
NgxMatDatepickerInput,
|
|
37148
37296
|
NgxMatDatetimepicker,
|
|
@@ -37331,12 +37479,12 @@ i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return
|
|
|
37331
37479
|
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
37332
37480
|
i0.ɵɵsetComponentScope(
|
|
37333
37481
|
// ComponentLauncher web components
|
|
37334
|
-
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf,
|
|
37482
|
+
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, CaseFileViewFolderComponent]; }, []);
|
|
37335
37483
|
i0.ɵɵsetComponentScope(
|
|
37336
37484
|
// Components for case flags
|
|
37337
37485
|
CaseFlagTableComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf]; }, function () { return [i5.DatePipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
|
|
37338
37486
|
i0.ɵɵsetComponentScope(SelectFlagTypeComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.CheckboxControlValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName]; }, function () { return [i1.RpxTranslatePipe, FlagFieldDisplayPipe]; });
|
|
37339
|
-
i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName,
|
|
37487
|
+
i0.ɵɵsetComponentScope(SearchLanguageInterpreterComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i14.MatInput, i6.MatAutocomplete, i6.MatOption, i6.MatAutocompleteTrigger]; }, function () { return [i5.AsyncPipe, i1.RpxTranslatePipe, FlagFieldDisplayPipe,
|
|
37340
37488
|
LanguageInterpreterDisplayPipe]; });
|
|
37341
37489
|
i0.ɵɵsetComponentScope(ManageCaseFlagsComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective]; }, function () { return [i1.RpxTranslatePipe, ManageCaseFlagsLabelDisplayPipe]; });
|
|
37342
37490
|
i0.ɵɵsetComponentScope(UpdateFlagComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i5.NgTemplateOutlet, i4.DefaultValueAccessor, i4.CheckboxControlValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName]; }, function () { return [i1.RpxTranslatePipe, UpdateFlagTitleDisplayPipe]; });
|
|
@@ -41714,7 +41862,7 @@ class CaseFullAccessViewComponent {
|
|
|
41714
41862
|
if (!hasHash && !isSpecialTabPath) {
|
|
41715
41863
|
const paths = url.split('/');
|
|
41716
41864
|
const lastPath = decodeURIComponent(paths[paths.length - 1]);
|
|
41717
|
-
let foundTab
|
|
41865
|
+
let foundTab;
|
|
41718
41866
|
if (!this.prependedTabs) {
|
|
41719
41867
|
this.prependedTabs = [];
|
|
41720
41868
|
}
|
|
@@ -41735,10 +41883,13 @@ class CaseFullAccessViewComponent {
|
|
|
41735
41883
|
});
|
|
41736
41884
|
}
|
|
41737
41885
|
else {
|
|
41738
|
-
this.caseDetails.tabs
|
|
41886
|
+
this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
|
|
41887
|
+
// Presuming default focus only set for one tab here - multiple tabs with default focus are not handled as is a contradiction
|
|
41888
|
+
let preSelectTab = this.caseDetails.tabs.find((tab) => tab.defaultFocus === true) ?? null;
|
|
41889
|
+
// Attempt to pre-select the tab based on the preferred label for the current case type
|
|
41739
41890
|
const preferredLabel = FieldsUtils.defaultTabList?.[this.caseDetails?.case_type?.id];
|
|
41740
|
-
|
|
41741
|
-
if (preferredLabel) {
|
|
41891
|
+
// If no tab has default focus, attempt to use the preferred label for the current case type
|
|
41892
|
+
if (!preSelectTab && preferredLabel) {
|
|
41742
41893
|
preSelectTab = this.caseDetails.tabs.find((tab) => (tab.label === preferredLabel) || (tab.id === preferredLabel)) ?? null;
|
|
41743
41894
|
}
|
|
41744
41895
|
if (!preSelectTab) {
|
|
@@ -46637,5 +46788,5 @@ class TestRouteSnapshotBuilder {
|
|
|
46637
46788
|
* Generated bundle index. Do not edit.
|
|
46638
46789
|
*/
|
|
46639
46790
|
|
|
46640
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
|
|
46791
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileResolver, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, textFieldType, viewerRouting };
|
|
46641
46792
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|