@hmcts/ccd-case-ui-toolkit 6.10.6-angular-upgrade-r4 → 6.10.6-r3.5-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 +227 -148
- 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/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 +220 -150
- 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 +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
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
var _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
122
|
-
var _c1$
|
|
122
|
+
var _c1$q = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
123
123
|
var FooterComponent = /** @class */ (function () {
|
|
124
124
|
function FooterComponent() {
|
|
125
125
|
}
|
|
126
126
|
return FooterComponent;
|
|
127
127
|
}());
|
|
128
128
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
129
|
-
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
129
|
+
FooterComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
130
130
|
if (rf & 1) {
|
|
131
131
|
i0__namespace.ɵɵprojectionDef(_c0$_);
|
|
132
132
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
var _c0$Z = [[["", "headerNavigation", ""]]];
|
|
211
|
-
var _c1$
|
|
211
|
+
var _c1$p = ["[headerNavigation]"];
|
|
212
212
|
var HeaderBarComponent = /** @class */ (function () {
|
|
213
213
|
function HeaderBarComponent() {
|
|
214
214
|
this.signOutRequest = new i0.EventEmitter();
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
return HeaderBarComponent;
|
|
220
220
|
}());
|
|
221
221
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
222
|
-
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
222
|
+
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
223
223
|
if (rf & 1) {
|
|
224
224
|
i0__namespace.ɵɵprojectionDef(_c0$Z);
|
|
225
225
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
@@ -283,14 +283,14 @@
|
|
|
283
283
|
})();
|
|
284
284
|
|
|
285
285
|
var _c0$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
286
|
-
var _c1$
|
|
286
|
+
var _c1$o = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
287
287
|
var NavigationComponent = /** @class */ (function () {
|
|
288
288
|
function NavigationComponent() {
|
|
289
289
|
}
|
|
290
290
|
return NavigationComponent;
|
|
291
291
|
}());
|
|
292
292
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
293
|
-
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
293
|
+
NavigationComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
294
294
|
if (rf & 1) {
|
|
295
295
|
i0__namespace.ɵɵprojectionDef(_c0$Y);
|
|
296
296
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -438,14 +438,14 @@
|
|
|
438
438
|
})();
|
|
439
439
|
|
|
440
440
|
var _c0$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
441
|
-
var _c1$
|
|
441
|
+
var _c1$n = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
442
442
|
var BodyComponent = /** @class */ (function () {
|
|
443
443
|
function BodyComponent() {
|
|
444
444
|
}
|
|
445
445
|
return BodyComponent;
|
|
446
446
|
}());
|
|
447
447
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
448
|
-
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
448
|
+
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$n, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
449
449
|
if (rf & 1) {
|
|
450
450
|
i0__namespace.ɵɵprojectionDef(_c0$X);
|
|
451
451
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1472,14 +1472,14 @@
|
|
|
1472
1472
|
})();
|
|
1473
1473
|
|
|
1474
1474
|
var _c0$U = function (a0) { return { "js-hidden": a0 }; };
|
|
1475
|
-
var _c1$
|
|
1475
|
+
var _c1$m = ["*"];
|
|
1476
1476
|
var TabComponent = /** @class */ (function () {
|
|
1477
1477
|
function TabComponent() {
|
|
1478
1478
|
}
|
|
1479
1479
|
return TabComponent;
|
|
1480
1480
|
}());
|
|
1481
1481
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1482
|
-
TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1482
|
+
TabComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
1483
1483
|
if (rf & 1) {
|
|
1484
1484
|
i0__namespace.ɵɵprojectionDef();
|
|
1485
1485
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1511,7 +1511,7 @@
|
|
|
1511
1511
|
})();
|
|
1512
1512
|
|
|
1513
1513
|
var _c0$T = ["tab"];
|
|
1514
|
-
var _c1$
|
|
1514
|
+
var _c1$l = function () { return ["."]; };
|
|
1515
1515
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1516
1516
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
1517
1517
|
if (rf & 1) {
|
|
@@ -1526,7 +1526,7 @@
|
|
|
1526
1526
|
if (rf & 2) {
|
|
1527
1527
|
var panel_r1 = ctx.$implicit;
|
|
1528
1528
|
i0__namespace.ɵɵadvance(1);
|
|
1529
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$
|
|
1529
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$l))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
|
|
1530
1530
|
i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1531
1531
|
i0__namespace.ɵɵadvance(2);
|
|
1532
1532
|
i0__namespace.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -2552,6 +2552,7 @@
|
|
|
2552
2552
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2553
2553
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2554
2554
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2555
|
+
CaseFlagStatus["NOT_APPROVED"] = "Not approved";
|
|
2555
2556
|
})(exports.CaseFlagStatus || (exports.CaseFlagStatus = {}));
|
|
2556
2557
|
|
|
2557
2558
|
var DashPipe = /** @class */ (function () {
|
|
@@ -11390,6 +11391,25 @@
|
|
|
11390
11391
|
}], null, null);
|
|
11391
11392
|
})();
|
|
11392
11393
|
|
|
11394
|
+
var EnumDisplayDescriptionPipe = /** @class */ (function () {
|
|
11395
|
+
function EnumDisplayDescriptionPipe() {
|
|
11396
|
+
}
|
|
11397
|
+
EnumDisplayDescriptionPipe.prototype.transform = function (value) {
|
|
11398
|
+
return Object.values(value);
|
|
11399
|
+
};
|
|
11400
|
+
return EnumDisplayDescriptionPipe;
|
|
11401
|
+
}());
|
|
11402
|
+
EnumDisplayDescriptionPipe.ɵfac = function EnumDisplayDescriptionPipe_Factory(t) { return new (t || EnumDisplayDescriptionPipe)(); };
|
|
11403
|
+
EnumDisplayDescriptionPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
|
|
11404
|
+
(function () {
|
|
11405
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
|
|
11406
|
+
type: i0.Pipe,
|
|
11407
|
+
args: [{
|
|
11408
|
+
name: 'enumDisplayDescription'
|
|
11409
|
+
}]
|
|
11410
|
+
}], null, null);
|
|
11411
|
+
})();
|
|
11412
|
+
|
|
11393
11413
|
var LinkedCasesService = /** @class */ (function () {
|
|
11394
11414
|
function LinkedCasesService(jurisdictionService, searchService) {
|
|
11395
11415
|
var _this = this;
|
|
@@ -11588,7 +11608,8 @@
|
|
|
11588
11608
|
ReadFieldsFilterPipe,
|
|
11589
11609
|
CcdTabFieldsPipe,
|
|
11590
11610
|
CcdPageFieldsPipe,
|
|
11591
|
-
LinkCasesReasonValuePipe
|
|
11611
|
+
LinkCasesReasonValuePipe,
|
|
11612
|
+
EnumDisplayDescriptionPipe
|
|
11592
11613
|
];
|
|
11593
11614
|
var PipesModule = /** @class */ (function () {
|
|
11594
11615
|
function PipesModule() {
|
|
@@ -11609,7 +11630,8 @@
|
|
|
11609
11630
|
ReadFieldsFilterPipe,
|
|
11610
11631
|
CcdTabFieldsPipe,
|
|
11611
11632
|
CcdPageFieldsPipe,
|
|
11612
|
-
LinkCasesReasonValuePipe
|
|
11633
|
+
LinkCasesReasonValuePipe,
|
|
11634
|
+
EnumDisplayDescriptionPipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
|
|
11613
11635
|
SortSearchResultPipe,
|
|
11614
11636
|
CcdCaseTitlePipe,
|
|
11615
11637
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
@@ -11617,7 +11639,8 @@
|
|
|
11617
11639
|
ReadFieldsFilterPipe,
|
|
11618
11640
|
CcdTabFieldsPipe,
|
|
11619
11641
|
CcdPageFieldsPipe,
|
|
11620
|
-
LinkCasesReasonValuePipe
|
|
11642
|
+
LinkCasesReasonValuePipe,
|
|
11643
|
+
EnumDisplayDescriptionPipe] });
|
|
11621
11644
|
})();
|
|
11622
11645
|
(function () {
|
|
11623
11646
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PipesModule, [{
|
|
@@ -11685,7 +11708,7 @@
|
|
|
11685
11708
|
i0__namespace.ɵɵelementEnd();
|
|
11686
11709
|
}
|
|
11687
11710
|
}
|
|
11688
|
-
var _c1$
|
|
11711
|
+
var _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
11689
11712
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
11690
11713
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
11691
11714
|
if (rf & 1) {
|
|
@@ -11706,7 +11729,7 @@
|
|
|
11706
11729
|
}
|
|
11707
11730
|
if (rf & 2) {
|
|
11708
11731
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11709
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
11732
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$k, ctx_r2.missingPostcode));
|
|
11710
11733
|
i0__namespace.ɵɵadvance(1);
|
|
11711
11734
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
11712
11735
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -11993,7 +12016,7 @@
|
|
|
11993
12016
|
if (rf & 2) {
|
|
11994
12017
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11995
12018
|
i0__namespace.ɵɵadvance(1);
|
|
11996
|
-
i0__namespace.ɵɵ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);
|
|
12019
|
+
i0__namespace.ɵɵ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");
|
|
11997
12020
|
}
|
|
11998
12021
|
}
|
|
11999
12022
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
|
|
@@ -12011,7 +12034,7 @@
|
|
|
12011
12034
|
i0__namespace.ɵɵelementEnd();
|
|
12012
12035
|
i0__namespace.ɵɵelement(6, "div", 9);
|
|
12013
12036
|
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
12014
|
-
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2,
|
|
12037
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
12015
12038
|
i0__namespace.ɵɵelementEnd();
|
|
12016
12039
|
i0__namespace.ɵɵelementEnd();
|
|
12017
12040
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -12092,7 +12115,7 @@
|
|
|
12092
12115
|
}());
|
|
12093
12116
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
12094
12117
|
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
|
|
12095
|
-
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
12118
|
+
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
12096
12119
|
if (rf & 1) {
|
|
12097
12120
|
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
12098
12121
|
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
|
|
@@ -12135,7 +12158,7 @@
|
|
|
12135
12158
|
if (rf & 2) {
|
|
12136
12159
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
12137
12160
|
i0__namespace.ɵɵadvance(1);
|
|
12138
|
-
i0__namespace.ɵɵ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);
|
|
12161
|
+
i0__namespace.ɵɵ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");
|
|
12139
12162
|
}
|
|
12140
12163
|
}
|
|
12141
12164
|
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) {
|
|
@@ -12153,7 +12176,7 @@
|
|
|
12153
12176
|
i0__namespace.ɵɵelementEnd();
|
|
12154
12177
|
i0__namespace.ɵɵelement(6, "div", 9);
|
|
12155
12178
|
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
12156
|
-
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2,
|
|
12179
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
12157
12180
|
i0__namespace.ɵɵelementEnd();
|
|
12158
12181
|
i0__namespace.ɵɵelementEnd();
|
|
12159
12182
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -12176,7 +12199,7 @@
|
|
|
12176
12199
|
return CaseFileViewFieldReadComponent;
|
|
12177
12200
|
}(CaseFileViewFieldComponent));
|
|
12178
12201
|
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
12179
|
-
CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵ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) {
|
|
12202
|
+
CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵ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) {
|
|
12180
12203
|
if (rf & 1) {
|
|
12181
12204
|
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
|
|
12182
12205
|
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
|
|
@@ -12285,8 +12308,9 @@
|
|
|
12285
12308
|
|
|
12286
12309
|
exports.UpdateFlagStep = void 0;
|
|
12287
12310
|
(function (UpdateFlagStep) {
|
|
12288
|
-
UpdateFlagStep["
|
|
12289
|
-
UpdateFlagStep["
|
|
12311
|
+
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.";
|
|
12312
|
+
UpdateFlagStep["COMMENT_CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
12313
|
+
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
12290
12314
|
})(exports.UpdateFlagStep || (exports.UpdateFlagStep = {}));
|
|
12291
12315
|
|
|
12292
12316
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) {
|
|
@@ -12374,7 +12398,9 @@
|
|
|
12374
12398
|
if (this.route.snapshot.data.case && this.route.snapshot.data.case.tabs) {
|
|
12375
12399
|
this.flagsData = this.route.snapshot.data.case.tabs
|
|
12376
12400
|
.filter(function (tab) { return tab.fields && tab.fields
|
|
12377
|
-
|
|
12401
|
+
// There could be more than one FlagLauncher field instance so an additional check of caseField ID is
|
|
12402
|
+
// required to ensure the correct instance is obtained
|
|
12403
|
+
.some(function (caseField) { return caseField.field_type.type === 'FlagLauncher' && caseField.id === _this.caseField.id; }); })[0].fields.reduce(function (flags, caseField) {
|
|
12378
12404
|
return FieldsUtils.extractFlagsDataFromCaseField(flags, caseField, caseField.id, caseField);
|
|
12379
12405
|
}, []);
|
|
12380
12406
|
}
|
|
@@ -13205,7 +13231,7 @@
|
|
|
13205
13231
|
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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);
|
|
13206
13232
|
}
|
|
13207
13233
|
}
|
|
13208
|
-
var _c1$
|
|
13234
|
+
var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
13209
13235
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
13210
13236
|
if (rf & 1) {
|
|
13211
13237
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
@@ -13219,7 +13245,7 @@
|
|
|
13219
13245
|
var i_r5 = ctx.index;
|
|
13220
13246
|
var ctx_r3 = i0__namespace.ɵɵnextContext(3);
|
|
13221
13247
|
i0__namespace.ɵɵadvance(2);
|
|
13222
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$
|
|
13248
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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));
|
|
13223
13249
|
}
|
|
13224
13250
|
}
|
|
13225
13251
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
|
|
@@ -14388,7 +14414,7 @@
|
|
|
14388
14414
|
i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
14389
14415
|
}
|
|
14390
14416
|
}
|
|
14391
|
-
var _c1$
|
|
14417
|
+
var _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
14392
14418
|
var WriteDocumentFieldComponent = /** @class */ (function (_super) {
|
|
14393
14419
|
__extends(WriteDocumentFieldComponent, _super);
|
|
14394
14420
|
function WriteDocumentFieldComponent(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
@@ -14690,7 +14716,7 @@
|
|
|
14690
14716
|
i0__namespace.ɵɵelementEnd();
|
|
14691
14717
|
}
|
|
14692
14718
|
if (rf & 2) {
|
|
14693
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$
|
|
14719
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
14694
14720
|
i0__namespace.ɵɵadvance(1);
|
|
14695
14721
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14696
14722
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15070,7 +15096,7 @@
|
|
|
15070
15096
|
i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
|
|
15071
15097
|
}
|
|
15072
15098
|
}
|
|
15073
|
-
var _c1$
|
|
15099
|
+
var _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
15074
15100
|
var WriteDynamicRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15075
15101
|
__extends(WriteDynamicRadioListFieldComponent, _super);
|
|
15076
15102
|
function WriteDynamicRadioListFieldComponent() {
|
|
@@ -15118,7 +15144,7 @@
|
|
|
15118
15144
|
i0__namespace.ɵɵelementEnd();
|
|
15119
15145
|
}
|
|
15120
15146
|
if (rf & 2) {
|
|
15121
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$
|
|
15147
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
15122
15148
|
i0__namespace.ɵɵadvance(3);
|
|
15123
15149
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15124
15150
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15226,7 +15252,7 @@
|
|
|
15226
15252
|
}
|
|
15227
15253
|
}
|
|
15228
15254
|
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
15229
|
-
var _c1$
|
|
15255
|
+
var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15230
15256
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15231
15257
|
__extends(WriteEmailFieldComponent, _super);
|
|
15232
15258
|
function WriteEmailFieldComponent() {
|
|
@@ -15260,7 +15286,7 @@
|
|
|
15260
15286
|
i0__namespace.ɵɵadvance(1);
|
|
15261
15287
|
i0__namespace.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
15262
15288
|
i0__namespace.ɵɵadvance(1);
|
|
15263
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
15289
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
15264
15290
|
}
|
|
15265
15291
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15266
15292
|
var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
@@ -15571,7 +15597,7 @@
|
|
|
15571
15597
|
i0__namespace.ɵɵtextInterpolate(radioButton_r4.label);
|
|
15572
15598
|
}
|
|
15573
15599
|
}
|
|
15574
|
-
var _c1$
|
|
15600
|
+
var _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
15575
15601
|
var WriteFixedRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15576
15602
|
__extends(WriteFixedRadioListFieldComponent, _super);
|
|
15577
15603
|
function WriteFixedRadioListFieldComponent() {
|
|
@@ -15602,7 +15628,7 @@
|
|
|
15602
15628
|
i0__namespace.ɵɵelementEnd();
|
|
15603
15629
|
}
|
|
15604
15630
|
if (rf & 2) {
|
|
15605
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
15631
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
15606
15632
|
i0__namespace.ɵɵadvance(3);
|
|
15607
15633
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15608
15634
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16425,7 +16451,7 @@
|
|
|
16425
16451
|
}
|
|
16426
16452
|
}
|
|
16427
16453
|
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
16428
|
-
var _c1$
|
|
16454
|
+
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16429
16455
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
16430
16456
|
__extends(WriteNumberFieldComponent, _super);
|
|
16431
16457
|
function WriteNumberFieldComponent() {
|
|
@@ -16459,7 +16485,7 @@
|
|
|
16459
16485
|
i0__namespace.ɵɵadvance(1);
|
|
16460
16486
|
i0__namespace.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
16461
16487
|
i0__namespace.ɵɵadvance(1);
|
|
16462
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
16488
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
16463
16489
|
}
|
|
16464
16490
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.NumberValueAccessor, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
16465
16491
|
var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
@@ -17239,7 +17265,7 @@
|
|
|
17239
17265
|
}
|
|
17240
17266
|
}
|
|
17241
17267
|
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
17242
|
-
var _c1$
|
|
17268
|
+
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17243
17269
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
17244
17270
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
17245
17271
|
function WritePhoneUKFieldComponent() {
|
|
@@ -17273,7 +17299,7 @@
|
|
|
17273
17299
|
i0__namespace.ɵɵadvance(1);
|
|
17274
17300
|
i0__namespace.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
17275
17301
|
i0__namespace.ɵɵadvance(1);
|
|
17276
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17302
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
17277
17303
|
}
|
|
17278
17304
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17279
17305
|
var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
@@ -17356,7 +17382,7 @@
|
|
|
17356
17382
|
}
|
|
17357
17383
|
}
|
|
17358
17384
|
var _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
17359
|
-
var _c1$
|
|
17385
|
+
var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
17360
17386
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
17361
17387
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
17362
17388
|
function WriteTextAreaFieldComponent(browserService) {
|
|
@@ -17401,7 +17427,7 @@
|
|
|
17401
17427
|
i0__namespace.ɵɵadvance(1);
|
|
17402
17428
|
i0__namespace.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
17403
17429
|
i0__namespace.ɵɵadvance(1);
|
|
17404
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17430
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
17405
17431
|
}
|
|
17406
17432
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17407
17433
|
(function () {
|
|
@@ -17484,7 +17510,7 @@
|
|
|
17484
17510
|
}
|
|
17485
17511
|
}
|
|
17486
17512
|
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
17487
|
-
var _c1$
|
|
17513
|
+
var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17488
17514
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
17489
17515
|
__extends(WriteTextFieldComponent, _super);
|
|
17490
17516
|
function WriteTextFieldComponent() {
|
|
@@ -17523,7 +17549,7 @@
|
|
|
17523
17549
|
i0__namespace.ɵɵadvance(1);
|
|
17524
17550
|
i0__namespace.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
17525
17551
|
i0__namespace.ɵɵadvance(1);
|
|
17526
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17552
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
17527
17553
|
}
|
|
17528
17554
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17529
17555
|
var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
@@ -17744,7 +17770,7 @@
|
|
|
17744
17770
|
i0__namespace.ɵɵtextInterpolate(value_r4);
|
|
17745
17771
|
}
|
|
17746
17772
|
}
|
|
17747
|
-
var _c1$
|
|
17773
|
+
var _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
17748
17774
|
var WriteYesNoFieldComponent = /** @class */ (function (_super) {
|
|
17749
17775
|
__extends(WriteYesNoFieldComponent, _super);
|
|
17750
17776
|
function WriteYesNoFieldComponent(yesNoService) {
|
|
@@ -17775,7 +17801,7 @@
|
|
|
17775
17801
|
i0__namespace.ɵɵelementEnd();
|
|
17776
17802
|
}
|
|
17777
17803
|
if (rf & 2) {
|
|
17778
|
-
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
17804
|
+
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
17779
17805
|
i0__namespace.ɵɵadvance(3);
|
|
17780
17806
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17781
17807
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -18170,16 +18196,16 @@
|
|
|
18170
18196
|
}] });
|
|
18171
18197
|
})();
|
|
18172
18198
|
|
|
18173
|
-
function
|
|
18199
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) {
|
|
18174
18200
|
if (rf & 1) {
|
|
18175
18201
|
i0__namespace.ɵɵelementContainer(0);
|
|
18176
18202
|
}
|
|
18177
18203
|
}
|
|
18178
18204
|
var _c0$u = function (a0) { return { cat: a0, level: 1 }; };
|
|
18179
|
-
function
|
|
18205
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
18180
18206
|
if (rf & 1) {
|
|
18181
18207
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
18182
|
-
i0__namespace.ɵɵtemplate(1,
|
|
18208
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
18183
18209
|
i0__namespace.ɵɵelementContainerEnd();
|
|
18184
18210
|
}
|
|
18185
18211
|
if (rf & 2) {
|
|
@@ -18195,7 +18221,7 @@
|
|
|
18195
18221
|
i0__namespace.ɵɵelementContainer(0);
|
|
18196
18222
|
}
|
|
18197
18223
|
}
|
|
18198
|
-
var _c1$
|
|
18224
|
+
var _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
18199
18225
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
|
|
18200
18226
|
if (rf & 1) {
|
|
18201
18227
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -18208,7 +18234,7 @@
|
|
|
18208
18234
|
i0__namespace.ɵɵnextContext();
|
|
18209
18235
|
var _r1 = i0__namespace.ɵɵreference(13);
|
|
18210
18236
|
i0__namespace.ɵɵadvance(1);
|
|
18211
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$
|
|
18237
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
18212
18238
|
}
|
|
18213
18239
|
}
|
|
18214
18240
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
@@ -18222,7 +18248,7 @@
|
|
|
18222
18248
|
i0__namespace.ɵɵelement(3, "img", 12);
|
|
18223
18249
|
i0__namespace.ɵɵtext(4);
|
|
18224
18250
|
i0__namespace.ɵɵelementEnd();
|
|
18225
|
-
i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container",
|
|
18251
|
+
i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
|
|
18226
18252
|
i0__namespace.ɵɵelementEnd();
|
|
18227
18253
|
}
|
|
18228
18254
|
if (rf & 2) {
|
|
@@ -18318,46 +18344,47 @@
|
|
|
18318
18344
|
return CaseFileViewFolderSelectorComponent;
|
|
18319
18345
|
}());
|
|
18320
18346
|
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialogRef), i0__namespace.ɵɵdirectiveInject(i1$3.MAT_DIALOG_DATA)); };
|
|
18321
|
-
CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵ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"], [
|
|
18347
|
+
CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
18322
18348
|
if (rf & 1) {
|
|
18323
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
18324
|
-
i0__namespace.ɵɵ
|
|
18349
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
18350
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
|
|
18325
18351
|
i0__namespace.ɵɵelementEnd();
|
|
18326
|
-
i0__namespace.ɵɵelementStart(
|
|
18327
|
-
i0__namespace.ɵɵtext(
|
|
18352
|
+
i0__namespace.ɵɵelementStart(1, "h2", 1);
|
|
18353
|
+
i0__namespace.ɵɵtext(2, "Move File");
|
|
18328
18354
|
i0__namespace.ɵɵelementEnd();
|
|
18329
|
-
i0__namespace.ɵɵelementStart(
|
|
18330
|
-
i0__namespace.ɵɵ
|
|
18355
|
+
i0__namespace.ɵɵelementStart(3, "p");
|
|
18356
|
+
i0__namespace.ɵɵtext(4);
|
|
18331
18357
|
i0__namespace.ɵɵelementEnd();
|
|
18332
|
-
i0__namespace.ɵɵelementStart(
|
|
18333
|
-
i0__namespace.ɵɵ
|
|
18334
|
-
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
|
|
18335
|
-
i0__namespace.ɵɵtext(8, "Save");
|
|
18358
|
+
i0__namespace.ɵɵelementStart(5, "div", 2);
|
|
18359
|
+
i0__namespace.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
|
|
18336
18360
|
i0__namespace.ɵɵelementEnd();
|
|
18337
|
-
i0__namespace.ɵɵelementStart(
|
|
18338
|
-
i0__namespace.ɵɵ
|
|
18339
|
-
i0__namespace.ɵɵ
|
|
18361
|
+
i0__namespace.ɵɵelementStart(7, "div", 4);
|
|
18362
|
+
i0__namespace.ɵɵelementStart(8, "button", 5);
|
|
18363
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
|
|
18364
|
+
i0__namespace.ɵɵtext(9, "Save");
|
|
18340
18365
|
i0__namespace.ɵɵelementEnd();
|
|
18366
|
+
i0__namespace.ɵɵelementStart(10, "a", 6);
|
|
18367
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
|
|
18368
|
+
i0__namespace.ɵɵtext(11, "Cancel");
|
|
18341
18369
|
i0__namespace.ɵɵelementEnd();
|
|
18342
|
-
i0__namespace.ɵɵelementStart(11, "div", 6);
|
|
18343
|
-
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
|
|
18344
18370
|
i0__namespace.ɵɵelementEnd();
|
|
18345
18371
|
i0__namespace.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
|
|
18346
18372
|
}
|
|
18347
18373
|
if (rf & 2) {
|
|
18348
|
-
i0__namespace.ɵɵadvance(
|
|
18374
|
+
i0__namespace.ɵɵadvance(4);
|
|
18349
18375
|
i0__namespace.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
18350
18376
|
i0__namespace.ɵɵadvance(2);
|
|
18351
18377
|
i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
18352
18378
|
}
|
|
18353
|
-
}, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: ["
|
|
18379
|
+
}, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder,.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 });
|
|
18354
18380
|
(function () {
|
|
18355
18381
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
18356
18382
|
type: i0.Component,
|
|
18357
18383
|
args: [{
|
|
18358
18384
|
selector: 'xui-case-file-view-folder-selector',
|
|
18359
18385
|
templateUrl: './case-file-view-folder-selector.component.html',
|
|
18360
|
-
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
18386
|
+
styleUrls: ['./case-file-view-folder-selector.component.scss'],
|
|
18387
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18361
18388
|
}]
|
|
18362
18389
|
}], function () {
|
|
18363
18390
|
return [{ type: i1__namespace$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
@@ -18429,7 +18456,7 @@
|
|
|
18429
18456
|
}
|
|
18430
18457
|
}
|
|
18431
18458
|
var _c0$t = [[["", "trigger", ""]]];
|
|
18432
|
-
var _c1$
|
|
18459
|
+
var _c1$8 = ["[trigger]"];
|
|
18433
18460
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
18434
18461
|
function CaseFileViewOverlayMenuComponent() {
|
|
18435
18462
|
this.title = '';
|
|
@@ -18444,7 +18471,7 @@
|
|
|
18444
18471
|
return CaseFileViewOverlayMenuComponent;
|
|
18445
18472
|
}());
|
|
18446
18473
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
18447
|
-
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$
|
|
18474
|
+
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
18448
18475
|
if (rf & 1) {
|
|
18449
18476
|
i0__namespace.ɵɵprojectionDef(_c0$t);
|
|
18450
18477
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -18909,7 +18936,7 @@
|
|
|
18909
18936
|
return Object.assign(documentTreeNode, node);
|
|
18910
18937
|
}
|
|
18911
18938
|
var filteredData = this.documentTreeData;
|
|
18912
|
-
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length >
|
|
18939
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 0) {
|
|
18913
18940
|
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
18914
18941
|
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
18915
18942
|
return true;
|
|
@@ -18991,7 +19018,6 @@
|
|
|
18991
19018
|
CaseFileViewFolderComponent.prototype.openMoveDialog = function (node) {
|
|
18992
19019
|
var _this = this;
|
|
18993
19020
|
var dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
|
|
18994
|
-
width: '570px',
|
|
18995
19021
|
data: { categories: this.categories, document: node }
|
|
18996
19022
|
});
|
|
18997
19023
|
dialogRef.afterClosed().subscribe(function (newCatId) {
|
|
@@ -19017,7 +19043,7 @@
|
|
|
19017
19043
|
}());
|
|
19018
19044
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
19019
19045
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
19020
|
-
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS =
|
|
19046
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
19021
19047
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)); };
|
|
19022
19048
|
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
19023
19049
|
if (rf & 1) {
|
|
@@ -19077,25 +19103,32 @@
|
|
|
19077
19103
|
}
|
|
19078
19104
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) {
|
|
19079
19105
|
if (rf & 1) {
|
|
19080
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19106
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
19081
19107
|
i0__namespace.ɵɵtext(1, "Active");
|
|
19082
19108
|
i0__namespace.ɵɵelementEnd();
|
|
19083
19109
|
}
|
|
19084
19110
|
}
|
|
19085
19111
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) {
|
|
19086
19112
|
if (rf & 1) {
|
|
19087
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19113
|
+
i0__namespace.ɵɵelementStart(0, "strong", 21);
|
|
19088
19114
|
i0__namespace.ɵɵtext(1, "Inactive");
|
|
19089
19115
|
i0__namespace.ɵɵelementEnd();
|
|
19090
19116
|
}
|
|
19091
19117
|
}
|
|
19092
19118
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) {
|
|
19093
19119
|
if (rf & 1) {
|
|
19094
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19120
|
+
i0__namespace.ɵɵelementStart(0, "strong", 21);
|
|
19095
19121
|
i0__namespace.ɵɵtext(1, "Requested");
|
|
19096
19122
|
i0__namespace.ɵɵelementEnd();
|
|
19097
19123
|
}
|
|
19098
19124
|
}
|
|
19125
|
+
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) {
|
|
19126
|
+
if (rf & 1) {
|
|
19127
|
+
i0__namespace.ɵɵelementStart(0, "strong", 22);
|
|
19128
|
+
i0__namespace.ɵɵtext(1, "Not approved");
|
|
19129
|
+
i0__namespace.ɵɵelementEnd();
|
|
19130
|
+
}
|
|
19131
|
+
}
|
|
19099
19132
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) {
|
|
19100
19133
|
if (rf & 1) {
|
|
19101
19134
|
i0__namespace.ɵɵelementStart(0, "tr", 15);
|
|
@@ -19122,6 +19155,7 @@
|
|
|
19122
19155
|
i0__namespace.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
19123
19156
|
i0__namespace.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
19124
19157
|
i0__namespace.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
19158
|
+
i0__namespace.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
19125
19159
|
i0__namespace.ɵɵelementEnd();
|
|
19126
19160
|
i0__namespace.ɵɵelementEnd();
|
|
19127
19161
|
}
|
|
@@ -19135,21 +19169,23 @@
|
|
|
19135
19169
|
i0__namespace.ɵɵadvance(2);
|
|
19136
19170
|
i0__namespace.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
19137
19171
|
i0__namespace.ɵɵadvance(2);
|
|
19138
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10,
|
|
19172
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 9, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
19139
19173
|
i0__namespace.ɵɵadvance(3);
|
|
19140
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13,
|
|
19174
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 12, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
19141
19175
|
i0__namespace.ɵɵadvance(3);
|
|
19142
19176
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
19143
19177
|
i0__namespace.ɵɵadvance(1);
|
|
19144
19178
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
19145
19179
|
i0__namespace.ɵɵadvance(1);
|
|
19146
19180
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
19181
|
+
i0__namespace.ɵɵadvance(1);
|
|
19182
|
+
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
19147
19183
|
}
|
|
19148
19184
|
}
|
|
19149
19185
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) {
|
|
19150
19186
|
if (rf & 1) {
|
|
19151
19187
|
i0__namespace.ɵɵelementStart(0, "tbody", 10);
|
|
19152
|
-
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
19188
|
+
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 19, 15, "tr", 14);
|
|
19153
19189
|
i0__namespace.ɵɵelementEnd();
|
|
19154
19190
|
}
|
|
19155
19191
|
if (rf & 2) {
|
|
@@ -19214,7 +19250,7 @@
|
|
|
19214
19250
|
return CaseFlagTableComponent;
|
|
19215
19251
|
}());
|
|
19216
19252
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
19217
|
-
CaseFlagTableComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
19253
|
+
CaseFlagTableComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
19218
19254
|
if (rf & 1) {
|
|
19219
19255
|
i0__namespace.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
19220
19256
|
}
|
|
@@ -19295,7 +19331,7 @@
|
|
|
19295
19331
|
}
|
|
19296
19332
|
}
|
|
19297
19333
|
var _c0$s = function (a0) { return { "form-group-error": a0 }; };
|
|
19298
|
-
var _c1$
|
|
19334
|
+
var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19299
19335
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
19300
19336
|
if (rf & 1) {
|
|
19301
19337
|
i0__namespace.ɵɵelementStart(0, "div", 15);
|
|
@@ -19315,7 +19351,7 @@
|
|
|
19315
19351
|
i0__namespace.ɵɵadvance(3);
|
|
19316
19352
|
i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
19317
19353
|
i0__namespace.ɵɵadvance(1);
|
|
19318
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
19354
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$7, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
19319
19355
|
}
|
|
19320
19356
|
}
|
|
19321
19357
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) {
|
|
@@ -20416,10 +20452,10 @@
|
|
|
20416
20452
|
}] });
|
|
20417
20453
|
})();
|
|
20418
20454
|
|
|
20419
|
-
function
|
|
20455
|
+
function UpdateFlagComponent_div_12_Template(rf, ctx) {
|
|
20420
20456
|
if (rf & 1) {
|
|
20421
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20422
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20457
|
+
i0__namespace.ɵɵelementStart(0, "div", 24);
|
|
20458
|
+
i0__namespace.ɵɵelementStart(1, "span", 25);
|
|
20423
20459
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20424
20460
|
i0__namespace.ɵɵelementEnd();
|
|
20425
20461
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20431,10 +20467,10 @@
|
|
|
20431
20467
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
20432
20468
|
}
|
|
20433
20469
|
}
|
|
20434
|
-
function
|
|
20470
|
+
function UpdateFlagComponent_div_13_Template(rf, ctx) {
|
|
20435
20471
|
if (rf & 1) {
|
|
20436
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20437
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20472
|
+
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
20473
|
+
i0__namespace.ɵɵelementStart(1, "span", 25);
|
|
20438
20474
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20439
20475
|
i0__namespace.ɵɵelementEnd();
|
|
20440
20476
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20446,17 +20482,28 @@
|
|
|
20446
20482
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
20447
20483
|
}
|
|
20448
20484
|
}
|
|
20449
|
-
function
|
|
20485
|
+
function UpdateFlagComponent_div_24_Template(rf, ctx) {
|
|
20450
20486
|
if (rf & 1) {
|
|
20451
|
-
|
|
20452
|
-
i0__namespace.ɵɵ
|
|
20453
|
-
i0__namespace.ɵɵ
|
|
20454
|
-
i0__namespace.ɵɵ
|
|
20487
|
+
i0__namespace.ɵɵelementStart(0, "div", 27);
|
|
20488
|
+
i0__namespace.ɵɵelement(1, "input", 28);
|
|
20489
|
+
i0__namespace.ɵɵpipe(2, "lowercase");
|
|
20490
|
+
i0__namespace.ɵɵelementStart(3, "label", 29);
|
|
20491
|
+
i0__namespace.ɵɵtext(4);
|
|
20492
|
+
i0__namespace.ɵɵelementEnd();
|
|
20455
20493
|
i0__namespace.ɵɵelementEnd();
|
|
20456
20494
|
}
|
|
20495
|
+
if (rf & 2) {
|
|
20496
|
+
var status_r3 = ctx.$implicit;
|
|
20497
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20498
|
+
i0__namespace.ɵɵadvance(1);
|
|
20499
|
+
i0__namespace.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0__namespace.ɵɵpipeBind1(2, 4, status_r3));
|
|
20500
|
+
i0__namespace.ɵɵadvance(2);
|
|
20501
|
+
i0__namespace.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
20502
|
+
i0__namespace.ɵɵadvance(1);
|
|
20503
|
+
i0__namespace.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
20504
|
+
}
|
|
20457
20505
|
}
|
|
20458
20506
|
var _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
20459
|
-
var _c1$7 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
20460
20507
|
var UpdateFlagComponent = /** @class */ (function () {
|
|
20461
20508
|
function UpdateFlagComponent() {
|
|
20462
20509
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -20464,22 +20511,25 @@
|
|
|
20464
20511
|
this.errorMessages = [];
|
|
20465
20512
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20466
20513
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20467
|
-
this.
|
|
20514
|
+
this.updateFlagStepEnum = exports.UpdateFlagStep;
|
|
20515
|
+
this.caseFlagStatuses = exports.CaseFlagStatus;
|
|
20516
|
+
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
20517
|
+
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
20518
|
+
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
20519
|
+
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
20468
20520
|
this.commentsMaxCharLimit = 200;
|
|
20469
20521
|
}
|
|
20470
20522
|
UpdateFlagComponent.prototype.ngOnInit = function () {
|
|
20471
|
-
this.updateFlagHint = exports.UpdateFlagStep.HINT_TEXT;
|
|
20472
|
-
this.updateFlagCharLimitInfo = exports.UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
20473
|
-
this.formGroup.addControl(this.updateFlagControlName, new i2.FormControl(''));
|
|
20474
20523
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
20475
20524
|
var flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
20525
|
+
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new i2.FormControl(flagDetail.status));
|
|
20526
|
+
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new i2.FormControl(''));
|
|
20527
|
+
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new i2.FormControl(false));
|
|
20476
20528
|
// Populate flag comments text area with existing comments
|
|
20477
|
-
this.formGroup.
|
|
20529
|
+
this.formGroup.addControl(this.FLAG_COMMENTS_CONTROL_NAME, new i2.FormControl(flagDetail.flagComment));
|
|
20478
20530
|
if (flagDetail.name) {
|
|
20479
20531
|
this.updateFlagTitle =
|
|
20480
|
-
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
|
|
20481
|
-
? ", " + flagDetail.subTypeValue + "\""
|
|
20482
|
-
: '"');
|
|
20532
|
+
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue ? ", " + flagDetail.subTypeValue + "\"" : '"');
|
|
20483
20533
|
}
|
|
20484
20534
|
}
|
|
20485
20535
|
};
|
|
@@ -20488,7 +20538,7 @@
|
|
|
20488
20538
|
this.validateTextEntry();
|
|
20489
20539
|
// If validation has passed, update the flag details with the comments entered
|
|
20490
20540
|
if (this.errorMessages.length === 0) {
|
|
20491
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
20541
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value });
|
|
20492
20542
|
}
|
|
20493
20543
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
20494
20544
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -20498,22 +20548,17 @@
|
|
|
20498
20548
|
selectedFlag: this.selectedFlag
|
|
20499
20549
|
});
|
|
20500
20550
|
};
|
|
20501
|
-
UpdateFlagComponent.prototype.onChangeStatus = function () {
|
|
20502
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { status: this.selectedFlag.flagDetailDisplay.flagDetail.status === exports.CaseFlagStatus.ACTIVE
|
|
20503
|
-
? exports.CaseFlagStatus.INACTIVE
|
|
20504
|
-
: this.selectedFlag.flagDetailDisplay.flagDetail.status });
|
|
20505
|
-
};
|
|
20506
20551
|
UpdateFlagComponent.prototype.validateTextEntry = function () {
|
|
20507
20552
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20508
20553
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20509
20554
|
this.errorMessages = [];
|
|
20510
|
-
var comment = this.formGroup.get(this.
|
|
20555
|
+
var comment = this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value;
|
|
20511
20556
|
if (!comment) {
|
|
20512
20557
|
this.updateFlagNotEnteredErrorMessage = exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
20513
20558
|
this.errorMessages.push({
|
|
20514
20559
|
title: '',
|
|
20515
20560
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
20516
|
-
fieldId: this.
|
|
20561
|
+
fieldId: this.FLAG_COMMENTS_CONTROL_NAME
|
|
20517
20562
|
});
|
|
20518
20563
|
}
|
|
20519
20564
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -20521,14 +20566,14 @@
|
|
|
20521
20566
|
this.errorMessages.push({
|
|
20522
20567
|
title: '',
|
|
20523
20568
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
20524
|
-
fieldId: this.
|
|
20569
|
+
fieldId: this.FLAG_COMMENTS_CONTROL_NAME
|
|
20525
20570
|
});
|
|
20526
20571
|
}
|
|
20527
20572
|
};
|
|
20528
20573
|
return UpdateFlagComponent;
|
|
20529
20574
|
}());
|
|
20530
20575
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
20531
|
-
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
20576
|
+
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
20532
20577
|
if (rf & 1) {
|
|
20533
20578
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20534
20579
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -20539,37 +20584,60 @@
|
|
|
20539
20584
|
i0__namespace.ɵɵelementEnd();
|
|
20540
20585
|
i0__namespace.ɵɵelementEnd();
|
|
20541
20586
|
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
20542
|
-
i0__namespace.ɵɵ
|
|
20587
|
+
i0__namespace.ɵɵelementStart(7, "div");
|
|
20588
|
+
i0__namespace.ɵɵelementStart(8, "label", 6);
|
|
20589
|
+
i0__namespace.ɵɵtext(9);
|
|
20543
20590
|
i0__namespace.ɵɵelementEnd();
|
|
20544
|
-
i0__namespace.ɵɵtemplate(8, UpdateFlagComponent_div_8_Template, 4, 1, "div", 6);
|
|
20545
|
-
i0__namespace.ɵɵtemplate(9, UpdateFlagComponent_div_9_Template, 4, 1, "div", 7);
|
|
20546
|
-
i0__namespace.ɵɵelementStart(10, "textarea", 8);
|
|
20547
|
-
i0__namespace.ɵɵtext(11, " ");
|
|
20548
20591
|
i0__namespace.ɵɵelementEnd();
|
|
20549
|
-
i0__namespace.ɵɵelementStart(
|
|
20550
|
-
i0__namespace.ɵɵtext(
|
|
20592
|
+
i0__namespace.ɵɵelementStart(10, "div", 7);
|
|
20593
|
+
i0__namespace.ɵɵtext(11);
|
|
20551
20594
|
i0__namespace.ɵɵelementEnd();
|
|
20595
|
+
i0__namespace.ɵɵtemplate(12, UpdateFlagComponent_div_12_Template, 4, 1, "div", 8);
|
|
20596
|
+
i0__namespace.ɵɵtemplate(13, UpdateFlagComponent_div_13_Template, 4, 1, "div", 9);
|
|
20597
|
+
i0__namespace.ɵɵelementStart(14, "textarea", 10);
|
|
20598
|
+
i0__namespace.ɵɵtext(15, " ");
|
|
20552
20599
|
i0__namespace.ɵɵelementEnd();
|
|
20600
|
+
i0__namespace.ɵɵelementStart(16, "div", 11);
|
|
20601
|
+
i0__namespace.ɵɵtext(17);
|
|
20553
20602
|
i0__namespace.ɵɵelementEnd();
|
|
20554
|
-
i0__namespace.ɵɵelementStart(14, "div", 10);
|
|
20555
|
-
i0__namespace.ɵɵelementStart(15, "div", 11);
|
|
20556
|
-
i0__namespace.ɵɵelementStart(16, "p");
|
|
20557
|
-
i0__namespace.ɵɵtext(17, "Flag status: ");
|
|
20558
|
-
i0__namespace.ɵɵelementStart(18, "span");
|
|
20559
|
-
i0__namespace.ɵɵelementStart(19, "strong", 12);
|
|
20560
|
-
i0__namespace.ɵɵtext(20);
|
|
20561
20603
|
i0__namespace.ɵɵelementEnd();
|
|
20604
|
+
i0__namespace.ɵɵelementStart(18, "div", 12);
|
|
20605
|
+
i0__namespace.ɵɵelementStart(19, "div");
|
|
20606
|
+
i0__namespace.ɵɵelementStart(20, "label", 13);
|
|
20607
|
+
i0__namespace.ɵɵtext(21);
|
|
20562
20608
|
i0__namespace.ɵɵelementEnd();
|
|
20563
20609
|
i0__namespace.ɵɵelementEnd();
|
|
20610
|
+
i0__namespace.ɵɵelementStart(22, "div", 5);
|
|
20611
|
+
i0__namespace.ɵɵelementStart(23, "div", 14);
|
|
20612
|
+
i0__namespace.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
20613
|
+
i0__namespace.ɵɵpipe(25, "enumDisplayDescription");
|
|
20564
20614
|
i0__namespace.ɵɵelementEnd();
|
|
20565
|
-
i0__namespace.ɵɵelementStart(21, "div", 11);
|
|
20566
|
-
i0__namespace.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
20567
20615
|
i0__namespace.ɵɵelementEnd();
|
|
20616
|
+
i0__namespace.ɵɵelementStart(26, "div");
|
|
20617
|
+
i0__namespace.ɵɵelementStart(27, "div", 16);
|
|
20618
|
+
i0__namespace.ɵɵtext(28);
|
|
20568
20619
|
i0__namespace.ɵɵelementEnd();
|
|
20569
|
-
i0__namespace.ɵɵelementStart(
|
|
20570
|
-
i0__namespace.ɵɵ
|
|
20571
|
-
i0__namespace.ɵɵ
|
|
20572
|
-
i0__namespace.ɵɵ
|
|
20620
|
+
i0__namespace.ɵɵelementStart(29, "textarea", 17);
|
|
20621
|
+
i0__namespace.ɵɵtext(30, " ");
|
|
20622
|
+
i0__namespace.ɵɵelementEnd();
|
|
20623
|
+
i0__namespace.ɵɵelementEnd();
|
|
20624
|
+
i0__namespace.ɵɵelementEnd();
|
|
20625
|
+
i0__namespace.ɵɵelementStart(31, "div");
|
|
20626
|
+
i0__namespace.ɵɵelementStart(32, "div", 18);
|
|
20627
|
+
i0__namespace.ɵɵelementStart(33, "div", 19);
|
|
20628
|
+
i0__namespace.ɵɵelement(34, "input", 20);
|
|
20629
|
+
i0__namespace.ɵɵelementStart(35, "label", 21);
|
|
20630
|
+
i0__namespace.ɵɵtext(36, " I need to add a Welsh translation ");
|
|
20631
|
+
i0__namespace.ɵɵelementEnd();
|
|
20632
|
+
i0__namespace.ɵɵelementEnd();
|
|
20633
|
+
i0__namespace.ɵɵelementEnd();
|
|
20634
|
+
i0__namespace.ɵɵelementEnd();
|
|
20635
|
+
i0__namespace.ɵɵelementEnd();
|
|
20636
|
+
i0__namespace.ɵɵelementEnd();
|
|
20637
|
+
i0__namespace.ɵɵelementStart(37, "div", 22);
|
|
20638
|
+
i0__namespace.ɵɵelementStart(38, "button", 23);
|
|
20639
|
+
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_38_listener() { return ctx.onNext(); });
|
|
20640
|
+
i0__namespace.ɵɵtext(39, "Next");
|
|
20573
20641
|
i0__namespace.ɵɵelementEnd();
|
|
20574
20642
|
i0__namespace.ɵɵelementEnd();
|
|
20575
20643
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20577,29 +20645,39 @@
|
|
|
20577
20645
|
if (rf & 2) {
|
|
20578
20646
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20579
20647
|
i0__namespace.ɵɵadvance(2);
|
|
20580
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
20581
|
-
i0__namespace.ɵɵadvance(
|
|
20582
|
-
i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
20583
|
-
i0__namespace.ɵɵadvance(1);
|
|
20648
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(24, _c0$n, ctx.errorMessages.length > 0));
|
|
20649
|
+
i0__namespace.ɵɵadvance(3);
|
|
20584
20650
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
20651
|
+
i0__namespace.ɵɵadvance(3);
|
|
20652
|
+
i0__namespace.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
20653
|
+
i0__namespace.ɵɵadvance(1);
|
|
20654
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " comments ");
|
|
20585
20655
|
i0__namespace.ɵɵadvance(2);
|
|
20586
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.
|
|
20656
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_HINT_TEXT, " ");
|
|
20587
20657
|
i0__namespace.ɵɵadvance(1);
|
|
20588
20658
|
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
20589
20659
|
i0__namespace.ɵɵadvance(1);
|
|
20590
20660
|
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
20591
20661
|
i0__namespace.ɵɵadvance(1);
|
|
20592
|
-
i0__namespace.ɵɵproperty("id", ctx.
|
|
20662
|
+
i0__namespace.ɵɵproperty("id", ctx.FLAG_COMMENTS_CONTROL_NAME)("name", ctx.FLAG_COMMENTS_CONTROL_NAME)("formControlName", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
20593
20663
|
i0__namespace.ɵɵadvance(3);
|
|
20594
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.
|
|
20595
|
-
i0__namespace.ɵɵadvance(
|
|
20596
|
-
i0__namespace.ɵɵ
|
|
20597
|
-
i0__namespace.ɵɵadvance(1);
|
|
20598
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
20664
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_CHARACTER_LIMIT_INFO, " ");
|
|
20665
|
+
i0__namespace.ɵɵadvance(4);
|
|
20666
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " status ");
|
|
20599
20667
|
i0__namespace.ɵɵadvance(2);
|
|
20600
|
-
i0__namespace.ɵɵproperty("
|
|
20668
|
+
i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
20669
|
+
i0__namespace.ɵɵadvance(1);
|
|
20670
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
20671
|
+
i0__namespace.ɵɵadvance(4);
|
|
20672
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
20673
|
+
i0__namespace.ɵɵadvance(1);
|
|
20674
|
+
i0__namespace.ɵɵ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);
|
|
20675
|
+
i0__namespace.ɵɵadvance(5);
|
|
20676
|
+
i0__namespace.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
20677
|
+
i0__namespace.ɵɵadvance(1);
|
|
20678
|
+
i0__namespace.ɵɵproperty("for", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
20601
20679
|
}
|
|
20602
|
-
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName], encapsulation: 2 });
|
|
20680
|
+
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName, i1__namespace.NgForOf], pipes: [EnumDisplayDescriptionPipe, i1__namespace.LowerCasePipe], encapsulation: 2 });
|
|
20603
20681
|
(function () {
|
|
20604
20682
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
20605
20683
|
type: i0.Component,
|
|
@@ -35322,6 +35400,7 @@
|
|
|
35322
35400
|
exports.DynamicRadioListPipe = DynamicRadioListPipe;
|
|
35323
35401
|
exports.ESQueryType = ESQueryType;
|
|
35324
35402
|
exports.Embedded = Embedded;
|
|
35403
|
+
exports.EnumDisplayDescriptionPipe = EnumDisplayDescriptionPipe;
|
|
35325
35404
|
exports.ErrorMessageComponent = ErrorMessageComponent;
|
|
35326
35405
|
exports.ErrorNotifierService = ErrorNotifierService;
|
|
35327
35406
|
exports.EventCaseField = EventCaseField;
|