@hmcts/ccd-case-ui-toolkit 7.0.0-NodeAndNgUpgrades.2-material-legacy → 7.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/app.config.mjs +1 -1
- package/esm2020/lib/shared/components/activity/activity.module.mjs +6 -3
- package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +21 -8
- package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +12 -4
- package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +6 -3
- package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +2 -3
- package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +39 -0
- package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +2 -1
- package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +1 -1
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +1 -1
- package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +4 -1
- package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +1 -1
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +5 -4
- package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +12 -10
- package/esm2020/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +2 -2
- package/esm2020/lib/shared/domain/index.mjs +2 -1
- package/esm2020/lib/shared/domain/polling/index.mjs +2 -0
- package/esm2020/lib/shared/domain/polling/polling.model.mjs +2 -0
- package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +26 -13
- package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +10 -7
- package/esm2020/lib/shared/services/activity/index.mjs +2 -1
- package/esm2020/lib/shared/services/activity/polling.service.mjs +61 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +284 -148
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +280 -148
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/activity/activity.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +6 -3
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +4 -2
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-progress/case-progress.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +14 -0
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +1 -2
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +1 -2
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/domain/index.d.ts +1 -0
- package/lib/shared/domain/index.d.ts.map +1 -1
- package/lib/shared/domain/polling/index.d.ts +2 -0
- package/lib/shared/domain/polling/index.d.ts.map +1 -0
- package/lib/shared/domain/polling/polling.model.d.ts +10 -0
- package/lib/shared/domain/polling/polling.model.d.ts.map +1 -0
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/services/activity/activity.polling.service.d.ts +3 -1
- package/lib/shared/services/activity/activity.polling.service.d.ts.map +1 -1
- package/lib/shared/services/activity/index.d.ts +1 -0
- package/lib/shared/services/activity/index.d.ts.map +1 -1
- package/lib/shared/services/activity/polling.service.d.ts +12 -0
- package/lib/shared/services/activity/polling.service.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -8,11 +8,10 @@ import * as i1$2 from '@angular/router';
|
|
|
8
8
|
import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
|
|
9
9
|
import * as i3 from '@angular/forms';
|
|
10
10
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
|
-
import
|
|
12
|
-
import { throwError, Subject, EMPTY, Observable, of, BehaviorSubject, timer, fromEvent, forkJoin } from 'rxjs';
|
|
11
|
+
import { throwError, fromEvent, empty, timer, Subject, EMPTY, Observable, of, BehaviorSubject, forkJoin } from 'rxjs';
|
|
13
12
|
import * as i1$3 from '@angular/common/http';
|
|
14
13
|
import { HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
15
|
-
import { catchError, map, debounceTime, publish, refCount, delay, distinctUntilChanged, finalize, timeout, mergeMap,
|
|
14
|
+
import { catchError, map, startWith, switchMap, retryWhen, scan, tap, debounceTime, publish, refCount, delay, distinctUntilChanged, finalize, timeout, mergeMap, delayWhen, publishReplay, take, first, takeUntil, filter } from 'rxjs/operators';
|
|
16
15
|
import { Type, Expose, plainToClassFromExist, plainToClass } from 'class-transformer';
|
|
17
16
|
import * as moment from 'moment';
|
|
18
17
|
import { __decorate, __metadata } from 'tslib';
|
|
@@ -131,14 +130,14 @@ function FooterComponent_div_3_Template(rf, ctx) {
|
|
|
131
130
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
|
-
const _c0
|
|
133
|
+
const _c0$10 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
135
134
|
const _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
136
135
|
class FooterComponent {
|
|
137
136
|
}
|
|
138
137
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
139
138
|
FooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$t, 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) {
|
|
140
139
|
if (rf & 1) {
|
|
141
|
-
i0.ɵɵprojectionDef(_c0
|
|
140
|
+
i0.ɵɵprojectionDef(_c0$10);
|
|
142
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
143
142
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
144
143
|
i0.ɵɵtemplate(3, FooterComponent_div_3_Template, 20, 15, "div", 2);
|
|
@@ -209,7 +208,7 @@ function HeaderBarComponent_div_10_Template(rf, ctx) {
|
|
|
209
208
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
210
209
|
}
|
|
211
210
|
}
|
|
212
|
-
const _c0
|
|
211
|
+
const _c0$$ = [[["", "headerNavigation", ""]]];
|
|
213
212
|
const _c1$s = ["[headerNavigation]"];
|
|
214
213
|
class HeaderBarComponent {
|
|
215
214
|
constructor() {
|
|
@@ -222,7 +221,7 @@ class HeaderBarComponent {
|
|
|
222
221
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
223
222
|
HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$s, 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"], ["id", "sign-out", "href", "javascript:void(0)", 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) {
|
|
224
223
|
if (rf & 1) {
|
|
225
|
-
i0.ɵɵprojectionDef(_c0
|
|
224
|
+
i0.ɵɵprojectionDef(_c0$$);
|
|
226
225
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
227
226
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 5, 3, "div", 3);
|
|
228
227
|
i0.ɵɵtemplate(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
@@ -275,14 +274,14 @@ HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBa
|
|
|
275
274
|
}] });
|
|
276
275
|
})();
|
|
277
276
|
|
|
278
|
-
const _c0$
|
|
277
|
+
const _c0$_ = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
279
278
|
const _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
280
279
|
class NavigationComponent {
|
|
281
280
|
}
|
|
282
281
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
283
282
|
NavigationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$r, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
284
283
|
if (rf & 1) {
|
|
285
|
-
i0.ɵɵprojectionDef(_c0$
|
|
284
|
+
i0.ɵɵprojectionDef(_c0$_);
|
|
286
285
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
287
286
|
i0.ɵɵprojection(2);
|
|
288
287
|
i0.ɵɵprojection(3, 1);
|
|
@@ -410,14 +409,14 @@ HeadersModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
|
|
|
410
409
|
})();
|
|
411
410
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1$1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
412
411
|
|
|
413
|
-
const _c0$
|
|
412
|
+
const _c0$Z = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
414
413
|
const _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
415
414
|
class BodyComponent {
|
|
416
415
|
}
|
|
417
416
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
418
417
|
BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
419
418
|
if (rf & 1) {
|
|
420
|
-
i0.ɵɵprojectionDef(_c0$
|
|
419
|
+
i0.ɵɵprojectionDef(_c0$Z);
|
|
421
420
|
i0.ɵɵelementStart(0, "div", 0);
|
|
422
421
|
i0.ɵɵprojection(1);
|
|
423
422
|
i0.ɵɵprojection(2, 1);
|
|
@@ -432,7 +431,7 @@ BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent
|
|
|
432
431
|
}], null, null);
|
|
433
432
|
})();
|
|
434
433
|
|
|
435
|
-
const _c0$
|
|
434
|
+
const _c0$Y = function (a0) { return { "govuk-input--error": a0 }; };
|
|
436
435
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
437
436
|
if (rf & 1) {
|
|
438
437
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -451,7 +450,7 @@ function DateInputComponent_div_19_Template(rf, ctx) {
|
|
|
451
450
|
i0.ɵɵadvance(1);
|
|
452
451
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Hour"));
|
|
453
452
|
i0.ɵɵadvance(2);
|
|
454
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
453
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, ctx_r3.isInvalid));
|
|
455
454
|
}
|
|
456
455
|
}
|
|
457
456
|
function DateInputComponent_div_20_Template(rf, ctx) {
|
|
@@ -472,7 +471,7 @@ function DateInputComponent_div_20_Template(rf, ctx) {
|
|
|
472
471
|
i0.ɵɵadvance(1);
|
|
473
472
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Minute"));
|
|
474
473
|
i0.ɵɵadvance(2);
|
|
475
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
474
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, ctx_r4.isInvalid));
|
|
476
475
|
}
|
|
477
476
|
}
|
|
478
477
|
function DateInputComponent_div_21_Template(rf, ctx) {
|
|
@@ -493,7 +492,7 @@ function DateInputComponent_div_21_Template(rf, ctx) {
|
|
|
493
492
|
i0.ɵɵadvance(1);
|
|
494
493
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Second"));
|
|
495
494
|
i0.ɵɵadvance(2);
|
|
496
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
495
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$Y, ctx_r5.isInvalid));
|
|
497
496
|
}
|
|
498
497
|
}
|
|
499
498
|
class DateInputComponent {
|
|
@@ -723,19 +722,19 @@ DateInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateInpu
|
|
|
723
722
|
i0.ɵɵadvance(1);
|
|
724
723
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Day"));
|
|
725
724
|
i0.ɵɵadvance(2);
|
|
726
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$
|
|
725
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$Y, ctx.isInvalid));
|
|
727
726
|
i0.ɵɵadvance(3);
|
|
728
727
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
729
728
|
i0.ɵɵadvance(1);
|
|
730
729
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 23, "Month"));
|
|
731
730
|
i0.ɵɵadvance(2);
|
|
732
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$
|
|
731
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$Y, ctx.isInvalid));
|
|
733
732
|
i0.ɵɵadvance(3);
|
|
734
733
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
735
734
|
i0.ɵɵadvance(1);
|
|
736
735
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 25, "Year"));
|
|
737
736
|
i0.ɵɵadvance(2);
|
|
738
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$
|
|
737
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$Y, ctx.isInvalid));
|
|
739
738
|
i0.ɵɵadvance(2);
|
|
740
739
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
741
740
|
i0.ɵɵadvance(1);
|
|
@@ -812,7 +811,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) {
|
|
|
812
811
|
i0.ɵɵelementContainerEnd();
|
|
813
812
|
}
|
|
814
813
|
}
|
|
815
|
-
const _c0$
|
|
814
|
+
const _c0$X = ["*"];
|
|
816
815
|
var AlertMessageType;
|
|
817
816
|
(function (AlertMessageType) {
|
|
818
817
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -832,7 +831,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
832
831
|
AlertComponent.TYPE_ERROR = 'error';
|
|
833
832
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
834
833
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
835
|
-
AlertComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
834
|
+
AlertComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$X, 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) {
|
|
836
835
|
if (rf & 1) {
|
|
837
836
|
i0.ɵɵprojectionDef();
|
|
838
837
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -1083,7 +1082,7 @@ NotificationBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
1083
1082
|
}] });
|
|
1084
1083
|
})();
|
|
1085
1084
|
|
|
1086
|
-
const _c0$
|
|
1085
|
+
const _c0$W = function (a0) { return { "js-hidden": a0 }; };
|
|
1087
1086
|
const _c1$p = ["*"];
|
|
1088
1087
|
class TabComponent {
|
|
1089
1088
|
}
|
|
@@ -1096,7 +1095,7 @@ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent,
|
|
|
1096
1095
|
i0.ɵɵelementEnd();
|
|
1097
1096
|
}
|
|
1098
1097
|
if (rf & 2) {
|
|
1099
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
1098
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$W, !ctx.selected));
|
|
1100
1099
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1101
1100
|
}
|
|
1102
1101
|
}, dependencies: [i1.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width: 640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width: 641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1113,7 +1112,7 @@ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent,
|
|
|
1113
1112
|
}] });
|
|
1114
1113
|
})();
|
|
1115
1114
|
|
|
1116
|
-
const _c0$
|
|
1115
|
+
const _c0$V = ["tab"];
|
|
1117
1116
|
const _c1$o = function () { return ["."]; };
|
|
1118
1117
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1119
1118
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1165,7 +1164,7 @@ TabsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabsComponent
|
|
|
1165
1164
|
}
|
|
1166
1165
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1167
1166
|
if (rf & 1) {
|
|
1168
|
-
i0.ɵɵviewQuery(_c0$
|
|
1167
|
+
i0.ɵɵviewQuery(_c0$V, 5);
|
|
1169
1168
|
}
|
|
1170
1169
|
if (rf & 2) {
|
|
1171
1170
|
let _t;
|
|
@@ -1233,7 +1232,7 @@ TabsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
|
1233
1232
|
TabComponent] });
|
|
1234
1233
|
})();
|
|
1235
1234
|
|
|
1236
|
-
const _c0$
|
|
1235
|
+
const _c0$U = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1237
1236
|
class ActivityBannerComponent {
|
|
1238
1237
|
constructor() { }
|
|
1239
1238
|
ngOnInit() {
|
|
@@ -1252,7 +1251,7 @@ ActivityBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Act
|
|
|
1252
1251
|
i0.ɵɵelementEnd()();
|
|
1253
1252
|
}
|
|
1254
1253
|
if (rf & 2) {
|
|
1255
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$
|
|
1254
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$U, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1256
1255
|
i0.ɵɵadvance(2);
|
|
1257
1256
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1258
1257
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -1681,12 +1680,72 @@ ActivityService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Activity
|
|
|
1681
1680
|
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: SessionStorageService }]; }, null);
|
|
1682
1681
|
})();
|
|
1683
1682
|
|
|
1683
|
+
// Code adapted from rx-polling - https://github.com/jiayihu/rx-polling to work with angular 15 and node upgrade - angular 15 and node 18.17.0
|
|
1684
|
+
class PollingService {
|
|
1685
|
+
constructor() {
|
|
1686
|
+
this.defaultOptions = {
|
|
1687
|
+
attempts: 9,
|
|
1688
|
+
backoffStrategy: 'exponential',
|
|
1689
|
+
exponentialUnit: 1000,
|
|
1690
|
+
randomRange: [1000, 10000],
|
|
1691
|
+
backgroundPolling: false
|
|
1692
|
+
};
|
|
1693
|
+
}
|
|
1694
|
+
polling(request$, userOptions) {
|
|
1695
|
+
const options = Object.assign(Object.assign({}, this.defaultOptions), userOptions);
|
|
1696
|
+
let allErrorsCount = 0;
|
|
1697
|
+
let lastRecoverCount = 0;
|
|
1698
|
+
return fromEvent(document, 'visibilitychange').pipe(startWith(null), switchMap(() => {
|
|
1699
|
+
if (this.isPageActive() || options.backgroundPolling) {
|
|
1700
|
+
return empty().pipe(retryWhen(errors$ => errors$.pipe(scan(({ errorCount, error }, err) => ({ errorCount: errorCount + 1, error: err }), { errorCount: 0, error: null }), switchMap(({ errorCount, error }) => {
|
|
1701
|
+
allErrorsCount = errorCount;
|
|
1702
|
+
const consecutiveErrorsCount = allErrorsCount - lastRecoverCount;
|
|
1703
|
+
if (consecutiveErrorsCount > options.attempts) {
|
|
1704
|
+
throw error;
|
|
1705
|
+
}
|
|
1706
|
+
const delay = this.getStrategyDelay(consecutiveErrorsCount, options);
|
|
1707
|
+
return timer(delay);
|
|
1708
|
+
}))));
|
|
1709
|
+
}
|
|
1710
|
+
return empty();
|
|
1711
|
+
}), tap(() => {
|
|
1712
|
+
lastRecoverCount = allErrorsCount;
|
|
1713
|
+
}));
|
|
1714
|
+
}
|
|
1715
|
+
isPageActive() {
|
|
1716
|
+
return !Boolean(document.hidden);
|
|
1717
|
+
}
|
|
1718
|
+
getStrategyDelay(consecutiveErrorsCount, options) {
|
|
1719
|
+
switch (options.backoffStrategy) {
|
|
1720
|
+
case 'exponential':
|
|
1721
|
+
return Math.pow(2, consecutiveErrorsCount - 1) * options.exponentialUnit;
|
|
1722
|
+
case 'random':
|
|
1723
|
+
const [min, max] = options.randomRange;
|
|
1724
|
+
const range = max - min;
|
|
1725
|
+
return Math.floor(Math.random() * range) + min;
|
|
1726
|
+
case 'consecutive':
|
|
1727
|
+
return options.constantTime || options.interval;
|
|
1728
|
+
default:
|
|
1729
|
+
console.error(`${options.backoffStrategy} is not a backoff strategy supported by rx-polling`);
|
|
1730
|
+
return options.constantTime || options.interval;
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
PollingService.ɵfac = function PollingService_Factory(t) { return new (t || PollingService)(); };
|
|
1735
|
+
PollingService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PollingService, factory: PollingService.ɵfac });
|
|
1736
|
+
(function () {
|
|
1737
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PollingService, [{
|
|
1738
|
+
type: Injectable
|
|
1739
|
+
}], null, null);
|
|
1740
|
+
})();
|
|
1741
|
+
|
|
1684
1742
|
// @dynamic
|
|
1685
1743
|
class ActivityPollingService {
|
|
1686
|
-
constructor(activityService, ngZone, config) {
|
|
1744
|
+
constructor(activityService, ngZone, config, pollingService) {
|
|
1687
1745
|
this.activityService = activityService;
|
|
1688
1746
|
this.ngZone = ngZone;
|
|
1689
1747
|
this.config = config;
|
|
1748
|
+
this.pollingService = pollingService;
|
|
1690
1749
|
this.pendingRequests = new Map();
|
|
1691
1750
|
this.pollConfig = {
|
|
1692
1751
|
interval: config.getActivityNexPollRequestMs(),
|
|
@@ -1744,12 +1803,13 @@ class ActivityPollingService {
|
|
|
1744
1803
|
if (!this.isEnabled) {
|
|
1745
1804
|
return EMPTY;
|
|
1746
1805
|
}
|
|
1747
|
-
return polling(this.activityService.getActivities(...caseIds), this.pollConfig);
|
|
1806
|
+
return this.pollingService.polling(this.activityService.getActivities(...caseIds), this.pollConfig);
|
|
1748
1807
|
}
|
|
1749
1808
|
postViewActivity(caseId) {
|
|
1750
1809
|
return this.postActivity(caseId, ActivityService.ACTIVITY_VIEW);
|
|
1751
1810
|
}
|
|
1752
1811
|
postEditActivity(caseId) {
|
|
1812
|
+
console.log('this.postActivity(caseId, ActivityService.ACTIVITY_EDIT);', this.postActivity(caseId, ActivityService.ACTIVITY_EDIT));
|
|
1753
1813
|
return this.postActivity(caseId, ActivityService.ACTIVITY_EDIT);
|
|
1754
1814
|
}
|
|
1755
1815
|
performBatchRequest(requests) {
|
|
@@ -1776,15 +1836,15 @@ class ActivityPollingService {
|
|
|
1776
1836
|
}
|
|
1777
1837
|
const pollingConfig = Object.assign(Object.assign({}, this.pollConfig), { interval: 5000 // inline with CCD Backend
|
|
1778
1838
|
});
|
|
1779
|
-
return polling(this.activityService.postActivity(caseId, activityType), pollingConfig);
|
|
1839
|
+
return this.pollingService.polling(this.activityService.postActivity(caseId, activityType), pollingConfig);
|
|
1780
1840
|
}
|
|
1781
1841
|
}
|
|
1782
|
-
ActivityPollingService.ɵfac = function ActivityPollingService_Factory(t) { return new (t || ActivityPollingService)(i0.ɵɵinject(ActivityService), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(AbstractAppConfig)); };
|
|
1842
|
+
ActivityPollingService.ɵfac = function ActivityPollingService_Factory(t) { return new (t || ActivityPollingService)(i0.ɵɵinject(ActivityService), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(PollingService)); };
|
|
1783
1843
|
ActivityPollingService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ActivityPollingService, factory: ActivityPollingService.ɵfac });
|
|
1784
1844
|
(function () {
|
|
1785
1845
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityPollingService, [{
|
|
1786
1846
|
type: Injectable
|
|
1787
|
-
}], function () { return [{ type: ActivityService }, { type: i0.NgZone }, { type: AbstractAppConfig }]; }, null);
|
|
1847
|
+
}], function () { return [{ type: ActivityService }, { type: i0.NgZone }, { type: AbstractAppConfig }, { type: PollingService }]; }, null);
|
|
1788
1848
|
})();
|
|
1789
1849
|
|
|
1790
1850
|
function ActivityComponent_div_0_div_1_Template(rf, ctx) {
|
|
@@ -1956,7 +2016,8 @@ ActivityModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActivityModul
|
|
|
1956
2016
|
ActivityModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
1957
2017
|
ActivityService,
|
|
1958
2018
|
ActivityPollingService,
|
|
1959
|
-
SessionStorageService
|
|
2019
|
+
SessionStorageService,
|
|
2020
|
+
PollingService
|
|
1960
2021
|
], imports: [CommonModule,
|
|
1961
2022
|
RouterModule,
|
|
1962
2023
|
RpxTranslationModule.forChild()] });
|
|
@@ -1982,7 +2043,8 @@ ActivityModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
1982
2043
|
providers: [
|
|
1983
2044
|
ActivityService,
|
|
1984
2045
|
ActivityPollingService,
|
|
1985
|
-
SessionStorageService
|
|
2046
|
+
SessionStorageService,
|
|
2047
|
+
PollingService
|
|
1986
2048
|
]
|
|
1987
2049
|
}]
|
|
1988
2050
|
}], null, null);
|
|
@@ -4078,7 +4140,7 @@ class ConditionParser {
|
|
|
4078
4140
|
}
|
|
4079
4141
|
static findValueForComplexConditionInArray(fields, head, tail, path) {
|
|
4080
4142
|
// use the path to resolve which array element we refer to
|
|
4081
|
-
if (path.startsWith(head)) {
|
|
4143
|
+
if (path && path.startsWith(head)) {
|
|
4082
4144
|
const [_, ...pathTail] = path.split(/[_]+/g);
|
|
4083
4145
|
if (pathTail.length > 0) {
|
|
4084
4146
|
try {
|
|
@@ -7547,6 +7609,7 @@ class WizardPageFieldToCaseFieldMapper {
|
|
|
7547
7609
|
childrenCaseFields.forEach(e => this.hideParentIfAllChildrenHidden(e));
|
|
7548
7610
|
if (childrenCaseFields.length > 0 && this.allCaseFieldsHidden(childrenCaseFields)) {
|
|
7549
7611
|
caseField.hidden = true;
|
|
7612
|
+
caseField.display_context = 'HIDDEN';
|
|
7550
7613
|
}
|
|
7551
7614
|
}
|
|
7552
7615
|
getCaseFieldChildren(caseField) {
|
|
@@ -8682,8 +8745,45 @@ WorkAllocationService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Wo
|
|
|
8682
8745
|
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }, { type: AlertService }, { type: SessionStorageService }]; }, null);
|
|
8683
8746
|
})();
|
|
8684
8747
|
|
|
8748
|
+
class ValidPageListCaseFieldsService {
|
|
8749
|
+
constructor(fieldsUtils) {
|
|
8750
|
+
this.fieldsUtils = fieldsUtils;
|
|
8751
|
+
}
|
|
8752
|
+
isShown(page, eventTriggerFields, data) {
|
|
8753
|
+
const fields = this.fieldsUtils
|
|
8754
|
+
.mergeCaseFieldsAndFormFields(eventTriggerFields, data);
|
|
8755
|
+
return page.parsedShowCondition.match(fields);
|
|
8756
|
+
}
|
|
8757
|
+
deleteNonValidatedFields(validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage = false) {
|
|
8758
|
+
const pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
|
|
8759
|
+
if (!fromPreviousPage && pageListCaseFields.length > 0) {
|
|
8760
|
+
Object.keys(caseEventDatadata).forEach(key => {
|
|
8761
|
+
if (pageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8762
|
+
delete caseEventDatadata[key];
|
|
8763
|
+
}
|
|
8764
|
+
});
|
|
8765
|
+
}
|
|
8766
|
+
}
|
|
8767
|
+
validPageListCaseFields(validPageList, data, eventTriggerFields) {
|
|
8768
|
+
const validPageListCaseFields = [];
|
|
8769
|
+
validPageList.forEach(page => {
|
|
8770
|
+
if (this.isShown(page, eventTriggerFields, data)) {
|
|
8771
|
+
page.case_fields.forEach(field => validPageListCaseFields.push(field));
|
|
8772
|
+
}
|
|
8773
|
+
});
|
|
8774
|
+
return validPageListCaseFields;
|
|
8775
|
+
}
|
|
8776
|
+
}
|
|
8777
|
+
ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(i0.ɵɵinject(FieldsUtils)); };
|
|
8778
|
+
ValidPageListCaseFieldsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ValidPageListCaseFieldsService, factory: ValidPageListCaseFieldsService.ɵfac });
|
|
8779
|
+
(function () {
|
|
8780
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidPageListCaseFieldsService, [{
|
|
8781
|
+
type: Injectable
|
|
8782
|
+
}], function () { return [{ type: FieldsUtils }]; }, null);
|
|
8783
|
+
})();
|
|
8784
|
+
|
|
8685
8785
|
class CaseEditComponent {
|
|
8686
|
-
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService) {
|
|
8786
|
+
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService, validPageListCaseFieldsService) {
|
|
8687
8787
|
this.fb = fb;
|
|
8688
8788
|
this.caseNotifier = caseNotifier;
|
|
8689
8789
|
this.router = router;
|
|
@@ -8697,6 +8797,7 @@ class CaseEditComponent {
|
|
|
8697
8797
|
this.formValueService = formValueService;
|
|
8698
8798
|
this.formErrorService = formErrorService;
|
|
8699
8799
|
this.loadingService = loadingService;
|
|
8800
|
+
this.validPageListCaseFieldsService = validPageListCaseFieldsService;
|
|
8700
8801
|
this.cancelled = new EventEmitter();
|
|
8701
8802
|
this.submitted = new EventEmitter();
|
|
8702
8803
|
this.isEventCompletionChecksRequired = false;
|
|
@@ -8704,6 +8805,7 @@ class CaseEditComponent {
|
|
|
8704
8805
|
this.ignoreWarning = false;
|
|
8705
8806
|
this.isLinkedCasesSubmission = false;
|
|
8706
8807
|
this.callbackErrorsSubject = new Subject();
|
|
8808
|
+
this.validPageList = [];
|
|
8707
8809
|
}
|
|
8708
8810
|
ngOnInit() {
|
|
8709
8811
|
this.wizard = this.wizardFactory.create(this.eventTrigger);
|
|
@@ -8865,6 +8967,13 @@ class CaseEditComponent {
|
|
|
8865
8967
|
this.formValueService.populateLinkedCasesDetailsFromCaseFields(caseEventData.data, eventTrigger.case_fields);
|
|
8866
8968
|
// Remove "Launcher"-type fields (these have no values and are not intended to be persisted)
|
|
8867
8969
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
8970
|
+
// delete fields which are not part of the case event journey wizard pages case fields
|
|
8971
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
8972
|
+
const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
8973
|
+
// Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
|
|
8974
|
+
if (!this.isCaseFlagSubmission) {
|
|
8975
|
+
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
8976
|
+
}
|
|
8868
8977
|
caseEventData.event_token = eventTrigger.event_token;
|
|
8869
8978
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
8870
8979
|
if (this.confirmation) {
|
|
@@ -8901,8 +9010,8 @@ class CaseEditComponent {
|
|
|
8901
9010
|
* * For Collection field types, including collections of Complex and Document field types, the replacement is
|
|
8902
9011
|
* performed for all fields in the collection.
|
|
8903
9012
|
*
|
|
8904
|
-
* @param
|
|
8905
|
-
* @param caseFields The array of {@link CaseField} domain model objects corresponding to fields in `
|
|
9013
|
+
* @param formGroup The `FormGroup` instance whose raw values are to be traversed
|
|
9014
|
+
* @param caseFields The array of {@link CaseField} domain model objects corresponding to fields in `formGroup`
|
|
8906
9015
|
* @param parentField Reference to the parent `CaseField`. Used for retrieving the sub-field values of a Complex field
|
|
8907
9016
|
* to perform recursive replacement - the sub-field `CaseField`s themselves do *not* contain any values
|
|
8908
9017
|
* @returns An object with the *raw* form value data (as key-value pairs), with any value replacements as necessary
|
|
@@ -8945,7 +9054,7 @@ class CaseEditComponent {
|
|
|
8945
9054
|
// CaseField itself (the sub-fields do not contain any values, so these need to be obtained from the
|
|
8946
9055
|
// parent)
|
|
8947
9056
|
// Update rawFormValueData for this field
|
|
8948
|
-
// creating form group and adding control into it in case caseField is of complext type and and part of
|
|
9057
|
+
// creating form group and adding control into it in case caseField is of complext type and and part of formGroup
|
|
8949
9058
|
const form = new FormGroup({});
|
|
8950
9059
|
if (formGroup.controls[key].value) {
|
|
8951
9060
|
Object.keys(formGroup.controls[key].value).forEach((item) => {
|
|
@@ -8965,7 +9074,9 @@ class CaseEditComponent {
|
|
|
8965
9074
|
rawFormValueData[key] = parentField.formatted_value[caseField.id];
|
|
8966
9075
|
}
|
|
8967
9076
|
else {
|
|
8968
|
-
|
|
9077
|
+
if (!(caseField.hidden && caseField.retain_hidden_value)) {
|
|
9078
|
+
rawFormValueData[key] = caseField.formatted_value;
|
|
9079
|
+
}
|
|
8969
9080
|
}
|
|
8970
9081
|
}
|
|
8971
9082
|
}
|
|
@@ -9027,7 +9138,7 @@ class CaseEditComponent {
|
|
|
9027
9138
|
}
|
|
9028
9139
|
CaseEditComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
9029
9140
|
CaseEditComponent.ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
|
|
9030
|
-
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i3.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
9141
|
+
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i3.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
|
|
9031
9142
|
CaseEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) {
|
|
9032
9143
|
if (rf & 1) {
|
|
9033
9144
|
i0.ɵɵelement(0, "router-outlet");
|
|
@@ -9037,7 +9148,7 @@ CaseEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditC
|
|
|
9037
9148
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditComponent, [{
|
|
9038
9149
|
type: Component,
|
|
9039
9150
|
args: [{ selector: 'ccd-case-edit', providers: [GreyBarService], template: "<router-outlet></router-outlet>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.case-field-change{width:5%}\n"] }]
|
|
9040
|
-
}], function () { return [{ type: i3.FormBuilder }, { type: CaseNotifier }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }]; }, { eventTrigger: [{
|
|
9151
|
+
}], function () { return [{ type: i3.FormBuilder }, { type: CaseNotifier }, { type: i1$2.Router }, { type: i1$2.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, { eventTrigger: [{
|
|
9041
9152
|
type: Input
|
|
9042
9153
|
}], submit: [{
|
|
9043
9154
|
type: Input
|
|
@@ -9689,7 +9800,7 @@ function CaseEditPageComponent_ccd_case_event_completion_11_Template(rf, ctx) {
|
|
|
9689
9800
|
}
|
|
9690
9801
|
}
|
|
9691
9802
|
class CaseEditPageComponent {
|
|
9692
|
-
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService) {
|
|
9803
|
+
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService, validPageListCaseFieldsService) {
|
|
9693
9804
|
this.caseEdit = caseEdit;
|
|
9694
9805
|
this.route = route;
|
|
9695
9806
|
this.formValueService = formValueService;
|
|
@@ -9700,6 +9811,7 @@ class CaseEditPageComponent {
|
|
|
9700
9811
|
this.caseFieldService = caseFieldService;
|
|
9701
9812
|
this.caseEditDataService = caseEditDataService;
|
|
9702
9813
|
this.loadingService = loadingService;
|
|
9814
|
+
this.validPageListCaseFieldsService = validPageListCaseFieldsService;
|
|
9703
9815
|
this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
|
|
9704
9816
|
this.triggerTextIgnoreWarnings = CaseEditPageComponent.TRIGGER_TEXT_CONTINUE;
|
|
9705
9817
|
this.formValuesChanged = false;
|
|
@@ -9907,6 +10019,9 @@ class CaseEditPageComponent {
|
|
|
9907
10019
|
}
|
|
9908
10020
|
}
|
|
9909
10021
|
if (!this.caseEdit.isSubmitting && !this.currentPageIsNotValid()) {
|
|
10022
|
+
if (this.caseEdit.validPageList.findIndex(page => page.id === this.currentPage.id) === -1) {
|
|
10023
|
+
this.caseEdit.validPageList.push(this.currentPage);
|
|
10024
|
+
}
|
|
9910
10025
|
this.caseEdit.isSubmitting = true;
|
|
9911
10026
|
this.caseEdit.error = null;
|
|
9912
10027
|
const caseEventData = this.buildCaseEventData();
|
|
@@ -10155,6 +10270,8 @@ class CaseEditPageComponent {
|
|
|
10155
10270
|
this.formValueService.sanitiseDynamicLists(caseFields, formFields);
|
|
10156
10271
|
// Get hold of the CaseEventData.
|
|
10157
10272
|
const caseEventData = this.formValueService.sanitise(formFields);
|
|
10273
|
+
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10274
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage);
|
|
10158
10275
|
// Tidy it up before we return it.
|
|
10159
10276
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
10160
10277
|
return caseEventData;
|
|
@@ -10195,7 +10312,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
|
|
|
10195
10312
|
CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
|
|
10196
10313
|
CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
|
|
10197
10314
|
CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
|
|
10198
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$4.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
10315
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$4.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
|
|
10199
10316
|
CaseEditPageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditPageComponent_Template(rf, ctx) {
|
|
10200
10317
|
if (rf & 1) {
|
|
10201
10318
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 0);
|
|
@@ -10234,7 +10351,7 @@ CaseEditPageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseE
|
|
|
10234
10351
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
10235
10352
|
type: Component,
|
|
10236
10353
|
args: [{ selector: 'ccd-case-edit-page', template: "<ng-container *ngIf=\"currentPage\">\n <h1 *ngIf=\"!currentPage.label\" class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n <ng-container *ngIf=\"currentPage.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name | rpxTranslate}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label | rpxTranslate}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data']\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" class=\"validation-error\">\n {{ validationError.message | rpxTranslate: getRpxTranslatePipeArgs(validationError.label | rpxTranslate): null }}\n </a>\n </li>\n </ul>\n </div>\n</div>\n\n<ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <fieldset id=\"fieldset-case-data\">\n <legend style=\"display: none;\"></legend>\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </fieldset>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!(hasPreviousPage$ | async)\" (click)=\"toPreviousPage()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText | rpxTranslate}}</button>\n </div>\n\n <p class=\"cancel\"><a (click)=\"cancel()\" href=\"javascript:void(0)\">{{getCancelText() | rpxTranslate}}</a></p>\n </form>\n</div>\n\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: [".rightBorderSeparator{border-right-width:4px;border-right-color:#ffcc02;border-right-style:solid}.validation-error{cursor:pointer;text-decoration:underline;color:#d4351c}\n"] }]
|
|
10237
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1$2.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$4.MatLegacyDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }]; }, null);
|
|
10354
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1$2.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$4.MatLegacyDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, null);
|
|
10238
10355
|
})();
|
|
10239
10356
|
|
|
10240
10357
|
class CallbackErrorsContext {
|
|
@@ -10425,7 +10542,7 @@ class AddressOption {
|
|
|
10425
10542
|
}
|
|
10426
10543
|
}
|
|
10427
10544
|
|
|
10428
|
-
const _c0$
|
|
10545
|
+
const _c0$T = ["writeComplexFieldComponent"];
|
|
10429
10546
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
|
|
10430
10547
|
if (rf & 1) {
|
|
10431
10548
|
i0.ɵɵelementStart(0, "span", 14);
|
|
@@ -10647,7 +10764,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
10647
10764
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
10648
10765
|
WriteAddressFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
10649
10766
|
if (rf & 1) {
|
|
10650
|
-
i0.ɵɵviewQuery(_c0$
|
|
10767
|
+
i0.ɵɵviewQuery(_c0$T, 5);
|
|
10651
10768
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
10652
10769
|
}
|
|
10653
10770
|
if (rf & 2) {
|
|
@@ -11255,7 +11372,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_8_Template(rf, ctx) {
|
|
|
11255
11372
|
i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
11256
11373
|
}
|
|
11257
11374
|
}
|
|
11258
|
-
const _c0$
|
|
11375
|
+
const _c0$S = function (a0) { return { "form-group-error": a0 }; };
|
|
11259
11376
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
11260
11377
|
if (rf & 1) {
|
|
11261
11378
|
i0.ɵɵelementStart(0, "div", 8)(1, "div", 9)(2, "div", 10);
|
|
@@ -11274,7 +11391,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
|
11274
11391
|
i0.ɵɵadvance(1);
|
|
11275
11392
|
i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
11276
11393
|
i0.ɵɵadvance(1);
|
|
11277
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
11394
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$S, ctx_r1.errorMessages.length > 0));
|
|
11278
11395
|
i0.ɵɵadvance(1);
|
|
11279
11396
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
|
|
11280
11397
|
i0.ɵɵadvance(2);
|
|
@@ -11724,7 +11841,7 @@ ReadCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
11724
11841
|
}], null, null);
|
|
11725
11842
|
})();
|
|
11726
11843
|
|
|
11727
|
-
const _c0$
|
|
11844
|
+
const _c0$R = ["writeComplexFieldComponent"];
|
|
11728
11845
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
11729
11846
|
if (rf & 1) {
|
|
11730
11847
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -11815,7 +11932,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11815
11932
|
WriteCaseLinkFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(t) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(t || WriteCaseLinkFieldComponent); }; }();
|
|
11816
11933
|
WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
11817
11934
|
if (rf & 1) {
|
|
11818
|
-
i0.ɵɵviewQuery(_c0$
|
|
11935
|
+
i0.ɵɵviewQuery(_c0$R, 5);
|
|
11819
11936
|
}
|
|
11820
11937
|
if (rf & 2) {
|
|
11821
11938
|
let _t;
|
|
@@ -11855,7 +11972,7 @@ WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
11855
11972
|
}] });
|
|
11856
11973
|
})();
|
|
11857
11974
|
|
|
11858
|
-
const _c0$
|
|
11975
|
+
const _c0$Q = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
11859
11976
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
11860
11977
|
if (rf & 1) {
|
|
11861
11978
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -11867,7 +11984,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
|
11867
11984
|
if (rf & 2) {
|
|
11868
11985
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11869
11986
|
i0.ɵɵadvance(4);
|
|
11870
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$
|
|
11987
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$Q, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
11871
11988
|
}
|
|
11872
11989
|
}
|
|
11873
11990
|
const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -12007,7 +12124,7 @@ RemoveDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Remov
|
|
|
12007
12124
|
}], function () { return [{ type: i1$4.MatLegacyDialogRef }]; }, null);
|
|
12008
12125
|
})();
|
|
12009
12126
|
|
|
12010
|
-
const _c0$
|
|
12127
|
+
const _c0$P = ["collectionItem"];
|
|
12011
12128
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
|
|
12012
12129
|
if (rf & 1) {
|
|
12013
12130
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -12411,7 +12528,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12411
12528
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$4.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
12412
12529
|
WriteCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
12413
12530
|
if (rf & 1) {
|
|
12414
|
-
i0.ɵɵviewQuery(_c0$
|
|
12531
|
+
i0.ɵɵviewQuery(_c0$P, 5);
|
|
12415
12532
|
}
|
|
12416
12533
|
if (rf & 2) {
|
|
12417
12534
|
let _t;
|
|
@@ -13044,7 +13161,7 @@ FileUploadStateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: F
|
|
|
13044
13161
|
}], null, null);
|
|
13045
13162
|
})();
|
|
13046
13163
|
|
|
13047
|
-
const _c0$
|
|
13164
|
+
const _c0$O = ["fileInput"];
|
|
13048
13165
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
13049
13166
|
if (rf & 1) {
|
|
13050
13167
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -13352,7 +13469,7 @@ WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
|
13352
13469
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$4.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
13353
13470
|
WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
13354
13471
|
if (rf & 1) {
|
|
13355
|
-
i0.ɵɵviewQuery(_c0$
|
|
13472
|
+
i0.ɵɵviewQuery(_c0$O, 5);
|
|
13356
13473
|
}
|
|
13357
13474
|
if (rf & 2) {
|
|
13358
13475
|
let _t;
|
|
@@ -13546,7 +13663,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) {
|
|
|
13546
13663
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
13547
13664
|
}
|
|
13548
13665
|
}
|
|
13549
|
-
const _c0$
|
|
13666
|
+
const _c0$N = function (a0) { return { "form-group-error": a0 }; };
|
|
13550
13667
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
13551
13668
|
ngOnInit() {
|
|
13552
13669
|
/**
|
|
@@ -13588,7 +13705,7 @@ WriteDynamicListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
13588
13705
|
i0.ɵɵelementEnd()();
|
|
13589
13706
|
}
|
|
13590
13707
|
if (rf & 2) {
|
|
13591
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
13708
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$N, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
13592
13709
|
i0.ɵɵadvance(1);
|
|
13593
13710
|
i0.ɵɵproperty("for", ctx.id());
|
|
13594
13711
|
i0.ɵɵadvance(1);
|
|
@@ -13791,7 +13908,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
13791
13908
|
i0.ɵɵproperty("content", checkbox_r4.label);
|
|
13792
13909
|
}
|
|
13793
13910
|
}
|
|
13794
|
-
const _c0$
|
|
13911
|
+
const _c0$M = function (a0) { return { "error": a0 }; };
|
|
13795
13912
|
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
13796
13913
|
ngOnInit() {
|
|
13797
13914
|
this.checkboxes = new FormArray([]);
|
|
@@ -13864,7 +13981,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
|
|
|
13864
13981
|
i0.ɵɵelementEnd()();
|
|
13865
13982
|
}
|
|
13866
13983
|
if (rf & 2) {
|
|
13867
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
13984
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$M, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
13868
13985
|
i0.ɵɵadvance(3);
|
|
13869
13986
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
13870
13987
|
i0.ɵɵadvance(1);
|
|
@@ -14002,7 +14119,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) {
|
|
|
14002
14119
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
14003
14120
|
}
|
|
14004
14121
|
}
|
|
14005
|
-
const _c0$
|
|
14122
|
+
const _c0$L = function (a0) { return { selected: a0 }; };
|
|
14006
14123
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
14007
14124
|
if (rf & 1) {
|
|
14008
14125
|
i0.ɵɵelementStart(0, "div", 10);
|
|
@@ -14015,7 +14132,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
|
14015
14132
|
if (rf & 2) {
|
|
14016
14133
|
const radioButton_r5 = ctx.$implicit;
|
|
14017
14134
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
14018
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
14135
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
14019
14136
|
i0.ɵɵadvance(1);
|
|
14020
14137
|
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
14021
14138
|
i0.ɵɵadvance(1);
|
|
@@ -14166,7 +14283,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) {
|
|
|
14166
14283
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
14167
14284
|
}
|
|
14168
14285
|
}
|
|
14169
|
-
const _c0$
|
|
14286
|
+
const _c0$K = function (a0) { return { "form-group-error": a0 }; };
|
|
14170
14287
|
const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14171
14288
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
14172
14289
|
ngOnInit() {
|
|
@@ -14185,7 +14302,7 @@ WriteEmailFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
|
|
|
14185
14302
|
i0.ɵɵelementEnd();
|
|
14186
14303
|
}
|
|
14187
14304
|
if (rf & 2) {
|
|
14188
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
14305
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
14189
14306
|
i0.ɵɵadvance(1);
|
|
14190
14307
|
i0.ɵɵproperty("for", ctx.id());
|
|
14191
14308
|
i0.ɵɵadvance(1);
|
|
@@ -14286,7 +14403,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
|
|
|
14286
14403
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
14287
14404
|
}
|
|
14288
14405
|
}
|
|
14289
|
-
const _c0$
|
|
14406
|
+
const _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
14290
14407
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
14291
14408
|
get listItems() {
|
|
14292
14409
|
if (this.caseField) {
|
|
@@ -14323,7 +14440,7 @@ WriteFixedListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
14323
14440
|
i0.ɵɵelementEnd()();
|
|
14324
14441
|
}
|
|
14325
14442
|
if (rf & 2) {
|
|
14326
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
14443
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
14327
14444
|
i0.ɵɵadvance(1);
|
|
14328
14445
|
i0.ɵɵproperty("for", ctx.id());
|
|
14329
14446
|
i0.ɵɵadvance(1);
|
|
@@ -14432,7 +14549,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) {
|
|
|
14432
14549
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
14433
14550
|
}
|
|
14434
14551
|
}
|
|
14435
|
-
const _c0$
|
|
14552
|
+
const _c0$I = function (a0) { return { selected: a0 }; };
|
|
14436
14553
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
14437
14554
|
if (rf & 1) {
|
|
14438
14555
|
i0.ɵɵelementStart(0, "div", 9);
|
|
@@ -14445,7 +14562,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
|
14445
14562
|
if (rf & 2) {
|
|
14446
14563
|
const radioButton_r4 = ctx.$implicit;
|
|
14447
14564
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
14448
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
14565
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
14449
14566
|
i0.ɵɵadvance(1);
|
|
14450
14567
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
14451
14568
|
i0.ɵɵadvance(1);
|
|
@@ -14599,7 +14716,7 @@ function WriteJudicialUserFieldComponent_span_4_Template(rf, ctx) {
|
|
|
14599
14716
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
14600
14717
|
}
|
|
14601
14718
|
}
|
|
14602
|
-
const _c0$
|
|
14719
|
+
const _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
14603
14720
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
14604
14721
|
if (rf & 1) {
|
|
14605
14722
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
@@ -14611,7 +14728,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
|
14611
14728
|
if (rf & 2) {
|
|
14612
14729
|
const judicialUser_r7 = ctx.$implicit;
|
|
14613
14730
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
14614
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
14731
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$H, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
14615
14732
|
i0.ɵɵadvance(1);
|
|
14616
14733
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
14617
14734
|
}
|
|
@@ -15461,7 +15578,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) {
|
|
|
15461
15578
|
i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
15462
15579
|
}
|
|
15463
15580
|
}
|
|
15464
|
-
const _c0$
|
|
15581
|
+
const _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
15465
15582
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
15466
15583
|
if (rf & 1) {
|
|
15467
15584
|
i0.ɵɵelementStart(0, "div", 35)(1, "h3", 22);
|
|
@@ -15477,7 +15594,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
|
15477
15594
|
}
|
|
15478
15595
|
if (rf & 2) {
|
|
15479
15596
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
15480
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
15597
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
|
|
15481
15598
|
i0.ɵɵadvance(3);
|
|
15482
15599
|
i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
15483
15600
|
}
|
|
@@ -15527,11 +15644,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) {
|
|
|
15527
15644
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
15528
15645
|
i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
15529
15646
|
i0.ɵɵadvance(1);
|
|
15530
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
15647
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
|
|
15531
15648
|
i0.ɵɵadvance(3);
|
|
15532
15649
|
i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
15533
15650
|
i0.ɵɵadvance(2);
|
|
15534
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
15651
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
|
|
15535
15652
|
i0.ɵɵadvance(5);
|
|
15536
15653
|
i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
15537
15654
|
i0.ɵɵadvance(2);
|
|
@@ -15932,7 +16049,7 @@ LinkCasesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkCase
|
|
|
15932
16049
|
i0.ɵɵadvance(4);
|
|
15933
16050
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
15934
16051
|
i0.ɵɵadvance(4);
|
|
15935
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16052
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
|
|
15936
16053
|
i0.ɵɵadvance(1);
|
|
15937
16054
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
15938
16055
|
i0.ɵɵadvance(18);
|
|
@@ -16564,7 +16681,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) {
|
|
|
16564
16681
|
i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
16565
16682
|
}
|
|
16566
16683
|
}
|
|
16567
|
-
const _c0$
|
|
16684
|
+
const _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16568
16685
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
16569
16686
|
if (rf & 1) {
|
|
16570
16687
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -16575,7 +16692,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
|
16575
16692
|
}
|
|
16576
16693
|
if (rf & 2) {
|
|
16577
16694
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
16578
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
16695
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
16579
16696
|
i0.ɵɵadvance(1);
|
|
16580
16697
|
i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
16581
16698
|
i0.ɵɵadvance(2);
|
|
@@ -17381,7 +17498,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) {
|
|
|
17381
17498
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
17382
17499
|
}
|
|
17383
17500
|
}
|
|
17384
|
-
const _c0$
|
|
17501
|
+
const _c0$E = function (a0) { return { "form-group-error": a0 }; };
|
|
17385
17502
|
class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
17386
17503
|
ngOnInit() {
|
|
17387
17504
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -17403,7 +17520,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
17403
17520
|
i0.ɵɵelementEnd()();
|
|
17404
17521
|
}
|
|
17405
17522
|
if (rf & 2) {
|
|
17406
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
17523
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
17407
17524
|
i0.ɵɵadvance(1);
|
|
17408
17525
|
i0.ɵɵproperty("for", ctx.id());
|
|
17409
17526
|
i0.ɵɵadvance(1);
|
|
@@ -17538,7 +17655,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
|
17538
17655
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
17539
17656
|
}
|
|
17540
17657
|
}
|
|
17541
|
-
const _c0$
|
|
17658
|
+
const _c0$D = function (a0) { return { "error": a0 }; };
|
|
17542
17659
|
class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
17543
17660
|
ngOnInit() {
|
|
17544
17661
|
this.checkboxes = new FormArray([]);
|
|
@@ -17592,7 +17709,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
17592
17709
|
i0.ɵɵelementEnd()();
|
|
17593
17710
|
}
|
|
17594
17711
|
if (rf & 2) {
|
|
17595
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
17712
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
17596
17713
|
i0.ɵɵadvance(3);
|
|
17597
17714
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17598
17715
|
i0.ɵɵadvance(1);
|
|
@@ -17676,7 +17793,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) {
|
|
|
17676
17793
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
|
|
17677
17794
|
}
|
|
17678
17795
|
}
|
|
17679
|
-
const _c0$
|
|
17796
|
+
const _c0$C = function (a0) { return { "form-group-error": a0 }; };
|
|
17680
17797
|
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17681
17798
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
17682
17799
|
ngOnInit() {
|
|
@@ -17695,7 +17812,7 @@ WriteNumberFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: W
|
|
|
17695
17812
|
i0.ɵɵelementEnd();
|
|
17696
17813
|
}
|
|
17697
17814
|
if (rf & 2) {
|
|
17698
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17815
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
17699
17816
|
i0.ɵɵadvance(1);
|
|
17700
17817
|
i0.ɵɵproperty("for", ctx.id());
|
|
17701
17818
|
i0.ɵɵadvance(1);
|
|
@@ -17978,7 +18095,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
|
|
|
17978
18095
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
17979
18096
|
}
|
|
17980
18097
|
}
|
|
17981
|
-
const _c0$
|
|
18098
|
+
const _c0$B = function (a0) { return { "scroll-container ": a0 }; };
|
|
17982
18099
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
17983
18100
|
if (rf & 1) {
|
|
17984
18101
|
i0.ɵɵelementStart(0, "div", 26);
|
|
@@ -17994,7 +18111,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
|
17994
18111
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
17995
18112
|
let tmp_0_0;
|
|
17996
18113
|
let tmp_2_0;
|
|
17997
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
18114
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
17998
18115
|
i0.ɵɵadvance(2);
|
|
17999
18116
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
18000
18117
|
i0.ɵɵadvance(2);
|
|
@@ -18422,7 +18539,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) {
|
|
|
18422
18539
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
18423
18540
|
}
|
|
18424
18541
|
}
|
|
18425
|
-
const _c0$
|
|
18542
|
+
const _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
18426
18543
|
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18427
18544
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
18428
18545
|
ngOnInit() {
|
|
@@ -18441,7 +18558,7 @@ WritePhoneUKFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
18441
18558
|
i0.ɵɵelementEnd();
|
|
18442
18559
|
}
|
|
18443
18560
|
if (rf & 2) {
|
|
18444
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18561
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
18445
18562
|
i0.ɵɵadvance(1);
|
|
18446
18563
|
i0.ɵɵproperty("for", ctx.id());
|
|
18447
18564
|
i0.ɵɵadvance(1);
|
|
@@ -18527,7 +18644,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) {
|
|
|
18527
18644
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
18528
18645
|
}
|
|
18529
18646
|
}
|
|
18530
|
-
const _c0$
|
|
18647
|
+
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
18531
18648
|
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
18532
18649
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
18533
18650
|
constructor(browserService) {
|
|
@@ -18558,7 +18675,7 @@ WriteTextAreaFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
18558
18675
|
i0.ɵɵelementEnd()();
|
|
18559
18676
|
}
|
|
18560
18677
|
if (rf & 2) {
|
|
18561
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18678
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
18562
18679
|
i0.ɵɵadvance(1);
|
|
18563
18680
|
i0.ɵɵproperty("for", ctx.id());
|
|
18564
18681
|
i0.ɵɵadvance(1);
|
|
@@ -18644,7 +18761,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) {
|
|
|
18644
18761
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
18645
18762
|
}
|
|
18646
18763
|
}
|
|
18647
|
-
const _c0$
|
|
18764
|
+
const _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
18648
18765
|
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18649
18766
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
18650
18767
|
ngOnInit() {
|
|
@@ -18667,7 +18784,7 @@ WriteTextFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
|
|
|
18667
18784
|
i0.ɵɵelementEnd()();
|
|
18668
18785
|
}
|
|
18669
18786
|
if (rf & 2) {
|
|
18670
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18787
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
18671
18788
|
i0.ɵɵadvance(1);
|
|
18672
18789
|
i0.ɵɵproperty("for", ctx.id());
|
|
18673
18790
|
i0.ɵɵadvance(1);
|
|
@@ -18862,7 +18979,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) {
|
|
|
18862
18979
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
18863
18980
|
}
|
|
18864
18981
|
}
|
|
18865
|
-
const _c0$
|
|
18982
|
+
const _c0$x = function (a0) { return { selected: a0 }; };
|
|
18866
18983
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
18867
18984
|
if (rf & 1) {
|
|
18868
18985
|
i0.ɵɵelementStart(0, "div", 10);
|
|
@@ -18874,7 +18991,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
|
18874
18991
|
if (rf & 2) {
|
|
18875
18992
|
const value_r4 = ctx.$implicit;
|
|
18876
18993
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
18877
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18994
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, ctx_r3.yesNoControl.value === value_r4));
|
|
18878
18995
|
i0.ɵɵadvance(1);
|
|
18879
18996
|
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
18880
18997
|
i0.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -19030,7 +19147,7 @@ PaletteService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PaletteSe
|
|
|
19030
19147
|
}], null, null);
|
|
19031
19148
|
})();
|
|
19032
19149
|
|
|
19033
|
-
const _c0$
|
|
19150
|
+
const _c0$w = ["fieldContainer"];
|
|
19034
19151
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
19035
19152
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
19036
19153
|
constructor(resolver, paletteService) {
|
|
@@ -19079,7 +19196,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
19079
19196
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
19080
19197
|
FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
|
|
19081
19198
|
if (rf & 1) {
|
|
19082
|
-
i0.ɵɵviewQuery(_c0$
|
|
19199
|
+
i0.ɵɵviewQuery(_c0$w, 5, ViewContainerRef);
|
|
19083
19200
|
}
|
|
19084
19201
|
if (rf & 2) {
|
|
19085
19202
|
let _t;
|
|
@@ -19115,7 +19232,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
19115
19232
|
}] });
|
|
19116
19233
|
})();
|
|
19117
19234
|
|
|
19118
|
-
const _c0$
|
|
19235
|
+
const _c0$v = ["fieldContainer"];
|
|
19119
19236
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
19120
19237
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
19121
19238
|
constructor(resolver, paletteService) {
|
|
@@ -19160,7 +19277,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
19160
19277
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
19161
19278
|
FieldWriteComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
|
|
19162
19279
|
if (rf & 1) {
|
|
19163
|
-
i0.ɵɵviewQuery(_c0$
|
|
19280
|
+
i0.ɵɵviewQuery(_c0$v, 7, ViewContainerRef);
|
|
19164
19281
|
}
|
|
19165
19282
|
if (rf & 2) {
|
|
19166
19283
|
let _t;
|
|
@@ -19218,7 +19335,7 @@ function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) {
|
|
|
19218
19335
|
i0.ɵɵprojection(0);
|
|
19219
19336
|
}
|
|
19220
19337
|
}
|
|
19221
|
-
const _c0$
|
|
19338
|
+
const _c0$u = ["*"];
|
|
19222
19339
|
class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
19223
19340
|
constructor() {
|
|
19224
19341
|
super(...arguments);
|
|
@@ -19253,7 +19370,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
19253
19370
|
}
|
|
19254
19371
|
}
|
|
19255
19372
|
FieldReadLabelComponent.ɵfac = /*@__PURE__*/ function () { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(t) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(t || FieldReadLabelComponent); }; }();
|
|
19256
|
-
FieldReadLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
19373
|
+
FieldReadLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$u, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) {
|
|
19257
19374
|
if (rf & 1) {
|
|
19258
19375
|
i0.ɵɵprojectionDef();
|
|
19259
19376
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -19285,7 +19402,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Templ
|
|
|
19285
19402
|
i0.ɵɵelementContainer(0);
|
|
19286
19403
|
}
|
|
19287
19404
|
}
|
|
19288
|
-
const _c0$
|
|
19405
|
+
const _c0$t = function (a0) { return { cat: a0, level: 1 }; };
|
|
19289
19406
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
19290
19407
|
if (rf & 1) {
|
|
19291
19408
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -19297,7 +19414,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
19297
19414
|
i0.ɵɵnextContext();
|
|
19298
19415
|
const _r1 = i0.ɵɵreference(13);
|
|
19299
19416
|
i0.ɵɵadvance(1);
|
|
19300
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
19417
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$t, cat_r3));
|
|
19301
19418
|
}
|
|
19302
19419
|
}
|
|
19303
19420
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
@@ -19507,7 +19624,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
|
|
|
19507
19624
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
19508
19625
|
}
|
|
19509
19626
|
}
|
|
19510
|
-
const _c0$
|
|
19627
|
+
const _c0$s = [[["", "trigger", ""]]];
|
|
19511
19628
|
const _c1$8 = ["[trigger]"];
|
|
19512
19629
|
class CaseFileViewOverlayMenuComponent {
|
|
19513
19630
|
constructor() {
|
|
@@ -19524,7 +19641,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
19524
19641
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
19525
19642
|
CaseFileViewOverlayMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$8, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
|
|
19526
19643
|
if (rf & 1) {
|
|
19527
|
-
i0.ɵɵprojectionDef(_c0$
|
|
19644
|
+
i0.ɵɵprojectionDef(_c0$s);
|
|
19528
19645
|
i0.ɵɵelementStart(0, "div")(1, "button", 0, 1);
|
|
19529
19646
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
19530
19647
|
i0.ɵɵprojection(3);
|
|
@@ -20124,7 +20241,7 @@ function AddCommentsComponent_div_12_Template(rf, ctx) {
|
|
|
20124
20241
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
|
|
20125
20242
|
}
|
|
20126
20243
|
}
|
|
20127
|
-
const _c0$
|
|
20244
|
+
const _c0$r = function (a0) { return { "form-group-error": a0 }; };
|
|
20128
20245
|
class AddCommentsComponent {
|
|
20129
20246
|
constructor() {
|
|
20130
20247
|
this.optional = false;
|
|
@@ -20200,7 +20317,7 @@ AddCommentsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddCom
|
|
|
20200
20317
|
if (rf & 2) {
|
|
20201
20318
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20202
20319
|
i0.ɵɵadvance(2);
|
|
20203
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$
|
|
20320
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$r, ctx.errorMessages.length > 0));
|
|
20204
20321
|
i0.ɵɵadvance(2);
|
|
20205
20322
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
20206
20323
|
i0.ɵɵadvance(1);
|
|
@@ -20532,7 +20649,7 @@ function ManageCaseFlagsComponent_div_10_Template(rf, ctx) {
|
|
|
20532
20649
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
20533
20650
|
}
|
|
20534
20651
|
}
|
|
20535
|
-
const _c0$
|
|
20652
|
+
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
20536
20653
|
class ManageCaseFlagsComponent {
|
|
20537
20654
|
constructor() {
|
|
20538
20655
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -20687,7 +20804,7 @@ ManageCaseFlagsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ma
|
|
|
20687
20804
|
if (rf & 2) {
|
|
20688
20805
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20689
20806
|
i0.ɵɵadvance(1);
|
|
20690
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20807
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$q, ctx.errorMessages.length > 0));
|
|
20691
20808
|
i0.ɵɵadvance(4);
|
|
20692
20809
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
20693
20810
|
i0.ɵɵadvance(2);
|
|
@@ -20789,7 +20906,7 @@ function SearchLanguageInterpreterComponent_div_21_div_5_Template(rf, ctx) {
|
|
|
20789
20906
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
|
|
20790
20907
|
}
|
|
20791
20908
|
}
|
|
20792
|
-
const _c0$
|
|
20909
|
+
const _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
20793
20910
|
function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) {
|
|
20794
20911
|
if (rf & 1) {
|
|
20795
20912
|
i0.ɵɵelementStart(0, "div", 25)(1, "div", 1)(2, "label", 26);
|
|
@@ -20803,7 +20920,7 @@ function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) {
|
|
|
20803
20920
|
if (rf & 2) {
|
|
20804
20921
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
20805
20922
|
i0.ɵɵadvance(1);
|
|
20806
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
20923
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$p, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
20807
20924
|
i0.ɵɵadvance(2);
|
|
20808
20925
|
i0.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
|
|
20809
20926
|
i0.ɵɵadvance(1);
|
|
@@ -20960,7 +21077,7 @@ SearchLanguageInterpreterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
20960
21077
|
const _r2 = i0.ɵɵreference(12);
|
|
20961
21078
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20962
21079
|
i0.ɵɵadvance(1);
|
|
20963
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$
|
|
21080
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$p, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
20964
21081
|
i0.ɵɵadvance(2);
|
|
20965
21082
|
i0.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
20966
21083
|
i0.ɵɵadvance(1);
|
|
@@ -21097,7 +21214,7 @@ function SelectFlagLocationComponent_div_10_Template(rf, ctx) {
|
|
|
21097
21214
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
21098
21215
|
}
|
|
21099
21216
|
}
|
|
21100
|
-
const _c0$
|
|
21217
|
+
const _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
21101
21218
|
class SelectFlagLocationComponent {
|
|
21102
21219
|
constructor() {
|
|
21103
21220
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -21179,7 +21296,7 @@ SelectFlagLocationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
21179
21296
|
if (rf & 2) {
|
|
21180
21297
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21181
21298
|
i0.ɵɵadvance(1);
|
|
21182
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
21299
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$o, ctx.errorMessages.length > 0));
|
|
21183
21300
|
i0.ɵɵadvance(4);
|
|
21184
21301
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
21185
21302
|
i0.ɵɵadvance(2);
|
|
@@ -21254,7 +21371,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) {
|
|
|
21254
21371
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
21255
21372
|
}
|
|
21256
21373
|
}
|
|
21257
|
-
const _c0$
|
|
21374
|
+
const _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
21258
21375
|
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
21259
21376
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
21260
21377
|
if (rf & 1) {
|
|
@@ -21268,7 +21385,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
|
21268
21385
|
if (rf & 2) {
|
|
21269
21386
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
21270
21387
|
i0.ɵɵadvance(1);
|
|
21271
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
21388
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$n, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
21272
21389
|
i0.ɵɵadvance(3);
|
|
21273
21390
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
21274
21391
|
i0.ɵɵadvance(1);
|
|
@@ -21422,7 +21539,7 @@ SelectFlagTypeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sel
|
|
|
21422
21539
|
if (rf & 2) {
|
|
21423
21540
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21424
21541
|
i0.ɵɵadvance(1);
|
|
21425
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
21542
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$n, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
21426
21543
|
i0.ɵɵadvance(4);
|
|
21427
21544
|
i0.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
21428
21545
|
i0.ɵɵadvance(1);
|
|
@@ -21491,7 +21608,7 @@ function UpdateFlagComponent_button_22_Template(rf, ctx) {
|
|
|
21491
21608
|
i0.ɵɵelementEnd();
|
|
21492
21609
|
}
|
|
21493
21610
|
}
|
|
21494
|
-
const _c0$
|
|
21611
|
+
const _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
21495
21612
|
const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
21496
21613
|
class UpdateFlagComponent {
|
|
21497
21614
|
constructor() {
|
|
@@ -21595,7 +21712,7 @@ UpdateFlagComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateF
|
|
|
21595
21712
|
if (rf & 2) {
|
|
21596
21713
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21597
21714
|
i0.ɵɵadvance(2);
|
|
21598
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$
|
|
21715
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$m, ctx.errorMessages.length > 0));
|
|
21599
21716
|
i0.ɵɵadvance(2);
|
|
21600
21717
|
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
21601
21718
|
i0.ɵɵadvance(1);
|
|
@@ -21656,7 +21773,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) {
|
|
|
21656
21773
|
i0.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
21657
21774
|
}
|
|
21658
21775
|
}
|
|
21659
|
-
const _c0$
|
|
21776
|
+
const _c0$l = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
21660
21777
|
/**
|
|
21661
21778
|
* Display a complex type fields as a list of values without labels.
|
|
21662
21779
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -21677,7 +21794,7 @@ ReadComplexFieldRawComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
21677
21794
|
}
|
|
21678
21795
|
if (rf & 2) {
|
|
21679
21796
|
i0.ɵɵadvance(1);
|
|
21680
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
21797
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
21681
21798
|
}
|
|
21682
21799
|
}, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
|
|
21683
21800
|
(function () {
|
|
@@ -21741,6 +21858,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) {
|
|
|
21741
21858
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
21742
21859
|
}
|
|
21743
21860
|
}
|
|
21861
|
+
const _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
21744
21862
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
21745
21863
|
constructor() {
|
|
21746
21864
|
super(...arguments);
|
|
@@ -21748,7 +21866,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
21748
21866
|
}
|
|
21749
21867
|
}
|
|
21750
21868
|
ReadComplexFieldTableComponent.ɵfac = /*@__PURE__*/ function () { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; }();
|
|
21751
|
-
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
21869
|
+
ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) {
|
|
21752
21870
|
if (rf & 1) {
|
|
21753
21871
|
i0.ɵɵelementStart(0, "div", 0)(1, "dl", 1)(2, "dt")(3, "span", 2);
|
|
21754
21872
|
i0.ɵɵtext(4);
|
|
@@ -21765,13 +21883,13 @@ ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
21765
21883
|
i0.ɵɵadvance(4);
|
|
21766
21884
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
21767
21885
|
i0.ɵɵadvance(5);
|
|
21768
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵ
|
|
21886
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction3(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
|
|
21769
21887
|
}
|
|
21770
21888
|
}, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
21771
21889
|
(function () {
|
|
21772
21890
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
21773
21891
|
type: Component,
|
|
21774
|
-
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
|
|
21892
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup: undefined :idPrefix\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
|
|
21775
21893
|
}], null, { caseFields: [{
|
|
21776
21894
|
type: Input
|
|
21777
21895
|
}] });
|
|
@@ -22300,7 +22418,7 @@ const _c0$i = ["picker"];
|
|
|
22300
22418
|
const _c1$5 = ["input"];
|
|
22301
22419
|
function DatetimePickerComponent_span_3_Template(rf, ctx) {
|
|
22302
22420
|
if (rf & 1) {
|
|
22303
|
-
i0.ɵɵelementStart(0, "span",
|
|
22421
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
22304
22422
|
i0.ɵɵtext(1);
|
|
22305
22423
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22306
22424
|
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
@@ -22314,7 +22432,7 @@ function DatetimePickerComponent_span_3_Template(rf, ctx) {
|
|
|
22314
22432
|
}
|
|
22315
22433
|
function DatetimePickerComponent_span_4_Template(rf, ctx) {
|
|
22316
22434
|
if (rf & 1) {
|
|
22317
|
-
i0.ɵɵelementStart(0, "span",
|
|
22435
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
22318
22436
|
i0.ɵɵtext(1);
|
|
22319
22437
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22320
22438
|
i0.ɵɵelementEnd();
|
|
@@ -22327,7 +22445,7 @@ function DatetimePickerComponent_span_4_Template(rf, ctx) {
|
|
|
22327
22445
|
}
|
|
22328
22446
|
function DatetimePickerComponent_span_5_Template(rf, ctx) {
|
|
22329
22447
|
if (rf & 1) {
|
|
22330
|
-
i0.ɵɵelementStart(0, "span",
|
|
22448
|
+
i0.ɵɵelementStart(0, "span", 13);
|
|
22331
22449
|
i0.ɵɵtext(1);
|
|
22332
22450
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22333
22451
|
i0.ɵɵpipe(3, "ccdFirstError");
|
|
@@ -22341,7 +22459,7 @@ function DatetimePickerComponent_span_5_Template(rf, ctx) {
|
|
|
22341
22459
|
}
|
|
22342
22460
|
function DatetimePickerComponent_span_6_Template(rf, ctx) {
|
|
22343
22461
|
if (rf & 1) {
|
|
22344
|
-
i0.ɵɵelementStart(0, "span",
|
|
22462
|
+
i0.ɵɵelementStart(0, "span", 13);
|
|
22345
22463
|
i0.ɵɵtext(1);
|
|
22346
22464
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22347
22465
|
i0.ɵɵelementEnd();
|
|
@@ -22353,7 +22471,7 @@ function DatetimePickerComponent_span_6_Template(rf, ctx) {
|
|
|
22353
22471
|
}
|
|
22354
22472
|
function DatetimePickerComponent_span_7_Template(rf, ctx) {
|
|
22355
22473
|
if (rf & 1) {
|
|
22356
|
-
i0.ɵɵelementStart(0, "span",
|
|
22474
|
+
i0.ɵɵelementStart(0, "span", 13);
|
|
22357
22475
|
i0.ɵɵtext(1);
|
|
22358
22476
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22359
22477
|
i0.ɵɵelementEnd();
|
|
@@ -22544,7 +22662,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
|
|
|
22544
22662
|
deps: [MAT_LEGACY_DATE_LOCALE, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
22545
22663
|
},
|
|
22546
22664
|
{ provide: NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
22547
|
-
]), i0.ɵɵInheritDefinitionFeature], decls:
|
|
22665
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 26, consts: [[1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "min", "max", "formControl", "ngxMatDatetimePicker", "focusin", "focusout", "dateChange"], ["input", ""], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian", "yearSelected", "monthSelected", "opened"], ["picker", ""], ["mat-raised-button", "", "color", "primary", "ngxMatDatepickerApply", ""], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) {
|
|
22548
22666
|
if (rf & 1) {
|
|
22549
22667
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
22550
22668
|
i0.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 4, 5, "span", 1);
|
|
@@ -22559,7 +22677,9 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
|
|
|
22559
22677
|
i0.ɵɵelement(11, "mat-datepicker-toggle", 7);
|
|
22560
22678
|
i0.ɵɵelementStart(12, "ngx-mat-datetime-picker", 8, 9);
|
|
22561
22679
|
i0.ɵɵlistener("yearSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_yearSelected_12_listener($event) { return ctx.yearSelected($event); })("monthSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_monthSelected_12_listener($event) { return ctx.monthSelected($event); })("opened", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_opened_12_listener() { return ctx.toggleClick(); });
|
|
22562
|
-
i0.ɵɵ
|
|
22680
|
+
i0.ɵɵelementStart(14, "ngx-mat-datepicker-actions")(15, "button", 10);
|
|
22681
|
+
i0.ɵɵtext(16, "Confirm");
|
|
22682
|
+
i0.ɵɵelementEnd()()()()()();
|
|
22563
22683
|
}
|
|
22564
22684
|
if (rf & 2) {
|
|
22565
22685
|
const _r6 = i0.ɵɵreference(13);
|
|
@@ -22582,7 +22702,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
|
|
|
22582
22702
|
i0.ɵɵadvance(1);
|
|
22583
22703
|
i0.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
|
|
22584
22704
|
}
|
|
22585
|
-
}, dependencies: [i1.NgClass, i1.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, i4.NgxMatDatetimepicker, i4.NgxMatDatepickerInput, i5$1.MatLegacySuffix, i6$2.MatDatepickerToggle, FieldLabelPipe, FirstErrorPipe, i1$1.RpxTranslatePipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}\n"], encapsulation: 2 });
|
|
22705
|
+
}, dependencies: [i1.NgClass, i1.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, i4.NgxMatDatetimepicker, i4.NgxMatDatepickerInput, i4.NgxMatDatepickerActions, i4.NgxMatDatepickerApply, i5$1.MatLegacySuffix, i6$2.MatDatepickerToggle, FieldLabelPipe, FirstErrorPipe, i1$1.RpxTranslatePipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:120px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}\n"], encapsulation: 2 });
|
|
22586
22706
|
(function () {
|
|
22587
22707
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
22588
22708
|
type: Component,
|
|
@@ -22594,7 +22714,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
|
|
|
22594
22714
|
deps: [MAT_LEGACY_DATE_LOCALE, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
22595
22715
|
},
|
|
22596
22716
|
{ provide: NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
22597
|
-
], template: "<div class=\"govuk-form-group bottom-30\" [id]=\"caseField.id\"\n [ngClass]=\"{'form-group-error': dateControl && !dateControl.valid && dateControl.dirty}\">\n <fieldset>\n <legend>\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{(caseField | ccdFieldLabel) | rpxTranslate }}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.errors && dateControl.dirty && !(minError || maxError)\">{{(dateControl.errors | ccdFirstError:caseField.label) | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && minError\">{{'This date is older than the minimum date allowed' | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && maxError\">{{'This date is later than the maximum date allowed' | rpxTranslate}}</span>\n </legend>\n <div class=\"datepicker-container\">\n <input class=\"govuk-input\"\n #input\n attr.aria-label=\"Please enter a date and time in the format | rpxTranslate {{dateTimeEntryFormat}}\"\n [min]=\"minDate(caseField)\"\n [max]=\"maxDate(caseField)\"\n [formControl]=\"dateControl\"\n [ngxMatDatetimePicker]=\"picker\"\n (focusin)=\"focusIn()\"\n (focusout)=\"focusOut()\"\n (dateChange)=\"valueChanged()\"\n ng-model-options=\"{timezone:'utc'}\"\n >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" id=\"pickerOpener\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [color]=\"color\"\n [touchUi]=\"touchUi\"\n [hideTime]=\"hideTime\"\n [startView]=\"startView\"\n [stepHour]=\"stepHour\"\n [stepSecond]=\"stepSecond\"\n [stepMinute]=\"stepMinute\"\n [showSeconds]=\"showSeconds\"\n [showSpinners]=\"showSpinners\"\n [disableMinute]=\"disableMinute\"\n [enableMeridian]=\"enableMeridian\"\n (yearSelected)=\"yearSelected($event)\"\n (monthSelected)=\"monthSelected($event)\"\n (opened)=\"toggleClick()\"\n >\n </ngx-mat-datetime-picker>\n </div>\n </fieldset>\n</div>\n", styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}\n"] }]
|
|
22717
|
+
], template: "<div class=\"govuk-form-group bottom-30\" [id]=\"caseField.id\"\n [ngClass]=\"{'form-group-error': dateControl && !dateControl.valid && dateControl.dirty}\">\n <fieldset>\n <legend>\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{(caseField | ccdFieldLabel) | rpxTranslate }}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.errors && dateControl.dirty && !(minError || maxError)\">{{(dateControl.errors | ccdFirstError:caseField.label) | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && minError\">{{'This date is older than the minimum date allowed' | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && maxError\">{{'This date is later than the maximum date allowed' | rpxTranslate}}</span>\n </legend>\n <div class=\"datepicker-container\">\n <input class=\"govuk-input\"\n #input\n attr.aria-label=\"Please enter a date and time in the format | rpxTranslate {{dateTimeEntryFormat}}\"\n [min]=\"minDate(caseField)\"\n [max]=\"maxDate(caseField)\"\n [formControl]=\"dateControl\"\n [ngxMatDatetimePicker]=\"picker\"\n (focusin)=\"focusIn()\"\n (focusout)=\"focusOut()\"\n (dateChange)=\"valueChanged()\"\n ng-model-options=\"{timezone:'utc'}\"\n >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" id=\"pickerOpener\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [color]=\"color\"\n [touchUi]=\"touchUi\"\n [hideTime]=\"hideTime\"\n [startView]=\"startView\"\n [stepHour]=\"stepHour\"\n [stepSecond]=\"stepSecond\"\n [stepMinute]=\"stepMinute\"\n [showSeconds]=\"showSeconds\"\n [showSpinners]=\"showSpinners\"\n [disableMinute]=\"disableMinute\"\n [enableMeridian]=\"enableMeridian\"\n (yearSelected)=\"yearSelected($event)\"\n (monthSelected)=\"monthSelected($event)\"\n (opened)=\"toggleClick()\"\n >\n <ngx-mat-datepicker-actions>\n <button mat-raised-button color=\"primary\" ngxMatDatepickerApply>Confirm</button>\n </ngx-mat-datepicker-actions>\n </ngx-mat-datetime-picker>\n </div>\n </fieldset>\n</div>\n", styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:120px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}\n"] }]
|
|
22598
22718
|
}], function () {
|
|
22599
22719
|
return [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
|
|
22600
22720
|
type: Inject,
|
|
@@ -23498,17 +23618,17 @@ class ReadFieldsFilterPipe {
|
|
|
23498
23618
|
/**
|
|
23499
23619
|
* Complex type should have at least on simple field descendant with a value.
|
|
23500
23620
|
*/
|
|
23501
|
-
static isValidComplex(field, values) {
|
|
23621
|
+
static isValidComplex(field, values, checkConditionalShowAgainst) {
|
|
23502
23622
|
values = values || {};
|
|
23503
23623
|
const type = field.field_type;
|
|
23504
23624
|
const value = ReadFieldsFilterPipe.getValue(field, values);
|
|
23505
23625
|
const hasChildrenWithValue = type.complex_fields.find(f => {
|
|
23506
|
-
const willKeep = ReadFieldsFilterPipe.keepField(f, value, true);
|
|
23507
|
-
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f,
|
|
23626
|
+
const willKeep = ReadFieldsFilterPipe.keepField(f, value, true, checkConditionalShowAgainst);
|
|
23627
|
+
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, checkConditionalShowAgainst).hidden !== true;
|
|
23508
23628
|
});
|
|
23509
23629
|
return !!hasChildrenWithValue;
|
|
23510
23630
|
}
|
|
23511
|
-
static isValidCollection(field, values) {
|
|
23631
|
+
static isValidCollection(field, values, checkConditionalShowAgainst) {
|
|
23512
23632
|
// if field is collection and it has complex/collection child field; parent field doesnt have value defined
|
|
23513
23633
|
if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
|
|
23514
23634
|
return true;
|
|
@@ -23522,7 +23642,7 @@ class ReadFieldsFilterPipe {
|
|
|
23522
23642
|
value: item.value,
|
|
23523
23643
|
label: null,
|
|
23524
23644
|
});
|
|
23525
|
-
return ReadFieldsFilterPipe.isValidComplex(complexField);
|
|
23645
|
+
return ReadFieldsFilterPipe.isValidComplex(complexField, undefined, checkConditionalShowAgainst);
|
|
23526
23646
|
});
|
|
23527
23647
|
}
|
|
23528
23648
|
return isNotEmpty;
|
|
@@ -23534,11 +23654,11 @@ class ReadFieldsFilterPipe {
|
|
|
23534
23654
|
static isCompound(field) {
|
|
23535
23655
|
return ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type];
|
|
23536
23656
|
}
|
|
23537
|
-
static isValidCompound(field, value) {
|
|
23657
|
+
static isValidCompound(field, value, checkConditionalShowAgainst) {
|
|
23538
23658
|
return ReadFieldsFilterPipe.isCompound(field)
|
|
23539
|
-
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value);
|
|
23659
|
+
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value, checkConditionalShowAgainst);
|
|
23540
23660
|
}
|
|
23541
|
-
static keepField(field, value, ignoreLabels = false) {
|
|
23661
|
+
static keepField(field, value, ignoreLabels = false, checkConditionalShowAgainst) {
|
|
23542
23662
|
// We shouldn't ditch labels.
|
|
23543
23663
|
if (!ignoreLabels && field.field_type.type === 'Label' && (field.label || '').length > 0) {
|
|
23544
23664
|
return true;
|
|
@@ -23549,7 +23669,7 @@ class ReadFieldsFilterPipe {
|
|
|
23549
23669
|
}
|
|
23550
23670
|
value = value || {};
|
|
23551
23671
|
if (ReadFieldsFilterPipe.isCompound(field)) {
|
|
23552
|
-
return ReadFieldsFilterPipe.isValidCompound(field, value);
|
|
23672
|
+
return ReadFieldsFilterPipe.isValidCompound(field, value, checkConditionalShowAgainst);
|
|
23553
23673
|
}
|
|
23554
23674
|
return !ReadFieldsFilterPipe.isEmpty(field.value)
|
|
23555
23675
|
|| !ReadFieldsFilterPipe.isEmpty(value[field.id]);
|
|
@@ -23592,7 +23712,7 @@ class ReadFieldsFilterPipe {
|
|
|
23592
23712
|
/**
|
|
23593
23713
|
* Filter out fields having no data to display and harmonise field values coming parent's value.
|
|
23594
23714
|
*/
|
|
23595
|
-
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path) {
|
|
23715
|
+
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path, idPrefix) {
|
|
23596
23716
|
if (!complexField || !complexField.field_type) {
|
|
23597
23717
|
return [];
|
|
23598
23718
|
}
|
|
@@ -23601,8 +23721,21 @@ class ReadFieldsFilterPipe {
|
|
|
23601
23721
|
let checkConditionalShowAgainst = values;
|
|
23602
23722
|
let formGroupAvailable = false;
|
|
23603
23723
|
if (formGroup) {
|
|
23604
|
-
checkConditionalShowAgainst = formGroup.
|
|
23724
|
+
checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
|
|
23605
23725
|
formGroupAvailable = true;
|
|
23726
|
+
if (idPrefix !== undefined) {
|
|
23727
|
+
if (idPrefix !== '') {
|
|
23728
|
+
const fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
23729
|
+
if (checkConditionalShowAgainst[fieldId]) {
|
|
23730
|
+
checkConditionalShowAgainst = values;
|
|
23731
|
+
formGroupAvailable = false;
|
|
23732
|
+
}
|
|
23733
|
+
}
|
|
23734
|
+
else {
|
|
23735
|
+
checkConditionalShowAgainst = Object.assign(checkConditionalShowAgainst, values);
|
|
23736
|
+
formGroupAvailable = false;
|
|
23737
|
+
}
|
|
23738
|
+
}
|
|
23606
23739
|
}
|
|
23607
23740
|
return fields
|
|
23608
23741
|
.map(f => {
|
|
@@ -23622,7 +23755,7 @@ class ReadFieldsFilterPipe {
|
|
|
23622
23755
|
}
|
|
23623
23756
|
return f;
|
|
23624
23757
|
})
|
|
23625
|
-
.filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f));
|
|
23758
|
+
.filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f, undefined, false, checkConditionalShowAgainst));
|
|
23626
23759
|
}
|
|
23627
23760
|
}
|
|
23628
23761
|
ReadFieldsFilterPipe.EMPTY_VALUES = [
|
|
@@ -25058,8 +25191,7 @@ class CaseProgressComponent {
|
|
|
25058
25191
|
let caseTypeId;
|
|
25059
25192
|
this.casesService.getCaseViewV2(this.case).toPromise()
|
|
25060
25193
|
.then(caseView => this.caseDetails = caseView)
|
|
25061
|
-
.then(caseView => this.casesService.getEventTrigger(caseTypeId, this.event, caseView.case_id)
|
|
25062
|
-
.toPromise())
|
|
25194
|
+
.then(caseView => this.casesService.getEventTrigger(caseTypeId, this.event, caseView.case_id).toPromise())
|
|
25063
25195
|
.then(eventTrigger => {
|
|
25064
25196
|
this.eventTriggerService.announceEventTrigger(eventTrigger);
|
|
25065
25197
|
this.eventTrigger = eventTrigger;
|
|
@@ -25615,7 +25747,8 @@ CaseEditorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
25615
25747
|
JudicialworkerService,
|
|
25616
25748
|
CaseworkerService,
|
|
25617
25749
|
SessionStorageService,
|
|
25618
|
-
EventCompletionStateMachineService
|
|
25750
|
+
EventCompletionStateMachineService,
|
|
25751
|
+
ValidPageListCaseFieldsService
|
|
25619
25752
|
], imports: [CommonModule,
|
|
25620
25753
|
RouterModule,
|
|
25621
25754
|
FormsModule,
|
|
@@ -25698,7 +25831,8 @@ CaseEditorModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
25698
25831
|
JudicialworkerService,
|
|
25699
25832
|
CaseworkerService,
|
|
25700
25833
|
SessionStorageService,
|
|
25701
|
-
EventCompletionStateMachineService
|
|
25834
|
+
EventCompletionStateMachineService,
|
|
25835
|
+
ValidPageListCaseFieldsService
|
|
25702
25836
|
]
|
|
25703
25837
|
}]
|
|
25704
25838
|
}], null, null);
|
|
@@ -31566,6 +31700,7 @@ CaseViewerModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
31566
31700
|
HttpService,
|
|
31567
31701
|
CaseResolver,
|
|
31568
31702
|
ErrorNotifierService,
|
|
31703
|
+
PollingService
|
|
31569
31704
|
], imports: [CommonModule,
|
|
31570
31705
|
RouterModule,
|
|
31571
31706
|
ErrorsModule,
|
|
@@ -31642,6 +31777,7 @@ CaseViewerModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
|
31642
31777
|
HttpService,
|
|
31643
31778
|
CaseResolver,
|
|
31644
31779
|
ErrorNotifierService,
|
|
31780
|
+
PollingService
|
|
31645
31781
|
]
|
|
31646
31782
|
}]
|
|
31647
31783
|
}], null, null);
|
|
@@ -33758,5 +33894,5 @@ class TestRouteSnapshotBuilder {
|
|
|
33758
33894
|
* Generated bundle index. Do not edit.
|
|
33759
33895
|
*/
|
|
33760
33896
|
|
|
33761
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, 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, 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, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RetryUtil, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, 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, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
33897
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, 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, 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, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, 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, PollingService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RetryUtil, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, 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, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
33762
33898
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|