@hmcts/ccd-case-ui-toolkit 6.10.7-case-flags-create-change-links → 6.10.7-cfv-move-document-handle-error
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +810 -986
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +31 -41
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +3 -6
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +60 -26
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +76 -29
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +2 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.js +3 -5
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +20 -70
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +8 -16
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.js +18 -18
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +5 -9
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +92 -119
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +64 -106
- package/esm2015/lib/shared/components/palette/case-flag/domain/case-flag-state.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +3 -4
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +14 -30
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +68 -55
- package/esm2015/lib/shared/components/palette/palette.module.js +3 -3
- package/esm2015/lib/shared/domain/case-flag/flag-type.model.js +1 -16
- package/esm2015/lib/shared/pipes/index.js +1 -2
- package/esm2015/lib/shared/pipes/pipes.module.js +5 -9
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +574 -708
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +4 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts +0 -1
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts +3 -6
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts +3 -3
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +3 -4
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +5 -7
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts +10 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +1 -2
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +2 -3
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts +2 -5
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +22 -14
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts +0 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts.map +1 -1
- package/lib/shared/pipes/index.d.ts +0 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +2 -3
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/case-editor/services/case-flag-state.service.js +0 -17
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.js +0 -6
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +0 -16
- package/esm2015/lib/shared/pipes/generic/index.js +0 -2
- package/lib/shared/components/case-editor/services/case-flag-state.service.d.ts +0 -9
- package/lib/shared/components/case-editor/services/case-flag-state.service.d.ts.map +0 -1
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts +0 -5
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts.map +0 -1
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +0 -8
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +0 -1
- package/lib/shared/pipes/generic/index.d.ts +0 -2
- package/lib/shared/pipes/generic/index.d.ts.map +0 -1
|
@@ -4,7 +4,7 @@ import * as i1 from '@angular/common';
|
|
|
4
4
|
import { CommonModule, DOCUMENT, CurrencyPipe, formatDate } from '@angular/common';
|
|
5
5
|
import * as i1$1 from '@angular/router';
|
|
6
6
|
import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2 from '@angular/forms';
|
|
8
8
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
9
|
import polling from 'rx-polling';
|
|
10
10
|
import { throwError, Subject, EMPTY, Observable, of, BehaviorSubject, timer, fromEvent } from 'rxjs';
|
|
@@ -17,11 +17,11 @@ import * as moment from 'moment';
|
|
|
17
17
|
import { __decorate, __metadata } from 'tslib';
|
|
18
18
|
import { isUndefined } from 'util';
|
|
19
19
|
import { StateMachine } from '@edium/fsm';
|
|
20
|
-
import * as i1$
|
|
20
|
+
import * as i1$3 from '@angular/material/dialog';
|
|
21
21
|
import { MatDialogConfig, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
22
22
|
import * as i4 from '@angular-material-components/datetime-picker';
|
|
23
23
|
import { NGX_MAT_DATE_FORMATS, NgxMatDateAdapter, NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
|
|
24
|
-
import * as i1$
|
|
24
|
+
import * as i1$4 from '@angular/cdk/overlay';
|
|
25
25
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
26
26
|
import * as i7 from '@angular/cdk/tree';
|
|
27
27
|
import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
@@ -39,14 +39,14 @@ import * as i3 from '@hmcts/ccpay-web-component';
|
|
|
39
39
|
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
40
40
|
import * as i11 from '@hmcts/media-viewer';
|
|
41
41
|
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
42
|
-
import * as i2 from '@nicky-lenaers/ngx-scroll-to';
|
|
42
|
+
import * as i2$1 from '@nicky-lenaers/ngx-scroll-to';
|
|
43
43
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
44
|
-
import * as i1$
|
|
44
|
+
import * as i1$5 from 'ngx-md';
|
|
45
45
|
import { NgxMdModule } from 'ngx-md';
|
|
46
46
|
import { NgxMatMomentAdapter, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';
|
|
47
47
|
import * as i6$2 from '@angular/cdk/portal';
|
|
48
48
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
49
|
-
import * as i1$
|
|
49
|
+
import * as i1$6 from 'ngx-pagination';
|
|
50
50
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
51
51
|
import * as i9 from '@angular/material/tabs';
|
|
52
52
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
@@ -116,11 +116,11 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
116
116
|
i0.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
117
117
|
} }
|
|
118
118
|
const _c0$Y = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
119
|
-
const _c1$
|
|
119
|
+
const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
120
120
|
class FooterComponent {
|
|
121
121
|
}
|
|
122
122
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
123
|
-
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
123
|
+
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
124
124
|
i0.ɵɵprojectionDef(_c0$Y);
|
|
125
125
|
i0.ɵɵelementStart(0, "footer", 0);
|
|
126
126
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -189,7 +189,7 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
189
189
|
i0.ɵɵtextInterpolate(ctx_r2.title);
|
|
190
190
|
} }
|
|
191
191
|
const _c0$X = [[["", "headerNavigation", ""]]];
|
|
192
|
-
const _c1$
|
|
192
|
+
const _c1$q = ["[headerNavigation]"];
|
|
193
193
|
class HeaderBarComponent {
|
|
194
194
|
constructor() {
|
|
195
195
|
this.signOutRequest = new EventEmitter();
|
|
@@ -199,7 +199,7 @@ class HeaderBarComponent {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
202
|
-
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
202
|
+
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, decls: 15, vars: 8, 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) { if (rf & 1) {
|
|
203
203
|
i0.ɵɵprojectionDef(_c0$X);
|
|
204
204
|
i0.ɵɵelementStart(0, "header", 0);
|
|
205
205
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -258,11 +258,11 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
|
|
|
258
258
|
}] }); })();
|
|
259
259
|
|
|
260
260
|
const _c0$W = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
|
-
const _c1$
|
|
261
|
+
const _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
}
|
|
264
264
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
265
|
-
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
265
|
+
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
266
|
i0.ɵɵprojectionDef(_c0$W);
|
|
267
267
|
i0.ɵɵelementStart(0, "div");
|
|
268
268
|
i0.ɵɵelementStart(1, "nav", 0);
|
|
@@ -381,11 +381,11 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
|
|
|
381
381
|
}], null, null); })();
|
|
382
382
|
|
|
383
383
|
const _c0$V = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
384
|
-
const _c1$
|
|
384
|
+
const _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
385
385
|
class BodyComponent {
|
|
386
386
|
}
|
|
387
387
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
388
|
-
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
388
|
+
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
389
|
i0.ɵɵprojectionDef(_c0$V);
|
|
390
390
|
i0.ɵɵelementStart(0, "div", 0);
|
|
391
391
|
i0.ɵɵprojection(1);
|
|
@@ -1012,11 +1012,11 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
|
|
|
1012
1012
|
}] }); })();
|
|
1013
1013
|
|
|
1014
1014
|
const _c0$S = function (a0) { return { "js-hidden": a0 }; };
|
|
1015
|
-
const _c1$
|
|
1015
|
+
const _c1$n = ["*"];
|
|
1016
1016
|
class TabComponent {
|
|
1017
1017
|
}
|
|
1018
1018
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1019
|
-
TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1019
|
+
TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$n, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1020
1020
|
i0.ɵɵprojectionDef();
|
|
1021
1021
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1022
1022
|
i0.ɵɵprojection(1);
|
|
@@ -1043,7 +1043,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1043
1043
|
}] }); })();
|
|
1044
1044
|
|
|
1045
1045
|
const _c0$R = ["tab"];
|
|
1046
|
-
const _c1$
|
|
1046
|
+
const _c1$m = function () { return ["."]; };
|
|
1047
1047
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1048
1048
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
1049
1049
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -1056,7 +1056,7 @@ function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1056
1056
|
} if (rf & 2) {
|
|
1057
1057
|
const panel_r1 = ctx.$implicit;
|
|
1058
1058
|
i0.ɵɵadvance(1);
|
|
1059
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$
|
|
1059
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$m))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
|
|
1060
1060
|
i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1061
1061
|
i0.ɵɵadvance(2);
|
|
1062
1062
|
i0.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -2145,7 +2145,6 @@ var CaseFlagStatus;
|
|
|
2145
2145
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2146
2146
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2147
2147
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2148
|
-
CaseFlagStatus["NOT_APPROVED"] = "Not approved";
|
|
2149
2148
|
})(CaseFlagStatus || (CaseFlagStatus = {}));
|
|
2150
2149
|
|
|
2151
2150
|
class DashPipe {
|
|
@@ -8057,7 +8056,7 @@ class CaseEditComponent {
|
|
|
8057
8056
|
}
|
|
8058
8057
|
CaseEditComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
8059
8058
|
CaseEditComponent.ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
|
|
8060
|
-
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(
|
|
8059
|
+
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
8061
8060
|
CaseEditComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8062
8061
|
i0.ɵɵelement(0, "router-outlet");
|
|
8063
8062
|
} }, directives: [i1$1.RouterOutlet], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:1px solid #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:0}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
@@ -8069,7 +8068,7 @@ CaseEditComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditComponent, sele
|
|
|
8069
8068
|
styleUrls: ['../case-edit.scss'],
|
|
8070
8069
|
providers: [GreyBarService]
|
|
8071
8070
|
}]
|
|
8072
|
-
}], function () { return [{ type:
|
|
8071
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }]; }, { eventTrigger: [{
|
|
8073
8072
|
type: Input
|
|
8074
8073
|
}], submit: [{
|
|
8075
8074
|
type: Input
|
|
@@ -8398,7 +8397,7 @@ class SaveOrDiscardDialogComponent {
|
|
|
8398
8397
|
this.matDialogRef.close(this.result);
|
|
8399
8398
|
}
|
|
8400
8399
|
}
|
|
8401
|
-
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
8400
|
+
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
|
|
8402
8401
|
SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8403
8402
|
i0.ɵɵelementStart(0, "div");
|
|
8404
8403
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -8436,7 +8435,7 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
|
|
|
8436
8435
|
templateUrl: './save-or-discard-dialog.component.html',
|
|
8437
8436
|
styleUrls: ['../action-dialog.component.scss']
|
|
8438
8437
|
}]
|
|
8439
|
-
}], function () { return [{ type: i1$
|
|
8438
|
+
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
8440
8439
|
|
|
8441
8440
|
function initDialog() {
|
|
8442
8441
|
const dialogConfig = new MatDialogConfig();
|
|
@@ -9066,7 +9065,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
|
|
|
9066
9065
|
CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
|
|
9067
9066
|
CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
|
|
9068
9067
|
CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
|
|
9069
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$
|
|
9068
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
9070
9069
|
CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9071
9070
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
9072
9071
|
i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
|
|
@@ -9108,7 +9107,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
|
|
|
9108
9107
|
templateUrl: 'case-edit-page.html',
|
|
9109
9108
|
styleUrls: ['./case-edit-page.scss']
|
|
9110
9109
|
}]
|
|
9111
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$
|
|
9110
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }]; }, null); })();
|
|
9112
9111
|
|
|
9113
9112
|
class CallbackErrorsContext {
|
|
9114
9113
|
}
|
|
@@ -9764,20 +9763,6 @@ FieldsFilterPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldsFilter", type: Fie
|
|
|
9764
9763
|
}]
|
|
9765
9764
|
}], null, null); })();
|
|
9766
9765
|
|
|
9767
|
-
class EnumDisplayDescriptionPipe {
|
|
9768
|
-
transform(value) {
|
|
9769
|
-
return Object.values(value);
|
|
9770
|
-
}
|
|
9771
|
-
}
|
|
9772
|
-
EnumDisplayDescriptionPipe.ɵfac = function EnumDisplayDescriptionPipe_Factory(t) { return new (t || EnumDisplayDescriptionPipe)(); };
|
|
9773
|
-
EnumDisplayDescriptionPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
|
|
9774
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
|
|
9775
|
-
type: Pipe,
|
|
9776
|
-
args: [{
|
|
9777
|
-
name: 'enumDisplayDescription'
|
|
9778
|
-
}]
|
|
9779
|
-
}], null, null); })();
|
|
9780
|
-
|
|
9781
9766
|
var SortOrder;
|
|
9782
9767
|
(function (SortOrder) {
|
|
9783
9768
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -9813,8 +9798,7 @@ const pipeDeclarations = [
|
|
|
9813
9798
|
CcdCYAPageLabelFilterPipe,
|
|
9814
9799
|
ReadFieldsFilterPipe,
|
|
9815
9800
|
CcdTabFieldsPipe,
|
|
9816
|
-
CcdPageFieldsPipe
|
|
9817
|
-
EnumDisplayDescriptionPipe
|
|
9801
|
+
CcdPageFieldsPipe
|
|
9818
9802
|
];
|
|
9819
9803
|
class PipesModule {
|
|
9820
9804
|
}
|
|
@@ -9830,16 +9814,14 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
9830
9814
|
CcdCYAPageLabelFilterPipe,
|
|
9831
9815
|
ReadFieldsFilterPipe,
|
|
9832
9816
|
CcdTabFieldsPipe,
|
|
9833
|
-
CcdPageFieldsPipe,
|
|
9834
|
-
EnumDisplayDescriptionPipe], imports: [CommonModule], exports: [CaseReferencePipe,
|
|
9817
|
+
CcdPageFieldsPipe], imports: [CommonModule], exports: [CaseReferencePipe,
|
|
9835
9818
|
SortSearchResultPipe,
|
|
9836
9819
|
CcdCaseTitlePipe,
|
|
9837
9820
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
9838
9821
|
CcdCYAPageLabelFilterPipe,
|
|
9839
9822
|
ReadFieldsFilterPipe,
|
|
9840
9823
|
CcdTabFieldsPipe,
|
|
9841
|
-
CcdPageFieldsPipe
|
|
9842
|
-
EnumDisplayDescriptionPipe] }); })();
|
|
9824
|
+
CcdPageFieldsPipe] }); })();
|
|
9843
9825
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PipesModule, [{
|
|
9844
9826
|
type: NgModule,
|
|
9845
9827
|
args: [{
|
|
@@ -9850,7 +9832,7 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
9850
9832
|
...pipeDeclarations
|
|
9851
9833
|
],
|
|
9852
9834
|
exports: [
|
|
9853
|
-
...pipeDeclarations
|
|
9835
|
+
...pipeDeclarations
|
|
9854
9836
|
]
|
|
9855
9837
|
}]
|
|
9856
9838
|
}], null, null); })();
|
|
@@ -10067,7 +10049,7 @@ function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (r
|
|
|
10067
10049
|
i0.ɵɵtext(1, "Enter the Postcode");
|
|
10068
10050
|
i0.ɵɵelementEnd();
|
|
10069
10051
|
} }
|
|
10070
|
-
const _c1$
|
|
10052
|
+
const _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
10071
10053
|
const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
10072
10054
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
10073
10055
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -10086,7 +10068,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
|
|
|
10086
10068
|
i0.ɵɵelementEnd();
|
|
10087
10069
|
} if (rf & 2) {
|
|
10088
10070
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10089
|
-
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
10071
|
+
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
|
|
10090
10072
|
i0.ɵɵadvance(1);
|
|
10091
10073
|
i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
10092
10074
|
i0.ɵɵadvance(3);
|
|
@@ -10323,49 +10305,80 @@ const ɵAbstractFieldReadComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
10323
10305
|
type: Input
|
|
10324
10306
|
}] }); })();
|
|
10325
10307
|
|
|
10326
|
-
function
|
|
10327
|
-
i0.ɵɵelementStart(0, "
|
|
10328
|
-
i0.ɵɵelementStart(1, "
|
|
10308
|
+
function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
10309
|
+
i0.ɵɵelementStart(0, "li");
|
|
10310
|
+
i0.ɵɵelementStart(1, "a", 8);
|
|
10311
|
+
i0.ɵɵtext(2);
|
|
10312
|
+
i0.ɵɵelementEnd();
|
|
10313
|
+
i0.ɵɵelementEnd();
|
|
10314
|
+
} if (rf & 2) {
|
|
10315
|
+
const errorMessage_r4 = ctx.$implicit;
|
|
10316
|
+
i0.ɵɵadvance(2);
|
|
10317
|
+
i0.ɵɵtextInterpolate(errorMessage_r4);
|
|
10318
|
+
} }
|
|
10319
|
+
function CaseFileViewFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
10320
|
+
i0.ɵɵelementContainerStart(0);
|
|
10321
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
10322
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
10323
|
+
i0.ɵɵelementStart(3, "h2", 4);
|
|
10324
|
+
i0.ɵɵtext(4, " There is a problem ");
|
|
10325
|
+
i0.ɵɵelementEnd();
|
|
10326
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
10327
|
+
i0.ɵɵelementStart(6, "ul", 6);
|
|
10328
|
+
i0.ɵɵtemplate(7, CaseFileViewFieldComponent_ng_container_0_li_7_Template, 3, 1, "li", 7);
|
|
10329
|
+
i0.ɵɵelementEnd();
|
|
10330
|
+
i0.ɵɵelementEnd();
|
|
10331
|
+
i0.ɵɵelementEnd();
|
|
10332
|
+
i0.ɵɵelementEnd();
|
|
10333
|
+
i0.ɵɵelementContainerEnd();
|
|
10334
|
+
} if (rf & 2) {
|
|
10335
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
10336
|
+
i0.ɵɵadvance(7);
|
|
10337
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.errorMessages);
|
|
10338
|
+
} }
|
|
10339
|
+
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10340
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
10341
|
+
i0.ɵɵelementStart(1, "h1", 10);
|
|
10329
10342
|
i0.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
10330
10343
|
i0.ɵɵelementEnd();
|
|
10331
|
-
i0.ɵɵelementStart(3, "p",
|
|
10344
|
+
i0.ɵɵelementStart(3, "p", 11);
|
|
10332
10345
|
i0.ɵɵtext(4, "Try again later.");
|
|
10333
10346
|
i0.ɵɵelementEnd();
|
|
10334
10347
|
i0.ɵɵelementEnd();
|
|
10335
10348
|
} }
|
|
10336
|
-
function
|
|
10349
|
+
function CaseFileViewFieldComponent_div_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
10337
10350
|
i0.ɵɵelementContainerStart(0);
|
|
10338
|
-
i0.ɵɵelement(1, "mv-media-viewer",
|
|
10351
|
+
i0.ɵɵelement(1, "mv-media-viewer", 18);
|
|
10339
10352
|
i0.ɵɵelementContainerEnd();
|
|
10340
10353
|
} if (rf & 2) {
|
|
10341
|
-
const
|
|
10354
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
10342
10355
|
i0.ɵɵadvance(1);
|
|
10343
|
-
i0.ɵɵproperty("url",
|
|
10356
|
+
i0.ɵɵproperty("url", ctx_r5.currentDocument.document_binary_url)("downloadFileName", ctx_r5.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r5.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
|
|
10344
10357
|
} }
|
|
10345
|
-
function
|
|
10346
|
-
const
|
|
10358
|
+
function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
10359
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
10347
10360
|
i0.ɵɵelementStart(0, "div");
|
|
10348
|
-
i0.ɵɵelementStart(1, "h2",
|
|
10361
|
+
i0.ɵɵelementStart(1, "h2", 12);
|
|
10349
10362
|
i0.ɵɵtext(2, "Case file");
|
|
10350
10363
|
i0.ɵɵelementEnd();
|
|
10351
|
-
i0.ɵɵelementStart(3, "div",
|
|
10352
|
-
i0.ɵɵelementStart(4, "div",
|
|
10353
|
-
i0.ɵɵelementStart(5, "ccd-case-file-view-folder",
|
|
10354
|
-
i0.ɵɵlistener("clickedDocument", function
|
|
10364
|
+
i0.ɵɵelementStart(3, "div", 13);
|
|
10365
|
+
i0.ɵɵelementStart(4, "div", 14);
|
|
10366
|
+
i0.ɵɵelementStart(5, "ccd-case-file-view-folder", 15);
|
|
10367
|
+
i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); ctx_r6.setMediaViewerFile($event); return ctx_r6.resetErrorMessages(); })("moveDocument", function CaseFileViewFieldComponent_div_2_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.moveDocument($event); });
|
|
10355
10368
|
i0.ɵɵelementEnd();
|
|
10356
10369
|
i0.ɵɵelementEnd();
|
|
10357
|
-
i0.ɵɵelement(6, "div",
|
|
10358
|
-
i0.ɵɵelementStart(7, "div",
|
|
10359
|
-
i0.ɵɵtemplate(8,
|
|
10370
|
+
i0.ɵɵelement(6, "div", 16);
|
|
10371
|
+
i0.ɵɵelementStart(7, "div", 17);
|
|
10372
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 2, 7, "ng-container", 0);
|
|
10360
10373
|
i0.ɵɵelementEnd();
|
|
10361
10374
|
i0.ɵɵelementEnd();
|
|
10362
10375
|
i0.ɵɵelementEnd();
|
|
10363
10376
|
} if (rf & 2) {
|
|
10364
|
-
const
|
|
10377
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
10365
10378
|
i0.ɵɵadvance(5);
|
|
10366
|
-
i0.ɵɵproperty("categoriesAndDocuments",
|
|
10379
|
+
i0.ɵɵproperty("categoriesAndDocuments", ctx_r2.categoriesAndDocuments$)("allowMoving", ctx_r2.allowMoving);
|
|
10367
10380
|
i0.ɵɵadvance(3);
|
|
10368
|
-
i0.ɵɵproperty("ngIf",
|
|
10381
|
+
i0.ɵɵproperty("ngIf", ctx_r2.currentDocument);
|
|
10369
10382
|
} }
|
|
10370
10383
|
class CaseFileViewFieldComponent {
|
|
10371
10384
|
constructor(elementRef, route, caseFileViewService, documentManagementService, loadingService) {
|
|
@@ -10376,6 +10389,7 @@ class CaseFileViewFieldComponent {
|
|
|
10376
10389
|
this.loadingService = loadingService;
|
|
10377
10390
|
this.allowMoving = true;
|
|
10378
10391
|
this.getCategoriesAndDocumentsError = false;
|
|
10392
|
+
this.errorMessages = [];
|
|
10379
10393
|
}
|
|
10380
10394
|
ngOnInit() {
|
|
10381
10395
|
const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
@@ -10419,11 +10433,23 @@ class CaseFileViewFieldComponent {
|
|
|
10419
10433
|
moveDocument(data) {
|
|
10420
10434
|
const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
10421
10435
|
const loadingToken = this.loadingService.register();
|
|
10422
|
-
this.caseFileViewService.updateDocumentCategory(cid, this.caseVersion, data.document.attribute_path, data.newCategory)
|
|
10423
|
-
|
|
10436
|
+
this.caseFileViewService.updateDocumentCategory(cid, this.caseVersion, data.document.attribute_path, data.newCategory)
|
|
10437
|
+
.pipe(finalize(() => {
|
|
10424
10438
|
this.loadingService.unregister(loadingToken);
|
|
10439
|
+
}), catchError(() => {
|
|
10440
|
+
this.errorMessages = ['You do not have permission to move this document to the selected folder.'];
|
|
10441
|
+
return of(null);
|
|
10442
|
+
}))
|
|
10443
|
+
.subscribe(res => {
|
|
10444
|
+
if (res) {
|
|
10445
|
+
this.resetErrorMessages();
|
|
10446
|
+
location.reload();
|
|
10447
|
+
}
|
|
10425
10448
|
});
|
|
10426
10449
|
}
|
|
10450
|
+
resetErrorMessages() {
|
|
10451
|
+
this.errorMessages = [];
|
|
10452
|
+
}
|
|
10427
10453
|
ngOnDestroy() {
|
|
10428
10454
|
if (this.categoriesAndDocumentsSubscription) {
|
|
10429
10455
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
@@ -10432,10 +10458,13 @@ class CaseFileViewFieldComponent {
|
|
|
10432
10458
|
}
|
|
10433
10459
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10434
10460
|
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
10435
|
-
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls:
|
|
10436
|
-
i0.ɵɵtemplate(0,
|
|
10437
|
-
i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template,
|
|
10461
|
+
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0);"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10462
|
+
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0);
|
|
10463
|
+
i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1);
|
|
10464
|
+
i0.ɵɵtemplate(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
|
|
10438
10465
|
} if (rf & 2) {
|
|
10466
|
+
i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
|
|
10467
|
+
i0.ɵɵadvance(1);
|
|
10439
10468
|
i0.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
|
|
10440
10469
|
i0.ɵɵadvance(1);
|
|
10441
10470
|
i0.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
|
|
@@ -10449,61 +10478,95 @@ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFi
|
|
|
10449
10478
|
}]
|
|
10450
10479
|
}], function () { return [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }]; }, null); })();
|
|
10451
10480
|
|
|
10452
|
-
function
|
|
10453
|
-
i0.ɵɵelementStart(0, "
|
|
10454
|
-
i0.ɵɵelementStart(1, "
|
|
10481
|
+
function CaseFileViewFieldReadComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
10482
|
+
i0.ɵɵelementStart(0, "li");
|
|
10483
|
+
i0.ɵɵelementStart(1, "a", 8);
|
|
10484
|
+
i0.ɵɵtext(2);
|
|
10485
|
+
i0.ɵɵelementEnd();
|
|
10486
|
+
i0.ɵɵelementEnd();
|
|
10487
|
+
} if (rf & 2) {
|
|
10488
|
+
const errorMessage_r4 = ctx.$implicit;
|
|
10489
|
+
i0.ɵɵadvance(2);
|
|
10490
|
+
i0.ɵɵtextInterpolate(errorMessage_r4);
|
|
10491
|
+
} }
|
|
10492
|
+
function CaseFileViewFieldReadComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
10493
|
+
i0.ɵɵelementContainerStart(0);
|
|
10494
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
10495
|
+
i0.ɵɵelementStart(2, "div", 3);
|
|
10496
|
+
i0.ɵɵelementStart(3, "h2", 4);
|
|
10497
|
+
i0.ɵɵtext(4, " There is a problem ");
|
|
10498
|
+
i0.ɵɵelementEnd();
|
|
10499
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
10500
|
+
i0.ɵɵelementStart(6, "ul", 6);
|
|
10501
|
+
i0.ɵɵtemplate(7, CaseFileViewFieldReadComponent_ng_container_0_li_7_Template, 3, 1, "li", 7);
|
|
10502
|
+
i0.ɵɵelementEnd();
|
|
10503
|
+
i0.ɵɵelementEnd();
|
|
10504
|
+
i0.ɵɵelementEnd();
|
|
10505
|
+
i0.ɵɵelementEnd();
|
|
10506
|
+
i0.ɵɵelementContainerEnd();
|
|
10507
|
+
} if (rf & 2) {
|
|
10508
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
10509
|
+
i0.ɵɵadvance(7);
|
|
10510
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.errorMessages);
|
|
10511
|
+
} }
|
|
10512
|
+
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10513
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
10514
|
+
i0.ɵɵelementStart(1, "h1", 10);
|
|
10455
10515
|
i0.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
10456
10516
|
i0.ɵɵelementEnd();
|
|
10457
|
-
i0.ɵɵelementStart(3, "p",
|
|
10517
|
+
i0.ɵɵelementStart(3, "p", 11);
|
|
10458
10518
|
i0.ɵɵtext(4, "Try again later.");
|
|
10459
10519
|
i0.ɵɵelementEnd();
|
|
10460
10520
|
i0.ɵɵelementEnd();
|
|
10461
10521
|
} }
|
|
10462
|
-
function
|
|
10522
|
+
function CaseFileViewFieldReadComponent_div_2_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
10463
10523
|
i0.ɵɵelementContainerStart(0);
|
|
10464
|
-
i0.ɵɵelement(1, "mv-media-viewer",
|
|
10524
|
+
i0.ɵɵelement(1, "mv-media-viewer", 18);
|
|
10465
10525
|
i0.ɵɵelementContainerEnd();
|
|
10466
10526
|
} if (rf & 2) {
|
|
10467
|
-
const
|
|
10527
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
10468
10528
|
i0.ɵɵadvance(1);
|
|
10469
|
-
i0.ɵɵproperty("url",
|
|
10529
|
+
i0.ɵɵproperty("url", ctx_r5.currentDocument.document_binary_url)("downloadFileName", ctx_r5.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r5.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
|
|
10470
10530
|
} }
|
|
10471
|
-
function
|
|
10472
|
-
const
|
|
10531
|
+
function CaseFileViewFieldReadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
10532
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
10473
10533
|
i0.ɵɵelementStart(0, "div");
|
|
10474
|
-
i0.ɵɵelementStart(1, "h2",
|
|
10534
|
+
i0.ɵɵelementStart(1, "h2", 12);
|
|
10475
10535
|
i0.ɵɵtext(2, "Case file");
|
|
10476
10536
|
i0.ɵɵelementEnd();
|
|
10477
|
-
i0.ɵɵelementStart(3, "div",
|
|
10478
|
-
i0.ɵɵelementStart(4, "div",
|
|
10479
|
-
i0.ɵɵelementStart(5, "ccd-case-file-view-folder",
|
|
10480
|
-
i0.ɵɵlistener("clickedDocument", function
|
|
10537
|
+
i0.ɵɵelementStart(3, "div", 13);
|
|
10538
|
+
i0.ɵɵelementStart(4, "div", 14);
|
|
10539
|
+
i0.ɵɵelementStart(5, "ccd-case-file-view-folder", 15);
|
|
10540
|
+
i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldReadComponent_div_2_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); ctx_r6.setMediaViewerFile($event); return ctx_r6.resetErrorMessages(); })("moveDocument", function CaseFileViewFieldReadComponent_div_2_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.moveDocument($event); });
|
|
10481
10541
|
i0.ɵɵelementEnd();
|
|
10482
10542
|
i0.ɵɵelementEnd();
|
|
10483
|
-
i0.ɵɵelement(6, "div",
|
|
10484
|
-
i0.ɵɵelementStart(7, "div",
|
|
10485
|
-
i0.ɵɵtemplate(8,
|
|
10543
|
+
i0.ɵɵelement(6, "div", 16);
|
|
10544
|
+
i0.ɵɵelementStart(7, "div", 17);
|
|
10545
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_2_ng_container_8_Template, 2, 7, "ng-container", 0);
|
|
10486
10546
|
i0.ɵɵelementEnd();
|
|
10487
10547
|
i0.ɵɵelementEnd();
|
|
10488
10548
|
i0.ɵɵelementEnd();
|
|
10489
10549
|
} if (rf & 2) {
|
|
10490
|
-
const
|
|
10550
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
10491
10551
|
i0.ɵɵadvance(5);
|
|
10492
|
-
i0.ɵɵproperty("categoriesAndDocuments",
|
|
10552
|
+
i0.ɵɵproperty("categoriesAndDocuments", ctx_r2.categoriesAndDocuments$)("allowMoving", ctx_r2.allowMoving);
|
|
10493
10553
|
i0.ɵɵadvance(3);
|
|
10494
|
-
i0.ɵɵproperty("ngIf",
|
|
10554
|
+
i0.ɵɵproperty("ngIf", ctx_r2.currentDocument);
|
|
10495
10555
|
} }
|
|
10496
10556
|
class CaseFileViewFieldReadComponent extends CaseFileViewFieldComponent {
|
|
10497
10557
|
constructor() {
|
|
10498
10558
|
super(...arguments);
|
|
10499
|
-
this.allowMoving =
|
|
10559
|
+
this.allowMoving = false;
|
|
10500
10560
|
}
|
|
10501
10561
|
}
|
|
10502
10562
|
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
10503
|
-
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
10504
|
-
i0.ɵɵtemplate(0,
|
|
10505
|
-
i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template,
|
|
10563
|
+
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0);"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10564
|
+
i0.ɵɵtemplate(0, CaseFileViewFieldReadComponent_ng_container_0_Template, 8, 1, "ng-container", 0);
|
|
10565
|
+
i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 5, 0, "div", 1);
|
|
10566
|
+
i0.ɵɵtemplate(2, CaseFileViewFieldReadComponent_div_2_Template, 9, 3, "div", 0);
|
|
10506
10567
|
} if (rf & 2) {
|
|
10568
|
+
i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
|
|
10569
|
+
i0.ɵɵadvance(1);
|
|
10507
10570
|
i0.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
|
|
10508
10571
|
i0.ɵɵadvance(1);
|
|
10509
10572
|
i0.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
|
|
@@ -10604,17 +10667,13 @@ var UpdateFlagErrorMessage;
|
|
|
10604
10667
|
|
|
10605
10668
|
var UpdateFlagStep;
|
|
10606
10669
|
(function (UpdateFlagStep) {
|
|
10607
|
-
UpdateFlagStep["
|
|
10608
|
-
UpdateFlagStep["
|
|
10609
|
-
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
10670
|
+
UpdateFlagStep["HINT_TEXT"] = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.";
|
|
10671
|
+
UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
10610
10672
|
})(UpdateFlagStep || (UpdateFlagStep = {}));
|
|
10611
10673
|
|
|
10612
10674
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
10613
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
10614
10675
|
i0.ɵɵelementContainerStart(0);
|
|
10615
|
-
i0.ɵɵ
|
|
10616
|
-
i0.ɵɵlistener("changeButtonEmitter", function ReadCaseFlagFieldComponent_ng_container_1_Template_ccd_case_flag_summary_list_changeButtonEmitter_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.navigateBackToForm($event); });
|
|
10617
|
-
i0.ɵɵelementEnd();
|
|
10676
|
+
i0.ɵɵelement(1, "ccd-case-flag-summary-list", 3);
|
|
10618
10677
|
i0.ɵɵelementContainerEnd();
|
|
10619
10678
|
} if (rf & 2) {
|
|
10620
10679
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -10624,26 +10683,26 @@ function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf &
|
|
|
10624
10683
|
function ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template(rf, ctx) { if (rf & 1) {
|
|
10625
10684
|
i0.ɵɵelement(0, "ccd-case-flag-table", 8);
|
|
10626
10685
|
} if (rf & 2) {
|
|
10627
|
-
const
|
|
10628
|
-
i0.ɵɵproperty("tableCaption",
|
|
10686
|
+
const flagData_r4 = i0.ɵɵnextContext().$implicit;
|
|
10687
|
+
i0.ɵɵproperty("tableCaption", flagData_r4.flags.partyName)("flagData", flagData_r4)("firstColumnHeader", "Party level flags");
|
|
10629
10688
|
} }
|
|
10630
10689
|
function ReadCaseFlagFieldComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
10631
10690
|
i0.ɵɵelementStart(0, "div");
|
|
10632
10691
|
i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_2_div_3_ccd_case_flag_table_1_Template, 1, 3, "ccd-case-flag-table", 7);
|
|
10633
10692
|
i0.ɵɵelementEnd();
|
|
10634
10693
|
} if (rf & 2) {
|
|
10635
|
-
const
|
|
10694
|
+
const flagData_r4 = ctx.$implicit;
|
|
10636
10695
|
i0.ɵɵadvance(1);
|
|
10637
|
-
i0.ɵɵproperty("ngIf",
|
|
10696
|
+
i0.ɵɵproperty("ngIf", flagData_r4.flags.partyName);
|
|
10638
10697
|
} }
|
|
10639
10698
|
function ReadCaseFlagFieldComponent_ng_container_2_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
10640
10699
|
i0.ɵɵelementStart(0, "div");
|
|
10641
10700
|
i0.ɵɵelement(1, "ccd-case-flag-table", 8);
|
|
10642
10701
|
i0.ɵɵelementEnd();
|
|
10643
10702
|
} if (rf & 2) {
|
|
10644
|
-
const
|
|
10703
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
10645
10704
|
i0.ɵɵadvance(1);
|
|
10646
|
-
i0.ɵɵproperty("tableCaption", "Case level flags")("flagData",
|
|
10705
|
+
i0.ɵɵproperty("tableCaption", "Case level flags")("flagData", ctx_r3.caseLevelCaseFlagData)("firstColumnHeader", "Case flags");
|
|
10647
10706
|
} }
|
|
10648
10707
|
function ReadCaseFlagFieldComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
10649
10708
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -10661,10 +10720,9 @@ function ReadCaseFlagFieldComponent_ng_container_2_Template(rf, ctx) { if (rf &
|
|
|
10661
10720
|
i0.ɵɵproperty("ngIf", ctx_r1.caseLevelCaseFlagData);
|
|
10662
10721
|
} }
|
|
10663
10722
|
class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
10664
|
-
constructor(route
|
|
10723
|
+
constructor(route) {
|
|
10665
10724
|
super();
|
|
10666
10725
|
this.route = route;
|
|
10667
|
-
this.router = router;
|
|
10668
10726
|
this.paletteContext = PaletteContext;
|
|
10669
10727
|
this.caseLevelCaseFlagsFieldId = 'caseFlags';
|
|
10670
10728
|
this.caseNameMissing = 'Case name missing';
|
|
@@ -10680,9 +10738,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
10680
10738
|
if (this.route.snapshot.data.case && this.route.snapshot.data.case.tabs) {
|
|
10681
10739
|
this.flagsData = this.route.snapshot.data.case.tabs
|
|
10682
10740
|
.filter(tab => tab.fields && tab.fields
|
|
10683
|
-
|
|
10684
|
-
// required to ensure the correct instance is obtained
|
|
10685
|
-
.some(caseField => caseField.field_type.type === 'FlagLauncher' && caseField.id === this.caseField.id))[0].fields.reduce((flags, caseField) => {
|
|
10741
|
+
.some(caseField => caseField.field_type.type === 'FlagLauncher'))[0].fields.reduce((flags, caseField) => {
|
|
10686
10742
|
return FieldsUtils.extractFlagsDataFromCaseField(flags, caseField, caseField.id, caseField);
|
|
10687
10743
|
}, []);
|
|
10688
10744
|
}
|
|
@@ -10703,8 +10759,6 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
10703
10759
|
// which the new flag has been added
|
|
10704
10760
|
if (flagLauncherComponent.caseField.display_context_parameter === this.createMode &&
|
|
10705
10761
|
flagLauncherComponent.selectedFlagsLocation) {
|
|
10706
|
-
// this.flagLocation = flagLauncherComponent.selectedFlagsLocation;
|
|
10707
|
-
this.pathToFlagsFormGroup = flagLauncherComponent.selectedFlagsLocation.pathToFlagsFormGroup;
|
|
10708
10762
|
this.flagForSummaryDisplay = this.extractNewFlagToFlagDetailDisplayObject(flagLauncherComponent.selectedFlagsLocation);
|
|
10709
10763
|
// Set the display mode for the "Review flag details" summary page
|
|
10710
10764
|
this.summaryListDisplayMode = CaseFlagSummaryListDisplayMode.CREATE;
|
|
@@ -10739,17 +10793,9 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
10739
10793
|
}
|
|
10740
10794
|
return null;
|
|
10741
10795
|
}
|
|
10742
|
-
navigateBackToForm(fieldState) {
|
|
10743
|
-
this.router.navigate(['../createCaseFlagCaseFlagFormPage'], {
|
|
10744
|
-
relativeTo: this.route,
|
|
10745
|
-
state: {
|
|
10746
|
-
fieldState,
|
|
10747
|
-
}
|
|
10748
|
-
});
|
|
10749
|
-
}
|
|
10750
10796
|
}
|
|
10751
|
-
ReadCaseFlagFieldComponent.ɵfac = function ReadCaseFlagFieldComponent_Factory(t) { return new (t || ReadCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)
|
|
10752
|
-
ReadCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "flagForSummaryDisplay", "summaryListDisplayMode"
|
|
10797
|
+
ReadCaseFlagFieldComponent.ɵfac = function ReadCaseFlagFieldComponent_Factory(t) { return new (t || ReadCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
10798
|
+
ReadCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "flagForSummaryDisplay", "summaryListDisplayMode"], [1, "govuk-heading-l"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader"]], template: function ReadCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10753
10799
|
i0.ɵɵelementContainerStart(0, 0);
|
|
10754
10800
|
i0.ɵɵtemplate(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 2, 2, "ng-container", 1);
|
|
10755
10801
|
i0.ɵɵtemplate(2, ReadCaseFlagFieldComponent_ng_container_2_Template, 5, 2, "ng-container", 2);
|
|
@@ -10766,21 +10812,7 @@ ReadCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseFlagFi
|
|
|
10766
10812
|
templateUrl: './read-case-flag-field.component.html',
|
|
10767
10813
|
styleUrls: ['./read-case-flag-field.component.scss']
|
|
10768
10814
|
}]
|
|
10769
|
-
}], function () { return [{ type: i1$1.ActivatedRoute }
|
|
10770
|
-
|
|
10771
|
-
class CaseFlagStateService {
|
|
10772
|
-
constructor() {
|
|
10773
|
-
this.formGroup = new FormGroup({});
|
|
10774
|
-
}
|
|
10775
|
-
resetCache() {
|
|
10776
|
-
this.formGroup = new FormGroup({});
|
|
10777
|
-
}
|
|
10778
|
-
}
|
|
10779
|
-
CaseFlagStateService.ɵfac = function CaseFlagStateService_Factory(t) { return new (t || CaseFlagStateService)(); };
|
|
10780
|
-
CaseFlagStateService.ɵprov = i0.ɵɵdefineInjectable({ token: CaseFlagStateService, factory: CaseFlagStateService.ɵfac });
|
|
10781
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagStateService, [{
|
|
10782
|
-
type: Injectable
|
|
10783
|
-
}], null, null); })();
|
|
10815
|
+
}], function () { return [{ type: i1$1.ActivatedRoute }]; }, null); })();
|
|
10784
10816
|
|
|
10785
10817
|
function WriteCaseFlagFieldComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
10786
10818
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -10845,7 +10877,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_6_Template(rf, ctx) { if
|
|
|
10845
10877
|
} if (rf & 2) {
|
|
10846
10878
|
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
10847
10879
|
i0.ɵɵadvance(1);
|
|
10848
|
-
i0.ɵɵproperty("formGroup", ctx_r9.caseFlagParentFormGroup)("languages", ctx_r9.
|
|
10880
|
+
i0.ɵɵproperty("formGroup", ctx_r9.caseFlagParentFormGroup)("languages", ctx_r9.listOfValues)("flagCode", ctx_r9.flagCode);
|
|
10849
10881
|
} }
|
|
10850
10882
|
function WriteCaseFlagFieldComponent_div_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
10851
10883
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
@@ -10932,35 +10964,22 @@ function WriteCaseFlagFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
10932
10964
|
i0.ɵɵproperty("ngSwitchCase", ctx_r2.caseFlagFieldState.FLAG_UPDATE);
|
|
10933
10965
|
} }
|
|
10934
10966
|
class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
10935
|
-
constructor(route, caseEditDataService
|
|
10967
|
+
constructor(route, caseEditDataService) {
|
|
10936
10968
|
super();
|
|
10937
10969
|
this.route = route;
|
|
10938
10970
|
this.caseEditDataService = caseEditDataService;
|
|
10939
|
-
this.location = location;
|
|
10940
|
-
this.caseFlagStateService = caseFlagStateService;
|
|
10941
10971
|
this.caseFlagFieldState = CaseFlagFieldState;
|
|
10942
10972
|
this.errorMessages = [];
|
|
10973
|
+
this.caseFlagParentFormGroup = new FormGroup({});
|
|
10943
10974
|
this.flagCommentsOptional = false;
|
|
10975
|
+
this.listOfValues = null;
|
|
10944
10976
|
this.allCaseFlagStagesCompleted = false;
|
|
10945
10977
|
this.updateMode = '#ARGUMENT(UPDATE)';
|
|
10946
10978
|
// Code for "Other" flag type as defined in Reference Data
|
|
10947
10979
|
this.otherFlagTypeCode = 'OT0001';
|
|
10948
10980
|
this.caseNameMissing = 'Case name missing';
|
|
10949
10981
|
}
|
|
10950
|
-
get flagType() {
|
|
10951
|
-
var _a;
|
|
10952
|
-
return (_a = this.caseFlagParentFormGroup) === null || _a === void 0 ? void 0 : _a.value.flagType;
|
|
10953
|
-
}
|
|
10954
|
-
get selectedFlagsLocation() {
|
|
10955
|
-
var _a;
|
|
10956
|
-
return (_a = this.caseFlagParentFormGroup) === null || _a === void 0 ? void 0 : _a.value.selectedLocation;
|
|
10957
|
-
}
|
|
10958
10982
|
ngOnInit() {
|
|
10959
|
-
var _a, _b;
|
|
10960
|
-
if (!(((_a = this.location.getState()) === null || _a === void 0 ? void 0 : _a['fieldState']) >= 0)) {
|
|
10961
|
-
this.caseFlagStateService.resetCache();
|
|
10962
|
-
}
|
|
10963
|
-
this.caseFlagParentFormGroup = this.caseFlagStateService.formGroup;
|
|
10964
10983
|
this.caseEditDataService.clearFormValidationErrors();
|
|
10965
10984
|
// Check for existing FlagLauncher control in parent and remove it - this is the only way to ensure its invalidity
|
|
10966
10985
|
// is set correctly at the start, when the component is reloaded and the control is re-registered. Otherwise, the
|
|
@@ -10994,17 +11013,12 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
10994
11013
|
// Set boolean indicating the display_context_parameter is "update"
|
|
10995
11014
|
this.isDisplayContextParameterUpdate =
|
|
10996
11015
|
this.setDisplayContextParameterUpdate((this.route.snapshot.data.eventTrigger.case_fields));
|
|
10997
|
-
// Set starting field state
|
|
10998
|
-
|
|
10999
|
-
this.fieldState = this.isDisplayContextParameterUpdate ? CaseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : CaseFlagFieldState.FLAG_LOCATION;
|
|
11000
|
-
}
|
|
11001
|
-
else {
|
|
11002
|
-
this.fieldState = this.location.getState()['fieldState'];
|
|
11003
|
-
}
|
|
11016
|
+
// Set starting field state
|
|
11017
|
+
this.fieldState = this.isDisplayContextParameterUpdate ? CaseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : CaseFlagFieldState.FLAG_LOCATION;
|
|
11004
11018
|
// Get case title, to be used by child components
|
|
11005
|
-
this.
|
|
11019
|
+
this.caseEditDataService.caseTitle$.subscribe({
|
|
11006
11020
|
next: title => {
|
|
11007
|
-
this.caseTitle =
|
|
11021
|
+
this.caseTitle = title.length > 0 ? title : this.caseNameMissing;
|
|
11008
11022
|
}
|
|
11009
11023
|
});
|
|
11010
11024
|
}
|
|
@@ -11014,6 +11028,31 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11014
11028
|
}
|
|
11015
11029
|
onCaseFlagStateEmitted(caseFlagState) {
|
|
11016
11030
|
this.caseEditDataService.clearFormValidationErrors();
|
|
11031
|
+
// If the current state is CaseFlagFieldState.FLAG_LOCATION and a flag location (a Flags instance) has been selected,
|
|
11032
|
+
// set the parent Case Flag FormGroup for this component's children by using the provided pathToFlagsFormGroup, and
|
|
11033
|
+
// set the selected flag location on this component
|
|
11034
|
+
if (caseFlagState.currentCaseFlagFieldState === CaseFlagFieldState.FLAG_LOCATION
|
|
11035
|
+
&& caseFlagState.selectedFlagsLocation
|
|
11036
|
+
&& caseFlagState.selectedFlagsLocation.pathToFlagsFormGroup) {
|
|
11037
|
+
this.setCaseFlagParentFormGroup(caseFlagState.selectedFlagsLocation.pathToFlagsFormGroup);
|
|
11038
|
+
this.selectedFlagsLocation = caseFlagState.selectedFlagsLocation;
|
|
11039
|
+
}
|
|
11040
|
+
// If the current state is CaseFlagFieldState.FLAG_TYPE, cache the flag name, path, hearing relevant indicator, code,
|
|
11041
|
+
// and "list of values" (currently applicable to language flag types)
|
|
11042
|
+
if (caseFlagState.currentCaseFlagFieldState === CaseFlagFieldState.FLAG_TYPE) {
|
|
11043
|
+
this.flagName = caseFlagState.flagName;
|
|
11044
|
+
this.flagPath = caseFlagState.flagPath;
|
|
11045
|
+
this.hearingRelevantFlag = caseFlagState.hearingRelevantFlag;
|
|
11046
|
+
this.flagCode = caseFlagState.flagCode;
|
|
11047
|
+
this.listOfValues = caseFlagState.listOfValues;
|
|
11048
|
+
}
|
|
11049
|
+
// If the current state is CaseFlagFieldState.FLAG_MANAGE_CASE_FLAGS and a flag has been selected, set the parent
|
|
11050
|
+
// Case Flag FormGroup for this component's children by using the provided pathToFlagsFormGroup
|
|
11051
|
+
if (caseFlagState.currentCaseFlagFieldState === CaseFlagFieldState.FLAG_MANAGE_CASE_FLAGS
|
|
11052
|
+
&& caseFlagState.selectedFlag
|
|
11053
|
+
&& caseFlagState.selectedFlag.pathToFlagsFormGroup) {
|
|
11054
|
+
this.setCaseFlagParentFormGroup(caseFlagState.selectedFlag.pathToFlagsFormGroup);
|
|
11055
|
+
}
|
|
11017
11056
|
this.errorMessages = caseFlagState.errorMessages;
|
|
11018
11057
|
this.selectedFlag = caseFlagState.selectedFlag;
|
|
11019
11058
|
// Validation succeeded; proceed to next state or final review stage ("Check your answers")
|
|
@@ -11033,12 +11072,11 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11033
11072
|
}
|
|
11034
11073
|
}
|
|
11035
11074
|
proceedToNextState() {
|
|
11036
|
-
var _a;
|
|
11037
11075
|
if (!this.isAtFinalState()) {
|
|
11038
11076
|
// Skip the "language interpreter" state if current state is CaseFlagFieldState.FLAG_TYPE and the flag type doesn't
|
|
11039
11077
|
// have a "list of values" - currently, this is present only for those flag types that require language interpreter
|
|
11040
11078
|
// selection
|
|
11041
|
-
if (this.fieldState === CaseFlagFieldState.FLAG_TYPE && !
|
|
11079
|
+
if (this.fieldState === CaseFlagFieldState.FLAG_TYPE && !this.listOfValues) {
|
|
11042
11080
|
this.fieldState = CaseFlagFieldState.FLAG_COMMENTS;
|
|
11043
11081
|
}
|
|
11044
11082
|
else {
|
|
@@ -11078,11 +11116,10 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11078
11116
|
}
|
|
11079
11117
|
}
|
|
11080
11118
|
});
|
|
11081
|
-
|
|
11082
|
-
const flagDataRef = this.flagsData.find(item => item.pathToFlagsFormGroup === path);
|
|
11083
|
-
let flagsCaseFieldValue = flagDataRef.caseField.value;
|
|
11119
|
+
let flagsCaseFieldValue = this.selectedFlagsLocation.caseField.value;
|
|
11084
11120
|
// Use the pathToFlagsFormGroup property from the selected flag location to drill down to the correct part of the
|
|
11085
11121
|
// CaseField value to apply changes to
|
|
11122
|
+
const path = this.selectedFlagsLocation.pathToFlagsFormGroup;
|
|
11086
11123
|
// Root-level Flags CaseFields don't have a dot-delimited path - just the CaseField ID itself - so don't drill down
|
|
11087
11124
|
if (path.indexOf('.') > -1) {
|
|
11088
11125
|
path.slice(path.indexOf('.') + 1).split('.').forEach(part => flagsCaseFieldValue = flagsCaseFieldValue[part]);
|
|
@@ -11090,8 +11127,8 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11090
11127
|
// If the CaseField for the selected flags location has no value, set it to an empty object so it can be populated
|
|
11091
11128
|
// with flag details
|
|
11092
11129
|
if (!flagsCaseFieldValue) {
|
|
11093
|
-
|
|
11094
|
-
flagsCaseFieldValue =
|
|
11130
|
+
this.selectedFlagsLocation.caseField.value = {};
|
|
11131
|
+
flagsCaseFieldValue = this.selectedFlagsLocation.caseField.value;
|
|
11095
11132
|
}
|
|
11096
11133
|
// Create a details array if one does not exist
|
|
11097
11134
|
if (!flagsCaseFieldValue.hasOwnProperty('details')) {
|
|
@@ -11172,22 +11209,38 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11172
11209
|
onFlagCommentsOptionalEmitted(_) {
|
|
11173
11210
|
this.flagCommentsOptional = true;
|
|
11174
11211
|
}
|
|
11212
|
+
/**
|
|
11213
|
+
* Set the parent {@link FormGroup} for this component's children, depending on the `Flags` {@link CaseField} instance
|
|
11214
|
+
* to which data should be attached. **Note:** The parent is not _this_ component's `FormGroup` (as might otherwise be
|
|
11215
|
+
* expected) because this component is not expected to have a value, given it is used for the empty `FlagLauncher` base
|
|
11216
|
+
* field type.
|
|
11217
|
+
*
|
|
11218
|
+
* @param pathToFlagsFormGroup The dot-delimited string that is the path to the `FormGroup` for a `Flags` instance
|
|
11219
|
+
*/
|
|
11220
|
+
setCaseFlagParentFormGroup(pathToFlagsFormGroup) {
|
|
11221
|
+
this.caseFlagParentFormGroup = this.formGroup.parent.get(pathToFlagsFormGroup);
|
|
11222
|
+
}
|
|
11175
11223
|
populateNewFlagDetailInstance() {
|
|
11176
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
11177
|
-
const formValues = (_a = this.caseFlagParentFormGroup) === null || _a === void 0 ? void 0 : _a.value;
|
|
11178
11224
|
return {
|
|
11179
|
-
name:
|
|
11225
|
+
name: this.flagName,
|
|
11180
11226
|
// Currently, subTypeValue and subTypeKey are applicable only to language flag types
|
|
11181
|
-
subTypeValue:
|
|
11227
|
+
subTypeValue: this.caseFlagParentFormGroup.value.languageSearchTerm
|
|
11228
|
+
? this.caseFlagParentFormGroup.value.languageSearchTerm.value
|
|
11229
|
+
: this.caseFlagParentFormGroup.value.manualLanguageEntry
|
|
11230
|
+
? this.caseFlagParentFormGroup.value.manualLanguageEntry
|
|
11231
|
+
: null,
|
|
11182
11232
|
// For user-entered (i.e. non-Reference Data) languages, there is no key
|
|
11183
|
-
subTypeKey:
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11233
|
+
subTypeKey: this.caseFlagParentFormGroup.value.languageSearchTerm
|
|
11234
|
+
? this.caseFlagParentFormGroup.value.languageSearchTerm.key
|
|
11235
|
+
: null,
|
|
11236
|
+
otherDescription: this.flagCode === this.otherFlagTypeCode && this.caseFlagParentFormGroup.value.otherFlagTypeDescription
|
|
11237
|
+
? this.caseFlagParentFormGroup.value.otherFlagTypeDescription
|
|
11238
|
+
: null,
|
|
11239
|
+
flagComment: this.caseFlagParentFormGroup.value.flagComments ? this.caseFlagParentFormGroup.value.flagComments : null,
|
|
11187
11240
|
dateTimeCreated: new Date().toISOString(),
|
|
11188
|
-
path:
|
|
11189
|
-
hearingRelevant:
|
|
11190
|
-
flagCode:
|
|
11241
|
+
path: this.flagPath,
|
|
11242
|
+
hearingRelevant: this.hearingRelevantFlag ? 'Yes' : 'No',
|
|
11243
|
+
flagCode: this.flagCode,
|
|
11191
11244
|
status: CaseFlagStatus.ACTIVE
|
|
11192
11245
|
};
|
|
11193
11246
|
}
|
|
@@ -11198,12 +11251,8 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11198
11251
|
this.formGroup.updateValueAndValidity();
|
|
11199
11252
|
this.caseEditDataService.setTriggerSubmitEvent(true);
|
|
11200
11253
|
}
|
|
11201
|
-
ngOnDestroy() {
|
|
11202
|
-
var _a;
|
|
11203
|
-
(_a = this.caseTitleSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
11204
|
-
}
|
|
11205
11254
|
}
|
|
11206
|
-
WriteCaseFlagFieldComponent.ɵfac = function WriteCaseFlagFieldComponent_Factory(t) { return new (t || WriteCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseEditDataService)
|
|
11255
|
+
WriteCaseFlagFieldComponent.ɵfac = function WriteCaseFlagFieldComponent_Factory(t) { return new (t || WriteCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
11207
11256
|
WriteCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseFlagFieldComponent, selectors: [["ccd-write-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "form-group", 3, "formGroup", 4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], ["id", "create-flag-caption", 1, "govuk-caption-l", 3, "ngClass"], [4, "ngSwitchCase"], [3, "formGroup", "flagsData", "caseFlagStateEmitter"], [3, "formGroup", "jurisdiction", "caseFlagStateEmitter", "flagCommentsOptionalEmitter"], [3, "formGroup", "languages", "flagCode", "caseFlagStateEmitter"], [3, "formGroup", "optional", "caseFlagStateEmitter"], [3, "formGroup", "flagsData", "caseTitle", "caseFlagStateEmitter"], [3, "formGroup", "selectedFlag", "caseFlagStateEmitter"]], template: function WriteCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11208
11257
|
i0.ɵɵtemplate(0, WriteCaseFlagFieldComponent_div_0_Template, 4, 1, "div", 0);
|
|
11209
11258
|
i0.ɵɵtemplate(1, WriteCaseFlagFieldComponent_div_1_Template, 8, 10, "div", 1);
|
|
@@ -11222,7 +11271,7 @@ WriteCaseFlagFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseFlag
|
|
|
11222
11271
|
templateUrl: './write-case-flag-field.component.html',
|
|
11223
11272
|
styleUrls: ['./write-case-flag-field.component.scss']
|
|
11224
11273
|
}]
|
|
11225
|
-
}], function () { return [{ type: i1$1.ActivatedRoute }, { type: CaseEditDataService }
|
|
11274
|
+
}], function () { return [{ type: i1$1.ActivatedRoute }, { type: CaseEditDataService }]; }, null); })();
|
|
11226
11275
|
|
|
11227
11276
|
function ReadCaseLinkFieldComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
11228
11277
|
i0.ɵɵelementStart(0, "a", 1);
|
|
@@ -11287,7 +11336,7 @@ function WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
11287
11336
|
i0.ɵɵadvance(1);
|
|
11288
11337
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label));
|
|
11289
11338
|
} }
|
|
11290
|
-
const _c1$
|
|
11339
|
+
const _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
11291
11340
|
class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
11292
11341
|
ngOnInit() {
|
|
11293
11342
|
if (this.caseField.value) {
|
|
@@ -11349,7 +11398,7 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11349
11398
|
i0.ɵɵelement(5, "input", 5);
|
|
11350
11399
|
i0.ɵɵelementEnd();
|
|
11351
11400
|
} if (rf & 2) {
|
|
11352
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
11401
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$k, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
11353
11402
|
i0.ɵɵadvance(1);
|
|
11354
11403
|
i0.ɵɵproperty("for", ctx.id());
|
|
11355
11404
|
i0.ɵɵadvance(1);
|
|
@@ -11360,7 +11409,7 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11360
11409
|
i0.ɵɵproperty("ngIf", ctx.caseReferenceControl.errors && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched));
|
|
11361
11410
|
i0.ɵɵadvance(1);
|
|
11362
11411
|
i0.ɵɵproperty("id", ctx.id())("formControl", ctx.caseReferenceControl);
|
|
11363
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
11412
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
11364
11413
|
const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent);
|
|
11365
11414
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCaseLinkFieldComponent, [{
|
|
11366
11415
|
type: Component,
|
|
@@ -11388,7 +11437,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11388
11437
|
i0.ɵɵadvance(4);
|
|
11389
11438
|
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$M, 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);
|
|
11390
11439
|
} }
|
|
11391
|
-
const _c1$
|
|
11440
|
+
const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11392
11441
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
11393
11442
|
i0.ɵɵelementStart(0, "tr");
|
|
11394
11443
|
i0.ɵɵelementStart(1, "td");
|
|
@@ -11400,7 +11449,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
11400
11449
|
const i_r5 = ctx.index;
|
|
11401
11450
|
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
11402
11451
|
i0.ɵɵadvance(2);
|
|
11403
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$
|
|
11452
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$j, 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));
|
|
11404
11453
|
} }
|
|
11405
11454
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
11406
11455
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -11474,7 +11523,7 @@ class RemoveDialogComponent {
|
|
|
11474
11523
|
this.matDialogRef.close(this.result);
|
|
11475
11524
|
}
|
|
11476
11525
|
}
|
|
11477
|
-
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
11526
|
+
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
|
|
11478
11527
|
RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11479
11528
|
i0.ɵɵelementStart(0, "div");
|
|
11480
11529
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -11512,7 +11561,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
11512
11561
|
templateUrl: './remove-dialog.component.html',
|
|
11513
11562
|
styleUrls: ['../action-dialog.component.scss']
|
|
11514
11563
|
}]
|
|
11515
|
-
}], function () { return [{ type: i1$
|
|
11564
|
+
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
11516
11565
|
|
|
11517
11566
|
const _c0$L = ["collectionItem"];
|
|
11518
11567
|
function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -11886,7 +11935,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11886
11935
|
return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
|
|
11887
11936
|
}
|
|
11888
11937
|
}
|
|
11889
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
11938
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
11890
11939
|
WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11891
11940
|
i0.ɵɵviewQuery(_c0$L, 1);
|
|
11892
11941
|
} if (rf & 2) {
|
|
@@ -11928,7 +11977,7 @@ WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollec
|
|
|
11928
11977
|
templateUrl: './write-collection-field.html',
|
|
11929
11978
|
styleUrls: ['./collection-field.scss']
|
|
11930
11979
|
}]
|
|
11931
|
-
}], function () { return [{ type: i1$
|
|
11980
|
+
}], function () { return [{ type: i1$3.MatDialog }, { type: i2$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
11932
11981
|
type: Input
|
|
11933
11982
|
}], formGroup: [{
|
|
11934
11983
|
type: Input
|
|
@@ -12154,7 +12203,7 @@ class DocumentDialogComponent {
|
|
|
12154
12203
|
this.matDialogRef.close(this.result);
|
|
12155
12204
|
}
|
|
12156
12205
|
}
|
|
12157
|
-
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
12206
|
+
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
|
|
12158
12207
|
DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12159
12208
|
i0.ɵɵelementStart(0, "div");
|
|
12160
12209
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -12192,7 +12241,7 @@ DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogCom
|
|
|
12192
12241
|
templateUrl: './document-dialog.component.html',
|
|
12193
12242
|
styleUrls: ['../action-dialog.component.scss']
|
|
12194
12243
|
}]
|
|
12195
|
-
}], function () { return [{ type: i1$
|
|
12244
|
+
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
12196
12245
|
|
|
12197
12246
|
class FileUploadStateService {
|
|
12198
12247
|
setUploadInProgress(value) {
|
|
@@ -12233,7 +12282,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
|
|
|
12233
12282
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
12234
12283
|
i0.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
12235
12284
|
} }
|
|
12236
|
-
const _c1$
|
|
12285
|
+
const _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
12237
12286
|
class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
12238
12287
|
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
12239
12288
|
super();
|
|
@@ -12484,7 +12533,7 @@ WriteDocumentFieldComponent.DOCUMENT_HASH = 'document_hash';
|
|
|
12484
12533
|
WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
|
|
12485
12534
|
WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
|
|
12486
12535
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
12487
|
-
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$
|
|
12536
|
+
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
12488
12537
|
WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12489
12538
|
i0.ɵɵviewQuery(_c0$K, 1);
|
|
12490
12539
|
} if (rf & 2) {
|
|
@@ -12522,7 +12571,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
12522
12571
|
i0.ɵɵelementEnd();
|
|
12523
12572
|
i0.ɵɵelementEnd();
|
|
12524
12573
|
} if (rf & 2) {
|
|
12525
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$
|
|
12574
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
12526
12575
|
i0.ɵɵadvance(1);
|
|
12527
12576
|
i0.ɵɵproperty("for", ctx.id());
|
|
12528
12577
|
i0.ɵɵadvance(1);
|
|
@@ -12549,7 +12598,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
12549
12598
|
selector: 'ccd-write-document-field',
|
|
12550
12599
|
templateUrl: './write-document-field.html'
|
|
12551
12600
|
}]
|
|
12552
|
-
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$
|
|
12601
|
+
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
|
|
12553
12602
|
type: ViewChild,
|
|
12554
12603
|
args: ['fileInput', { static: false }]
|
|
12555
12604
|
}], clickout: [{
|
|
@@ -12707,7 +12756,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
12707
12756
|
i0.ɵɵproperty("ngValue", null);
|
|
12708
12757
|
i0.ɵɵadvance(2);
|
|
12709
12758
|
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
12710
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
12759
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
12711
12760
|
const ɵWriteDynamicListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicListFieldComponent);
|
|
12712
12761
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicListFieldComponent, [{
|
|
12713
12762
|
type: Component,
|
|
@@ -12831,7 +12880,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
12831
12880
|
i0.ɵɵadvance(1);
|
|
12832
12881
|
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
12833
12882
|
} }
|
|
12834
|
-
const _c1$
|
|
12883
|
+
const _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
12835
12884
|
class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
12836
12885
|
ngOnInit() {
|
|
12837
12886
|
/**
|
|
@@ -12872,7 +12921,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
12872
12921
|
i0.ɵɵelementEnd();
|
|
12873
12922
|
i0.ɵɵelementEnd();
|
|
12874
12923
|
} if (rf & 2) {
|
|
12875
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
12924
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
12876
12925
|
i0.ɵɵadvance(3);
|
|
12877
12926
|
i0.ɵɵproperty("for", ctx.id());
|
|
12878
12927
|
i0.ɵɵadvance(1);
|
|
@@ -12885,7 +12934,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
12885
12934
|
i0.ɵɵproperty("ngIf", ctx.dynamicRadioListControl.errors && ctx.dynamicRadioListControl.dirty);
|
|
12886
12935
|
i0.ɵɵadvance(2);
|
|
12887
12936
|
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
12888
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf,
|
|
12937
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
12889
12938
|
const ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicRadioListFieldComponent);
|
|
12890
12939
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicRadioListFieldComponent, [{
|
|
12891
12940
|
type: Component,
|
|
@@ -12957,7 +13006,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
12957
13006
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
12958
13007
|
} }
|
|
12959
13008
|
const _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
12960
|
-
const _c1$
|
|
13009
|
+
const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
12961
13010
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
12962
13011
|
ngOnInit() {
|
|
12963
13012
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -12984,8 +13033,8 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
12984
13033
|
i0.ɵɵadvance(1);
|
|
12985
13034
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
12986
13035
|
i0.ɵɵadvance(1);
|
|
12987
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
12988
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
13036
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
13037
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
12989
13038
|
const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
12990
13039
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
12991
13040
|
type: Component,
|
|
@@ -13129,7 +13178,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
13129
13178
|
i0.ɵɵproperty("ngValue", null);
|
|
13130
13179
|
i0.ɵɵadvance(2);
|
|
13131
13180
|
i0.ɵɵproperty("ngForOf", ctx.listItems);
|
|
13132
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
13181
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13133
13182
|
const ɵWriteFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteFixedListFieldComponent);
|
|
13134
13183
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteFixedListFieldComponent, [{
|
|
13135
13184
|
type: Component,
|
|
@@ -13224,7 +13273,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13224
13273
|
i0.ɵɵadvance(1);
|
|
13225
13274
|
i0.ɵɵtextInterpolate(radioButton_r4.label);
|
|
13226
13275
|
} }
|
|
13227
|
-
const _c1$
|
|
13276
|
+
const _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
13228
13277
|
class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13229
13278
|
ngOnInit() {
|
|
13230
13279
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
@@ -13248,7 +13297,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
13248
13297
|
i0.ɵɵelementEnd();
|
|
13249
13298
|
i0.ɵɵelementEnd();
|
|
13250
13299
|
} if (rf & 2) {
|
|
13251
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
13300
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
13252
13301
|
i0.ɵɵadvance(3);
|
|
13253
13302
|
i0.ɵɵproperty("for", ctx.id());
|
|
13254
13303
|
i0.ɵɵadvance(1);
|
|
@@ -13259,7 +13308,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
13259
13308
|
i0.ɵɵproperty("ngIf", ctx.fixedRadioListControl.errors && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched));
|
|
13260
13309
|
i0.ɵɵadvance(2);
|
|
13261
13310
|
i0.ɵɵproperty("ngForOf", ctx.caseField.field_type.fixed_list_items);
|
|
13262
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf,
|
|
13311
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13263
13312
|
const ɵWriteFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteFixedRadioListFieldComponent);
|
|
13264
13313
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteFixedRadioListFieldComponent, [{
|
|
13265
13314
|
type: Component,
|
|
@@ -13431,7 +13480,7 @@ WriteJudicialUserFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteJudi
|
|
|
13431
13480
|
i0.ɵɵproperty("ngForOf", ctx.filteredJudicialUsers);
|
|
13432
13481
|
i0.ɵɵadvance(1);
|
|
13433
13482
|
i0.ɵɵproperty("ngIf", !(ctx.filteredJudicialUsers == null ? null : ctx.filteredJudicialUsers.length) && ctx.showAutocomplete);
|
|
13434
|
-
} }, directives: [
|
|
13483
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgIf, i2.DefaultValueAccessor, i5.MatAutocompleteTrigger, i2.NgControlStatus, i2.FormControlDirective, i5.MatAutocomplete, i1.NgForOf, i6.MatOption, i1.NgClass], pipes: [FieldLabelPipe], styles: [".mat-option[_ngcontent-%COMP%]:hover{background:#2596be}.mat-option.select-option[_ngcontent-%COMP%]:hover{background:#1d70b8;color:#fff}.hide-autocomplete[_ngcontent-%COMP%]{display:none}"] });
|
|
13435
13484
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteJudicialUserFieldComponent, [{
|
|
13436
13485
|
type: Component,
|
|
13437
13486
|
args: [{
|
|
@@ -13699,7 +13748,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
|
|
|
13699
13748
|
i0.ɵɵproperty("ngIf", ctx.moneyGbpControl.errors && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched));
|
|
13700
13749
|
i0.ɵɵadvance(4);
|
|
13701
13750
|
i0.ɵɵproperty("id", ctx.id())("name", ctx.id())("mandatory", i0.ɵɵpipeBind1(9, 9, ctx.caseField))("formControl", ctx.moneyGbpControl);
|
|
13702
|
-
} }, directives: [i1.NgClass, i1.NgIf, MoneyGbpInputComponent,
|
|
13751
|
+
} }, directives: [i1.NgClass, i1.NgIf, MoneyGbpInputComponent, i2.NgControlStatus, i2.FormControlDirective], pipes: [IsMandatoryPipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13703
13752
|
const ɵWriteMoneyGbpFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteMoneyGbpFieldComponent);
|
|
13704
13753
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteMoneyGbpFieldComponent, [{
|
|
13705
13754
|
type: Component,
|
|
@@ -13930,7 +13979,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13930
13979
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
13931
13980
|
} }
|
|
13932
13981
|
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
13933
|
-
const _c1$
|
|
13982
|
+
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13934
13983
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
13935
13984
|
ngOnInit() {
|
|
13936
13985
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -13957,8 +14006,8 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
13957
14006
|
i0.ɵɵadvance(1);
|
|
13958
14007
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
13959
14008
|
i0.ɵɵadvance(1);
|
|
13960
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
13961
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
14009
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
14010
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13962
14011
|
const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
13963
14012
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
13964
14013
|
type: Component,
|
|
@@ -14611,7 +14660,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14611
14660
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
|
|
14612
14661
|
} }
|
|
14613
14662
|
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
14614
|
-
const _c1$
|
|
14663
|
+
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14615
14664
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
14616
14665
|
ngOnInit() {
|
|
14617
14666
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14638,8 +14687,8 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
14638
14687
|
i0.ɵɵadvance(1);
|
|
14639
14688
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
14640
14689
|
i0.ɵɵadvance(1);
|
|
14641
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14642
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
14690
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
14691
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14643
14692
|
const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
14644
14693
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
14645
14694
|
type: Component,
|
|
@@ -14699,7 +14748,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14699
14748
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
|
|
14700
14749
|
} }
|
|
14701
14750
|
const _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
14702
|
-
const _c1$
|
|
14751
|
+
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
14703
14752
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
14704
14753
|
constructor(browserService) {
|
|
14705
14754
|
super();
|
|
@@ -14739,8 +14788,8 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
14739
14788
|
i0.ɵɵadvance(1);
|
|
14740
14789
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
14741
14790
|
i0.ɵɵadvance(1);
|
|
14742
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14743
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
14791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
14792
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14744
14793
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
14745
14794
|
type: Component,
|
|
14746
14795
|
args: [{
|
|
@@ -14800,7 +14849,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14800
14849
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
|
|
14801
14850
|
} }
|
|
14802
14851
|
const _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
14803
|
-
const _c1$
|
|
14852
|
+
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14804
14853
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
14805
14854
|
ngOnInit() {
|
|
14806
14855
|
this.textControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14832,8 +14881,8 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
14832
14881
|
i0.ɵɵadvance(1);
|
|
14833
14882
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
14834
14883
|
i0.ɵɵadvance(1);
|
|
14835
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14836
|
-
} }, directives: [i1.NgClass, i1.NgIf,
|
|
14884
|
+
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);
|
|
14885
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14837
14886
|
const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
14838
14887
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
14839
14888
|
type: Component,
|
|
@@ -15008,7 +15057,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
15008
15057
|
i0.ɵɵadvance(1);
|
|
15009
15058
|
i0.ɵɵtextInterpolate(value_r4);
|
|
15010
15059
|
} }
|
|
15011
|
-
const _c1$
|
|
15060
|
+
const _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
15012
15061
|
class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
15013
15062
|
constructor(yesNoService) {
|
|
15014
15063
|
super();
|
|
@@ -15034,7 +15083,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
15034
15083
|
i0.ɵɵelementEnd();
|
|
15035
15084
|
i0.ɵɵelementEnd();
|
|
15036
15085
|
} if (rf & 2) {
|
|
15037
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
15086
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
15038
15087
|
i0.ɵɵadvance(3);
|
|
15039
15088
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15040
15089
|
i0.ɵɵadvance(1);
|
|
@@ -15045,7 +15094,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
15045
15094
|
i0.ɵɵproperty("id", ctx.createElementId("radio"));
|
|
15046
15095
|
i0.ɵɵadvance(1);
|
|
15047
15096
|
i0.ɵɵproperty("ngForOf", ctx.yesNoValues);
|
|
15048
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf,
|
|
15097
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15049
15098
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteYesNoFieldComponent, [{
|
|
15050
15099
|
type: Component,
|
|
15051
15100
|
args: [{
|
|
@@ -15395,7 +15444,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
15395
15444
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15396
15445
|
i0.ɵɵelementContainer(0);
|
|
15397
15446
|
} }
|
|
15398
|
-
const _c1$
|
|
15447
|
+
const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
15399
15448
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15400
15449
|
i0.ɵɵelementContainerStart(0);
|
|
15401
15450
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -15406,7 +15455,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
15406
15455
|
i0.ɵɵnextContext();
|
|
15407
15456
|
const _r1 = i0.ɵɵreference(13);
|
|
15408
15457
|
i0.ɵɵadvance(1);
|
|
15409
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
15458
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
15410
15459
|
} }
|
|
15411
15460
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
15412
15461
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -15488,7 +15537,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
15488
15537
|
return null;
|
|
15489
15538
|
}
|
|
15490
15539
|
}
|
|
15491
|
-
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$
|
|
15540
|
+
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15492
15541
|
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15493
15542
|
i0.ɵɵelementStart(0, "div", 0);
|
|
15494
15543
|
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
|
|
@@ -15527,7 +15576,7 @@ CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseF
|
|
|
15527
15576
|
styleUrls: ['./case-file-view-folder-selector.component.scss'],
|
|
15528
15577
|
encapsulation: ViewEncapsulation.None
|
|
15529
15578
|
}]
|
|
15530
|
-
}], function () { return [{ type: i1$
|
|
15579
|
+
}], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
15531
15580
|
type: Inject,
|
|
15532
15581
|
args: [MAT_DIALOG_DATA]
|
|
15533
15582
|
}] }]; }, null); })();
|
|
@@ -15582,7 +15631,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
15582
15631
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
15583
15632
|
} }
|
|
15584
15633
|
const _c0$r = [[["", "trigger", ""]]];
|
|
15585
|
-
const _c1$
|
|
15634
|
+
const _c1$8 = ["[trigger]"];
|
|
15586
15635
|
class CaseFileViewOverlayMenuComponent {
|
|
15587
15636
|
constructor() {
|
|
15588
15637
|
this.title = '';
|
|
@@ -15596,7 +15645,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
15596
15645
|
}
|
|
15597
15646
|
}
|
|
15598
15647
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
15599
|
-
CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$
|
|
15648
|
+
CaseFileViewOverlayMenuComponent.ɵcmp = 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) { if (rf & 1) {
|
|
15600
15649
|
i0.ɵɵprojectionDef(_c0$r);
|
|
15601
15650
|
i0.ɵɵelementStart(0, "div");
|
|
15602
15651
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
@@ -15610,7 +15659,7 @@ CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFile
|
|
|
15610
15659
|
const _r0 = i0.ɵɵreference(2);
|
|
15611
15660
|
i0.ɵɵadvance(4);
|
|
15612
15661
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
15613
|
-
} }, directives: [i1$
|
|
15662
|
+
} }, directives: [i1$4.CdkOverlayOrigin, i1$4.CdkConnectedOverlay, i1.NgIf, i1.NgForOf], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-4px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__item[_ngcontent-%COMP%], .overlay-menu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__item[_ngcontent-%COMP%]:last-child, .overlay-menu__title[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
15614
15663
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
15615
15664
|
type: Component,
|
|
15616
15665
|
args: [{
|
|
@@ -16089,6 +16138,7 @@ class CaseFileViewFolderComponent {
|
|
|
16089
16138
|
data: { categories: this.categories, document: node }
|
|
16090
16139
|
});
|
|
16091
16140
|
dialogRef.afterClosed().subscribe(newCatId => {
|
|
16141
|
+
console.log(newCatId, node);
|
|
16092
16142
|
if (newCatId) {
|
|
16093
16143
|
this.moveDocument.emit({ newCategory: newCatId, document: node });
|
|
16094
16144
|
}
|
|
@@ -16111,7 +16161,7 @@ class CaseFileViewFolderComponent {
|
|
|
16111
16161
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
16112
16162
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
16113
16163
|
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
16114
|
-
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$
|
|
16164
|
+
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
16115
16165
|
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16116
16166
|
i0.ɵɵelementStart(0, "div", 0);
|
|
16117
16167
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16136,7 +16186,7 @@ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewF
|
|
|
16136
16186
|
i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
16137
16187
|
i0.ɵɵadvance(3);
|
|
16138
16188
|
i0.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
16139
|
-
} }, directives: [
|
|
16189
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName, CaseFileViewFolderSortComponent, i1.NgIf, i7.CdkTree, i7.CdkTreeNodeDef, i7.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7.CdkTreeNodeToggle, i7.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
|
|
16140
16190
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
16141
16191
|
type: Component,
|
|
16142
16192
|
args: [{
|
|
@@ -16144,7 +16194,7 @@ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewF
|
|
|
16144
16194
|
templateUrl: './case-file-view-folder.component.html',
|
|
16145
16195
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
16146
16196
|
}]
|
|
16147
|
-
}], function () { return [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$
|
|
16197
|
+
}], function () { return [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatDialog }]; }, { categoriesAndDocuments: [{
|
|
16148
16198
|
type: Input
|
|
16149
16199
|
}], allowMoving: [{
|
|
16150
16200
|
type: Input
|
|
@@ -16162,25 +16212,20 @@ function CaseFlagTableComponent_table_0_tr_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
16162
16212
|
i0.ɵɵelementEnd();
|
|
16163
16213
|
} }
|
|
16164
16214
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) { if (rf & 1) {
|
|
16165
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16215
|
+
i0.ɵɵelementStart(0, "strong", 19);
|
|
16166
16216
|
i0.ɵɵtext(1, "Active");
|
|
16167
16217
|
i0.ɵɵelementEnd();
|
|
16168
16218
|
} }
|
|
16169
16219
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) { if (rf & 1) {
|
|
16170
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16220
|
+
i0.ɵɵelementStart(0, "strong", 20);
|
|
16171
16221
|
i0.ɵɵtext(1, "Inactive");
|
|
16172
16222
|
i0.ɵɵelementEnd();
|
|
16173
16223
|
} }
|
|
16174
16224
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) { if (rf & 1) {
|
|
16175
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16225
|
+
i0.ɵɵelementStart(0, "strong", 20);
|
|
16176
16226
|
i0.ɵɵtext(1, "Requested");
|
|
16177
16227
|
i0.ɵɵelementEnd();
|
|
16178
16228
|
} }
|
|
16179
|
-
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) { if (rf & 1) {
|
|
16180
|
-
i0.ɵɵelementStart(0, "strong", 22);
|
|
16181
|
-
i0.ɵɵtext(1, "Not approved");
|
|
16182
|
-
i0.ɵɵelementEnd();
|
|
16183
|
-
} }
|
|
16184
16229
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16185
16230
|
i0.ɵɵelementStart(0, "tr", 15);
|
|
16186
16231
|
i0.ɵɵelementStart(1, "td", 16);
|
|
@@ -16206,7 +16251,6 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16206
16251
|
i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
16207
16252
|
i0.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
16208
16253
|
i0.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
16209
|
-
i0.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
16210
16254
|
i0.ɵɵelementEnd();
|
|
16211
16255
|
i0.ɵɵelementEnd();
|
|
16212
16256
|
} if (rf & 2) {
|
|
@@ -16219,21 +16263,19 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16219
16263
|
i0.ɵɵadvance(2);
|
|
16220
16264
|
i0.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
16221
16265
|
i0.ɵɵadvance(2);
|
|
16222
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10,
|
|
16266
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 8, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
16223
16267
|
i0.ɵɵadvance(3);
|
|
16224
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13,
|
|
16268
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 11, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
16225
16269
|
i0.ɵɵadvance(3);
|
|
16226
16270
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
16227
16271
|
i0.ɵɵadvance(1);
|
|
16228
16272
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
16229
16273
|
i0.ɵɵadvance(1);
|
|
16230
16274
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
16231
|
-
i0.ɵɵadvance(1);
|
|
16232
|
-
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
16233
16275
|
} }
|
|
16234
16276
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) { if (rf & 1) {
|
|
16235
16277
|
i0.ɵɵelementStart(0, "tbody", 10);
|
|
16236
|
-
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
16278
|
+
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 18, 14, "tr", 14);
|
|
16237
16279
|
i0.ɵɵelementEnd();
|
|
16238
16280
|
} if (rf & 2) {
|
|
16239
16281
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -16286,7 +16328,7 @@ class CaseFlagTableComponent {
|
|
|
16286
16328
|
}
|
|
16287
16329
|
}
|
|
16288
16330
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
16289
|
-
CaseFlagTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], ["class", "govuk-tag", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], [
|
|
16331
|
+
CaseFlagTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], ["class", "govuk-tag", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], [1, "govuk-tag"], [1, "govuk-tag", "govuk-tag--grey"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16290
16332
|
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
16291
16333
|
} if (rf & 2) {
|
|
16292
16334
|
i0.ɵɵproperty("ngIf", ctx.flagData);
|
|
@@ -16306,156 +16348,82 @@ CaseFlagTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagTableCompo
|
|
|
16306
16348
|
type: Input
|
|
16307
16349
|
}] }); })();
|
|
16308
16350
|
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
* @see {@link https://tools.hmcts.net/confluence/pages/viewpage.action?pageId=1525476616#CaseFlagsHLDVersion1.0-Output}
|
|
16313
|
-
* for full details
|
|
16314
|
-
*/
|
|
16315
|
-
class FlagType {
|
|
16316
|
-
constructor() {
|
|
16317
|
-
this.listOfValuesLength = 0;
|
|
16318
|
-
this.listOfValues = [];
|
|
16319
|
-
}
|
|
16320
|
-
static searchPathByFlagTypeObject(singleFlag, flags, path = []) {
|
|
16321
|
-
var _a;
|
|
16322
|
-
for (const flag of flags) {
|
|
16323
|
-
if (flag.flagCode === singleFlag.flagCode && flag.Path.join(',') === singleFlag.Path.join(',')) {
|
|
16324
|
-
return [flag, path];
|
|
16325
|
-
}
|
|
16326
|
-
if ((_a = flag.childFlags) === null || _a === void 0 ? void 0 : _a.length) {
|
|
16327
|
-
const [result, childPath] = FlagType.searchPathByFlagTypeObject(singleFlag, flag.childFlags, [...path, flag]);
|
|
16328
|
-
if (result) {
|
|
16329
|
-
return [result, childPath];
|
|
16330
|
-
}
|
|
16331
|
-
}
|
|
16332
|
-
}
|
|
16333
|
-
return [undefined, []];
|
|
16334
|
-
}
|
|
16335
|
-
}
|
|
16336
|
-
|
|
16337
|
-
/**
|
|
16338
|
-
* DTO to provide typing of the response from the Reference Data Location API for HMCTS service details.
|
|
16339
|
-
*/
|
|
16340
|
-
class HmctsServiceDetail {
|
|
16341
|
-
constructor() {
|
|
16342
|
-
this.service_id = 0;
|
|
16343
|
-
}
|
|
16344
|
-
}
|
|
16345
|
-
|
|
16346
|
-
var SearchLanguageInterpreterControlNames;
|
|
16347
|
-
(function (SearchLanguageInterpreterControlNames) {
|
|
16348
|
-
SearchLanguageInterpreterControlNames["LANGUAGE_SEARCH_TERM"] = "languageSearchTerm";
|
|
16349
|
-
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
16350
|
-
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
16351
|
-
|
|
16352
|
-
function SelectFlagTypeComponent_div_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
16353
|
-
i0.ɵɵelementStart(0, "div", 11);
|
|
16354
|
-
i0.ɵɵelementStart(1, "span", 12);
|
|
16351
|
+
function SelectFlagTypeComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
16352
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
16353
|
+
i0.ɵɵelementStart(1, "span", 11);
|
|
16355
16354
|
i0.ɵɵtext(2, "Error:");
|
|
16356
16355
|
i0.ɵɵelementEnd();
|
|
16357
16356
|
i0.ɵɵtext(3);
|
|
16358
16357
|
i0.ɵɵelementEnd();
|
|
16359
16358
|
} if (rf & 2) {
|
|
16360
|
-
const
|
|
16359
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
16361
16360
|
i0.ɵɵadvance(3);
|
|
16362
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16361
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagTypeNotSelectedErrorMessage, " ");
|
|
16363
16362
|
} }
|
|
16364
|
-
function
|
|
16365
|
-
i0.ɵɵ
|
|
16366
|
-
i0.ɵɵ
|
|
16367
|
-
i0.ɵɵelementStart(
|
|
16363
|
+
function SelectFlagTypeComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
16364
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
16365
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
16366
|
+
i0.ɵɵelementStart(1, "input", 13);
|
|
16367
|
+
i0.ɵɵlistener("change", function SelectFlagTypeComponent_div_8_Template_input_change_1_listener() { i0.ɵɵrestoreView(_r7); const flagType_r4 = ctx.$implicit; const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.onFlagTypeChanged(flagType_r4); });
|
|
16368
|
+
i0.ɵɵelementEnd();
|
|
16369
|
+
i0.ɵɵelementStart(2, "label", 14);
|
|
16368
16370
|
i0.ɵɵtext(3);
|
|
16369
16371
|
i0.ɵɵelementEnd();
|
|
16370
16372
|
i0.ɵɵelementEnd();
|
|
16371
16373
|
} if (rf & 2) {
|
|
16372
|
-
const
|
|
16373
|
-
const
|
|
16374
|
-
const
|
|
16374
|
+
const flagType_r4 = ctx.$implicit;
|
|
16375
|
+
const i_r5 = ctx.index;
|
|
16376
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
16375
16377
|
i0.ɵɵadvance(1);
|
|
16376
|
-
i0.ɵɵpropertyInterpolate1("id", "flag-type-",
|
|
16377
|
-
i0.ɵɵproperty("name",
|
|
16378
|
+
i0.ɵɵpropertyInterpolate1("id", "flag-type-", i_r5, "");
|
|
16379
|
+
i0.ɵɵproperty("name", ctx_r1.flagTypeControlName)("value", flagType_r4.flagCode === "CATGRY" ? flagType_r4.flagCode + i_r5 : flagType_r4.flagCode)("formControlName", ctx_r1.flagTypeControlName);
|
|
16378
16380
|
i0.ɵɵadvance(1);
|
|
16379
|
-
i0.ɵɵpropertyInterpolate1("for", "flag-type-",
|
|
16381
|
+
i0.ɵɵpropertyInterpolate1("for", "flag-type-", i_r5, "");
|
|
16380
16382
|
i0.ɵɵadvance(1);
|
|
16381
|
-
i0.ɵɵtextInterpolate(
|
|
16383
|
+
i0.ɵɵtextInterpolate(flagType_r4.name);
|
|
16382
16384
|
} }
|
|
16383
|
-
function
|
|
16384
|
-
i0.ɵɵelementStart(0, "div",
|
|
16385
|
-
i0.ɵɵelementStart(1, "span",
|
|
16385
|
+
function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
16386
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
16387
|
+
i0.ɵɵelementStart(1, "span", 11);
|
|
16386
16388
|
i0.ɵɵtext(2, "Error:");
|
|
16387
16389
|
i0.ɵɵelementEnd();
|
|
16388
16390
|
i0.ɵɵtext(3);
|
|
16389
16391
|
i0.ɵɵelementEnd();
|
|
16390
16392
|
} if (rf & 2) {
|
|
16391
|
-
const
|
|
16393
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
16392
16394
|
i0.ɵɵadvance(3);
|
|
16393
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16395
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
16394
16396
|
} }
|
|
16395
16397
|
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
16396
|
-
const _c1$
|
|
16397
|
-
function
|
|
16398
|
-
i0.ɵɵelementStart(0, "div",
|
|
16399
|
-
i0.ɵɵelementStart(1, "div",
|
|
16400
|
-
i0.ɵɵelementStart(2, "label",
|
|
16398
|
+
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16399
|
+
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
16400
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
16401
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
16402
|
+
i0.ɵɵelementStart(2, "label", 16);
|
|
16401
16403
|
i0.ɵɵtext(3, "Enter a flag type");
|
|
16402
16404
|
i0.ɵɵelementEnd();
|
|
16403
|
-
i0.ɵɵtemplate(4,
|
|
16404
|
-
i0.ɵɵelement(5, "input",
|
|
16405
|
+
i0.ɵɵtemplate(4, SelectFlagTypeComponent_div_9_div_4_Template, 4, 1, "div", 17);
|
|
16406
|
+
i0.ɵɵelement(5, "input", 18);
|
|
16405
16407
|
i0.ɵɵelementEnd();
|
|
16406
16408
|
i0.ɵɵelementEnd();
|
|
16407
16409
|
} if (rf & 2) {
|
|
16408
|
-
const
|
|
16410
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
16409
16411
|
i0.ɵɵadvance(1);
|
|
16410
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$q,
|
|
16412
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$q, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
16411
16413
|
i0.ɵɵadvance(3);
|
|
16412
|
-
i0.ɵɵproperty("ngIf",
|
|
16414
|
+
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
16413
16415
|
i0.ɵɵadvance(1);
|
|
16414
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16416
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$7, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
16415
16417
|
} }
|
|
16416
|
-
function
|
|
16417
|
-
const
|
|
16418
|
-
i0.ɵɵelementStart(0, "div",
|
|
16419
|
-
i0.ɵɵelementStart(1, "button",
|
|
16420
|
-
i0.ɵɵlistener("click", function
|
|
16418
|
+
function SelectFlagTypeComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
16419
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
16420
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
16421
|
+
i0.ɵɵelementStart(1, "button", 21);
|
|
16422
|
+
i0.ɵɵlistener("click", function SelectFlagTypeComponent_div_10_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.onNext(); });
|
|
16421
16423
|
i0.ɵɵtext(2, "Next");
|
|
16422
16424
|
i0.ɵɵelementEnd();
|
|
16423
16425
|
i0.ɵɵelementEnd();
|
|
16424
16426
|
} }
|
|
16425
|
-
function SelectFlagTypeComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
16426
|
-
i0.ɵɵelementStart(0, "div", 1);
|
|
16427
|
-
i0.ɵɵelementStart(1, "div", 2);
|
|
16428
|
-
i0.ɵɵelementStart(2, "fieldset", 3);
|
|
16429
|
-
i0.ɵɵelementStart(3, "legend", 4);
|
|
16430
|
-
i0.ɵɵelementStart(4, "h1", 5);
|
|
16431
|
-
i0.ɵɵtext(5);
|
|
16432
|
-
i0.ɵɵelementEnd();
|
|
16433
|
-
i0.ɵɵelementEnd();
|
|
16434
|
-
i0.ɵɵtemplate(6, SelectFlagTypeComponent_div_0_div_6_Template, 4, 1, "div", 6);
|
|
16435
|
-
i0.ɵɵelementStart(7, "div", 7);
|
|
16436
|
-
i0.ɵɵtemplate(8, SelectFlagTypeComponent_div_0_div_8_Template, 4, 6, "div", 8);
|
|
16437
|
-
i0.ɵɵtemplate(9, SelectFlagTypeComponent_div_0_div_9_Template, 6, 9, "div", 9);
|
|
16438
|
-
i0.ɵɵelementEnd();
|
|
16439
|
-
i0.ɵɵelementEnd();
|
|
16440
|
-
i0.ɵɵelementEnd();
|
|
16441
|
-
i0.ɵɵtemplate(10, SelectFlagTypeComponent_div_0_div_10_Template, 3, 0, "div", 10);
|
|
16442
|
-
i0.ɵɵelementEnd();
|
|
16443
|
-
} if (rf & 2) {
|
|
16444
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
16445
|
-
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
16446
|
-
i0.ɵɵadvance(1);
|
|
16447
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
16448
|
-
i0.ɵɵadvance(4);
|
|
16449
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
16450
|
-
i0.ɵɵadvance(1);
|
|
16451
|
-
i0.ɵɵproperty("ngIf", ctx_r0.flagTypeNotSelectedErrorMessage.length > 0);
|
|
16452
|
-
i0.ɵɵadvance(2);
|
|
16453
|
-
i0.ɵɵproperty("ngForOf", ctx_r0.flagTypes);
|
|
16454
|
-
i0.ɵɵadvance(1);
|
|
16455
|
-
i0.ɵɵproperty("ngIf", ctx_r0.otherFlagTypeSelected);
|
|
16456
|
-
i0.ɵɵadvance(1);
|
|
16457
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.refdataError);
|
|
16458
|
-
} }
|
|
16459
16427
|
class SelectFlagTypeComponent {
|
|
16460
16428
|
constructor(caseFlagRefdataService) {
|
|
16461
16429
|
this.caseFlagRefdataService = caseFlagRefdataService;
|
|
@@ -16463,6 +16431,7 @@ class SelectFlagTypeComponent {
|
|
|
16463
16431
|
this.flagCommentsOptionalEmitter = new EventEmitter();
|
|
16464
16432
|
this.flagTypeNotSelectedErrorMessage = '';
|
|
16465
16433
|
this.flagTypeErrorMessage = '';
|
|
16434
|
+
this.otherFlagTypeSelected = false;
|
|
16466
16435
|
this.refdataError = false;
|
|
16467
16436
|
this.flagTypeControlName = 'flagType';
|
|
16468
16437
|
this.descriptionControlName = 'otherFlagTypeDescription';
|
|
@@ -16474,38 +16443,15 @@ class SelectFlagTypeComponent {
|
|
|
16474
16443
|
get caseFlagWizardStepTitle() {
|
|
16475
16444
|
return CaseFlagWizardStepTitle;
|
|
16476
16445
|
}
|
|
16477
|
-
get selectedFlagType() {
|
|
16478
|
-
var _a;
|
|
16479
|
-
return (_a = this.formGroup.get(this.flagTypeControlName)) === null || _a === void 0 ? void 0 : _a.value;
|
|
16480
|
-
}
|
|
16481
|
-
get otherFlagTypeSelected() {
|
|
16482
|
-
var _a, _b;
|
|
16483
|
-
return ((_b = (_a = this.formGroup.get(this.flagTypeControlName)) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.flagCode) === this.otherFlagTypeCode;
|
|
16484
|
-
}
|
|
16485
16446
|
ngOnInit() {
|
|
16486
16447
|
this.flagTypes = [];
|
|
16448
|
+
this.formGroup.addControl(this.flagTypeControlName, new FormControl(''));
|
|
16449
|
+
this.formGroup.addControl(this.descriptionControlName, new FormControl(''));
|
|
16487
16450
|
const flagType = this.formGroup['caseField']
|
|
16488
16451
|
&& this.formGroup['caseField'].id
|
|
16489
16452
|
&& this.formGroup['caseField'].id === this.caseLevelCaseFlagsFieldId
|
|
16490
16453
|
? RefdataCaseFlagType.CASE
|
|
16491
16454
|
: RefdataCaseFlagType.PARTY;
|
|
16492
|
-
if (!this.formGroup.get(this.flagTypeControlName)) {
|
|
16493
|
-
this.formGroup.addControl(this.flagTypeControlName, new FormControl(''));
|
|
16494
|
-
}
|
|
16495
|
-
if (!this.formGroup.get(this.descriptionControlName)) {
|
|
16496
|
-
this.formGroup.addControl(this.descriptionControlName, new FormControl(''));
|
|
16497
|
-
}
|
|
16498
|
-
// Should clear descriptionControlName if flagTypeControlName is changed
|
|
16499
|
-
this.flagTypeControlChangesSubscription = this.formGroup.get(this.flagTypeControlName).valueChanges
|
|
16500
|
-
.subscribe(value => {
|
|
16501
|
-
this.formGroup.get(this.descriptionControlName).setValue('');
|
|
16502
|
-
this.cachedPath = [];
|
|
16503
|
-
// required to clear language interpreter
|
|
16504
|
-
this.formGroup.patchValue({
|
|
16505
|
-
[SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM]: '',
|
|
16506
|
-
[SearchLanguageInterpreterControlNames.MANUAL_LANGUAGE_ENTRY]: ''
|
|
16507
|
-
});
|
|
16508
|
-
});
|
|
16509
16455
|
// HMCTS service code for a given jurisdiction is required to retrieve the relevant list of flag types
|
|
16510
16456
|
this.flagRefdata$ = this.caseFlagRefdataService.getHmctsServiceDetails(this.jurisdiction)
|
|
16511
16457
|
.pipe(
|
|
@@ -16518,16 +16464,6 @@ class SelectFlagTypeComponent {
|
|
|
16518
16464
|
next: flagTypes => {
|
|
16519
16465
|
// First (and only) object in the returned array should be the top-level "Party" flag type
|
|
16520
16466
|
this.flagTypes = flagTypes[0].childFlags;
|
|
16521
|
-
const formControl = this.formGroup.get(this.flagTypeControlName);
|
|
16522
|
-
if (formControl === null || formControl === void 0 ? void 0 : formControl.value) {
|
|
16523
|
-
// Cache Path based on existing flagCode -- needed for nested choices
|
|
16524
|
-
const [foundFlagType, path] = FlagType.searchPathByFlagTypeObject(formControl.value, this.flagTypes);
|
|
16525
|
-
this.cachedPath = [
|
|
16526
|
-
...path,
|
|
16527
|
-
foundFlagType
|
|
16528
|
-
];
|
|
16529
|
-
formControl.setValue(this.cachedPath[0], { emitEvent: false });
|
|
16530
|
-
}
|
|
16531
16467
|
},
|
|
16532
16468
|
error: error => {
|
|
16533
16469
|
this.onRefdataError(error);
|
|
@@ -16535,14 +16471,16 @@ class SelectFlagTypeComponent {
|
|
|
16535
16471
|
});
|
|
16536
16472
|
}
|
|
16537
16473
|
ngOnDestroy() {
|
|
16538
|
-
var _a;
|
|
16539
16474
|
if (this.flagRefdata$) {
|
|
16540
16475
|
this.flagRefdata$.unsubscribe();
|
|
16541
16476
|
}
|
|
16542
|
-
|
|
16477
|
+
}
|
|
16478
|
+
onFlagTypeChanged(flagType) {
|
|
16479
|
+
this.selectedFlagType = flagType;
|
|
16480
|
+
// Display description textbox if 'Other' flag type is selected
|
|
16481
|
+
this.otherFlagTypeSelected = this.selectedFlagType.flagCode === this.otherFlagTypeCode;
|
|
16543
16482
|
}
|
|
16544
16483
|
onNext() {
|
|
16545
|
-
var _a, _b;
|
|
16546
16484
|
// Validate form
|
|
16547
16485
|
this.validateForm();
|
|
16548
16486
|
// Return case flag field state, whether the selected flag type (if any) is a parent or not, error messages,
|
|
@@ -16551,6 +16489,14 @@ class SelectFlagTypeComponent {
|
|
|
16551
16489
|
currentCaseFlagFieldState: CaseFlagFieldState.FLAG_TYPE,
|
|
16552
16490
|
isParentFlagType: this.selectedFlagType ? this.selectedFlagType.isParent : null,
|
|
16553
16491
|
errorMessages: this.errorMessages,
|
|
16492
|
+
flagName: this.selectedFlagType ? this.selectedFlagType.name : null,
|
|
16493
|
+
flagPath: this.selectedFlagType ? this.selectedFlagType.Path.map(pathValue => Object.assign({ id: null, value: pathValue })) : null,
|
|
16494
|
+
hearingRelevantFlag: this.selectedFlagType ? this.selectedFlagType.hearingRelevant : null,
|
|
16495
|
+
flagCode: this.selectedFlagType ? this.selectedFlagType.flagCode : null,
|
|
16496
|
+
// Include the "list of values" (if any); currently applicable to language flag types
|
|
16497
|
+
listOfValues: this.selectedFlagType && this.selectedFlagType.listOfValues && this.selectedFlagType.listOfValues.length > 0
|
|
16498
|
+
? this.selectedFlagType.listOfValues
|
|
16499
|
+
: null
|
|
16554
16500
|
});
|
|
16555
16501
|
// Emit "flag comments optional" event if the user selects a flag type where comments are not mandatory
|
|
16556
16502
|
if (this.selectedFlagType && !this.selectedFlagType.flagComment) {
|
|
@@ -16559,8 +16505,8 @@ class SelectFlagTypeComponent {
|
|
|
16559
16505
|
// If the selected flag type is a parent, load the list of child flag types and reset the current selection
|
|
16560
16506
|
if (this.selectedFlagType && this.selectedFlagType.isParent) {
|
|
16561
16507
|
this.flagTypes = this.selectedFlagType.childFlags;
|
|
16562
|
-
(
|
|
16563
|
-
this.
|
|
16508
|
+
this.formGroup.get(this.flagTypeControlName).setValue('');
|
|
16509
|
+
this.selectedFlagType = null;
|
|
16564
16510
|
}
|
|
16565
16511
|
}
|
|
16566
16512
|
validateForm() {
|
|
@@ -16593,11 +16539,39 @@ class SelectFlagTypeComponent {
|
|
|
16593
16539
|
}
|
|
16594
16540
|
}
|
|
16595
16541
|
SelectFlagTypeComponent.ɵfac = function SelectFlagTypeComponent_Factory(t) { return new (t || SelectFlagTypeComponent)(i0.ɵɵdirectiveInject(CaseFlagRefdataService)); };
|
|
16596
|
-
SelectFlagTypeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagTypeComponent, selectors: [["ccd-select-flag-type"]], inputs: { formGroup: "formGroup", jurisdiction: "jurisdiction" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter", flagCommentsOptionalEmitter: "flagCommentsOptionalEmitter" }, decls:
|
|
16597
|
-
i0.ɵɵ
|
|
16542
|
+
SelectFlagTypeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagTypeComponent, selectors: [["ccd-select-flag-type"]], inputs: { formGroup: "formGroup", jurisdiction: "jurisdiction" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter", flagCommentsOptionalEmitter: "flagCommentsOptionalEmitter" }, decls: 11, vars: 9, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-type-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "flag-type-heading", 1, "govuk-fieldset__heading"], ["id", "flag-type-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-radios__conditional", "id", "conditional-flagType", 4, "ngIf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "flag-type-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName", "change"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "conditional-flagType", 1, "govuk-radios__conditional"], ["for", "other-flag-type-description", 1, "govuk-label"], ["id", "flag-type-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-flag-type-description", "type", "text", 1, "govuk-input", "govuk-!-width-one-half", 3, "ngClass", "name", "formControlName"], ["id", "flag-type-error-message", 1, "govuk-error-message"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function SelectFlagTypeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16543
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
16544
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
16545
|
+
i0.ɵɵelementStart(2, "fieldset", 2);
|
|
16546
|
+
i0.ɵɵelementStart(3, "legend", 3);
|
|
16547
|
+
i0.ɵɵelementStart(4, "h1", 4);
|
|
16548
|
+
i0.ɵɵtext(5);
|
|
16549
|
+
i0.ɵɵelementEnd();
|
|
16550
|
+
i0.ɵɵelementEnd();
|
|
16551
|
+
i0.ɵɵtemplate(6, SelectFlagTypeComponent_div_6_Template, 4, 1, "div", 5);
|
|
16552
|
+
i0.ɵɵelementStart(7, "div", 6);
|
|
16553
|
+
i0.ɵɵtemplate(8, SelectFlagTypeComponent_div_8_Template, 4, 6, "div", 7);
|
|
16554
|
+
i0.ɵɵtemplate(9, SelectFlagTypeComponent_div_9_Template, 6, 9, "div", 8);
|
|
16555
|
+
i0.ɵɵelementEnd();
|
|
16556
|
+
i0.ɵɵelementEnd();
|
|
16557
|
+
i0.ɵɵelementEnd();
|
|
16558
|
+
i0.ɵɵtemplate(10, SelectFlagTypeComponent_div_10_Template, 3, 0, "div", 9);
|
|
16559
|
+
i0.ɵɵelementEnd();
|
|
16598
16560
|
} if (rf & 2) {
|
|
16599
|
-
i0.ɵɵproperty("
|
|
16600
|
-
|
|
16561
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
16562
|
+
i0.ɵɵadvance(1);
|
|
16563
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
16564
|
+
i0.ɵɵadvance(4);
|
|
16565
|
+
i0.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
16566
|
+
i0.ɵɵadvance(1);
|
|
16567
|
+
i0.ɵɵproperty("ngIf", ctx.flagTypeNotSelectedErrorMessage.length > 0);
|
|
16568
|
+
i0.ɵɵadvance(2);
|
|
16569
|
+
i0.ɵɵproperty("ngForOf", ctx.flagTypes);
|
|
16570
|
+
i0.ɵɵadvance(1);
|
|
16571
|
+
i0.ɵɵproperty("ngIf", ctx.otherFlagTypeSelected);
|
|
16572
|
+
i0.ɵɵadvance(1);
|
|
16573
|
+
i0.ɵɵproperty("ngIf", !ctx.refdataError);
|
|
16574
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], styles: [".hidden[_ngcontent-%COMP%]{display:none}.validation-error[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:#d4351c}"] });
|
|
16601
16575
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectFlagTypeComponent, [{
|
|
16602
16576
|
type: Component,
|
|
16603
16577
|
args: [{
|
|
@@ -16701,13 +16675,14 @@ function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf &
|
|
|
16701
16675
|
i0.ɵɵadvance(1);
|
|
16702
16676
|
i0.ɵɵproperty("ngIf", ctx_r5.languageCharLimitErrorMessage);
|
|
16703
16677
|
i0.ɵɵadvance(1);
|
|
16704
|
-
i0.ɵɵproperty("name", ctx_r5.
|
|
16678
|
+
i0.ɵɵproperty("name", ctx_r5.manualLanguageEntryControlName)("formControlName", ctx_r5.manualLanguageEntryControlName);
|
|
16705
16679
|
} }
|
|
16706
16680
|
class SearchLanguageInterpreterComponent {
|
|
16707
16681
|
constructor() {
|
|
16708
|
-
this.SearchLanguageInterpreterControlNames = SearchLanguageInterpreterControlNames;
|
|
16709
16682
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
16710
16683
|
this.minSearchCharacters = 3;
|
|
16684
|
+
this.languageSearchTermControlName = 'languageSearchTerm';
|
|
16685
|
+
this.manualLanguageEntryControlName = 'manualLanguageEntry';
|
|
16711
16686
|
this.searchTerm = '';
|
|
16712
16687
|
this.isCheckboxEnabled = false;
|
|
16713
16688
|
this.errorMessages = [];
|
|
@@ -16729,9 +16704,9 @@ class SearchLanguageInterpreterComponent {
|
|
|
16729
16704
|
this.searchLanguageInterpreterHint = this.flagCode === this.signLanguageFlagCode
|
|
16730
16705
|
? SearchLanguageInterpreterStep.SIGN_HINT_TEXT
|
|
16731
16706
|
: SearchLanguageInterpreterStep.HINT_TEXT;
|
|
16732
|
-
this.formGroup.addControl(
|
|
16733
|
-
this.formGroup.addControl(
|
|
16734
|
-
this.filteredLanguages$ = this.formGroup.get(
|
|
16707
|
+
this.formGroup.addControl(this.languageSearchTermControlName, new FormControl());
|
|
16708
|
+
this.formGroup.addControl(this.manualLanguageEntryControlName, new FormControl());
|
|
16709
|
+
this.filteredLanguages$ = this.formGroup.get(this.languageSearchTermControlName).valueChanges.pipe(
|
|
16735
16710
|
// Need to check type of input because it changes to object (i.e. Language) when a value is selected from the
|
|
16736
16711
|
// autocomplete panel, instead of string when a value is being typed in
|
|
16737
16712
|
map(input => typeof input === 'string' ? input : input.value), map(searchTerm => {
|
|
@@ -16754,7 +16729,7 @@ class SearchLanguageInterpreterComponent {
|
|
|
16754
16729
|
// If the checkbox is disabled, i.e. unchecked, then clear the manual language entry FormControl of any value to
|
|
16755
16730
|
// prevent it being retained even when the field itself is hidden
|
|
16756
16731
|
if (!this.isCheckboxEnabled) {
|
|
16757
|
-
this.formGroup.get(
|
|
16732
|
+
this.formGroup.get(this.manualLanguageEntryControlName).setValue(null);
|
|
16758
16733
|
}
|
|
16759
16734
|
}
|
|
16760
16735
|
displayLanguage(language) {
|
|
@@ -16767,39 +16742,39 @@ class SearchLanguageInterpreterComponent {
|
|
|
16767
16742
|
this.languageEnteredInBothFieldsErrorMessage = null;
|
|
16768
16743
|
this.errorMessages = [];
|
|
16769
16744
|
// Checkbox not enabled means the user has opted to search for and select the language
|
|
16770
|
-
if (!this.isCheckboxEnabled && !this.formGroup.get(
|
|
16745
|
+
if (!this.isCheckboxEnabled && !this.formGroup.get(this.languageSearchTermControlName).value) {
|
|
16771
16746
|
this.languageNotSelectedErrorMessage = SearchLanguageInterpreterErrorMessage.LANGUAGE_NOT_ENTERED;
|
|
16772
16747
|
this.errorMessages.push({
|
|
16773
16748
|
title: '',
|
|
16774
16749
|
description: SearchLanguageInterpreterErrorMessage.LANGUAGE_NOT_ENTERED,
|
|
16775
|
-
fieldId:
|
|
16750
|
+
fieldId: this.languageSearchTermControlName
|
|
16776
16751
|
});
|
|
16777
16752
|
}
|
|
16778
16753
|
// Checkbox enabled means the user has opted to enter the language manually
|
|
16779
16754
|
if (this.isCheckboxEnabled) {
|
|
16780
|
-
if (!this.formGroup.get(
|
|
16755
|
+
if (!this.formGroup.get(this.manualLanguageEntryControlName).value) {
|
|
16781
16756
|
this.languageNotEnteredErrorMessage = SearchLanguageInterpreterErrorMessage.LANGUAGE_NOT_ENTERED;
|
|
16782
16757
|
this.errorMessages.push({
|
|
16783
16758
|
title: '',
|
|
16784
16759
|
description: SearchLanguageInterpreterErrorMessage.LANGUAGE_NOT_ENTERED,
|
|
16785
|
-
fieldId:
|
|
16760
|
+
fieldId: this.manualLanguageEntryControlName
|
|
16786
16761
|
});
|
|
16787
16762
|
}
|
|
16788
|
-
else if (this.formGroup.get(
|
|
16763
|
+
else if (this.formGroup.get(this.manualLanguageEntryControlName).value.length > this.languageMaxCharLimit) {
|
|
16789
16764
|
this.languageCharLimitErrorMessage = SearchLanguageInterpreterErrorMessage.LANGUAGE_CHAR_LIMIT_EXCEEDED;
|
|
16790
16765
|
this.errorMessages.push({
|
|
16791
16766
|
title: '',
|
|
16792
16767
|
description: SearchLanguageInterpreterErrorMessage.LANGUAGE_CHAR_LIMIT_EXCEEDED,
|
|
16793
|
-
fieldId:
|
|
16768
|
+
fieldId: this.manualLanguageEntryControlName
|
|
16794
16769
|
});
|
|
16795
16770
|
}
|
|
16796
|
-
else if (this.formGroup.get(
|
|
16771
|
+
else if (this.formGroup.get(this.languageSearchTermControlName).value) {
|
|
16797
16772
|
// Language entry is permitted in only one field at a time
|
|
16798
16773
|
this.languageEnteredInBothFieldsErrorMessage = SearchLanguageInterpreterErrorMessage.LANGUAGE_ENTERED_IN_BOTH_FIELDS;
|
|
16799
16774
|
this.errorMessages.push({
|
|
16800
16775
|
title: '',
|
|
16801
16776
|
description: SearchLanguageInterpreterErrorMessage.LANGUAGE_ENTERED_IN_BOTH_FIELDS,
|
|
16802
|
-
fieldId:
|
|
16777
|
+
fieldId: this.languageSearchTermControlName
|
|
16803
16778
|
});
|
|
16804
16779
|
}
|
|
16805
16780
|
}
|
|
@@ -16860,7 +16835,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
|
|
|
16860
16835
|
i0.ɵɵadvance(1);
|
|
16861
16836
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$p, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
16862
16837
|
i0.ɵɵadvance(2);
|
|
16863
|
-
i0.ɵɵproperty("for", ctx.
|
|
16838
|
+
i0.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
16864
16839
|
i0.ɵɵadvance(1);
|
|
16865
16840
|
i0.ɵɵtextInterpolate1(" ", ctx.searchLanguageInterpreterTitle, " ");
|
|
16866
16841
|
i0.ɵɵadvance(2);
|
|
@@ -16870,7 +16845,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
|
|
|
16870
16845
|
i0.ɵɵadvance(1);
|
|
16871
16846
|
i0.ɵɵproperty("ngIf", ctx.languageEnteredInBothFieldsErrorMessage);
|
|
16872
16847
|
i0.ɵɵadvance(1);
|
|
16873
|
-
i0.ɵɵproperty("formControlName", ctx.
|
|
16848
|
+
i0.ɵɵproperty("formControlName", ctx.languageSearchTermControlName)("matAutocomplete", _r2);
|
|
16874
16849
|
i0.ɵɵadvance(1);
|
|
16875
16850
|
i0.ɵɵproperty("displayWith", ctx.displayLanguage);
|
|
16876
16851
|
i0.ɵɵadvance(2);
|
|
@@ -16881,7 +16856,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
|
|
|
16881
16856
|
i0.ɵɵtextInterpolate1(" ", ctx.searchLanguageInterpreterStep.CHECKBOX_LABEL, " ");
|
|
16882
16857
|
i0.ɵɵadvance(1);
|
|
16883
16858
|
i0.ɵɵproperty("ngIf", ctx.isCheckboxEnabled);
|
|
16884
|
-
} }, directives: [
|
|
16859
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i3$1.MatInput, i2.DefaultValueAccessor, i5.MatAutocompleteTrigger, i2.NgControlStatus, i2.FormControlName, i5.MatAutocomplete, i1.NgForOf, i6.MatOption], pipes: [i1.AsyncPipe], styles: [".autocomplete__input--show-all-values[_ngcontent-%COMP%]{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down[_ngcontent-%COMP%]{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible[_ngcontent-%COMP%]{display:block}.autocomplete__menu--hidden[_ngcontent-%COMP%]{display:none}.autocomplete__menu--overlay[_ngcontent-%COMP%]{box-shadow:0 2px 6px rgba(0,0,0,.256863);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline[_ngcontent-%COMP%]{position:relative}.autocomplete__option[_ngcontent-%COMP%]{border-left-width:0;border-bottom:1px solid #b1b4b6;border-right-width:0;border-top-width:1px;cursor:pointer;display:block;position:relative}.autocomplete__option[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:none}.autocomplete__option[_ngcontent-%COMP%]:first-of-type{border-top-width:0}.autocomplete__option[_ngcontent-%COMP%]:last-of-type{border-bottom-width:0}.autocomplete__option--odd[_ngcontent-%COMP%]{background-color:#fafafa}.autocomplete__option--focused[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results[_ngcontent-%COMP%]{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.25}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{padding:5px}@media (min-width:641px){.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.31579}}.div-action[_ngcontent-%COMP%]{display:inline-block}.add-location[_ngcontent-%COMP%]{display:inline}.remove-location-button[_ngcontent-%COMP%]{margin:5px}.hide-autocomplete[_ngcontent-%COMP%]{display:none}.auto-complete-container[_ngcontent-%COMP%]{min-width:550px;display:inline-block;margin-right:4px}.autocomplete__input[_ngcontent-%COMP%]{line-height:24px;font-size:19px}.hidden[_ngcontent-%COMP%]{display:none}.search-language__input[_ngcontent-%COMP%]{position:relative;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' width='40' height='40'%3E%3Cpath d='M25.7 24.8L21.9 21c.7-1 1.1-2.2 1.1-3.5 0-3.6-2.9-6.5-6.5-6.5S10 13.9 10 17.5s2.9 6.5 6.5 6.5c1.6 0 3-.6 4.1-1.5l3.7 3.7 1.4-1.4zM12 17.5c0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5-2 4.5-4.5 4.5-4.5-2-4.5-4.5z' fill='%23505a5f'%3E%3C/path%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center left -2px;background-size:40px 40px;padding-left:35px}"] });
|
|
16885
16860
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchLanguageInterpreterComponent, [{
|
|
16886
16861
|
type: Component,
|
|
16887
16862
|
args: [{
|
|
@@ -16993,14 +16968,7 @@ class SelectFlagLocationComponent {
|
|
|
16993
16968
|
}
|
|
16994
16969
|
// Add a FormControl for the selected flag location if there is at least one flags instance remaining after filtering
|
|
16995
16970
|
if (this.filteredFlagsData && this.filteredFlagsData.length > 0) {
|
|
16996
|
-
|
|
16997
|
-
if (!formControl) {
|
|
16998
|
-
this.formGroup.addControl(this.selectedLocationControlName, new FormControl(null));
|
|
16999
|
-
}
|
|
17000
|
-
else {
|
|
17001
|
-
// Needs to be setValue as they have different object references -- we use the pathToFlagsFormGroup key
|
|
17002
|
-
formControl.setValue(this.filteredFlagsData.find(item => item.pathToFlagsFormGroup === formControl.value.pathToFlagsFormGroup));
|
|
17003
|
-
}
|
|
16971
|
+
this.formGroup.addControl(this.selectedLocationControlName, new FormControl(null));
|
|
17004
16972
|
}
|
|
17005
16973
|
else {
|
|
17006
16974
|
// No filtered flags instances mean there are no parties to select from. The case has not been configured properly
|
|
@@ -17017,6 +16985,9 @@ class SelectFlagLocationComponent {
|
|
|
17017
16985
|
this.caseFlagStateEmitter.emit({
|
|
17018
16986
|
currentCaseFlagFieldState: CaseFlagFieldState.FLAG_LOCATION,
|
|
17019
16987
|
errorMessages: this.errorMessages,
|
|
16988
|
+
selectedFlagsLocation: this.formGroup.get(this.selectedLocationControlName).value
|
|
16989
|
+
? this.formGroup.get(this.selectedLocationControlName).value
|
|
16990
|
+
: null
|
|
17020
16991
|
});
|
|
17021
16992
|
}
|
|
17022
16993
|
validateSelection() {
|
|
@@ -17070,7 +17041,7 @@ SelectFlagLocationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagLoc
|
|
|
17070
17041
|
i0.ɵɵproperty("ngForOf", ctx.filteredFlagsData);
|
|
17071
17042
|
i0.ɵɵadvance(1);
|
|
17072
17043
|
i0.ɵɵproperty("ngIf", !ctx.caseFlagsConfigError);
|
|
17073
|
-
} }, directives: [
|
|
17044
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], encapsulation: 2 });
|
|
17074
17045
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectFlagLocationComponent, [{
|
|
17075
17046
|
type: Component,
|
|
17076
17047
|
args: [{
|
|
@@ -17129,9 +17100,7 @@ class AddCommentsComponent {
|
|
|
17129
17100
|
this.addCommentsTitle = CaseFlagWizardStepTitle.ADD_FLAG_COMMENTS;
|
|
17130
17101
|
this.addCommentsHint = AddCommentsStep.HINT_TEXT;
|
|
17131
17102
|
this.addCommentsCharLimitInfo = AddCommentsStep.CHARACTER_LIMIT_INFO;
|
|
17132
|
-
|
|
17133
|
-
this.formGroup.addControl(this.flagCommentsControlName, new FormControl(''));
|
|
17134
|
-
}
|
|
17103
|
+
this.formGroup.addControl(this.flagCommentsControlName, new FormControl(''));
|
|
17135
17104
|
}
|
|
17136
17105
|
onNext() {
|
|
17137
17106
|
// Validate flag comments entry
|
|
@@ -17211,14 +17180,14 @@ AddCommentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddCommentsComponent
|
|
|
17211
17180
|
i0.ɵɵproperty("id", ctx.flagCommentsControlName)("name", ctx.flagCommentsControlName)("formControlName", ctx.flagCommentsControlName);
|
|
17212
17181
|
i0.ɵɵadvance(2);
|
|
17213
17182
|
i0.ɵɵtextInterpolate1(" ", ctx.addCommentsCharLimitInfo, " ");
|
|
17214
|
-
} }, directives: [
|
|
17183
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], encapsulation: 2 });
|
|
17215
17184
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddCommentsComponent, [{
|
|
17216
17185
|
type: Component,
|
|
17217
17186
|
args: [{
|
|
17218
17187
|
selector: 'ccd-add-comments',
|
|
17219
17188
|
templateUrl: './add-comments.component.html'
|
|
17220
17189
|
}]
|
|
17221
|
-
}],
|
|
17190
|
+
}], null, { formGroup: [{
|
|
17222
17191
|
type: Input
|
|
17223
17192
|
}], optional: [{
|
|
17224
17193
|
type: Input
|
|
@@ -17431,7 +17400,7 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
17431
17400
|
i0.ɵɵproperty("ngForOf", ctx.flagsDisplayData);
|
|
17432
17401
|
i0.ɵɵadvance(1);
|
|
17433
17402
|
i0.ɵɵproperty("ngIf", !ctx.noFlagsError);
|
|
17434
|
-
} }, directives: [
|
|
17403
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i1.NgForOf, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], styles: [".flag-name-and-description{font-weight:700}"], encapsulation: 2 });
|
|
17435
17404
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ManageCaseFlagsComponent, [{
|
|
17436
17405
|
type: Component,
|
|
17437
17406
|
args: [{
|
|
@@ -17450,9 +17419,9 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
17450
17419
|
type: Output
|
|
17451
17420
|
}] }); })();
|
|
17452
17421
|
|
|
17453
|
-
function
|
|
17454
|
-
i0.ɵɵelementStart(0, "div",
|
|
17455
|
-
i0.ɵɵelementStart(1, "span",
|
|
17422
|
+
function UpdateFlagComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
17423
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
17424
|
+
i0.ɵɵelementStart(1, "span", 17);
|
|
17456
17425
|
i0.ɵɵtext(2, "Error:");
|
|
17457
17426
|
i0.ɵɵelementEnd();
|
|
17458
17427
|
i0.ɵɵtext(3);
|
|
@@ -17462,9 +17431,9 @@ function UpdateFlagComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
17462
17431
|
i0.ɵɵadvance(3);
|
|
17463
17432
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
17464
17433
|
} }
|
|
17465
|
-
function
|
|
17466
|
-
i0.ɵɵelementStart(0, "div",
|
|
17467
|
-
i0.ɵɵelementStart(1, "span",
|
|
17434
|
+
function UpdateFlagComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
17435
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
17436
|
+
i0.ɵɵelementStart(1, "span", 17);
|
|
17468
17437
|
i0.ɵɵtext(2, "Error:");
|
|
17469
17438
|
i0.ɵɵelementEnd();
|
|
17470
17439
|
i0.ɵɵtext(3);
|
|
@@ -17474,25 +17443,15 @@ function UpdateFlagComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
17474
17443
|
i0.ɵɵadvance(3);
|
|
17475
17444
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
17476
17445
|
} }
|
|
17477
|
-
function
|
|
17478
|
-
i0.ɵɵ
|
|
17479
|
-
i0.ɵɵ
|
|
17480
|
-
i0.ɵɵ
|
|
17481
|
-
i0.ɵɵ
|
|
17482
|
-
i0.ɵɵtext(4);
|
|
17483
|
-
i0.ɵɵelementEnd();
|
|
17446
|
+
function UpdateFlagComponent_button_22_Template(rf, ctx) { if (rf & 1) {
|
|
17447
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17448
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
17449
|
+
i0.ɵɵlistener("click", function UpdateFlagComponent_button_22_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onChangeStatus(); });
|
|
17450
|
+
i0.ɵɵtext(1, " Make inactive ");
|
|
17484
17451
|
i0.ɵɵelementEnd();
|
|
17485
|
-
} if (rf & 2) {
|
|
17486
|
-
const status_r3 = ctx.$implicit;
|
|
17487
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
17488
|
-
i0.ɵɵadvance(1);
|
|
17489
|
-
i0.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0.ɵɵpipeBind1(2, 4, status_r3));
|
|
17490
|
-
i0.ɵɵadvance(2);
|
|
17491
|
-
i0.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
17492
|
-
i0.ɵɵadvance(1);
|
|
17493
|
-
i0.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
17494
17452
|
} }
|
|
17495
17453
|
const _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
17454
|
+
const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
17496
17455
|
class UpdateFlagComponent {
|
|
17497
17456
|
constructor() {
|
|
17498
17457
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -17500,25 +17459,22 @@ class UpdateFlagComponent {
|
|
|
17500
17459
|
this.errorMessages = [];
|
|
17501
17460
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17502
17461
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17503
|
-
this.
|
|
17504
|
-
this.caseFlagStatuses = CaseFlagStatus;
|
|
17505
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
17506
|
-
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
17507
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
17508
|
-
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
17462
|
+
this.updateFlagControlName = 'flagComments';
|
|
17509
17463
|
this.commentsMaxCharLimit = 200;
|
|
17510
17464
|
}
|
|
17511
17465
|
ngOnInit() {
|
|
17466
|
+
this.updateFlagHint = UpdateFlagStep.HINT_TEXT;
|
|
17467
|
+
this.updateFlagCharLimitInfo = UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
17468
|
+
this.formGroup.addControl(this.updateFlagControlName, new FormControl(''));
|
|
17512
17469
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
17513
17470
|
const flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
17514
|
-
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new FormControl(flagDetail.status));
|
|
17515
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new FormControl(''));
|
|
17516
|
-
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new FormControl(false));
|
|
17517
17471
|
// Populate flag comments text area with existing comments
|
|
17518
|
-
this.formGroup.
|
|
17472
|
+
this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
|
|
17519
17473
|
if (flagDetail.name) {
|
|
17520
17474
|
this.updateFlagTitle =
|
|
17521
|
-
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17475
|
+
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17476
|
+
? `, ${flagDetail.subTypeValue}"`
|
|
17477
|
+
: '"'}`;
|
|
17522
17478
|
}
|
|
17523
17479
|
}
|
|
17524
17480
|
}
|
|
@@ -17527,7 +17483,7 @@ class UpdateFlagComponent {
|
|
|
17527
17483
|
this.validateTextEntry();
|
|
17528
17484
|
// If validation has passed, update the flag details with the comments entered
|
|
17529
17485
|
if (this.errorMessages.length === 0) {
|
|
17530
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
17486
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.updateFlagControlName).value });
|
|
17531
17487
|
}
|
|
17532
17488
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
17533
17489
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -17537,17 +17493,22 @@ class UpdateFlagComponent {
|
|
|
17537
17493
|
selectedFlag: this.selectedFlag
|
|
17538
17494
|
});
|
|
17539
17495
|
}
|
|
17496
|
+
onChangeStatus() {
|
|
17497
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { status: this.selectedFlag.flagDetailDisplay.flagDetail.status === CaseFlagStatus.ACTIVE
|
|
17498
|
+
? CaseFlagStatus.INACTIVE
|
|
17499
|
+
: this.selectedFlag.flagDetailDisplay.flagDetail.status });
|
|
17500
|
+
}
|
|
17540
17501
|
validateTextEntry() {
|
|
17541
17502
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17542
17503
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17543
17504
|
this.errorMessages = [];
|
|
17544
|
-
const comment = this.formGroup.get(this.
|
|
17505
|
+
const comment = this.formGroup.get(this.updateFlagControlName).value;
|
|
17545
17506
|
if (!comment) {
|
|
17546
17507
|
this.updateFlagNotEnteredErrorMessage = UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
17547
17508
|
this.errorMessages.push({
|
|
17548
17509
|
title: '',
|
|
17549
17510
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
17550
|
-
fieldId: this.
|
|
17511
|
+
fieldId: this.updateFlagControlName
|
|
17551
17512
|
});
|
|
17552
17513
|
}
|
|
17553
17514
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -17555,13 +17516,13 @@ class UpdateFlagComponent {
|
|
|
17555
17516
|
this.errorMessages.push({
|
|
17556
17517
|
title: '',
|
|
17557
17518
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
17558
|
-
fieldId: this.
|
|
17519
|
+
fieldId: this.updateFlagControlName
|
|
17559
17520
|
});
|
|
17560
17521
|
}
|
|
17561
17522
|
}
|
|
17562
17523
|
}
|
|
17563
17524
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
17564
|
-
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
17525
|
+
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 26, vars: 18, consts: [[1, "form-group", 3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], [1, "govuk-label", "govuk-label--l", 3, "for"], ["id", "update-flag-hint", 1, "govuk-hint"], ["id", "update-flag-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-hint update-flag-char-limit-info update-flag-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-grid-row"], [1, "govuk-grid-column-one-half"], [1, "govuk-tag", 3, "ngClass"], ["class", "button button-secondary", "type", "button", 3, "click", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["id", "update-flag-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-char-limit-error", 1, "govuk-error-message"], ["type", "button", 1, "button", "button-secondary", 3, "click"]], template: function UpdateFlagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17565
17526
|
i0.ɵɵelementStart(0, "div", 0);
|
|
17566
17527
|
i0.ɵɵelementStart(1, "div", 1);
|
|
17567
17528
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -17571,98 +17532,65 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
17571
17532
|
i0.ɵɵelementEnd();
|
|
17572
17533
|
i0.ɵɵelementEnd();
|
|
17573
17534
|
i0.ɵɵelementStart(6, "div", 5);
|
|
17574
|
-
i0.ɵɵ
|
|
17575
|
-
i0.ɵɵelementStart(8, "label", 6);
|
|
17576
|
-
i0.ɵɵtext(9);
|
|
17577
|
-
i0.ɵɵelementEnd();
|
|
17535
|
+
i0.ɵɵtext(7);
|
|
17578
17536
|
i0.ɵɵelementEnd();
|
|
17579
|
-
i0.ɵɵ
|
|
17580
|
-
i0.ɵɵ
|
|
17537
|
+
i0.ɵɵtemplate(8, UpdateFlagComponent_div_8_Template, 4, 1, "div", 6);
|
|
17538
|
+
i0.ɵɵtemplate(9, UpdateFlagComponent_div_9_Template, 4, 1, "div", 7);
|
|
17539
|
+
i0.ɵɵelementStart(10, "textarea", 8);
|
|
17540
|
+
i0.ɵɵtext(11, " ");
|
|
17581
17541
|
i0.ɵɵelementEnd();
|
|
17582
|
-
i0.ɵɵ
|
|
17583
|
-
i0.ɵɵ
|
|
17584
|
-
i0.ɵɵelementStart(14, "textarea", 10);
|
|
17585
|
-
i0.ɵɵtext(15, " ");
|
|
17586
|
-
i0.ɵɵelementEnd();
|
|
17587
|
-
i0.ɵɵelementStart(16, "div", 11);
|
|
17588
|
-
i0.ɵɵtext(17);
|
|
17589
|
-
i0.ɵɵelementEnd();
|
|
17590
|
-
i0.ɵɵelementEnd();
|
|
17591
|
-
i0.ɵɵelementStart(18, "div", 12);
|
|
17592
|
-
i0.ɵɵelementStart(19, "div");
|
|
17593
|
-
i0.ɵɵelementStart(20, "label", 13);
|
|
17594
|
-
i0.ɵɵtext(21);
|
|
17595
|
-
i0.ɵɵelementEnd();
|
|
17596
|
-
i0.ɵɵelementEnd();
|
|
17597
|
-
i0.ɵɵelementStart(22, "div", 5);
|
|
17598
|
-
i0.ɵɵelementStart(23, "div", 14);
|
|
17599
|
-
i0.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
17600
|
-
i0.ɵɵpipe(25, "enumDisplayDescription");
|
|
17601
|
-
i0.ɵɵelementEnd();
|
|
17602
|
-
i0.ɵɵelementEnd();
|
|
17603
|
-
i0.ɵɵelementStart(26, "div");
|
|
17604
|
-
i0.ɵɵelementStart(27, "div", 16);
|
|
17605
|
-
i0.ɵɵtext(28);
|
|
17606
|
-
i0.ɵɵelementEnd();
|
|
17607
|
-
i0.ɵɵelementStart(29, "textarea", 17);
|
|
17608
|
-
i0.ɵɵtext(30, " ");
|
|
17542
|
+
i0.ɵɵelementStart(12, "div", 9);
|
|
17543
|
+
i0.ɵɵtext(13);
|
|
17609
17544
|
i0.ɵɵelementEnd();
|
|
17610
17545
|
i0.ɵɵelementEnd();
|
|
17611
17546
|
i0.ɵɵelementEnd();
|
|
17612
|
-
i0.ɵɵelementStart(
|
|
17613
|
-
i0.ɵɵelementStart(
|
|
17614
|
-
i0.ɵɵelementStart(
|
|
17615
|
-
i0.ɵɵ
|
|
17616
|
-
i0.ɵɵelementStart(
|
|
17617
|
-
i0.ɵɵ
|
|
17547
|
+
i0.ɵɵelementStart(14, "div", 10);
|
|
17548
|
+
i0.ɵɵelementStart(15, "div", 11);
|
|
17549
|
+
i0.ɵɵelementStart(16, "p");
|
|
17550
|
+
i0.ɵɵtext(17, "Flag status: ");
|
|
17551
|
+
i0.ɵɵelementStart(18, "span");
|
|
17552
|
+
i0.ɵɵelementStart(19, "strong", 12);
|
|
17553
|
+
i0.ɵɵtext(20);
|
|
17618
17554
|
i0.ɵɵelementEnd();
|
|
17619
17555
|
i0.ɵɵelementEnd();
|
|
17620
17556
|
i0.ɵɵelementEnd();
|
|
17621
17557
|
i0.ɵɵelementEnd();
|
|
17558
|
+
i0.ɵɵelementStart(21, "div", 11);
|
|
17559
|
+
i0.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
17622
17560
|
i0.ɵɵelementEnd();
|
|
17623
17561
|
i0.ɵɵelementEnd();
|
|
17624
|
-
i0.ɵɵelementStart(
|
|
17625
|
-
i0.ɵɵelementStart(
|
|
17626
|
-
i0.ɵɵlistener("click", function
|
|
17627
|
-
i0.ɵɵtext(
|
|
17562
|
+
i0.ɵɵelementStart(23, "div", 14);
|
|
17563
|
+
i0.ɵɵelementStart(24, "button", 15);
|
|
17564
|
+
i0.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_24_listener() { return ctx.onNext(); });
|
|
17565
|
+
i0.ɵɵtext(25, "Next");
|
|
17628
17566
|
i0.ɵɵelementEnd();
|
|
17629
17567
|
i0.ɵɵelementEnd();
|
|
17630
17568
|
i0.ɵɵelementEnd();
|
|
17631
17569
|
} if (rf & 2) {
|
|
17632
17570
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
17633
17571
|
i0.ɵɵadvance(2);
|
|
17634
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
17635
|
-
i0.ɵɵadvance(
|
|
17636
|
-
i0.ɵɵ
|
|
17637
|
-
i0.ɵɵadvance(3);
|
|
17638
|
-
i0.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
17572
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
|
|
17573
|
+
i0.ɵɵadvance(2);
|
|
17574
|
+
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
17639
17575
|
i0.ɵɵadvance(1);
|
|
17640
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, "
|
|
17576
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
17641
17577
|
i0.ɵɵadvance(2);
|
|
17642
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17578
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
|
|
17643
17579
|
i0.ɵɵadvance(1);
|
|
17644
17580
|
i0.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
17645
17581
|
i0.ɵɵadvance(1);
|
|
17646
17582
|
i0.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
17647
17583
|
i0.ɵɵadvance(1);
|
|
17648
|
-
i0.ɵɵproperty("id", ctx.
|
|
17584
|
+
i0.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
|
|
17649
17585
|
i0.ɵɵadvance(3);
|
|
17650
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17651
|
-
i0.ɵɵadvance(
|
|
17652
|
-
i0.ɵɵ
|
|
17653
|
-
i0.ɵɵadvance(2);
|
|
17654
|
-
i0.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
17655
|
-
i0.ɵɵadvance(1);
|
|
17656
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
17657
|
-
i0.ɵɵadvance(4);
|
|
17658
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
17659
|
-
i0.ɵɵadvance(1);
|
|
17660
|
-
i0.ɵɵproperty("id", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("name", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("formControlName", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME);
|
|
17661
|
-
i0.ɵɵadvance(5);
|
|
17662
|
-
i0.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
17586
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagCharLimitInfo, " ");
|
|
17587
|
+
i0.ɵɵadvance(6);
|
|
17588
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c1$6, ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
17663
17589
|
i0.ɵɵadvance(1);
|
|
17664
|
-
i0.ɵɵ
|
|
17665
|
-
|
|
17590
|
+
i0.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
17591
|
+
i0.ɵɵadvance(2);
|
|
17592
|
+
i0.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
17593
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], encapsulation: 2 });
|
|
17666
17594
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
17667
17595
|
type: Component,
|
|
17668
17596
|
args: [{
|
|
@@ -17677,43 +17605,7 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
17677
17605
|
type: Output
|
|
17678
17606
|
}] }); })();
|
|
17679
17607
|
|
|
17680
|
-
function
|
|
17681
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
17682
|
-
i0.ɵɵelementStart(0, "dd", 7);
|
|
17683
|
-
i0.ɵɵelementStart(1, "a", 8);
|
|
17684
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_dd_6_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return ctx_r5.changeButtonEmitter.emit(ctx_r5.CaseFlagFieldState.FLAG_LOCATION); });
|
|
17685
|
-
i0.ɵɵtext(2, " Change");
|
|
17686
|
-
i0.ɵɵelementStart(3, "span", 9);
|
|
17687
|
-
i0.ɵɵtext(4, " party name");
|
|
17688
|
-
i0.ɵɵelementEnd();
|
|
17689
|
-
i0.ɵɵelementEnd();
|
|
17690
|
-
i0.ɵɵelementEnd();
|
|
17691
|
-
} }
|
|
17692
|
-
function CaseFlagSummaryListComponent_dl_0_dd_12_Template(rf, ctx) { if (rf & 1) {
|
|
17693
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
17694
|
-
i0.ɵɵelementStart(0, "dd", 7);
|
|
17695
|
-
i0.ɵɵelementStart(1, "a", 8);
|
|
17696
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_dd_12_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.changeButtonEmitter.emit(ctx_r7.CaseFlagFieldState.FLAG_TYPE); });
|
|
17697
|
-
i0.ɵɵtext(2, " Change");
|
|
17698
|
-
i0.ɵɵelementStart(3, "span", 9);
|
|
17699
|
-
i0.ɵɵtext(4, " description");
|
|
17700
|
-
i0.ɵɵelementEnd();
|
|
17701
|
-
i0.ɵɵelementEnd();
|
|
17702
|
-
i0.ɵɵelementEnd();
|
|
17703
|
-
} }
|
|
17704
|
-
function CaseFlagSummaryListComponent_dl_0_dd_18_Template(rf, ctx) { if (rf & 1) {
|
|
17705
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
17706
|
-
i0.ɵɵelementStart(0, "dd", 7);
|
|
17707
|
-
i0.ɵɵelementStart(1, "a", 8);
|
|
17708
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_dd_18_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.changeButtonEmitter.emit(ctx_r9.CaseFlagFieldState.FLAG_COMMENTS); });
|
|
17709
|
-
i0.ɵɵtext(2, " Change");
|
|
17710
|
-
i0.ɵɵelementStart(3, "span", 9);
|
|
17711
|
-
i0.ɵɵtext(4, " comments");
|
|
17712
|
-
i0.ɵɵelementEnd();
|
|
17713
|
-
i0.ɵɵelementEnd();
|
|
17714
|
-
i0.ɵɵelementEnd();
|
|
17715
|
-
} }
|
|
17716
|
-
function CaseFlagSummaryListComponent_dl_0_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
17608
|
+
function CaseFlagSummaryListComponent_dl_0_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
17717
17609
|
i0.ɵɵelementStart(0, "div", 2);
|
|
17718
17610
|
i0.ɵɵelementStart(1, "dt", 3);
|
|
17719
17611
|
i0.ɵɵtext(2, " Status ");
|
|
@@ -17721,12 +17613,11 @@ function CaseFlagSummaryListComponent_dl_0_div_19_Template(rf, ctx) { if (rf & 1
|
|
|
17721
17613
|
i0.ɵɵelementStart(3, "dd", 4);
|
|
17722
17614
|
i0.ɵɵtext(4);
|
|
17723
17615
|
i0.ɵɵelementEnd();
|
|
17724
|
-
i0.ɵɵelement(5, "dd", 7);
|
|
17725
17616
|
i0.ɵɵelementEnd();
|
|
17726
17617
|
} if (rf & 2) {
|
|
17727
|
-
const
|
|
17618
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17728
17619
|
i0.ɵɵadvance(4);
|
|
17729
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17620
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.flagStatus, " ");
|
|
17730
17621
|
} }
|
|
17731
17622
|
function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
17732
17623
|
i0.ɵɵelementStart(0, "dl", 1);
|
|
@@ -17737,27 +17628,24 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
17737
17628
|
i0.ɵɵelementStart(4, "dd", 4);
|
|
17738
17629
|
i0.ɵɵtext(5);
|
|
17739
17630
|
i0.ɵɵelementEnd();
|
|
17740
|
-
i0.ɵɵtemplate(6, CaseFlagSummaryListComponent_dl_0_dd_6_Template, 5, 0, "dd", 5);
|
|
17741
17631
|
i0.ɵɵelementEnd();
|
|
17742
|
-
i0.ɵɵelementStart(
|
|
17743
|
-
i0.ɵɵelementStart(
|
|
17744
|
-
i0.ɵɵtext(
|
|
17632
|
+
i0.ɵɵelementStart(6, "div", 2);
|
|
17633
|
+
i0.ɵɵelementStart(7, "dt", 3);
|
|
17634
|
+
i0.ɵɵtext(8, " Flag type ");
|
|
17745
17635
|
i0.ɵɵelementEnd();
|
|
17746
|
-
i0.ɵɵelementStart(
|
|
17747
|
-
i0.ɵɵtext(
|
|
17636
|
+
i0.ɵɵelementStart(9, "dd", 4);
|
|
17637
|
+
i0.ɵɵtext(10);
|
|
17748
17638
|
i0.ɵɵelementEnd();
|
|
17749
|
-
i0.ɵɵtemplate(12, CaseFlagSummaryListComponent_dl_0_dd_12_Template, 5, 0, "dd", 5);
|
|
17750
17639
|
i0.ɵɵelementEnd();
|
|
17751
|
-
i0.ɵɵelementStart(
|
|
17752
|
-
i0.ɵɵelementStart(
|
|
17753
|
-
i0.ɵɵtext(
|
|
17640
|
+
i0.ɵɵelementStart(11, "div", 2);
|
|
17641
|
+
i0.ɵɵelementStart(12, "dt", 3);
|
|
17642
|
+
i0.ɵɵtext(13, " Comments ");
|
|
17754
17643
|
i0.ɵɵelementEnd();
|
|
17755
|
-
i0.ɵɵelementStart(
|
|
17756
|
-
i0.ɵɵtext(
|
|
17644
|
+
i0.ɵɵelementStart(14, "dd", 4);
|
|
17645
|
+
i0.ɵɵtext(15);
|
|
17757
17646
|
i0.ɵɵelementEnd();
|
|
17758
|
-
i0.ɵɵtemplate(18, CaseFlagSummaryListComponent_dl_0_dd_18_Template, 5, 0, "dd", 5);
|
|
17759
17647
|
i0.ɵɵelementEnd();
|
|
17760
|
-
i0.ɵɵtemplate(
|
|
17648
|
+
i0.ɵɵtemplate(16, CaseFlagSummaryListComponent_dl_0_div_16_Template, 5, 1, "div", 5);
|
|
17761
17649
|
i0.ɵɵelementEnd();
|
|
17762
17650
|
} if (rf & 2) {
|
|
17763
17651
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -17765,24 +17653,16 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
17765
17653
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.addUpdateFlagHeaderText, " ");
|
|
17766
17654
|
i0.ɵɵadvance(2);
|
|
17767
17655
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagForSummaryDisplay.partyName || ctx_r0.caseLevelLocation, " ");
|
|
17768
|
-
i0.ɵɵadvance(1);
|
|
17769
|
-
i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.CREATE);
|
|
17770
17656
|
i0.ɵɵadvance(5);
|
|
17771
17657
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagDescription, " ");
|
|
17772
|
-
i0.ɵɵadvance(1);
|
|
17773
|
-
i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.CREATE);
|
|
17774
17658
|
i0.ɵɵadvance(5);
|
|
17775
17659
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.flagComments, " ");
|
|
17776
17660
|
i0.ɵɵadvance(1);
|
|
17777
|
-
i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.CREATE);
|
|
17778
|
-
i0.ɵɵadvance(1);
|
|
17779
17661
|
i0.ɵɵproperty("ngIf", ctx_r0.summaryListDisplayMode === ctx_r0.displayMode.MANAGE);
|
|
17780
17662
|
} }
|
|
17781
17663
|
class CaseFlagSummaryListComponent {
|
|
17782
17664
|
constructor() {
|
|
17783
|
-
this.changeButtonEmitter = new EventEmitter();
|
|
17784
17665
|
this.displayMode = CaseFlagSummaryListDisplayMode;
|
|
17785
|
-
this.CaseFlagFieldState = CaseFlagFieldState;
|
|
17786
17666
|
this.caseLevelLocation = 'Case level';
|
|
17787
17667
|
this.updateFlagHeaderText = 'Update flag for';
|
|
17788
17668
|
this.addFlagHeaderText = 'Add flag to';
|
|
@@ -17801,8 +17681,8 @@ class CaseFlagSummaryListComponent {
|
|
|
17801
17681
|
}
|
|
17802
17682
|
}
|
|
17803
17683
|
CaseFlagSummaryListComponent.ɵfac = function CaseFlagSummaryListComponent_Factory(t) { return new (t || CaseFlagSummaryListComponent)(); };
|
|
17804
|
-
CaseFlagSummaryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", summaryListDisplayMode: "summaryListDisplayMode" },
|
|
17805
|
-
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template,
|
|
17684
|
+
CaseFlagSummaryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", summaryListDisplayMode: "summaryListDisplayMode" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], ["class", "govuk-summary-list__row", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17685
|
+
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 17, 5, "dl", 0);
|
|
17806
17686
|
} if (rf & 2) {
|
|
17807
17687
|
i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
|
|
17808
17688
|
} }, directives: [i1.NgIf], encapsulation: 2 });
|
|
@@ -17812,12 +17692,10 @@ CaseFlagSummaryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFlagSumm
|
|
|
17812
17692
|
selector: 'ccd-case-flag-summary-list',
|
|
17813
17693
|
templateUrl: './case-flag-summary-list.component.html'
|
|
17814
17694
|
}]
|
|
17815
|
-
}],
|
|
17695
|
+
}], null, { flagForSummaryDisplay: [{
|
|
17816
17696
|
type: Input
|
|
17817
17697
|
}], summaryListDisplayMode: [{
|
|
17818
17698
|
type: Input
|
|
17819
|
-
}], changeButtonEmitter: [{
|
|
17820
|
-
type: Output
|
|
17821
17699
|
}] }); })();
|
|
17822
17700
|
|
|
17823
17701
|
class CollectionCreateCheckerService {
|
|
@@ -18481,7 +18359,7 @@ WriteDateFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDateFieldCom
|
|
|
18481
18359
|
i0.ɵɵproperty("ngIf", ctx.dateControl && ctx.dateControl.errors && (ctx.dateControl.dirty || ctx.dateControl.touched));
|
|
18482
18360
|
i0.ɵɵadvance(1);
|
|
18483
18361
|
i0.ɵɵproperty("id", ctx.id())("isDateTime", ctx.isDateTime())("mandatory", i0.ɵɵpipeBind1(7, 10, ctx.caseField))("isInvalid", ctx.dateControl.errors && (ctx.dateControl.dirty || ctx.dateControl.touched))("formControl", ctx.dateControl);
|
|
18484
|
-
} }, directives: [i1.NgClass, i1.NgIf, DateInputComponent,
|
|
18362
|
+
} }, directives: [i1.NgClass, i1.NgIf, DateInputComponent, i2.NgControlStatus, i2.FormControlDirective], pipes: [IsMandatoryPipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
18485
18363
|
const ɵWriteDateFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDateFieldComponent);
|
|
18486
18364
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDateFieldComponent, [{
|
|
18487
18365
|
type: Component,
|
|
@@ -18759,7 +18637,7 @@ DatetimePickerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DatetimePickerCom
|
|
|
18759
18637
|
i0.ɵɵproperty("for", _r6);
|
|
18760
18638
|
i0.ɵɵadvance(1);
|
|
18761
18639
|
i0.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
|
|
18762
|
-
} }, directives: [i1.NgClass, i1.NgIf, i1$3.DefaultValueAccessor, i4.NgxMatDatetimeInput, i1$3.NgControlStatus, i1$3.FormControlDirective, i5$1.MatDatepickerToggle, i6$1.MatSuffix, i4.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
18640
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i4.NgxMatDatetimeInput, i2.NgControlStatus, i2.FormControlDirective, i5$1.MatDatepickerToggle, i6$1.MatSuffix, i4.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
18763
18641
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
18764
18642
|
type: Component,
|
|
18765
18643
|
args: [{
|
|
@@ -19273,7 +19151,7 @@ MarkdownComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MarkdownComponent, sele
|
|
|
19273
19151
|
} if (rf & 2) {
|
|
19274
19152
|
i0.ɵɵadvance(1);
|
|
19275
19153
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 1, ctx.content), i0.ɵɵsanitizeHtml);
|
|
19276
|
-
} }, directives: [i1$
|
|
19154
|
+
} }, directives: [i1$5.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
|
|
19277
19155
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
19278
19156
|
type: Component,
|
|
19279
19157
|
args: [{
|
|
@@ -19792,7 +19670,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19792
19670
|
MatAutocompleteModule,
|
|
19793
19671
|
CdkTreeModule,
|
|
19794
19672
|
OverlayModule,
|
|
19795
|
-
PaymentLibModule, i2.ScrollToModule, MatDialogModule,
|
|
19673
|
+
PaymentLibModule, i2$1.ScrollToModule, MatDialogModule,
|
|
19796
19674
|
MediaViewerModule,
|
|
19797
19675
|
LoadingModule], exports: [NgxMatDatetimePickerModule,
|
|
19798
19676
|
NgxMatNativeDateModule,
|
|
@@ -19954,7 +19832,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19954
19832
|
entryComponents: [CaseFileViewFolderSelectorComponent]
|
|
19955
19833
|
}]
|
|
19956
19834
|
}], null, null); })();
|
|
19957
|
-
i0.ɵɵsetComponentScope(FieldReadComponent, [FieldReadLabelComponent,
|
|
19835
|
+
i0.ɵɵsetComponentScope(FieldReadComponent, [FieldReadLabelComponent, i2.NgControlStatusGroup, i2.FormGroupDirective], []);
|
|
19958
19836
|
i0.ɵɵsetComponentScope(LabelFieldComponent, [LabelSubstitutorDirective, MarkdownComponent], []);
|
|
19959
19837
|
i0.ɵɵsetComponentScope(CaseHistoryViewerFieldComponent, [EventLogComponent], []);
|
|
19960
19838
|
i0.ɵɵsetComponentScope(EventLogComponent, [i1.NgSwitch, i1.NgSwitchCase, EventLogTableComponent, i1.NgIf, EventLogDetailsComponent], []);
|
|
@@ -19971,25 +19849,25 @@ i0.ɵɵsetComponentScope(ReadComplexFieldTableComponent, [i1.NgForOf, i1.NgIf, F
|
|
|
19971
19849
|
i0.ɵɵsetComponentScope(ReadComplexFieldCollectionTableComponent, [i1.NgForOf, i1.NgIf, FieldReadComponent,
|
|
19972
19850
|
ReadCaseLinkFieldComponent], [ReadFieldsFilterPipe, CcdCollectionTableCaseFieldsFilterPipe, i1.KeyValuePipe, IsCompoundPipe]);
|
|
19973
19851
|
i0.ɵɵsetComponentScope(ReadCaseFlagFieldComponent, [i1.NgSwitch, i1.NgSwitchCase, CaseFlagSummaryListComponent, i1.NgSwitchDefault, i1.NgForOf, i1.NgIf, CaseFlagTableComponent], []);
|
|
19974
|
-
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, [i1.NgIf, i1.NgClass,
|
|
19975
|
-
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective,
|
|
19852
|
+
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, [i1.NgIf, i1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.SelectControlValueAccessor, i1.NgForOf, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, WriteComplexFieldComponent, i2.NgControlStatusGroup, i2.FormGroupDirective], [FieldLabelPipe]);
|
|
19853
|
+
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective, i2.NgControlStatusGroup, i2.FormGroupDirective, FieldWriteComponent], [FieldLabelPipe, IsReadOnlyPipe]);
|
|
19976
19854
|
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, [i1.NgClass, i1.NgIf, ReadDocumentFieldComponent], [FieldLabelPipe]);
|
|
19977
|
-
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1.NgIf, DatetimePickerComponent,
|
|
19978
|
-
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, [i1.NgIf, i1.NgForOf,
|
|
19855
|
+
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1.NgIf, DatetimePickerComponent, i2.NgControlStatusGroup, i2.FormGroupDirective, WriteDateFieldComponent], []);
|
|
19856
|
+
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, [i1.NgIf, i1.NgForOf, i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgSwitch, i1.NgClass, i1.NgSwitchCase, SelectFlagLocationComponent,
|
|
19979
19857
|
SelectFlagTypeComponent,
|
|
19980
19858
|
SearchLanguageInterpreterComponent,
|
|
19981
19859
|
AddCommentsComponent,
|
|
19982
19860
|
ManageCaseFlagsComponent,
|
|
19983
19861
|
UpdateFlagComponent], []);
|
|
19984
|
-
i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, [
|
|
19862
|
+
i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i1.NgClass, i1.NgForOf, MarkdownComponent,
|
|
19985
19863
|
WriteOrganisationComplexFieldComponent], [i1.AsyncPipe]);
|
|
19986
19864
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, [ReadOrderSummaryFieldComponent], []);
|
|
19987
|
-
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1.NgIf, DatetimePickerComponent,
|
|
19988
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1.NgIf, i1.NgForOf, FieldWriteComponent,
|
|
19865
|
+
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1.NgIf, DatetimePickerComponent, i2.NgControlStatusGroup, i2.FormGroupDirective, WriteDateFieldComponent], []);
|
|
19866
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1.NgIf, i1.NgForOf, FieldWriteComponent, i2.NgControlStatusGroup, i2.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
|
|
19989
19867
|
i0.ɵɵsetComponentScope(
|
|
19990
19868
|
// ComponentLauncher web components
|
|
19991
|
-
CaseFileViewFieldComponent, [i1.NgIf, CaseFileViewFolderComponent, i11.ɵcs], []);
|
|
19992
|
-
i0.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1.NgIf, CaseFileViewFolderComponent, i11.ɵcs], []);
|
|
19869
|
+
CaseFileViewFieldComponent, [i1.NgIf, i1.NgForOf, CaseFileViewFolderComponent, i11.ɵcs], []);
|
|
19870
|
+
i0.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1.NgIf, i1.NgForOf, CaseFileViewFolderComponent, i11.ɵcs], []);
|
|
19993
19871
|
|
|
19994
19872
|
class Confirmation {
|
|
19995
19873
|
constructor(caseId, status, header, body) {
|
|
@@ -20104,7 +19982,7 @@ function CaseEditSubmitComponent_div_0_ng_container_12_span_3_Template(rf, ctx)
|
|
|
20104
19982
|
i0.ɵɵelementEnd();
|
|
20105
19983
|
} }
|
|
20106
19984
|
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
20107
|
-
i0.ɵɵelementStart(0, "th",
|
|
19985
|
+
i0.ɵɵelementStart(0, "th", 36);
|
|
20108
19986
|
i0.ɵɵelementStart(1, "span", 29);
|
|
20109
19987
|
i0.ɵɵtext(2);
|
|
20110
19988
|
i0.ɵɵelementEnd();
|
|
@@ -20114,31 +19992,19 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_contain
|
|
|
20114
19992
|
i0.ɵɵadvance(2);
|
|
20115
19993
|
i0.ɵɵtextInterpolate(field_r21.label);
|
|
20116
19994
|
} }
|
|
20117
|
-
function
|
|
20118
|
-
const
|
|
19995
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_a_6_Template(rf, ctx) { if (rf & 1) {
|
|
19996
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
20119
19997
|
i0.ɵɵelementStart(0, "a", 13);
|
|
20120
|
-
i0.ɵɵlistener("click", function
|
|
19998
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r28); const page_r18 = i0.ɵɵnextContext(4).$implicit; const ctx_r26 = i0.ɵɵnextContext(3); return ctx_r26.navigateToPage(page_r18.id); });
|
|
20121
19999
|
i0.ɵɵelementStart(1, "span", 29);
|
|
20122
20000
|
i0.ɵɵtext(2, "Change");
|
|
20123
20001
|
i0.ɵɵelementEnd();
|
|
20124
20002
|
i0.ɵɵelementEnd();
|
|
20125
20003
|
} if (rf & 2) {
|
|
20126
|
-
const field_r21 = i0.ɵɵnextContext(
|
|
20004
|
+
const field_r21 = i0.ɵɵnextContext(2).$implicit;
|
|
20127
20005
|
i0.ɵɵadvance(1);
|
|
20128
20006
|
i0.ɵɵattributeInterpolate1("aria-label", "Change ", field_r21.label, "");
|
|
20129
20007
|
} }
|
|
20130
|
-
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
20131
|
-
i0.ɵɵelementContainerStart(0);
|
|
20132
|
-
i0.ɵɵelementStart(1, "td", 35);
|
|
20133
|
-
i0.ɵɵtemplate(2, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template, 3, 1, "a", 36);
|
|
20134
|
-
i0.ɵɵelementEnd();
|
|
20135
|
-
i0.ɵɵelementContainerEnd();
|
|
20136
|
-
} if (rf & 2) {
|
|
20137
|
-
const field_r21 = i0.ɵɵnextContext(2).$implicit;
|
|
20138
|
-
const ctx_r24 = i0.ɵɵnextContext(5);
|
|
20139
|
-
i0.ɵɵadvance(2);
|
|
20140
|
-
i0.ɵɵproperty("ngIf", ctx_r24.isChangeAllowed(field_r21));
|
|
20141
|
-
} }
|
|
20142
20008
|
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20143
20009
|
i0.ɵɵelementContainerStart(0);
|
|
20144
20010
|
i0.ɵɵelementStart(1, "tr", 30);
|
|
@@ -20146,7 +20012,9 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_contain
|
|
|
20146
20012
|
i0.ɵɵelementStart(3, "td", 32);
|
|
20147
20013
|
i0.ɵɵelement(4, "ccd-field-read", 33);
|
|
20148
20014
|
i0.ɵɵelementEnd();
|
|
20149
|
-
i0.ɵɵ
|
|
20015
|
+
i0.ɵɵelementStart(5, "td", 34);
|
|
20016
|
+
i0.ɵɵtemplate(6, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_a_6_Template, 3, 1, "a", 35);
|
|
20017
|
+
i0.ɵɵelementEnd();
|
|
20150
20018
|
i0.ɵɵelementEnd();
|
|
20151
20019
|
i0.ɵɵelementContainerEnd();
|
|
20152
20020
|
} if (rf & 2) {
|
|
@@ -20160,12 +20028,12 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_contain
|
|
|
20160
20028
|
i0.ɵɵattribute("colspan", ctx_r22.isLabel(field_r21) ? "2" : "1");
|
|
20161
20029
|
i0.ɵɵadvance(1);
|
|
20162
20030
|
i0.ɵɵproperty("formGroup", ctx_r22.editForm.controls["data"])("topLevelFormGroup", ctx_r22.editForm.controls["data"])("caseField", ctx_r22.summaryCaseField(field_r21))("context", ctx_r22.paletteContext)("caseFields", ctx_r22.contextFields);
|
|
20163
|
-
i0.ɵɵadvance(
|
|
20164
|
-
i0.ɵɵproperty("ngIf", ctx_r22.
|
|
20031
|
+
i0.ɵɵadvance(2);
|
|
20032
|
+
i0.ɵɵproperty("ngIf", ctx_r22.isChangeAllowed(field_r21));
|
|
20165
20033
|
} }
|
|
20166
20034
|
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20167
20035
|
i0.ɵɵelementContainerStart(0);
|
|
20168
|
-
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_Template,
|
|
20036
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_6_ng_container_1_ng_container_1_ng_container_1_Template, 7, 12, "ng-container", 0);
|
|
20169
20037
|
i0.ɵɵelementContainerEnd();
|
|
20170
20038
|
} if (rf & 2) {
|
|
20171
20039
|
const field_r21 = ctx.$implicit;
|
|
@@ -20228,13 +20096,13 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_3_Templ
|
|
|
20228
20096
|
i0.ɵɵelementEnd();
|
|
20229
20097
|
i0.ɵɵelementEnd();
|
|
20230
20098
|
} if (rf & 2) {
|
|
20231
|
-
const
|
|
20232
|
-
const
|
|
20233
|
-
i0.ɵɵproperty("caseField",
|
|
20099
|
+
const field_r33 = i0.ɵɵnextContext().$implicit;
|
|
20100
|
+
const ctx_r34 = i0.ɵɵnextContext(3);
|
|
20101
|
+
i0.ɵɵproperty("caseField", field_r33)("formGroup", ctx_r34.editForm.controls["data"])("contextFields", ctx_r34.contextFields);
|
|
20234
20102
|
i0.ɵɵadvance(2);
|
|
20235
|
-
i0.ɵɵtextInterpolate(
|
|
20103
|
+
i0.ɵɵtextInterpolate(field_r33.label);
|
|
20236
20104
|
i0.ɵɵadvance(2);
|
|
20237
|
-
i0.ɵɵproperty("formGroup",
|
|
20105
|
+
i0.ɵɵproperty("formGroup", ctx_r34.editForm.controls["data"])("caseField", ctx_r34.summaryCaseField(field_r33));
|
|
20238
20106
|
} }
|
|
20239
20107
|
function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
20240
20108
|
i0.ɵɵelementStart(0, "tr", 45);
|
|
@@ -20243,11 +20111,11 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_4_Templ
|
|
|
20243
20111
|
i0.ɵɵelementEnd();
|
|
20244
20112
|
i0.ɵɵelementEnd();
|
|
20245
20113
|
} if (rf & 2) {
|
|
20246
|
-
const
|
|
20247
|
-
const
|
|
20248
|
-
i0.ɵɵproperty("caseField",
|
|
20114
|
+
const field_r33 = i0.ɵɵnextContext().$implicit;
|
|
20115
|
+
const ctx_r35 = i0.ɵɵnextContext(3);
|
|
20116
|
+
i0.ɵɵproperty("caseField", field_r33)("formGroup", ctx_r35.editForm.controls["data"])("contextFields", ctx_r35.contextFields);
|
|
20249
20117
|
i0.ɵɵadvance(2);
|
|
20250
|
-
i0.ɵɵproperty("formGroup",
|
|
20118
|
+
i0.ɵɵproperty("formGroup", ctx_r35.editForm.controls["data"])("caseField", ctx_r35.summaryCaseField(field_r33))("caseFields", ctx_r35.contextFields);
|
|
20251
20119
|
} }
|
|
20252
20120
|
function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
20253
20121
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -20258,9 +20126,9 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_Template(r
|
|
|
20258
20126
|
i0.ɵɵelementContainerEnd();
|
|
20259
20127
|
i0.ɵɵelementContainerEnd();
|
|
20260
20128
|
} if (rf & 2) {
|
|
20261
|
-
const
|
|
20129
|
+
const field_r33 = ctx.$implicit;
|
|
20262
20130
|
i0.ɵɵadvance(1);
|
|
20263
|
-
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(2, 3,
|
|
20131
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(2, 3, field_r33));
|
|
20264
20132
|
i0.ɵɵadvance(2);
|
|
20265
20133
|
i0.ɵɵproperty("ngSwitchCase", true);
|
|
20266
20134
|
i0.ɵɵadvance(1);
|
|
@@ -20309,7 +20177,7 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
20309
20177
|
i0.ɵɵproperty("ngIf", ctx_r11.profile && !ctx_r11.isSolicitor());
|
|
20310
20178
|
} }
|
|
20311
20179
|
function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
20312
|
-
const
|
|
20180
|
+
const _r40 = i0.ɵɵgetCurrentView();
|
|
20313
20181
|
i0.ɵɵelementStart(0, "div");
|
|
20314
20182
|
i0.ɵɵelementStart(1, "h1", 2);
|
|
20315
20183
|
i0.ɵɵtext(2);
|
|
@@ -20320,16 +20188,16 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
20320
20188
|
i0.ɵɵtemplate(8, CaseEditSubmitComponent_div_0_div_8_Template, 10, 0, "div", 6);
|
|
20321
20189
|
i0.ɵɵtemplate(9, CaseEditSubmitComponent_div_0_div_9_Template, 6, 2, "div", 6);
|
|
20322
20190
|
i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
|
|
20323
|
-
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(
|
|
20191
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r40); const ctx_r39 = i0.ɵɵnextContext(); return ctx_r39.callbackErrorsNotify($event); });
|
|
20324
20192
|
i0.ɵɵelementEnd();
|
|
20325
20193
|
i0.ɵɵelementStart(11, "form", 8);
|
|
20326
|
-
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(
|
|
20194
|
+
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r40); const ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.submit(); });
|
|
20327
20195
|
i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_0_ng_container_12_Template, 7, 3, "ng-container", 0);
|
|
20328
20196
|
i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_13_Template, 4, 1, "ng-container", 0);
|
|
20329
20197
|
i0.ɵɵtemplate(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 2, 1, "ng-container", 0);
|
|
20330
20198
|
i0.ɵɵelementStart(15, "div", 9);
|
|
20331
20199
|
i0.ɵɵelementStart(16, "button", 10);
|
|
20332
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(
|
|
20200
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r40); const ctx_r42 = i0.ɵɵnextContext(); return ctx_r42.previous(); });
|
|
20333
20201
|
i0.ɵɵtext(17, "Previous");
|
|
20334
20202
|
i0.ɵɵelementEnd();
|
|
20335
20203
|
i0.ɵɵelementStart(18, "button", 11);
|
|
@@ -20338,7 +20206,7 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
20338
20206
|
i0.ɵɵelementEnd();
|
|
20339
20207
|
i0.ɵɵelementStart(20, "p", 12);
|
|
20340
20208
|
i0.ɵɵelementStart(21, "a", 13);
|
|
20341
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(
|
|
20209
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r40); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.cancel(); });
|
|
20342
20210
|
i0.ɵɵtext(22);
|
|
20343
20211
|
i0.ɵɵelementEnd();
|
|
20344
20212
|
i0.ɵɵelementEnd();
|
|
@@ -20378,9 +20246,9 @@ function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
20378
20246
|
i0.ɵɵtextInterpolate(ctx_r0.getCancelText());
|
|
20379
20247
|
} }
|
|
20380
20248
|
function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) { if (rf & 1) {
|
|
20381
|
-
const
|
|
20249
|
+
const _r45 = i0.ɵɵgetCurrentView();
|
|
20382
20250
|
i0.ɵɵelementStart(0, "ccd-case-event-completion", 57);
|
|
20383
|
-
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(
|
|
20251
|
+
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r45); const ctx_r44 = i0.ɵɵnextContext(); return ctx_r44.onEventCanBeCompleted($event); });
|
|
20384
20252
|
i0.ɵɵelementEnd();
|
|
20385
20253
|
} if (rf & 2) {
|
|
20386
20254
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -20760,7 +20628,7 @@ CaseEditSubmitComponent.SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION = (a, b) => {
|
|
|
20760
20628
|
return a.show_summary_content_option - b.show_summary_content_option;
|
|
20761
20629
|
};
|
|
20762
20630
|
CaseEditSubmitComponent.ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
20763
|
-
CaseEditSubmitComponent.ɵcmp = 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", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], ["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", "
|
|
20631
|
+
CaseEditSubmitComponent.ɵcmp = 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", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject", "callbackErrorsContext"], [1, "check-your-answers", 3, "formGroup", "submit"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], ["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", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], [1, "valign-top", "case-field-label"], ["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", 4, "ngIf"], ["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"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20764
20632
|
i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_Template, 23, 17, "div", 0);
|
|
20765
20633
|
i0.ɵɵtemplate(1, CaseEditSubmitComponent_ccd_case_event_completion_1_Template, 1, 1, "ccd-case-event-completion", 1);
|
|
20766
20634
|
} if (rf & 2) {
|
|
@@ -21240,8 +21108,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21240
21108
|
JudicialworkerService,
|
|
21241
21109
|
CaseworkerService,
|
|
21242
21110
|
SessionStorageService,
|
|
21243
|
-
EventCompletionStateMachineService
|
|
21244
|
-
CaseFlagStateService
|
|
21111
|
+
EventCompletionStateMachineService
|
|
21245
21112
|
], imports: [[
|
|
21246
21113
|
CommonModule,
|
|
21247
21114
|
RouterModule,
|
|
@@ -21350,15 +21217,14 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
21350
21217
|
JudicialworkerService,
|
|
21351
21218
|
CaseworkerService,
|
|
21352
21219
|
SessionStorageService,
|
|
21353
|
-
EventCompletionStateMachineService
|
|
21354
|
-
CaseFlagStateService
|
|
21220
|
+
EventCompletionStateMachineService
|
|
21355
21221
|
]
|
|
21356
21222
|
}]
|
|
21357
21223
|
}], null, null); })();
|
|
21358
|
-
i0.ɵɵsetComponentScope(CaseEditConfirmComponent, [i1.NgIf, MarkdownComponent,
|
|
21359
|
-
i0.ɵɵsetComponentScope(CaseEditPageComponent, [i1.NgIf, LoadingSpinnerComponent, MarkdownComponent, i1.NgForOf, CallbackErrorsComponent,
|
|
21360
|
-
i0.ɵɵsetComponentScope(CaseEditFormComponent, [i1.NgForOf, ConditionalShowFormDirective,
|
|
21361
|
-
i0.ɵɵsetComponentScope(CaseEditSubmitComponent, [i1.NgIf, MarkdownComponent, i1.NgForOf, CallbackErrorsComponent,
|
|
21224
|
+
i0.ɵɵsetComponentScope(CaseEditConfirmComponent, [i1.NgIf, MarkdownComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective], [CcdCaseTitlePipe, CaseReferencePipe]);
|
|
21225
|
+
i0.ɵɵsetComponentScope(CaseEditPageComponent, [i1.NgIf, LoadingSpinnerComponent, MarkdownComponent, i1.NgForOf, CallbackErrorsComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, CaseEditFormComponent], [CcdCaseTitlePipe, CaseReferencePipe, i1.AsyncPipe]);
|
|
21226
|
+
i0.ɵɵsetComponentScope(CaseEditFormComponent, [i1.NgForOf, ConditionalShowFormDirective, i2.NgControlStatusGroup, i2.FormGroupDirective, LabelSubstitutorDirective, i1.NgSwitch, i1.NgSwitchCase, FieldReadComponent, i1.NgIf, FieldWriteComponent], [IsReadOnlyAndNotCollectionPipe, IsCompoundPipe]);
|
|
21227
|
+
i0.ɵɵsetComponentScope(CaseEditSubmitComponent, [i1.NgIf, MarkdownComponent, i1.NgForOf, CallbackErrorsComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent, i1.NgSwitch, i1.NgSwitchCase, i2.FormGroupName, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName, i2.MaxLengthValidator, CaseEventCompletionComponent], [CcdCaseTitlePipe, CaseReferencePipe, CcdCYAPageLabelFilterPipe, ReadFieldsFilterPipe, CcdPageFieldsPipe, IsCompoundPipe]);
|
|
21362
21228
|
i0.ɵɵsetComponentScope(CaseCreateComponent, [i1.NgIf, CaseEditComponent], []);
|
|
21363
21229
|
i0.ɵɵsetComponentScope(CaseProgressComponent, [i1.NgIf, CaseEditComponent], []);
|
|
21364
21230
|
|
|
@@ -21689,7 +21555,7 @@ PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent,
|
|
|
21689
21555
|
i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
|
|
21690
21556
|
i0.ɵɵadvance(3);
|
|
21691
21557
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
|
|
21692
|
-
} }, directives: [i1$
|
|
21558
|
+
} }, directives: [i1$6.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
21693
21559
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
21694
21560
|
type: Component,
|
|
21695
21561
|
args: [{
|
|
@@ -22039,7 +21905,7 @@ CaseListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListComponent, sele
|
|
|
22039
21905
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(9, 8, ctx.cases, i0.ɵɵpureFunction3(11, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
22040
21906
|
i0.ɵɵadvance(2);
|
|
22041
21907
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
22042
|
-
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$
|
|
21908
|
+
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$6.PaginatePipe, i1.CurrencyPipe], styles: [""] });
|
|
22043
21909
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
22044
21910
|
type: Component,
|
|
22045
21911
|
args: [{
|
|
@@ -22624,7 +22490,7 @@ WorkbasketFiltersModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
22624
22490
|
]
|
|
22625
22491
|
}]
|
|
22626
22492
|
}], null, null); })();
|
|
22627
|
-
i0.ɵɵsetComponentScope(WorkbasketFiltersComponent, [
|
|
22493
|
+
i0.ɵɵsetComponentScope(WorkbasketFiltersComponent, [i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.NgForm, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgModel, i1.NgIf, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf, ConditionalShowFormDirective, i2.FormGroupDirective, FieldWriteComponent], []);
|
|
22628
22494
|
|
|
22629
22495
|
const READ_ACCESS = 'read';
|
|
22630
22496
|
const CREATE_ACCESS = 'create';
|
|
@@ -23801,7 +23667,7 @@ class DeleteOrCancelDialogComponent {
|
|
|
23801
23667
|
this.matDialogRef.close(this.result);
|
|
23802
23668
|
}
|
|
23803
23669
|
}
|
|
23804
|
-
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
23670
|
+
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef)); };
|
|
23805
23671
|
DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23806
23672
|
i0.ɵɵelementStart(0, "div");
|
|
23807
23673
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -23839,7 +23705,7 @@ DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCan
|
|
|
23839
23705
|
templateUrl: './delete-or-cancel-dialog.component.html',
|
|
23840
23706
|
styleUrls: ['../action-dialog.component.scss']
|
|
23841
23707
|
}]
|
|
23842
|
-
}], function () { return [{ type: i1$
|
|
23708
|
+
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
23843
23709
|
|
|
23844
23710
|
class DialogsModule {
|
|
23845
23711
|
}
|
|
@@ -24420,7 +24286,7 @@ CaseFullAccessViewComponent.TRIGGER_TEXT_START = 'Go';
|
|
|
24420
24286
|
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
24421
24287
|
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
24422
24288
|
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
24423
|
-
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$
|
|
24289
|
+
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
24424
24290
|
CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
24425
24291
|
i0.ɵɵviewQuery(_c0$b, 1);
|
|
24426
24292
|
} if (rf & 2) {
|
|
@@ -24472,7 +24338,7 @@ CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAcces
|
|
|
24472
24338
|
templateUrl: './case-full-access-view.component.html',
|
|
24473
24339
|
styleUrls: ['./case-full-access-view.component.scss']
|
|
24474
24340
|
}]
|
|
24475
|
-
}], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$
|
|
24341
|
+
}], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }]; }, { hasPrint: [{
|
|
24476
24342
|
type: Input
|
|
24477
24343
|
}], hasEventSelector: [{
|
|
24478
24344
|
type: Input
|
|
@@ -25629,12 +25495,12 @@ class EventTriggerComponent {
|
|
|
25629
25495
|
return this.triggers.length === 1 ? this.triggers[0] : '';
|
|
25630
25496
|
}
|
|
25631
25497
|
}
|
|
25632
|
-
EventTriggerComponent.ɵfac = function EventTriggerComponent_Factory(t) { return new (t || EventTriggerComponent)(i0.ɵɵdirectiveInject(
|
|
25498
|
+
EventTriggerComponent.ɵfac = function EventTriggerComponent_Factory(t) { return new (t || EventTriggerComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(OrderService)); };
|
|
25633
25499
|
EventTriggerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: EventTriggerComponent, selectors: [["ccd-event-trigger"]], inputs: { triggers: "triggers", triggerText: "triggerText", isDisabled: "isDisabled" }, outputs: { onTriggerSubmit: "onTriggerSubmit", onTriggerChange: "onTriggerChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "event-trigger", 3, "formGroup", "ngSubmit", 4, "ngIf"], [1, "event-trigger", 3, "formGroup", "ngSubmit"], [1, "form-group"], ["for", "next-step", 1, "form-label"], ["id", "next-step", "formControlName", "trigger", 1, "form-control", "ccd-dropdown", 3, "ngClass", "change"], ["value", "", "data-default", "", 4, "ngIf"], [3, "ngValue", "title", 4, "ngFor", "ngForOf"], ["type", "submit", 1, "button", 3, "disabled"], ["value", "", "data-default", ""], [3, "ngValue", "title"]], template: function EventTriggerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25634
25500
|
i0.ɵɵtemplate(0, EventTriggerComponent_form_0_Template, 9, 8, "form", 0);
|
|
25635
25501
|
} if (rf & 2) {
|
|
25636
25502
|
i0.ɵɵproperty("ngIf", ctx.triggers && ctx.triggers.length);
|
|
25637
|
-
} }, directives: [i1.NgIf,
|
|
25503
|
+
} }, directives: [i1.NgIf, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlName, i1.NgClass, i1.NgForOf, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z], styles: [".event-trigger[_ngcontent-%COMP%]{width:auto;margin-top:40px;margin-bottom:20px}.event-trigger[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-top:3px;margin-right:10px;margin-bottom:0;float:left;text-align:right;width:325px}.event-trigger[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{float:left;margin-top:5px}.event-trigger[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:250px}.event-trigger[_ngcontent-%COMP%] select.EventTrigger-empty[_ngcontent-%COMP%], .event-trigger[_ngcontent-%COMP%] select[_ngcontent-%COMP%] [data-default][_ngcontent-%COMP%]{color:#6f777b}"] });
|
|
25638
25504
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventTriggerComponent, [{
|
|
25639
25505
|
type: Component,
|
|
25640
25506
|
args: [{
|
|
@@ -25642,7 +25508,7 @@ EventTriggerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: EventTriggerCompone
|
|
|
25642
25508
|
templateUrl: './event-trigger.component.html',
|
|
25643
25509
|
styleUrls: ['./event-trigger.component.scss']
|
|
25644
25510
|
}]
|
|
25645
|
-
}], function () { return [{ type:
|
|
25511
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: OrderService }]; }, { triggers: [{
|
|
25646
25512
|
type: Input
|
|
25647
25513
|
}], triggerText: [{
|
|
25648
25514
|
type: Input
|
|
@@ -25886,7 +25752,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
25886
25752
|
}
|
|
25887
25753
|
}
|
|
25888
25754
|
CaseChallengedAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
25889
|
-
CaseChallengedAccessRequestComponent.ɵfac = function CaseChallengedAccessRequestComponent_Factory(t) { return new (t || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(
|
|
25755
|
+
CaseChallengedAccessRequestComponent.ɵfac = function CaseChallengedAccessRequestComponent_Factory(t) { return new (t || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
25890
25756
|
CaseChallengedAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], decls: 40, vars: 22, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "formGroup", "submit"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], [1, "govuk-form-group"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "aria-describedby", "reason-3-label", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25891
25757
|
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
25892
25758
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -25998,7 +25864,7 @@ CaseChallengedAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Case
|
|
|
25998
25864
|
selector: 'ccd-case-challenged-access-request',
|
|
25999
25865
|
templateUrl: './case-challenged-access-request.component.html'
|
|
26000
25866
|
}]
|
|
26001
|
-
}], function () { return [{ type:
|
|
25867
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }]; }, null); })();
|
|
26002
25868
|
|
|
26003
25869
|
class CaseChallengedAccessSuccessComponent {
|
|
26004
25870
|
constructor(route) {
|
|
@@ -26228,7 +26094,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
26228
26094
|
}
|
|
26229
26095
|
}
|
|
26230
26096
|
CaseReviewSpecificAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
26231
|
-
CaseReviewSpecificAccessRequestComponent.ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(t) { return new (t || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(
|
|
26097
|
+
CaseReviewSpecificAccessRequestComponent.ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(t) { return new (t || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
26232
26098
|
CaseReviewSpecificAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], decls: 64, vars: 22, consts: [[3, "error", 4, "ngIf"], [3, "formGroup", "submit"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26233
26099
|
i0.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
26234
26100
|
i0.ɵɵelementStart(1, "form", 1);
|
|
@@ -26382,7 +26248,7 @@ CaseReviewSpecificAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type:
|
|
|
26382
26248
|
templateUrl: './case-review-specific-access-request.component.html',
|
|
26383
26249
|
styleUrls: ['./case-review-specific-access-request.component.scss']
|
|
26384
26250
|
}]
|
|
26385
|
-
}], function () { return [{ type:
|
|
26251
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AbstractAppConfig }]; }, null); })();
|
|
26386
26252
|
|
|
26387
26253
|
var SpecificAccessRequestPageText;
|
|
26388
26254
|
(function (SpecificAccessRequestPageText) {
|
|
@@ -26491,7 +26357,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
26491
26357
|
}
|
|
26492
26358
|
}
|
|
26493
26359
|
CaseSpecificAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
26494
|
-
CaseSpecificAccessRequestComponent.ɵfac = function CaseSpecificAccessRequestComponent_Factory(t) { return new (t || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(
|
|
26360
|
+
CaseSpecificAccessRequestComponent.ɵfac = function CaseSpecificAccessRequestComponent_Factory(t) { return new (t || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
26495
26361
|
CaseSpecificAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 39, vars: 11, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "formGroup", "submit"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["role", "button", "aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26496
26362
|
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
26497
26363
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -26579,7 +26445,7 @@ CaseSpecificAccessRequestComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseSp
|
|
|
26579
26445
|
selector: 'ccd-case-specific-access-request',
|
|
26580
26446
|
templateUrl: './case-specific-access-request.component.html',
|
|
26581
26447
|
}]
|
|
26582
|
-
}], function () { return [{ type:
|
|
26448
|
+
}], function () { return [{ type: i2.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }]; }, null); })();
|
|
26583
26449
|
|
|
26584
26450
|
class CaseSpecificAccessSuccessComponent {
|
|
26585
26451
|
constructor(route) {
|
|
@@ -26766,9 +26632,9 @@ i0.ɵɵsetComponentScope(CaseViewerComponent, [i1.NgIf, CaseBasicAccessViewCompo
|
|
|
26766
26632
|
CaseFullAccessViewComponent], []);
|
|
26767
26633
|
i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, [i1.NgIf, i1.NgForOf, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, i1$1.RouterLinkWithHref, EventTriggerComponent, NotificationBannerComponent, i9.MatTabGroup, i9.MatTab, i9.MatTabContent, LabelSubstitutorDirective, i1.NgSwitch, i1.NgSwitchCase, FieldReadComponent, i1$1.RouterOutlet], [ReadFieldsFilterPipe, CcdTabFieldsPipe, IsCompoundPipe]);
|
|
26768
26634
|
i0.ɵɵsetComponentScope(CaseViewComponent, [i1.NgIf, CaseViewerComponent], []);
|
|
26769
|
-
i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, [i1.NgIf, ErrorMessageComponent, AlertComponent,
|
|
26770
|
-
i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, [i1.NgIf, ErrorMessageComponent, AlertComponent,
|
|
26771
|
-
i0.ɵɵsetComponentScope(CaseReviewSpecificAccessRequestComponent, [i1.NgIf, ErrorMessageComponent,
|
|
26635
|
+
i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, [i1.NgIf, ErrorMessageComponent, AlertComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], []);
|
|
26636
|
+
i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, [i1.NgIf, ErrorMessageComponent, AlertComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], []);
|
|
26637
|
+
i0.ɵɵsetComponentScope(CaseReviewSpecificAccessRequestComponent, [i1.NgIf, ErrorMessageComponent, i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i2.RadioControlValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], []);
|
|
26772
26638
|
|
|
26773
26639
|
const viewerRouting = [
|
|
26774
26640
|
{
|
|
@@ -27110,7 +26976,7 @@ CreateCaseFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CreateCaseFilt
|
|
|
27110
26976
|
i0.ɵɵproperty("disabled", !ctx.isCreatable());
|
|
27111
26977
|
i0.ɵɵadvance(1);
|
|
27112
26978
|
i0.ɵɵtextInterpolate(ctx.startButtonText);
|
|
27113
|
-
} }, directives: [
|
|
26979
|
+
} }, directives: [i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.NgForm, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgForOf], encapsulation: 2 });
|
|
27114
26980
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CreateCaseFiltersComponent, [{
|
|
27115
26981
|
type: Component,
|
|
27116
26982
|
args: [{
|
|
@@ -27564,7 +27430,7 @@ SearchFiltersModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
27564
27430
|
]
|
|
27565
27431
|
}]
|
|
27566
27432
|
}], null, null); })();
|
|
27567
|
-
i0.ɵɵsetComponentScope(SearchFiltersComponent, [
|
|
27433
|
+
i0.ɵɵsetComponentScope(SearchFiltersComponent, [i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.NgForm, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgModel, i1.NgForOf, i2.NgSelectOption, i2.ɵangular_packages_forms_forms_z, i1.NgIf, ConditionalShowFormDirective, i2.FormGroupDirective, FieldWriteComponent], []);
|
|
27568
27434
|
i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, [i1.NgIf, SearchFiltersComponent], []);
|
|
27569
27435
|
|
|
27570
27436
|
function SearchResultComponent_table_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -28432,7 +28298,7 @@ SearchResultModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
28432
28298
|
]
|
|
28433
28299
|
}]
|
|
28434
28300
|
}], null, null); })();
|
|
28435
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], [i1.DecimalPipe, i1$
|
|
28301
|
+
i0.ɵɵsetComponentScope(SearchResultComponent, [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], [i1.DecimalPipe, i1$6.PaginatePipe, CaseReferencePipe, SortSearchResultPipe]);
|
|
28436
28302
|
|
|
28437
28303
|
class ComplexFieldOverride {
|
|
28438
28304
|
}
|
|
@@ -28672,5 +28538,5 @@ class TestRouteSnapshotBuilder {
|
|
|
28672
28538
|
* Generated bundle index. Do not edit.
|
|
28673
28539
|
*/
|
|
28674
28540
|
|
|
28675
|
-
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, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded,
|
|
28541
|
+
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, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, 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, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, 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, TestRouteSnapshotBuilder, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
28676
28542
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|