@hmcts/ccd-case-ui-toolkit 6.10.7-case-flags-multiple-case-flags-tabs-support-v2 → 6.10.7-mv-upgrade
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 +180 -201
- 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/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/update-flag/update-flag.component.js +64 -106
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +3 -4
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +2 -4
- package/esm2015/lib/shared/components/palette/palette.module.js +2 -2
- 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 +123 -193
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +5 -7
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +1 -2
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +2 -3
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/pipes/index.d.ts +0 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +2 -3
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +0 -16
- package/esm2015/lib/shared/pipes/generic/index.js +0 -2
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +0 -8
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +0 -1
- package/lib/shared/pipes/generic/index.d.ts +0 -2
- package/lib/shared/pipes/generic/index.d.ts.map +0 -1
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
var _c0$Y = [[["", "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$Y);
|
|
132
132
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
var _c0$X = [[["", "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$X);
|
|
225
225
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
@@ -283,14 +283,14 @@
|
|
|
283
283
|
})();
|
|
284
284
|
|
|
285
285
|
var _c0$W = [[["", "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$W);
|
|
296
296
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -438,14 +438,14 @@
|
|
|
438
438
|
})();
|
|
439
439
|
|
|
440
440
|
var _c0$V = [[["", "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$V);
|
|
451
451
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -534,6 +534,64 @@
|
|
|
534
534
|
function __param(paramIndex, decorator) {
|
|
535
535
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
536
536
|
}
|
|
537
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
538
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
539
|
+
throw new TypeError("Function expected"); return f; }
|
|
540
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
541
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
542
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
543
|
+
var _, done = false;
|
|
544
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
545
|
+
var context = {};
|
|
546
|
+
for (var p in contextIn)
|
|
547
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
548
|
+
for (var p in contextIn.access)
|
|
549
|
+
context.access[p] = contextIn.access[p];
|
|
550
|
+
context.addInitializer = function (f) { if (done)
|
|
551
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
552
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
553
|
+
if (kind === "accessor") {
|
|
554
|
+
if (result === void 0)
|
|
555
|
+
continue;
|
|
556
|
+
if (result === null || typeof result !== "object")
|
|
557
|
+
throw new TypeError("Object expected");
|
|
558
|
+
if (_ = accept(result.get))
|
|
559
|
+
descriptor.get = _;
|
|
560
|
+
if (_ = accept(result.set))
|
|
561
|
+
descriptor.set = _;
|
|
562
|
+
if (_ = accept(result.init))
|
|
563
|
+
initializers.push(_);
|
|
564
|
+
}
|
|
565
|
+
else if (_ = accept(result)) {
|
|
566
|
+
if (kind === "field")
|
|
567
|
+
initializers.push(_);
|
|
568
|
+
else
|
|
569
|
+
descriptor[key] = _;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
if (target)
|
|
573
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
|
574
|
+
done = true;
|
|
575
|
+
}
|
|
576
|
+
;
|
|
577
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
578
|
+
var useValue = arguments.length > 2;
|
|
579
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
580
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
581
|
+
}
|
|
582
|
+
return useValue ? value : void 0;
|
|
583
|
+
}
|
|
584
|
+
;
|
|
585
|
+
function __propKey(x) {
|
|
586
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
587
|
+
}
|
|
588
|
+
;
|
|
589
|
+
function __setFunctionName(f, name, prefix) {
|
|
590
|
+
if (typeof name === "symbol")
|
|
591
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
592
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
593
|
+
}
|
|
594
|
+
;
|
|
537
595
|
function __metadata(metadataKey, metadataValue) {
|
|
538
596
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
539
597
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -733,7 +791,7 @@
|
|
|
733
791
|
function __asyncDelegator(o) {
|
|
734
792
|
var i, p;
|
|
735
793
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
736
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
794
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
737
795
|
}
|
|
738
796
|
function __asyncValues(o) {
|
|
739
797
|
if (!Symbol.asyncIterator)
|
|
@@ -1472,14 +1530,14 @@
|
|
|
1472
1530
|
})();
|
|
1473
1531
|
|
|
1474
1532
|
var _c0$S = function (a0) { return { "js-hidden": a0 }; };
|
|
1475
|
-
var _c1$
|
|
1533
|
+
var _c1$n = ["*"];
|
|
1476
1534
|
var TabComponent = /** @class */ (function () {
|
|
1477
1535
|
function TabComponent() {
|
|
1478
1536
|
}
|
|
1479
1537
|
return TabComponent;
|
|
1480
1538
|
}());
|
|
1481
1539
|
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$
|
|
1540
|
+
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
1541
|
if (rf & 1) {
|
|
1484
1542
|
i0__namespace.ɵɵprojectionDef();
|
|
1485
1543
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1511,7 +1569,7 @@
|
|
|
1511
1569
|
})();
|
|
1512
1570
|
|
|
1513
1571
|
var _c0$R = ["tab"];
|
|
1514
|
-
var _c1$
|
|
1572
|
+
var _c1$m = function () { return ["."]; };
|
|
1515
1573
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1516
1574
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
1517
1575
|
if (rf & 1) {
|
|
@@ -1526,7 +1584,7 @@
|
|
|
1526
1584
|
if (rf & 2) {
|
|
1527
1585
|
var panel_r1 = ctx.$implicit;
|
|
1528
1586
|
i0__namespace.ɵɵadvance(1);
|
|
1529
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$
|
|
1587
|
+
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
1588
|
i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1531
1589
|
i0__namespace.ɵɵadvance(2);
|
|
1532
1590
|
i0__namespace.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -2552,7 +2610,6 @@
|
|
|
2552
2610
|
CaseFlagStatus["ACTIVE"] = "Active";
|
|
2553
2611
|
CaseFlagStatus["INACTIVE"] = "Inactive";
|
|
2554
2612
|
CaseFlagStatus["REQUESTED"] = "Requested";
|
|
2555
|
-
CaseFlagStatus["NOT_APPROVED"] = "Not approved";
|
|
2556
2613
|
})(exports.CaseFlagStatus || (exports.CaseFlagStatus = {}));
|
|
2557
2614
|
|
|
2558
2615
|
var DashPipe = /** @class */ (function () {
|
|
@@ -11316,25 +11373,6 @@
|
|
|
11316
11373
|
}], null, null);
|
|
11317
11374
|
})();
|
|
11318
11375
|
|
|
11319
|
-
var EnumDisplayDescriptionPipe = /** @class */ (function () {
|
|
11320
|
-
function EnumDisplayDescriptionPipe() {
|
|
11321
|
-
}
|
|
11322
|
-
EnumDisplayDescriptionPipe.prototype.transform = function (value) {
|
|
11323
|
-
return Object.values(value);
|
|
11324
|
-
};
|
|
11325
|
-
return EnumDisplayDescriptionPipe;
|
|
11326
|
-
}());
|
|
11327
|
-
EnumDisplayDescriptionPipe.ɵfac = function EnumDisplayDescriptionPipe_Factory(t) { return new (t || EnumDisplayDescriptionPipe)(); };
|
|
11328
|
-
EnumDisplayDescriptionPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
|
|
11329
|
-
(function () {
|
|
11330
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
|
|
11331
|
-
type: i0.Pipe,
|
|
11332
|
-
args: [{
|
|
11333
|
-
name: 'enumDisplayDescription'
|
|
11334
|
-
}]
|
|
11335
|
-
}], null, null);
|
|
11336
|
-
})();
|
|
11337
|
-
|
|
11338
11376
|
var SortOrder;
|
|
11339
11377
|
(function (SortOrder) {
|
|
11340
11378
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -11375,8 +11413,7 @@
|
|
|
11375
11413
|
CcdCYAPageLabelFilterPipe,
|
|
11376
11414
|
ReadFieldsFilterPipe,
|
|
11377
11415
|
CcdTabFieldsPipe,
|
|
11378
|
-
CcdPageFieldsPipe
|
|
11379
|
-
EnumDisplayDescriptionPipe
|
|
11416
|
+
CcdPageFieldsPipe
|
|
11380
11417
|
];
|
|
11381
11418
|
var PipesModule = /** @class */ (function () {
|
|
11382
11419
|
function PipesModule() {
|
|
@@ -11396,16 +11433,14 @@
|
|
|
11396
11433
|
CcdCYAPageLabelFilterPipe,
|
|
11397
11434
|
ReadFieldsFilterPipe,
|
|
11398
11435
|
CcdTabFieldsPipe,
|
|
11399
|
-
CcdPageFieldsPipe,
|
|
11400
|
-
EnumDisplayDescriptionPipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
|
|
11436
|
+
CcdPageFieldsPipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
|
|
11401
11437
|
SortSearchResultPipe,
|
|
11402
11438
|
CcdCaseTitlePipe,
|
|
11403
11439
|
CcdCollectionTableCaseFieldsFilterPipe,
|
|
11404
11440
|
CcdCYAPageLabelFilterPipe,
|
|
11405
11441
|
ReadFieldsFilterPipe,
|
|
11406
11442
|
CcdTabFieldsPipe,
|
|
11407
|
-
CcdPageFieldsPipe
|
|
11408
|
-
EnumDisplayDescriptionPipe] });
|
|
11443
|
+
CcdPageFieldsPipe] });
|
|
11409
11444
|
})();
|
|
11410
11445
|
(function () {
|
|
11411
11446
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PipesModule, [{
|
|
@@ -11473,7 +11508,7 @@
|
|
|
11473
11508
|
i0__namespace.ɵɵelementEnd();
|
|
11474
11509
|
}
|
|
11475
11510
|
}
|
|
11476
|
-
var _c1$
|
|
11511
|
+
var _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
11477
11512
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
11478
11513
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
11479
11514
|
if (rf & 1) {
|
|
@@ -11494,7 +11529,7 @@
|
|
|
11494
11529
|
}
|
|
11495
11530
|
if (rf & 2) {
|
|
11496
11531
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11497
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
11532
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
|
|
11498
11533
|
i0__namespace.ɵɵadvance(1);
|
|
11499
11534
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
11500
11535
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -12073,9 +12108,8 @@
|
|
|
12073
12108
|
|
|
12074
12109
|
exports.UpdateFlagStep = void 0;
|
|
12075
12110
|
(function (UpdateFlagStep) {
|
|
12076
|
-
UpdateFlagStep["
|
|
12077
|
-
UpdateFlagStep["
|
|
12078
|
-
UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
|
|
12111
|
+
UpdateFlagStep["HINT_TEXT"] = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.";
|
|
12112
|
+
UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
|
|
12079
12113
|
})(exports.UpdateFlagStep || (exports.UpdateFlagStep = {}));
|
|
12080
12114
|
|
|
12081
12115
|
function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) {
|
|
@@ -12163,9 +12197,7 @@
|
|
|
12163
12197
|
if (this.route.snapshot.data.case && this.route.snapshot.data.case.tabs) {
|
|
12164
12198
|
this.flagsData = this.route.snapshot.data.case.tabs
|
|
12165
12199
|
.filter(function (tab) { return tab.fields && tab.fields
|
|
12166
|
-
|
|
12167
|
-
// required to ensure the correct instance is obtained
|
|
12168
|
-
.some(function (caseField) { return caseField.field_type.type === 'FlagLauncher' && caseField.id === _this.caseField.id; }); })[0].fields.reduce(function (flags, caseField) {
|
|
12200
|
+
.some(function (caseField) { return caseField.field_type.type === 'FlagLauncher'; }); })[0].fields.reduce(function (flags, caseField) {
|
|
12169
12201
|
return FieldsUtils.extractFlagsDataFromCaseField(flags, caseField, caseField.id, caseField);
|
|
12170
12202
|
}, []);
|
|
12171
12203
|
}
|
|
@@ -12832,7 +12864,7 @@
|
|
|
12832
12864
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label));
|
|
12833
12865
|
}
|
|
12834
12866
|
}
|
|
12835
|
-
var _c1$
|
|
12867
|
+
var _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
12836
12868
|
var WriteCaseLinkFieldComponent = /** @class */ (function (_super) {
|
|
12837
12869
|
__extends(WriteCaseLinkFieldComponent, _super);
|
|
12838
12870
|
function WriteCaseLinkFieldComponent() {
|
|
@@ -12916,7 +12948,7 @@
|
|
|
12916
12948
|
i0__namespace.ɵɵelementEnd();
|
|
12917
12949
|
}
|
|
12918
12950
|
if (rf & 2) {
|
|
12919
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
12951
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$k, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
12920
12952
|
i0__namespace.ɵɵadvance(1);
|
|
12921
12953
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
12922
12954
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -12961,7 +12993,7 @@
|
|
|
12961
12993
|
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$M, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
12962
12994
|
}
|
|
12963
12995
|
}
|
|
12964
|
-
var _c1$
|
|
12996
|
+
var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
12965
12997
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
12966
12998
|
if (rf & 1) {
|
|
12967
12999
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
@@ -12975,7 +13007,7 @@
|
|
|
12975
13007
|
var i_r5 = ctx.index;
|
|
12976
13008
|
var ctx_r3 = i0__namespace.ɵɵnextContext(3);
|
|
12977
13009
|
i0__namespace.ɵɵadvance(2);
|
|
12978
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$
|
|
13010
|
+
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));
|
|
12979
13011
|
}
|
|
12980
13012
|
}
|
|
12981
13013
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
|
|
@@ -14144,7 +14176,7 @@
|
|
|
14144
14176
|
i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
14145
14177
|
}
|
|
14146
14178
|
}
|
|
14147
|
-
var _c1$
|
|
14179
|
+
var _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
14148
14180
|
var WriteDocumentFieldComponent = /** @class */ (function (_super) {
|
|
14149
14181
|
__extends(WriteDocumentFieldComponent, _super);
|
|
14150
14182
|
function WriteDocumentFieldComponent(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
@@ -14446,7 +14478,7 @@
|
|
|
14446
14478
|
i0__namespace.ɵɵelementEnd();
|
|
14447
14479
|
}
|
|
14448
14480
|
if (rf & 2) {
|
|
14449
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$
|
|
14481
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
14450
14482
|
i0__namespace.ɵɵadvance(1);
|
|
14451
14483
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14452
14484
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14826,7 +14858,7 @@
|
|
|
14826
14858
|
i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
|
|
14827
14859
|
}
|
|
14828
14860
|
}
|
|
14829
|
-
var _c1$
|
|
14861
|
+
var _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
14830
14862
|
var WriteDynamicRadioListFieldComponent = /** @class */ (function (_super) {
|
|
14831
14863
|
__extends(WriteDynamicRadioListFieldComponent, _super);
|
|
14832
14864
|
function WriteDynamicRadioListFieldComponent() {
|
|
@@ -14874,7 +14906,7 @@
|
|
|
14874
14906
|
i0__namespace.ɵɵelementEnd();
|
|
14875
14907
|
}
|
|
14876
14908
|
if (rf & 2) {
|
|
14877
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$
|
|
14909
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
14878
14910
|
i0__namespace.ɵɵadvance(3);
|
|
14879
14911
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14880
14912
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14982,7 +15014,7 @@
|
|
|
14982
15014
|
}
|
|
14983
15015
|
}
|
|
14984
15016
|
var _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
14985
|
-
var _c1$
|
|
15017
|
+
var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14986
15018
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
14987
15019
|
__extends(WriteEmailFieldComponent, _super);
|
|
14988
15020
|
function WriteEmailFieldComponent() {
|
|
@@ -15016,7 +15048,7 @@
|
|
|
15016
15048
|
i0__namespace.ɵɵadvance(1);
|
|
15017
15049
|
i0__namespace.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
15018
15050
|
i0__namespace.ɵɵadvance(1);
|
|
15019
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
15051
|
+
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);
|
|
15020
15052
|
}
|
|
15021
15053
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15022
15054
|
var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
@@ -15327,7 +15359,7 @@
|
|
|
15327
15359
|
i0__namespace.ɵɵtextInterpolate(radioButton_r4.label);
|
|
15328
15360
|
}
|
|
15329
15361
|
}
|
|
15330
|
-
var _c1$
|
|
15362
|
+
var _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
15331
15363
|
var WriteFixedRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15332
15364
|
__extends(WriteFixedRadioListFieldComponent, _super);
|
|
15333
15365
|
function WriteFixedRadioListFieldComponent() {
|
|
@@ -15358,7 +15390,7 @@
|
|
|
15358
15390
|
i0__namespace.ɵɵelementEnd();
|
|
15359
15391
|
}
|
|
15360
15392
|
if (rf & 2) {
|
|
15361
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
15393
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
15362
15394
|
i0__namespace.ɵɵadvance(3);
|
|
15363
15395
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15364
15396
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16181,7 +16213,7 @@
|
|
|
16181
16213
|
}
|
|
16182
16214
|
}
|
|
16183
16215
|
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
16184
|
-
var _c1$
|
|
16216
|
+
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16185
16217
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
16186
16218
|
__extends(WriteNumberFieldComponent, _super);
|
|
16187
16219
|
function WriteNumberFieldComponent() {
|
|
@@ -16215,7 +16247,7 @@
|
|
|
16215
16247
|
i0__namespace.ɵɵadvance(1);
|
|
16216
16248
|
i0__namespace.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
16217
16249
|
i0__namespace.ɵɵadvance(1);
|
|
16218
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
16250
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
16219
16251
|
}
|
|
16220
16252
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.NumberValueAccessor, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
16221
16253
|
var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
@@ -16995,7 +17027,7 @@
|
|
|
16995
17027
|
}
|
|
16996
17028
|
}
|
|
16997
17029
|
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
16998
|
-
var _c1$
|
|
17030
|
+
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16999
17031
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
17000
17032
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
17001
17033
|
function WritePhoneUKFieldComponent() {
|
|
@@ -17029,7 +17061,7 @@
|
|
|
17029
17061
|
i0__namespace.ɵɵadvance(1);
|
|
17030
17062
|
i0__namespace.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
17031
17063
|
i0__namespace.ɵɵadvance(1);
|
|
17032
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17064
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
17033
17065
|
}
|
|
17034
17066
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17035
17067
|
var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
@@ -17112,7 +17144,7 @@
|
|
|
17112
17144
|
}
|
|
17113
17145
|
}
|
|
17114
17146
|
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
17115
|
-
var _c1$
|
|
17147
|
+
var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
17116
17148
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
17117
17149
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
17118
17150
|
function WriteTextAreaFieldComponent(browserService) {
|
|
@@ -17157,7 +17189,7 @@
|
|
|
17157
17189
|
i0__namespace.ɵɵadvance(1);
|
|
17158
17190
|
i0__namespace.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
17159
17191
|
i0__namespace.ɵɵadvance(1);
|
|
17160
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17192
|
+
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);
|
|
17161
17193
|
}
|
|
17162
17194
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17163
17195
|
(function () {
|
|
@@ -17240,7 +17272,7 @@
|
|
|
17240
17272
|
}
|
|
17241
17273
|
}
|
|
17242
17274
|
var _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
17243
|
-
var _c1$
|
|
17275
|
+
var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17244
17276
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
17245
17277
|
__extends(WriteTextFieldComponent, _super);
|
|
17246
17278
|
function WriteTextFieldComponent() {
|
|
@@ -17279,7 +17311,7 @@
|
|
|
17279
17311
|
i0__namespace.ɵɵadvance(1);
|
|
17280
17312
|
i0__namespace.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
17281
17313
|
i0__namespace.ɵɵadvance(1);
|
|
17282
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17314
|
+
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);
|
|
17283
17315
|
}
|
|
17284
17316
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17285
17317
|
var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
@@ -17500,7 +17532,7 @@
|
|
|
17500
17532
|
i0__namespace.ɵɵtextInterpolate(value_r4);
|
|
17501
17533
|
}
|
|
17502
17534
|
}
|
|
17503
|
-
var _c1$
|
|
17535
|
+
var _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
17504
17536
|
var WriteYesNoFieldComponent = /** @class */ (function (_super) {
|
|
17505
17537
|
__extends(WriteYesNoFieldComponent, _super);
|
|
17506
17538
|
function WriteYesNoFieldComponent(yesNoService) {
|
|
@@ -17531,7 +17563,7 @@
|
|
|
17531
17563
|
i0__namespace.ɵɵelementEnd();
|
|
17532
17564
|
}
|
|
17533
17565
|
if (rf & 2) {
|
|
17534
|
-
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
17566
|
+
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
17535
17567
|
i0__namespace.ɵɵadvance(3);
|
|
17536
17568
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17537
17569
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -17943,7 +17975,7 @@
|
|
|
17943
17975
|
i0__namespace.ɵɵelementContainer(0);
|
|
17944
17976
|
}
|
|
17945
17977
|
}
|
|
17946
|
-
var _c1$
|
|
17978
|
+
var _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
17947
17979
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
|
|
17948
17980
|
if (rf & 1) {
|
|
17949
17981
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -17956,7 +17988,7 @@
|
|
|
17956
17988
|
i0__namespace.ɵɵnextContext();
|
|
17957
17989
|
var _r1 = i0__namespace.ɵɵreference(13);
|
|
17958
17990
|
i0__namespace.ɵɵadvance(1);
|
|
17959
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$
|
|
17991
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
17960
17992
|
}
|
|
17961
17993
|
}
|
|
17962
17994
|
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
@@ -18098,7 +18130,7 @@
|
|
|
18098
18130
|
i0__namespace.ɵɵadvance(2);
|
|
18099
18131
|
i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
18100
18132
|
}
|
|
18101
|
-
}, 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
|
|
18133
|
+
}, 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 });
|
|
18102
18134
|
(function () {
|
|
18103
18135
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
18104
18136
|
type: i0.Component,
|
|
@@ -18178,7 +18210,7 @@
|
|
|
18178
18210
|
}
|
|
18179
18211
|
}
|
|
18180
18212
|
var _c0$r = [[["", "trigger", ""]]];
|
|
18181
|
-
var _c1$
|
|
18213
|
+
var _c1$8 = ["[trigger]"];
|
|
18182
18214
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
18183
18215
|
function CaseFileViewOverlayMenuComponent() {
|
|
18184
18216
|
this.title = '';
|
|
@@ -18193,7 +18225,7 @@
|
|
|
18193
18225
|
return CaseFileViewOverlayMenuComponent;
|
|
18194
18226
|
}());
|
|
18195
18227
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
18196
|
-
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$
|
|
18228
|
+
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) {
|
|
18197
18229
|
if (rf & 1) {
|
|
18198
18230
|
i0__namespace.ɵɵprojectionDef(_c0$r);
|
|
18199
18231
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -18825,32 +18857,25 @@
|
|
|
18825
18857
|
}
|
|
18826
18858
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) {
|
|
18827
18859
|
if (rf & 1) {
|
|
18828
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
18860
|
+
i0__namespace.ɵɵelementStart(0, "strong", 19);
|
|
18829
18861
|
i0__namespace.ɵɵtext(1, "Active");
|
|
18830
18862
|
i0__namespace.ɵɵelementEnd();
|
|
18831
18863
|
}
|
|
18832
18864
|
}
|
|
18833
18865
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) {
|
|
18834
18866
|
if (rf & 1) {
|
|
18835
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
18867
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
18836
18868
|
i0__namespace.ɵɵtext(1, "Inactive");
|
|
18837
18869
|
i0__namespace.ɵɵelementEnd();
|
|
18838
18870
|
}
|
|
18839
18871
|
}
|
|
18840
18872
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) {
|
|
18841
18873
|
if (rf & 1) {
|
|
18842
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
18874
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
18843
18875
|
i0__namespace.ɵɵtext(1, "Requested");
|
|
18844
18876
|
i0__namespace.ɵɵelementEnd();
|
|
18845
18877
|
}
|
|
18846
18878
|
}
|
|
18847
|
-
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) {
|
|
18848
|
-
if (rf & 1) {
|
|
18849
|
-
i0__namespace.ɵɵelementStart(0, "strong", 22);
|
|
18850
|
-
i0__namespace.ɵɵtext(1, "Not approved");
|
|
18851
|
-
i0__namespace.ɵɵelementEnd();
|
|
18852
|
-
}
|
|
18853
|
-
}
|
|
18854
18879
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) {
|
|
18855
18880
|
if (rf & 1) {
|
|
18856
18881
|
i0__namespace.ɵɵelementStart(0, "tr", 15);
|
|
@@ -18877,7 +18902,6 @@
|
|
|
18877
18902
|
i0__namespace.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
18878
18903
|
i0__namespace.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
18879
18904
|
i0__namespace.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
18880
|
-
i0__namespace.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
18881
18905
|
i0__namespace.ɵɵelementEnd();
|
|
18882
18906
|
i0__namespace.ɵɵelementEnd();
|
|
18883
18907
|
}
|
|
@@ -18891,23 +18915,21 @@
|
|
|
18891
18915
|
i0__namespace.ɵɵadvance(2);
|
|
18892
18916
|
i0__namespace.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
18893
18917
|
i0__namespace.ɵɵadvance(2);
|
|
18894
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10,
|
|
18918
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 8, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
18895
18919
|
i0__namespace.ɵɵadvance(3);
|
|
18896
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13,
|
|
18920
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 11, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
18897
18921
|
i0__namespace.ɵɵadvance(3);
|
|
18898
18922
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
18899
18923
|
i0__namespace.ɵɵadvance(1);
|
|
18900
18924
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
18901
18925
|
i0__namespace.ɵɵadvance(1);
|
|
18902
18926
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
18903
|
-
i0__namespace.ɵɵadvance(1);
|
|
18904
|
-
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
18905
18927
|
}
|
|
18906
18928
|
}
|
|
18907
18929
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) {
|
|
18908
18930
|
if (rf & 1) {
|
|
18909
18931
|
i0__namespace.ɵɵelementStart(0, "tbody", 10);
|
|
18910
|
-
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
18932
|
+
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 18, 14, "tr", 14);
|
|
18911
18933
|
i0__namespace.ɵɵelementEnd();
|
|
18912
18934
|
}
|
|
18913
18935
|
if (rf & 2) {
|
|
@@ -18972,7 +18994,7 @@
|
|
|
18972
18994
|
return CaseFlagTableComponent;
|
|
18973
18995
|
}());
|
|
18974
18996
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
18975
|
-
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"], [
|
|
18997
|
+
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) {
|
|
18976
18998
|
if (rf & 1) {
|
|
18977
18999
|
i0__namespace.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
18978
19000
|
}
|
|
@@ -19053,7 +19075,7 @@
|
|
|
19053
19075
|
}
|
|
19054
19076
|
}
|
|
19055
19077
|
var _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
19056
|
-
var _c1$
|
|
19078
|
+
var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19057
19079
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
19058
19080
|
if (rf & 1) {
|
|
19059
19081
|
i0__namespace.ɵɵelementStart(0, "div", 15);
|
|
@@ -19073,7 +19095,7 @@
|
|
|
19073
19095
|
i0__namespace.ɵɵadvance(3);
|
|
19074
19096
|
i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
19075
19097
|
i0__namespace.ɵɵadvance(1);
|
|
19076
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
19098
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$7, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
|
|
19077
19099
|
}
|
|
19078
19100
|
}
|
|
19079
19101
|
function SelectFlagTypeComponent_div_10_Template(rf, ctx) {
|
|
@@ -20174,10 +20196,10 @@
|
|
|
20174
20196
|
}] });
|
|
20175
20197
|
})();
|
|
20176
20198
|
|
|
20177
|
-
function
|
|
20199
|
+
function UpdateFlagComponent_div_8_Template(rf, ctx) {
|
|
20178
20200
|
if (rf & 1) {
|
|
20179
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20180
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20201
|
+
i0__namespace.ɵɵelementStart(0, "div", 16);
|
|
20202
|
+
i0__namespace.ɵɵelementStart(1, "span", 17);
|
|
20181
20203
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20182
20204
|
i0__namespace.ɵɵelementEnd();
|
|
20183
20205
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20189,10 +20211,10 @@
|
|
|
20189
20211
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
|
|
20190
20212
|
}
|
|
20191
20213
|
}
|
|
20192
|
-
function
|
|
20214
|
+
function UpdateFlagComponent_div_9_Template(rf, ctx) {
|
|
20193
20215
|
if (rf & 1) {
|
|
20194
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20195
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20216
|
+
i0__namespace.ɵɵelementStart(0, "div", 18);
|
|
20217
|
+
i0__namespace.ɵɵelementStart(1, "span", 17);
|
|
20196
20218
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20197
20219
|
i0__namespace.ɵɵelementEnd();
|
|
20198
20220
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20204,28 +20226,17 @@
|
|
|
20204
20226
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
20205
20227
|
}
|
|
20206
20228
|
}
|
|
20207
|
-
function
|
|
20229
|
+
function UpdateFlagComponent_button_22_Template(rf, ctx) {
|
|
20208
20230
|
if (rf & 1) {
|
|
20209
|
-
i0__namespace.ɵɵ
|
|
20210
|
-
i0__namespace.ɵɵ
|
|
20211
|
-
i0__namespace.ɵɵ
|
|
20212
|
-
i0__namespace.ɵɵ
|
|
20213
|
-
i0__namespace.ɵɵtext(4);
|
|
20214
|
-
i0__namespace.ɵɵelementEnd();
|
|
20231
|
+
var _r4_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20232
|
+
i0__namespace.ɵɵelementStart(0, "button", 19);
|
|
20233
|
+
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(); });
|
|
20234
|
+
i0__namespace.ɵɵtext(1, " Make inactive ");
|
|
20215
20235
|
i0__namespace.ɵɵelementEnd();
|
|
20216
20236
|
}
|
|
20217
|
-
if (rf & 2) {
|
|
20218
|
-
var status_r3 = ctx.$implicit;
|
|
20219
|
-
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
20220
|
-
i0__namespace.ɵɵadvance(1);
|
|
20221
|
-
i0__namespace.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0__namespace.ɵɵpipeBind1(2, 4, status_r3));
|
|
20222
|
-
i0__namespace.ɵɵadvance(2);
|
|
20223
|
-
i0__namespace.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
|
|
20224
|
-
i0__namespace.ɵɵadvance(1);
|
|
20225
|
-
i0__namespace.ɵɵtextInterpolate1(" ", status_r3, " ");
|
|
20226
|
-
}
|
|
20227
20237
|
}
|
|
20228
20238
|
var _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
20239
|
+
var _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
20229
20240
|
var UpdateFlagComponent = /** @class */ (function () {
|
|
20230
20241
|
function UpdateFlagComponent() {
|
|
20231
20242
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -20233,25 +20244,22 @@
|
|
|
20233
20244
|
this.errorMessages = [];
|
|
20234
20245
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20235
20246
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20236
|
-
this.
|
|
20237
|
-
this.caseFlagStatuses = exports.CaseFlagStatus;
|
|
20238
|
-
this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
|
|
20239
|
-
this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
|
|
20240
|
-
this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
|
|
20241
|
-
this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
|
|
20247
|
+
this.updateFlagControlName = 'flagComments';
|
|
20242
20248
|
this.commentsMaxCharLimit = 200;
|
|
20243
20249
|
}
|
|
20244
20250
|
UpdateFlagComponent.prototype.ngOnInit = function () {
|
|
20251
|
+
this.updateFlagHint = exports.UpdateFlagStep.HINT_TEXT;
|
|
20252
|
+
this.updateFlagCharLimitInfo = exports.UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
20253
|
+
this.formGroup.addControl(this.updateFlagControlName, new i2.FormControl(''));
|
|
20245
20254
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
20246
20255
|
var flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
20247
|
-
this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new i2.FormControl(flagDetail.status));
|
|
20248
|
-
this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new i2.FormControl(''));
|
|
20249
|
-
this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new i2.FormControl(false));
|
|
20250
20256
|
// Populate flag comments text area with existing comments
|
|
20251
|
-
this.formGroup.
|
|
20257
|
+
this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
|
|
20252
20258
|
if (flagDetail.name) {
|
|
20253
20259
|
this.updateFlagTitle =
|
|
20254
|
-
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
|
|
20260
|
+
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
|
|
20261
|
+
? ", " + flagDetail.subTypeValue + "\""
|
|
20262
|
+
: '"');
|
|
20255
20263
|
}
|
|
20256
20264
|
}
|
|
20257
20265
|
};
|
|
@@ -20260,7 +20268,7 @@
|
|
|
20260
20268
|
this.validateTextEntry();
|
|
20261
20269
|
// If validation has passed, update the flag details with the comments entered
|
|
20262
20270
|
if (this.errorMessages.length === 0) {
|
|
20263
|
-
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.
|
|
20271
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.updateFlagControlName).value });
|
|
20264
20272
|
}
|
|
20265
20273
|
// Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
|
|
20266
20274
|
// re-emitted because the parent component repopulates this on handling this EventEmitter
|
|
@@ -20270,17 +20278,22 @@
|
|
|
20270
20278
|
selectedFlag: this.selectedFlag
|
|
20271
20279
|
});
|
|
20272
20280
|
};
|
|
20281
|
+
UpdateFlagComponent.prototype.onChangeStatus = function () {
|
|
20282
|
+
this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { status: this.selectedFlag.flagDetailDisplay.flagDetail.status === exports.CaseFlagStatus.ACTIVE
|
|
20283
|
+
? exports.CaseFlagStatus.INACTIVE
|
|
20284
|
+
: this.selectedFlag.flagDetailDisplay.flagDetail.status });
|
|
20285
|
+
};
|
|
20273
20286
|
UpdateFlagComponent.prototype.validateTextEntry = function () {
|
|
20274
20287
|
this.updateFlagNotEnteredErrorMessage = null;
|
|
20275
20288
|
this.updateFlagCharLimitErrorMessage = null;
|
|
20276
20289
|
this.errorMessages = [];
|
|
20277
|
-
var comment = this.formGroup.get(this.
|
|
20290
|
+
var comment = this.formGroup.get(this.updateFlagControlName).value;
|
|
20278
20291
|
if (!comment) {
|
|
20279
20292
|
this.updateFlagNotEnteredErrorMessage = exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
|
|
20280
20293
|
this.errorMessages.push({
|
|
20281
20294
|
title: '',
|
|
20282
20295
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
|
|
20283
|
-
fieldId: this.
|
|
20296
|
+
fieldId: this.updateFlagControlName
|
|
20284
20297
|
});
|
|
20285
20298
|
}
|
|
20286
20299
|
if (comment && comment.length > this.commentsMaxCharLimit) {
|
|
@@ -20288,14 +20301,14 @@
|
|
|
20288
20301
|
this.errorMessages.push({
|
|
20289
20302
|
title: '',
|
|
20290
20303
|
description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
|
|
20291
|
-
fieldId: this.
|
|
20304
|
+
fieldId: this.updateFlagControlName
|
|
20292
20305
|
});
|
|
20293
20306
|
}
|
|
20294
20307
|
};
|
|
20295
20308
|
return UpdateFlagComponent;
|
|
20296
20309
|
}());
|
|
20297
20310
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
20298
|
-
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
20311
|
+
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) {
|
|
20299
20312
|
if (rf & 1) {
|
|
20300
20313
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20301
20314
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -20306,60 +20319,37 @@
|
|
|
20306
20319
|
i0__namespace.ɵɵelementEnd();
|
|
20307
20320
|
i0__namespace.ɵɵelementEnd();
|
|
20308
20321
|
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
20309
|
-
i0__namespace.ɵɵ
|
|
20310
|
-
i0__namespace.ɵɵelementStart(8, "label", 6);
|
|
20311
|
-
i0__namespace.ɵɵtext(9);
|
|
20312
|
-
i0__namespace.ɵɵelementEnd();
|
|
20313
|
-
i0__namespace.ɵɵelementEnd();
|
|
20314
|
-
i0__namespace.ɵɵelementStart(10, "div", 7);
|
|
20315
|
-
i0__namespace.ɵɵtext(11);
|
|
20322
|
+
i0__namespace.ɵɵtext(7);
|
|
20316
20323
|
i0__namespace.ɵɵelementEnd();
|
|
20317
|
-
i0__namespace.ɵɵtemplate(
|
|
20318
|
-
i0__namespace.ɵɵtemplate(
|
|
20319
|
-
i0__namespace.ɵɵelementStart(
|
|
20320
|
-
i0__namespace.ɵɵtext(
|
|
20321
|
-
i0__namespace.ɵɵelementEnd();
|
|
20322
|
-
i0__namespace.ɵɵelementStart(16, "div", 11);
|
|
20323
|
-
i0__namespace.ɵɵtext(17);
|
|
20324
|
-
i0__namespace.ɵɵelementEnd();
|
|
20325
|
-
i0__namespace.ɵɵelementEnd();
|
|
20326
|
-
i0__namespace.ɵɵelementStart(18, "div", 12);
|
|
20327
|
-
i0__namespace.ɵɵelementStart(19, "div");
|
|
20328
|
-
i0__namespace.ɵɵelementStart(20, "label", 13);
|
|
20329
|
-
i0__namespace.ɵɵtext(21);
|
|
20330
|
-
i0__namespace.ɵɵelementEnd();
|
|
20331
|
-
i0__namespace.ɵɵelementEnd();
|
|
20332
|
-
i0__namespace.ɵɵelementStart(22, "div", 5);
|
|
20333
|
-
i0__namespace.ɵɵelementStart(23, "div", 14);
|
|
20334
|
-
i0__namespace.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
20335
|
-
i0__namespace.ɵɵpipe(25, "enumDisplayDescription");
|
|
20336
|
-
i0__namespace.ɵɵelementEnd();
|
|
20337
|
-
i0__namespace.ɵɵelementEnd();
|
|
20338
|
-
i0__namespace.ɵɵelementStart(26, "div");
|
|
20339
|
-
i0__namespace.ɵɵelementStart(27, "div", 16);
|
|
20340
|
-
i0__namespace.ɵɵtext(28);
|
|
20324
|
+
i0__namespace.ɵɵtemplate(8, UpdateFlagComponent_div_8_Template, 4, 1, "div", 6);
|
|
20325
|
+
i0__namespace.ɵɵtemplate(9, UpdateFlagComponent_div_9_Template, 4, 1, "div", 7);
|
|
20326
|
+
i0__namespace.ɵɵelementStart(10, "textarea", 8);
|
|
20327
|
+
i0__namespace.ɵɵtext(11, " ");
|
|
20341
20328
|
i0__namespace.ɵɵelementEnd();
|
|
20342
|
-
i0__namespace.ɵɵelementStart(
|
|
20343
|
-
i0__namespace.ɵɵtext(
|
|
20329
|
+
i0__namespace.ɵɵelementStart(12, "div", 9);
|
|
20330
|
+
i0__namespace.ɵɵtext(13);
|
|
20344
20331
|
i0__namespace.ɵɵelementEnd();
|
|
20345
20332
|
i0__namespace.ɵɵelementEnd();
|
|
20346
20333
|
i0__namespace.ɵɵelementEnd();
|
|
20347
|
-
i0__namespace.ɵɵelementStart(
|
|
20348
|
-
i0__namespace.ɵɵelementStart(
|
|
20349
|
-
i0__namespace.ɵɵelementStart(
|
|
20350
|
-
i0__namespace.ɵɵ
|
|
20351
|
-
i0__namespace.ɵɵelementStart(
|
|
20352
|
-
i0__namespace.ɵɵ
|
|
20334
|
+
i0__namespace.ɵɵelementStart(14, "div", 10);
|
|
20335
|
+
i0__namespace.ɵɵelementStart(15, "div", 11);
|
|
20336
|
+
i0__namespace.ɵɵelementStart(16, "p");
|
|
20337
|
+
i0__namespace.ɵɵtext(17, "Flag status: ");
|
|
20338
|
+
i0__namespace.ɵɵelementStart(18, "span");
|
|
20339
|
+
i0__namespace.ɵɵelementStart(19, "strong", 12);
|
|
20340
|
+
i0__namespace.ɵɵtext(20);
|
|
20353
20341
|
i0__namespace.ɵɵelementEnd();
|
|
20354
20342
|
i0__namespace.ɵɵelementEnd();
|
|
20355
20343
|
i0__namespace.ɵɵelementEnd();
|
|
20356
20344
|
i0__namespace.ɵɵelementEnd();
|
|
20345
|
+
i0__namespace.ɵɵelementStart(21, "div", 11);
|
|
20346
|
+
i0__namespace.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
|
|
20357
20347
|
i0__namespace.ɵɵelementEnd();
|
|
20358
20348
|
i0__namespace.ɵɵelementEnd();
|
|
20359
|
-
i0__namespace.ɵɵelementStart(
|
|
20360
|
-
i0__namespace.ɵɵelementStart(
|
|
20361
|
-
i0__namespace.ɵɵlistener("click", function
|
|
20362
|
-
i0__namespace.ɵɵtext(
|
|
20349
|
+
i0__namespace.ɵɵelementStart(23, "div", 14);
|
|
20350
|
+
i0__namespace.ɵɵelementStart(24, "button", 15);
|
|
20351
|
+
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_24_listener() { return ctx.onNext(); });
|
|
20352
|
+
i0__namespace.ɵɵtext(25, "Next");
|
|
20363
20353
|
i0__namespace.ɵɵelementEnd();
|
|
20364
20354
|
i0__namespace.ɵɵelementEnd();
|
|
20365
20355
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20367,39 +20357,29 @@
|
|
|
20367
20357
|
if (rf & 2) {
|
|
20368
20358
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20369
20359
|
i0__namespace.ɵɵadvance(2);
|
|
20370
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(
|
|
20371
|
-
i0__namespace.ɵɵadvance(
|
|
20372
|
-
i0__namespace.ɵɵ
|
|
20373
|
-
i0__namespace.ɵɵadvance(3);
|
|
20374
|
-
i0__namespace.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
|
|
20360
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
|
|
20361
|
+
i0__namespace.ɵɵadvance(2);
|
|
20362
|
+
i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
20375
20363
|
i0__namespace.ɵɵadvance(1);
|
|
20376
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, "
|
|
20364
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
|
|
20377
20365
|
i0__namespace.ɵɵadvance(2);
|
|
20378
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.
|
|
20366
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
|
|
20379
20367
|
i0__namespace.ɵɵadvance(1);
|
|
20380
20368
|
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
|
|
20381
20369
|
i0__namespace.ɵɵadvance(1);
|
|
20382
20370
|
i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
|
|
20383
20371
|
i0__namespace.ɵɵadvance(1);
|
|
20384
|
-
i0__namespace.ɵɵproperty("id", ctx.
|
|
20372
|
+
i0__namespace.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
|
|
20385
20373
|
i0__namespace.ɵɵadvance(3);
|
|
20386
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.
|
|
20387
|
-
i0__namespace.ɵɵadvance(
|
|
20388
|
-
i0__namespace.ɵɵ
|
|
20389
|
-
i0__namespace.ɵɵadvance(2);
|
|
20390
|
-
i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
20391
|
-
i0__namespace.ɵɵadvance(1);
|
|
20392
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
20393
|
-
i0__namespace.ɵɵadvance(4);
|
|
20394
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
20395
|
-
i0__namespace.ɵɵadvance(1);
|
|
20396
|
-
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);
|
|
20397
|
-
i0__namespace.ɵɵadvance(5);
|
|
20398
|
-
i0__namespace.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
|
|
20374
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagCharLimitInfo, " ");
|
|
20375
|
+
i0__namespace.ɵɵadvance(6);
|
|
20376
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c1$6, ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
|
|
20399
20377
|
i0__namespace.ɵɵadvance(1);
|
|
20400
|
-
i0__namespace.ɵɵ
|
|
20378
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
|
|
20379
|
+
i0__namespace.ɵɵadvance(2);
|
|
20380
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
20401
20381
|
}
|
|
20402
|
-
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName
|
|
20382
|
+
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName], encapsulation: 2 });
|
|
20403
20383
|
(function () {
|
|
20404
20384
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
20405
20385
|
type: i0.Component,
|
|
@@ -22970,8 +22950,8 @@
|
|
|
22970
22950
|
i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
|
|
22971
22951
|
i0__namespace.ɵɵsetComponentScope(
|
|
22972
22952
|
// ComponentLauncher web components
|
|
22973
|
-
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace
|
|
22974
|
-
i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace
|
|
22953
|
+
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.MediaViewerComponent], []);
|
|
22954
|
+
i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.MediaViewerComponent], []);
|
|
22975
22955
|
|
|
22976
22956
|
var Confirmation = /** @class */ (function () {
|
|
22977
22957
|
function Confirmation(caseId, status, header, body) {
|
|
@@ -32772,7 +32752,6 @@
|
|
|
32772
32752
|
exports.DynamicListPipe = DynamicListPipe;
|
|
32773
32753
|
exports.DynamicRadioListPipe = DynamicRadioListPipe;
|
|
32774
32754
|
exports.Embedded = Embedded;
|
|
32775
|
-
exports.EnumDisplayDescriptionPipe = EnumDisplayDescriptionPipe;
|
|
32776
32755
|
exports.ErrorMessageComponent = ErrorMessageComponent;
|
|
32777
32756
|
exports.ErrorNotifierService = ErrorNotifierService;
|
|
32778
32757
|
exports.EventCaseField = EventCaseField;
|