@hmcts/ccd-case-ui-toolkit 7.0.33-pre-release-markdown → 7.0.33-task-comp
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/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +38 -83
- package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +5 -6
- package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +1 -3
- package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +6 -1
- package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +1 -4
- package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +1 -4
- package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +18 -11
- package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +5 -3
- package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +1 -1
- package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +5 -5
- package/esm2020/lib/shared/components/palette/markdown/index.mjs +2 -1
- package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +16 -7
- package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +17 -45
- package/esm2020/lib/shared/components/palette/markdown/routerlink.component.mjs +23 -0
- package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +1 -1
- package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +1 -4
- package/esm2020/lib/shared/services/form/form-validators.service.mjs +2 -27
- package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +1 -2
- package/esm2020/lib/shared/services/loading/loading.service.mjs +1 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +295 -376
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +289 -365
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +3 -8
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -0
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/index.d.ts +1 -0
- package/lib/shared/components/palette/markdown/index.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +8 -6
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +8 -7
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/routerlink.component.d.ts +7 -0
- package/lib/shared/components/palette/markdown/routerlink.component.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
- package/lib/shared/services/form/form-validators.service.d.ts +0 -4
- package/lib/shared/services/form/form-validators.service.d.ts.map +1 -1
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -1
- package/lib/shared/services/loading/loading.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe, ViewChildren, ContentChildren, Injectable, Inject, ChangeDetectorRef, Directive, InjectionToken, Injector, ViewChild,
|
|
2
|
+
import { Component, Input, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe, ViewChildren, ContentChildren, Injectable, Inject, ChangeDetectorRef, Directive, InjectionToken, Injector, ViewChild, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, AsyncPipe, CurrencyPipe, formatDate } from '@angular/common';
|
|
5
5
|
import * as i1 from 'rpx-xui-translation';
|
|
@@ -27,7 +27,6 @@ import { MatDialogConfig } from '@angular/material/dialog';
|
|
|
27
27
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
28
28
|
import * as i2 from '@nicky-lenaers/ngx-scroll-to';
|
|
29
29
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
30
|
-
import * as marked from 'marked';
|
|
31
30
|
import * as i1$4 from 'ngx-md';
|
|
32
31
|
import { NgxMdModule } from 'ngx-md';
|
|
33
32
|
import * as i5 from '@angular/material/legacy-autocomplete';
|
|
@@ -133,14 +132,14 @@ function FooterComponent_div_3_Template(rf, ctx) {
|
|
|
133
132
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
|
-
const _c0$
|
|
137
|
-
const _c1$
|
|
135
|
+
const _c0$14 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
136
|
+
const _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
138
137
|
class FooterComponent {
|
|
139
138
|
}
|
|
140
139
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
141
|
-
FooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
140
|
+
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) {
|
|
142
141
|
if (rf & 1) {
|
|
143
|
-
i0.ɵɵprojectionDef(_c0$
|
|
142
|
+
i0.ɵɵprojectionDef(_c0$14);
|
|
144
143
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
145
144
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
146
145
|
i0.ɵɵtemplate(3, FooterComponent_div_3_Template, 20, 15, "div", 2);
|
|
@@ -211,8 +210,8 @@ function HeaderBarComponent_div_10_Template(rf, ctx) {
|
|
|
211
210
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
|
-
const _c0$
|
|
215
|
-
const _c1$
|
|
213
|
+
const _c0$13 = [[["", "headerNavigation", ""]]];
|
|
214
|
+
const _c1$s = ["[headerNavigation]"];
|
|
216
215
|
class HeaderBarComponent {
|
|
217
216
|
constructor() {
|
|
218
217
|
this.signOutRequest = new EventEmitter();
|
|
@@ -222,9 +221,9 @@ class HeaderBarComponent {
|
|
|
222
221
|
}
|
|
223
222
|
}
|
|
224
223
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
225
|
-
HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
224
|
+
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) {
|
|
226
225
|
if (rf & 1) {
|
|
227
|
-
i0.ɵɵprojectionDef(_c0$
|
|
226
|
+
i0.ɵɵprojectionDef(_c0$13);
|
|
228
227
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
229
228
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 5, 3, "div", 3);
|
|
230
229
|
i0.ɵɵtemplate(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
@@ -277,14 +276,14 @@ HeaderBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBa
|
|
|
277
276
|
}] });
|
|
278
277
|
})();
|
|
279
278
|
|
|
280
|
-
const _c0$
|
|
281
|
-
const _c1$
|
|
279
|
+
const _c0$12 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
280
|
+
const _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
282
281
|
class NavigationComponent {
|
|
283
282
|
}
|
|
284
283
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
285
|
-
NavigationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
284
|
+
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) {
|
|
286
285
|
if (rf & 1) {
|
|
287
|
-
i0.ɵɵprojectionDef(_c0$
|
|
286
|
+
i0.ɵɵprojectionDef(_c0$12);
|
|
288
287
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
289
288
|
i0.ɵɵprojection(2);
|
|
290
289
|
i0.ɵɵprojection(3, 1);
|
|
@@ -412,14 +411,14 @@ HeadersModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
|
|
|
412
411
|
})();
|
|
413
412
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
414
413
|
|
|
415
|
-
const _c0$
|
|
416
|
-
const _c1$
|
|
414
|
+
const _c0$11 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
415
|
+
const _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
417
416
|
class BodyComponent {
|
|
418
417
|
}
|
|
419
418
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
420
|
-
BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
419
|
+
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) {
|
|
421
420
|
if (rf & 1) {
|
|
422
|
-
i0.ɵɵprojectionDef(_c0$
|
|
421
|
+
i0.ɵɵprojectionDef(_c0$11);
|
|
423
422
|
i0.ɵɵelementStart(0, "div", 0);
|
|
424
423
|
i0.ɵɵprojection(1);
|
|
425
424
|
i0.ɵɵprojection(2, 1);
|
|
@@ -434,7 +433,7 @@ BodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent
|
|
|
434
433
|
}], null, null);
|
|
435
434
|
})();
|
|
436
435
|
|
|
437
|
-
const _c0
|
|
436
|
+
const _c0$10 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
438
437
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
439
438
|
if (rf & 1) {
|
|
440
439
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -453,7 +452,7 @@ function DateInputComponent_div_19_Template(rf, ctx) {
|
|
|
453
452
|
i0.ɵɵadvance(1);
|
|
454
453
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Hour"));
|
|
455
454
|
i0.ɵɵadvance(2);
|
|
456
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0
|
|
455
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$10, ctx_r3.isInvalid));
|
|
457
456
|
}
|
|
458
457
|
}
|
|
459
458
|
function DateInputComponent_div_20_Template(rf, ctx) {
|
|
@@ -474,7 +473,7 @@ function DateInputComponent_div_20_Template(rf, ctx) {
|
|
|
474
473
|
i0.ɵɵadvance(1);
|
|
475
474
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Minute"));
|
|
476
475
|
i0.ɵɵadvance(2);
|
|
477
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0
|
|
476
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$10, ctx_r4.isInvalid));
|
|
478
477
|
}
|
|
479
478
|
}
|
|
480
479
|
function DateInputComponent_div_21_Template(rf, ctx) {
|
|
@@ -495,7 +494,7 @@ function DateInputComponent_div_21_Template(rf, ctx) {
|
|
|
495
494
|
i0.ɵɵadvance(1);
|
|
496
495
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Second"));
|
|
497
496
|
i0.ɵɵadvance(2);
|
|
498
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0
|
|
497
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$10, ctx_r5.isInvalid));
|
|
499
498
|
}
|
|
500
499
|
}
|
|
501
500
|
class DateInputComponent {
|
|
@@ -725,19 +724,19 @@ DateInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateInpu
|
|
|
725
724
|
i0.ɵɵadvance(1);
|
|
726
725
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Day"));
|
|
727
726
|
i0.ɵɵadvance(2);
|
|
728
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0
|
|
727
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$10, ctx.isInvalid));
|
|
729
728
|
i0.ɵɵadvance(3);
|
|
730
729
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
731
730
|
i0.ɵɵadvance(1);
|
|
732
731
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 23, "Month"));
|
|
733
732
|
i0.ɵɵadvance(2);
|
|
734
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0
|
|
733
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$10, ctx.isInvalid));
|
|
735
734
|
i0.ɵɵadvance(3);
|
|
736
735
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
737
736
|
i0.ɵɵadvance(1);
|
|
738
737
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 25, "Year"));
|
|
739
738
|
i0.ɵɵadvance(2);
|
|
740
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0
|
|
739
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$10, ctx.isInvalid));
|
|
741
740
|
i0.ɵɵadvance(2);
|
|
742
741
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
743
742
|
i0.ɵɵadvance(1);
|
|
@@ -814,7 +813,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) {
|
|
|
814
813
|
i0.ɵɵelementContainerEnd();
|
|
815
814
|
}
|
|
816
815
|
}
|
|
817
|
-
const _c0
|
|
816
|
+
const _c0$$ = ["*"];
|
|
818
817
|
var AlertMessageType;
|
|
819
818
|
(function (AlertMessageType) {
|
|
820
819
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -834,7 +833,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
834
833
|
AlertComponent.TYPE_ERROR = 'error';
|
|
835
834
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
836
835
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
837
|
-
AlertComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0
|
|
836
|
+
AlertComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$$, 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) {
|
|
838
837
|
if (rf & 1) {
|
|
839
838
|
i0.ɵɵprojectionDef();
|
|
840
839
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -1085,12 +1084,12 @@ NotificationBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
1085
1084
|
}] });
|
|
1086
1085
|
})();
|
|
1087
1086
|
|
|
1088
|
-
const _c0$
|
|
1089
|
-
const _c1$
|
|
1087
|
+
const _c0$_ = function (a0) { return { "js-hidden": a0 }; };
|
|
1088
|
+
const _c1$p = ["*"];
|
|
1090
1089
|
class TabComponent {
|
|
1091
1090
|
}
|
|
1092
1091
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1093
|
-
TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1092
|
+
TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$p, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
|
|
1094
1093
|
if (rf & 1) {
|
|
1095
1094
|
i0.ɵɵprojectionDef();
|
|
1096
1095
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -1098,7 +1097,7 @@ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent,
|
|
|
1098
1097
|
i0.ɵɵelementEnd();
|
|
1099
1098
|
}
|
|
1100
1099
|
if (rf & 2) {
|
|
1101
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
1100
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$_, !ctx.selected));
|
|
1102
1101
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1103
1102
|
}
|
|
1104
1103
|
}, dependencies: [i4.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}}"] });
|
|
@@ -1115,9 +1114,9 @@ TabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent,
|
|
|
1115
1114
|
}] });
|
|
1116
1115
|
})();
|
|
1117
1116
|
|
|
1118
|
-
const _c0$
|
|
1119
|
-
const _c1$
|
|
1120
|
-
const _c2$
|
|
1117
|
+
const _c0$Z = ["tab"];
|
|
1118
|
+
const _c1$o = function () { return ["."]; };
|
|
1119
|
+
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1121
1120
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
1122
1121
|
if (rf & 1) {
|
|
1123
1122
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -1130,7 +1129,7 @@ function TabsComponent_li_2_Template(rf, ctx) {
|
|
|
1130
1129
|
if (rf & 2) {
|
|
1131
1130
|
const panel_r1 = ctx.$implicit;
|
|
1132
1131
|
i0.ɵɵadvance(1);
|
|
1133
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(8, _c1$
|
|
1132
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(8, _c1$o))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(9, _c2$3, panel_r1.selected));
|
|
1134
1133
|
i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1135
1134
|
i0.ɵɵadvance(2);
|
|
1136
1135
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, panel_r1.title));
|
|
@@ -1167,7 +1166,7 @@ TabsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabsComponent
|
|
|
1167
1166
|
}
|
|
1168
1167
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1169
1168
|
if (rf & 1) {
|
|
1170
|
-
i0.ɵɵviewQuery(_c0$
|
|
1169
|
+
i0.ɵɵviewQuery(_c0$Z, 5);
|
|
1171
1170
|
}
|
|
1172
1171
|
if (rf & 2) {
|
|
1173
1172
|
let _t;
|
|
@@ -1235,7 +1234,7 @@ TabsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
|
1235
1234
|
TabComponent] });
|
|
1236
1235
|
})();
|
|
1237
1236
|
|
|
1238
|
-
const _c0$
|
|
1237
|
+
const _c0$Y = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1239
1238
|
class ActivityBannerComponent {
|
|
1240
1239
|
constructor() { }
|
|
1241
1240
|
ngOnInit() {
|
|
@@ -1254,7 +1253,7 @@ ActivityBannerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Act
|
|
|
1254
1253
|
i0.ɵɵelementEnd()();
|
|
1255
1254
|
}
|
|
1256
1255
|
if (rf & 2) {
|
|
1257
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$
|
|
1256
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$Y, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1258
1257
|
i0.ɵɵadvance(2);
|
|
1259
1258
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1260
1259
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -2703,9 +2702,6 @@ class FirstErrorPipe {
|
|
|
2703
2702
|
else if (keys[0] === 'pattern') {
|
|
2704
2703
|
errorMessage = 'The data entered is not valid for %FIELDLABEL%';
|
|
2705
2704
|
}
|
|
2706
|
-
else if (keys[0] === 'markDownPattern') {
|
|
2707
|
-
errorMessage = 'The data entered is not valid for %FIELDLABEL%. Link mark up characters are not allowed in this field';
|
|
2708
|
-
}
|
|
2709
2705
|
else if (keys[0] === 'minlength') {
|
|
2710
2706
|
errorMessage = '%FIELDLABEL% is below the minimum length';
|
|
2711
2707
|
}
|
|
@@ -4554,7 +4550,6 @@ class FormValidatorsService {
|
|
|
4554
4550
|
FormValidatorsService.CUSTOM_VALIDATED_TYPES.indexOf(caseField.field_type.type) === -1) {
|
|
4555
4551
|
const validators = [Validators.required];
|
|
4556
4552
|
if (caseField.field_type.type === 'Text') {
|
|
4557
|
-
validators.push(this.markDownPatternValidator());
|
|
4558
4553
|
if (caseField.field_type.regular_expression) {
|
|
4559
4554
|
validators.push(Validators.pattern(caseField.field_type.regular_expression));
|
|
4560
4555
|
}
|
|
@@ -4568,38 +4563,22 @@ class FormValidatorsService {
|
|
|
4568
4563
|
validators.push(Validators.maxLength(caseField.field_type.max));
|
|
4569
4564
|
}
|
|
4570
4565
|
}
|
|
4571
|
-
if (caseField.field_type.type === 'TextArea') {
|
|
4572
|
-
validators.push(this.emptyValidator());
|
|
4573
|
-
validators.push(this.markDownPatternValidator());
|
|
4574
|
-
}
|
|
4575
4566
|
if (control.validator) {
|
|
4576
4567
|
validators.push(control.validator);
|
|
4577
4568
|
}
|
|
4578
4569
|
control.setValidators(validators);
|
|
4579
4570
|
}
|
|
4580
|
-
else if (caseField.display_context === 'OPTIONAL' && (caseField.field_type.type === 'Text' || caseField.field_type.type === 'TextArea')) {
|
|
4581
|
-
control.setValidators(this.markDownPatternValidator());
|
|
4582
|
-
}
|
|
4583
4571
|
return control;
|
|
4584
4572
|
}
|
|
4585
4573
|
static emptyValidator() {
|
|
4586
4574
|
const validator = (control) => {
|
|
4587
|
-
|
|
4588
|
-
if (((_a = control === null || control === void 0 ? void 0 : control.value) === null || _a === void 0 ? void 0 : _a.toString().trim().length) === 0) {
|
|
4575
|
+
if (control && control.value && control.value.toString().trim().length === 0) {
|
|
4589
4576
|
return { required: {} };
|
|
4590
4577
|
}
|
|
4591
4578
|
return null;
|
|
4592
4579
|
};
|
|
4593
4580
|
return validator;
|
|
4594
4581
|
}
|
|
4595
|
-
static markDownPatternValidator() {
|
|
4596
|
-
const pattern = /(\[[^\]]{0,500}\]\([^)]{0,500}\)|!\[[^\]]{0,500}\]\([^)]{0,500}\)|<img[^>]{0,500}>|<a[^>]{0,500}>.*?<\/a>)/;
|
|
4597
|
-
return (control) => {
|
|
4598
|
-
var _a;
|
|
4599
|
-
const value = (_a = control === null || control === void 0 ? void 0 : control.value) === null || _a === void 0 ? void 0 : _a.toString().trim();
|
|
4600
|
-
return (value && pattern.test(value)) ? { markDownPattern: {} } : null;
|
|
4601
|
-
};
|
|
4602
|
-
}
|
|
4603
4582
|
// TODO: Strip this out as it's only here for the moment because
|
|
4604
4583
|
// the service is being injected all over the place but it doesn't
|
|
4605
4584
|
// need to be as FormValidatorsService.addValidators is perfectly
|
|
@@ -4607,20 +4586,10 @@ class FormValidatorsService {
|
|
|
4607
4586
|
addValidators(caseField, control) {
|
|
4608
4587
|
return FormValidatorsService.addValidators(caseField, control);
|
|
4609
4588
|
}
|
|
4610
|
-
addMarkDownValidators(formGroup, controlPath) {
|
|
4611
|
-
const control = formGroup.get(controlPath);
|
|
4612
|
-
if (control) {
|
|
4613
|
-
control.setValidators(FormValidatorsService.markDownPatternValidator());
|
|
4614
|
-
control.updateValueAndValidity();
|
|
4615
|
-
}
|
|
4616
|
-
return control;
|
|
4617
|
-
}
|
|
4618
4589
|
}
|
|
4619
4590
|
FormValidatorsService.CUSTOM_VALIDATED_TYPES = [
|
|
4620
4591
|
'Date', 'MoneyGBP', 'Label', 'JudicialUser'
|
|
4621
4592
|
];
|
|
4622
|
-
FormValidatorsService.DEFAULT_INPUT_TEXT = 'text';
|
|
4623
|
-
FormValidatorsService.DEFAULT_INPUT_TEXTAREA = 'textAreas';
|
|
4624
4593
|
FormValidatorsService.ɵfac = function FormValidatorsService_Factory(t) { return new (t || FormValidatorsService)(); };
|
|
4625
4594
|
FormValidatorsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormValidatorsService, factory: FormValidatorsService.ɵfac });
|
|
4626
4595
|
(function () {
|
|
@@ -6928,7 +6897,6 @@ class JurisdictionService {
|
|
|
6928
6897
|
return this.httpService.get('/aggregated/caseworkers/:uid/jurisdictions?access=read');
|
|
6929
6898
|
}
|
|
6930
6899
|
announceSelectedJurisdiction(jurisdiction) {
|
|
6931
|
-
console.info('Announcing selected jurisdiction = ' + (jurisdiction === null || jurisdiction === void 0 ? void 0 : jurisdiction.id));
|
|
6932
6900
|
this.selectedJurisdictionSource.next(jurisdiction);
|
|
6933
6901
|
this.selectedJurisdictionBS.next(jurisdiction);
|
|
6934
6902
|
}
|
|
@@ -7152,17 +7120,13 @@ class LoadingService {
|
|
|
7152
7120
|
}
|
|
7153
7121
|
register() {
|
|
7154
7122
|
const token = this.generateToken();
|
|
7155
|
-
console.info(`registering [${token}]`);
|
|
7156
7123
|
this.registered.set(token, token);
|
|
7157
7124
|
this.loading.next(true);
|
|
7158
|
-
console.info(`registered [${token}]`);
|
|
7159
7125
|
return token;
|
|
7160
7126
|
}
|
|
7161
7127
|
unregister(token) {
|
|
7162
|
-
console.info(`unregistering [${token}]`);
|
|
7163
7128
|
this.registered.delete(token);
|
|
7164
7129
|
this.loading.next(this.registered.size > 0);
|
|
7165
|
-
console.info(`unregistered [${token}]`);
|
|
7166
7130
|
}
|
|
7167
7131
|
generateToken() {
|
|
7168
7132
|
const timestamp = window.performance.now();
|
|
@@ -7935,9 +7899,7 @@ class CasesService {
|
|
|
7935
7899
|
return out$;
|
|
7936
7900
|
}
|
|
7937
7901
|
finalizeGetCaseViewWith(caseId, loadingToken) {
|
|
7938
|
-
console.info(`finalizeGetCaseViewWith started for ${caseId}.`);
|
|
7939
7902
|
this.loadingService.unregister(loadingToken);
|
|
7940
|
-
console.info(`finalizeGetCaseViewWith finished for ${caseId}.`);
|
|
7941
7903
|
}
|
|
7942
7904
|
syncWait(seconds) {
|
|
7943
7905
|
const end = Date.now() + seconds * 1000;
|
|
@@ -8799,6 +8761,8 @@ class WorkAllocationService {
|
|
|
8799
8761
|
}
|
|
8800
8762
|
isWAEnabled(jurisdiction, caseType) {
|
|
8801
8763
|
this.features = this.appConfig.getWAServiceConfig();
|
|
8764
|
+
const ftstr = JSON.stringify(this.features);
|
|
8765
|
+
console.log(`isWAEnabled: ${ftstr}`);
|
|
8802
8766
|
let enabled = false;
|
|
8803
8767
|
if (!jurisdiction || !caseType) {
|
|
8804
8768
|
const caseInfo = JSON.parse(this.sessionStorageService.getItem('caseInfo'));
|
|
@@ -8806,6 +8770,7 @@ class WorkAllocationService {
|
|
|
8806
8770
|
caseType = caseInfo.caseType;
|
|
8807
8771
|
}
|
|
8808
8772
|
if (!this.features || !this.features.configurations) {
|
|
8773
|
+
console.log('isWAEnabled: no features');
|
|
8809
8774
|
return false;
|
|
8810
8775
|
}
|
|
8811
8776
|
this.features.configurations.forEach(serviceConfig => {
|
|
@@ -8813,6 +8778,7 @@ class WorkAllocationService {
|
|
|
8813
8778
|
enabled = true;
|
|
8814
8779
|
}
|
|
8815
8780
|
});
|
|
8781
|
+
console.log(`isWAEnabled: returning ${enabled}`);
|
|
8816
8782
|
return enabled;
|
|
8817
8783
|
}
|
|
8818
8784
|
/**
|
|
@@ -8840,6 +8806,7 @@ class WorkAllocationService {
|
|
|
8840
8806
|
if (!this.isWAEnabled()) {
|
|
8841
8807
|
return of(null);
|
|
8842
8808
|
}
|
|
8809
|
+
console.log(`completeTask: completing ${taskId}`);
|
|
8843
8810
|
const url = `${this.appConfig.getWorkAllocationApiUrl()}/task/${taskId}/complete`;
|
|
8844
8811
|
return this.http
|
|
8845
8812
|
.post(url, {})
|
|
@@ -10810,7 +10777,7 @@ CallbackErrorsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cal
|
|
|
10810
10777
|
}] });
|
|
10811
10778
|
})();
|
|
10812
10779
|
|
|
10813
|
-
const _c0$
|
|
10780
|
+
const _c0$X = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
10814
10781
|
class CaseEventCompletionTaskCancelledComponent {
|
|
10815
10782
|
constructor(parentComponent) {
|
|
10816
10783
|
this.parentComponent = parentComponent;
|
|
@@ -10874,7 +10841,7 @@ CaseEventCompletionTaskCancelledComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
|
|
|
10874
10841
|
i0.ɵɵadvance(4);
|
|
10875
10842
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
10876
10843
|
i0.ɵɵadvance(2);
|
|
10877
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$
|
|
10844
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$X, ctx.caseId));
|
|
10878
10845
|
i0.ɵɵadvance(1);
|
|
10879
10846
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
10880
10847
|
}
|
|
@@ -10891,7 +10858,7 @@ CaseEventCompletionTaskCancelledComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
|
|
|
10891
10858
|
}, null);
|
|
10892
10859
|
})();
|
|
10893
10860
|
|
|
10894
|
-
const _c0$
|
|
10861
|
+
const _c0$W = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
10895
10862
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) {
|
|
10896
10863
|
if (rf & 1) {
|
|
10897
10864
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
@@ -10946,7 +10913,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) {
|
|
|
10946
10913
|
i0.ɵɵadvance(4);
|
|
10947
10914
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
10948
10915
|
i0.ɵɵadvance(2);
|
|
10949
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(26, _c0$
|
|
10916
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(26, _c0$W, ctx_r0.caseId));
|
|
10950
10917
|
i0.ɵɵadvance(1);
|
|
10951
10918
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
10952
10919
|
}
|
|
@@ -11145,7 +11112,7 @@ AddressValidationConstants.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ toke
|
|
|
11145
11112
|
}], null, null);
|
|
11146
11113
|
})();
|
|
11147
11114
|
|
|
11148
|
-
const _c0$
|
|
11115
|
+
const _c0$V = ["writeComplexFieldComponent"];
|
|
11149
11116
|
function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) {
|
|
11150
11117
|
if (rf & 1) {
|
|
11151
11118
|
i0.ɵɵelementStart(0, "span", 14);
|
|
@@ -11159,8 +11126,8 @@ function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) {
|
|
|
11159
11126
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r5.errorMessage));
|
|
11160
11127
|
}
|
|
11161
11128
|
}
|
|
11162
|
-
const _c1$
|
|
11163
|
-
const _c2$
|
|
11129
|
+
const _c1$n = function (a0) { return { "form-group-error": a0 }; };
|
|
11130
|
+
const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
11164
11131
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
11165
11132
|
if (rf & 1) {
|
|
11166
11133
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -11178,7 +11145,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
|
11178
11145
|
}
|
|
11179
11146
|
if (rf & 2) {
|
|
11180
11147
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
11181
|
-
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(13, _c1$
|
|
11148
|
+
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(13, _c1$n, ctx_r2.missingPostcode));
|
|
11182
11149
|
i0.ɵɵadvance(1);
|
|
11183
11150
|
i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
11184
11151
|
i0.ɵɵadvance(2);
|
|
@@ -11186,7 +11153,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
|
11186
11153
|
i0.ɵɵadvance(2);
|
|
11187
11154
|
i0.ɵɵproperty("ngIf", ctx_r2.missingPostcode);
|
|
11188
11155
|
i0.ɵɵadvance(1);
|
|
11189
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$
|
|
11156
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c2$2, ctx_r2.missingPostcode))("id", ctx_r2.createElementId("postcodeInput"))("formControl", ctx_r2.postcode);
|
|
11190
11157
|
i0.ɵɵadvance(2);
|
|
11191
11158
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, "Find address"));
|
|
11192
11159
|
}
|
|
@@ -11233,7 +11200,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) {
|
|
|
11233
11200
|
}
|
|
11234
11201
|
if (rf & 2) {
|
|
11235
11202
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
11236
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$
|
|
11203
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$n, ctx_r3.noAddressSelected));
|
|
11237
11204
|
i0.ɵɵadvance(1);
|
|
11238
11205
|
i0.ɵɵproperty("for", ctx_r3.createElementId("addressList"));
|
|
11239
11206
|
i0.ɵɵadvance(2);
|
|
@@ -11405,7 +11372,7 @@ WriteAddressFieldComponent.INVALID_ERROR_MESSAGE = 'Enter a valid Postcode';
|
|
|
11405
11372
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
11406
11373
|
WriteAddressFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
11407
11374
|
if (rf & 1) {
|
|
11408
|
-
i0.ɵɵviewQuery(_c0$
|
|
11375
|
+
i0.ɵɵviewQuery(_c0$V, 5);
|
|
11409
11376
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
11410
11377
|
}
|
|
11411
11378
|
if (rf & 2) {
|
|
@@ -12762,7 +12729,7 @@ ReadCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12762
12729
|
}], null, null);
|
|
12763
12730
|
})();
|
|
12764
12731
|
|
|
12765
|
-
const _c0$
|
|
12732
|
+
const _c0$U = ["writeComplexFieldComponent"];
|
|
12766
12733
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
12767
12734
|
if (rf & 1) {
|
|
12768
12735
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -12802,7 +12769,7 @@ function WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) {
|
|
|
12802
12769
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label), " ");
|
|
12803
12770
|
}
|
|
12804
12771
|
}
|
|
12805
|
-
const _c1$
|
|
12772
|
+
const _c1$m = function (a0) { return { "form-group-error": a0 }; };
|
|
12806
12773
|
class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
12807
12774
|
ngOnInit() {
|
|
12808
12775
|
if (this.caseField.value) {
|
|
@@ -12851,7 +12818,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12851
12818
|
WriteCaseLinkFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(t) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(t || WriteCaseLinkFieldComponent); }; }();
|
|
12852
12819
|
WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
12853
12820
|
if (rf & 1) {
|
|
12854
|
-
i0.ɵɵviewQuery(_c0$
|
|
12821
|
+
i0.ɵɵviewQuery(_c0$U, 5);
|
|
12855
12822
|
}
|
|
12856
12823
|
if (rf & 2) {
|
|
12857
12824
|
let _t;
|
|
@@ -12868,7 +12835,7 @@ WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12868
12835
|
i0.ɵɵelementEnd();
|
|
12869
12836
|
}
|
|
12870
12837
|
if (rf & 2) {
|
|
12871
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
12838
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$m, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
12872
12839
|
i0.ɵɵadvance(1);
|
|
12873
12840
|
i0.ɵɵproperty("for", ctx.id());
|
|
12874
12841
|
i0.ɵɵadvance(1);
|
|
@@ -12891,7 +12858,7 @@ WriteCaseLinkFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
12891
12858
|
}] });
|
|
12892
12859
|
})();
|
|
12893
12860
|
|
|
12894
|
-
const _c0$
|
|
12861
|
+
const _c0$T = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
12895
12862
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
12896
12863
|
if (rf & 1) {
|
|
12897
12864
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -12903,10 +12870,10 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
|
12903
12870
|
if (rf & 2) {
|
|
12904
12871
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
12905
12872
|
i0.ɵɵadvance(4);
|
|
12906
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$
|
|
12873
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$T, 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);
|
|
12907
12874
|
}
|
|
12908
12875
|
}
|
|
12909
|
-
const _c1$
|
|
12876
|
+
const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
12910
12877
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
12911
12878
|
if (rf & 1) {
|
|
12912
12879
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -12918,7 +12885,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
|
12918
12885
|
const i_r5 = ctx.index;
|
|
12919
12886
|
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
12920
12887
|
i0.ɵɵadvance(2);
|
|
12921
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$
|
|
12888
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$l, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
|
|
12922
12889
|
}
|
|
12923
12890
|
}
|
|
12924
12891
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
|
|
@@ -13043,7 +13010,7 @@ RemoveDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Remov
|
|
|
13043
13010
|
}], function () { return [{ type: i1$3.MatLegacyDialogRef }]; }, null);
|
|
13044
13011
|
})();
|
|
13045
13012
|
|
|
13046
|
-
const _c0$
|
|
13013
|
+
const _c0$S = ["collectionItem"];
|
|
13047
13014
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) {
|
|
13048
13015
|
if (rf & 1) {
|
|
13049
13016
|
i0.ɵɵelementStart(0, "span", 9);
|
|
@@ -13445,7 +13412,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
13445
13412
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
13446
13413
|
WriteCollectionFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13447
13414
|
if (rf & 1) {
|
|
13448
|
-
i0.ɵɵviewQuery(_c0$
|
|
13415
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
13449
13416
|
}
|
|
13450
13417
|
if (rf & 2) {
|
|
13451
13418
|
let _t;
|
|
@@ -14080,7 +14047,7 @@ FileUploadStateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: F
|
|
|
14080
14047
|
}], null, null);
|
|
14081
14048
|
})();
|
|
14082
14049
|
|
|
14083
|
-
const _c0$
|
|
14050
|
+
const _c0$R = ["fileInput"];
|
|
14084
14051
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) {
|
|
14085
14052
|
if (rf & 1) {
|
|
14086
14053
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -14116,7 +14083,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
|
|
|
14116
14083
|
i0.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
14117
14084
|
}
|
|
14118
14085
|
}
|
|
14119
|
-
const _c1$
|
|
14086
|
+
const _c1$k = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
14120
14087
|
class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
14121
14088
|
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService) {
|
|
14122
14089
|
super();
|
|
@@ -14410,7 +14377,7 @@ WriteDocumentFieldComponent.ERROR_UPLOADING_FILE = 'Error Uploading File';
|
|
|
14410
14377
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
14411
14378
|
WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14412
14379
|
if (rf & 1) {
|
|
14413
|
-
i0.ɵɵviewQuery(_c0$
|
|
14380
|
+
i0.ɵɵviewQuery(_c0$R, 5);
|
|
14414
14381
|
}
|
|
14415
14382
|
if (rf & 2) {
|
|
14416
14383
|
let _t;
|
|
@@ -14441,7 +14408,7 @@ WriteDocumentFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
14441
14408
|
i0.ɵɵelementEnd()();
|
|
14442
14409
|
}
|
|
14443
14410
|
if (rf & 2) {
|
|
14444
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$
|
|
14411
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c1$k, !ctx.valid));
|
|
14445
14412
|
i0.ɵɵadvance(1);
|
|
14446
14413
|
i0.ɵɵproperty("for", ctx.id());
|
|
14447
14414
|
i0.ɵɵadvance(1);
|
|
@@ -14594,7 +14561,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) {
|
|
|
14594
14561
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
14595
14562
|
}
|
|
14596
14563
|
}
|
|
14597
|
-
const _c0$
|
|
14564
|
+
const _c0$Q = function (a0) { return { "form-group-error": a0 }; };
|
|
14598
14565
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
14599
14566
|
ngOnInit() {
|
|
14600
14567
|
/**
|
|
@@ -14636,7 +14603,7 @@ WriteDynamicListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
14636
14603
|
i0.ɵɵelementEnd()();
|
|
14637
14604
|
}
|
|
14638
14605
|
if (rf & 2) {
|
|
14639
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
14606
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$Q, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
14640
14607
|
i0.ɵɵadvance(1);
|
|
14641
14608
|
i0.ɵɵproperty("for", ctx.id());
|
|
14642
14609
|
i0.ɵɵadvance(1);
|
|
@@ -14665,44 +14632,17 @@ WriteDynamicListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
14665
14632
|
})();
|
|
14666
14633
|
|
|
14667
14634
|
class MarkdownComponent {
|
|
14668
|
-
constructor() {
|
|
14669
|
-
this.
|
|
14635
|
+
constructor(_markdown, router, renderer) {
|
|
14636
|
+
this._markdown = _markdown;
|
|
14637
|
+
this.router = router;
|
|
14638
|
+
this.renderer = renderer;
|
|
14670
14639
|
}
|
|
14671
14640
|
ngOnInit() {
|
|
14672
14641
|
this.content = this.content.replace(/ \n/g, '<br>');
|
|
14673
|
-
if (this.renderUrlToTextFeature) {
|
|
14674
|
-
this.renderUrlToText();
|
|
14675
|
-
}
|
|
14676
|
-
}
|
|
14677
|
-
onMarkdownClick(event) {
|
|
14678
|
-
// If we don't have an anchor tag, we don't need to do anything.
|
|
14679
|
-
if (event.target instanceof HTMLAnchorElement === false) {
|
|
14680
|
-
return;
|
|
14681
|
-
}
|
|
14682
|
-
return true;
|
|
14683
|
-
}
|
|
14684
|
-
renderUrlToText() {
|
|
14685
|
-
const renderer = new marked.Renderer();
|
|
14686
|
-
renderer.link = (href, title, text) => {
|
|
14687
|
-
// Return the text without turning it into a link if it's not an internal link
|
|
14688
|
-
return this.isAllowedUrl(href) ? `<a href="${href}">${text}</a>` : text;
|
|
14689
|
-
};
|
|
14690
|
-
marked.setOptions({
|
|
14691
|
-
renderer: renderer
|
|
14692
|
-
});
|
|
14693
|
-
}
|
|
14694
|
-
isAllowedUrl(url) {
|
|
14695
|
-
const currentOrigin = window.location.origin;
|
|
14696
|
-
const urlOrigin = new URL(url, window.location.href).origin;
|
|
14697
|
-
return urlOrigin === currentOrigin || url.startsWith('/'); // Check if same origin or relative
|
|
14698
14642
|
}
|
|
14699
14643
|
}
|
|
14700
|
-
MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
|
|
14701
|
-
MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]],
|
|
14702
|
-
if (rf & 1) {
|
|
14703
|
-
i0.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
|
|
14704
|
-
}
|
|
14705
|
-
}, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink", renderUrlToTextFeature: "renderUrlToTextFeature" }, decls: 4, vars: 5, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
|
|
14644
|
+
MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$4.NgxMdService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
14645
|
+
MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 4, vars: 6, consts: [[1, "markdown", 3, "sanitizeHtml", "data"]], template: function MarkdownComponent_Template(rf, ctx) {
|
|
14706
14646
|
if (rf & 1) {
|
|
14707
14647
|
i0.ɵɵelementStart(0, "div");
|
|
14708
14648
|
i0.ɵɵelement(1, "markdown", 0);
|
|
@@ -14712,22 +14652,17 @@ MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownC
|
|
|
14712
14652
|
}
|
|
14713
14653
|
if (rf & 2) {
|
|
14714
14654
|
i0.ɵɵadvance(1);
|
|
14715
|
-
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2,
|
|
14655
|
+
i0.ɵɵproperty("sanitizeHtml", false)("data", i0.ɵɵpipeBind1(2, 2, i0.ɵɵpipeBind1(3, 4, ctx.content)));
|
|
14716
14656
|
}
|
|
14717
14657
|
}, dependencies: [i1$4.NgxMdComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2 });
|
|
14718
14658
|
(function () {
|
|
14719
14659
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
14720
14660
|
type: Component,
|
|
14721
|
-
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference | rpxTranslate\"></markdown></div>\n" }]
|
|
14722
|
-
}], function () { return []; }, { content: [{
|
|
14661
|
+
args: [{ selector: 'ccd-markdown', template: "<div><markdown [sanitizeHtml]=\"false\" class=\"markdown\" [data]=\"content | ccdCaseReference | rpxTranslate\"></markdown></div>\n" }]
|
|
14662
|
+
}], function () { return [{ type: i1$4.NgxMdService }, { type: i1$1.Router }, { type: i0.Renderer2 }]; }, { content: [{
|
|
14723
14663
|
type: Input
|
|
14724
14664
|
}], markdownUseHrefAsRouterLink: [{
|
|
14725
14665
|
type: Input
|
|
14726
|
-
}], renderUrlToTextFeature: [{
|
|
14727
|
-
type: Input
|
|
14728
|
-
}], onMarkdownClick: [{
|
|
14729
|
-
type: HostListener,
|
|
14730
|
-
args: ['click', ['$event']]
|
|
14731
14666
|
}] });
|
|
14732
14667
|
})();
|
|
14733
14668
|
|
|
@@ -14859,10 +14794,10 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
14859
14794
|
i0.ɵɵadvance(1);
|
|
14860
14795
|
i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
|
|
14861
14796
|
i0.ɵɵadvance(1);
|
|
14862
|
-
i0.ɵɵproperty("content", checkbox_r4.label)
|
|
14797
|
+
i0.ɵɵproperty("content", checkbox_r4.label);
|
|
14863
14798
|
}
|
|
14864
14799
|
}
|
|
14865
|
-
const _c0$
|
|
14800
|
+
const _c0$P = function (a0) { return { "error": a0 }; };
|
|
14866
14801
|
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
14867
14802
|
ngOnInit() {
|
|
14868
14803
|
this.checkboxes = new FormArray([]);
|
|
@@ -14924,18 +14859,18 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
14924
14859
|
}
|
|
14925
14860
|
}
|
|
14926
14861
|
WriteDynamicMultiSelectListFieldComponent.ɵfac = /*@__PURE__*/ function () { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(t || WriteDynamicMultiSelectListFieldComponent); }; }();
|
|
14927
|
-
WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "id", "name", "value", "checked", "change"], [1, "form-label", 3, "for"], [3, "content"
|
|
14862
|
+
WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "id", "name", "value", "checked", "change"], [1, "form-label", 3, "for"], [3, "content"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
|
|
14928
14863
|
if (rf & 1) {
|
|
14929
14864
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
14930
14865
|
i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
14931
14866
|
i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
|
|
14932
14867
|
i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
14933
14868
|
i0.ɵɵelementEnd();
|
|
14934
|
-
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5,
|
|
14869
|
+
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
|
|
14935
14870
|
i0.ɵɵelementEnd()();
|
|
14936
14871
|
}
|
|
14937
14872
|
if (rf & 2) {
|
|
14938
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
14873
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$P, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
14939
14874
|
i0.ɵɵadvance(3);
|
|
14940
14875
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
14941
14876
|
i0.ɵɵadvance(1);
|
|
@@ -14949,7 +14884,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCom
|
|
|
14949
14884
|
(function () {
|
|
14950
14885
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
14951
14886
|
type: Component,
|
|
14952
|
-
args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label class=\"form-label\" for=\"{{ createElementId(checkbox.code) }}\">\n <ccd-markdown [content]=\"checkbox.label\"
|
|
14887
|
+
args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label class=\"form-label\" for=\"{{ createElementId(checkbox.code) }}\">\n <ccd-markdown [content]=\"checkbox.label\"></ccd-markdown>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
|
|
14953
14888
|
}], null, null);
|
|
14954
14889
|
})();
|
|
14955
14890
|
|
|
@@ -15071,7 +15006,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) {
|
|
|
15071
15006
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
15072
15007
|
}
|
|
15073
15008
|
}
|
|
15074
|
-
const _c0$
|
|
15009
|
+
const _c0$O = function (a0) { return { selected: a0 }; };
|
|
15075
15010
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15076
15011
|
if (rf & 1) {
|
|
15077
15012
|
i0.ɵɵelementStart(0, "div", 10);
|
|
@@ -15084,7 +15019,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
|
15084
15019
|
if (rf & 2) {
|
|
15085
15020
|
const radioButton_r5 = ctx.$implicit;
|
|
15086
15021
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
15087
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
15022
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$O, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
15088
15023
|
i0.ɵɵadvance(1);
|
|
15089
15024
|
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
15090
15025
|
i0.ɵɵadvance(1);
|
|
@@ -15093,7 +15028,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
|
15093
15028
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r5.label));
|
|
15094
15029
|
}
|
|
15095
15030
|
}
|
|
15096
|
-
const _c1$
|
|
15031
|
+
const _c1$j = function (a0) { return { "form-group-error": a0 }; };
|
|
15097
15032
|
class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
15098
15033
|
ngOnInit() {
|
|
15099
15034
|
/**
|
|
@@ -15133,7 +15068,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent
|
|
|
15133
15068
|
i0.ɵɵelementEnd()();
|
|
15134
15069
|
}
|
|
15135
15070
|
if (rf & 2) {
|
|
15136
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
15071
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$j, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
15137
15072
|
i0.ɵɵadvance(3);
|
|
15138
15073
|
i0.ɵɵproperty("for", ctx.id());
|
|
15139
15074
|
i0.ɵɵadvance(1);
|
|
@@ -15233,8 +15168,8 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) {
|
|
|
15233
15168
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
15234
15169
|
}
|
|
15235
15170
|
}
|
|
15236
|
-
const _c0$
|
|
15237
|
-
const _c1$
|
|
15171
|
+
const _c0$N = function (a0) { return { "form-group-error": a0 }; };
|
|
15172
|
+
const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15238
15173
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
15239
15174
|
ngOnInit() {
|
|
15240
15175
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -15252,7 +15187,7 @@ WriteEmailFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
|
|
|
15252
15187
|
i0.ɵɵelementEnd();
|
|
15253
15188
|
}
|
|
15254
15189
|
if (rf & 2) {
|
|
15255
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
15190
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$N, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
15256
15191
|
i0.ɵɵadvance(1);
|
|
15257
15192
|
i0.ɵɵproperty("for", ctx.id());
|
|
15258
15193
|
i0.ɵɵadvance(1);
|
|
@@ -15262,7 +15197,7 @@ WriteEmailFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
|
|
|
15262
15197
|
i0.ɵɵadvance(1);
|
|
15263
15198
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
15264
15199
|
i0.ɵɵadvance(1);
|
|
15265
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
15200
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$i, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
15266
15201
|
}
|
|
15267
15202
|
}, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
15268
15203
|
(function () {
|
|
@@ -15351,7 +15286,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) {
|
|
|
15351
15286
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
15352
15287
|
}
|
|
15353
15288
|
}
|
|
15354
|
-
const _c0$
|
|
15289
|
+
const _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
15355
15290
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
15356
15291
|
get listItems() {
|
|
15357
15292
|
if (this.caseField) {
|
|
@@ -15388,7 +15323,7 @@ WriteFixedListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
15388
15323
|
i0.ɵɵelementEnd()();
|
|
15389
15324
|
}
|
|
15390
15325
|
if (rf & 2) {
|
|
15391
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
15326
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$M, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
15392
15327
|
i0.ɵɵadvance(1);
|
|
15393
15328
|
i0.ɵɵproperty("for", ctx.id());
|
|
15394
15329
|
i0.ɵɵadvance(1);
|
|
@@ -15495,7 +15430,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) {
|
|
|
15495
15430
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
|
|
15496
15431
|
}
|
|
15497
15432
|
}
|
|
15498
|
-
const _c0$
|
|
15433
|
+
const _c0$L = function (a0) { return { selected: a0 }; };
|
|
15499
15434
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
15500
15435
|
if (rf & 1) {
|
|
15501
15436
|
i0.ɵɵelementStart(0, "div", 9);
|
|
@@ -15508,7 +15443,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
|
15508
15443
|
if (rf & 2) {
|
|
15509
15444
|
const radioButton_r4 = ctx.$implicit;
|
|
15510
15445
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
15511
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
15446
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$L, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
15512
15447
|
i0.ɵɵadvance(1);
|
|
15513
15448
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
15514
15449
|
i0.ɵɵadvance(1);
|
|
@@ -15517,7 +15452,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
|
15517
15452
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 7, radioButton_r4.label));
|
|
15518
15453
|
}
|
|
15519
15454
|
}
|
|
15520
|
-
const _c1$
|
|
15455
|
+
const _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
15521
15456
|
class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
15522
15457
|
ngOnInit() {
|
|
15523
15458
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
@@ -15539,7 +15474,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
15539
15474
|
i0.ɵɵelementEnd()();
|
|
15540
15475
|
}
|
|
15541
15476
|
if (rf & 2) {
|
|
15542
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
15477
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$h, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
15543
15478
|
i0.ɵɵadvance(3);
|
|
15544
15479
|
i0.ɵɵproperty("for", ctx.id());
|
|
15545
15480
|
i0.ɵɵadvance(1);
|
|
@@ -15662,7 +15597,7 @@ function WriteJudicialUserFieldComponent_span_4_Template(rf, ctx) {
|
|
|
15662
15597
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
15663
15598
|
}
|
|
15664
15599
|
}
|
|
15665
|
-
const _c0$
|
|
15600
|
+
const _c0$K = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
15666
15601
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
15667
15602
|
if (rf & 1) {
|
|
15668
15603
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
@@ -15674,7 +15609,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
|
15674
15609
|
if (rf & 2) {
|
|
15675
15610
|
const judicialUser_r7 = ctx.$implicit;
|
|
15676
15611
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
15677
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
15612
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$K, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
15678
15613
|
i0.ɵɵadvance(1);
|
|
15679
15614
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
15680
15615
|
}
|
|
@@ -15693,7 +15628,7 @@ function WriteJudicialUserFieldComponent_mat_option_11_Template(rf, ctx) {
|
|
|
15693
15628
|
i0.ɵɵelementEnd();
|
|
15694
15629
|
}
|
|
15695
15630
|
}
|
|
15696
|
-
const _c1$
|
|
15631
|
+
const _c1$g = function (a0) { return { "form-group-error": a0 }; };
|
|
15697
15632
|
class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
15698
15633
|
constructor(jurisdictionService, sessionStorageService, caseFlagRefDataService, compoundPipe, validatorsService) {
|
|
15699
15634
|
super(compoundPipe, validatorsService);
|
|
@@ -15846,7 +15781,7 @@ WriteJudicialUserFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
|
|
|
15846
15781
|
}
|
|
15847
15782
|
if (rf & 2) {
|
|
15848
15783
|
const _r3 = i0.ɵɵreference(7);
|
|
15849
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c1$
|
|
15784
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c1$g, !!ctx.judicialUserControl && ctx.errors));
|
|
15850
15785
|
i0.ɵɵadvance(1);
|
|
15851
15786
|
i0.ɵɵproperty("for", ctx.id());
|
|
15852
15787
|
i0.ɵɵadvance(1);
|
|
@@ -16524,7 +16459,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) {
|
|
|
16524
16459
|
i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
16525
16460
|
}
|
|
16526
16461
|
}
|
|
16527
|
-
const _c0$
|
|
16462
|
+
const _c0$J = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16528
16463
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
16529
16464
|
if (rf & 1) {
|
|
16530
16465
|
i0.ɵɵelementStart(0, "div", 35)(1, "h3", 22);
|
|
@@ -16540,7 +16475,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
|
16540
16475
|
}
|
|
16541
16476
|
if (rf & 2) {
|
|
16542
16477
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
16543
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
16478
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$J, !!ctx_r7.caseReasonCommentsError));
|
|
16544
16479
|
i0.ɵɵadvance(3);
|
|
16545
16480
|
i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
16546
16481
|
}
|
|
@@ -16590,11 +16525,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) {
|
|
|
16590
16525
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16591
16526
|
i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
16592
16527
|
i0.ɵɵadvance(1);
|
|
16593
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16528
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !!ctx_r0.caseNumberError));
|
|
16594
16529
|
i0.ɵɵadvance(3);
|
|
16595
16530
|
i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
16596
16531
|
i0.ɵɵadvance(2);
|
|
16597
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
16532
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$J, !!ctx_r0.caseReasonError));
|
|
16598
16533
|
i0.ɵɵadvance(5);
|
|
16599
16534
|
i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
16600
16535
|
i0.ɵɵadvance(2);
|
|
@@ -16633,7 +16568,7 @@ function LinkCasesComponent_tr_31_span_15_Template(rf, ctx) {
|
|
|
16633
16568
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, reason_r19));
|
|
16634
16569
|
}
|
|
16635
16570
|
}
|
|
16636
|
-
const _c1$
|
|
16571
|
+
const _c1$f = function (a0) { return { "table-group-error": a0 }; };
|
|
16637
16572
|
function LinkCasesComponent_tr_31_Template(rf, ctx) {
|
|
16638
16573
|
if (rf & 1) {
|
|
16639
16574
|
const _r21 = i0.ɵɵgetCurrentView();
|
|
@@ -16666,7 +16601,7 @@ function LinkCasesComponent_tr_31_Template(rf, ctx) {
|
|
|
16666
16601
|
const case_r16 = ctx.$implicit;
|
|
16667
16602
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
16668
16603
|
i0.ɵɵadvance(2);
|
|
16669
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$
|
|
16604
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$f, ctx_r2.caseSelectionError && case_r16.caseReference === ctx_r2.linkCaseForm.value.caseNumber));
|
|
16670
16605
|
i0.ɵɵadvance(2);
|
|
16671
16606
|
i0.ɵɵtextInterpolate1("", case_r16.caseName, " ");
|
|
16672
16607
|
i0.ɵɵadvance(2);
|
|
@@ -16995,7 +16930,7 @@ LinkCasesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkCase
|
|
|
16995
16930
|
i0.ɵɵadvance(4);
|
|
16996
16931
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
16997
16932
|
i0.ɵɵadvance(4);
|
|
16998
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16933
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$J, !!ctx.noSelectedCaseError));
|
|
16999
16934
|
i0.ɵɵadvance(1);
|
|
17000
16935
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17001
16936
|
i0.ɵɵadvance(18);
|
|
@@ -17627,7 +17562,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) {
|
|
|
17627
17562
|
i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
17628
17563
|
}
|
|
17629
17564
|
}
|
|
17630
|
-
const _c0$
|
|
17565
|
+
const _c0$I = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17631
17566
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
17632
17567
|
if (rf & 1) {
|
|
17633
17568
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -17638,7 +17573,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
|
17638
17573
|
}
|
|
17639
17574
|
if (rf & 2) {
|
|
17640
17575
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17641
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
17576
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$I, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
17642
17577
|
i0.ɵɵadvance(1);
|
|
17643
17578
|
i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
17644
17579
|
i0.ɵɵadvance(2);
|
|
@@ -18461,7 +18396,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) {
|
|
|
18461
18396
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
|
|
18462
18397
|
}
|
|
18463
18398
|
}
|
|
18464
|
-
const _c0$
|
|
18399
|
+
const _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
18465
18400
|
class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
18466
18401
|
ngOnInit() {
|
|
18467
18402
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -18483,7 +18418,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
18483
18418
|
i0.ɵɵelementEnd()();
|
|
18484
18419
|
}
|
|
18485
18420
|
if (rf & 2) {
|
|
18486
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
18421
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$H, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
18487
18422
|
i0.ɵɵadvance(1);
|
|
18488
18423
|
i0.ɵɵproperty("for", ctx.id());
|
|
18489
18424
|
i0.ɵɵadvance(1);
|
|
@@ -18616,7 +18551,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
|
18616
18551
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
18617
18552
|
}
|
|
18618
18553
|
}
|
|
18619
|
-
const _c0$
|
|
18554
|
+
const _c0$G = function (a0) { return { "error": a0 }; };
|
|
18620
18555
|
class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
18621
18556
|
ngOnInit() {
|
|
18622
18557
|
this.checkboxes = new FormArray([]);
|
|
@@ -18670,7 +18605,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
18670
18605
|
i0.ɵɵelementEnd()();
|
|
18671
18606
|
}
|
|
18672
18607
|
if (rf & 2) {
|
|
18673
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
18608
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$G, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
18674
18609
|
i0.ɵɵadvance(3);
|
|
18675
18610
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
18676
18611
|
i0.ɵɵadvance(1);
|
|
@@ -18752,8 +18687,8 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) {
|
|
|
18752
18687
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label), " ");
|
|
18753
18688
|
}
|
|
18754
18689
|
}
|
|
18755
|
-
const _c0$
|
|
18756
|
-
const _c1$
|
|
18690
|
+
const _c0$F = function (a0) { return { "form-group-error": a0 }; };
|
|
18691
|
+
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18757
18692
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
18758
18693
|
ngOnInit() {
|
|
18759
18694
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -18771,7 +18706,7 @@ WriteNumberFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: W
|
|
|
18771
18706
|
i0.ɵɵelementEnd();
|
|
18772
18707
|
}
|
|
18773
18708
|
if (rf & 2) {
|
|
18774
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18709
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
18775
18710
|
i0.ɵɵadvance(1);
|
|
18776
18711
|
i0.ɵɵproperty("for", ctx.id());
|
|
18777
18712
|
i0.ɵɵadvance(1);
|
|
@@ -18781,7 +18716,7 @@ WriteNumberFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: W
|
|
|
18781
18716
|
i0.ɵɵadvance(1);
|
|
18782
18717
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
18783
18718
|
i0.ɵɵadvance(1);
|
|
18784
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
18719
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
18785
18720
|
}
|
|
18786
18721
|
}, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NumberValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
18787
18722
|
(function () {
|
|
@@ -19054,7 +18989,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
|
|
|
19054
18989
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
19055
18990
|
}
|
|
19056
18991
|
}
|
|
19057
|
-
const _c0$
|
|
18992
|
+
const _c0$E = function (a0) { return { "scroll-container ": a0 }; };
|
|
19058
18993
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
19059
18994
|
if (rf & 1) {
|
|
19060
18995
|
i0.ɵɵelementStart(0, "div", 26);
|
|
@@ -19070,7 +19005,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
|
19070
19005
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19071
19006
|
let tmp_0_0;
|
|
19072
19007
|
let tmp_2_0;
|
|
19073
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19008
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$E, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
19074
19009
|
i0.ɵɵadvance(2);
|
|
19075
19010
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19076
19011
|
i0.ɵɵadvance(2);
|
|
@@ -19496,8 +19431,8 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) {
|
|
|
19496
19431
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label), " ");
|
|
19497
19432
|
}
|
|
19498
19433
|
}
|
|
19499
|
-
const _c0$
|
|
19500
|
-
const _c1$
|
|
19434
|
+
const _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
19435
|
+
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19501
19436
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
19502
19437
|
ngOnInit() {
|
|
19503
19438
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -19515,7 +19450,7 @@ WritePhoneUKFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
19515
19450
|
i0.ɵɵelementEnd();
|
|
19516
19451
|
}
|
|
19517
19452
|
if (rf & 2) {
|
|
19518
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19453
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$D, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
19519
19454
|
i0.ɵɵadvance(1);
|
|
19520
19455
|
i0.ɵɵproperty("for", ctx.id());
|
|
19521
19456
|
i0.ɵɵadvance(1);
|
|
@@ -19525,7 +19460,7 @@ WritePhoneUKFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
19525
19460
|
i0.ɵɵadvance(1);
|
|
19526
19461
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
19527
19462
|
i0.ɵɵadvance(1);
|
|
19528
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
19463
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
19529
19464
|
}
|
|
19530
19465
|
}, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
19531
19466
|
(function () {
|
|
@@ -21320,7 +21255,7 @@ function QueryWriteRaiseQueryComponent_ng_container_53_p_7_Template(rf, ctx) {
|
|
|
21320
21255
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 4, ctx_r4.raiseQueryErrorMessage.QUERY_HEARING_DATE), " ");
|
|
21321
21256
|
}
|
|
21322
21257
|
}
|
|
21323
|
-
const _c0$
|
|
21258
|
+
const _c0$C = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
21324
21259
|
function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
|
|
21325
21260
|
if (rf & 1) {
|
|
21326
21261
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -21336,7 +21271,7 @@ function QueryWriteRaiseQueryComponent_ng_container_53_Template(rf, ctx) {
|
|
|
21336
21271
|
if (rf & 2) {
|
|
21337
21272
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
21338
21273
|
i0.ɵɵadvance(1);
|
|
21339
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
21274
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$C, ctx_r3.submitted && ctx_r3.formGroup.get("isHearingRelated").value === true && ctx_r3.formGroup.get("hearingDate").value === null));
|
|
21340
21275
|
i0.ɵɵadvance(4);
|
|
21341
21276
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
21342
21277
|
i0.ɵɵadvance(2);
|
|
@@ -21415,7 +21350,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
21415
21350
|
i0.ɵɵadvance(6);
|
|
21416
21351
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21417
21352
|
i0.ɵɵadvance(2);
|
|
21418
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$
|
|
21353
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$C, ctx.submitted && ctx.formGroup.get("subject").hasError("required")));
|
|
21419
21354
|
i0.ɵɵadvance(3);
|
|
21420
21355
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 31, "Query subject"), " ");
|
|
21421
21356
|
i0.ɵɵadvance(3);
|
|
@@ -21426,7 +21361,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
21426
21361
|
i0.ɵɵclassProp("govuk-input--error", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("subject")) == null ? null : tmp_7_0.hasError("required")));
|
|
21427
21362
|
i0.ɵɵproperty("formControlName", "subject");
|
|
21428
21363
|
i0.ɵɵadvance(1);
|
|
21429
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$
|
|
21364
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$C, ctx.submitted && ctx.formGroup.get("body").hasError("required")));
|
|
21430
21365
|
i0.ɵɵadvance(3);
|
|
21431
21366
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 35, "Query detail"), " ");
|
|
21432
21367
|
i0.ɵɵadvance(3);
|
|
@@ -21437,7 +21372,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
21437
21372
|
i0.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ctx.formGroup.get("body").hasError("required"));
|
|
21438
21373
|
i0.ɵɵproperty("formControlName", "body");
|
|
21439
21374
|
i0.ɵɵadvance(2);
|
|
21440
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(53, _c0$
|
|
21375
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(53, _c0$C, ctx.submitted && ctx.formGroup.get("isHearingRelated").hasError("required")));
|
|
21441
21376
|
i0.ɵɵadvance(4);
|
|
21442
21377
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 39, "Is the query hearing related?"), " ");
|
|
21443
21378
|
i0.ɵɵadvance(2);
|
|
@@ -21603,7 +21538,7 @@ function ReadQueryManagementFieldComponent_ng_container_0_Template(rf, ctx) {
|
|
|
21603
21538
|
i0.ɵɵproperty("ngForOf", ctx_r0.caseQueriesCollections);
|
|
21604
21539
|
}
|
|
21605
21540
|
}
|
|
21606
|
-
const _c0$
|
|
21541
|
+
const _c0$B = function (a2) { return ["/query-management", "query", a2, "4"]; };
|
|
21607
21542
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template(rf, ctx) {
|
|
21608
21543
|
if (rf & 1) {
|
|
21609
21544
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -21616,7 +21551,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template
|
|
|
21616
21551
|
if (rf & 2) {
|
|
21617
21552
|
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
21618
21553
|
i0.ɵɵadvance(1);
|
|
21619
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c0$
|
|
21554
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c0$B, ctx_r9.caseId));
|
|
21620
21555
|
i0.ɵɵadvance(1);
|
|
21621
21556
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
21622
21557
|
}
|
|
@@ -21766,8 +21701,8 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) {
|
|
|
21766
21701
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label), " ");
|
|
21767
21702
|
}
|
|
21768
21703
|
}
|
|
21769
|
-
const _c0$
|
|
21770
|
-
const _c1$
|
|
21704
|
+
const _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
21705
|
+
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
21771
21706
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
21772
21707
|
constructor(browserService) {
|
|
21773
21708
|
super();
|
|
@@ -21797,7 +21732,7 @@ WriteTextAreaFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
21797
21732
|
i0.ɵɵelementEnd()();
|
|
21798
21733
|
}
|
|
21799
21734
|
if (rf & 2) {
|
|
21800
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
21735
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
21801
21736
|
i0.ɵɵadvance(1);
|
|
21802
21737
|
i0.ɵɵproperty("for", ctx.id());
|
|
21803
21738
|
i0.ɵɵadvance(1);
|
|
@@ -21807,7 +21742,7 @@ WriteTextAreaFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
21807
21742
|
i0.ɵɵadvance(1);
|
|
21808
21743
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
21809
21744
|
i0.ɵɵadvance(1);
|
|
21810
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
21745
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
21811
21746
|
}
|
|
21812
21747
|
}, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
21813
21748
|
(function () {
|
|
@@ -21881,8 +21816,8 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) {
|
|
|
21881
21816
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label), " ");
|
|
21882
21817
|
}
|
|
21883
21818
|
}
|
|
21884
|
-
const _c0$
|
|
21885
|
-
const _c1$
|
|
21819
|
+
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
21820
|
+
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
21886
21821
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
21887
21822
|
ngOnInit() {
|
|
21888
21823
|
this.textControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -21904,7 +21839,7 @@ WriteTextFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
|
|
|
21904
21839
|
i0.ɵɵelementEnd()();
|
|
21905
21840
|
}
|
|
21906
21841
|
if (rf & 2) {
|
|
21907
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
21842
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
21908
21843
|
i0.ɵɵadvance(1);
|
|
21909
21844
|
i0.ɵɵproperty("for", ctx.id());
|
|
21910
21845
|
i0.ɵɵadvance(1);
|
|
@@ -21914,7 +21849,7 @@ WriteTextFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
|
|
|
21914
21849
|
i0.ɵɵadvance(1);
|
|
21915
21850
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
21916
21851
|
i0.ɵɵadvance(1);
|
|
21917
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
21852
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
21918
21853
|
}
|
|
21919
21854
|
}, dependencies: [i4.NgClass, i4.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
21920
21855
|
(function () {
|
|
@@ -22098,7 +22033,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) {
|
|
|
22098
22033
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label), " ");
|
|
22099
22034
|
}
|
|
22100
22035
|
}
|
|
22101
|
-
const _c0$
|
|
22036
|
+
const _c0$y = function (a0) { return { selected: a0 }; };
|
|
22102
22037
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
22103
22038
|
if (rf & 1) {
|
|
22104
22039
|
i0.ɵɵelementStart(0, "div", 10);
|
|
@@ -22111,7 +22046,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
|
22111
22046
|
if (rf & 2) {
|
|
22112
22047
|
const value_r4 = ctx.$implicit;
|
|
22113
22048
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
22114
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
22049
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$y, ctx_r3.yesNoControl.value === value_r4));
|
|
22115
22050
|
i0.ɵɵadvance(1);
|
|
22116
22051
|
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
22117
22052
|
i0.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -22121,7 +22056,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
|
22121
22056
|
i0.ɵɵtextInterpolate(ctx_r3.caseField.label ? i0.ɵɵpipeBind3(4, 8, ctx_r3.caseField.label, null, value_r4) : value_r4);
|
|
22122
22057
|
}
|
|
22123
22058
|
}
|
|
22124
|
-
const _c1$
|
|
22059
|
+
const _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
22125
22060
|
class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
22126
22061
|
constructor(yesNoService) {
|
|
22127
22062
|
super();
|
|
@@ -22145,7 +22080,7 @@ WriteYesNoFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wr
|
|
|
22145
22080
|
i0.ɵɵelementEnd()()();
|
|
22146
22081
|
}
|
|
22147
22082
|
if (rf & 2) {
|
|
22148
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
22083
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
22149
22084
|
i0.ɵɵadvance(3);
|
|
22150
22085
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
22151
22086
|
i0.ɵɵadvance(1);
|
|
@@ -22268,7 +22203,7 @@ PaletteService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PaletteSe
|
|
|
22268
22203
|
}], null, null);
|
|
22269
22204
|
})();
|
|
22270
22205
|
|
|
22271
|
-
const _c0$
|
|
22206
|
+
const _c0$x = ["fieldContainer"];
|
|
22272
22207
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
22273
22208
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
22274
22209
|
constructor(resolver, paletteService) {
|
|
@@ -22317,7 +22252,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
22317
22252
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
22318
22253
|
FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
|
|
22319
22254
|
if (rf & 1) {
|
|
22320
|
-
i0.ɵɵviewQuery(_c0$
|
|
22255
|
+
i0.ɵɵviewQuery(_c0$x, 5, ViewContainerRef);
|
|
22321
22256
|
}
|
|
22322
22257
|
if (rf & 2) {
|
|
22323
22258
|
let _t;
|
|
@@ -22353,7 +22288,7 @@ FieldReadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldRea
|
|
|
22353
22288
|
}] });
|
|
22354
22289
|
})();
|
|
22355
22290
|
|
|
22356
|
-
const _c0$
|
|
22291
|
+
const _c0$w = ["fieldContainer"];
|
|
22357
22292
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
22358
22293
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
22359
22294
|
constructor(resolver, paletteService) {
|
|
@@ -22398,7 +22333,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
22398
22333
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
22399
22334
|
FieldWriteComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
|
|
22400
22335
|
if (rf & 1) {
|
|
22401
|
-
i0.ɵɵviewQuery(_c0$
|
|
22336
|
+
i0.ɵɵviewQuery(_c0$w, 7, ViewContainerRef);
|
|
22402
22337
|
}
|
|
22403
22338
|
if (rf & 2) {
|
|
22404
22339
|
let _t;
|
|
@@ -22456,7 +22391,7 @@ function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) {
|
|
|
22456
22391
|
i0.ɵɵprojection(0);
|
|
22457
22392
|
}
|
|
22458
22393
|
}
|
|
22459
|
-
const _c0$
|
|
22394
|
+
const _c0$v = ["*"];
|
|
22460
22395
|
class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
22461
22396
|
constructor() {
|
|
22462
22397
|
super(...arguments);
|
|
@@ -22491,7 +22426,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
22491
22426
|
}
|
|
22492
22427
|
}
|
|
22493
22428
|
FieldReadLabelComponent.ɵfac = /*@__PURE__*/ function () { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(t) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(t || FieldReadLabelComponent); }; }();
|
|
22494
|
-
FieldReadLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
22429
|
+
FieldReadLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$v, 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) {
|
|
22495
22430
|
if (rf & 1) {
|
|
22496
22431
|
i0.ɵɵprojectionDef();
|
|
22497
22432
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -22523,7 +22458,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Templ
|
|
|
22523
22458
|
i0.ɵɵelementContainer(0);
|
|
22524
22459
|
}
|
|
22525
22460
|
}
|
|
22526
|
-
const _c0$
|
|
22461
|
+
const _c0$u = function (a0) { return { cat: a0, level: 1 }; };
|
|
22527
22462
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
22528
22463
|
if (rf & 1) {
|
|
22529
22464
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22535,7 +22470,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
22535
22470
|
i0.ɵɵnextContext();
|
|
22536
22471
|
const _r1 = i0.ɵɵreference(13);
|
|
22537
22472
|
i0.ɵɵadvance(1);
|
|
22538
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
22473
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$u, cat_r3));
|
|
22539
22474
|
}
|
|
22540
22475
|
}
|
|
22541
22476
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
@@ -22543,7 +22478,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_co
|
|
|
22543
22478
|
i0.ɵɵelementContainer(0);
|
|
22544
22479
|
}
|
|
22545
22480
|
}
|
|
22546
|
-
const _c1$
|
|
22481
|
+
const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
22547
22482
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
|
|
22548
22483
|
if (rf & 1) {
|
|
22549
22484
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22556,7 +22491,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
22556
22491
|
i0.ɵɵnextContext();
|
|
22557
22492
|
const _r1 = i0.ɵɵreference(13);
|
|
22558
22493
|
i0.ɵɵadvance(1);
|
|
22559
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
22494
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
22560
22495
|
}
|
|
22561
22496
|
}
|
|
22562
22497
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
@@ -22747,8 +22682,8 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
|
|
|
22747
22682
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
22748
22683
|
}
|
|
22749
22684
|
}
|
|
22750
|
-
const _c0$
|
|
22751
|
-
const _c1$
|
|
22685
|
+
const _c0$t = [[["", "trigger", ""]]];
|
|
22686
|
+
const _c1$8 = ["[trigger]"];
|
|
22752
22687
|
class CaseFileViewOverlayMenuComponent {
|
|
22753
22688
|
constructor() {
|
|
22754
22689
|
this.title = '';
|
|
@@ -22762,9 +22697,9 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
22762
22697
|
}
|
|
22763
22698
|
}
|
|
22764
22699
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
22765
|
-
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$
|
|
22700
|
+
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) {
|
|
22766
22701
|
if (rf & 1) {
|
|
22767
|
-
i0.ɵɵprojectionDef(_c0$
|
|
22702
|
+
i0.ɵɵprojectionDef(_c0$t);
|
|
22768
22703
|
i0.ɵɵelementStart(0, "div")(1, "button", 0, 1);
|
|
22769
22704
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
22770
22705
|
i0.ɵɵprojection(3);
|
|
@@ -23439,7 +23374,7 @@ function AddCommentsComponent_div_13_Template(rf, ctx) {
|
|
|
23439
23374
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r3.flagCommentsCharLimitErrorMessage), " ");
|
|
23440
23375
|
}
|
|
23441
23376
|
}
|
|
23442
|
-
const _c0$
|
|
23377
|
+
const _c0$s = function (a0) { return { "form-group-error": a0 }; };
|
|
23443
23378
|
class AddCommentsComponent {
|
|
23444
23379
|
constructor() {
|
|
23445
23380
|
this.optional = false;
|
|
@@ -23531,7 +23466,7 @@ AddCommentsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddCom
|
|
|
23531
23466
|
if (rf & 2) {
|
|
23532
23467
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23533
23468
|
i0.ɵɵadvance(2);
|
|
23534
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$
|
|
23469
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c0$s, ctx.errorMessages.length > 0));
|
|
23535
23470
|
i0.ɵɵadvance(2);
|
|
23536
23471
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
23537
23472
|
i0.ɵɵadvance(1);
|
|
@@ -24163,7 +24098,7 @@ function ManageCaseFlagsComponent_div_10_Template(rf, ctx) {
|
|
|
24163
24098
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
24164
24099
|
}
|
|
24165
24100
|
}
|
|
24166
|
-
const _c0$
|
|
24101
|
+
const _c0$r = function (a0) { return { "form-group-error": a0 }; };
|
|
24167
24102
|
class ManageCaseFlagsComponent {
|
|
24168
24103
|
constructor() {
|
|
24169
24104
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -24313,7 +24248,7 @@ ManageCaseFlagsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ma
|
|
|
24313
24248
|
if (rf & 2) {
|
|
24314
24249
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
24315
24250
|
i0.ɵɵadvance(1);
|
|
24316
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
24251
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx.errorMessages.length > 0));
|
|
24317
24252
|
i0.ɵɵadvance(4);
|
|
24318
24253
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
24319
24254
|
i0.ɵɵadvance(2);
|
|
@@ -24445,7 +24380,7 @@ function SearchLanguageInterpreterComponent_div_24_div_6_Template(rf, ctx) {
|
|
|
24445
24380
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r8.languageCharLimitErrorMessage), " ");
|
|
24446
24381
|
}
|
|
24447
24382
|
}
|
|
24448
|
-
const _c0$
|
|
24383
|
+
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
24449
24384
|
function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) {
|
|
24450
24385
|
if (rf & 1) {
|
|
24451
24386
|
i0.ɵɵelementStart(0, "div", 25)(1, "div", 1)(2, "label", 26);
|
|
@@ -24460,7 +24395,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) {
|
|
|
24460
24395
|
if (rf & 2) {
|
|
24461
24396
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
24462
24397
|
i0.ɵɵadvance(1);
|
|
24463
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
24398
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$q, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
24464
24399
|
i0.ɵɵadvance(2);
|
|
24465
24400
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
24466
24401
|
i0.ɵɵadvance(2);
|
|
@@ -24630,7 +24565,7 @@ SearchLanguageInterpreterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
24630
24565
|
const _r2 = i0.ɵɵreference(14);
|
|
24631
24566
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
24632
24567
|
i0.ɵɵadvance(1);
|
|
24633
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$
|
|
24568
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c0$q, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
24634
24569
|
i0.ɵɵadvance(2);
|
|
24635
24570
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
24636
24571
|
i0.ɵɵadvance(1);
|
|
@@ -24767,7 +24702,7 @@ function SelectFlagLocationComponent_div_10_Template(rf, ctx) {
|
|
|
24767
24702
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
24768
24703
|
}
|
|
24769
24704
|
}
|
|
24770
|
-
const _c0$
|
|
24705
|
+
const _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
24771
24706
|
class SelectFlagLocationComponent {
|
|
24772
24707
|
constructor() {
|
|
24773
24708
|
this.isDisplayContextParameterExternal = false;
|
|
@@ -24860,7 +24795,7 @@ SelectFlagLocationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
24860
24795
|
if (rf & 2) {
|
|
24861
24796
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
24862
24797
|
i0.ɵɵadvance(1);
|
|
24863
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
24798
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
|
|
24864
24799
|
i0.ɵɵadvance(4);
|
|
24865
24800
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
24866
24801
|
i0.ɵɵadvance(2);
|
|
@@ -25024,8 +24959,8 @@ function SelectFlagTypeComponent_ng_container_0_div_11_div_8_Template(rf, ctx) {
|
|
|
25024
24959
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, "This flag should only be visible to HMCTS Staff"), " ");
|
|
25025
24960
|
}
|
|
25026
24961
|
}
|
|
25027
|
-
const _c0$
|
|
25028
|
-
const _c1$
|
|
24962
|
+
const _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
24963
|
+
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
25029
24964
|
function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
|
|
25030
24965
|
if (rf & 1) {
|
|
25031
24966
|
i0.ɵɵelementStart(0, "div", 18)(1, "div", 3)(2, "label", 19);
|
|
@@ -25041,13 +24976,13 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) {
|
|
|
25041
24976
|
if (rf & 2) {
|
|
25042
24977
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
25043
24978
|
i0.ɵɵadvance(1);
|
|
25044
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
24979
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$o, ctx_r7.flagTypeErrorMessage.length > 0));
|
|
25045
24980
|
i0.ɵɵadvance(2);
|
|
25046
24981
|
i0.ɵɵtextInterpolate1(" ", ctx_r7.isDisplayContextParameterExternal ? i0.ɵɵpipeBind1(4, 7, ctx_r7.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL) : i0.ɵɵpipeBind1(5, 9, ctx_r7.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION), " ");
|
|
25047
24982
|
i0.ɵɵadvance(3);
|
|
25048
24983
|
i0.ɵɵproperty("ngIf", ctx_r7.flagTypeErrorMessage.length > 0);
|
|
25049
24984
|
i0.ɵɵadvance(1);
|
|
25050
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$
|
|
24985
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c1$7, ctx_r7.flagTypeErrorMessage.length > 0))("name", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION)("formControlName", ctx_r7.caseFlagFormField.OTHER_FLAG_DESCRIPTION);
|
|
25051
24986
|
i0.ɵɵadvance(1);
|
|
25052
24987
|
i0.ɵɵproperty("ngIf", !ctx_r7.isDisplayContextParameterExternal && !ctx_r7.isCaseLevelFlag && ctx_r7.isDisplayContextParameter2Point1Enabled);
|
|
25053
24988
|
}
|
|
@@ -25071,7 +25006,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) {
|
|
|
25071
25006
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
25072
25007
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
25073
25008
|
i0.ɵɵadvance(1);
|
|
25074
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
25009
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$o, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
25075
25010
|
i0.ɵɵadvance(4);
|
|
25076
25011
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType)("ngIfElse", _r3);
|
|
25077
25012
|
i0.ɵɵadvance(3);
|
|
@@ -25591,7 +25526,7 @@ function UpdateFlagComponent_div_22_button_10_Template(rf, ctx) {
|
|
|
25591
25526
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Make inactive"), " ");
|
|
25592
25527
|
}
|
|
25593
25528
|
}
|
|
25594
|
-
const _c0$
|
|
25529
|
+
const _c0$n = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
25595
25530
|
function UpdateFlagComponent_div_22_Template(rf, ctx) {
|
|
25596
25531
|
if (rf & 1) {
|
|
25597
25532
|
i0.ɵɵelementStart(0, "div", 55)(1, "div", 56)(2, "p");
|
|
@@ -25610,14 +25545,14 @@ function UpdateFlagComponent_div_22_Template(rf, ctx) {
|
|
|
25610
25545
|
i0.ɵɵadvance(3);
|
|
25611
25546
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 4, "Flag status:"), " ");
|
|
25612
25547
|
i0.ɵɵadvance(3);
|
|
25613
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
25548
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$n, ctx_r9.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
25614
25549
|
i0.ɵɵadvance(1);
|
|
25615
25550
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 6, ctx_r9.selectedFlag == null ? null : ctx_r9.selectedFlag.flagDetailDisplay == null ? null : ctx_r9.selectedFlag.flagDetailDisplay.flagDetail == null ? null : ctx_r9.selectedFlag.flagDetailDisplay.flagDetail.status), " ");
|
|
25616
25551
|
i0.ɵɵadvance(3);
|
|
25617
25552
|
i0.ɵɵproperty("ngIf", ctx_r9.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
25618
25553
|
}
|
|
25619
25554
|
}
|
|
25620
|
-
const _c1$
|
|
25555
|
+
const _c1$6 = function (a0) { return { "form-group-error": a0 }; };
|
|
25621
25556
|
class UpdateFlagComponent {
|
|
25622
25557
|
constructor(rpxTranslationService) {
|
|
25623
25558
|
this.rpxTranslationService = rpxTranslationService;
|
|
@@ -25826,7 +25761,7 @@ UpdateFlagComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateF
|
|
|
25826
25761
|
const _r3 = i0.ɵɵreference(17);
|
|
25827
25762
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25828
25763
|
i0.ɵɵadvance(2);
|
|
25829
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$
|
|
25764
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c1$6, ctx.errorMessages.length > 0));
|
|
25830
25765
|
i0.ɵɵadvance(3);
|
|
25831
25766
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 13, ctx.updateFlagTitle), " ");
|
|
25832
25767
|
i0.ɵɵadvance(2);
|
|
@@ -25934,7 +25869,7 @@ function UpdateFlagAddTranslationFormComponent_div_44_Template(rf, ctx) {
|
|
|
25934
25869
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r3.flagCommentsWelshCharLimitErrorMessage), " ");
|
|
25935
25870
|
}
|
|
25936
25871
|
}
|
|
25937
|
-
const _c0$
|
|
25872
|
+
const _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
25938
25873
|
class UpdateFlagAddTranslationFormComponent {
|
|
25939
25874
|
constructor() {
|
|
25940
25875
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -26081,7 +26016,7 @@ UpdateFlagAddTranslationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineCompone
|
|
|
26081
26016
|
if (rf & 2) {
|
|
26082
26017
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26083
26018
|
i0.ɵɵadvance(2);
|
|
26084
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(55, _c0$
|
|
26019
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(55, _c0$m, ctx.errorMessages.length > 0));
|
|
26085
26020
|
i0.ɵɵadvance(3);
|
|
26086
26021
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 33, ctx.updateFlagAddTranslationTitle), " ");
|
|
26087
26022
|
i0.ɵɵadvance(3);
|
|
@@ -26199,7 +26134,7 @@ function ConfirmFlagStatusComponent_div_14_Template(rf, ctx) {
|
|
|
26199
26134
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.statusReasonCharLimitErrorMessage), " ");
|
|
26200
26135
|
}
|
|
26201
26136
|
}
|
|
26202
|
-
const _c0$
|
|
26137
|
+
const _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
26203
26138
|
class ConfirmFlagStatusComponent {
|
|
26204
26139
|
constructor() {
|
|
26205
26140
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -26281,7 +26216,7 @@ ConfirmFlagStatusComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
26281
26216
|
if (rf & 2) {
|
|
26282
26217
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26283
26218
|
i0.ɵɵadvance(2);
|
|
26284
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
26219
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$l, ctx.errorMessages.length > 0));
|
|
26285
26220
|
i0.ɵɵadvance(4);
|
|
26286
26221
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 12, ctx.confirmFlagStatusTitle), " ");
|
|
26287
26222
|
i0.ɵɵadvance(3);
|
|
@@ -26589,7 +26524,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) {
|
|
|
26589
26524
|
i0.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
26590
26525
|
}
|
|
26591
26526
|
}
|
|
26592
|
-
const _c0$
|
|
26527
|
+
const _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
26593
26528
|
/**
|
|
26594
26529
|
* Display a complex type fields as a list of values without labels.
|
|
26595
26530
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -26610,7 +26545,7 @@ ReadComplexFieldRawComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
26610
26545
|
}
|
|
26611
26546
|
if (rf & 2) {
|
|
26612
26547
|
i0.ɵɵadvance(1);
|
|
26613
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
26548
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
26614
26549
|
}
|
|
26615
26550
|
}, 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}"] });
|
|
26616
26551
|
(function () {
|
|
@@ -26674,7 +26609,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) {
|
|
|
26674
26609
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
26675
26610
|
}
|
|
26676
26611
|
}
|
|
26677
|
-
const _c0$
|
|
26612
|
+
const _c0$j = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
26678
26613
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
26679
26614
|
constructor() {
|
|
26680
26615
|
super(...arguments);
|
|
@@ -26699,7 +26634,7 @@ ReadComplexFieldTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
26699
26634
|
i0.ɵɵadvance(4);
|
|
26700
26635
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
26701
26636
|
i0.ɵɵadvance(5);
|
|
26702
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction3(12, _c0$
|
|
26637
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction3(12, _c0$j, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
|
|
26703
26638
|
}
|
|
26704
26639
|
}, 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}"] });
|
|
26705
26640
|
(function () {
|
|
@@ -27169,7 +27104,7 @@ function WriteDateFieldComponent_span_5_Template(rf, ctx) {
|
|
|
27169
27104
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label), " ");
|
|
27170
27105
|
}
|
|
27171
27106
|
}
|
|
27172
|
-
const _c0$
|
|
27107
|
+
const _c0$i = function (a0) { return { "form-group-error": a0 }; };
|
|
27173
27108
|
class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
27174
27109
|
ngOnInit() {
|
|
27175
27110
|
this.dateControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -27191,7 +27126,7 @@ WriteDateFieldComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Wri
|
|
|
27191
27126
|
i0.ɵɵelementEnd()();
|
|
27192
27127
|
}
|
|
27193
27128
|
if (rf & 2) {
|
|
27194
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
27129
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$i, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
27195
27130
|
i0.ɵɵadvance(3);
|
|
27196
27131
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
27197
27132
|
i0.ɵɵadvance(1);
|
|
@@ -27221,8 +27156,8 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
27221
27156
|
},
|
|
27222
27157
|
};
|
|
27223
27158
|
|
|
27224
|
-
const _c0$
|
|
27225
|
-
const _c1$
|
|
27159
|
+
const _c0$h = ["picker"];
|
|
27160
|
+
const _c1$5 = ["input"];
|
|
27226
27161
|
function DatetimePickerComponent_span_3_Template(rf, ctx) {
|
|
27227
27162
|
if (rf & 1) {
|
|
27228
27163
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -27286,7 +27221,7 @@ function DatetimePickerComponent_span_7_Template(rf, ctx) {
|
|
|
27286
27221
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is later than the maximum date allowed"));
|
|
27287
27222
|
}
|
|
27288
27223
|
}
|
|
27289
|
-
const _c2$
|
|
27224
|
+
const _c2$1 = function (a0) { return { "form-group-error": a0 }; };
|
|
27290
27225
|
class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
27291
27226
|
constructor(formatTranslationService, ngxMatDateFormats) {
|
|
27292
27227
|
super();
|
|
@@ -27451,8 +27386,8 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
27451
27386
|
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
27452
27387
|
DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
|
|
27453
27388
|
if (rf & 1) {
|
|
27454
|
-
i0.ɵɵviewQuery(_c0$
|
|
27455
|
-
i0.ɵɵviewQuery(_c1$
|
|
27389
|
+
i0.ɵɵviewQuery(_c0$h, 5);
|
|
27390
|
+
i0.ɵɵviewQuery(_c1$5, 5);
|
|
27456
27391
|
}
|
|
27457
27392
|
if (rf & 2) {
|
|
27458
27393
|
let _t;
|
|
@@ -27488,7 +27423,7 @@ DatetimePickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dat
|
|
|
27488
27423
|
}
|
|
27489
27424
|
if (rf & 2) {
|
|
27490
27425
|
const _r6 = i0.ɵɵreference(13);
|
|
27491
|
-
i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$
|
|
27426
|
+
i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2$1, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
|
|
27492
27427
|
i0.ɵɵadvance(3);
|
|
27493
27428
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
27494
27429
|
i0.ɵɵadvance(1);
|
|
@@ -27682,7 +27617,7 @@ function EventLogTableComponent_tr_20_div_3_Template(rf, ctx) {
|
|
|
27682
27617
|
i0.ɵɵproperty("ngIf", event_r1.state_id !== "Draft");
|
|
27683
27618
|
}
|
|
27684
27619
|
}
|
|
27685
|
-
const _c0$
|
|
27620
|
+
const _c0$g = function (a2) { return ["./", "event", a2, "history"]; };
|
|
27686
27621
|
function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) {
|
|
27687
27622
|
if (rf & 1) {
|
|
27688
27623
|
i0.ɵɵelementStart(0, "a", 18);
|
|
@@ -27693,7 +27628,7 @@ function EventLogTableComponent_tr_20_div_4_a_1_Template(rf, ctx) {
|
|
|
27693
27628
|
if (rf & 2) {
|
|
27694
27629
|
const event_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
27695
27630
|
const ctx_r12 = i0.ɵɵnextContext();
|
|
27696
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c0$
|
|
27631
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(6, _c0$g, event_r1.id))("target", "_blank");
|
|
27697
27632
|
i0.ɵɵattribute("aria-label", ctx_r12.getAriaLabelforLink(event_r1));
|
|
27698
27633
|
i0.ɵɵadvance(1);
|
|
27699
27634
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, event_r1.event_name));
|
|
@@ -27742,7 +27677,7 @@ function EventLogTableComponent_tr_20_div_6_Template(rf, ctx) {
|
|
|
27742
27677
|
i0.ɵɵtextInterpolate(ctx_r5.getSignificantItemDesc(event_r1));
|
|
27743
27678
|
}
|
|
27744
27679
|
}
|
|
27745
|
-
const _c1$
|
|
27680
|
+
const _c1$4 = function (a0) { return { "EventLogTable-Selected": a0 }; };
|
|
27746
27681
|
function EventLogTableComponent_tr_20_Template(rf, ctx) {
|
|
27747
27682
|
if (rf & 1) {
|
|
27748
27683
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
@@ -27775,7 +27710,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) {
|
|
|
27775
27710
|
if (rf & 2) {
|
|
27776
27711
|
const event_r1 = ctx.$implicit;
|
|
27777
27712
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
27778
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$
|
|
27713
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c1$4, ctx_r0.selected === event_r1));
|
|
27779
27714
|
i0.ɵɵattribute("aria-label", ctx_r0.getAriaLabelforRow(event_r1));
|
|
27780
27715
|
i0.ɵɵadvance(2);
|
|
27781
27716
|
i0.ɵɵproperty("ngSwitch", ctx_r0.isPartOfCaseTimeline);
|
|
@@ -27980,6 +27915,31 @@ EventLogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogC
|
|
|
27980
27915
|
}] });
|
|
27981
27916
|
})();
|
|
27982
27917
|
|
|
27918
|
+
const _c0$f = ["*"];
|
|
27919
|
+
class RouterLinkComponent {
|
|
27920
|
+
}
|
|
27921
|
+
RouterLinkComponent.ɵfac = function RouterLinkComponent_Factory(t) { return new (t || RouterLinkComponent)(); };
|
|
27922
|
+
RouterLinkComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$f, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) {
|
|
27923
|
+
if (rf & 1) {
|
|
27924
|
+
i0.ɵɵprojectionDef();
|
|
27925
|
+
i0.ɵɵelementStart(0, "a", 0);
|
|
27926
|
+
i0.ɵɵprojection(1);
|
|
27927
|
+
i0.ɵɵelementEnd();
|
|
27928
|
+
}
|
|
27929
|
+
if (rf & 2) {
|
|
27930
|
+
i0.ɵɵproperty("routerLink", ctx.link);
|
|
27931
|
+
}
|
|
27932
|
+
}, dependencies: [i1$1.RouterLink], encapsulation: 2 });
|
|
27933
|
+
(function () {
|
|
27934
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterLinkComponent, [{
|
|
27935
|
+
type: Component,
|
|
27936
|
+
args: [{
|
|
27937
|
+
selector: 'exui-routerlink',
|
|
27938
|
+
template: '<a [routerLink]="link"><ng-content></ng-content></a>'
|
|
27939
|
+
}]
|
|
27940
|
+
}], null, null);
|
|
27941
|
+
})();
|
|
27942
|
+
|
|
27983
27943
|
class CcdCaseTitlePipe {
|
|
27984
27944
|
constructor(placeholderService, fieldsUtils) {
|
|
27985
27945
|
this.placeholderService = placeholderService;
|
|
@@ -28452,31 +28412,38 @@ MarkdownComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
|
28452
28412
|
ReactiveFormsModule,
|
|
28453
28413
|
RpxTranslationModule.forChild(),
|
|
28454
28414
|
PipesModule,
|
|
28455
|
-
NgxMdModule
|
|
28415
|
+
NgxMdModule,
|
|
28416
|
+
RouterModule] });
|
|
28456
28417
|
(function () {
|
|
28457
28418
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponentModule, [{
|
|
28458
28419
|
type: NgModule,
|
|
28459
28420
|
args: [{
|
|
28460
28421
|
declarations: [
|
|
28461
|
-
MarkdownComponent
|
|
28422
|
+
MarkdownComponent,
|
|
28423
|
+
RouterLinkComponent
|
|
28462
28424
|
],
|
|
28463
28425
|
imports: [
|
|
28464
28426
|
CommonModule,
|
|
28465
28427
|
ReactiveFormsModule,
|
|
28466
28428
|
RpxTranslationModule.forChild(),
|
|
28467
28429
|
PipesModule,
|
|
28468
|
-
NgxMdModule
|
|
28430
|
+
NgxMdModule,
|
|
28431
|
+
RouterModule
|
|
28469
28432
|
],
|
|
28470
28433
|
exports: [
|
|
28471
|
-
MarkdownComponent
|
|
28434
|
+
MarkdownComponent,
|
|
28435
|
+
RouterLinkComponent
|
|
28472
28436
|
],
|
|
28473
28437
|
}]
|
|
28474
28438
|
}], null, null);
|
|
28475
28439
|
})();
|
|
28476
28440
|
(function () {
|
|
28477
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent
|
|
28441
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
28442
|
+
RouterLinkComponent], imports: [CommonModule,
|
|
28478
28443
|
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
28479
|
-
NgxMdModule
|
|
28444
|
+
NgxMdModule,
|
|
28445
|
+
RouterModule], exports: [MarkdownComponent,
|
|
28446
|
+
RouterLinkComponent] });
|
|
28480
28447
|
})();
|
|
28481
28448
|
|
|
28482
28449
|
class FeeValue {
|
|
@@ -29843,36 +29810,6 @@ function CaseEditSubmitComponent_div_0_ng_container_13_Template(rf, ctx) {
|
|
|
29843
29810
|
i0.ɵɵproperty("ngForOf", ctx_r8.showSummaryFields);
|
|
29844
29811
|
}
|
|
29845
29812
|
}
|
|
29846
|
-
function CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template(rf, ctx) {
|
|
29847
|
-
if (rf & 1) {
|
|
29848
|
-
i0.ɵɵelementStart(0, "span", 48);
|
|
29849
|
-
i0.ɵɵtext(1);
|
|
29850
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
29851
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
29852
|
-
i0.ɵɵelementEnd();
|
|
29853
|
-
}
|
|
29854
|
-
if (rf & 2) {
|
|
29855
|
-
const ctx_r36 = i0.ɵɵnextContext(3);
|
|
29856
|
-
i0.ɵɵadvance(1);
|
|
29857
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r36.summary.errors, ctx_r36.eventSummaryLabel)), " ");
|
|
29858
|
-
}
|
|
29859
|
-
}
|
|
29860
|
-
function CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template(rf, ctx) {
|
|
29861
|
-
if (rf & 1) {
|
|
29862
|
-
i0.ɵɵelementStart(0, "span", 48);
|
|
29863
|
-
i0.ɵɵtext(1);
|
|
29864
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
29865
|
-
i0.ɵɵpipe(3, "ccdFirstError");
|
|
29866
|
-
i0.ɵɵelementEnd();
|
|
29867
|
-
}
|
|
29868
|
-
if (rf & 2) {
|
|
29869
|
-
const ctx_r37 = i0.ɵɵnextContext(3);
|
|
29870
|
-
i0.ɵɵadvance(1);
|
|
29871
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r37.description.errors, ctx_r37.eventDescriptionLabel)), " ");
|
|
29872
|
-
}
|
|
29873
|
-
}
|
|
29874
|
-
const _c1$4 = function (a0) { return { "form-group-error": a0 }; };
|
|
29875
|
-
const _c2$1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
29876
29813
|
function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
|
|
29877
29814
|
if (rf & 1) {
|
|
29878
29815
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -29883,38 +29820,21 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) {
|
|
|
29883
29820
|
i0.ɵɵelementStart(6, "span", 43);
|
|
29884
29821
|
i0.ɵɵtext(7, "A few words describing the purpose of the event.");
|
|
29885
29822
|
i0.ɵɵelementEnd()();
|
|
29886
|
-
i0.ɵɵ
|
|
29887
|
-
i0.ɵɵelement(9, "input", 45);
|
|
29823
|
+
i0.ɵɵelement(8, "input", 44);
|
|
29888
29824
|
i0.ɵɵelementEnd();
|
|
29889
|
-
i0.ɵɵelementStart(
|
|
29890
|
-
i0.ɵɵtext(
|
|
29825
|
+
i0.ɵɵelementStart(9, "div", 41)(10, "label", 45);
|
|
29826
|
+
i0.ɵɵtext(11, "Event description (optional)");
|
|
29891
29827
|
i0.ɵɵelementEnd();
|
|
29892
|
-
i0.ɵɵ
|
|
29893
|
-
i0.ɵɵelement(14, "textarea", 47);
|
|
29828
|
+
i0.ɵɵelement(12, "textarea", 46);
|
|
29894
29829
|
i0.ɵɵelementEnd()();
|
|
29895
29830
|
i0.ɵɵelementContainerEnd();
|
|
29896
29831
|
}
|
|
29897
|
-
if (rf & 2) {
|
|
29898
|
-
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
29899
|
-
i0.ɵɵadvance(3);
|
|
29900
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c1$4, !!ctx_r9.summary && !ctx_r9.summary.valid && (ctx_r9.summary.dirty || ctx_r9.summary.touched)));
|
|
29901
|
-
i0.ɵɵadvance(5);
|
|
29902
|
-
i0.ɵɵproperty("ngIf", (ctx_r9.summary == null ? null : ctx_r9.summary.errors) && (ctx_r9.summary.dirty || ctx_r9.summary.touched));
|
|
29903
|
-
i0.ɵɵadvance(1);
|
|
29904
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c2$1, (ctx_r9.summary == null ? null : ctx_r9.summary.errors) && (ctx_r9.summary.dirty || ctx_r9.summary.touched)));
|
|
29905
|
-
i0.ɵɵadvance(1);
|
|
29906
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$4, !!ctx_r9.description && !ctx_r9.description.valid && (ctx_r9.description.dirty || ctx_r9.description.touched)));
|
|
29907
|
-
i0.ɵɵadvance(3);
|
|
29908
|
-
i0.ɵɵproperty("ngIf", (ctx_r9.description == null ? null : ctx_r9.description.errors) && (ctx_r9.description.dirty || ctx_r9.description.touched));
|
|
29909
|
-
i0.ɵɵadvance(1);
|
|
29910
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$1, (ctx_r9.description == null ? null : ctx_r9.description.errors) && (ctx_r9.description.dirty || ctx_r9.description.touched)));
|
|
29911
|
-
}
|
|
29912
29832
|
}
|
|
29913
29833
|
function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
|
|
29914
29834
|
if (rf & 1) {
|
|
29915
|
-
const
|
|
29916
|
-
i0.ɵɵelementStart(0, "button",
|
|
29917
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
29835
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
29836
|
+
i0.ɵɵelementStart(0, "button", 47);
|
|
29837
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.previous()); });
|
|
29918
29838
|
i0.ɵɵtext(1);
|
|
29919
29839
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
29920
29840
|
i0.ɵɵelementEnd();
|
|
@@ -29928,7 +29848,7 @@ function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) {
|
|
|
29928
29848
|
}
|
|
29929
29849
|
function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
|
|
29930
29850
|
if (rf & 1) {
|
|
29931
|
-
const
|
|
29851
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
29932
29852
|
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
29933
29853
|
i0.ɵɵtext(2);
|
|
29934
29854
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -29938,13 +29858,13 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
|
|
|
29938
29858
|
i0.ɵɵtemplate(7, CaseEditSubmitComponent_div_0_ng_template_7_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
29939
29859
|
i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 6);
|
|
29940
29860
|
i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
|
|
29941
|
-
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(
|
|
29861
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r39); const ctx_r38 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r38.callbackErrorsNotify($event)); });
|
|
29942
29862
|
i0.ɵɵelementEnd();
|
|
29943
29863
|
i0.ɵɵelementStart(11, "form", 8);
|
|
29944
|
-
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(
|
|
29864
|
+
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r39); const ctx_r40 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r40.submit()); });
|
|
29945
29865
|
i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_0_ng_container_12_Template, 8, 5, "ng-container", 0);
|
|
29946
29866
|
i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_13_Template, 4, 1, "ng-container", 0);
|
|
29947
|
-
i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template,
|
|
29867
|
+
i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 13, 0, "ng-container", 0);
|
|
29948
29868
|
i0.ɵɵelementStart(15, "div", 9);
|
|
29949
29869
|
i0.ɵɵtemplate(16, CaseEditSubmitComponent_div_0_button_16_Template, 3, 4, "button", 10);
|
|
29950
29870
|
i0.ɵɵelementStart(17, "button", 11);
|
|
@@ -29952,7 +29872,7 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
|
|
|
29952
29872
|
i0.ɵɵpipe(19, "rpxTranslate");
|
|
29953
29873
|
i0.ɵɵelementEnd()();
|
|
29954
29874
|
i0.ɵɵelementStart(20, "p", 12)(21, "a", 13);
|
|
29955
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(
|
|
29875
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r39); const ctx_r41 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r41.cancel()); });
|
|
29956
29876
|
i0.ɵɵtext(22);
|
|
29957
29877
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
29958
29878
|
i0.ɵɵelementEnd()()()();
|
|
@@ -29991,9 +29911,9 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) {
|
|
|
29991
29911
|
}
|
|
29992
29912
|
function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
|
|
29993
29913
|
if (rf & 1) {
|
|
29994
|
-
const
|
|
29995
|
-
i0.ɵɵelementStart(0, "ccd-case-event-completion",
|
|
29996
|
-
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(
|
|
29914
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
29915
|
+
i0.ɵɵelementStart(0, "ccd-case-event-completion", 48);
|
|
29916
|
+
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r43); const ctx_r42 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r42.onEventCanBeCompleted($event)); });
|
|
29997
29917
|
i0.ɵɵelementEnd();
|
|
29998
29918
|
}
|
|
29999
29919
|
if (rf & 2) {
|
|
@@ -30003,17 +29923,14 @@ function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) {
|
|
|
30003
29923
|
}
|
|
30004
29924
|
// @dynamic
|
|
30005
29925
|
class CaseEditSubmitComponent {
|
|
30006
|
-
constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier
|
|
29926
|
+
constructor(caseEdit, fieldsUtils, caseFieldService, route, orderService, profileNotifier) {
|
|
30007
29927
|
this.caseEdit = caseEdit;
|
|
30008
29928
|
this.fieldsUtils = fieldsUtils;
|
|
30009
29929
|
this.caseFieldService = caseFieldService;
|
|
30010
29930
|
this.route = route;
|
|
30011
29931
|
this.orderService = orderService;
|
|
30012
29932
|
this.profileNotifier = profileNotifier;
|
|
30013
|
-
this.formValidatorsService = formValidatorsService;
|
|
30014
29933
|
this.paletteContext = PaletteContext.CHECK_YOUR_ANSWER;
|
|
30015
|
-
this.eventSummaryLabel = 'Event summary';
|
|
30016
|
-
this.eventDescriptionLabel = 'Event description';
|
|
30017
29934
|
}
|
|
30018
29935
|
get isDisabled() {
|
|
30019
29936
|
// EUI-3452.
|
|
@@ -30024,7 +29941,7 @@ class CaseEditSubmitComponent {
|
|
|
30024
29941
|
}
|
|
30025
29942
|
ngOnInit() {
|
|
30026
29943
|
var _a, _b, _c;
|
|
30027
|
-
this.profileSubscription = this.profileNotifier.profile.subscribe(
|
|
29944
|
+
this.profileSubscription = this.profileNotifier.profile.subscribe(_ => this.profile = _);
|
|
30028
29945
|
this.eventTrigger = this.caseEdit.eventTrigger;
|
|
30029
29946
|
this.triggerText = this.eventTrigger.end_button_label || CallbackErrorsComponent.TRIGGER_TEXT_SUBMIT;
|
|
30030
29947
|
this.editForm = this.caseEdit.form;
|
|
@@ -30037,12 +29954,10 @@ class CaseEditSubmitComponent {
|
|
|
30037
29954
|
// Indicates if the submission is for a Case Flag, as opposed to a "regular" form submission, by the presence of
|
|
30038
29955
|
// a FlagLauncher field in the event trigger
|
|
30039
29956
|
this.caseEdit.isCaseFlagSubmission =
|
|
30040
|
-
this.eventTrigger.case_fields.some(
|
|
29957
|
+
this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']));
|
|
30041
29958
|
this.caseEdit.isLinkedCasesSubmission =
|
|
30042
29959
|
this.eventTrigger.case_fields.some(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['ComponentLauncher']));
|
|
30043
29960
|
this.pageTitle = this.getPageTitle();
|
|
30044
|
-
this.summary = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.summary');
|
|
30045
|
-
this.description = this.formValidatorsService.addMarkDownValidators(this.editForm, 'event.description');
|
|
30046
29961
|
}
|
|
30047
29962
|
ngOnDestroy() {
|
|
30048
29963
|
/* istanbul ignore else */
|
|
@@ -30051,14 +29966,12 @@ class CaseEditSubmitComponent {
|
|
|
30051
29966
|
}
|
|
30052
29967
|
}
|
|
30053
29968
|
submit() {
|
|
30054
|
-
|
|
30055
|
-
this.
|
|
30056
|
-
|
|
30057
|
-
|
|
30058
|
-
|
|
30059
|
-
|
|
30060
|
-
});
|
|
30061
|
-
}
|
|
29969
|
+
this.caseEdit.submitForm({
|
|
29970
|
+
eventTrigger: this.eventTrigger,
|
|
29971
|
+
form: this.editForm,
|
|
29972
|
+
submit: this.caseEdit.submit,
|
|
29973
|
+
caseDetails: this.caseEdit.caseDetails,
|
|
29974
|
+
});
|
|
30062
29975
|
}
|
|
30063
29976
|
onEventCanBeCompleted(eventCanBeCompleted) {
|
|
30064
29977
|
this.caseEdit.onEventCanBeCompleted({
|
|
@@ -30066,7 +29979,7 @@ class CaseEditSubmitComponent {
|
|
|
30066
29979
|
eventCanBeCompleted,
|
|
30067
29980
|
caseDetails: this.caseEdit.caseDetails,
|
|
30068
29981
|
form: this.editForm,
|
|
30069
|
-
submit: this.caseEdit.submit
|
|
29982
|
+
submit: this.caseEdit.submit,
|
|
30070
29983
|
});
|
|
30071
29984
|
}
|
|
30072
29985
|
getPageTitle() {
|
|
@@ -30142,7 +30055,7 @@ class CaseEditSubmitComponent {
|
|
|
30142
30055
|
}
|
|
30143
30056
|
}
|
|
30144
30057
|
readOnlySummaryFieldsToDisplayExists() {
|
|
30145
|
-
return this.eventTrigger.case_fields.some(
|
|
30058
|
+
return this.eventTrigger.case_fields.some(field => field.show_summary_content_option >= 0);
|
|
30146
30059
|
}
|
|
30147
30060
|
showEventNotes() {
|
|
30148
30061
|
var _a;
|
|
@@ -30158,7 +30071,7 @@ class CaseEditSubmitComponent {
|
|
|
30158
30071
|
}
|
|
30159
30072
|
getLastPageShown() {
|
|
30160
30073
|
let lastPage;
|
|
30161
|
-
this.wizard.reverse().forEach(
|
|
30074
|
+
this.wizard.reverse().forEach(page => {
|
|
30162
30075
|
if (!lastPage && this.isShown(page)) {
|
|
30163
30076
|
lastPage = page;
|
|
30164
30077
|
}
|
|
@@ -30177,7 +30090,7 @@ class CaseEditSubmitComponent {
|
|
|
30177
30090
|
}
|
|
30178
30091
|
isShown(page) {
|
|
30179
30092
|
const fields = this.fieldsUtils
|
|
30180
|
-
.mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls
|
|
30093
|
+
.mergeCaseFieldsAndFormFields(this.eventTrigger.case_fields, this.editForm.controls['data'].value);
|
|
30181
30094
|
return page.parsedShowCondition.match(fields);
|
|
30182
30095
|
}
|
|
30183
30096
|
canShowFieldInCYA(field) {
|
|
@@ -30186,7 +30099,7 @@ class CaseEditSubmitComponent {
|
|
|
30186
30099
|
sortFieldsByShowSummaryContent(fields) {
|
|
30187
30100
|
return this.orderService
|
|
30188
30101
|
.sort(fields, CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION)
|
|
30189
|
-
.filter(
|
|
30102
|
+
.filter(cf => cf.show_summary_content_option);
|
|
30190
30103
|
}
|
|
30191
30104
|
getCaseFields() {
|
|
30192
30105
|
if (this.caseEdit.caseDetails) {
|
|
@@ -30205,7 +30118,9 @@ class CaseEditSubmitComponent {
|
|
|
30205
30118
|
if (this.eventTrigger.can_save_draft) {
|
|
30206
30119
|
return 'Return to case list';
|
|
30207
30120
|
}
|
|
30208
|
-
|
|
30121
|
+
else {
|
|
30122
|
+
return 'Cancel';
|
|
30123
|
+
}
|
|
30209
30124
|
}
|
|
30210
30125
|
}
|
|
30211
30126
|
CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
|
|
@@ -30219,8 +30134,8 @@ CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
|
|
|
30219
30134
|
}
|
|
30220
30135
|
return a.show_summary_content_option - b.show_summary_content_option;
|
|
30221
30136
|
};
|
|
30222
|
-
CaseEditSubmitComponent.ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier)
|
|
30223
|
-
CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], [3, "error"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group"
|
|
30137
|
+
CaseEditSubmitComponent.ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
30138
|
+
CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], [3, "error"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditSubmitComponent_Template(rf, ctx) {
|
|
30224
30139
|
if (rf & 1) {
|
|
30225
30140
|
i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_Template, 24, 22, "div", 0);
|
|
30226
30141
|
i0.ɵɵtemplate(1, CaseEditSubmitComponent_ccd_case_event_completion_1_Template, 1, 1, "ccd-case-event-completion", 1);
|
|
@@ -30234,8 +30149,8 @@ CaseEditSubmitComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Cas
|
|
|
30234
30149
|
(function () {
|
|
30235
30150
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
30236
30151
|
type: Component,
|
|
30237
|
-
args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\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: contextFields : 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 <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\"
|
|
30238
|
-
}], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }
|
|
30152
|
+
args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\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: contextFields : 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 <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n <div class=\"form-group form-group-related\">\n <button *ngIf=\"!caseEdit.isCaseFlagSubmission\" class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\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%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
|
|
30153
|
+
}], function () { return [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }]; }, null);
|
|
30239
30154
|
})();
|
|
30240
30155
|
|
|
30241
30156
|
function CaseProgressComponent_div_0_Template(rf, ctx) {
|
|
@@ -30633,7 +30548,7 @@ i0.ɵɵsetComponentScope(CaseEditPageComponent, function () {
|
|
|
30633
30548
|
CaseEditGenericErrorsComponent];
|
|
30634
30549
|
}, function () { return [i4.AsyncPipe, CaseReferencePipe, CcdCaseTitlePipe, i1.RpxTranslatePipe]; });
|
|
30635
30550
|
i0.ɵɵsetComponentScope(CaseEditFormComponent, function () { return [i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i3.NgControlStatusGroup, i3.FormGroupDirective, LabelSubstitutorDirective, ConditionalShowFormDirective, FieldReadComponent, FieldWriteComponent]; }, function () { return [IsCompoundPipe, IsReadOnlyAndNotCollectionPipe]; });
|
|
30636
|
-
i0.ɵɵsetComponentScope(CaseEditSubmitComponent, function () { return [i4.
|
|
30551
|
+
i0.ɵɵsetComponentScope(CaseEditSubmitComponent, function () { return [i4.NgForOf, i4.NgIf, i4.NgSwitch, i4.NgSwitchCase, i3.ɵNgNoValidate, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgControlStatusGroup, i3.MaxLengthValidator, i3.FormGroupDirective, i3.FormControlName, i3.FormGroupName, LabelSubstitutorDirective, CallbackErrorsComponent, MarkdownComponent, FieldReadComponent, CaseEventCompletionComponent, CaseEditGenericErrorsComponent]; }, function () { return [IsCompoundPipe, CaseReferencePipe, CcdCaseTitlePipe, CcdCYAPageLabelFilterPipe, ReadFieldsFilterPipe, CcdPageFieldsPipe, i1.RpxTranslatePipe]; });
|
|
30637
30552
|
i0.ɵɵsetComponentScope(CaseCreateComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
|
|
30638
30553
|
i0.ɵɵsetComponentScope(CaseProgressComponent, function () { return [i4.NgIf, CaseEditComponent]; }, []);
|
|
30639
30554
|
|
|
@@ -32725,10 +32640,8 @@ class CaseResolver {
|
|
|
32725
32640
|
return route.firstChild && route.firstChild.fragment;
|
|
32726
32641
|
}
|
|
32727
32642
|
getAndCacheCaseView(cid) {
|
|
32728
|
-
console.info('getAndCacheCaseView started.');
|
|
32729
32643
|
if (this.caseNotifier.cachedCaseView && this.caseNotifier.cachedCaseView.case_id && this.caseNotifier.cachedCaseView.case_id === cid) {
|
|
32730
32644
|
this.caseNotifier.announceCase(this.caseNotifier.cachedCaseView);
|
|
32731
|
-
console.info('getAndCacheCaseView - Path A.');
|
|
32732
32645
|
return of(this.caseNotifier.cachedCaseView).toPromise();
|
|
32733
32646
|
}
|
|
32734
32647
|
else {
|
|
@@ -32736,7 +32649,6 @@ class CaseResolver {
|
|
|
32736
32649
|
return this.getAndCacheDraft(cid);
|
|
32737
32650
|
}
|
|
32738
32651
|
else {
|
|
32739
|
-
console.info('getAndCacheCaseView - Path B.');
|
|
32740
32652
|
return this.caseNotifier.fetchAndRefresh(cid)
|
|
32741
32653
|
.pipe(catchError(error => this.processErrorInCaseFetch(error, cid)))
|
|
32742
32654
|
.toPromise();
|
|
@@ -34387,9 +34299,7 @@ class CaseViewerComponent {
|
|
|
34387
34299
|
this.appendedTabs = [];
|
|
34388
34300
|
}
|
|
34389
34301
|
ngOnInit() {
|
|
34390
|
-
console.info('Loading case details...');
|
|
34391
34302
|
this.loadCaseDetails();
|
|
34392
|
-
console.info('Loaded case details...');
|
|
34393
34303
|
}
|
|
34394
34304
|
ngOnDestroy() {
|
|
34395
34305
|
if (this.caseSubscription) {
|
|
@@ -34398,7 +34308,6 @@ class CaseViewerComponent {
|
|
|
34398
34308
|
}
|
|
34399
34309
|
loadCaseDetails() {
|
|
34400
34310
|
if (this.route.snapshot.data.case) {
|
|
34401
|
-
console.info('Setting the case into case viewer component from this.route.snapshot.data.case.');
|
|
34402
34311
|
this.caseDetails = this.route.snapshot.data.case;
|
|
34403
34312
|
this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
|
|
34404
34313
|
this.caseDetails.tabs = this.suffixDuplicateTabs(this.caseDetails.tabs);
|
|
@@ -34961,16 +34870,12 @@ class EventStartGuard {
|
|
|
34961
34870
|
const caseId = route.params['cid'];
|
|
34962
34871
|
const eventId = route.params['eid'];
|
|
34963
34872
|
const taskId = route.queryParams['tid'];
|
|
34964
|
-
// TODO: NavigationExtras should be used once Angular upgrade changes have been incorporated
|
|
34965
|
-
const isComplete = route.queryParams['isComplete'];
|
|
34966
34873
|
const caseInfoStr = this.sessionStorageService.getItem('caseInfo');
|
|
34967
34874
|
if (caseInfoStr) {
|
|
34968
34875
|
const caseInfo = JSON.parse(caseInfoStr);
|
|
34969
34876
|
if (caseInfo && caseInfo.cid === caseId) {
|
|
34970
|
-
|
|
34971
|
-
|
|
34972
|
-
}
|
|
34973
|
-
return this.workAllocationService.getTasksByCaseIdAndEventId(eventId, caseId, caseInfo.caseType, caseInfo.jurisdiction).pipe(switchMap((payload) => this.checkForTasks(payload, caseId, eventId, taskId)));
|
|
34877
|
+
return this.workAllocationService.getTasksByCaseIdAndEventId(eventId, caseId, caseInfo.caseType, caseInfo.jurisdiction)
|
|
34878
|
+
.pipe(switchMap((payload) => this.checkForTasks(payload, caseId, eventId, taskId)));
|
|
34974
34879
|
}
|
|
34975
34880
|
}
|
|
34976
34881
|
return of(false);
|
|
@@ -34987,7 +34892,7 @@ class EventStartGuard {
|
|
|
34987
34892
|
// Get number of tasks assigned to user
|
|
34988
34893
|
const userInfoStr = this.sessionStorageService.getItem('userDetails');
|
|
34989
34894
|
const userInfo = JSON.parse(userInfoStr);
|
|
34990
|
-
const tasksAssignedToUser = payload.tasks.filter(x => x.task_state !== 'unassigned' && x.assignee === userInfo.id || x.assignee === userInfo.uid);
|
|
34895
|
+
const tasksAssignedToUser = payload.tasks.filter(x => x.task_state !== 'unassigned' && (x.assignee === userInfo.id || x.assignee === userInfo.uid));
|
|
34991
34896
|
if (tasksAssignedToUser.length === 0) {
|
|
34992
34897
|
// if no tasks assigned to user carry on
|
|
34993
34898
|
return true;
|
|
@@ -35006,13 +34911,24 @@ class EventStartGuard {
|
|
|
35006
34911
|
task = tasksAssignedToUser[0];
|
|
35007
34912
|
}
|
|
35008
34913
|
// if one task assigned to user, allow user to complete event
|
|
35009
|
-
this.sessionStorageService.setItem(
|
|
34914
|
+
this.sessionStorageService.setItem(EventStartGuard.TASK_TO_COMPLETE, JSON.stringify(task));
|
|
35010
34915
|
return true;
|
|
35011
34916
|
}
|
|
35012
34917
|
}
|
|
34918
|
+
removeTaskFromSessionStorage() {
|
|
34919
|
+
this.sessionStorageService.removeItem(EventStartGuard.TASK_TO_COMPLETE);
|
|
34920
|
+
}
|
|
35013
34921
|
checkForTasks(payload, caseId, eventId, taskId) {
|
|
35014
|
-
|
|
35015
|
-
|
|
34922
|
+
var _a;
|
|
34923
|
+
if (taskId && ((_a = payload === null || payload === void 0 ? void 0 : payload.tasks) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
34924
|
+
const task = payload.tasks.find((t) => t.id == taskId);
|
|
34925
|
+
if (task) {
|
|
34926
|
+
this.sessionStorageService.setItem(EventStartGuard.TASK_TO_COMPLETE, JSON.stringify(task));
|
|
34927
|
+
}
|
|
34928
|
+
else {
|
|
34929
|
+
this.removeTaskFromSessionStorage();
|
|
34930
|
+
}
|
|
34931
|
+
}
|
|
35016
34932
|
if (payload.task_required_for_event) {
|
|
35017
34933
|
// There are some issues in EventTriggerResolver/CaseService and/or CCD for some events
|
|
35018
34934
|
// which triggers the CanActivate guard again.
|
|
@@ -35029,6 +34945,7 @@ class EventStartGuard {
|
|
|
35029
34945
|
}
|
|
35030
34946
|
}
|
|
35031
34947
|
}
|
|
34948
|
+
EventStartGuard.TASK_TO_COMPLETE = 'taskToComplete';
|
|
35032
34949
|
EventStartGuard.ɵfac = function EventStartGuard_Factory(t) { return new (t || EventStartGuard)(i0.ɵɵinject(WorkAllocationService), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(SessionStorageService)); };
|
|
35033
34950
|
EventStartGuard.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStartGuard, factory: EventStartGuard.ɵfac });
|
|
35034
34951
|
(function () {
|
|
@@ -35167,10 +35084,12 @@ class EventStartStateMachineService {
|
|
|
35167
35084
|
if (!task) {
|
|
35168
35085
|
task = context.tasks[0];
|
|
35169
35086
|
}
|
|
35087
|
+
const taskStr = JSON.stringify(task);
|
|
35088
|
+
console.log('entryActionForStateOneTaskAssignedToUser: setting taskToComplete to ' + taskStr);
|
|
35170
35089
|
// Store task to session
|
|
35171
|
-
context.sessionStorageService.setItem('taskToComplete',
|
|
35090
|
+
context.sessionStorageService.setItem('taskToComplete', taskStr);
|
|
35172
35091
|
// Allow user to perform the event
|
|
35173
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], {
|
|
35092
|
+
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
35174
35093
|
}
|
|
35175
35094
|
entryActionForStateMultipleTasksAssignedToUser(state, context) {
|
|
35176
35095
|
// Trigger final state to complete processing of state machine
|
|
@@ -38707,5 +38626,5 @@ class TestRouteSnapshotBuilder {
|
|
|
38707
38626
|
* Generated bundle index. Do not edit.
|
|
38708
38627
|
*/
|
|
38709
38628
|
|
|
38710
|
-
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, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, 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, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, 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, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
38629
|
+
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, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, 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, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
38711
38630
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|