@hmcts/ccd-case-ui-toolkit 6.10.7-case-flags-multiple-case-flags-tabs-support-v2 → 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 +266 -251
- 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/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/case-flag-table/case-flag-table.component.js +8 -16
- 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/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 +2 -4
- package/esm2015/lib/shared/components/palette/palette.module.js +3 -3
- 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 +256 -244
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.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/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/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.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/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/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
|
@@ -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 {
|
|
@@ -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,9 +10667,8 @@ 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) {
|
|
@@ -10676,9 +10738,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
10676
10738
|
if (this.route.snapshot.data.case && this.route.snapshot.data.case.tabs) {
|
|
10677
10739
|
this.flagsData = this.route.snapshot.data.case.tabs
|
|
10678
10740
|
.filter(tab => tab.fields && tab.fields
|
|
10679
|
-
|
|
10680
|
-
// required to ensure the correct instance is obtained
|
|
10681
|
-
.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) => {
|
|
10682
10742
|
return FieldsUtils.extractFlagsDataFromCaseField(flags, caseField, caseField.id, caseField);
|
|
10683
10743
|
}, []);
|
|
10684
10744
|
}
|
|
@@ -11276,7 +11336,7 @@ function WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
11276
11336
|
i0.ɵɵadvance(1);
|
|
11277
11337
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label));
|
|
11278
11338
|
} }
|
|
11279
|
-
const _c1$
|
|
11339
|
+
const _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
11280
11340
|
class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
11281
11341
|
ngOnInit() {
|
|
11282
11342
|
if (this.caseField.value) {
|
|
@@ -11338,7 +11398,7 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
|
|
|
11338
11398
|
i0.ɵɵelement(5, "input", 5);
|
|
11339
11399
|
i0.ɵɵelementEnd();
|
|
11340
11400
|
} if (rf & 2) {
|
|
11341
|
-
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)));
|
|
11342
11402
|
i0.ɵɵadvance(1);
|
|
11343
11403
|
i0.ɵɵproperty("for", ctx.id());
|
|
11344
11404
|
i0.ɵɵadvance(1);
|
|
@@ -11377,7 +11437,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11377
11437
|
i0.ɵɵadvance(4);
|
|
11378
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);
|
|
11379
11439
|
} }
|
|
11380
|
-
const _c1$
|
|
11440
|
+
const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11381
11441
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
11382
11442
|
i0.ɵɵelementStart(0, "tr");
|
|
11383
11443
|
i0.ɵɵelementStart(1, "td");
|
|
@@ -11389,7 +11449,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
11389
11449
|
const i_r5 = ctx.index;
|
|
11390
11450
|
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
11391
11451
|
i0.ɵɵadvance(2);
|
|
11392
|
-
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));
|
|
11393
11453
|
} }
|
|
11394
11454
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
11395
11455
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -12222,7 +12282,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
|
|
|
12222
12282
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
12223
12283
|
i0.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
12224
12284
|
} }
|
|
12225
|
-
const _c1$
|
|
12285
|
+
const _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
12226
12286
|
class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
12227
12287
|
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
12228
12288
|
super();
|
|
@@ -12511,7 +12571,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
12511
12571
|
i0.ɵɵelementEnd();
|
|
12512
12572
|
i0.ɵɵelementEnd();
|
|
12513
12573
|
} if (rf & 2) {
|
|
12514
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$
|
|
12574
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
12515
12575
|
i0.ɵɵadvance(1);
|
|
12516
12576
|
i0.ɵɵproperty("for", ctx.id());
|
|
12517
12577
|
i0.ɵɵadvance(1);
|
|
@@ -12820,7 +12880,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
12820
12880
|
i0.ɵɵadvance(1);
|
|
12821
12881
|
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
12822
12882
|
} }
|
|
12823
|
-
const _c1$
|
|
12883
|
+
const _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
12824
12884
|
class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
12825
12885
|
ngOnInit() {
|
|
12826
12886
|
/**
|
|
@@ -12861,7 +12921,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
12861
12921
|
i0.ɵɵelementEnd();
|
|
12862
12922
|
i0.ɵɵelementEnd();
|
|
12863
12923
|
} if (rf & 2) {
|
|
12864
|
-
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());
|
|
12865
12925
|
i0.ɵɵadvance(3);
|
|
12866
12926
|
i0.ɵɵproperty("for", ctx.id());
|
|
12867
12927
|
i0.ɵɵadvance(1);
|
|
@@ -12946,7 +13006,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
12946
13006
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
12947
13007
|
} }
|
|
12948
13008
|
const _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
12949
|
-
const _c1$
|
|
13009
|
+
const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
12950
13010
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
12951
13011
|
ngOnInit() {
|
|
12952
13012
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -12973,7 +13033,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
12973
13033
|
i0.ɵɵadvance(1);
|
|
12974
13034
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
12975
13035
|
i0.ɵɵadvance(1);
|
|
12976
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
13036
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
12977
13037
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
12978
13038
|
const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
12979
13039
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -13213,7 +13273,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13213
13273
|
i0.ɵɵadvance(1);
|
|
13214
13274
|
i0.ɵɵtextInterpolate(radioButton_r4.label);
|
|
13215
13275
|
} }
|
|
13216
|
-
const _c1$
|
|
13276
|
+
const _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
13217
13277
|
class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13218
13278
|
ngOnInit() {
|
|
13219
13279
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
@@ -13237,7 +13297,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
13237
13297
|
i0.ɵɵelementEnd();
|
|
13238
13298
|
i0.ɵɵelementEnd();
|
|
13239
13299
|
} if (rf & 2) {
|
|
13240
|
-
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());
|
|
13241
13301
|
i0.ɵɵadvance(3);
|
|
13242
13302
|
i0.ɵɵproperty("for", ctx.id());
|
|
13243
13303
|
i0.ɵɵadvance(1);
|
|
@@ -13919,7 +13979,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13919
13979
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
13920
13980
|
} }
|
|
13921
13981
|
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
13922
|
-
const _c1$
|
|
13982
|
+
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13923
13983
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
13924
13984
|
ngOnInit() {
|
|
13925
13985
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -13946,7 +14006,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
13946
14006
|
i0.ɵɵadvance(1);
|
|
13947
14007
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
13948
14008
|
i0.ɵɵadvance(1);
|
|
13949
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14009
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
13950
14010
|
} }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13951
14011
|
const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
13952
14012
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -14600,7 +14660,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14600
14660
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
|
|
14601
14661
|
} }
|
|
14602
14662
|
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
14603
|
-
const _c1$
|
|
14663
|
+
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14604
14664
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
14605
14665
|
ngOnInit() {
|
|
14606
14666
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14627,7 +14687,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
14627
14687
|
i0.ɵɵadvance(1);
|
|
14628
14688
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
14629
14689
|
i0.ɵɵadvance(1);
|
|
14630
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14690
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
14631
14691
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14632
14692
|
const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
14633
14693
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -14688,7 +14748,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14688
14748
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
|
|
14689
14749
|
} }
|
|
14690
14750
|
const _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
14691
|
-
const _c1$
|
|
14751
|
+
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
14692
14752
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
14693
14753
|
constructor(browserService) {
|
|
14694
14754
|
super();
|
|
@@ -14728,7 +14788,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
14728
14788
|
i0.ɵɵadvance(1);
|
|
14729
14789
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
14730
14790
|
i0.ɵɵadvance(1);
|
|
14731
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
14732
14792
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14733
14793
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
14734
14794
|
type: Component,
|
|
@@ -14789,7 +14849,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14789
14849
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
|
|
14790
14850
|
} }
|
|
14791
14851
|
const _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
14792
|
-
const _c1$
|
|
14852
|
+
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14793
14853
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
14794
14854
|
ngOnInit() {
|
|
14795
14855
|
this.textControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14821,7 +14881,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
14821
14881
|
i0.ɵɵadvance(1);
|
|
14822
14882
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
14823
14883
|
i0.ɵɵadvance(1);
|
|
14824
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
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);
|
|
14825
14885
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14826
14886
|
const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
14827
14887
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -14997,7 +15057,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
14997
15057
|
i0.ɵɵadvance(1);
|
|
14998
15058
|
i0.ɵɵtextInterpolate(value_r4);
|
|
14999
15059
|
} }
|
|
15000
|
-
const _c1$
|
|
15060
|
+
const _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
15001
15061
|
class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
15002
15062
|
constructor(yesNoService) {
|
|
15003
15063
|
super();
|
|
@@ -15023,7 +15083,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
15023
15083
|
i0.ɵɵelementEnd();
|
|
15024
15084
|
i0.ɵɵelementEnd();
|
|
15025
15085
|
} if (rf & 2) {
|
|
15026
|
-
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)));
|
|
15027
15087
|
i0.ɵɵadvance(3);
|
|
15028
15088
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15029
15089
|
i0.ɵɵadvance(1);
|
|
@@ -15384,7 +15444,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
15384
15444
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15385
15445
|
i0.ɵɵelementContainer(0);
|
|
15386
15446
|
} }
|
|
15387
|
-
const _c1$
|
|
15447
|
+
const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
15388
15448
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15389
15449
|
i0.ɵɵelementContainerStart(0);
|
|
15390
15450
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -15395,7 +15455,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
15395
15455
|
i0.ɵɵnextContext();
|
|
15396
15456
|
const _r1 = i0.ɵɵreference(13);
|
|
15397
15457
|
i0.ɵɵadvance(1);
|
|
15398
|
-
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));
|
|
15399
15459
|
} }
|
|
15400
15460
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
15401
15461
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -15571,7 +15631,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
15571
15631
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
15572
15632
|
} }
|
|
15573
15633
|
const _c0$r = [[["", "trigger", ""]]];
|
|
15574
|
-
const _c1$
|
|
15634
|
+
const _c1$8 = ["[trigger]"];
|
|
15575
15635
|
class CaseFileViewOverlayMenuComponent {
|
|
15576
15636
|
constructor() {
|
|
15577
15637
|
this.title = '';
|
|
@@ -15585,7 +15645,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
15585
15645
|
}
|
|
15586
15646
|
}
|
|
15587
15647
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
15588
|
-
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) {
|
|
15589
15649
|
i0.ɵɵprojectionDef(_c0$r);
|
|
15590
15650
|
i0.ɵɵelementStart(0, "div");
|
|
15591
15651
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
@@ -15599,7 +15659,7 @@ CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFile
|
|
|
15599
15659
|
const _r0 = i0.ɵɵreference(2);
|
|
15600
15660
|
i0.ɵɵadvance(4);
|
|
15601
15661
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
15602
|
-
} }, 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:-
|
|
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}"] });
|
|
15603
15663
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
15604
15664
|
type: Component,
|
|
15605
15665
|
args: [{
|
|
@@ -16078,6 +16138,7 @@ class CaseFileViewFolderComponent {
|
|
|
16078
16138
|
data: { categories: this.categories, document: node }
|
|
16079
16139
|
});
|
|
16080
16140
|
dialogRef.afterClosed().subscribe(newCatId => {
|
|
16141
|
+
console.log(newCatId, node);
|
|
16081
16142
|
if (newCatId) {
|
|
16082
16143
|
this.moveDocument.emit({ newCategory: newCatId, document: node });
|
|
16083
16144
|
}
|
|
@@ -16151,25 +16212,20 @@ function CaseFlagTableComponent_table_0_tr_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
16151
16212
|
i0.ɵɵelementEnd();
|
|
16152
16213
|
} }
|
|
16153
16214
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) { if (rf & 1) {
|
|
16154
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16215
|
+
i0.ɵɵelementStart(0, "strong", 19);
|
|
16155
16216
|
i0.ɵɵtext(1, "Active");
|
|
16156
16217
|
i0.ɵɵelementEnd();
|
|
16157
16218
|
} }
|
|
16158
16219
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) { if (rf & 1) {
|
|
16159
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16220
|
+
i0.ɵɵelementStart(0, "strong", 20);
|
|
16160
16221
|
i0.ɵɵtext(1, "Inactive");
|
|
16161
16222
|
i0.ɵɵelementEnd();
|
|
16162
16223
|
} }
|
|
16163
16224
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) { if (rf & 1) {
|
|
16164
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16225
|
+
i0.ɵɵelementStart(0, "strong", 20);
|
|
16165
16226
|
i0.ɵɵtext(1, "Requested");
|
|
16166
16227
|
i0.ɵɵelementEnd();
|
|
16167
16228
|
} }
|
|
16168
|
-
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) { if (rf & 1) {
|
|
16169
|
-
i0.ɵɵelementStart(0, "strong", 22);
|
|
16170
|
-
i0.ɵɵtext(1, "Not approved");
|
|
16171
|
-
i0.ɵɵelementEnd();
|
|
16172
|
-
} }
|
|
16173
16229
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16174
16230
|
i0.ɵɵelementStart(0, "tr", 15);
|
|
16175
16231
|
i0.ɵɵelementStart(1, "td", 16);
|
|
@@ -16195,7 +16251,6 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16195
16251
|
i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
16196
16252
|
i0.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
16197
16253
|
i0.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
16198
|
-
i0.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
16199
16254
|
i0.ɵɵelementEnd();
|
|
16200
16255
|
i0.ɵɵelementEnd();
|
|
16201
16256
|
} if (rf & 2) {
|
|
@@ -16208,21 +16263,19 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16208
16263
|
i0.ɵɵadvance(2);
|
|
16209
16264
|
i0.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
16210
16265
|
i0.ɵɵadvance(2);
|
|
16211
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10,
|
|
16266
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 8, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
16212
16267
|
i0.ɵɵadvance(3);
|
|
16213
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13,
|
|
16268
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 11, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
16214
16269
|
i0.ɵɵadvance(3);
|
|
16215
16270
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
16216
16271
|
i0.ɵɵadvance(1);
|
|
16217
16272
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
16218
16273
|
i0.ɵɵadvance(1);
|
|
16219
16274
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
16220
|
-
i0.ɵɵadvance(1);
|
|
16221
|
-
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
16222
16275
|
} }
|
|
16223
16276
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) { if (rf & 1) {
|
|
16224
16277
|
i0.ɵɵelementStart(0, "tbody", 10);
|
|
16225
|
-
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);
|
|
16226
16279
|
i0.ɵɵelementEnd();
|
|
16227
16280
|
} if (rf & 2) {
|
|
16228
16281
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -16275,7 +16328,7 @@ class CaseFlagTableComponent {
|
|
|
16275
16328
|
}
|
|
16276
16329
|
}
|
|
16277
16330
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
16278
|
-
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) {
|
|
16279
16332
|
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
16280
16333
|
} if (rf & 2) {
|
|
16281
16334
|
i0.ɵɵproperty("ngIf", ctx.flagData);
|
|
@@ -16342,7 +16395,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16342
16395
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
16343
16396
|
} }
|
|
16344
16397
|
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
16345
|
-
const _c1$
|
|
16398
|
+
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16346
16399
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
16347
16400
|
i0.ɵɵelementStart(0, "div", 15);
|
|
16348
16401
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16360,7 +16413,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
16360
16413
|
i0.ɵɵadvance(3);
|
|
16361
16414
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
16362
16415
|
i0.ɵɵadvance(1);
|
|
16363
|
-
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);
|
|
16364
16417
|
} }
|
|
16365
16418
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
16366
16419
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
@@ -17366,9 +17419,9 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
17366
17419
|
type: Output
|
|
17367
17420
|
}] }); })();
|
|
17368
17421
|
|
|
17369
|
-
function
|
|
17370
|
-
i0.ɵɵelementStart(0, "div",
|
|
17371
|
-
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);
|
|
17372
17425
|
i0.ɵɵtext(2, "Error:");
|
|
17373
17426
|
i0.ɵɵelementEnd();
|
|
17374
17427
|
i0.ɵɵtext(3);
|
|
@@ -17378,9 +17431,9 @@ function UpdateFlagComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
17378
17431
|
i0.ɵɵadvance(3);
|
|
17379
17432
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
17380
17433
|
} }
|
|
17381
|
-
function
|
|
17382
|
-
i0.ɵɵelementStart(0, "div",
|
|
17383
|
-
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);
|
|
17384
17437
|
i0.ɵɵtext(2, "Error:");
|
|
17385
17438
|
i0.ɵɵelementEnd();
|
|
17386
17439
|
i0.ɵɵtext(3);
|
|
@@ -17390,25 +17443,15 @@ function UpdateFlagComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
17390
17443
|
i0.ɵɵadvance(3);
|
|
17391
17444
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
17392
17445
|
} }
|
|
17393
|
-
function
|
|
17394
|
-
i0.ɵɵ
|
|
17395
|
-
i0.ɵɵ
|
|
17396
|
-
i0.ɵɵ
|
|
17397
|
-
i0.ɵɵ
|
|
17398
|
-
i0.ɵɵtext(4);
|
|
17399
|
-
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 ");
|
|
17400
17451
|
i0.ɵɵelementEnd();
|
|
17401
|
-
} if (rf & 2) {
|
|
17402
|
-
const status_r3 = ctx.$implicit;
|
|
17403
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
17404
|
-
i0.ɵɵadvance(1);
|
|
17405
|
-
i0.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0.ɵɵpipeBind1(2, 4, status_r3));
|
|
17406
|
-
i0.ɵɵadvance(2);
|
|
17407
|
-
i0.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
17408
|
-
i0.ɵɵadvance(1);
|
|
17409
|
-
i0.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
17410
17452
|
} }
|
|
17411
17453
|
const _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
17454
|
+
const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
17412
17455
|
class UpdateFlagComponent {
|
|
17413
17456
|
constructor() {
|
|
17414
17457
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -17416,25 +17459,22 @@ class UpdateFlagComponent {
|
|
|
17416
17459
|
this.errorMessages = [];
|
|
17417
17460
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17418
17461
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17419
|
-
this.
|
|
17420
|
-
this.caseFlagStatuses = CaseFlagStatus;
|
|
17421
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
17422
|
-
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
17423
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
17424
|
-
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
17462
|
+
this.updateFlagControlName = 'flagComments';
|
|
17425
17463
|
this.commentsMaxCharLimit = 200;
|
|
17426
17464
|
}
|
|
17427
17465
|
ngOnInit() {
|
|
17466
|
+
this.updateFlagHint = UpdateFlagStep.HINT_TEXT;
|
|
17467
|
+
this.updateFlagCharLimitInfo = UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
17468
|
+
this.formGroup.addControl(this.updateFlagControlName, new FormControl(''));
|
|
17428
17469
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
17429
17470
|
const flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
17430
|
-
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new FormControl(flagDetail.status));
|
|
17431
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new FormControl(''));
|
|
17432
|
-
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new FormControl(false));
|
|
17433
17471
|
// Populate flag comments text area with existing comments
|
|
17434
|
-
this.formGroup.
|
|
17472
|
+
this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
|
|
17435
17473
|
if (flagDetail.name) {
|
|
17436
17474
|
this.updateFlagTitle =
|
|
17437
|
-
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17475
|
+
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17476
|
+
? `, ${flagDetail.subTypeValue}"`
|
|
17477
|
+
: '"'}`;
|
|
17438
17478
|
}
|
|
17439
17479
|
}
|
|
17440
17480
|
}
|
|
@@ -17443,7 +17483,7 @@ class UpdateFlagComponent {
|
|
|
17443
17483
|
this.validateTextEntry();
|
|
17444
17484
|
// If validation has passed, update the flag details with the comments entered
|
|
17445
17485
|
if (this.errorMessages.length === 0) {
|
|
17446
|
-
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 });
|
|
17447
17487
|
}
|
|
17448
17488
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
17449
17489
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -17453,17 +17493,22 @@ class UpdateFlagComponent {
|
|
|
17453
17493
|
selectedFlag: this.selectedFlag
|
|
17454
17494
|
});
|
|
17455
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
|
+
}
|
|
17456
17501
|
validateTextEntry() {
|
|
17457
17502
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17458
17503
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17459
17504
|
this.errorMessages = [];
|
|
17460
|
-
const comment = this.formGroup.get(this.
|
|
17505
|
+
const comment = this.formGroup.get(this.updateFlagControlName).value;
|
|
17461
17506
|
if (!comment) {
|
|
17462
17507
|
this.updateFlagNotEnteredErrorMessage = UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
17463
17508
|
this.errorMessages.push({
|
|
17464
17509
|
title: '',
|
|
17465
17510
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
17466
|
-
fieldId: this.
|
|
17511
|
+
fieldId: this.updateFlagControlName
|
|
17467
17512
|
});
|
|
17468
17513
|
}
|
|
17469
17514
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -17471,13 +17516,13 @@ class UpdateFlagComponent {
|
|
|
17471
17516
|
this.errorMessages.push({
|
|
17472
17517
|
title: '',
|
|
17473
17518
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
17474
|
-
fieldId: this.
|
|
17519
|
+
fieldId: this.updateFlagControlName
|
|
17475
17520
|
});
|
|
17476
17521
|
}
|
|
17477
17522
|
}
|
|
17478
17523
|
}
|
|
17479
17524
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
17480
|
-
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) {
|
|
17481
17526
|
i0.ɵɵelementStart(0, "div", 0);
|
|
17482
17527
|
i0.ɵɵelementStart(1, "div", 1);
|
|
17483
17528
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -17487,98 +17532,65 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
17487
17532
|
i0.ɵɵelementEnd();
|
|
17488
17533
|
i0.ɵɵelementEnd();
|
|
17489
17534
|
i0.ɵɵelementStart(6, "div", 5);
|
|
17490
|
-
i0.ɵɵ
|
|
17491
|
-
i0.ɵɵelementStart(8, "label", 6);
|
|
17492
|
-
i0.ɵɵtext(9);
|
|
17493
|
-
i0.ɵɵelementEnd();
|
|
17494
|
-
i0.ɵɵelementEnd();
|
|
17495
|
-
i0.ɵɵelementStart(10, "div", 7);
|
|
17496
|
-
i0.ɵɵtext(11);
|
|
17497
|
-
i0.ɵɵelementEnd();
|
|
17498
|
-
i0.ɵɵtemplate(12, UpdateFlagComponent_div_12_Template, 4, 1, "div", 8);
|
|
17499
|
-
i0.ɵɵtemplate(13, UpdateFlagComponent_div_13_Template, 4, 1, "div", 9);
|
|
17500
|
-
i0.ɵɵelementStart(14, "textarea", 10);
|
|
17501
|
-
i0.ɵɵtext(15, " ");
|
|
17502
|
-
i0.ɵɵelementEnd();
|
|
17503
|
-
i0.ɵɵelementStart(16, "div", 11);
|
|
17504
|
-
i0.ɵɵtext(17);
|
|
17505
|
-
i0.ɵɵelementEnd();
|
|
17535
|
+
i0.ɵɵtext(7);
|
|
17506
17536
|
i0.ɵɵelementEnd();
|
|
17507
|
-
i0.ɵɵ
|
|
17508
|
-
i0.ɵɵ
|
|
17509
|
-
i0.ɵɵelementStart(
|
|
17510
|
-
i0.ɵɵtext(
|
|
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, " ");
|
|
17511
17541
|
i0.ɵɵelementEnd();
|
|
17512
|
-
i0.ɵɵ
|
|
17513
|
-
i0.ɵɵ
|
|
17514
|
-
i0.ɵɵelementStart(23, "div", 14);
|
|
17515
|
-
i0.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
17516
|
-
i0.ɵɵpipe(25, "enumDisplayDescription");
|
|
17517
|
-
i0.ɵɵelementEnd();
|
|
17518
|
-
i0.ɵɵelementEnd();
|
|
17519
|
-
i0.ɵɵelementStart(26, "div");
|
|
17520
|
-
i0.ɵɵelementStart(27, "div", 16);
|
|
17521
|
-
i0.ɵɵtext(28);
|
|
17522
|
-
i0.ɵɵelementEnd();
|
|
17523
|
-
i0.ɵɵelementStart(29, "textarea", 17);
|
|
17524
|
-
i0.ɵɵtext(30, " ");
|
|
17542
|
+
i0.ɵɵelementStart(12, "div", 9);
|
|
17543
|
+
i0.ɵɵtext(13);
|
|
17525
17544
|
i0.ɵɵelementEnd();
|
|
17526
17545
|
i0.ɵɵelementEnd();
|
|
17527
17546
|
i0.ɵɵelementEnd();
|
|
17528
|
-
i0.ɵɵelementStart(
|
|
17529
|
-
i0.ɵɵelementStart(
|
|
17530
|
-
i0.ɵɵelementStart(
|
|
17531
|
-
i0.ɵɵ
|
|
17532
|
-
i0.ɵɵelementStart(
|
|
17533
|
-
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);
|
|
17534
17554
|
i0.ɵɵelementEnd();
|
|
17535
17555
|
i0.ɵɵelementEnd();
|
|
17536
17556
|
i0.ɵɵelementEnd();
|
|
17537
17557
|
i0.ɵɵelementEnd();
|
|
17558
|
+
i0.ɵɵelementStart(21, "div", 11);
|
|
17559
|
+
i0.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
17538
17560
|
i0.ɵɵelementEnd();
|
|
17539
17561
|
i0.ɵɵelementEnd();
|
|
17540
|
-
i0.ɵɵelementStart(
|
|
17541
|
-
i0.ɵɵelementStart(
|
|
17542
|
-
i0.ɵɵlistener("click", function
|
|
17543
|
-
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");
|
|
17544
17566
|
i0.ɵɵelementEnd();
|
|
17545
17567
|
i0.ɵɵelementEnd();
|
|
17546
17568
|
i0.ɵɵelementEnd();
|
|
17547
17569
|
} if (rf & 2) {
|
|
17548
17570
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
17549
17571
|
i0.ɵɵadvance(2);
|
|
17550
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
17551
|
-
i0.ɵɵadvance(
|
|
17552
|
-
i0.ɵɵ
|
|
17553
|
-
i0.ɵɵadvance(3);
|
|
17554
|
-
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);
|
|
17555
17575
|
i0.ɵɵadvance(1);
|
|
17556
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, "
|
|
17576
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
17557
17577
|
i0.ɵɵadvance(2);
|
|
17558
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17578
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
|
|
17559
17579
|
i0.ɵɵadvance(1);
|
|
17560
17580
|
i0.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
17561
17581
|
i0.ɵɵadvance(1);
|
|
17562
17582
|
i0.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
17563
17583
|
i0.ɵɵadvance(1);
|
|
17564
|
-
i0.ɵɵproperty("id", ctx.
|
|
17584
|
+
i0.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
|
|
17565
17585
|
i0.ɵɵadvance(3);
|
|
17566
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17567
|
-
i0.ɵɵadvance(
|
|
17568
|
-
i0.ɵɵ
|
|
17569
|
-
i0.ɵɵadvance(2);
|
|
17570
|
-
i0.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
17571
|
-
i0.ɵɵadvance(1);
|
|
17572
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
17573
|
-
i0.ɵɵadvance(4);
|
|
17574
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
17575
|
-
i0.ɵɵadvance(1);
|
|
17576
|
-
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);
|
|
17577
|
-
i0.ɵɵadvance(5);
|
|
17578
|
-
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"));
|
|
17579
17589
|
i0.ɵɵadvance(1);
|
|
17580
|
-
i0.ɵɵ
|
|
17581
|
-
|
|
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 });
|
|
17582
17594
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
17583
17595
|
type: Component,
|
|
17584
17596
|
args: [{
|
|
@@ -19854,8 +19866,8 @@ i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1.NgIf, DatetimePic
|
|
|
19854
19866
|
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1.NgIf, i1.NgForOf, FieldWriteComponent, i2.NgControlStatusGroup, i2.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
|
|
19855
19867
|
i0.ɵɵsetComponentScope(
|
|
19856
19868
|
// ComponentLauncher web components
|
|
19857
|
-
CaseFileViewFieldComponent, [i1.NgIf, CaseFileViewFolderComponent, i11.ɵcs], []);
|
|
19858
|
-
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], []);
|
|
19859
19871
|
|
|
19860
19872
|
class Confirmation {
|
|
19861
19873
|
constructor(caseId, status, header, body) {
|
|
@@ -28526,5 +28538,5 @@ class TestRouteSnapshotBuilder {
|
|
|
28526
28538
|
* Generated bundle index. Do not edit.
|
|
28527
28539
|
*/
|
|
28528
28540
|
|
|
28529
|
-
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 };
|
|
28530
28542
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|