@hmcts/ccd-case-ui-toolkit 6.10.6-view-edit-add-welsh-translation-flag → 6.10.7-access-view-alignment
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 +159 -412
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +8 -16
- package/esm2015/lib/shared/components/palette/case-flag/components/index.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +105 -204
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +3 -4
- package/esm2015/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.js +1 -2
- package/esm2015/lib/shared/components/palette/palette.module.js +6 -10
- 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 +161 -390
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-flag/components/index.d.ts +0 -1
- package/lib/shared/components/palette/case-flag/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +5 -11
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +1 -2
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +2 -3
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts +1 -2
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +27 -28
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/pipes/index.d.ts +0 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +2 -3
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag-welsh-translation-form/update-flag-welsh-translation-form.component.js +0 -100
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-states.enum.js +0 -6
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +0 -16
- package/esm2015/lib/shared/pipes/generic/index.js +0 -2
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-welsh-translation-form/update-flag-welsh-translation-form.component.d.ts +0 -14
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-welsh-translation-form/update-flag-welsh-translation-form.component.d.ts.map +0 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-states.enum.d.ts +0 -5
- package/lib/shared/components/palette/case-flag/enums/update-flag-states.enum.d.ts.map +0 -1
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +0 -8
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +0 -1
- package/lib/shared/pipes/generic/index.d.ts +0 -2
- package/lib/shared/pipes/generic/index.d.ts.map +0 -1
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
var _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
122
|
-
var _c1$
|
|
122
|
+
var _c1$r = ["[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$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) {
|
|
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$q = ["[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$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) {
|
|
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$p = ["[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$p, 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$o = ["[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$o, 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$n = ["*"];
|
|
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$n, 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$m = 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$m))("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,7 +2552,6 @@
|
|
|
2552
2552
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2553
2553
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2554
2554
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2555
|
-
CaseFlagStatus["NOT_APPROVED"] = "Not Approved";
|
|
2556
2555
|
})(exports.CaseFlagStatus || (exports.CaseFlagStatus = {}));
|
|
2557
2556
|
|
|
2558
2557
|
var DashPipe = /** @class */ (function () {
|
|
@@ -11391,25 +11390,6 @@
|
|
|
11391
11390
|
}], null, null);
|
|
11392
11391
|
})();
|
|
11393
11392
|
|
|
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
|
-
|
|
11413
11393
|
var LinkedCasesService = /** @class */ (function () {
|
|
11414
11394
|
function LinkedCasesService(jurisdictionService, searchService) {
|
|
11415
11395
|
var _this = this;
|
|
@@ -11608,8 +11588,7 @@
|
|
|
11608
11588
|
ReadFieldsFilterPipe,
|
|
11609
11589
|
CcdTabFieldsPipe,
|
|
11610
11590
|
CcdPageFieldsPipe,
|
|
11611
|
-
LinkCasesReasonValuePipe
|
|
11612
|
-
EnumDisplayDescriptionPipe
|
|
11591
|
+
LinkCasesReasonValuePipe
|
|
11613
11592
|
];
|
|
11614
11593
|
var PipesModule = /** @class */ (function () {
|
|
11615
11594
|
function PipesModule() {
|
|
@@ -11630,8 +11609,7 @@
|
|
|
11630
11609
|
ReadFieldsFilterPipe,
|
|
11631
11610
|
CcdTabFieldsPipe,
|
|
11632
11611
|
CcdPageFieldsPipe,
|
|
11633
|
-
LinkCasesReasonValuePipe,
|
|
11634
|
-
EnumDisplayDescriptionPipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
|
|
11612
|
+
LinkCasesReasonValuePipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
|
|
11635
11613
|
SortSearchResultPipe,
|
|
11636
11614
|
CcdCaseTitlePipe,
|
|
11637
11615
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
@@ -11639,8 +11617,7 @@
|
|
|
11639
11617
|
ReadFieldsFilterPipe,
|
|
11640
11618
|
CcdTabFieldsPipe,
|
|
11641
11619
|
CcdPageFieldsPipe,
|
|
11642
|
-
LinkCasesReasonValuePipe
|
|
11643
|
-
EnumDisplayDescriptionPipe] });
|
|
11620
|
+
LinkCasesReasonValuePipe] });
|
|
11644
11621
|
})();
|
|
11645
11622
|
(function () {
|
|
11646
11623
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PipesModule, [{
|
|
@@ -11708,7 +11685,7 @@
|
|
|
11708
11685
|
i0__namespace.ɵɵelementEnd();
|
|
11709
11686
|
}
|
|
11710
11687
|
}
|
|
11711
|
-
var _c1$
|
|
11688
|
+
var _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
11712
11689
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
11713
11690
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
11714
11691
|
if (rf & 1) {
|
|
@@ -11729,7 +11706,7 @@
|
|
|
11729
11706
|
}
|
|
11730
11707
|
if (rf & 2) {
|
|
11731
11708
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11732
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
11709
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
|
|
11733
11710
|
i0__namespace.ɵɵadvance(1);
|
|
11734
11711
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
11735
11712
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -12294,7 +12271,6 @@
|
|
|
12294
12271
|
CaseFlagFieldState[CaseFlagFieldState["FLAG_COMMENTS"] = 3] = "FLAG_COMMENTS";
|
|
12295
12272
|
CaseFlagFieldState[CaseFlagFieldState["FLAG_MANAGE_CASE_FLAGS"] = 4] = "FLAG_MANAGE_CASE_FLAGS";
|
|
12296
12273
|
CaseFlagFieldState[CaseFlagFieldState["FLAG_UPDATE"] = 5] = "FLAG_UPDATE";
|
|
12297
|
-
CaseFlagFieldState[CaseFlagFieldState["FLAG_UPDATE_EXTRA_STEP"] = 6] = "FLAG_UPDATE_EXTRA_STEP";
|
|
12298
12274
|
})(exports.CaseFlagFieldState || (exports.CaseFlagFieldState = {}));
|
|
12299
12275
|
exports.CaseFlagText = void 0;
|
|
12300
12276
|
(function (CaseFlagText) {
|
|
@@ -12309,9 +12285,8 @@
|
|
|
12309
12285
|
|
|
12310
12286
|
exports.UpdateFlagStep = void 0;
|
|
12311
12287
|
(function (UpdateFlagStep) {
|
|
12312
|
-
UpdateFlagStep["
|
|
12313
|
-
UpdateFlagStep["
|
|
12314
|
-
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
12288
|
+
UpdateFlagStep["HINT_TEXT"] = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.";
|
|
12289
|
+
UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
12315
12290
|
})(exports.UpdateFlagStep || (exports.UpdateFlagStep = {}));
|
|
12316
12291
|
|
|
12317
12292
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) {
|
|
@@ -13230,7 +13205,7 @@
|
|
|
13230
13205
|
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);
|
|
13231
13206
|
}
|
|
13232
13207
|
}
|
|
13233
|
-
var _c1$
|
|
13208
|
+
var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
13234
13209
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
13235
13210
|
if (rf & 1) {
|
|
13236
13211
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
@@ -13244,7 +13219,7 @@
|
|
|
13244
13219
|
var i_r5 = ctx.index;
|
|
13245
13220
|
var ctx_r3 = i0__namespace.ɵɵnextContext(3);
|
|
13246
13221
|
i0__namespace.ɵɵadvance(2);
|
|
13247
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$
|
|
13222
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵ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));
|
|
13248
13223
|
}
|
|
13249
13224
|
}
|
|
13250
13225
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
|
|
@@ -14413,7 +14388,7 @@
|
|
|
14413
14388
|
i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
14414
14389
|
}
|
|
14415
14390
|
}
|
|
14416
|
-
var _c1$
|
|
14391
|
+
var _c1$j = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
14417
14392
|
var WriteDocumentFieldComponent = /** @class */ (function (_super) {
|
|
14418
14393
|
__extends(WriteDocumentFieldComponent, _super);
|
|
14419
14394
|
function WriteDocumentFieldComponent(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
@@ -14715,7 +14690,7 @@
|
|
|
14715
14690
|
i0__namespace.ɵɵelementEnd();
|
|
14716
14691
|
}
|
|
14717
14692
|
if (rf & 2) {
|
|
14718
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$
|
|
14693
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$j, !ctx.valid));
|
|
14719
14694
|
i0__namespace.ɵɵadvance(1);
|
|
14720
14695
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14721
14696
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15095,7 +15070,7 @@
|
|
|
15095
15070
|
i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
|
|
15096
15071
|
}
|
|
15097
15072
|
}
|
|
15098
|
-
var _c1$
|
|
15073
|
+
var _c1$i = function (a0) { return { "form-group-error": a0 }; };
|
|
15099
15074
|
var WriteDynamicRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15100
15075
|
__extends(WriteDynamicRadioListFieldComponent, _super);
|
|
15101
15076
|
function WriteDynamicRadioListFieldComponent() {
|
|
@@ -15143,7 +15118,7 @@
|
|
|
15143
15118
|
i0__namespace.ɵɵelementEnd();
|
|
15144
15119
|
}
|
|
15145
15120
|
if (rf & 2) {
|
|
15146
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$
|
|
15121
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$i, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
15147
15122
|
i0__namespace.ɵɵadvance(3);
|
|
15148
15123
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15149
15124
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15251,7 +15226,7 @@
|
|
|
15251
15226
|
}
|
|
15252
15227
|
}
|
|
15253
15228
|
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
15254
|
-
var _c1$
|
|
15229
|
+
var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15255
15230
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15256
15231
|
__extends(WriteEmailFieldComponent, _super);
|
|
15257
15232
|
function WriteEmailFieldComponent() {
|
|
@@ -15285,7 +15260,7 @@
|
|
|
15285
15260
|
i0__namespace.ɵɵadvance(1);
|
|
15286
15261
|
i0__namespace.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
15287
15262
|
i0__namespace.ɵɵadvance(1);
|
|
15288
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
15263
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$h, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
15289
15264
|
}
|
|
15290
15265
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15291
15266
|
var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
@@ -15596,7 +15571,7 @@
|
|
|
15596
15571
|
i0__namespace.ɵɵtextInterpolate(radioButton_r4.label);
|
|
15597
15572
|
}
|
|
15598
15573
|
}
|
|
15599
|
-
var _c1$
|
|
15574
|
+
var _c1$g = function (a0) { return { "form-group-error": a0 }; };
|
|
15600
15575
|
var WriteFixedRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15601
15576
|
__extends(WriteFixedRadioListFieldComponent, _super);
|
|
15602
15577
|
function WriteFixedRadioListFieldComponent() {
|
|
@@ -15627,7 +15602,7 @@
|
|
|
15627
15602
|
i0__namespace.ɵɵelementEnd();
|
|
15628
15603
|
}
|
|
15629
15604
|
if (rf & 2) {
|
|
15630
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
15605
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$g, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
15631
15606
|
i0__namespace.ɵɵadvance(3);
|
|
15632
15607
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15633
15608
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16450,7 +16425,7 @@
|
|
|
16450
16425
|
}
|
|
16451
16426
|
}
|
|
16452
16427
|
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
16453
|
-
var _c1$
|
|
16428
|
+
var _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16454
16429
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
16455
16430
|
__extends(WriteNumberFieldComponent, _super);
|
|
16456
16431
|
function WriteNumberFieldComponent() {
|
|
@@ -16484,7 +16459,7 @@
|
|
|
16484
16459
|
i0__namespace.ɵɵadvance(1);
|
|
16485
16460
|
i0__namespace.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
16486
16461
|
i0__namespace.ɵɵadvance(1);
|
|
16487
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
16462
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$f, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
16488
16463
|
}
|
|
16489
16464
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.NumberValueAccessor, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
16490
16465
|
var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
@@ -17264,7 +17239,7 @@
|
|
|
17264
17239
|
}
|
|
17265
17240
|
}
|
|
17266
17241
|
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
17267
|
-
var _c1$
|
|
17242
|
+
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17268
17243
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
17269
17244
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
17270
17245
|
function WritePhoneUKFieldComponent() {
|
|
@@ -17298,7 +17273,7 @@
|
|
|
17298
17273
|
i0__namespace.ɵɵadvance(1);
|
|
17299
17274
|
i0__namespace.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
17300
17275
|
i0__namespace.ɵɵadvance(1);
|
|
17301
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17276
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
17302
17277
|
}
|
|
17303
17278
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17304
17279
|
var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
@@ -17381,7 +17356,7 @@
|
|
|
17381
17356
|
}
|
|
17382
17357
|
}
|
|
17383
17358
|
var _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
17384
|
-
var _c1$
|
|
17359
|
+
var _c1$d = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
17385
17360
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
17386
17361
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
17387
17362
|
function WriteTextAreaFieldComponent(browserService) {
|
|
@@ -17426,7 +17401,7 @@
|
|
|
17426
17401
|
i0__namespace.ɵɵadvance(1);
|
|
17427
17402
|
i0__namespace.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
17428
17403
|
i0__namespace.ɵɵadvance(1);
|
|
17429
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17404
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
17430
17405
|
}
|
|
17431
17406
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17432
17407
|
(function () {
|
|
@@ -17509,7 +17484,7 @@
|
|
|
17509
17484
|
}
|
|
17510
17485
|
}
|
|
17511
17486
|
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
17512
|
-
var _c1$
|
|
17487
|
+
var _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17513
17488
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
17514
17489
|
__extends(WriteTextFieldComponent, _super);
|
|
17515
17490
|
function WriteTextFieldComponent() {
|
|
@@ -17548,7 +17523,7 @@
|
|
|
17548
17523
|
i0__namespace.ɵɵadvance(1);
|
|
17549
17524
|
i0__namespace.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
17550
17525
|
i0__namespace.ɵɵadvance(1);
|
|
17551
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17526
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
17552
17527
|
}
|
|
17553
17528
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17554
17529
|
var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
@@ -17769,7 +17744,7 @@
|
|
|
17769
17744
|
i0__namespace.ɵɵtextInterpolate(value_r4);
|
|
17770
17745
|
}
|
|
17771
17746
|
}
|
|
17772
|
-
var _c1$
|
|
17747
|
+
var _c1$b = function (a0) { return { "form-group-error": a0 }; };
|
|
17773
17748
|
var WriteYesNoFieldComponent = /** @class */ (function (_super) {
|
|
17774
17749
|
__extends(WriteYesNoFieldComponent, _super);
|
|
17775
17750
|
function WriteYesNoFieldComponent(yesNoService) {
|
|
@@ -17800,7 +17775,7 @@
|
|
|
17800
17775
|
i0__namespace.ɵɵelementEnd();
|
|
17801
17776
|
}
|
|
17802
17777
|
if (rf & 2) {
|
|
17803
|
-
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
17778
|
+
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$b, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
17804
17779
|
i0__namespace.ɵɵadvance(3);
|
|
17805
17780
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17806
17781
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -18220,7 +18195,7 @@
|
|
|
18220
18195
|
i0__namespace.ɵɵelementContainer(0);
|
|
18221
18196
|
}
|
|
18222
18197
|
}
|
|
18223
|
-
var _c1$
|
|
18198
|
+
var _c1$a = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
18224
18199
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
|
|
18225
18200
|
if (rf & 1) {
|
|
18226
18201
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -18233,7 +18208,7 @@
|
|
|
18233
18208
|
i0__namespace.ɵɵnextContext();
|
|
18234
18209
|
var _r1 = i0__namespace.ɵɵreference(13);
|
|
18235
18210
|
i0__namespace.ɵɵadvance(1);
|
|
18236
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$
|
|
18211
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$a, subcat_r8, level_r6 + 1));
|
|
18237
18212
|
}
|
|
18238
18213
|
}
|
|
18239
18214
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
@@ -18375,7 +18350,7 @@
|
|
|
18375
18350
|
i0__namespace.ɵɵadvance(2);
|
|
18376
18351
|
i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
18377
18352
|
}
|
|
18378
|
-
}, 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
|
|
18353
|
+
}, 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: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 });
|
|
18379
18354
|
(function () {
|
|
18380
18355
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
18381
18356
|
type: i0.Component,
|
|
@@ -18455,7 +18430,7 @@
|
|
|
18455
18430
|
}
|
|
18456
18431
|
}
|
|
18457
18432
|
var _c0$t = [[["", "trigger", ""]]];
|
|
18458
|
-
var _c1$
|
|
18433
|
+
var _c1$9 = ["[trigger]"];
|
|
18459
18434
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
18460
18435
|
function CaseFileViewOverlayMenuComponent() {
|
|
18461
18436
|
this.title = '';
|
|
@@ -18470,7 +18445,7 @@
|
|
|
18470
18445
|
return CaseFileViewOverlayMenuComponent;
|
|
18471
18446
|
}());
|
|
18472
18447
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
18473
|
-
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$
|
|
18448
|
+
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$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) {
|
|
18474
18449
|
if (rf & 1) {
|
|
18475
18450
|
i0__namespace.ɵɵprojectionDef(_c0$t);
|
|
18476
18451
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -19102,32 +19077,25 @@
|
|
|
19102
19077
|
}
|
|
19103
19078
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) {
|
|
19104
19079
|
if (rf & 1) {
|
|
19105
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19080
|
+
i0__namespace.ɵɵelementStart(0, "strong", 19);
|
|
19106
19081
|
i0__namespace.ɵɵtext(1, "Active");
|
|
19107
19082
|
i0__namespace.ɵɵelementEnd();
|
|
19108
19083
|
}
|
|
19109
19084
|
}
|
|
19110
19085
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) {
|
|
19111
19086
|
if (rf & 1) {
|
|
19112
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19087
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
19113
19088
|
i0__namespace.ɵɵtext(1, "Inactive");
|
|
19114
19089
|
i0__namespace.ɵɵelementEnd();
|
|
19115
19090
|
}
|
|
19116
19091
|
}
|
|
19117
19092
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) {
|
|
19118
19093
|
if (rf & 1) {
|
|
19119
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19094
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
19120
19095
|
i0__namespace.ɵɵtext(1, "Requested");
|
|
19121
19096
|
i0__namespace.ɵɵelementEnd();
|
|
19122
19097
|
}
|
|
19123
19098
|
}
|
|
19124
|
-
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) {
|
|
19125
|
-
if (rf & 1) {
|
|
19126
|
-
i0__namespace.ɵɵelementStart(0, "strong", 22);
|
|
19127
|
-
i0__namespace.ɵɵtext(1, "Not approved");
|
|
19128
|
-
i0__namespace.ɵɵelementEnd();
|
|
19129
|
-
}
|
|
19130
|
-
}
|
|
19131
19099
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) {
|
|
19132
19100
|
if (rf & 1) {
|
|
19133
19101
|
i0__namespace.ɵɵelementStart(0, "tr", 15);
|
|
@@ -19154,7 +19122,6 @@
|
|
|
19154
19122
|
i0__namespace.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
19155
19123
|
i0__namespace.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
19156
19124
|
i0__namespace.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
19157
|
-
i0__namespace.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
19158
19125
|
i0__namespace.ɵɵelementEnd();
|
|
19159
19126
|
i0__namespace.ɵɵelementEnd();
|
|
19160
19127
|
}
|
|
@@ -19168,23 +19135,21 @@
|
|
|
19168
19135
|
i0__namespace.ɵɵadvance(2);
|
|
19169
19136
|
i0__namespace.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
19170
19137
|
i0__namespace.ɵɵadvance(2);
|
|
19171
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10,
|
|
19138
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 8, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
19172
19139
|
i0__namespace.ɵɵadvance(3);
|
|
19173
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13,
|
|
19140
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 11, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
19174
19141
|
i0__namespace.ɵɵadvance(3);
|
|
19175
19142
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
19176
19143
|
i0__namespace.ɵɵadvance(1);
|
|
19177
19144
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
19178
19145
|
i0__namespace.ɵɵadvance(1);
|
|
19179
19146
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
19180
|
-
i0__namespace.ɵɵadvance(1);
|
|
19181
|
-
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
19182
19147
|
}
|
|
19183
19148
|
}
|
|
19184
19149
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) {
|
|
19185
19150
|
if (rf & 1) {
|
|
19186
19151
|
i0__namespace.ɵɵelementStart(0, "tbody", 10);
|
|
19187
|
-
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
19152
|
+
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 18, 14, "tr", 14);
|
|
19188
19153
|
i0__namespace.ɵɵelementEnd();
|
|
19189
19154
|
}
|
|
19190
19155
|
if (rf & 2) {
|
|
@@ -19249,7 +19214,7 @@
|
|
|
19249
19214
|
return CaseFlagTableComponent;
|
|
19250
19215
|
}());
|
|
19251
19216
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
19252
|
-
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"], [
|
|
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
19218
|
if (rf & 1) {
|
|
19254
19219
|
i0__namespace.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
19255
19220
|
}
|
|
@@ -19330,7 +19295,7 @@
|
|
|
19330
19295
|
}
|
|
19331
19296
|
}
|
|
19332
19297
|
var _c0$s = function (a0) { return { "form-group-error": a0 }; };
|
|
19333
|
-
var _c1$
|
|
19298
|
+
var _c1$8 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19334
19299
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
19335
19300
|
if (rf & 1) {
|
|
19336
19301
|
i0__namespace.ɵɵelementStart(0, "div", 15);
|
|
@@ -19350,7 +19315,7 @@
|
|
|
19350
19315
|
i0__namespace.ɵɵadvance(3);
|
|
19351
19316
|
i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
19352
19317
|
i0__namespace.ɵɵadvance(1);
|
|
19353
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
19318
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$8, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
19354
19319
|
}
|
|
19355
19320
|
}
|
|
19356
19321
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) {
|
|
@@ -20451,319 +20416,70 @@
|
|
|
20451
20416
|
}] });
|
|
20452
20417
|
})();
|
|
20453
20418
|
|
|
20454
|
-
|
|
20455
|
-
(function (UpdateFlagStatesEnum) {
|
|
20456
|
-
UpdateFlagStatesEnum[UpdateFlagStatesEnum["FLAG_FORM"] = 0] = "FLAG_FORM";
|
|
20457
|
-
UpdateFlagStatesEnum[UpdateFlagStatesEnum["WELSH_TRANSLATION_FORM"] = 1] = "WELSH_TRANSLATION_FORM";
|
|
20458
|
-
})(UpdateFlagStatesEnum || (UpdateFlagStatesEnum = {}));
|
|
20459
|
-
|
|
20460
|
-
var UpdateFlagWelshTranslationFormComponent = /** @class */ (function () {
|
|
20461
|
-
function UpdateFlagWelshTranslationFormComponent() {
|
|
20462
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
20463
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
20464
|
-
this.FLAG_COMMENTS_WELSH_CONTROL_NAME = 'flagCommentWelsh';
|
|
20465
|
-
this.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME = 'flagStatusReasonChangeWelsh';
|
|
20466
|
-
}
|
|
20467
|
-
UpdateFlagWelshTranslationFormComponent.prototype.ngOnInit = function () {
|
|
20468
|
-
if (this.formGroup) {
|
|
20469
|
-
this.formGroup.addControl(this.FLAG_COMMENTS_WELSH_CONTROL_NAME, new i2.FormControl(''));
|
|
20470
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME, new i2.FormControl(''));
|
|
20471
|
-
}
|
|
20472
|
-
};
|
|
20473
|
-
return UpdateFlagWelshTranslationFormComponent;
|
|
20474
|
-
}());
|
|
20475
|
-
UpdateFlagWelshTranslationFormComponent.ɵfac = function UpdateFlagWelshTranslationFormComponent_Factory(t) { return new (t || UpdateFlagWelshTranslationFormComponent)(); };
|
|
20476
|
-
UpdateFlagWelshTranslationFormComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagWelshTranslationFormComponent, selectors: [["ccd-update-flag-welsh-translation-form"]], inputs: { formGroup: "formGroup", FLAG_COMMENTS_CONTROL_NAME: "FLAG_COMMENTS_CONTROL_NAME", FLAG_STATUS_CHANGE_REASON_CONTROL_NAME: "FLAG_STATUS_CHANGE_REASON_CONTROL_NAME" }, decls: 28, vars: 17, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--m"], [1, "govuk-hint"], [3, "formGroup"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["readonly", "", "rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"]], template: function UpdateFlagWelshTranslationFormComponent_Template(rf, ctx) {
|
|
20477
|
-
if (rf & 1) {
|
|
20478
|
-
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20479
|
-
i0__namespace.ɵɵelementStart(1, "h2", 1);
|
|
20480
|
-
i0__namespace.ɵɵtext(2, "Add Welsh translation to flag");
|
|
20481
|
-
i0__namespace.ɵɵelementEnd();
|
|
20482
|
-
i0__namespace.ɵɵelementStart(3, "div", 2);
|
|
20483
|
-
i0__namespace.ɵɵtext(4, "Write translation to flag description or comments in the box provided.");
|
|
20484
|
-
i0__namespace.ɵɵelementEnd();
|
|
20485
|
-
i0__namespace.ɵɵelementEnd();
|
|
20486
|
-
i0__namespace.ɵɵelementContainerStart(5, 3);
|
|
20487
|
-
i0__namespace.ɵɵelementStart(6, "div");
|
|
20488
|
-
i0__namespace.ɵɵelementStart(7, "div", 4);
|
|
20489
|
-
i0__namespace.ɵɵelementStart(8, "label", 5);
|
|
20490
|
-
i0__namespace.ɵɵtext(9, "Other description");
|
|
20491
|
-
i0__namespace.ɵɵelementEnd();
|
|
20492
|
-
i0__namespace.ɵɵelementStart(10, "textarea", 6);
|
|
20493
|
-
i0__namespace.ɵɵtext(11, " ");
|
|
20494
|
-
i0__namespace.ɵɵelementEnd();
|
|
20495
|
-
i0__namespace.ɵɵelementEnd();
|
|
20496
|
-
i0__namespace.ɵɵelementStart(12, "div", 4);
|
|
20497
|
-
i0__namespace.ɵɵelementStart(13, "label", 5);
|
|
20498
|
-
i0__namespace.ɵɵtext(14, "Other description (Welsh)");
|
|
20499
|
-
i0__namespace.ɵɵelementEnd();
|
|
20500
|
-
i0__namespace.ɵɵelementStart(15, "textarea", 7);
|
|
20501
|
-
i0__namespace.ɵɵtext(16, " ");
|
|
20502
|
-
i0__namespace.ɵɵelementEnd();
|
|
20503
|
-
i0__namespace.ɵɵelementEnd();
|
|
20504
|
-
i0__namespace.ɵɵelementEnd();
|
|
20505
|
-
i0__namespace.ɵɵelementStart(17, "div");
|
|
20506
|
-
i0__namespace.ɵɵelementStart(18, "div", 4);
|
|
20507
|
-
i0__namespace.ɵɵelementStart(19, "label", 5);
|
|
20508
|
-
i0__namespace.ɵɵtext(20, "Flag comment");
|
|
20509
|
-
i0__namespace.ɵɵelementEnd();
|
|
20510
|
-
i0__namespace.ɵɵelementStart(21, "textarea", 6);
|
|
20511
|
-
i0__namespace.ɵɵtext(22, " ");
|
|
20512
|
-
i0__namespace.ɵɵelementEnd();
|
|
20513
|
-
i0__namespace.ɵɵelementEnd();
|
|
20514
|
-
i0__namespace.ɵɵelementStart(23, "div", 4);
|
|
20515
|
-
i0__namespace.ɵɵelementStart(24, "label", 5);
|
|
20516
|
-
i0__namespace.ɵɵtext(25, "Flag comment (Welsh)");
|
|
20517
|
-
i0__namespace.ɵɵelementEnd();
|
|
20518
|
-
i0__namespace.ɵɵelementStart(26, "textarea", 7);
|
|
20519
|
-
i0__namespace.ɵɵtext(27, " ");
|
|
20520
|
-
i0__namespace.ɵɵelementEnd();
|
|
20521
|
-
i0__namespace.ɵɵelementEnd();
|
|
20522
|
-
i0__namespace.ɵɵelementEnd();
|
|
20523
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20524
|
-
}
|
|
20525
|
-
if (rf & 2) {
|
|
20526
|
-
i0__namespace.ɵɵadvance(5);
|
|
20527
|
-
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20528
|
-
i0__namespace.ɵɵadvance(3);
|
|
20529
|
-
i0__namespace.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
20530
|
-
i0__namespace.ɵɵadvance(2);
|
|
20531
|
-
i0__namespace.ɵɵproperty("id", ctx.FLAG_COMMENTS_CONTROL_NAME)("name", ctx.FLAG_COMMENTS_CONTROL_NAME)("formControlName", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
20532
|
-
i0__namespace.ɵɵadvance(3);
|
|
20533
|
-
i0__namespace.ɵɵproperty("for", ctx.FLAG_COMMENTS_WELSH_CONTROL_NAME);
|
|
20534
|
-
i0__namespace.ɵɵadvance(2);
|
|
20535
|
-
i0__namespace.ɵɵproperty("id", ctx.FLAG_COMMENTS_WELSH_CONTROL_NAME)("name", ctx.FLAG_COMMENTS_WELSH_CONTROL_NAME)("formControlName", ctx.FLAG_COMMENTS_WELSH_CONTROL_NAME);
|
|
20536
|
-
i0__namespace.ɵɵadvance(4);
|
|
20537
|
-
i0__namespace.ɵɵproperty("for", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME);
|
|
20538
|
-
i0__namespace.ɵɵadvance(2);
|
|
20539
|
-
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);
|
|
20540
|
-
i0__namespace.ɵɵadvance(3);
|
|
20541
|
-
i0__namespace.ɵɵproperty("for", ctx.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME);
|
|
20542
|
-
i0__namespace.ɵɵadvance(2);
|
|
20543
|
-
i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME)("name", ctx.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME)("formControlName", ctx.FLAG_STATUS_CHANGE_REASON_WELSH_CONTROL_NAME);
|
|
20544
|
-
}
|
|
20545
|
-
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName], encapsulation: 2 });
|
|
20546
|
-
(function () {
|
|
20547
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagWelshTranslationFormComponent, [{
|
|
20548
|
-
type: i0.Component,
|
|
20549
|
-
args: [{
|
|
20550
|
-
selector: 'ccd-update-flag-welsh-translation-form',
|
|
20551
|
-
templateUrl: './update-flag-welsh-translation-form.component.html'
|
|
20552
|
-
}]
|
|
20553
|
-
}], null, { formGroup: [{
|
|
20554
|
-
type: i0.Input
|
|
20555
|
-
}], FLAG_COMMENTS_CONTROL_NAME: [{
|
|
20556
|
-
type: i0.Input
|
|
20557
|
-
}], FLAG_STATUS_CHANGE_REASON_CONTROL_NAME: [{
|
|
20558
|
-
type: i0.Input
|
|
20559
|
-
}] });
|
|
20560
|
-
})();
|
|
20561
|
-
|
|
20562
|
-
function UpdateFlagComponent_ng_container_1_div_14_Template(rf, ctx) {
|
|
20419
|
+
function UpdateFlagComponent_div_8_Template(rf, ctx) {
|
|
20563
20420
|
if (rf & 1) {
|
|
20564
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20565
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20421
|
+
i0__namespace.ɵɵelementStart(0, "div", 16);
|
|
20422
|
+
i0__namespace.ɵɵelementStart(1, "span", 17);
|
|
20566
20423
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20567
20424
|
i0__namespace.ɵɵelementEnd();
|
|
20568
20425
|
i0__namespace.ɵɵtext(3);
|
|
20569
20426
|
i0__namespace.ɵɵelementEnd();
|
|
20570
20427
|
}
|
|
20571
20428
|
if (rf & 2) {
|
|
20572
|
-
var
|
|
20429
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20573
20430
|
i0__namespace.ɵɵadvance(3);
|
|
20574
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
20431
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
20575
20432
|
}
|
|
20576
20433
|
}
|
|
20577
|
-
function
|
|
20434
|
+
function UpdateFlagComponent_div_9_Template(rf, ctx) {
|
|
20578
20435
|
if (rf & 1) {
|
|
20579
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20580
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20436
|
+
i0__namespace.ɵɵelementStart(0, "div", 18);
|
|
20437
|
+
i0__namespace.ɵɵelementStart(1, "span", 17);
|
|
20581
20438
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20582
20439
|
i0__namespace.ɵɵelementEnd();
|
|
20583
20440
|
i0__namespace.ɵɵtext(3);
|
|
20584
20441
|
i0__namespace.ɵɵelementEnd();
|
|
20585
20442
|
}
|
|
20586
20443
|
if (rf & 2) {
|
|
20587
|
-
var
|
|
20444
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
20588
20445
|
i0__namespace.ɵɵadvance(3);
|
|
20589
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
20446
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
20590
20447
|
}
|
|
20591
20448
|
}
|
|
20592
|
-
function
|
|
20449
|
+
function UpdateFlagComponent_button_22_Template(rf, ctx) {
|
|
20593
20450
|
if (rf & 1) {
|
|
20594
|
-
i0__namespace.ɵɵ
|
|
20595
|
-
i0__namespace.ɵɵ
|
|
20596
|
-
i0__namespace.ɵɵ
|
|
20597
|
-
i0__namespace.ɵɵtext(
|
|
20598
|
-
i0__namespace.ɵɵelementEnd();
|
|
20451
|
+
var _r4_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20452
|
+
i0__namespace.ɵɵelementStart(0, "button", 19);
|
|
20453
|
+
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_button_22_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.onChangeStatus(); });
|
|
20454
|
+
i0__namespace.ɵɵtext(1, " Make inactive ");
|
|
20599
20455
|
i0__namespace.ɵɵelementEnd();
|
|
20600
20456
|
}
|
|
20601
|
-
if (rf & 2) {
|
|
20602
|
-
var status_r6 = ctx.$implicit;
|
|
20603
|
-
var ctx_r5 = i0__namespace.ɵɵnextContext(2);
|
|
20604
|
-
i0__namespace.ɵɵadvance(1);
|
|
20605
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.FLAG_STATUS_CONTROL_NAME + "_" + status_r6)("name", ctx_r5.FLAG_STATUS_CONTROL_NAME)("formControlName", ctx_r5.FLAG_STATUS_CONTROL_NAME)("value", status_r6);
|
|
20606
|
-
i0__namespace.ɵɵadvance(1);
|
|
20607
|
-
i0__namespace.ɵɵproperty("for", ctx_r5.FLAG_STATUS_CONTROL_NAME + "_" + status_r6);
|
|
20608
|
-
i0__namespace.ɵɵadvance(1);
|
|
20609
|
-
i0__namespace.ɵɵtextInterpolate1(" ", status_r6, " ");
|
|
20610
|
-
}
|
|
20611
20457
|
}
|
|
20612
20458
|
var _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
20613
|
-
function
|
|
20614
|
-
if (rf & 1) {
|
|
20615
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20616
|
-
i0__namespace.ɵɵelementContainerStart(1, 5);
|
|
20617
|
-
i0__namespace.ɵɵelementStart(2, "div");
|
|
20618
|
-
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
20619
|
-
i0__namespace.ɵɵelementStart(4, "div", 7);
|
|
20620
|
-
i0__namespace.ɵɵelementStart(5, "h1", 8);
|
|
20621
|
-
i0__namespace.ɵɵelementStart(6, "label", 9);
|
|
20622
|
-
i0__namespace.ɵɵtext(7);
|
|
20623
|
-
i0__namespace.ɵɵelementEnd();
|
|
20624
|
-
i0__namespace.ɵɵelementEnd();
|
|
20625
|
-
i0__namespace.ɵɵelementStart(8, "div", 10);
|
|
20626
|
-
i0__namespace.ɵɵelementStart(9, "div");
|
|
20627
|
-
i0__namespace.ɵɵelementStart(10, "label", 11);
|
|
20628
|
-
i0__namespace.ɵɵtext(11);
|
|
20629
|
-
i0__namespace.ɵɵelementEnd();
|
|
20630
|
-
i0__namespace.ɵɵelementEnd();
|
|
20631
|
-
i0__namespace.ɵɵelementStart(12, "div", 12);
|
|
20632
|
-
i0__namespace.ɵɵtext(13);
|
|
20633
|
-
i0__namespace.ɵɵelementEnd();
|
|
20634
|
-
i0__namespace.ɵɵtemplate(14, UpdateFlagComponent_ng_container_1_div_14_Template, 4, 1, "div", 13);
|
|
20635
|
-
i0__namespace.ɵɵtemplate(15, UpdateFlagComponent_ng_container_1_div_15_Template, 4, 1, "div", 14);
|
|
20636
|
-
i0__namespace.ɵɵelementStart(16, "textarea", 15);
|
|
20637
|
-
i0__namespace.ɵɵtext(17, " ");
|
|
20638
|
-
i0__namespace.ɵɵelementEnd();
|
|
20639
|
-
i0__namespace.ɵɵelementStart(18, "div", 16);
|
|
20640
|
-
i0__namespace.ɵɵtext(19);
|
|
20641
|
-
i0__namespace.ɵɵelementEnd();
|
|
20642
|
-
i0__namespace.ɵɵelementEnd();
|
|
20643
|
-
i0__namespace.ɵɵelementEnd();
|
|
20644
|
-
i0__namespace.ɵɵelementEnd();
|
|
20645
|
-
i0__namespace.ɵɵelementStart(20, "div");
|
|
20646
|
-
i0__namespace.ɵɵelementStart(21, "div");
|
|
20647
|
-
i0__namespace.ɵɵelementStart(22, "label", 17);
|
|
20648
|
-
i0__namespace.ɵɵtext(23);
|
|
20649
|
-
i0__namespace.ɵɵelementEnd();
|
|
20650
|
-
i0__namespace.ɵɵelementEnd();
|
|
20651
|
-
i0__namespace.ɵɵelementStart(24, "div", 10);
|
|
20652
|
-
i0__namespace.ɵɵelementStart(25, "div", 18);
|
|
20653
|
-
i0__namespace.ɵɵtemplate(26, UpdateFlagComponent_ng_container_1_div_26_Template, 4, 6, "div", 19);
|
|
20654
|
-
i0__namespace.ɵɵpipe(27, "enumDisplayDescription");
|
|
20655
|
-
i0__namespace.ɵɵelementEnd();
|
|
20656
|
-
i0__namespace.ɵɵelementEnd();
|
|
20657
|
-
i0__namespace.ɵɵelementStart(28, "div");
|
|
20658
|
-
i0__namespace.ɵɵelementStart(29, "div", 20);
|
|
20659
|
-
i0__namespace.ɵɵtext(30);
|
|
20660
|
-
i0__namespace.ɵɵelementEnd();
|
|
20661
|
-
i0__namespace.ɵɵelementStart(31, "textarea", 21);
|
|
20662
|
-
i0__namespace.ɵɵtext(32, " ");
|
|
20663
|
-
i0__namespace.ɵɵelementEnd();
|
|
20664
|
-
i0__namespace.ɵɵelementEnd();
|
|
20665
|
-
i0__namespace.ɵɵelementEnd();
|
|
20666
|
-
i0__namespace.ɵɵelementEnd();
|
|
20667
|
-
i0__namespace.ɵɵelementStart(33, "div", 22);
|
|
20668
|
-
i0__namespace.ɵɵelementStart(34, "div", 23);
|
|
20669
|
-
i0__namespace.ɵɵelementStart(35, "div", 24);
|
|
20670
|
-
i0__namespace.ɵɵelement(36, "input", 25);
|
|
20671
|
-
i0__namespace.ɵɵelementStart(37, "label", 26);
|
|
20672
|
-
i0__namespace.ɵɵtext(38, " I need to add a Welsh translation ");
|
|
20673
|
-
i0__namespace.ɵɵelementEnd();
|
|
20674
|
-
i0__namespace.ɵɵelementEnd();
|
|
20675
|
-
i0__namespace.ɵɵelementEnd();
|
|
20676
|
-
i0__namespace.ɵɵelementEnd();
|
|
20677
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20678
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20679
|
-
}
|
|
20680
|
-
if (rf & 2) {
|
|
20681
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20682
|
-
i0__namespace.ɵɵadvance(1);
|
|
20683
|
-
i0__namespace.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
20684
|
-
i0__namespace.ɵɵadvance(3);
|
|
20685
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(25, _c0$n, ctx_r0.errorMessages.length > 0));
|
|
20686
|
-
i0__namespace.ɵɵadvance(3);
|
|
20687
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagTitle, " ");
|
|
20688
|
-
i0__namespace.ɵɵadvance(3);
|
|
20689
|
-
i0__namespace.ɵɵproperty("for", ctx_r0.FLAG_COMMENTS_CONTROL_NAME);
|
|
20690
|
-
i0__namespace.ɵɵadvance(1);
|
|
20691
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagTitle, " comments ");
|
|
20692
|
-
i0__namespace.ɵɵadvance(2);
|
|
20693
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagStepEnum.COMMENT_HINT_TEXT, " ");
|
|
20694
|
-
i0__namespace.ɵɵadvance(1);
|
|
20695
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r0.updateFlagNotEnteredErrorMessage);
|
|
20696
|
-
i0__namespace.ɵɵadvance(1);
|
|
20697
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r0.updateFlagCharLimitErrorMessage);
|
|
20698
|
-
i0__namespace.ɵɵadvance(1);
|
|
20699
|
-
i0__namespace.ɵɵproperty("id", ctx_r0.FLAG_COMMENTS_CONTROL_NAME)("name", ctx_r0.FLAG_COMMENTS_CONTROL_NAME)("formControlName", ctx_r0.FLAG_COMMENTS_CONTROL_NAME);
|
|
20700
|
-
i0__namespace.ɵɵadvance(3);
|
|
20701
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagStepEnum.COMMENT_CHARACTER_LIMIT_INFO, " ");
|
|
20702
|
-
i0__namespace.ɵɵadvance(4);
|
|
20703
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagTitle, " status ");
|
|
20704
|
-
i0__namespace.ɵɵadvance(2);
|
|
20705
|
-
i0__namespace.ɵɵproperty("id", ctx_r0.FLAG_STATUS_CONTROL_NAME);
|
|
20706
|
-
i0__namespace.ɵɵadvance(1);
|
|
20707
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(27, 23, ctx_r0.caseFlagStatuses));
|
|
20708
|
-
i0__namespace.ɵɵadvance(4);
|
|
20709
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
20710
|
-
i0__namespace.ɵɵadvance(1);
|
|
20711
|
-
i0__namespace.ɵɵproperty("id", ctx_r0.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("name", ctx_r0.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("formControlName", ctx_r0.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME);
|
|
20712
|
-
i0__namespace.ɵɵadvance(5);
|
|
20713
|
-
i0__namespace.ɵɵproperty("formControlName", ctx_r0.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("id", ctx_r0.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx_r0.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
20714
|
-
i0__namespace.ɵɵadvance(1);
|
|
20715
|
-
i0__namespace.ɵɵproperty("for", ctx_r0.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
20716
|
-
}
|
|
20717
|
-
}
|
|
20718
|
-
function UpdateFlagComponent_ng_container_2_Template(rf, ctx) {
|
|
20719
|
-
if (rf & 1) {
|
|
20720
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20721
|
-
i0__namespace.ɵɵelement(1, "ccd-update-flag-welsh-translation-form", 33);
|
|
20722
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20723
|
-
}
|
|
20724
|
-
if (rf & 2) {
|
|
20725
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
20726
|
-
i0__namespace.ɵɵadvance(1);
|
|
20727
|
-
i0__namespace.ɵɵproperty("formGroup", ctx_r1.formGroup)("FLAG_COMMENTS_CONTROL_NAME", ctx_r1.FLAG_COMMENTS_CONTROL_NAME)("FLAG_STATUS_CHANGE_REASON_CONTROL_NAME", ctx_r1.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME);
|
|
20728
|
-
}
|
|
20729
|
-
}
|
|
20730
|
-
function UpdateFlagComponent_button_4_Template(rf, ctx) {
|
|
20731
|
-
if (rf & 1) {
|
|
20732
|
-
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20733
|
-
i0__namespace.ɵɵelementStart(0, "button", 34);
|
|
20734
|
-
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_button_4_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.onBack(); });
|
|
20735
|
-
i0__namespace.ɵɵtext(1, " Back ");
|
|
20736
|
-
i0__namespace.ɵɵelementEnd();
|
|
20737
|
-
}
|
|
20738
|
-
}
|
|
20459
|
+
var _c1$7 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
20739
20460
|
var UpdateFlagComponent = /** @class */ (function () {
|
|
20740
20461
|
function UpdateFlagComponent() {
|
|
20741
20462
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
20742
|
-
this.currentFormStep = UpdateFlagStatesEnum.FLAG_FORM;
|
|
20743
|
-
this.updateFlagStates = UpdateFlagStatesEnum;
|
|
20744
20463
|
this.updateFlagTitle = '';
|
|
20745
20464
|
this.errorMessages = [];
|
|
20746
20465
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20747
20466
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20748
|
-
this.
|
|
20749
|
-
this.caseFlagStatuses = exports.CaseFlagStatus;
|
|
20750
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
20751
|
-
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
20752
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
20753
|
-
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslationNeeded';
|
|
20467
|
+
this.updateFlagControlName = 'flagComments';
|
|
20754
20468
|
this.commentsMaxCharLimit = 200;
|
|
20755
20469
|
}
|
|
20756
20470
|
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(''));
|
|
20757
20474
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
20758
20475
|
var flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
20759
|
-
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new i2.FormControl(flagDetail.status));
|
|
20760
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new i2.FormControl(''));
|
|
20761
|
-
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new i2.FormControl(false));
|
|
20762
20476
|
// Populate flag comments text area with existing comments
|
|
20763
|
-
this.formGroup.
|
|
20477
|
+
this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
|
|
20764
20478
|
if (flagDetail.name) {
|
|
20765
20479
|
this.updateFlagTitle =
|
|
20766
|
-
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
|
|
20480
|
+
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
|
|
20481
|
+
? ", " + flagDetail.subTypeValue + "\""
|
|
20482
|
+
: '"');
|
|
20767
20483
|
}
|
|
20768
20484
|
}
|
|
20769
20485
|
};
|
|
@@ -20772,44 +20488,32 @@
|
|
|
20772
20488
|
this.validateTextEntry();
|
|
20773
20489
|
// If validation has passed, update the flag details with the comments entered
|
|
20774
20490
|
if (this.errorMessages.length === 0) {
|
|
20775
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
20776
|
-
}
|
|
20777
|
-
if (this.errorMessages.length > 0 || !this.formGroup.get(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME).value
|
|
20778
|
-
|| this.currentFormStep === UpdateFlagStatesEnum.WELSH_TRANSLATION_FORM) {
|
|
20779
|
-
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
20780
|
-
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
20781
|
-
this.caseFlagStateEmitter.emit({
|
|
20782
|
-
currentCaseFlagFieldState: exports.CaseFlagFieldState.FLAG_UPDATE,
|
|
20783
|
-
errorMessages: this.errorMessages,
|
|
20784
|
-
selectedFlag: this.selectedFlag,
|
|
20785
|
-
});
|
|
20786
|
-
}
|
|
20787
|
-
else if (this.formGroup.get(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME).value && this.currentFormStep === 0) {
|
|
20788
|
-
this.currentFormStep = UpdateFlagStatesEnum.WELSH_TRANSLATION_FORM;
|
|
20789
|
-
this.caseFlagStateEmitter.emit({
|
|
20790
|
-
currentCaseFlagFieldState: exports.CaseFlagFieldState.FLAG_UPDATE_EXTRA_STEP,
|
|
20791
|
-
errorMessages: this.errorMessages,
|
|
20792
|
-
selectedFlag: this.selectedFlag,
|
|
20793
|
-
});
|
|
20491
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.updateFlagControlName).value });
|
|
20794
20492
|
}
|
|
20795
|
-
|
|
20493
|
+
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
20494
|
+
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
20495
|
+
this.caseFlagStateEmitter.emit({
|
|
20496
|
+
currentCaseFlagFieldState: exports.CaseFlagFieldState.FLAG_UPDATE,
|
|
20497
|
+
errorMessages: this.errorMessages,
|
|
20498
|
+
selectedFlag: this.selectedFlag
|
|
20499
|
+
});
|
|
20796
20500
|
};
|
|
20797
|
-
UpdateFlagComponent.prototype.
|
|
20798
|
-
|
|
20799
|
-
|
|
20800
|
-
|
|
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 });
|
|
20801
20505
|
};
|
|
20802
20506
|
UpdateFlagComponent.prototype.validateTextEntry = function () {
|
|
20803
20507
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20804
20508
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20805
20509
|
this.errorMessages = [];
|
|
20806
|
-
var comment = this.formGroup.get(this.
|
|
20510
|
+
var comment = this.formGroup.get(this.updateFlagControlName).value;
|
|
20807
20511
|
if (!comment) {
|
|
20808
20512
|
this.updateFlagNotEnteredErrorMessage = exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
20809
20513
|
this.errorMessages.push({
|
|
20810
20514
|
title: '',
|
|
20811
20515
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
20812
|
-
fieldId: this.
|
|
20516
|
+
fieldId: this.updateFlagControlName
|
|
20813
20517
|
});
|
|
20814
20518
|
}
|
|
20815
20519
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -20817,37 +20521,85 @@
|
|
|
20817
20521
|
this.errorMessages.push({
|
|
20818
20522
|
title: '',
|
|
20819
20523
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
20820
|
-
fieldId: this.
|
|
20524
|
+
fieldId: this.updateFlagControlName
|
|
20821
20525
|
});
|
|
20822
20526
|
}
|
|
20823
20527
|
};
|
|
20824
20528
|
return UpdateFlagComponent;
|
|
20825
20529
|
}());
|
|
20826
20530
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
20827
|
-
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
20531
|
+
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
20828
20532
|
if (rf & 1) {
|
|
20829
|
-
i0__namespace.ɵɵ
|
|
20830
|
-
i0__namespace.ɵɵ
|
|
20831
|
-
i0__namespace.ɵɵ
|
|
20832
|
-
i0__namespace.ɵɵ
|
|
20833
|
-
i0__namespace.ɵɵelementStart(
|
|
20834
|
-
i0__namespace.ɵɵ
|
|
20835
|
-
i0__namespace.ɵɵ
|
|
20836
|
-
i0__namespace.ɵɵ
|
|
20837
|
-
i0__namespace.ɵɵ
|
|
20533
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20534
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20535
|
+
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
20536
|
+
i0__namespace.ɵɵelementStart(3, "h1", 3);
|
|
20537
|
+
i0__namespace.ɵɵelementStart(4, "label", 4);
|
|
20538
|
+
i0__namespace.ɵɵtext(5);
|
|
20539
|
+
i0__namespace.ɵɵelementEnd();
|
|
20540
|
+
i0__namespace.ɵɵelementEnd();
|
|
20541
|
+
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
20542
|
+
i0__namespace.ɵɵtext(7);
|
|
20543
|
+
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
|
+
i0__namespace.ɵɵelementEnd();
|
|
20549
|
+
i0__namespace.ɵɵelementStart(12, "div", 9);
|
|
20550
|
+
i0__namespace.ɵɵtext(13);
|
|
20551
|
+
i0__namespace.ɵɵelementEnd();
|
|
20552
|
+
i0__namespace.ɵɵelementEnd();
|
|
20553
|
+
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
|
+
i0__namespace.ɵɵelementEnd();
|
|
20562
|
+
i0__namespace.ɵɵelementEnd();
|
|
20563
|
+
i0__namespace.ɵɵelementEnd();
|
|
20564
|
+
i0__namespace.ɵɵelementEnd();
|
|
20565
|
+
i0__namespace.ɵɵelementStart(21, "div", 11);
|
|
20566
|
+
i0__namespace.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
20567
|
+
i0__namespace.ɵɵelementEnd();
|
|
20568
|
+
i0__namespace.ɵɵelementEnd();
|
|
20569
|
+
i0__namespace.ɵɵelementStart(23, "div", 14);
|
|
20570
|
+
i0__namespace.ɵɵelementStart(24, "button", 15);
|
|
20571
|
+
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_24_listener() { return ctx.onNext(); });
|
|
20572
|
+
i0__namespace.ɵɵtext(25, "Next");
|
|
20573
|
+
i0__namespace.ɵɵelementEnd();
|
|
20838
20574
|
i0__namespace.ɵɵelementEnd();
|
|
20839
20575
|
i0__namespace.ɵɵelementEnd();
|
|
20840
20576
|
}
|
|
20841
20577
|
if (rf & 2) {
|
|
20842
|
-
i0__namespace.ɵɵproperty("
|
|
20578
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20579
|
+
i0__namespace.ɵɵadvance(2);
|
|
20580
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$n, ctx.errorMessages.length > 0));
|
|
20581
|
+
i0__namespace.ɵɵadvance(2);
|
|
20582
|
+
i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
20583
|
+
i0__namespace.ɵɵadvance(1);
|
|
20584
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
20585
|
+
i0__namespace.ɵɵadvance(2);
|
|
20586
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
|
|
20843
20587
|
i0__namespace.ɵɵadvance(1);
|
|
20844
|
-
i0__namespace.ɵɵproperty("
|
|
20588
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
20845
20589
|
i0__namespace.ɵɵadvance(1);
|
|
20846
|
-
i0__namespace.ɵɵproperty("
|
|
20590
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
20591
|
+
i0__namespace.ɵɵadvance(1);
|
|
20592
|
+
i0__namespace.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
|
|
20593
|
+
i0__namespace.ɵɵadvance(3);
|
|
20594
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagCharLimitInfo, " ");
|
|
20595
|
+
i0__namespace.ɵɵadvance(6);
|
|
20596
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c1$7, ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
20597
|
+
i0__namespace.ɵɵadvance(1);
|
|
20598
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
20847
20599
|
i0__namespace.ɵɵadvance(2);
|
|
20848
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.
|
|
20600
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
20849
20601
|
}
|
|
20850
|
-
}, directives: [
|
|
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 });
|
|
20851
20603
|
(function () {
|
|
20852
20604
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
20853
20605
|
type: i0.Component,
|
|
@@ -25360,8 +25112,7 @@
|
|
|
25360
25112
|
CheckYourAnswersComponent,
|
|
25361
25113
|
WriteLinkedCasesComponent,
|
|
25362
25114
|
UnLinkCasesComponent,
|
|
25363
|
-
NoLinkedCasesComponent
|
|
25364
|
-
UpdateFlagWelshTranslationFormComponent
|
|
25115
|
+
NoLinkedCasesComponent
|
|
25365
25116
|
];
|
|
25366
25117
|
var PaletteModule = /** @class */ (function () {
|
|
25367
25118
|
function PaletteModule() {
|
|
@@ -25520,8 +25271,7 @@
|
|
|
25520
25271
|
CheckYourAnswersComponent,
|
|
25521
25272
|
WriteLinkedCasesComponent,
|
|
25522
25273
|
UnLinkCasesComponent,
|
|
25523
|
-
NoLinkedCasesComponent,
|
|
25524
|
-
UpdateFlagWelshTranslationFormComponent], imports: [i1.CommonModule,
|
|
25274
|
+
NoLinkedCasesComponent], imports: [i1.CommonModule,
|
|
25525
25275
|
i1$1.RouterModule,
|
|
25526
25276
|
i2.FormsModule,
|
|
25527
25277
|
i2.ReactiveFormsModule,
|
|
@@ -25639,8 +25389,7 @@
|
|
|
25639
25389
|
CheckYourAnswersComponent,
|
|
25640
25390
|
WriteLinkedCasesComponent,
|
|
25641
25391
|
UnLinkCasesComponent,
|
|
25642
|
-
NoLinkedCasesComponent
|
|
25643
|
-
UpdateFlagWelshTranslationFormComponent] });
|
|
25392
|
+
NoLinkedCasesComponent] });
|
|
25644
25393
|
})();
|
|
25645
25394
|
(function () {
|
|
25646
25395
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -30812,7 +30561,7 @@
|
|
|
30812
30561
|
i0__namespace.ɵɵadvance(3);
|
|
30813
30562
|
i0__namespace.ɵɵproperty("ngIf", ctx.hasTabsPresent());
|
|
30814
30563
|
}
|
|
30815
|
-
}, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
|
|
30564
|
+
}, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}th[id*=case-viewer-field-read--][_ngcontent-%COMP%], th[id^=case-viewer-field-read--][_ngcontent-%COMP%]{border-bottom:none!important;border-style:none!important}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}"] });
|
|
30816
30565
|
(function () {
|
|
30817
30566
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
30818
30567
|
type: i0.Component,
|
|
@@ -35573,7 +35322,6 @@
|
|
|
35573
35322
|
exports.DynamicRadioListPipe = DynamicRadioListPipe;
|
|
35574
35323
|
exports.ESQueryType = ESQueryType;
|
|
35575
35324
|
exports.Embedded = Embedded;
|
|
35576
|
-
exports.EnumDisplayDescriptionPipe = EnumDisplayDescriptionPipe;
|
|
35577
35325
|
exports.ErrorMessageComponent = ErrorMessageComponent;
|
|
35578
35326
|
exports.ErrorNotifierService = ErrorNotifierService;
|
|
35579
35327
|
exports.EventCaseField = EventCaseField;
|
|
@@ -35737,7 +35485,6 @@
|
|
|
35737
35485
|
exports.UnLinkCasesComponent = UnLinkCasesComponent;
|
|
35738
35486
|
exports.UnsupportedFieldComponent = UnsupportedFieldComponent;
|
|
35739
35487
|
exports.UpdateFlagComponent = UpdateFlagComponent;
|
|
35740
|
-
exports.UpdateFlagWelshTranslationFormComponent = UpdateFlagWelshTranslationFormComponent;
|
|
35741
35488
|
exports.WaysToPayFieldComponent = WaysToPayFieldComponent;
|
|
35742
35489
|
exports.WindowService = WindowService;
|
|
35743
35490
|
exports.Wizard = Wizard;
|