@hmcts/ccd-case-ui-toolkit 5.0.50-case-file-view-restrict-document-move → 5.0.50-case-flags-multiple-case-flags-tabs-support
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 +228 -149
- 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 +5 -5
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +4 -3
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +25 -26
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +16 -8
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +106 -64
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +4 -3
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +4 -2
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +16 -0
- package/esm2015/lib/shared/pipes/generic/index.js +2 -0
- package/esm2015/lib/shared/pipes/index.js +2 -1
- package/esm2015/lib/shared/pipes/pipes.module.js +9 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +221 -151
- 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/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +7 -5
- 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 +2 -1
- 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 +3 -2
- 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/generic/enum-display-description/enum-display-description.pipe.d.ts +8 -0
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/generic/index.d.ts +2 -0
- package/lib/shared/pipes/generic/index.d.ts.map +1 -0
- package/lib/shared/pipes/index.d.ts +1 -0
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +3 -2
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -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$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
119
|
-
const _c1$
|
|
119
|
+
const _c1$q = ["[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$q, 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$_);
|
|
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$Z = [[["", "headerNavigation", ""]]];
|
|
192
|
-
const _c1$
|
|
192
|
+
const _c1$p = ["[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$p, 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$Z);
|
|
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$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
|
-
const _c1$
|
|
261
|
+
const _c1$o = ["[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$o, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
266
|
i0.ɵɵprojectionDef(_c0$Y);
|
|
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$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
384
|
-
const _c1$
|
|
384
|
+
const _c1$n = ["[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$n, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
389
|
i0.ɵɵprojectionDef(_c0$X);
|
|
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$U = function (a0) { return { "js-hidden": a0 }; };
|
|
1015
|
-
const _c1$
|
|
1015
|
+
const _c1$m = ["*"];
|
|
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$m, 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$T = ["tab"];
|
|
1046
|
-
const _c1$
|
|
1046
|
+
const _c1$l = 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$l))("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,6 +2145,7 @@ var CaseFlagStatus;
|
|
|
2145
2145
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2146
2146
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2147
2147
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2148
|
+
CaseFlagStatus["NOT_APPROVED"] = "Not approved";
|
|
2148
2149
|
})(CaseFlagStatus || (CaseFlagStatus = {}));
|
|
2149
2150
|
|
|
2150
2151
|
class DashPipe {
|
|
@@ -9847,6 +9848,20 @@ FieldsFilterPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldsFilter", type: Fie
|
|
|
9847
9848
|
}]
|
|
9848
9849
|
}], null, null); })();
|
|
9849
9850
|
|
|
9851
|
+
class EnumDisplayDescriptionPipe {
|
|
9852
|
+
transform(value) {
|
|
9853
|
+
return Object.values(value);
|
|
9854
|
+
}
|
|
9855
|
+
}
|
|
9856
|
+
EnumDisplayDescriptionPipe.ɵfac = function EnumDisplayDescriptionPipe_Factory(t) { return new (t || EnumDisplayDescriptionPipe)(); };
|
|
9857
|
+
EnumDisplayDescriptionPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
|
|
9858
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
|
|
9859
|
+
type: Pipe,
|
|
9860
|
+
args: [{
|
|
9861
|
+
name: 'enumDisplayDescription'
|
|
9862
|
+
}]
|
|
9863
|
+
}], null, null); })();
|
|
9864
|
+
|
|
9850
9865
|
class LinkedCasesService {
|
|
9851
9866
|
constructor(jurisdictionService, searchService) {
|
|
9852
9867
|
this.jurisdictionService = jurisdictionService;
|
|
@@ -10031,7 +10046,8 @@ const pipeDeclarations = [
|
|
|
10031
10046
|
ReadFieldsFilterPipe,
|
|
10032
10047
|
CcdTabFieldsPipe,
|
|
10033
10048
|
CcdPageFieldsPipe,
|
|
10034
|
-
LinkCasesReasonValuePipe
|
|
10049
|
+
LinkCasesReasonValuePipe,
|
|
10050
|
+
EnumDisplayDescriptionPipe
|
|
10035
10051
|
];
|
|
10036
10052
|
class PipesModule {
|
|
10037
10053
|
}
|
|
@@ -10048,7 +10064,8 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10048
10064
|
ReadFieldsFilterPipe,
|
|
10049
10065
|
CcdTabFieldsPipe,
|
|
10050
10066
|
CcdPageFieldsPipe,
|
|
10051
|
-
LinkCasesReasonValuePipe
|
|
10067
|
+
LinkCasesReasonValuePipe,
|
|
10068
|
+
EnumDisplayDescriptionPipe], imports: [CommonModule], exports: [CaseReferencePipe,
|
|
10052
10069
|
SortSearchResultPipe,
|
|
10053
10070
|
CcdCaseTitlePipe,
|
|
10054
10071
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
@@ -10056,7 +10073,8 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10056
10073
|
ReadFieldsFilterPipe,
|
|
10057
10074
|
CcdTabFieldsPipe,
|
|
10058
10075
|
CcdPageFieldsPipe,
|
|
10059
|
-
LinkCasesReasonValuePipe
|
|
10076
|
+
LinkCasesReasonValuePipe,
|
|
10077
|
+
EnumDisplayDescriptionPipe] }); })();
|
|
10060
10078
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PipesModule, [{
|
|
10061
10079
|
type: NgModule,
|
|
10062
10080
|
args: [{
|
|
@@ -10067,7 +10085,7 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10067
10085
|
...pipeDeclarations
|
|
10068
10086
|
],
|
|
10069
10087
|
exports: [
|
|
10070
|
-
...pipeDeclarations
|
|
10088
|
+
...pipeDeclarations,
|
|
10071
10089
|
]
|
|
10072
10090
|
}]
|
|
10073
10091
|
}], null, null); })();
|
|
@@ -10284,7 +10302,7 @@ function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (r
|
|
|
10284
10302
|
i0.ɵɵtext(1, "Enter the Postcode");
|
|
10285
10303
|
i0.ɵɵelementEnd();
|
|
10286
10304
|
} }
|
|
10287
|
-
const _c1$
|
|
10305
|
+
const _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
10288
10306
|
const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
10289
10307
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
10290
10308
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -10303,7 +10321,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
|
|
|
10303
10321
|
i0.ɵɵelementEnd();
|
|
10304
10322
|
} if (rf & 2) {
|
|
10305
10323
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10306
|
-
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
10324
|
+
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$k, ctx_r2.missingPostcode));
|
|
10307
10325
|
i0.ɵɵadvance(1);
|
|
10308
10326
|
i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
10309
10327
|
i0.ɵɵadvance(3);
|
|
@@ -10557,7 +10575,7 @@ function CaseFileViewFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
|
|
|
10557
10575
|
} if (rf & 2) {
|
|
10558
10576
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10559
10577
|
i0.ɵɵadvance(1);
|
|
10560
|
-
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)
|
|
10578
|
+
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
|
|
10561
10579
|
} }
|
|
10562
10580
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10563
10581
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10573,7 +10591,7 @@ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10573
10591
|
i0.ɵɵelementEnd();
|
|
10574
10592
|
i0.ɵɵelement(6, "div", 9);
|
|
10575
10593
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10576
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2,
|
|
10594
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
|
|
10577
10595
|
i0.ɵɵelementEnd();
|
|
10578
10596
|
i0.ɵɵelementEnd();
|
|
10579
10597
|
i0.ɵɵelementEnd();
|
|
@@ -10649,7 +10667,7 @@ class CaseFileViewFieldComponent {
|
|
|
10649
10667
|
}
|
|
10650
10668
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10651
10669
|
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)); };
|
|
10652
|
-
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [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"
|
|
10670
|
+
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [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"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10653
10671
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
10654
10672
|
i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
|
|
10655
10673
|
} if (rf & 2) {
|
|
@@ -10683,7 +10701,7 @@ function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
|
|
|
10683
10701
|
} if (rf & 2) {
|
|
10684
10702
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10685
10703
|
i0.ɵɵadvance(1);
|
|
10686
|
-
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)
|
|
10704
|
+
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
|
|
10687
10705
|
} }
|
|
10688
10706
|
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10689
10707
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10699,7 +10717,7 @@ function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10699
10717
|
i0.ɵɵelementEnd();
|
|
10700
10718
|
i0.ɵɵelement(6, "div", 9);
|
|
10701
10719
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10702
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2,
|
|
10720
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
|
|
10703
10721
|
i0.ɵɵelementEnd();
|
|
10704
10722
|
i0.ɵɵelementEnd();
|
|
10705
10723
|
i0.ɵɵelementEnd();
|
|
@@ -10713,11 +10731,11 @@ function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10713
10731
|
class CaseFileViewFieldReadComponent extends CaseFileViewFieldComponent {
|
|
10714
10732
|
constructor() {
|
|
10715
10733
|
super(...arguments);
|
|
10716
|
-
this.allowMoving =
|
|
10734
|
+
this.allowMoving = true;
|
|
10717
10735
|
}
|
|
10718
10736
|
}
|
|
10719
10737
|
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
10720
|
-
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [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"
|
|
10738
|
+
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [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"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10721
10739
|
i0.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
|
|
10722
10740
|
i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
|
|
10723
10741
|
} if (rf & 2) {
|
|
@@ -10821,8 +10839,9 @@ var UpdateFlagErrorMessage;
|
|
|
10821
10839
|
|
|
10822
10840
|
var UpdateFlagStep;
|
|
10823
10841
|
(function (UpdateFlagStep) {
|
|
10824
|
-
UpdateFlagStep["
|
|
10825
|
-
UpdateFlagStep["
|
|
10842
|
+
UpdateFlagStep["COMMENT_HINT_TEXT"] = "Update the comments describing the user's support needs or flag description. Do not include any sensitive information such as personal details.";
|
|
10843
|
+
UpdateFlagStep["COMMENT_CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
10844
|
+
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
10826
10845
|
})(UpdateFlagStep || (UpdateFlagStep = {}));
|
|
10827
10846
|
|
|
10828
10847
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -10892,7 +10911,9 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
10892
10911
|
if (this.route.snapshot.data.case && this.route.snapshot.data.case.tabs) {
|
|
10893
10912
|
this.flagsData = this.route.snapshot.data.case.tabs
|
|
10894
10913
|
.filter(tab => tab.fields && tab.fields
|
|
10895
|
-
|
|
10914
|
+
// There could be more than one FlagLauncher field instance so an additional check of caseField ID is
|
|
10915
|
+
// required to ensure the correct instance is obtained
|
|
10916
|
+
.some(caseField => caseField.field_type.type === 'FlagLauncher' && caseField.id === this.caseField.id))[0].fields.reduce((flags, caseField) => {
|
|
10896
10917
|
return FieldsUtils.extractFlagsDataFromCaseField(flags, caseField, caseField.id, caseField);
|
|
10897
10918
|
}, []);
|
|
10898
10919
|
}
|
|
@@ -11625,7 +11646,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11625
11646
|
i0.ɵɵadvance(4);
|
|
11626
11647
|
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$O, 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);
|
|
11627
11648
|
} }
|
|
11628
|
-
const _c1$
|
|
11649
|
+
const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11629
11650
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
11630
11651
|
i0.ɵɵelementStart(0, "tr");
|
|
11631
11652
|
i0.ɵɵelementStart(1, "td");
|
|
@@ -11637,7 +11658,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
11637
11658
|
const i_r5 = ctx.index;
|
|
11638
11659
|
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
11639
11660
|
i0.ɵɵadvance(2);
|
|
11640
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$
|
|
11661
|
+
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));
|
|
11641
11662
|
} }
|
|
11642
11663
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
11643
11664
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -12470,7 +12491,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
|
|
|
12470
12491
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
12471
12492
|
i0.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
12472
12493
|
} }
|
|
12473
|
-
const _c1$
|
|
12494
|
+
const _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
12474
12495
|
class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
12475
12496
|
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
12476
12497
|
super();
|
|
@@ -12759,7 +12780,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
12759
12780
|
i0.ɵɵelementEnd();
|
|
12760
12781
|
i0.ɵɵelementEnd();
|
|
12761
12782
|
} if (rf & 2) {
|
|
12762
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$
|
|
12783
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
12763
12784
|
i0.ɵɵadvance(1);
|
|
12764
12785
|
i0.ɵɵproperty("for", ctx.id());
|
|
12765
12786
|
i0.ɵɵadvance(1);
|
|
@@ -13068,7 +13089,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
13068
13089
|
i0.ɵɵadvance(1);
|
|
13069
13090
|
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
13070
13091
|
} }
|
|
13071
|
-
const _c1$
|
|
13092
|
+
const _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
13072
13093
|
class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13073
13094
|
ngOnInit() {
|
|
13074
13095
|
/**
|
|
@@ -13109,7 +13130,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
13109
13130
|
i0.ɵɵelementEnd();
|
|
13110
13131
|
i0.ɵɵelementEnd();
|
|
13111
13132
|
} if (rf & 2) {
|
|
13112
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
13133
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
13113
13134
|
i0.ɵɵadvance(3);
|
|
13114
13135
|
i0.ɵɵproperty("for", ctx.id());
|
|
13115
13136
|
i0.ɵɵadvance(1);
|
|
@@ -13194,7 +13215,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13194
13215
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
13195
13216
|
} }
|
|
13196
13217
|
const _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
13197
|
-
const _c1$
|
|
13218
|
+
const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13198
13219
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
13199
13220
|
ngOnInit() {
|
|
13200
13221
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -13221,7 +13242,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
13221
13242
|
i0.ɵɵadvance(1);
|
|
13222
13243
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
13223
13244
|
i0.ɵɵadvance(1);
|
|
13224
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
13245
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
13225
13246
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13226
13247
|
const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
13227
13248
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -13461,7 +13482,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13461
13482
|
i0.ɵɵadvance(1);
|
|
13462
13483
|
i0.ɵɵtextInterpolate(radioButton_r4.label);
|
|
13463
13484
|
} }
|
|
13464
|
-
const _c1$
|
|
13485
|
+
const _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
13465
13486
|
class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13466
13487
|
ngOnInit() {
|
|
13467
13488
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
@@ -13485,7 +13506,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
13485
13506
|
i0.ɵɵelementEnd();
|
|
13486
13507
|
i0.ɵɵelementEnd();
|
|
13487
13508
|
} if (rf & 2) {
|
|
13488
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
13509
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
13489
13510
|
i0.ɵɵadvance(3);
|
|
13490
13511
|
i0.ɵɵproperty("for", ctx.id());
|
|
13491
13512
|
i0.ɵɵadvance(1);
|
|
@@ -14167,7 +14188,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14167
14188
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
14168
14189
|
} }
|
|
14169
14190
|
const _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
14170
|
-
const _c1$
|
|
14191
|
+
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14171
14192
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
14172
14193
|
ngOnInit() {
|
|
14173
14194
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14194,7 +14215,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
14194
14215
|
i0.ɵɵadvance(1);
|
|
14195
14216
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
14196
14217
|
i0.ɵɵadvance(1);
|
|
14197
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14218
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
14198
14219
|
} }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14199
14220
|
const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
14200
14221
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -14848,7 +14869,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14848
14869
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
|
|
14849
14870
|
} }
|
|
14850
14871
|
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
14851
|
-
const _c1$
|
|
14872
|
+
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14852
14873
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
14853
14874
|
ngOnInit() {
|
|
14854
14875
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14875,7 +14896,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
14875
14896
|
i0.ɵɵadvance(1);
|
|
14876
14897
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
14877
14898
|
i0.ɵɵadvance(1);
|
|
14878
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14899
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
14879
14900
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14880
14901
|
const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
14881
14902
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -14936,7 +14957,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14936
14957
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
|
|
14937
14958
|
} }
|
|
14938
14959
|
const _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
14939
|
-
const _c1$
|
|
14960
|
+
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
14940
14961
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
14941
14962
|
constructor(browserService) {
|
|
14942
14963
|
super();
|
|
@@ -14976,7 +14997,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
14976
14997
|
i0.ɵɵadvance(1);
|
|
14977
14998
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
14978
14999
|
i0.ɵɵadvance(1);
|
|
14979
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
15000
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
14980
15001
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14981
15002
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
14982
15003
|
type: Component,
|
|
@@ -15037,7 +15058,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
15037
15058
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
|
|
15038
15059
|
} }
|
|
15039
15060
|
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
15040
|
-
const _c1$
|
|
15061
|
+
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15041
15062
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
15042
15063
|
ngOnInit() {
|
|
15043
15064
|
this.textControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -15069,7 +15090,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
15069
15090
|
i0.ɵɵadvance(1);
|
|
15070
15091
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
15071
15092
|
i0.ɵɵadvance(1);
|
|
15072
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
15093
|
+
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);
|
|
15073
15094
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15074
15095
|
const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
15075
15096
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -15245,7 +15266,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
15245
15266
|
i0.ɵɵadvance(1);
|
|
15246
15267
|
i0.ɵɵtextInterpolate(value_r4);
|
|
15247
15268
|
} }
|
|
15248
|
-
const _c1$
|
|
15269
|
+
const _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
15249
15270
|
class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
15250
15271
|
constructor(yesNoService) {
|
|
15251
15272
|
super();
|
|
@@ -15271,7 +15292,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
15271
15292
|
i0.ɵɵelementEnd();
|
|
15272
15293
|
i0.ɵɵelementEnd();
|
|
15273
15294
|
} if (rf & 2) {
|
|
15274
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
15295
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
15275
15296
|
i0.ɵɵadvance(3);
|
|
15276
15297
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15277
15298
|
i0.ɵɵadvance(1);
|
|
@@ -15622,13 +15643,13 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
15622
15643
|
type: Input
|
|
15623
15644
|
}] }); })();
|
|
15624
15645
|
|
|
15625
|
-
function
|
|
15646
|
+
function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15626
15647
|
i0.ɵɵelementContainer(0);
|
|
15627
15648
|
} }
|
|
15628
15649
|
const _c0$u = function (a0) { return { cat: a0, level: 1 }; };
|
|
15629
|
-
function
|
|
15650
|
+
function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15630
15651
|
i0.ɵɵelementContainerStart(0);
|
|
15631
|
-
i0.ɵɵtemplate(1,
|
|
15652
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
15632
15653
|
i0.ɵɵelementContainerEnd();
|
|
15633
15654
|
} if (rf & 2) {
|
|
15634
15655
|
const cat_r3 = ctx.$implicit;
|
|
@@ -15640,7 +15661,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
15640
15661
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15641
15662
|
i0.ɵɵelementContainer(0);
|
|
15642
15663
|
} }
|
|
15643
|
-
const _c1$
|
|
15664
|
+
const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
15644
15665
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15645
15666
|
i0.ɵɵelementContainerStart(0);
|
|
15646
15667
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -15651,7 +15672,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
15651
15672
|
i0.ɵɵnextContext();
|
|
15652
15673
|
const _r1 = i0.ɵɵreference(13);
|
|
15653
15674
|
i0.ɵɵadvance(1);
|
|
15654
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
15675
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
15655
15676
|
} }
|
|
15656
15677
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
15657
15678
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -15663,7 +15684,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
|
15663
15684
|
i0.ɵɵelement(3, "img", 12);
|
|
15664
15685
|
i0.ɵɵtext(4);
|
|
15665
15686
|
i0.ɵɵelementEnd();
|
|
15666
|
-
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container",
|
|
15687
|
+
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
|
|
15667
15688
|
i0.ɵɵelementEnd();
|
|
15668
15689
|
} if (rf & 2) {
|
|
15669
15690
|
const cat_r5 = ctx.cat;
|
|
@@ -15734,43 +15755,42 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
15734
15755
|
}
|
|
15735
15756
|
}
|
|
15736
15757
|
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15737
|
-
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "
|
|
15738
|
-
i0.ɵɵelementStart(0, "
|
|
15739
|
-
i0.ɵɵ
|
|
15758
|
+
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15759
|
+
i0.ɵɵelementStart(0, "h2", 0);
|
|
15760
|
+
i0.ɵɵtext(1, "Move File");
|
|
15740
15761
|
i0.ɵɵelementEnd();
|
|
15741
|
-
i0.ɵɵelementStart(
|
|
15742
|
-
i0.ɵɵtext(
|
|
15762
|
+
i0.ɵɵelementStart(2, "p");
|
|
15763
|
+
i0.ɵɵtext(3);
|
|
15743
15764
|
i0.ɵɵelementEnd();
|
|
15744
|
-
i0.ɵɵelementStart(
|
|
15745
|
-
i0.ɵɵ
|
|
15765
|
+
i0.ɵɵelementStart(4, "div", 1);
|
|
15766
|
+
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
|
|
15746
15767
|
i0.ɵɵelementEnd();
|
|
15747
|
-
i0.ɵɵelementStart(
|
|
15748
|
-
i0.ɵɵ
|
|
15768
|
+
i0.ɵɵelementStart(6, "div", 3);
|
|
15769
|
+
i0.ɵɵelementStart(7, "button", 4);
|
|
15770
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
|
|
15771
|
+
i0.ɵɵtext(8, "Save");
|
|
15749
15772
|
i0.ɵɵelementEnd();
|
|
15750
|
-
i0.ɵɵelementStart(
|
|
15751
|
-
i0.ɵɵ
|
|
15752
|
-
i0.ɵɵ
|
|
15753
|
-
i0.ɵɵtext(9, "Save");
|
|
15773
|
+
i0.ɵɵelementStart(9, "a", 5);
|
|
15774
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
|
|
15775
|
+
i0.ɵɵtext(10, "Cancel");
|
|
15754
15776
|
i0.ɵɵelementEnd();
|
|
15755
|
-
i0.ɵɵelementStart(10, "a", 6);
|
|
15756
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
|
|
15757
|
-
i0.ɵɵtext(11, "Cancel");
|
|
15758
15777
|
i0.ɵɵelementEnd();
|
|
15778
|
+
i0.ɵɵelementStart(11, "div", 6);
|
|
15779
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
|
|
15759
15780
|
i0.ɵɵelementEnd();
|
|
15760
15781
|
i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
15761
15782
|
} if (rf & 2) {
|
|
15762
|
-
i0.ɵɵadvance(
|
|
15783
|
+
i0.ɵɵadvance(3);
|
|
15763
15784
|
i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
15764
15785
|
i0.ɵɵadvance(2);
|
|
15765
15786
|
i0.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
15766
|
-
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["
|
|
15787
|
+
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
|
|
15767
15788
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
15768
15789
|
type: Component,
|
|
15769
15790
|
args: [{
|
|
15770
15791
|
selector: 'xui-case-file-view-folder-selector',
|
|
15771
15792
|
templateUrl: './case-file-view-folder-selector.component.html',
|
|
15772
|
-
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
15773
|
-
encapsulation: ViewEncapsulation.None
|
|
15793
|
+
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
15774
15794
|
}]
|
|
15775
15795
|
}], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
15776
15796
|
type: Inject,
|
|
@@ -15827,7 +15847,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
15827
15847
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
15828
15848
|
} }
|
|
15829
15849
|
const _c0$t = [[["", "trigger", ""]]];
|
|
15830
|
-
const _c1$
|
|
15850
|
+
const _c1$8 = ["[trigger]"];
|
|
15831
15851
|
class CaseFileViewOverlayMenuComponent {
|
|
15832
15852
|
constructor() {
|
|
15833
15853
|
this.title = '';
|
|
@@ -15841,7 +15861,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
15841
15861
|
}
|
|
15842
15862
|
}
|
|
15843
15863
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
15844
|
-
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$
|
|
15864
|
+
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) {
|
|
15845
15865
|
i0.ɵɵprojectionDef(_c0$t);
|
|
15846
15866
|
i0.ɵɵelementStart(0, "div");
|
|
15847
15867
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
@@ -16251,7 +16271,7 @@ class CaseFileViewFolderComponent {
|
|
|
16251
16271
|
return Object.assign(documentTreeNode, node);
|
|
16252
16272
|
}
|
|
16253
16273
|
let filteredData = this.documentTreeData;
|
|
16254
|
-
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length >
|
|
16274
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
|
|
16255
16275
|
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
16256
16276
|
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
16257
16277
|
return true;
|
|
@@ -16331,6 +16351,7 @@ class CaseFileViewFolderComponent {
|
|
|
16331
16351
|
}
|
|
16332
16352
|
openMoveDialog(node) {
|
|
16333
16353
|
const dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
|
|
16354
|
+
width: '570px',
|
|
16334
16355
|
data: { categories: this.categories, document: node }
|
|
16335
16356
|
});
|
|
16336
16357
|
dialogRef.afterClosed().subscribe(newCatId => {
|
|
@@ -16355,7 +16376,7 @@ class CaseFileViewFolderComponent {
|
|
|
16355
16376
|
}
|
|
16356
16377
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
16357
16378
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
16358
|
-
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS =
|
|
16379
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
|
|
16359
16380
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
16360
16381
|
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16361
16382
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -16407,20 +16428,25 @@ function CaseFlagTableComponent_table_0_tr_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
16407
16428
|
i0.ɵɵelementEnd();
|
|
16408
16429
|
} }
|
|
16409
16430
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) { if (rf & 1) {
|
|
16410
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16431
|
+
i0.ɵɵelementStart(0, "strong", 20);
|
|
16411
16432
|
i0.ɵɵtext(1, "Active");
|
|
16412
16433
|
i0.ɵɵelementEnd();
|
|
16413
16434
|
} }
|
|
16414
16435
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) { if (rf & 1) {
|
|
16415
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16436
|
+
i0.ɵɵelementStart(0, "strong", 21);
|
|
16416
16437
|
i0.ɵɵtext(1, "Inactive");
|
|
16417
16438
|
i0.ɵɵelementEnd();
|
|
16418
16439
|
} }
|
|
16419
16440
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) { if (rf & 1) {
|
|
16420
|
-
i0.ɵɵelementStart(0, "strong",
|
|
16441
|
+
i0.ɵɵelementStart(0, "strong", 21);
|
|
16421
16442
|
i0.ɵɵtext(1, "Requested");
|
|
16422
16443
|
i0.ɵɵelementEnd();
|
|
16423
16444
|
} }
|
|
16445
|
+
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) { if (rf & 1) {
|
|
16446
|
+
i0.ɵɵelementStart(0, "strong", 22);
|
|
16447
|
+
i0.ɵɵtext(1, "Not approved");
|
|
16448
|
+
i0.ɵɵelementEnd();
|
|
16449
|
+
} }
|
|
16424
16450
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16425
16451
|
i0.ɵɵelementStart(0, "tr", 15);
|
|
16426
16452
|
i0.ɵɵelementStart(1, "td", 16);
|
|
@@ -16446,6 +16472,7 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16446
16472
|
i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
16447
16473
|
i0.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
16448
16474
|
i0.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
16475
|
+
i0.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
16449
16476
|
i0.ɵɵelementEnd();
|
|
16450
16477
|
i0.ɵɵelementEnd();
|
|
16451
16478
|
} if (rf & 2) {
|
|
@@ -16458,19 +16485,21 @@ function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) { if (rf
|
|
|
16458
16485
|
i0.ɵɵadvance(2);
|
|
16459
16486
|
i0.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
16460
16487
|
i0.ɵɵadvance(2);
|
|
16461
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10,
|
|
16488
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 9, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
16462
16489
|
i0.ɵɵadvance(3);
|
|
16463
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13,
|
|
16490
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 12, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
16464
16491
|
i0.ɵɵadvance(3);
|
|
16465
16492
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
16466
16493
|
i0.ɵɵadvance(1);
|
|
16467
16494
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
16468
16495
|
i0.ɵɵadvance(1);
|
|
16469
16496
|
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
16497
|
+
i0.ɵɵadvance(1);
|
|
16498
|
+
i0.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
16470
16499
|
} }
|
|
16471
16500
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) { if (rf & 1) {
|
|
16472
16501
|
i0.ɵɵelementStart(0, "tbody", 10);
|
|
16473
|
-
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
16502
|
+
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 19, 15, "tr", 14);
|
|
16474
16503
|
i0.ɵɵelementEnd();
|
|
16475
16504
|
} if (rf & 2) {
|
|
16476
16505
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -16523,7 +16552,7 @@ class CaseFlagTableComponent {
|
|
|
16523
16552
|
}
|
|
16524
16553
|
}
|
|
16525
16554
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
16526
|
-
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) {
|
|
16555
|
+
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"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], [1, "govuk-tag"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16527
16556
|
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
16528
16557
|
} if (rf & 2) {
|
|
16529
16558
|
i0.ɵɵproperty("ngIf", ctx.flagData);
|
|
@@ -16590,7 +16619,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16590
16619
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
16591
16620
|
} }
|
|
16592
16621
|
const _c0$s = function (a0) { return { "form-group-error": a0 }; };
|
|
16593
|
-
const _c1$
|
|
16622
|
+
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16594
16623
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
16595
16624
|
i0.ɵɵelementStart(0, "div", 15);
|
|
16596
16625
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16608,7 +16637,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
16608
16637
|
i0.ɵɵadvance(3);
|
|
16609
16638
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
16610
16639
|
i0.ɵɵadvance(1);
|
|
16611
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16640
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$7, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
16612
16641
|
} }
|
|
16613
16642
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
16614
16643
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
@@ -17614,9 +17643,9 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
17614
17643
|
type: Output
|
|
17615
17644
|
}] }); })();
|
|
17616
17645
|
|
|
17617
|
-
function
|
|
17618
|
-
i0.ɵɵelementStart(0, "div",
|
|
17619
|
-
i0.ɵɵelementStart(1, "span",
|
|
17646
|
+
function UpdateFlagComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
17647
|
+
i0.ɵɵelementStart(0, "div", 24);
|
|
17648
|
+
i0.ɵɵelementStart(1, "span", 25);
|
|
17620
17649
|
i0.ɵɵtext(2, "Error:");
|
|
17621
17650
|
i0.ɵɵelementEnd();
|
|
17622
17651
|
i0.ɵɵtext(3);
|
|
@@ -17626,9 +17655,9 @@ function UpdateFlagComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17626
17655
|
i0.ɵɵadvance(3);
|
|
17627
17656
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
17628
17657
|
} }
|
|
17629
|
-
function
|
|
17630
|
-
i0.ɵɵelementStart(0, "div",
|
|
17631
|
-
i0.ɵɵelementStart(1, "span",
|
|
17658
|
+
function UpdateFlagComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
17659
|
+
i0.ɵɵelementStart(0, "div", 26);
|
|
17660
|
+
i0.ɵɵelementStart(1, "span", 25);
|
|
17632
17661
|
i0.ɵɵtext(2, "Error:");
|
|
17633
17662
|
i0.ɵɵelementEnd();
|
|
17634
17663
|
i0.ɵɵtext(3);
|
|
@@ -17638,15 +17667,25 @@ function UpdateFlagComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
17638
17667
|
i0.ɵɵadvance(3);
|
|
17639
17668
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
17640
17669
|
} }
|
|
17641
|
-
function
|
|
17642
|
-
|
|
17643
|
-
i0.ɵɵ
|
|
17644
|
-
i0.ɵɵ
|
|
17645
|
-
i0.ɵɵ
|
|
17670
|
+
function UpdateFlagComponent_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
17671
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
17672
|
+
i0.ɵɵelement(1, "input", 28);
|
|
17673
|
+
i0.ɵɵpipe(2, "lowercase");
|
|
17674
|
+
i0.ɵɵelementStart(3, "label", 29);
|
|
17675
|
+
i0.ɵɵtext(4);
|
|
17676
|
+
i0.ɵɵelementEnd();
|
|
17646
17677
|
i0.ɵɵelementEnd();
|
|
17678
|
+
} if (rf & 2) {
|
|
17679
|
+
const status_r3 = ctx.$implicit;
|
|
17680
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
17681
|
+
i0.ɵɵadvance(1);
|
|
17682
|
+
i0.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0.ɵɵpipeBind1(2, 4, status_r3));
|
|
17683
|
+
i0.ɵɵadvance(2);
|
|
17684
|
+
i0.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
17685
|
+
i0.ɵɵadvance(1);
|
|
17686
|
+
i0.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
17647
17687
|
} }
|
|
17648
17688
|
const _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
17649
|
-
const _c1$7 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
17650
17689
|
class UpdateFlagComponent {
|
|
17651
17690
|
constructor() {
|
|
17652
17691
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -17654,22 +17693,25 @@ class UpdateFlagComponent {
|
|
|
17654
17693
|
this.errorMessages = [];
|
|
17655
17694
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17656
17695
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17657
|
-
this.
|
|
17696
|
+
this.updateFlagStepEnum = UpdateFlagStep;
|
|
17697
|
+
this.caseFlagStatuses = CaseFlagStatus;
|
|
17698
|
+
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
17699
|
+
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
17700
|
+
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
17701
|
+
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
17658
17702
|
this.commentsMaxCharLimit = 200;
|
|
17659
17703
|
}
|
|
17660
17704
|
ngOnInit() {
|
|
17661
|
-
this.updateFlagHint = UpdateFlagStep.HINT_TEXT;
|
|
17662
|
-
this.updateFlagCharLimitInfo = UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
17663
|
-
this.formGroup.addControl(this.updateFlagControlName, new FormControl(''));
|
|
17664
17705
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
17665
17706
|
const flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
17707
|
+
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new FormControl(flagDetail.status));
|
|
17708
|
+
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new FormControl(''));
|
|
17709
|
+
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new FormControl(false));
|
|
17666
17710
|
// Populate flag comments text area with existing comments
|
|
17667
|
-
this.formGroup.
|
|
17711
|
+
this.formGroup.addControl(this.FLAG_COMMENTS_CONTROL_NAME, new FormControl(flagDetail.flagComment));
|
|
17668
17712
|
if (flagDetail.name) {
|
|
17669
17713
|
this.updateFlagTitle =
|
|
17670
|
-
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17671
|
-
? `, ${flagDetail.subTypeValue}"`
|
|
17672
|
-
: '"'}`;
|
|
17714
|
+
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue ? `, ${flagDetail.subTypeValue}"` : '"'}`;
|
|
17673
17715
|
}
|
|
17674
17716
|
}
|
|
17675
17717
|
}
|
|
@@ -17678,7 +17720,7 @@ class UpdateFlagComponent {
|
|
|
17678
17720
|
this.validateTextEntry();
|
|
17679
17721
|
// If validation has passed, update the flag details with the comments entered
|
|
17680
17722
|
if (this.errorMessages.length === 0) {
|
|
17681
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
17723
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value });
|
|
17682
17724
|
}
|
|
17683
17725
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
17684
17726
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -17688,22 +17730,17 @@ class UpdateFlagComponent {
|
|
|
17688
17730
|
selectedFlag: this.selectedFlag
|
|
17689
17731
|
});
|
|
17690
17732
|
}
|
|
17691
|
-
onChangeStatus() {
|
|
17692
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { status: this.selectedFlag.flagDetailDisplay.flagDetail.status === CaseFlagStatus.ACTIVE
|
|
17693
|
-
? CaseFlagStatus.INACTIVE
|
|
17694
|
-
: this.selectedFlag.flagDetailDisplay.flagDetail.status });
|
|
17695
|
-
}
|
|
17696
17733
|
validateTextEntry() {
|
|
17697
17734
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17698
17735
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17699
17736
|
this.errorMessages = [];
|
|
17700
|
-
const comment = this.formGroup.get(this.
|
|
17737
|
+
const comment = this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value;
|
|
17701
17738
|
if (!comment) {
|
|
17702
17739
|
this.updateFlagNotEnteredErrorMessage = UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
17703
17740
|
this.errorMessages.push({
|
|
17704
17741
|
title: '',
|
|
17705
17742
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
17706
|
-
fieldId: this.
|
|
17743
|
+
fieldId: this.FLAG_COMMENTS_CONTROL_NAME
|
|
17707
17744
|
});
|
|
17708
17745
|
}
|
|
17709
17746
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -17711,13 +17748,13 @@ class UpdateFlagComponent {
|
|
|
17711
17748
|
this.errorMessages.push({
|
|
17712
17749
|
title: '',
|
|
17713
17750
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
17714
|
-
fieldId: this.
|
|
17751
|
+
fieldId: this.FLAG_COMMENTS_CONTROL_NAME
|
|
17715
17752
|
});
|
|
17716
17753
|
}
|
|
17717
17754
|
}
|
|
17718
17755
|
}
|
|
17719
17756
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
17720
|
-
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
17757
|
+
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 40, vars: 26, 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", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--l"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 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-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--s", "govuk-!-margin-bottom-2"], ["data-module", "govuk-radios", 1, "govuk-radios", 3, "id"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "update-flag-status-hint", 1, "govuk-hint"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], [1, "govuk-checkboxes__item"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], [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"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"]], template: function UpdateFlagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17721
17758
|
i0.ɵɵelementStart(0, "div", 0);
|
|
17722
17759
|
i0.ɵɵelementStart(1, "div", 1);
|
|
17723
17760
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -17727,65 +17764,98 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
17727
17764
|
i0.ɵɵelementEnd();
|
|
17728
17765
|
i0.ɵɵelementEnd();
|
|
17729
17766
|
i0.ɵɵelementStart(6, "div", 5);
|
|
17730
|
-
i0.ɵɵ
|
|
17767
|
+
i0.ɵɵelementStart(7, "div");
|
|
17768
|
+
i0.ɵɵelementStart(8, "label", 6);
|
|
17769
|
+
i0.ɵɵtext(9);
|
|
17731
17770
|
i0.ɵɵelementEnd();
|
|
17732
|
-
i0.ɵɵtemplate(8, UpdateFlagComponent_div_8_Template, 4, 1, "div", 6);
|
|
17733
|
-
i0.ɵɵtemplate(9, UpdateFlagComponent_div_9_Template, 4, 1, "div", 7);
|
|
17734
|
-
i0.ɵɵelementStart(10, "textarea", 8);
|
|
17735
|
-
i0.ɵɵtext(11, " ");
|
|
17736
17771
|
i0.ɵɵelementEnd();
|
|
17737
|
-
i0.ɵɵelementStart(
|
|
17738
|
-
i0.ɵɵtext(
|
|
17772
|
+
i0.ɵɵelementStart(10, "div", 7);
|
|
17773
|
+
i0.ɵɵtext(11);
|
|
17739
17774
|
i0.ɵɵelementEnd();
|
|
17775
|
+
i0.ɵɵtemplate(12, UpdateFlagComponent_div_12_Template, 4, 1, "div", 8);
|
|
17776
|
+
i0.ɵɵtemplate(13, UpdateFlagComponent_div_13_Template, 4, 1, "div", 9);
|
|
17777
|
+
i0.ɵɵelementStart(14, "textarea", 10);
|
|
17778
|
+
i0.ɵɵtext(15, " ");
|
|
17740
17779
|
i0.ɵɵelementEnd();
|
|
17780
|
+
i0.ɵɵelementStart(16, "div", 11);
|
|
17781
|
+
i0.ɵɵtext(17);
|
|
17741
17782
|
i0.ɵɵelementEnd();
|
|
17742
|
-
i0.ɵɵelementStart(14, "div", 10);
|
|
17743
|
-
i0.ɵɵelementStart(15, "div", 11);
|
|
17744
|
-
i0.ɵɵelementStart(16, "p");
|
|
17745
|
-
i0.ɵɵtext(17, "Flag status: ");
|
|
17746
|
-
i0.ɵɵelementStart(18, "span");
|
|
17747
|
-
i0.ɵɵelementStart(19, "strong", 12);
|
|
17748
|
-
i0.ɵɵtext(20);
|
|
17749
17783
|
i0.ɵɵelementEnd();
|
|
17784
|
+
i0.ɵɵelementStart(18, "div", 12);
|
|
17785
|
+
i0.ɵɵelementStart(19, "div");
|
|
17786
|
+
i0.ɵɵelementStart(20, "label", 13);
|
|
17787
|
+
i0.ɵɵtext(21);
|
|
17750
17788
|
i0.ɵɵelementEnd();
|
|
17751
17789
|
i0.ɵɵelementEnd();
|
|
17790
|
+
i0.ɵɵelementStart(22, "div", 5);
|
|
17791
|
+
i0.ɵɵelementStart(23, "div", 14);
|
|
17792
|
+
i0.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
17793
|
+
i0.ɵɵpipe(25, "enumDisplayDescription");
|
|
17752
17794
|
i0.ɵɵelementEnd();
|
|
17753
|
-
i0.ɵɵelementStart(21, "div", 11);
|
|
17754
|
-
i0.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
17755
17795
|
i0.ɵɵelementEnd();
|
|
17796
|
+
i0.ɵɵelementStart(26, "div");
|
|
17797
|
+
i0.ɵɵelementStart(27, "div", 16);
|
|
17798
|
+
i0.ɵɵtext(28);
|
|
17799
|
+
i0.ɵɵelementEnd();
|
|
17800
|
+
i0.ɵɵelementStart(29, "textarea", 17);
|
|
17801
|
+
i0.ɵɵtext(30, " ");
|
|
17802
|
+
i0.ɵɵelementEnd();
|
|
17803
|
+
i0.ɵɵelementEnd();
|
|
17804
|
+
i0.ɵɵelementEnd();
|
|
17805
|
+
i0.ɵɵelementStart(31, "div");
|
|
17806
|
+
i0.ɵɵelementStart(32, "div", 18);
|
|
17807
|
+
i0.ɵɵelementStart(33, "div", 19);
|
|
17808
|
+
i0.ɵɵelement(34, "input", 20);
|
|
17809
|
+
i0.ɵɵelementStart(35, "label", 21);
|
|
17810
|
+
i0.ɵɵtext(36, " I need to add a Welsh translation ");
|
|
17756
17811
|
i0.ɵɵelementEnd();
|
|
17757
|
-
i0.ɵɵ
|
|
17758
|
-
i0.ɵɵ
|
|
17759
|
-
i0.ɵɵ
|
|
17760
|
-
i0.ɵɵ
|
|
17812
|
+
i0.ɵɵelementEnd();
|
|
17813
|
+
i0.ɵɵelementEnd();
|
|
17814
|
+
i0.ɵɵelementEnd();
|
|
17815
|
+
i0.ɵɵelementEnd();
|
|
17816
|
+
i0.ɵɵelementEnd();
|
|
17817
|
+
i0.ɵɵelementStart(37, "div", 22);
|
|
17818
|
+
i0.ɵɵelementStart(38, "button", 23);
|
|
17819
|
+
i0.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_38_listener() { return ctx.onNext(); });
|
|
17820
|
+
i0.ɵɵtext(39, "Next");
|
|
17761
17821
|
i0.ɵɵelementEnd();
|
|
17762
17822
|
i0.ɵɵelementEnd();
|
|
17763
17823
|
i0.ɵɵelementEnd();
|
|
17764
17824
|
} if (rf & 2) {
|
|
17765
17825
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
17766
17826
|
i0.ɵɵadvance(2);
|
|
17767
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
17768
|
-
i0.ɵɵadvance(
|
|
17769
|
-
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
17770
|
-
i0.ɵɵadvance(1);
|
|
17827
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(24, _c0$n, ctx.errorMessages.length > 0));
|
|
17828
|
+
i0.ɵɵadvance(3);
|
|
17771
17829
|
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
17830
|
+
i0.ɵɵadvance(3);
|
|
17831
|
+
i0.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
17832
|
+
i0.ɵɵadvance(1);
|
|
17833
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " comments ");
|
|
17772
17834
|
i0.ɵɵadvance(2);
|
|
17773
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17835
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_HINT_TEXT, " ");
|
|
17774
17836
|
i0.ɵɵadvance(1);
|
|
17775
17837
|
i0.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
17776
17838
|
i0.ɵɵadvance(1);
|
|
17777
17839
|
i0.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
17778
17840
|
i0.ɵɵadvance(1);
|
|
17779
|
-
i0.ɵɵproperty("id", ctx.
|
|
17841
|
+
i0.ɵɵproperty("id", ctx.FLAG_COMMENTS_CONTROL_NAME)("name", ctx.FLAG_COMMENTS_CONTROL_NAME)("formControlName", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
17780
17842
|
i0.ɵɵadvance(3);
|
|
17781
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17782
|
-
i0.ɵɵadvance(
|
|
17783
|
-
i0.ɵɵ
|
|
17784
|
-
i0.ɵɵadvance(1);
|
|
17785
|
-
i0.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
17843
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_CHARACTER_LIMIT_INFO, " ");
|
|
17844
|
+
i0.ɵɵadvance(4);
|
|
17845
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " status ");
|
|
17786
17846
|
i0.ɵɵadvance(2);
|
|
17787
|
-
i0.ɵɵproperty("
|
|
17788
|
-
|
|
17847
|
+
i0.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
17848
|
+
i0.ɵɵadvance(1);
|
|
17849
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
17850
|
+
i0.ɵɵadvance(4);
|
|
17851
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
17852
|
+
i0.ɵɵadvance(1);
|
|
17853
|
+
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);
|
|
17854
|
+
i0.ɵɵadvance(5);
|
|
17855
|
+
i0.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
17856
|
+
i0.ɵɵadvance(1);
|
|
17857
|
+
i0.ɵɵproperty("for", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
17858
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName, i1.NgForOf], pipes: [EnumDisplayDescriptionPipe, i1.LowerCasePipe], encapsulation: 2 });
|
|
17789
17859
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
17790
17860
|
type: Component,
|
|
17791
17861
|
args: [{
|
|
@@ -30818,5 +30888,5 @@ class TestRouteSnapshotBuilder {
|
|
|
30818
30888
|
* Generated bundle index. Do not edit.
|
|
30819
30889
|
*/
|
|
30820
30890
|
|
|
30821
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, 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, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, 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 };
|
|
30891
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, 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, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, 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, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, 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 };
|
|
30822
30892
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|