@hmcts/ccd-case-ui-toolkit 5.0.50-update-flag-screen-v4 → 6.0.10-eui-7534-table-headers-fix
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 +149 -220
- 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 +4 -4
- 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 +3 -4
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +26 -25
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +64 -106
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +3 -4
- package/esm2015/lib/shared/components/search-result/search-result.component.js +10 -14
- package/esm2015/lib/shared/pipes/index.js +1 -2
- package/esm2015/lib/shared/pipes/pipes.module.js +5 -9
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +151 -215
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.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 +5 -7
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +1 -2
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +2 -3
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/pipes/index.d.ts +0 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +2 -3
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +0 -16
- package/esm2015/lib/shared/pipes/generic/index.js +0 -2
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +0 -8
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +0 -1
- package/lib/shared/pipes/generic/index.d.ts +0 -2
- package/lib/shared/pipes/generic/index.d.ts.map +0 -1
|
@@ -116,11 +116,11 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
116
116
|
i0.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
117
117
|
} }
|
|
118
118
|
const _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
119
|
-
const _c1$
|
|
119
|
+
const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
120
120
|
class FooterComponent {
|
|
121
121
|
}
|
|
122
122
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
123
|
-
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
123
|
+
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
124
124
|
i0.ɵɵprojectionDef(_c0$_);
|
|
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$q = ["[headerNavigation]"];
|
|
193
193
|
class HeaderBarComponent {
|
|
194
194
|
constructor() {
|
|
195
195
|
this.signOutRequest = new EventEmitter();
|
|
@@ -199,7 +199,7 @@ class HeaderBarComponent {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
202
|
-
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
202
|
+
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
203
203
|
i0.ɵɵprojectionDef(_c0$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$p = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
}
|
|
264
264
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
265
|
-
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
265
|
+
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
266
|
i0.ɵɵprojectionDef(_c0$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$o = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
385
385
|
class BodyComponent {
|
|
386
386
|
}
|
|
387
387
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
388
|
-
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
388
|
+
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
389
|
i0.ɵɵprojectionDef(_c0$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$n = ["*"];
|
|
1016
1016
|
class TabComponent {
|
|
1017
1017
|
}
|
|
1018
1018
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1019
|
-
TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1019
|
+
TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$n, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1020
1020
|
i0.ɵɵprojectionDef();
|
|
1021
1021
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1022
1022
|
i0.ɵɵprojection(1);
|
|
@@ -1043,7 +1043,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1043
1043
|
}] }); })();
|
|
1044
1044
|
|
|
1045
1045
|
const _c0$T = ["tab"];
|
|
1046
|
-
const _c1$
|
|
1046
|
+
const _c1$m = function () { return ["."]; };
|
|
1047
1047
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1048
1048
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
1049
1049
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -1056,7 +1056,7 @@ function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1056
1056
|
} if (rf & 2) {
|
|
1057
1057
|
const panel_r1 = ctx.$implicit;
|
|
1058
1058
|
i0.ɵɵadvance(1);
|
|
1059
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$
|
|
1059
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$m))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
|
|
1060
1060
|
i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1061
1061
|
i0.ɵɵadvance(2);
|
|
1062
1062
|
i0.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -2145,7 +2145,6 @@ var CaseFlagStatus;
|
|
|
2145
2145
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2146
2146
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2147
2147
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2148
|
-
CaseFlagStatus["NOT_APPROVED"] = "Not Approved";
|
|
2149
2148
|
})(CaseFlagStatus || (CaseFlagStatus = {}));
|
|
2150
2149
|
|
|
2151
2150
|
class DashPipe {
|
|
@@ -9848,20 +9847,6 @@ FieldsFilterPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldsFilter", type: Fie
|
|
|
9848
9847
|
}]
|
|
9849
9848
|
}], null, null); })();
|
|
9850
9849
|
|
|
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
|
-
|
|
9865
9850
|
class LinkedCasesService {
|
|
9866
9851
|
constructor(jurisdictionService, searchService) {
|
|
9867
9852
|
this.jurisdictionService = jurisdictionService;
|
|
@@ -10046,8 +10031,7 @@ const pipeDeclarations = [
|
|
|
10046
10031
|
ReadFieldsFilterPipe,
|
|
10047
10032
|
CcdTabFieldsPipe,
|
|
10048
10033
|
CcdPageFieldsPipe,
|
|
10049
|
-
LinkCasesReasonValuePipe
|
|
10050
|
-
EnumDisplayDescriptionPipe
|
|
10034
|
+
LinkCasesReasonValuePipe
|
|
10051
10035
|
];
|
|
10052
10036
|
class PipesModule {
|
|
10053
10037
|
}
|
|
@@ -10064,8 +10048,7 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10064
10048
|
ReadFieldsFilterPipe,
|
|
10065
10049
|
CcdTabFieldsPipe,
|
|
10066
10050
|
CcdPageFieldsPipe,
|
|
10067
|
-
LinkCasesReasonValuePipe,
|
|
10068
|
-
EnumDisplayDescriptionPipe], imports: [CommonModule], exports: [CaseReferencePipe,
|
|
10051
|
+
LinkCasesReasonValuePipe], imports: [CommonModule], exports: [CaseReferencePipe,
|
|
10069
10052
|
SortSearchResultPipe,
|
|
10070
10053
|
CcdCaseTitlePipe,
|
|
10071
10054
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
@@ -10073,8 +10056,7 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10073
10056
|
ReadFieldsFilterPipe,
|
|
10074
10057
|
CcdTabFieldsPipe,
|
|
10075
10058
|
CcdPageFieldsPipe,
|
|
10076
|
-
LinkCasesReasonValuePipe
|
|
10077
|
-
EnumDisplayDescriptionPipe] }); })();
|
|
10059
|
+
LinkCasesReasonValuePipe] }); })();
|
|
10078
10060
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PipesModule, [{
|
|
10079
10061
|
type: NgModule,
|
|
10080
10062
|
args: [{
|
|
@@ -10085,7 +10067,7 @@ PipesModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
10085
10067
|
...pipeDeclarations
|
|
10086
10068
|
],
|
|
10087
10069
|
exports: [
|
|
10088
|
-
...pipeDeclarations
|
|
10070
|
+
...pipeDeclarations
|
|
10089
10071
|
]
|
|
10090
10072
|
}]
|
|
10091
10073
|
}], null, null); })();
|
|
@@ -10302,7 +10284,7 @@ function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (r
|
|
|
10302
10284
|
i0.ɵɵtext(1, "Enter the Postcode");
|
|
10303
10285
|
i0.ɵɵelementEnd();
|
|
10304
10286
|
} }
|
|
10305
|
-
const _c1$
|
|
10287
|
+
const _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
10306
10288
|
const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
10307
10289
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
10308
10290
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -10321,7 +10303,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
|
|
|
10321
10303
|
i0.ɵɵelementEnd();
|
|
10322
10304
|
} if (rf & 2) {
|
|
10323
10305
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10324
|
-
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
10306
|
+
i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
|
|
10325
10307
|
i0.ɵɵadvance(1);
|
|
10326
10308
|
i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
10327
10309
|
i0.ɵɵadvance(3);
|
|
@@ -10575,7 +10557,7 @@ function CaseFileViewFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
|
|
|
10575
10557
|
} if (rf & 2) {
|
|
10576
10558
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10577
10559
|
i0.ɵɵadvance(1);
|
|
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);
|
|
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)("height", "94.5vh");
|
|
10579
10561
|
} }
|
|
10580
10562
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10581
10563
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10591,7 +10573,7 @@ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10591
10573
|
i0.ɵɵelementEnd();
|
|
10592
10574
|
i0.ɵɵelement(6, "div", 9);
|
|
10593
10575
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10594
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2,
|
|
10576
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
10595
10577
|
i0.ɵɵelementEnd();
|
|
10596
10578
|
i0.ɵɵelementEnd();
|
|
10597
10579
|
i0.ɵɵelementEnd();
|
|
@@ -10667,7 +10649,7 @@ class CaseFileViewFieldComponent {
|
|
|
10667
10649
|
}
|
|
10668
10650
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10669
10651
|
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)); };
|
|
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) {
|
|
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", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10671
10653
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
10672
10654
|
i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
|
|
10673
10655
|
} if (rf & 2) {
|
|
@@ -10701,7 +10683,7 @@ function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
|
|
|
10701
10683
|
} if (rf & 2) {
|
|
10702
10684
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10703
10685
|
i0.ɵɵadvance(1);
|
|
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);
|
|
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)("height", "94.5vh");
|
|
10705
10687
|
} }
|
|
10706
10688
|
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10707
10689
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10717,7 +10699,7 @@ function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10717
10699
|
i0.ɵɵelementEnd();
|
|
10718
10700
|
i0.ɵɵelement(6, "div", 9);
|
|
10719
10701
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10720
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2,
|
|
10702
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
10721
10703
|
i0.ɵɵelementEnd();
|
|
10722
10704
|
i0.ɵɵelementEnd();
|
|
10723
10705
|
i0.ɵɵelementEnd();
|
|
@@ -10735,7 +10717,7 @@ class CaseFileViewFieldReadComponent extends CaseFileViewFieldComponent {
|
|
|
10735
10717
|
}
|
|
10736
10718
|
}
|
|
10737
10719
|
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
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) {
|
|
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", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10739
10721
|
i0.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
|
|
10740
10722
|
i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
|
|
10741
10723
|
} if (rf & 2) {
|
|
@@ -10839,9 +10821,8 @@ var UpdateFlagErrorMessage;
|
|
|
10839
10821
|
|
|
10840
10822
|
var UpdateFlagStep;
|
|
10841
10823
|
(function (UpdateFlagStep) {
|
|
10842
|
-
UpdateFlagStep["
|
|
10843
|
-
UpdateFlagStep["
|
|
10844
|
-
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
10824
|
+
UpdateFlagStep["HINT_TEXT"] = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.";
|
|
10825
|
+
UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
10845
10826
|
})(UpdateFlagStep || (UpdateFlagStep = {}));
|
|
10846
10827
|
|
|
10847
10828
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -11644,7 +11625,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11644
11625
|
i0.ɵɵadvance(4);
|
|
11645
11626
|
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);
|
|
11646
11627
|
} }
|
|
11647
|
-
const _c1$
|
|
11628
|
+
const _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11648
11629
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
11649
11630
|
i0.ɵɵelementStart(0, "tr");
|
|
11650
11631
|
i0.ɵɵelementStart(1, "td");
|
|
@@ -11656,7 +11637,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
|
|
|
11656
11637
|
const i_r5 = ctx.index;
|
|
11657
11638
|
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
11658
11639
|
i0.ɵɵadvance(2);
|
|
11659
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$
|
|
11640
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$k, 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));
|
|
11660
11641
|
} }
|
|
11661
11642
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
11662
11643
|
i0.ɵɵelementStart(0, "tbody");
|
|
@@ -12489,7 +12470,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
|
|
|
12489
12470
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
12490
12471
|
i0.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
12491
12472
|
} }
|
|
12492
|
-
const _c1$
|
|
12473
|
+
const _c1$j = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
12493
12474
|
class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
12494
12475
|
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
12495
12476
|
super();
|
|
@@ -12778,7 +12759,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
12778
12759
|
i0.ɵɵelementEnd();
|
|
12779
12760
|
i0.ɵɵelementEnd();
|
|
12780
12761
|
} if (rf & 2) {
|
|
12781
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$
|
|
12762
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$j, !ctx.valid));
|
|
12782
12763
|
i0.ɵɵadvance(1);
|
|
12783
12764
|
i0.ɵɵproperty("for", ctx.id());
|
|
12784
12765
|
i0.ɵɵadvance(1);
|
|
@@ -13087,7 +13068,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
13087
13068
|
i0.ɵɵadvance(1);
|
|
13088
13069
|
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
13089
13070
|
} }
|
|
13090
|
-
const _c1$
|
|
13071
|
+
const _c1$i = function (a0) { return { "form-group-error": a0 }; };
|
|
13091
13072
|
class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13092
13073
|
ngOnInit() {
|
|
13093
13074
|
/**
|
|
@@ -13128,7 +13109,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
|
|
|
13128
13109
|
i0.ɵɵelementEnd();
|
|
13129
13110
|
i0.ɵɵelementEnd();
|
|
13130
13111
|
} if (rf & 2) {
|
|
13131
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$
|
|
13112
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$i, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
13132
13113
|
i0.ɵɵadvance(3);
|
|
13133
13114
|
i0.ɵɵproperty("for", ctx.id());
|
|
13134
13115
|
i0.ɵɵadvance(1);
|
|
@@ -13213,7 +13194,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13213
13194
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
13214
13195
|
} }
|
|
13215
13196
|
const _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
13216
|
-
const _c1$
|
|
13197
|
+
const _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13217
13198
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
13218
13199
|
ngOnInit() {
|
|
13219
13200
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -13240,7 +13221,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
13240
13221
|
i0.ɵɵadvance(1);
|
|
13241
13222
|
i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
13242
13223
|
i0.ɵɵadvance(1);
|
|
13243
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
13224
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$h, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
13244
13225
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
13245
13226
|
const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
13246
13227
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -13480,7 +13461,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13480
13461
|
i0.ɵɵadvance(1);
|
|
13481
13462
|
i0.ɵɵtextInterpolate(radioButton_r4.label);
|
|
13482
13463
|
} }
|
|
13483
|
-
const _c1$
|
|
13464
|
+
const _c1$g = function (a0) { return { "form-group-error": a0 }; };
|
|
13484
13465
|
class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
13485
13466
|
ngOnInit() {
|
|
13486
13467
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
@@ -13504,7 +13485,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
|
|
|
13504
13485
|
i0.ɵɵelementEnd();
|
|
13505
13486
|
i0.ɵɵelementEnd();
|
|
13506
13487
|
} if (rf & 2) {
|
|
13507
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
13488
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$g, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
13508
13489
|
i0.ɵɵadvance(3);
|
|
13509
13490
|
i0.ɵɵproperty("for", ctx.id());
|
|
13510
13491
|
i0.ɵɵadvance(1);
|
|
@@ -14186,7 +14167,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14186
14167
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
14187
14168
|
} }
|
|
14188
14169
|
const _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
14189
|
-
const _c1$
|
|
14170
|
+
const _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14190
14171
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
14191
14172
|
ngOnInit() {
|
|
14192
14173
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14213,7 +14194,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
14213
14194
|
i0.ɵɵadvance(1);
|
|
14214
14195
|
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
14215
14196
|
i0.ɵɵadvance(1);
|
|
14216
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14197
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$f, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
14217
14198
|
} }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14218
14199
|
const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
14219
14200
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -14867,7 +14848,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14867
14848
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
|
|
14868
14849
|
} }
|
|
14869
14850
|
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
14870
|
-
const _c1$
|
|
14851
|
+
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14871
14852
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
14872
14853
|
ngOnInit() {
|
|
14873
14854
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -14894,7 +14875,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
14894
14875
|
i0.ɵɵadvance(1);
|
|
14895
14876
|
i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
14896
14877
|
i0.ɵɵadvance(1);
|
|
14897
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14878
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
14898
14879
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14899
14880
|
const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
14900
14881
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -14955,7 +14936,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14955
14936
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
|
|
14956
14937
|
} }
|
|
14957
14938
|
const _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
14958
|
-
const _c1$
|
|
14939
|
+
const _c1$d = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
14959
14940
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
14960
14941
|
constructor(browserService) {
|
|
14961
14942
|
super();
|
|
@@ -14995,7 +14976,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
14995
14976
|
i0.ɵɵadvance(1);
|
|
14996
14977
|
i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
14997
14978
|
i0.ɵɵadvance(1);
|
|
14998
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
14979
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
14999
14980
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15000
14981
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
15001
14982
|
type: Component,
|
|
@@ -15056,7 +15037,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
15056
15037
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
|
|
15057
15038
|
} }
|
|
15058
15039
|
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
15059
|
-
const _c1$
|
|
15040
|
+
const _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15060
15041
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
15061
15042
|
ngOnInit() {
|
|
15062
15043
|
this.textControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -15088,7 +15069,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
15088
15069
|
i0.ɵɵadvance(1);
|
|
15089
15070
|
i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
15090
15071
|
i0.ɵɵadvance(1);
|
|
15091
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$
|
|
15072
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
15092
15073
|
} }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15093
15074
|
const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
15094
15075
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -15264,7 +15245,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
15264
15245
|
i0.ɵɵadvance(1);
|
|
15265
15246
|
i0.ɵɵtextInterpolate(value_r4);
|
|
15266
15247
|
} }
|
|
15267
|
-
const _c1$
|
|
15248
|
+
const _c1$b = function (a0) { return { "form-group-error": a0 }; };
|
|
15268
15249
|
class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
15269
15250
|
constructor(yesNoService) {
|
|
15270
15251
|
super();
|
|
@@ -15290,7 +15271,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
|
|
|
15290
15271
|
i0.ɵɵelementEnd();
|
|
15291
15272
|
i0.ɵɵelementEnd();
|
|
15292
15273
|
} if (rf & 2) {
|
|
15293
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
15274
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$b, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
15294
15275
|
i0.ɵɵadvance(3);
|
|
15295
15276
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15296
15277
|
i0.ɵɵadvance(1);
|
|
@@ -15641,13 +15622,13 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
15641
15622
|
type: Input
|
|
15642
15623
|
}] }); })();
|
|
15643
15624
|
|
|
15644
|
-
function
|
|
15625
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15645
15626
|
i0.ɵɵelementContainer(0);
|
|
15646
15627
|
} }
|
|
15647
15628
|
const _c0$u = function (a0) { return { cat: a0, level: 1 }; };
|
|
15648
|
-
function
|
|
15629
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
15649
15630
|
i0.ɵɵelementContainerStart(0);
|
|
15650
|
-
i0.ɵɵtemplate(1,
|
|
15631
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
15651
15632
|
i0.ɵɵelementContainerEnd();
|
|
15652
15633
|
} if (rf & 2) {
|
|
15653
15634
|
const cat_r3 = ctx.$implicit;
|
|
@@ -15659,7 +15640,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) {
|
|
|
15659
15640
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15660
15641
|
i0.ɵɵelementContainer(0);
|
|
15661
15642
|
} }
|
|
15662
|
-
const _c1$
|
|
15643
|
+
const _c1$a = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
15663
15644
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15664
15645
|
i0.ɵɵelementContainerStart(0);
|
|
15665
15646
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -15670,7 +15651,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Templ
|
|
|
15670
15651
|
i0.ɵɵnextContext();
|
|
15671
15652
|
const _r1 = i0.ɵɵreference(13);
|
|
15672
15653
|
i0.ɵɵadvance(1);
|
|
15673
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$
|
|
15654
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$a, subcat_r8, level_r6 + 1));
|
|
15674
15655
|
} }
|
|
15675
15656
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
15676
15657
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -15682,7 +15663,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
|
15682
15663
|
i0.ɵɵelement(3, "img", 12);
|
|
15683
15664
|
i0.ɵɵtext(4);
|
|
15684
15665
|
i0.ɵɵelementEnd();
|
|
15685
|
-
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container",
|
|
15666
|
+
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
|
|
15686
15667
|
i0.ɵɵelementEnd();
|
|
15687
15668
|
} if (rf & 2) {
|
|
15688
15669
|
const cat_r5 = ctx.cat;
|
|
@@ -15753,42 +15734,43 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
15753
15734
|
}
|
|
15754
15735
|
}
|
|
15755
15736
|
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15756
|
-
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"], [
|
|
15757
|
-
i0.ɵɵelementStart(0, "
|
|
15758
|
-
i0.ɵɵ
|
|
15737
|
+
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15738
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
15739
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
|
|
15759
15740
|
i0.ɵɵelementEnd();
|
|
15760
|
-
i0.ɵɵelementStart(
|
|
15761
|
-
i0.ɵɵtext(
|
|
15741
|
+
i0.ɵɵelementStart(1, "h2", 1);
|
|
15742
|
+
i0.ɵɵtext(2, "Move File");
|
|
15762
15743
|
i0.ɵɵelementEnd();
|
|
15763
|
-
i0.ɵɵelementStart(
|
|
15764
|
-
i0.ɵɵ
|
|
15744
|
+
i0.ɵɵelementStart(3, "p");
|
|
15745
|
+
i0.ɵɵtext(4);
|
|
15765
15746
|
i0.ɵɵelementEnd();
|
|
15766
|
-
i0.ɵɵelementStart(
|
|
15767
|
-
i0.ɵɵ
|
|
15768
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
|
|
15769
|
-
i0.ɵɵtext(8, "Save");
|
|
15747
|
+
i0.ɵɵelementStart(5, "div", 2);
|
|
15748
|
+
i0.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
|
|
15770
15749
|
i0.ɵɵelementEnd();
|
|
15771
|
-
i0.ɵɵelementStart(
|
|
15772
|
-
i0.ɵɵ
|
|
15773
|
-
i0.ɵɵ
|
|
15750
|
+
i0.ɵɵelementStart(7, "div", 4);
|
|
15751
|
+
i0.ɵɵelementStart(8, "button", 5);
|
|
15752
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
|
|
15753
|
+
i0.ɵɵtext(9, "Save");
|
|
15774
15754
|
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");
|
|
15775
15758
|
i0.ɵɵelementEnd();
|
|
15776
|
-
i0.ɵɵelementStart(11, "div", 6);
|
|
15777
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
|
|
15778
15759
|
i0.ɵɵelementEnd();
|
|
15779
15760
|
i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
15780
15761
|
} if (rf & 2) {
|
|
15781
|
-
i0.ɵɵadvance(
|
|
15762
|
+
i0.ɵɵadvance(4);
|
|
15782
15763
|
i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
15783
15764
|
i0.ɵɵadvance(2);
|
|
15784
15765
|
i0.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
15785
|
-
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["
|
|
15766
|
+
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
|
|
15786
15767
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
15787
15768
|
type: Component,
|
|
15788
15769
|
args: [{
|
|
15789
15770
|
selector: 'xui-case-file-view-folder-selector',
|
|
15790
15771
|
templateUrl: './case-file-view-folder-selector.component.html',
|
|
15791
|
-
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
15772
|
+
styleUrls: ['./case-file-view-folder-selector.component.scss'],
|
|
15773
|
+
encapsulation: ViewEncapsulation.None
|
|
15792
15774
|
}]
|
|
15793
15775
|
}], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
15794
15776
|
type: Inject,
|
|
@@ -15845,7 +15827,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
15845
15827
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
15846
15828
|
} }
|
|
15847
15829
|
const _c0$t = [[["", "trigger", ""]]];
|
|
15848
|
-
const _c1$
|
|
15830
|
+
const _c1$9 = ["[trigger]"];
|
|
15849
15831
|
class CaseFileViewOverlayMenuComponent {
|
|
15850
15832
|
constructor() {
|
|
15851
15833
|
this.title = '';
|
|
@@ -15859,7 +15841,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
15859
15841
|
}
|
|
15860
15842
|
}
|
|
15861
15843
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
15862
|
-
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$
|
|
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$9, 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) {
|
|
15863
15845
|
i0.ɵɵprojectionDef(_c0$t);
|
|
15864
15846
|
i0.ɵɵelementStart(0, "div");
|
|
15865
15847
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
@@ -16269,7 +16251,7 @@ class CaseFileViewFolderComponent {
|
|
|
16269
16251
|
return Object.assign(documentTreeNode, node);
|
|
16270
16252
|
}
|
|
16271
16253
|
let filteredData = this.documentTreeData;
|
|
16272
|
-
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length >
|
|
16254
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 0) {
|
|
16273
16255
|
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
16274
16256
|
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
16275
16257
|
return true;
|
|
@@ -16349,7 +16331,6 @@ class CaseFileViewFolderComponent {
|
|
|
16349
16331
|
}
|
|
16350
16332
|
openMoveDialog(node) {
|
|
16351
16333
|
const dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
|
|
16352
|
-
width: '570px',
|
|
16353
16334
|
data: { categories: this.categories, document: node }
|
|
16354
16335
|
});
|
|
16355
16336
|
dialogRef.afterClosed().subscribe(newCatId => {
|
|
@@ -16374,7 +16355,7 @@ class CaseFileViewFolderComponent {
|
|
|
16374
16355
|
}
|
|
16375
16356
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
16376
16357
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
16377
|
-
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS =
|
|
16358
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
16378
16359
|
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)); };
|
|
16379
16360
|
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) {
|
|
16380
16361
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -16609,7 +16590,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16609
16590
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
16610
16591
|
} }
|
|
16611
16592
|
const _c0$s = function (a0) { return { "form-group-error": a0 }; };
|
|
16612
|
-
const _c1$
|
|
16593
|
+
const _c1$8 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16613
16594
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
16614
16595
|
i0.ɵɵelementStart(0, "div", 15);
|
|
16615
16596
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -16627,7 +16608,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
16627
16608
|
i0.ɵɵadvance(3);
|
|
16628
16609
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
16629
16610
|
i0.ɵɵadvance(1);
|
|
16630
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$
|
|
16611
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$8, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
16631
16612
|
} }
|
|
16632
16613
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
16633
16614
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
@@ -17633,9 +17614,9 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
17633
17614
|
type: Output
|
|
17634
17615
|
}] }); })();
|
|
17635
17616
|
|
|
17636
|
-
function
|
|
17637
|
-
i0.ɵɵelementStart(0, "div",
|
|
17638
|
-
i0.ɵɵelementStart(1, "span",
|
|
17617
|
+
function UpdateFlagComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
17618
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
17619
|
+
i0.ɵɵelementStart(1, "span", 17);
|
|
17639
17620
|
i0.ɵɵtext(2, "Error:");
|
|
17640
17621
|
i0.ɵɵelementEnd();
|
|
17641
17622
|
i0.ɵɵtext(3);
|
|
@@ -17645,9 +17626,9 @@ function UpdateFlagComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
17645
17626
|
i0.ɵɵadvance(3);
|
|
17646
17627
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
17647
17628
|
} }
|
|
17648
|
-
function
|
|
17649
|
-
i0.ɵɵelementStart(0, "div",
|
|
17650
|
-
i0.ɵɵelementStart(1, "span",
|
|
17629
|
+
function UpdateFlagComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
17630
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
17631
|
+
i0.ɵɵelementStart(1, "span", 17);
|
|
17651
17632
|
i0.ɵɵtext(2, "Error:");
|
|
17652
17633
|
i0.ɵɵelementEnd();
|
|
17653
17634
|
i0.ɵɵtext(3);
|
|
@@ -17657,25 +17638,15 @@ function UpdateFlagComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
17657
17638
|
i0.ɵɵadvance(3);
|
|
17658
17639
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
17659
17640
|
} }
|
|
17660
|
-
function
|
|
17661
|
-
i0.ɵɵ
|
|
17662
|
-
i0.ɵɵ
|
|
17663
|
-
i0.ɵɵ
|
|
17664
|
-
i0.ɵɵ
|
|
17665
|
-
i0.ɵɵtext(4);
|
|
17666
|
-
i0.ɵɵelementEnd();
|
|
17641
|
+
function UpdateFlagComponent_button_22_Template(rf, ctx) { if (rf & 1) {
|
|
17642
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17643
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
17644
|
+
i0.ɵɵlistener("click", function UpdateFlagComponent_button_22_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onChangeStatus(); });
|
|
17645
|
+
i0.ɵɵtext(1, " Make inactive ");
|
|
17667
17646
|
i0.ɵɵelementEnd();
|
|
17668
|
-
} if (rf & 2) {
|
|
17669
|
-
const status_r3 = ctx.$implicit;
|
|
17670
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
17671
|
-
i0.ɵɵadvance(1);
|
|
17672
|
-
i0.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0.ɵɵpipeBind1(2, 4, status_r3));
|
|
17673
|
-
i0.ɵɵadvance(2);
|
|
17674
|
-
i0.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
17675
|
-
i0.ɵɵadvance(1);
|
|
17676
|
-
i0.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
17677
17647
|
} }
|
|
17678
17648
|
const _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
17649
|
+
const _c1$7 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
17679
17650
|
class UpdateFlagComponent {
|
|
17680
17651
|
constructor() {
|
|
17681
17652
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -17683,25 +17654,22 @@ class UpdateFlagComponent {
|
|
|
17683
17654
|
this.errorMessages = [];
|
|
17684
17655
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17685
17656
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17686
|
-
this.
|
|
17687
|
-
this.caseFlagStatuses = CaseFlagStatus;
|
|
17688
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
17689
|
-
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
17690
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
17691
|
-
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
17657
|
+
this.updateFlagControlName = 'flagComments';
|
|
17692
17658
|
this.commentsMaxCharLimit = 200;
|
|
17693
17659
|
}
|
|
17694
17660
|
ngOnInit() {
|
|
17661
|
+
this.updateFlagHint = UpdateFlagStep.HINT_TEXT;
|
|
17662
|
+
this.updateFlagCharLimitInfo = UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
17663
|
+
this.formGroup.addControl(this.updateFlagControlName, new FormControl(''));
|
|
17695
17664
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
17696
17665
|
const flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
17697
|
-
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new FormControl(flagDetail.status));
|
|
17698
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new FormControl(''));
|
|
17699
|
-
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new FormControl(false));
|
|
17700
17666
|
// Populate flag comments text area with existing comments
|
|
17701
|
-
this.formGroup.
|
|
17667
|
+
this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
|
|
17702
17668
|
if (flagDetail.name) {
|
|
17703
17669
|
this.updateFlagTitle =
|
|
17704
|
-
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE}
|
|
17670
|
+
`${CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE} "${flagDetail.name}${flagDetail.subTypeValue
|
|
17671
|
+
? `, ${flagDetail.subTypeValue}"`
|
|
17672
|
+
: '"'}`;
|
|
17705
17673
|
}
|
|
17706
17674
|
}
|
|
17707
17675
|
}
|
|
@@ -17710,7 +17678,7 @@ class UpdateFlagComponent {
|
|
|
17710
17678
|
this.validateTextEntry();
|
|
17711
17679
|
// If validation has passed, update the flag details with the comments entered
|
|
17712
17680
|
if (this.errorMessages.length === 0) {
|
|
17713
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
17681
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.updateFlagControlName).value });
|
|
17714
17682
|
}
|
|
17715
17683
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
17716
17684
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -17720,17 +17688,22 @@ class UpdateFlagComponent {
|
|
|
17720
17688
|
selectedFlag: this.selectedFlag
|
|
17721
17689
|
});
|
|
17722
17690
|
}
|
|
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
|
+
}
|
|
17723
17696
|
validateTextEntry() {
|
|
17724
17697
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
17725
17698
|
this.updateFlagCharLimitErrorMessage = null;
|
|
17726
17699
|
this.errorMessages = [];
|
|
17727
|
-
const comment = this.formGroup.get(this.
|
|
17700
|
+
const comment = this.formGroup.get(this.updateFlagControlName).value;
|
|
17728
17701
|
if (!comment) {
|
|
17729
17702
|
this.updateFlagNotEnteredErrorMessage = UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
17730
17703
|
this.errorMessages.push({
|
|
17731
17704
|
title: '',
|
|
17732
17705
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
17733
|
-
fieldId: this.
|
|
17706
|
+
fieldId: this.updateFlagControlName
|
|
17734
17707
|
});
|
|
17735
17708
|
}
|
|
17736
17709
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -17738,13 +17711,13 @@ class UpdateFlagComponent {
|
|
|
17738
17711
|
this.errorMessages.push({
|
|
17739
17712
|
title: '',
|
|
17740
17713
|
description: UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
17741
|
-
fieldId: this.
|
|
17714
|
+
fieldId: this.updateFlagControlName
|
|
17742
17715
|
});
|
|
17743
17716
|
}
|
|
17744
17717
|
}
|
|
17745
17718
|
}
|
|
17746
17719
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
17747
|
-
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
17720
|
+
UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 26, vars: 18, consts: [[1, "form-group", 3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], [1, "govuk-label", "govuk-label--l", 3, "for"], ["id", "update-flag-hint", 1, "govuk-hint"], ["id", "update-flag-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-hint update-flag-char-limit-info update-flag-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-grid-row"], [1, "govuk-grid-column-one-half"], [1, "govuk-tag", 3, "ngClass"], ["class", "button button-secondary", "type", "button", 3, "click", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["id", "update-flag-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-char-limit-error", 1, "govuk-error-message"], ["type", "button", 1, "button", "button-secondary", 3, "click"]], template: function UpdateFlagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17748
17721
|
i0.ɵɵelementStart(0, "div", 0);
|
|
17749
17722
|
i0.ɵɵelementStart(1, "div", 1);
|
|
17750
17723
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -17754,98 +17727,65 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
17754
17727
|
i0.ɵɵelementEnd();
|
|
17755
17728
|
i0.ɵɵelementEnd();
|
|
17756
17729
|
i0.ɵɵelementStart(6, "div", 5);
|
|
17757
|
-
i0.ɵɵ
|
|
17758
|
-
i0.ɵɵelementStart(8, "label", 6);
|
|
17759
|
-
i0.ɵɵtext(9);
|
|
17760
|
-
i0.ɵɵelementEnd();
|
|
17761
|
-
i0.ɵɵelementEnd();
|
|
17762
|
-
i0.ɵɵelementStart(10, "div", 7);
|
|
17763
|
-
i0.ɵɵtext(11);
|
|
17764
|
-
i0.ɵɵelementEnd();
|
|
17765
|
-
i0.ɵɵtemplate(12, UpdateFlagComponent_div_12_Template, 4, 1, "div", 8);
|
|
17766
|
-
i0.ɵɵtemplate(13, UpdateFlagComponent_div_13_Template, 4, 1, "div", 9);
|
|
17767
|
-
i0.ɵɵelementStart(14, "textarea", 10);
|
|
17768
|
-
i0.ɵɵtext(15, " ");
|
|
17769
|
-
i0.ɵɵelementEnd();
|
|
17770
|
-
i0.ɵɵelementStart(16, "div", 11);
|
|
17771
|
-
i0.ɵɵtext(17);
|
|
17772
|
-
i0.ɵɵelementEnd();
|
|
17773
|
-
i0.ɵɵelementEnd();
|
|
17774
|
-
i0.ɵɵelementStart(18, "div", 12);
|
|
17775
|
-
i0.ɵɵelementStart(19, "div");
|
|
17776
|
-
i0.ɵɵelementStart(20, "label", 13);
|
|
17777
|
-
i0.ɵɵtext(21);
|
|
17778
|
-
i0.ɵɵelementEnd();
|
|
17779
|
-
i0.ɵɵelementEnd();
|
|
17780
|
-
i0.ɵɵelementStart(22, "div", 5);
|
|
17781
|
-
i0.ɵɵelementStart(23, "div", 14);
|
|
17782
|
-
i0.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
17783
|
-
i0.ɵɵpipe(25, "enumDisplayDescription");
|
|
17730
|
+
i0.ɵɵtext(7);
|
|
17784
17731
|
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, " ");
|
|
17785
17736
|
i0.ɵɵelementEnd();
|
|
17786
|
-
i0.ɵɵelementStart(
|
|
17787
|
-
i0.ɵɵ
|
|
17788
|
-
i0.ɵɵtext(28);
|
|
17789
|
-
i0.ɵɵelementEnd();
|
|
17790
|
-
i0.ɵɵelementStart(29, "textarea", 17);
|
|
17791
|
-
i0.ɵɵtext(30, " ");
|
|
17737
|
+
i0.ɵɵelementStart(12, "div", 9);
|
|
17738
|
+
i0.ɵɵtext(13);
|
|
17792
17739
|
i0.ɵɵelementEnd();
|
|
17793
17740
|
i0.ɵɵelementEnd();
|
|
17794
17741
|
i0.ɵɵelementEnd();
|
|
17795
|
-
i0.ɵɵelementStart(
|
|
17796
|
-
i0.ɵɵelementStart(
|
|
17797
|
-
i0.ɵɵelementStart(
|
|
17798
|
-
i0.ɵɵ
|
|
17799
|
-
i0.ɵɵelementStart(
|
|
17800
|
-
i0.ɵɵ
|
|
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);
|
|
17801
17749
|
i0.ɵɵelementEnd();
|
|
17802
17750
|
i0.ɵɵelementEnd();
|
|
17803
17751
|
i0.ɵɵelementEnd();
|
|
17804
17752
|
i0.ɵɵelementEnd();
|
|
17753
|
+
i0.ɵɵelementStart(21, "div", 11);
|
|
17754
|
+
i0.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
17805
17755
|
i0.ɵɵelementEnd();
|
|
17806
17756
|
i0.ɵɵelementEnd();
|
|
17807
|
-
i0.ɵɵelementStart(
|
|
17808
|
-
i0.ɵɵelementStart(
|
|
17809
|
-
i0.ɵɵlistener("click", function
|
|
17810
|
-
i0.ɵɵtext(
|
|
17757
|
+
i0.ɵɵelementStart(23, "div", 14);
|
|
17758
|
+
i0.ɵɵelementStart(24, "button", 15);
|
|
17759
|
+
i0.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_24_listener() { return ctx.onNext(); });
|
|
17760
|
+
i0.ɵɵtext(25, "Next");
|
|
17811
17761
|
i0.ɵɵelementEnd();
|
|
17812
17762
|
i0.ɵɵelementEnd();
|
|
17813
17763
|
i0.ɵɵelementEnd();
|
|
17814
17764
|
} if (rf & 2) {
|
|
17815
17765
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
17816
17766
|
i0.ɵɵadvance(2);
|
|
17817
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
17818
|
-
i0.ɵɵadvance(
|
|
17819
|
-
i0.ɵɵ
|
|
17820
|
-
i0.ɵɵadvance(3);
|
|
17821
|
-
i0.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
17767
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$n, ctx.errorMessages.length > 0));
|
|
17768
|
+
i0.ɵɵadvance(2);
|
|
17769
|
+
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
17822
17770
|
i0.ɵɵadvance(1);
|
|
17823
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, "
|
|
17771
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
17824
17772
|
i0.ɵɵadvance(2);
|
|
17825
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17773
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
|
|
17826
17774
|
i0.ɵɵadvance(1);
|
|
17827
17775
|
i0.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
17828
17776
|
i0.ɵɵadvance(1);
|
|
17829
17777
|
i0.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
17830
17778
|
i0.ɵɵadvance(1);
|
|
17831
|
-
i0.ɵɵproperty("id", ctx.
|
|
17779
|
+
i0.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
|
|
17832
17780
|
i0.ɵɵadvance(3);
|
|
17833
|
-
i0.ɵɵtextInterpolate1(" ", ctx.
|
|
17834
|
-
i0.ɵɵadvance(
|
|
17835
|
-
i0.ɵɵ
|
|
17836
|
-
i0.ɵɵadvance(2);
|
|
17837
|
-
i0.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
17838
|
-
i0.ɵɵadvance(1);
|
|
17839
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
17840
|
-
i0.ɵɵadvance(4);
|
|
17841
|
-
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
17842
|
-
i0.ɵɵadvance(1);
|
|
17843
|
-
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);
|
|
17844
|
-
i0.ɵɵadvance(5);
|
|
17845
|
-
i0.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
17781
|
+
i0.ɵɵtextInterpolate1(" ", ctx.updateFlagCharLimitInfo, " ");
|
|
17782
|
+
i0.ɵɵadvance(6);
|
|
17783
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c1$7, ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
17846
17784
|
i0.ɵɵadvance(1);
|
|
17847
|
-
i0.ɵɵ
|
|
17848
|
-
|
|
17785
|
+
i0.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
17786
|
+
i0.ɵɵadvance(2);
|
|
17787
|
+
i0.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
17788
|
+
} }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName], encapsulation: 2 });
|
|
17849
17789
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
17850
17790
|
type: Component,
|
|
17851
17791
|
args: [{
|
|
@@ -29845,11 +29785,11 @@ function SearchResultComponent_table_0_th_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
29845
29785
|
i0.ɵɵadvance(2);
|
|
29846
29786
|
i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
29847
29787
|
} }
|
|
29848
|
-
function
|
|
29788
|
+
function SearchResultComponent_table_0_th_10_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
29849
29789
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
29850
29790
|
i0.ɵɵelementStart(0, "div", 27);
|
|
29851
29791
|
i0.ɵɵelementStart(1, "a", 28);
|
|
29852
|
-
i0.ɵɵlistener("click", function
|
|
29792
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_4_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
|
|
29853
29793
|
i0.ɵɵelementEnd();
|
|
29854
29794
|
i0.ɵɵelementEnd();
|
|
29855
29795
|
} if (rf & 2) {
|
|
@@ -29861,16 +29801,12 @@ function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) { if (rf &
|
|
|
29861
29801
|
function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
29862
29802
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
29863
29803
|
i0.ɵɵelementStart(0, "th");
|
|
29864
|
-
i0.ɵɵelementStart(1, "
|
|
29865
|
-
i0.ɵɵelementStart(2, "
|
|
29866
|
-
i0.ɵɵ
|
|
29867
|
-
i0.ɵɵ
|
|
29868
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
29869
|
-
i0.ɵɵtext(5);
|
|
29870
|
-
i0.ɵɵelementEnd();
|
|
29871
|
-
i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
|
|
29872
|
-
i0.ɵɵelementEnd();
|
|
29804
|
+
i0.ɵɵelementStart(1, "div", 24);
|
|
29805
|
+
i0.ɵɵelementStart(2, "div", 25);
|
|
29806
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_2_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
29807
|
+
i0.ɵɵtext(3);
|
|
29873
29808
|
i0.ɵɵelementEnd();
|
|
29809
|
+
i0.ɵɵtemplate(4, SearchResultComponent_table_0_th_10_div_4_Template, 2, 1, "div", 26);
|
|
29874
29810
|
i0.ɵɵelementEnd();
|
|
29875
29811
|
i0.ɵɵelementEnd();
|
|
29876
29812
|
} if (rf & 2) {
|
|
@@ -29878,7 +29814,7 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
29878
29814
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
29879
29815
|
i0.ɵɵadvance(1);
|
|
29880
29816
|
i0.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
|
|
29881
|
-
i0.ɵɵadvance(
|
|
29817
|
+
i0.ɵɵadvance(2);
|
|
29882
29818
|
i0.ɵɵtextInterpolate(col_r15.label);
|
|
29883
29819
|
i0.ɵɵadvance(1);
|
|
29884
29820
|
i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
@@ -30150,7 +30086,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
30150
30086
|
i0.ɵɵelementStart(7, "thead");
|
|
30151
30087
|
i0.ɵɵelementStart(8, "tr", 7);
|
|
30152
30088
|
i0.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
|
|
30153
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template,
|
|
30089
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 5, 3, "th", 9);
|
|
30154
30090
|
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
|
|
30155
30091
|
i0.ɵɵelementEnd();
|
|
30156
30092
|
i0.ɵɵelementEnd();
|
|
@@ -30878,5 +30814,5 @@ class TestRouteSnapshotBuilder {
|
|
|
30878
30814
|
* Generated bundle index. Do not edit.
|
|
30879
30815
|
*/
|
|
30880
30816
|
|
|
30881
|
-
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,
|
|
30817
|
+
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 };
|
|
30882
30818
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|