@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-clear-document-filter-v4 → 5.0.25-case-file-view-move-document
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 +534 -343
- 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/loading-spinner/loading-spinner.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +14 -6
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +86 -52
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +127 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +4 -3
- package/esm2015/lib/shared/components/palette/palette.module.js +15 -6
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +475 -307
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +8 -2
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts +24 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +3 -2
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +26 -24
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +1 -0
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@angular-material-components/datetime-picker'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/input'), require('@hmcts/ccpay-web-component'), require('@hmcts/media-viewer'), require('@nicky-lenaers/ngx-scroll-to'), require('ngx-md'), require('@angular-material-components/moment-adapter'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', '@angular/material/dialog', '@angular-material-components/datetime-picker', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/input', '@hmcts/ccpay-web-component', '@hmcts/media-viewer', '@nicky-lenaers/ngx-scroll-to', 'ngx-md', '@angular-material-components/moment-adapter', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@angular-material-components/datetime-picker"], global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.datepicker, global.ng.material.formField, global.ng.material.input, global["@hmcts/ccpay-web-component"], global.i11, global["@nicky-lenaers/ngx-scroll-to"], global["ngx-md"], global["@angular-material-components/moment-adapter"], global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i2, polling, rxjs, i1$2, operators, classTransformer, _, moment, util, fsm, i1$3, i4, i1$4,
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i2, polling, rxjs, i1$2, operators, classTransformer, _, moment, util, fsm, i1$3, i4, i1$4, i7, i5, i6, i5$1, i6$1, i3$1, i3, i11, i2$1, i1$5, momentAdapter, i6$2, i1$6, i9) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
36
36
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
37
37
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
38
|
-
var
|
|
38
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
39
39
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
40
40
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
41
41
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
42
|
-
var i6__namespace$
|
|
42
|
+
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
43
43
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
44
44
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
45
45
|
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
|
46
46
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
47
47
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
48
|
-
var i6__namespace$
|
|
48
|
+
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
49
49
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
50
50
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
51
51
|
|
|
@@ -118,17 +118,17 @@
|
|
|
118
118
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
var _c0$
|
|
122
|
-
var _c1$
|
|
121
|
+
var _c0$Y = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
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
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
131
|
+
i0__namespace.ɵɵprojectionDef(_c0$Y);
|
|
132
132
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
133
133
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
134
134
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -207,8 +207,8 @@
|
|
|
207
207
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
var _c0$
|
|
211
|
-
var _c1$
|
|
210
|
+
var _c0$X = [[["", "headerNavigation", ""]]];
|
|
211
|
+
var _c1$q = ["[headerNavigation]"];
|
|
212
212
|
var HeaderBarComponent = /** @class */ (function () {
|
|
213
213
|
function HeaderBarComponent() {
|
|
214
214
|
this.signOutRequest = new i0.EventEmitter();
|
|
@@ -219,9 +219,9 @@
|
|
|
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
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
224
|
+
i0__namespace.ɵɵprojectionDef(_c0$X);
|
|
225
225
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
226
226
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
227
227
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -282,17 +282,17 @@
|
|
|
282
282
|
}] });
|
|
283
283
|
})();
|
|
284
284
|
|
|
285
|
-
var _c0$
|
|
286
|
-
var _c1$
|
|
285
|
+
var _c0$W = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
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
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
295
|
+
i0__namespace.ɵɵprojectionDef(_c0$W);
|
|
296
296
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
297
297
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
298
298
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -437,17 +437,17 @@
|
|
|
437
437
|
}], null, null);
|
|
438
438
|
})();
|
|
439
439
|
|
|
440
|
-
var _c0$
|
|
441
|
-
var _c1$
|
|
440
|
+
var _c0$V = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
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
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
450
|
+
i0__namespace.ɵɵprojectionDef(_c0$V);
|
|
451
451
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
452
452
|
i0__namespace.ɵɵprojection(1);
|
|
453
453
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
function step(op) {
|
|
566
566
|
if (f)
|
|
567
567
|
throw new TypeError("Generator is already executing.");
|
|
568
|
-
while (_)
|
|
568
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
569
569
|
try {
|
|
570
570
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
571
571
|
return t;
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
var _c0$
|
|
797
|
+
var _c0$U = function (a0) { return { "govuk-input--error": a0 }; };
|
|
798
798
|
function DateInputComponent_div_16_Template(rf, ctx) {
|
|
799
799
|
if (rf & 1) {
|
|
800
800
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -812,7 +812,7 @@
|
|
|
812
812
|
i0__namespace.ɵɵadvance(1);
|
|
813
813
|
i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
|
|
814
814
|
i0__namespace.ɵɵadvance(2);
|
|
815
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
815
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$U, ctx_r3.isInvalid));
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
function DateInputComponent_div_17_Template(rf, ctx) {
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
i0__namespace.ɵɵadvance(1);
|
|
833
833
|
i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
|
|
834
834
|
i0__namespace.ɵɵadvance(2);
|
|
835
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
835
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$U, ctx_r4.isInvalid));
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
function DateInputComponent_div_18_Template(rf, ctx) {
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
i0__namespace.ɵɵadvance(1);
|
|
853
853
|
i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
|
|
854
854
|
i0__namespace.ɵɵadvance(2);
|
|
855
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
855
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$U, ctx_r5.isInvalid));
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1086,15 +1086,15 @@
|
|
|
1086
1086
|
i0__namespace.ɵɵadvance(2);
|
|
1087
1087
|
i0__namespace.ɵɵproperty("for", ctx.dayId());
|
|
1088
1088
|
i0__namespace.ɵɵadvance(2);
|
|
1089
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$
|
|
1089
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$U, ctx.isInvalid));
|
|
1090
1090
|
i0__namespace.ɵɵadvance(3);
|
|
1091
1091
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1092
1092
|
i0__namespace.ɵɵadvance(2);
|
|
1093
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$
|
|
1093
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$U, ctx.isInvalid));
|
|
1094
1094
|
i0__namespace.ɵɵadvance(3);
|
|
1095
1095
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1096
1096
|
i0__namespace.ɵɵadvance(2);
|
|
1097
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$
|
|
1097
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$U, ctx.isInvalid));
|
|
1098
1098
|
i0__namespace.ɵɵadvance(2);
|
|
1099
1099
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1100
1100
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1175,7 +1175,7 @@
|
|
|
1175
1175
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
var _c0$
|
|
1178
|
+
var _c0$T = ["*"];
|
|
1179
1179
|
exports.AlertMessageType = void 0;
|
|
1180
1180
|
(function (AlertMessageType) {
|
|
1181
1181
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1196,7 +1196,7 @@
|
|
|
1196
1196
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1197
1197
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1198
1198
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1199
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1199
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$T, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1200
1200
|
if (rf & 1) {
|
|
1201
1201
|
i0__namespace.ɵɵprojectionDef();
|
|
1202
1202
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1471,15 +1471,15 @@
|
|
|
1471
1471
|
}] });
|
|
1472
1472
|
})();
|
|
1473
1473
|
|
|
1474
|
-
var _c0$
|
|
1475
|
-
var _c1$
|
|
1474
|
+
var _c0$S = function (a0) { return { "js-hidden": a0 }; };
|
|
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);
|
|
@@ -1487,7 +1487,7 @@
|
|
|
1487
1487
|
i0__namespace.ɵɵelementEnd();
|
|
1488
1488
|
}
|
|
1489
1489
|
if (rf & 2) {
|
|
1490
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1490
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$S, !ctx.selected));
|
|
1491
1491
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1492
1492
|
}
|
|
1493
1493
|
}, directives: [i1__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1510,8 +1510,8 @@
|
|
|
1510
1510
|
}] });
|
|
1511
1511
|
})();
|
|
1512
1512
|
|
|
1513
|
-
var _c0$
|
|
1514
|
-
var _c1$
|
|
1513
|
+
var _c0$R = ["tab"];
|
|
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);
|
|
@@ -1564,7 +1564,7 @@
|
|
|
1564
1564
|
}
|
|
1565
1565
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1566
1566
|
if (rf & 1) {
|
|
1567
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1567
|
+
i0__namespace.ɵɵviewQuery(_c0$R, 1);
|
|
1568
1568
|
}
|
|
1569
1569
|
if (rf & 2) {
|
|
1570
1570
|
var _t = void 0;
|
|
@@ -1643,7 +1643,7 @@
|
|
|
1643
1643
|
}], null, null);
|
|
1644
1644
|
})();
|
|
1645
1645
|
|
|
1646
|
-
var _c0$
|
|
1646
|
+
var _c0$Q = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1647
1647
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1648
1648
|
function ActivityBannerComponent() {
|
|
1649
1649
|
}
|
|
@@ -1664,7 +1664,7 @@
|
|
|
1664
1664
|
i0__namespace.ɵɵelementEnd();
|
|
1665
1665
|
}
|
|
1666
1666
|
if (rf & 2) {
|
|
1667
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$
|
|
1667
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$Q, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1668
1668
|
i0__namespace.ɵɵadvance(2);
|
|
1669
1669
|
i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1670
1670
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -11319,7 +11319,7 @@
|
|
|
11319
11319
|
return AddressOption;
|
|
11320
11320
|
}());
|
|
11321
11321
|
|
|
11322
|
-
var _c0$
|
|
11322
|
+
var _c0$P = ["writeComplexFieldComponent"];
|
|
11323
11323
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
|
|
11324
11324
|
if (rf & 1) {
|
|
11325
11325
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -11327,7 +11327,7 @@
|
|
|
11327
11327
|
i0__namespace.ɵɵelementEnd();
|
|
11328
11328
|
}
|
|
11329
11329
|
}
|
|
11330
|
-
var _c1$
|
|
11330
|
+
var _c1$l = function (a0) { return { "form-group-error": a0 }; };
|
|
11331
11331
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
11332
11332
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
11333
11333
|
if (rf & 1) {
|
|
@@ -11348,7 +11348,7 @@
|
|
|
11348
11348
|
}
|
|
11349
11349
|
if (rf & 2) {
|
|
11350
11350
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11351
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
11351
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
|
|
11352
11352
|
i0__namespace.ɵɵadvance(1);
|
|
11353
11353
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
11354
11354
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -11533,7 +11533,7 @@
|
|
|
11533
11533
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
11534
11534
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
11535
11535
|
if (rf & 1) {
|
|
11536
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
11536
|
+
i0__namespace.ɵɵviewQuery(_c0$P, 1);
|
|
11537
11537
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
11538
11538
|
}
|
|
11539
11539
|
if (rf & 2) {
|
|
@@ -11635,7 +11635,7 @@
|
|
|
11635
11635
|
if (rf & 2) {
|
|
11636
11636
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11637
11637
|
i0__namespace.ɵɵadvance(1);
|
|
11638
|
-
i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type);
|
|
11638
|
+
i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
|
|
11639
11639
|
}
|
|
11640
11640
|
}
|
|
11641
11641
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
|
|
@@ -11648,12 +11648,12 @@
|
|
|
11648
11648
|
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
11649
11649
|
i0__namespace.ɵɵelementStart(4, "div", 7);
|
|
11650
11650
|
i0__namespace.ɵɵelementStart(5, "ccd-case-file-view-folder", 8);
|
|
11651
|
-
i0__namespace.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); });
|
|
11651
|
+
i0__namespace.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); })("moveDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.moveDocument($event); });
|
|
11652
11652
|
i0__namespace.ɵɵelementEnd();
|
|
11653
11653
|
i0__namespace.ɵɵelementEnd();
|
|
11654
11654
|
i0__namespace.ɵɵelement(6, "div", 9);
|
|
11655
11655
|
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
11656
|
-
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2,
|
|
11656
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
|
|
11657
11657
|
i0__namespace.ɵɵelementEnd();
|
|
11658
11658
|
i0__namespace.ɵɵelementEnd();
|
|
11659
11659
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -11679,7 +11679,9 @@
|
|
|
11679
11679
|
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
11680
11680
|
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
|
|
11681
11681
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
|
|
11682
|
-
next: function (
|
|
11682
|
+
next: function (data) {
|
|
11683
|
+
_this.caseVersion = data.case_version;
|
|
11684
|
+
},
|
|
11683
11685
|
error: function (_) { return _this.getCategoriesAndDocumentsError = true; }
|
|
11684
11686
|
});
|
|
11685
11687
|
};
|
|
@@ -11712,6 +11714,12 @@
|
|
|
11712
11714
|
});
|
|
11713
11715
|
this.currentDocument = JSON.parse(mediaViewerInfo);
|
|
11714
11716
|
};
|
|
11717
|
+
CaseFileViewFieldComponent.prototype.moveDocument = function (data) {
|
|
11718
|
+
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
11719
|
+
this.caseFileViewService.updateDocumentCategory(cid, this.caseVersion, data.document.attribute_path, data.newCategory).subscribe(function (_) {
|
|
11720
|
+
location.reload();
|
|
11721
|
+
});
|
|
11722
|
+
};
|
|
11715
11723
|
CaseFileViewFieldComponent.prototype.ngOnDestroy = function () {
|
|
11716
11724
|
if (this.categoriesAndDocumentsSubscription) {
|
|
11717
11725
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
@@ -11721,7 +11729,7 @@
|
|
|
11721
11729
|
}());
|
|
11722
11730
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
11723
11731
|
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService)); };
|
|
11724
|
-
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "clickedDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
11732
|
+
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
11725
11733
|
if (rf & 1) {
|
|
11726
11734
|
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
11727
11735
|
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 2, "div", 1);
|
|
@@ -12096,7 +12104,7 @@
|
|
|
12096
12104
|
i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
12097
12105
|
}
|
|
12098
12106
|
}
|
|
12099
|
-
var _c0$
|
|
12107
|
+
var _c0$O = function (a0) { return { "form-group-error": a0 }; };
|
|
12100
12108
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
12101
12109
|
if (rf & 1) {
|
|
12102
12110
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -12117,7 +12125,7 @@
|
|
|
12117
12125
|
i0__namespace.ɵɵadvance(1);
|
|
12118
12126
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
12119
12127
|
i0__namespace.ɵɵadvance(1);
|
|
12120
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
12128
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$O, ctx_r1.errorMessages.length > 0));
|
|
12121
12129
|
i0__namespace.ɵɵadvance(1);
|
|
12122
12130
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
|
|
12123
12131
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -12535,7 +12543,7 @@
|
|
|
12535
12543
|
}], null, null);
|
|
12536
12544
|
})();
|
|
12537
12545
|
|
|
12538
|
-
var _c0$
|
|
12546
|
+
var _c0$N = ["writeComplexFieldComponent"];
|
|
12539
12547
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
12540
12548
|
if (rf & 1) {
|
|
12541
12549
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -12574,7 +12582,7 @@
|
|
|
12574
12582
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label));
|
|
12575
12583
|
}
|
|
12576
12584
|
}
|
|
12577
|
-
var _c1$
|
|
12585
|
+
var _c1$k = function (a0) { return { "form-group-error": a0 }; };
|
|
12578
12586
|
var WriteCaseLinkFieldComponent = /** @class */ (function (_super) {
|
|
12579
12587
|
__extends(WriteCaseLinkFieldComponent, _super);
|
|
12580
12588
|
function WriteCaseLinkFieldComponent() {
|
|
@@ -12640,7 +12648,7 @@
|
|
|
12640
12648
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
12641
12649
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
12642
12650
|
if (rf & 1) {
|
|
12643
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
12651
|
+
i0__namespace.ɵɵviewQuery(_c0$N, 1);
|
|
12644
12652
|
}
|
|
12645
12653
|
if (rf & 2) {
|
|
12646
12654
|
var _t = void 0;
|
|
@@ -12658,7 +12666,7 @@
|
|
|
12658
12666
|
i0__namespace.ɵɵelementEnd();
|
|
12659
12667
|
}
|
|
12660
12668
|
if (rf & 2) {
|
|
12661
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
12669
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$k, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
|
|
12662
12670
|
i0__namespace.ɵɵadvance(1);
|
|
12663
12671
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
12664
12672
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -12685,7 +12693,7 @@
|
|
|
12685
12693
|
}] });
|
|
12686
12694
|
})();
|
|
12687
12695
|
|
|
12688
|
-
var _c0$
|
|
12696
|
+
var _c0$M = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
12689
12697
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
12690
12698
|
if (rf & 1) {
|
|
12691
12699
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -12700,10 +12708,10 @@
|
|
|
12700
12708
|
if (rf & 2) {
|
|
12701
12709
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
12702
12710
|
i0__namespace.ɵɵadvance(4);
|
|
12703
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
12711
|
+
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);
|
|
12704
12712
|
}
|
|
12705
12713
|
}
|
|
12706
|
-
var _c1$
|
|
12714
|
+
var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
12707
12715
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
|
|
12708
12716
|
if (rf & 1) {
|
|
12709
12717
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
@@ -12717,7 +12725,7 @@
|
|
|
12717
12725
|
var i_r5 = ctx.index;
|
|
12718
12726
|
var ctx_r3 = i0__namespace.ɵɵnextContext(3);
|
|
12719
12727
|
i0__namespace.ɵɵadvance(2);
|
|
12720
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$
|
|
12728
|
+
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));
|
|
12721
12729
|
}
|
|
12722
12730
|
}
|
|
12723
12731
|
function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
|
|
@@ -12851,7 +12859,7 @@
|
|
|
12851
12859
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
12852
12860
|
})();
|
|
12853
12861
|
|
|
12854
|
-
var _c0$
|
|
12862
|
+
var _c0$L = ["collectionItem"];
|
|
12855
12863
|
function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) {
|
|
12856
12864
|
if (rf & 1) {
|
|
12857
12865
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -13264,7 +13272,7 @@
|
|
|
13264
13272
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
13265
13273
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13266
13274
|
if (rf & 1) {
|
|
13267
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13275
|
+
i0__namespace.ɵɵviewQuery(_c0$L, 1);
|
|
13268
13276
|
}
|
|
13269
13277
|
if (rf & 2) {
|
|
13270
13278
|
var _t = void 0;
|
|
@@ -13852,7 +13860,7 @@
|
|
|
13852
13860
|
}], null, null);
|
|
13853
13861
|
})();
|
|
13854
13862
|
|
|
13855
|
-
var _c0$
|
|
13863
|
+
var _c0$K = ["fileInput"];
|
|
13856
13864
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) {
|
|
13857
13865
|
if (rf & 1) {
|
|
13858
13866
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -13886,7 +13894,7 @@
|
|
|
13886
13894
|
i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
|
|
13887
13895
|
}
|
|
13888
13896
|
}
|
|
13889
|
-
var _c1$
|
|
13897
|
+
var _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
|
|
13890
13898
|
var WriteDocumentFieldComponent = /** @class */ (function (_super) {
|
|
13891
13899
|
__extends(WriteDocumentFieldComponent, _super);
|
|
13892
13900
|
function WriteDocumentFieldComponent(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
|
|
@@ -14146,7 +14154,7 @@
|
|
|
14146
14154
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
14147
14155
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14148
14156
|
if (rf & 1) {
|
|
14149
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14157
|
+
i0__namespace.ɵɵviewQuery(_c0$K, 1);
|
|
14150
14158
|
}
|
|
14151
14159
|
if (rf & 2) {
|
|
14152
14160
|
var _t = void 0;
|
|
@@ -14188,7 +14196,7 @@
|
|
|
14188
14196
|
i0__namespace.ɵɵelementEnd();
|
|
14189
14197
|
}
|
|
14190
14198
|
if (rf & 2) {
|
|
14191
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$
|
|
14199
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
|
|
14192
14200
|
i0__namespace.ɵɵadvance(1);
|
|
14193
14201
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14194
14202
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14346,7 +14354,7 @@
|
|
|
14346
14354
|
i0__namespace.ɵɵtextInterpolate(type_r5.label);
|
|
14347
14355
|
}
|
|
14348
14356
|
}
|
|
14349
|
-
var _c0$
|
|
14357
|
+
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
14350
14358
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
14351
14359
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
14352
14360
|
function WriteDynamicListFieldComponent() {
|
|
@@ -14395,7 +14403,7 @@
|
|
|
14395
14403
|
i0__namespace.ɵɵelementEnd();
|
|
14396
14404
|
}
|
|
14397
14405
|
if (rf & 2) {
|
|
14398
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
14406
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$J, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
14399
14407
|
i0__namespace.ɵɵadvance(1);
|
|
14400
14408
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14401
14409
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14545,7 +14553,7 @@
|
|
|
14545
14553
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
14546
14554
|
}
|
|
14547
14555
|
}
|
|
14548
|
-
var _c0$
|
|
14556
|
+
var _c0$I = function (a0) { return { selected: a0 }; };
|
|
14549
14557
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
14550
14558
|
if (rf & 1) {
|
|
14551
14559
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -14558,7 +14566,7 @@
|
|
|
14558
14566
|
if (rf & 2) {
|
|
14559
14567
|
var radioButton_r5 = ctx.$implicit;
|
|
14560
14568
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
14561
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
14569
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$I, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
14562
14570
|
i0__namespace.ɵɵadvance(1);
|
|
14563
14571
|
i0__namespace.ɵɵpropertyInterpolate("name", ctx_r4.id());
|
|
14564
14572
|
i0__namespace.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
@@ -14568,7 +14576,7 @@
|
|
|
14568
14576
|
i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
|
|
14569
14577
|
}
|
|
14570
14578
|
}
|
|
14571
|
-
var _c1$
|
|
14579
|
+
var _c1$h = function (a0) { return { "form-group-error": a0 }; };
|
|
14572
14580
|
var WriteDynamicRadioListFieldComponent = /** @class */ (function (_super) {
|
|
14573
14581
|
__extends(WriteDynamicRadioListFieldComponent, _super);
|
|
14574
14582
|
function WriteDynamicRadioListFieldComponent() {
|
|
@@ -14616,7 +14624,7 @@
|
|
|
14616
14624
|
i0__namespace.ɵɵelementEnd();
|
|
14617
14625
|
}
|
|
14618
14626
|
if (rf & 2) {
|
|
14619
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$
|
|
14627
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
14620
14628
|
i0__namespace.ɵɵadvance(3);
|
|
14621
14629
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14622
14630
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14723,8 +14731,8 @@
|
|
|
14723
14731
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
14724
14732
|
}
|
|
14725
14733
|
}
|
|
14726
|
-
var _c0$
|
|
14727
|
-
var _c1$
|
|
14734
|
+
var _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
14735
|
+
var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14728
14736
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
14729
14737
|
__extends(WriteEmailFieldComponent, _super);
|
|
14730
14738
|
function WriteEmailFieldComponent() {
|
|
@@ -14748,7 +14756,7 @@
|
|
|
14748
14756
|
i0__namespace.ɵɵelementEnd();
|
|
14749
14757
|
}
|
|
14750
14758
|
if (rf & 2) {
|
|
14751
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
14759
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$H, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
14752
14760
|
i0__namespace.ɵɵadvance(1);
|
|
14753
14761
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14754
14762
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14758,7 +14766,7 @@
|
|
|
14758
14766
|
i0__namespace.ɵɵadvance(1);
|
|
14759
14767
|
i0__namespace.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
|
|
14760
14768
|
i0__namespace.ɵɵadvance(1);
|
|
14761
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
14769
|
+
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);
|
|
14762
14770
|
}
|
|
14763
14771
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14764
14772
|
var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
@@ -14880,7 +14888,7 @@
|
|
|
14880
14888
|
i0__namespace.ɵɵtextInterpolate(type_r4.label);
|
|
14881
14889
|
}
|
|
14882
14890
|
}
|
|
14883
|
-
var _c0$
|
|
14891
|
+
var _c0$G = function (a0) { return { "form-group-error": a0 }; };
|
|
14884
14892
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
14885
14893
|
__extends(WriteFixedListFieldComponent, _super);
|
|
14886
14894
|
function WriteFixedListFieldComponent() {
|
|
@@ -14929,7 +14937,7 @@
|
|
|
14929
14937
|
i0__namespace.ɵɵelementEnd();
|
|
14930
14938
|
}
|
|
14931
14939
|
if (rf & 2) {
|
|
14932
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
14940
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$G, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
14933
14941
|
i0__namespace.ɵɵadvance(1);
|
|
14934
14942
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14935
14943
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15047,7 +15055,7 @@
|
|
|
15047
15055
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
|
|
15048
15056
|
}
|
|
15049
15057
|
}
|
|
15050
|
-
var _c0$
|
|
15058
|
+
var _c0$F = function (a0) { return { selected: a0 }; };
|
|
15051
15059
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
15052
15060
|
if (rf & 1) {
|
|
15053
15061
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -15060,7 +15068,7 @@
|
|
|
15060
15068
|
if (rf & 2) {
|
|
15061
15069
|
var radioButton_r4 = ctx.$implicit;
|
|
15062
15070
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15063
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
15071
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$F, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
15064
15072
|
i0__namespace.ɵɵadvance(1);
|
|
15065
15073
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
15066
15074
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15069,7 +15077,7 @@
|
|
|
15069
15077
|
i0__namespace.ɵɵtextInterpolate(radioButton_r4.label);
|
|
15070
15078
|
}
|
|
15071
15079
|
}
|
|
15072
|
-
var _c1$
|
|
15080
|
+
var _c1$f = function (a0) { return { "form-group-error": a0 }; };
|
|
15073
15081
|
var WriteFixedRadioListFieldComponent = /** @class */ (function (_super) {
|
|
15074
15082
|
__extends(WriteFixedRadioListFieldComponent, _super);
|
|
15075
15083
|
function WriteFixedRadioListFieldComponent() {
|
|
@@ -15100,7 +15108,7 @@
|
|
|
15100
15108
|
i0__namespace.ɵɵelementEnd();
|
|
15101
15109
|
}
|
|
15102
15110
|
if (rf & 2) {
|
|
15103
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
15111
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
15104
15112
|
i0__namespace.ɵɵadvance(3);
|
|
15105
15113
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15106
15114
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15230,7 +15238,7 @@
|
|
|
15230
15238
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
15231
15239
|
}
|
|
15232
15240
|
}
|
|
15233
|
-
var _c0$
|
|
15241
|
+
var _c0$E = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
15234
15242
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
|
|
15235
15243
|
if (rf & 1) {
|
|
15236
15244
|
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -15242,7 +15250,7 @@
|
|
|
15242
15250
|
if (rf & 2) {
|
|
15243
15251
|
var judicialUser_r5 = ctx.$implicit;
|
|
15244
15252
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15245
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
15253
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$E, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
|
|
15246
15254
|
i0__namespace.ɵɵadvance(1);
|
|
15247
15255
|
i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
15248
15256
|
}
|
|
@@ -15589,7 +15597,7 @@
|
|
|
15589
15597
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
|
|
15590
15598
|
}
|
|
15591
15599
|
}
|
|
15592
|
-
var _c0$
|
|
15600
|
+
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
15593
15601
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
15594
15602
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
15595
15603
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -15619,7 +15627,7 @@
|
|
|
15619
15627
|
i0__namespace.ɵɵelementEnd();
|
|
15620
15628
|
}
|
|
15621
15629
|
if (rf & 2) {
|
|
15622
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
15630
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
15623
15631
|
i0__namespace.ɵɵadvance(1);
|
|
15624
15632
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15625
15633
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15767,7 +15775,7 @@
|
|
|
15767
15775
|
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
15768
15776
|
}
|
|
15769
15777
|
}
|
|
15770
|
-
var _c0$
|
|
15778
|
+
var _c0$C = function (a0) { return { "error": a0 }; };
|
|
15771
15779
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15772
15780
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
15773
15781
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -15831,7 +15839,7 @@
|
|
|
15831
15839
|
i0__namespace.ɵɵelementEnd();
|
|
15832
15840
|
}
|
|
15833
15841
|
if (rf & 2) {
|
|
15834
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
15842
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
15835
15843
|
i0__namespace.ɵɵadvance(3);
|
|
15836
15844
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15837
15845
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15922,8 +15930,8 @@
|
|
|
15922
15930
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
15923
15931
|
}
|
|
15924
15932
|
}
|
|
15925
|
-
var _c0$
|
|
15926
|
-
var _c1$
|
|
15933
|
+
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
15934
|
+
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15927
15935
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
15928
15936
|
__extends(WriteNumberFieldComponent, _super);
|
|
15929
15937
|
function WriteNumberFieldComponent() {
|
|
@@ -15947,7 +15955,7 @@
|
|
|
15947
15955
|
i0__namespace.ɵɵelementEnd();
|
|
15948
15956
|
}
|
|
15949
15957
|
if (rf & 2) {
|
|
15950
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
15958
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
15951
15959
|
i0__namespace.ɵɵadvance(1);
|
|
15952
15960
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15953
15961
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15957,7 +15965,7 @@
|
|
|
15957
15965
|
i0__namespace.ɵɵadvance(1);
|
|
15958
15966
|
i0__namespace.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
15959
15967
|
i0__namespace.ɵɵadvance(1);
|
|
15960
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
15968
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
15961
15969
|
}
|
|
15962
15970
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.NumberValueAccessor, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15963
15971
|
var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
@@ -16248,7 +16256,7 @@
|
|
|
16248
16256
|
i0__namespace.ɵɵelementEnd();
|
|
16249
16257
|
}
|
|
16250
16258
|
}
|
|
16251
|
-
var _c0$
|
|
16259
|
+
var _c0$A = function (a0) { return { "scroll-container ": a0 }; };
|
|
16252
16260
|
function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) {
|
|
16253
16261
|
if (rf & 1) {
|
|
16254
16262
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -16264,7 +16272,7 @@
|
|
|
16264
16272
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
16265
16273
|
var tmp_0_0 = null;
|
|
16266
16274
|
var tmp_2_0 = null;
|
|
16267
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
16275
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
16268
16276
|
i0__namespace.ɵɵadvance(2);
|
|
16269
16277
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
16270
16278
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -16736,8 +16744,8 @@
|
|
|
16736
16744
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
|
|
16737
16745
|
}
|
|
16738
16746
|
}
|
|
16739
|
-
var _c0$
|
|
16740
|
-
var _c1$
|
|
16747
|
+
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
16748
|
+
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16741
16749
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
16742
16750
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
16743
16751
|
function WritePhoneUKFieldComponent() {
|
|
@@ -16761,7 +16769,7 @@
|
|
|
16761
16769
|
i0__namespace.ɵɵelementEnd();
|
|
16762
16770
|
}
|
|
16763
16771
|
if (rf & 2) {
|
|
16764
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
16772
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
16765
16773
|
i0__namespace.ɵɵadvance(1);
|
|
16766
16774
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
16767
16775
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16771,7 +16779,7 @@
|
|
|
16771
16779
|
i0__namespace.ɵɵadvance(1);
|
|
16772
16780
|
i0__namespace.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
|
|
16773
16781
|
i0__namespace.ɵɵadvance(1);
|
|
16774
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
16782
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
16775
16783
|
}
|
|
16776
16784
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
16777
16785
|
var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
@@ -16853,8 +16861,8 @@
|
|
|
16853
16861
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
|
|
16854
16862
|
}
|
|
16855
16863
|
}
|
|
16856
|
-
var _c0$
|
|
16857
|
-
var _c1$
|
|
16864
|
+
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
16865
|
+
var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
16858
16866
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
16859
16867
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
16860
16868
|
function WriteTextAreaFieldComponent(browserService) {
|
|
@@ -16889,7 +16897,7 @@
|
|
|
16889
16897
|
i0__namespace.ɵɵelementEnd();
|
|
16890
16898
|
}
|
|
16891
16899
|
if (rf & 2) {
|
|
16892
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
16900
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
16893
16901
|
i0__namespace.ɵɵadvance(1);
|
|
16894
16902
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
16895
16903
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16899,7 +16907,7 @@
|
|
|
16899
16907
|
i0__namespace.ɵɵadvance(1);
|
|
16900
16908
|
i0__namespace.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
|
|
16901
16909
|
i0__namespace.ɵɵadvance(1);
|
|
16902
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
16910
|
+
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);
|
|
16903
16911
|
}
|
|
16904
16912
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
16905
16913
|
(function () {
|
|
@@ -16981,8 +16989,8 @@
|
|
|
16981
16989
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
|
|
16982
16990
|
}
|
|
16983
16991
|
}
|
|
16984
|
-
var _c0$
|
|
16985
|
-
var _c1$
|
|
16992
|
+
var _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
16993
|
+
var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
16986
16994
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
16987
16995
|
__extends(WriteTextFieldComponent, _super);
|
|
16988
16996
|
function WriteTextFieldComponent() {
|
|
@@ -17011,7 +17019,7 @@
|
|
|
17011
17019
|
i0__namespace.ɵɵelementEnd();
|
|
17012
17020
|
}
|
|
17013
17021
|
if (rf & 2) {
|
|
17014
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
17022
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
17015
17023
|
i0__namespace.ɵɵadvance(1);
|
|
17016
17024
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
17017
17025
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -17021,7 +17029,7 @@
|
|
|
17021
17029
|
i0__namespace.ɵɵadvance(1);
|
|
17022
17030
|
i0__namespace.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
|
|
17023
17031
|
i0__namespace.ɵɵadvance(1);
|
|
17024
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$
|
|
17032
|
+
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);
|
|
17025
17033
|
}
|
|
17026
17034
|
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
17027
17035
|
var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
@@ -17219,7 +17227,7 @@
|
|
|
17219
17227
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label));
|
|
17220
17228
|
}
|
|
17221
17229
|
}
|
|
17222
|
-
var _c0$
|
|
17230
|
+
var _c0$w = function (a0) { return { selected: a0 }; };
|
|
17223
17231
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
17224
17232
|
if (rf & 1) {
|
|
17225
17233
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -17232,7 +17240,7 @@
|
|
|
17232
17240
|
if (rf & 2) {
|
|
17233
17241
|
var value_r4 = ctx.$implicit;
|
|
17234
17242
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
17235
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
17243
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
17236
17244
|
i0__namespace.ɵɵadvance(1);
|
|
17237
17245
|
i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
17238
17246
|
i0__namespace.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -17242,7 +17250,7 @@
|
|
|
17242
17250
|
i0__namespace.ɵɵtextInterpolate(value_r4);
|
|
17243
17251
|
}
|
|
17244
17252
|
}
|
|
17245
|
-
var _c1$
|
|
17253
|
+
var _c1$a = function (a0) { return { "form-group-error": a0 }; };
|
|
17246
17254
|
var WriteYesNoFieldComponent = /** @class */ (function (_super) {
|
|
17247
17255
|
__extends(WriteYesNoFieldComponent, _super);
|
|
17248
17256
|
function WriteYesNoFieldComponent(yesNoService) {
|
|
@@ -17273,7 +17281,7 @@
|
|
|
17273
17281
|
i0__namespace.ɵɵelementEnd();
|
|
17274
17282
|
}
|
|
17275
17283
|
if (rf & 2) {
|
|
17276
|
-
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
17284
|
+
i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
17277
17285
|
i0__namespace.ɵɵadvance(3);
|
|
17278
17286
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17279
17287
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -17387,7 +17395,7 @@
|
|
|
17387
17395
|
}], null, null);
|
|
17388
17396
|
})();
|
|
17389
17397
|
|
|
17390
|
-
var _c0$
|
|
17398
|
+
var _c0$v = ["fieldContainer"];
|
|
17391
17399
|
var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
|
|
17392
17400
|
var FieldReadComponent = /** @class */ (function (_super) {
|
|
17393
17401
|
__extends(FieldReadComponent, _super);
|
|
@@ -17436,7 +17444,7 @@
|
|
|
17436
17444
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
17437
17445
|
FieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
|
|
17438
17446
|
if (rf & 1) {
|
|
17439
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
17447
|
+
i0__namespace.ɵɵviewQuery(_c0$v, 1, i0.ViewContainerRef);
|
|
17440
17448
|
}
|
|
17441
17449
|
if (rf & 2) {
|
|
17442
17450
|
var _t = void 0;
|
|
@@ -17477,7 +17485,7 @@
|
|
|
17477
17485
|
}] });
|
|
17478
17486
|
})();
|
|
17479
17487
|
|
|
17480
|
-
var _c0$
|
|
17488
|
+
var _c0$u = ["fieldContainer"];
|
|
17481
17489
|
var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
|
|
17482
17490
|
var FieldWriteComponent = /** @class */ (function (_super) {
|
|
17483
17491
|
__extends(FieldWriteComponent, _super);
|
|
@@ -17531,7 +17539,7 @@
|
|
|
17531
17539
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
17532
17540
|
FieldWriteComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
|
|
17533
17541
|
if (rf & 1) {
|
|
17534
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
17542
|
+
i0__namespace.ɵɵviewQuery(_c0$u, 3, i0.ViewContainerRef);
|
|
17535
17543
|
}
|
|
17536
17544
|
if (rf & 2) {
|
|
17537
17545
|
var _t = void 0;
|
|
@@ -17594,7 +17602,7 @@
|
|
|
17594
17602
|
i0__namespace.ɵɵprojection(0);
|
|
17595
17603
|
}
|
|
17596
17604
|
}
|
|
17597
|
-
var _c0$
|
|
17605
|
+
var _c0$t = ["*"];
|
|
17598
17606
|
var FieldReadLabelComponent = /** @class */ (function (_super) {
|
|
17599
17607
|
__extends(FieldReadLabelComponent, _super);
|
|
17600
17608
|
function FieldReadLabelComponent() {
|
|
@@ -17632,7 +17640,7 @@
|
|
|
17632
17640
|
return FieldReadLabelComponent;
|
|
17633
17641
|
}(AbstractFieldReadComponent));
|
|
17634
17642
|
FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
|
|
17635
|
-
FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
17643
|
+
FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$t, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) {
|
|
17636
17644
|
if (rf & 1) {
|
|
17637
17645
|
i0__namespace.ɵɵprojectionDef();
|
|
17638
17646
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -17666,133 +17674,148 @@
|
|
|
17666
17674
|
}] });
|
|
17667
17675
|
})();
|
|
17668
17676
|
|
|
17669
|
-
|
|
17670
|
-
|
|
17677
|
+
function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
17678
|
+
if (rf & 1) {
|
|
17679
|
+
i0__namespace.ɵɵelementContainer(0);
|
|
17671
17680
|
}
|
|
17672
|
-
|
|
17673
|
-
|
|
17674
|
-
|
|
17675
|
-
|
|
17676
|
-
|
|
17681
|
+
}
|
|
17682
|
+
var _c0$s = function (a0) { return { cat: a0, level: 1 }; };
|
|
17683
|
+
function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) {
|
|
17684
|
+
if (rf & 1) {
|
|
17685
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
17686
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
17687
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
17677
17688
|
}
|
|
17678
|
-
|
|
17679
|
-
|
|
17680
|
-
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
*/
|
|
17685
|
-
var CategoriesAndDocuments = /** @class */ (function () {
|
|
17686
|
-
function CategoriesAndDocuments() {
|
|
17689
|
+
if (rf & 2) {
|
|
17690
|
+
var cat_r3 = ctx.$implicit;
|
|
17691
|
+
i0__namespace.ɵɵnextContext();
|
|
17692
|
+
var _r1 = i0__namespace.ɵɵreference(13);
|
|
17693
|
+
i0__namespace.ɵɵadvance(1);
|
|
17694
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$s, cat_r3));
|
|
17687
17695
|
}
|
|
17688
|
-
|
|
17689
|
-
|
|
17690
|
-
|
|
17691
|
-
|
|
17692
|
-
(function (DocumentTreeNodeType) {
|
|
17693
|
-
DocumentTreeNodeType["FOLDER"] = "folder";
|
|
17694
|
-
DocumentTreeNodeType["DOCUMENT"] = "document";
|
|
17695
|
-
})(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
|
|
17696
|
-
|
|
17697
|
-
var DocumentTreeNode = /** @class */ (function () {
|
|
17698
|
-
function DocumentTreeNode() {
|
|
17696
|
+
}
|
|
17697
|
+
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
17698
|
+
if (rf & 1) {
|
|
17699
|
+
i0__namespace.ɵɵelementContainer(0);
|
|
17699
17700
|
}
|
|
17700
|
-
|
|
17701
|
-
|
|
17702
|
-
|
|
17703
|
-
|
|
17704
|
-
|
|
17705
|
-
|
|
17706
|
-
|
|
17707
|
-
|
|
17708
|
-
|
|
17709
|
-
|
|
17710
|
-
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
|
|
17714
|
-
|
|
17715
|
-
|
|
17716
|
-
|
|
17717
|
-
|
|
17718
|
-
|
|
17719
|
-
var
|
|
17720
|
-
|
|
17721
|
-
|
|
17722
|
-
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
|
|
17726
|
-
|
|
17727
|
-
|
|
17728
|
-
|
|
17729
|
-
|
|
17730
|
-
|
|
17731
|
-
|
|
17732
|
-
|
|
17733
|
-
|
|
17734
|
-
|
|
17735
|
-
(
|
|
17736
|
-
(
|
|
17737
|
-
|
|
17738
|
-
|
|
17701
|
+
}
|
|
17702
|
+
var _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
|
|
17703
|
+
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
|
|
17704
|
+
if (rf & 1) {
|
|
17705
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
17706
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
17707
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
17708
|
+
}
|
|
17709
|
+
if (rf & 2) {
|
|
17710
|
+
var subcat_r8 = ctx.$implicit;
|
|
17711
|
+
var level_r6 = i0__namespace.ɵɵnextContext().level;
|
|
17712
|
+
i0__namespace.ɵɵnextContext();
|
|
17713
|
+
var _r1 = i0__namespace.ɵɵreference(13);
|
|
17714
|
+
i0__namespace.ɵɵadvance(1);
|
|
17715
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
|
|
17716
|
+
}
|
|
17717
|
+
}
|
|
17718
|
+
function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
17719
|
+
if (rf & 1) {
|
|
17720
|
+
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17721
|
+
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
17722
|
+
i0__namespace.ɵɵelementStart(1, "input", 10);
|
|
17723
|
+
i0__namespace.ɵɵlistener("change", function CaseFileViewFolderSelectorComponent_ng_template_12_Template_input_change_1_listener($event) { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.handleChange($event); });
|
|
17724
|
+
i0__namespace.ɵɵelementEnd();
|
|
17725
|
+
i0__namespace.ɵɵelementStart(2, "label", 11);
|
|
17726
|
+
i0__namespace.ɵɵelement(3, "img", 12);
|
|
17727
|
+
i0__namespace.ɵɵtext(4);
|
|
17728
|
+
i0__namespace.ɵɵelementEnd();
|
|
17729
|
+
i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
|
|
17730
|
+
i0__namespace.ɵɵelementEnd();
|
|
17731
|
+
}
|
|
17732
|
+
if (rf & 2) {
|
|
17733
|
+
var cat_r5 = ctx.cat;
|
|
17734
|
+
var level_r6 = ctx.level;
|
|
17735
|
+
i0__namespace.ɵɵadvance(1);
|
|
17736
|
+
i0__namespace.ɵɵpropertyInterpolate1("name", "level-", level_r6, "");
|
|
17737
|
+
i0__namespace.ɵɵproperty("id", cat_r5.category_id);
|
|
17738
|
+
i0__namespace.ɵɵadvance(1);
|
|
17739
|
+
i0__namespace.ɵɵproperty("for", cat_r5.category_id);
|
|
17740
|
+
i0__namespace.ɵɵadvance(2);
|
|
17741
|
+
i0__namespace.ɵɵtextInterpolate1(" ", cat_r5.category_name, " ");
|
|
17742
|
+
i0__namespace.ɵɵadvance(1);
|
|
17743
|
+
i0__namespace.ɵɵproperty("ngForOf", cat_r5.sub_categories);
|
|
17744
|
+
}
|
|
17745
|
+
}
|
|
17746
|
+
var CaseFileViewFolderSelectorComponent = /** @class */ (function () {
|
|
17747
|
+
function CaseFileViewFolderSelectorComponent(dialogRef, data) {
|
|
17748
|
+
this.dialogRef = dialogRef;
|
|
17749
|
+
this.data = data;
|
|
17750
|
+
this.currentCategories = [];
|
|
17751
|
+
this.selected = '';
|
|
17752
|
+
this.currentCategories = __spread(this.data.categories);
|
|
17753
|
+
}
|
|
17754
|
+
CaseFileViewFolderSelectorComponent.prototype.handleChange = function (evt) {
|
|
17755
|
+
if (evt.target.checked) {
|
|
17756
|
+
this.select(evt.target.id);
|
|
17757
|
+
}
|
|
17739
17758
|
};
|
|
17740
|
-
|
|
17741
|
-
|
|
17742
|
-
var sortDescending = function () {
|
|
17743
|
-
return function (a, b) {
|
|
17744
|
-
var nameA = a.name.toUpperCase();
|
|
17745
|
-
var nameB = b.name.toUpperCase();
|
|
17746
|
-
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
17747
|
-
return 0;
|
|
17748
|
-
}
|
|
17749
|
-
if (nameA > nameB) {
|
|
17750
|
-
return -1;
|
|
17751
|
-
}
|
|
17752
|
-
if (nameA < nameB) {
|
|
17753
|
-
return 1;
|
|
17754
|
-
}
|
|
17755
|
-
};
|
|
17756
|
-
};
|
|
17757
|
-
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
|
|
17758
|
-
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
|
|
17759
|
-
childNodes.sortChildrenDescending();
|
|
17760
|
-
});
|
|
17759
|
+
CaseFileViewFolderSelectorComponent.prototype.select = function (categoryId) {
|
|
17760
|
+
this.selected = categoryId;
|
|
17761
17761
|
};
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
|
|
17768
|
-
|
|
17769
|
-
if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
17770
|
-
nodeChild.children.forEach(function (child) {
|
|
17771
|
-
flattenedNodes.push.apply(flattenedNodes, __spread(flattenChildren(child)));
|
|
17772
|
-
});
|
|
17773
|
-
}
|
|
17774
|
-
return flattenedNodes;
|
|
17775
|
-
};
|
|
17776
|
-
return __spread([
|
|
17777
|
-
this
|
|
17778
|
-
], (_a = this.children) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
17779
|
-
return flattenChildren(item);
|
|
17780
|
-
}).flat());
|
|
17781
|
-
},
|
|
17782
|
-
enumerable: false,
|
|
17783
|
-
configurable: true
|
|
17784
|
-
});
|
|
17785
|
-
return DocumentTreeNode;
|
|
17762
|
+
CaseFileViewFolderSelectorComponent.prototype.cancel = function () {
|
|
17763
|
+
this.dialogRef.close();
|
|
17764
|
+
};
|
|
17765
|
+
CaseFileViewFolderSelectorComponent.prototype.save = function () {
|
|
17766
|
+
this.dialogRef.close(this.selected.length > 0 ? this.selected : null);
|
|
17767
|
+
};
|
|
17768
|
+
return CaseFileViewFolderSelectorComponent;
|
|
17786
17769
|
}());
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17770
|
+
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialogRef), i0__namespace.ɵɵdirectiveInject(i1$3.MAT_DIALOG_DATA)); };
|
|
17771
|
+
CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "change"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) {
|
|
17772
|
+
if (rf & 1) {
|
|
17773
|
+
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
17774
|
+
i0__namespace.ɵɵtext(1, "Move File");
|
|
17775
|
+
i0__namespace.ɵɵelementEnd();
|
|
17776
|
+
i0__namespace.ɵɵelementStart(2, "p");
|
|
17777
|
+
i0__namespace.ɵɵtext(3);
|
|
17778
|
+
i0__namespace.ɵɵelementEnd();
|
|
17779
|
+
i0__namespace.ɵɵelementStart(4, "div", 1);
|
|
17780
|
+
i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
|
|
17781
|
+
i0__namespace.ɵɵelementEnd();
|
|
17782
|
+
i0__namespace.ɵɵelementStart(6, "div", 3);
|
|
17783
|
+
i0__namespace.ɵɵelementStart(7, "button", 4);
|
|
17784
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
|
|
17785
|
+
i0__namespace.ɵɵtext(8, "Save");
|
|
17786
|
+
i0__namespace.ɵɵelementEnd();
|
|
17787
|
+
i0__namespace.ɵɵelementStart(9, "a", 5);
|
|
17788
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
|
|
17789
|
+
i0__namespace.ɵɵtext(10, "Cancel");
|
|
17790
|
+
i0__namespace.ɵɵelementEnd();
|
|
17791
|
+
i0__namespace.ɵɵelementEnd();
|
|
17792
|
+
i0__namespace.ɵɵelementStart(11, "div", 6);
|
|
17793
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
|
|
17794
|
+
i0__namespace.ɵɵelementEnd();
|
|
17795
|
+
i0__namespace.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
|
|
17796
|
+
}
|
|
17797
|
+
if (rf & 2) {
|
|
17798
|
+
i0__namespace.ɵɵadvance(3);
|
|
17799
|
+
i0__namespace.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
17800
|
+
i0__namespace.ɵɵadvance(2);
|
|
17801
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
17802
|
+
}
|
|
17803
|
+
}, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
|
|
17804
|
+
(function () {
|
|
17805
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
17806
|
+
type: i0.Component,
|
|
17807
|
+
args: [{
|
|
17808
|
+
selector: 'xui-case-file-view-folder-selector',
|
|
17809
|
+
templateUrl: './case-file-view-folder-selector.component.html',
|
|
17810
|
+
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
17811
|
+
}]
|
|
17812
|
+
}], function () {
|
|
17813
|
+
return [{ type: i1__namespace$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
17814
|
+
type: i0.Inject,
|
|
17815
|
+
args: [i1$3.MAT_DIALOG_DATA]
|
|
17816
|
+
}] }];
|
|
17817
|
+
}, null);
|
|
17818
|
+
})();
|
|
17796
17819
|
|
|
17797
17820
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) {
|
|
17798
17821
|
if (rf & 1) {
|
|
@@ -17908,48 +17931,6 @@
|
|
|
17908
17931
|
}] });
|
|
17909
17932
|
})();
|
|
17910
17933
|
|
|
17911
|
-
var CaseFileViewFolderSortComponent = /** @class */ (function () {
|
|
17912
|
-
function CaseFileViewFolderSortComponent() {
|
|
17913
|
-
var _this = this;
|
|
17914
|
-
this.isOpen = false;
|
|
17915
|
-
this.sortAscending = new i0.EventEmitter();
|
|
17916
|
-
this.sortDescending = new i0.EventEmitter();
|
|
17917
|
-
this.overlayMenuItems = [
|
|
17918
|
-
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(); } },
|
|
17919
|
-
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
|
|
17920
|
-
];
|
|
17921
|
-
}
|
|
17922
|
-
return CaseFileViewFolderSortComponent;
|
|
17923
|
-
}());
|
|
17924
|
-
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
17925
|
-
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "title", "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
|
|
17926
|
-
if (rf & 1) {
|
|
17927
|
-
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
17928
|
-
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
|
|
17929
|
-
i0__namespace.ɵɵelementContainerStart(1, 1);
|
|
17930
|
-
i0__namespace.ɵɵelement(2, "img", 2);
|
|
17931
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
17932
|
-
i0__namespace.ɵɵelementEnd();
|
|
17933
|
-
}
|
|
17934
|
-
if (rf & 2) {
|
|
17935
|
-
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
17936
|
-
}
|
|
17937
|
-
}, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
|
|
17938
|
-
(function () {
|
|
17939
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
17940
|
-
type: i0.Component,
|
|
17941
|
-
args: [{
|
|
17942
|
-
selector: 'ccd-case-file-view-folder-sort',
|
|
17943
|
-
templateUrl: './case-file-view-folder-sort.component.html',
|
|
17944
|
-
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
17945
|
-
}]
|
|
17946
|
-
}], function () { return []; }, { sortAscending: [{
|
|
17947
|
-
type: i0.Output
|
|
17948
|
-
}], sortDescending: [{
|
|
17949
|
-
type: i0.Output
|
|
17950
|
-
}] });
|
|
17951
|
-
})();
|
|
17952
|
-
|
|
17953
17934
|
var CaseFileViewFolderDocumentActionsComponent = /** @class */ (function () {
|
|
17954
17935
|
function CaseFileViewFolderDocumentActionsComponent() {
|
|
17955
17936
|
var _this = this;
|
|
@@ -18000,28 +17981,198 @@
|
|
|
18000
17981
|
}] });
|
|
18001
17982
|
})();
|
|
18002
17983
|
|
|
18003
|
-
function
|
|
17984
|
+
var CaseFileViewFolderSortComponent = /** @class */ (function () {
|
|
17985
|
+
function CaseFileViewFolderSortComponent() {
|
|
17986
|
+
var _this = this;
|
|
17987
|
+
this.isOpen = false;
|
|
17988
|
+
this.sortAscending = new i0.EventEmitter();
|
|
17989
|
+
this.sortDescending = new i0.EventEmitter();
|
|
17990
|
+
this.overlayMenuItems = [
|
|
17991
|
+
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(); } },
|
|
17992
|
+
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
|
|
17993
|
+
];
|
|
17994
|
+
}
|
|
17995
|
+
return CaseFileViewFolderSortComponent;
|
|
17996
|
+
}());
|
|
17997
|
+
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
17998
|
+
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "title", "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
|
|
17999
|
+
if (rf & 1) {
|
|
18000
|
+
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
18001
|
+
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
|
|
18002
|
+
i0__namespace.ɵɵelementContainerStart(1, 1);
|
|
18003
|
+
i0__namespace.ɵɵelement(2, "img", 2);
|
|
18004
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
18005
|
+
i0__namespace.ɵɵelementEnd();
|
|
18006
|
+
}
|
|
18007
|
+
if (rf & 2) {
|
|
18008
|
+
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
18009
|
+
}
|
|
18010
|
+
}, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
|
|
18011
|
+
(function () {
|
|
18012
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
18013
|
+
type: i0.Component,
|
|
18014
|
+
args: [{
|
|
18015
|
+
selector: 'ccd-case-file-view-folder-sort',
|
|
18016
|
+
templateUrl: './case-file-view-folder-sort.component.html',
|
|
18017
|
+
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
18018
|
+
}]
|
|
18019
|
+
}], function () { return []; }, { sortAscending: [{
|
|
18020
|
+
type: i0.Output
|
|
18021
|
+
}], sortDescending: [{
|
|
18022
|
+
type: i0.Output
|
|
18023
|
+
}] });
|
|
18024
|
+
})();
|
|
18025
|
+
|
|
18026
|
+
var CaseFileViewCategory = /** @class */ (function () {
|
|
18027
|
+
function CaseFileViewCategory() {
|
|
18028
|
+
}
|
|
18029
|
+
return CaseFileViewCategory;
|
|
18030
|
+
}());
|
|
18031
|
+
|
|
18032
|
+
var CaseFileViewDocument = /** @class */ (function () {
|
|
18033
|
+
function CaseFileViewDocument() {
|
|
18034
|
+
}
|
|
18035
|
+
return CaseFileViewDocument;
|
|
18036
|
+
}());
|
|
18037
|
+
|
|
18038
|
+
/**
|
|
18039
|
+
* DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
|
|
18040
|
+
* @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
|
|
18041
|
+
*/
|
|
18042
|
+
var CategoriesAndDocuments = /** @class */ (function () {
|
|
18043
|
+
function CategoriesAndDocuments() {
|
|
18044
|
+
}
|
|
18045
|
+
return CategoriesAndDocuments;
|
|
18046
|
+
}());
|
|
18047
|
+
|
|
18048
|
+
var DocumentTreeNodeType;
|
|
18049
|
+
(function (DocumentTreeNodeType) {
|
|
18050
|
+
DocumentTreeNodeType["FOLDER"] = "folder";
|
|
18051
|
+
DocumentTreeNodeType["DOCUMENT"] = "document";
|
|
18052
|
+
})(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
|
|
18053
|
+
|
|
18054
|
+
var DocumentTreeNode = /** @class */ (function () {
|
|
18055
|
+
function DocumentTreeNode() {
|
|
18056
|
+
}
|
|
18057
|
+
Object.defineProperty(DocumentTreeNode.prototype, "childDocumentCount", {
|
|
18058
|
+
get: function () {
|
|
18059
|
+
var countChildren = function (childNodes) {
|
|
18060
|
+
var count = 0;
|
|
18061
|
+
if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
|
|
18062
|
+
var documents = childNodes.filter(function (item) { return item.type === 'document'; });
|
|
18063
|
+
count += documents.length;
|
|
18064
|
+
childNodes.forEach(function (children) {
|
|
18065
|
+
count += countChildren(children.children);
|
|
18066
|
+
});
|
|
18067
|
+
}
|
|
18068
|
+
return count;
|
|
18069
|
+
};
|
|
18070
|
+
return countChildren(this.children);
|
|
18071
|
+
},
|
|
18072
|
+
enumerable: false,
|
|
18073
|
+
configurable: true
|
|
18074
|
+
});
|
|
18075
|
+
DocumentTreeNode.prototype.sortChildrenAscending = function () {
|
|
18076
|
+
var _a, _b;
|
|
18077
|
+
var sortAscending = function () {
|
|
18078
|
+
return function (a, b) {
|
|
18079
|
+
var nameA = a.name.toUpperCase();
|
|
18080
|
+
var nameB = b.name.toUpperCase();
|
|
18081
|
+
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
18082
|
+
return 0;
|
|
18083
|
+
}
|
|
18084
|
+
if (nameA < nameB) {
|
|
18085
|
+
return -1;
|
|
18086
|
+
}
|
|
18087
|
+
if (nameA > nameB) {
|
|
18088
|
+
return 1;
|
|
18089
|
+
}
|
|
18090
|
+
};
|
|
18091
|
+
};
|
|
18092
|
+
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
|
|
18093
|
+
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
|
|
18094
|
+
childNodes.sortChildrenAscending();
|
|
18095
|
+
});
|
|
18096
|
+
};
|
|
18097
|
+
DocumentTreeNode.prototype.sortChildrenDescending = function () {
|
|
18098
|
+
var _a, _b;
|
|
18099
|
+
var sortDescending = function () {
|
|
18100
|
+
return function (a, b) {
|
|
18101
|
+
var nameA = a.name.toUpperCase();
|
|
18102
|
+
var nameB = b.name.toUpperCase();
|
|
18103
|
+
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
18104
|
+
return 0;
|
|
18105
|
+
}
|
|
18106
|
+
if (nameA > nameB) {
|
|
18107
|
+
return -1;
|
|
18108
|
+
}
|
|
18109
|
+
if (nameA < nameB) {
|
|
18110
|
+
return 1;
|
|
18111
|
+
}
|
|
18112
|
+
};
|
|
18113
|
+
};
|
|
18114
|
+
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
|
|
18115
|
+
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
|
|
18116
|
+
childNodes.sortChildrenDescending();
|
|
18117
|
+
});
|
|
18118
|
+
};
|
|
18119
|
+
Object.defineProperty(DocumentTreeNode.prototype, "flattenedAll", {
|
|
18120
|
+
get: function () {
|
|
18121
|
+
var _a;
|
|
18122
|
+
var flattenChildren = function (nodeChild) {
|
|
18123
|
+
var _a;
|
|
18124
|
+
var flattenedNodes = [];
|
|
18125
|
+
flattenedNodes.push(nodeChild);
|
|
18126
|
+
if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
18127
|
+
nodeChild.children.forEach(function (child) {
|
|
18128
|
+
flattenedNodes.push.apply(flattenedNodes, __spread(flattenChildren(child)));
|
|
18129
|
+
});
|
|
18130
|
+
}
|
|
18131
|
+
return flattenedNodes;
|
|
18132
|
+
};
|
|
18133
|
+
return __spread([
|
|
18134
|
+
this
|
|
18135
|
+
], (_a = this.children) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
18136
|
+
return flattenChildren(item);
|
|
18137
|
+
}).flat());
|
|
18138
|
+
},
|
|
18139
|
+
enumerable: false,
|
|
18140
|
+
configurable: true
|
|
18141
|
+
});
|
|
18142
|
+
return DocumentTreeNode;
|
|
18143
|
+
}());
|
|
18144
|
+
__decorate([
|
|
18145
|
+
classTransformer.Type(function () { return DocumentTreeNode; }),
|
|
18146
|
+
__metadata("design:type", Array)
|
|
18147
|
+
], DocumentTreeNode.prototype, "children", void 0);
|
|
18148
|
+
__decorate([
|
|
18149
|
+
classTransformer.Expose(),
|
|
18150
|
+
__metadata("design:type", Object),
|
|
18151
|
+
__metadata("design:paramtypes", [])
|
|
18152
|
+
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
18153
|
+
|
|
18154
|
+
function CaseFileViewFolderComponent_div_8_div_1_Template(rf, ctx) {
|
|
18004
18155
|
if (rf & 1) {
|
|
18005
18156
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
18006
18157
|
i0__namespace.ɵɵtext(1, " No results found ");
|
|
18007
18158
|
i0__namespace.ɵɵelementEnd();
|
|
18008
18159
|
}
|
|
18009
18160
|
}
|
|
18010
|
-
function
|
|
18161
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, ctx) {
|
|
18011
18162
|
if (rf & 1) {
|
|
18012
18163
|
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
18013
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
18014
|
-
i0__namespace.ɵɵelementStart(1, "button",
|
|
18015
|
-
i0__namespace.ɵɵlistener("click", function
|
|
18016
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
18017
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
18164
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
|
|
18165
|
+
i0__namespace.ɵɵelementStart(1, "button", 13);
|
|
18166
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var node_r4 = ctx.$implicit; var ctx_r5 = i0__namespace.ɵɵnextContext(2); ctx_r5.selectedNodeItem = node_r4; return ctx_r5.clickedDocument.emit(node_r4); });
|
|
18167
|
+
i0__namespace.ɵɵelementStart(2, "div", 14);
|
|
18168
|
+
i0__namespace.ɵɵelement(3, "img", 15);
|
|
18018
18169
|
i0__namespace.ɵɵelementEnd();
|
|
18019
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
18170
|
+
i0__namespace.ɵɵelementStart(4, "span", 16);
|
|
18020
18171
|
i0__namespace.ɵɵtext(5);
|
|
18021
18172
|
i0__namespace.ɵɵelementEnd();
|
|
18022
|
-
i0__namespace.ɵɵelementStart(6, "div",
|
|
18023
|
-
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions",
|
|
18024
|
-
i0__namespace.ɵɵlistener("changeFolderAction", function
|
|
18173
|
+
i0__namespace.ɵɵelementStart(6, "div", 17);
|
|
18174
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 18);
|
|
18175
|
+
i0__namespace.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var node_r4 = ctx.$implicit; var ctx_r7 = i0__namespace.ɵɵnextContext(2); return ctx_r7.triggerDocumentAction("changeFolder", node_r4); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var node_r4 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.triggerDocumentAction("openInANewTab", node_r4); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var node_r4 = ctx.$implicit; var ctx_r9 = i0__namespace.ɵɵnextContext(2); return ctx_r9.triggerDocumentAction("download", node_r4); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var node_r4 = ctx.$implicit; var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.triggerDocumentAction("print", node_r4); });
|
|
18025
18176
|
i0__namespace.ɵɵelementEnd();
|
|
18026
18177
|
i0__namespace.ɵɵelementEnd();
|
|
18027
18178
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -18036,22 +18187,22 @@
|
|
|
18036
18187
|
i0__namespace.ɵɵtextInterpolate(node_r4.name);
|
|
18037
18188
|
}
|
|
18038
18189
|
}
|
|
18039
|
-
function
|
|
18190
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, ctx) {
|
|
18040
18191
|
if (rf & 1) {
|
|
18041
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
18042
|
-
i0__namespace.ɵɵelementStart(1, "button",
|
|
18043
|
-
i0__namespace.ɵɵelementStart(2, "div",
|
|
18044
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
18045
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
18192
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 19);
|
|
18193
|
+
i0__namespace.ɵɵelementStart(1, "button", 20);
|
|
18194
|
+
i0__namespace.ɵɵelementStart(2, "div", 21);
|
|
18195
|
+
i0__namespace.ɵɵelement(3, "img", 22);
|
|
18196
|
+
i0__namespace.ɵɵelementStart(4, "span", 23);
|
|
18046
18197
|
i0__namespace.ɵɵtext(5);
|
|
18047
18198
|
i0__namespace.ɵɵelementEnd();
|
|
18048
18199
|
i0__namespace.ɵɵelementEnd();
|
|
18049
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
18200
|
+
i0__namespace.ɵɵelementStart(6, "span", 24);
|
|
18050
18201
|
i0__namespace.ɵɵtext(7);
|
|
18051
18202
|
i0__namespace.ɵɵelementEnd();
|
|
18052
18203
|
i0__namespace.ɵɵelementEnd();
|
|
18053
18204
|
i0__namespace.ɵɵelementStart(8, "div");
|
|
18054
|
-
i0__namespace.ɵɵelementContainer(9,
|
|
18205
|
+
i0__namespace.ɵɵelementContainer(9, 25);
|
|
18055
18206
|
i0__namespace.ɵɵelementEnd();
|
|
18056
18207
|
i0__namespace.ɵɵelementEnd();
|
|
18057
18208
|
}
|
|
@@ -18070,14 +18221,14 @@
|
|
|
18070
18221
|
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r11));
|
|
18071
18222
|
}
|
|
18072
18223
|
}
|
|
18073
|
-
function
|
|
18224
|
+
function CaseFileViewFolderComponent_div_8_Template(rf, ctx) {
|
|
18074
18225
|
if (rf & 1) {
|
|
18075
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
18076
|
-
i0__namespace.ɵɵtemplate(1,
|
|
18226
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
18227
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
|
|
18077
18228
|
i0__namespace.ɵɵelementStart(2, "div");
|
|
18078
|
-
i0__namespace.ɵɵelementStart(3, "cdk-tree",
|
|
18079
|
-
i0__namespace.ɵɵtemplate(4,
|
|
18080
|
-
i0__namespace.ɵɵtemplate(5,
|
|
18229
|
+
i0__namespace.ɵɵelementStart(3, "cdk-tree", 9);
|
|
18230
|
+
i0__namespace.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 8, 3, "cdk-nested-tree-node", 10);
|
|
18231
|
+
i0__namespace.ɵɵtemplate(5, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 11);
|
|
18081
18232
|
i0__namespace.ɵɵelementEnd();
|
|
18082
18233
|
i0__namespace.ɵɵelementEnd();
|
|
18083
18234
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -18094,15 +18245,17 @@
|
|
|
18094
18245
|
}
|
|
18095
18246
|
var MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
|
|
18096
18247
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
18097
|
-
function CaseFileViewFolderComponent(windowService, router, documentManagementService) {
|
|
18248
|
+
function CaseFileViewFolderComponent(windowService, router, documentManagementService, dialog) {
|
|
18098
18249
|
this.windowService = windowService;
|
|
18099
18250
|
this.router = router;
|
|
18100
18251
|
this.documentManagementService = documentManagementService;
|
|
18252
|
+
this.dialog = dialog;
|
|
18101
18253
|
this.clickedDocument = new i0.EventEmitter();
|
|
18254
|
+
this.moveDocument = new i0.EventEmitter();
|
|
18102
18255
|
this.categories = [];
|
|
18103
18256
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
18104
18257
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
18105
|
-
this.nestedTreeControl = new
|
|
18258
|
+
this.nestedTreeControl = new i7.NestedTreeControl(this.getChildren);
|
|
18106
18259
|
}
|
|
18107
18260
|
Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
|
|
18108
18261
|
get: function () {
|
|
@@ -18135,6 +18288,7 @@
|
|
|
18135
18288
|
// Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
|
|
18136
18289
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
18137
18290
|
var categories = categoriesAndDocuments.categories;
|
|
18291
|
+
_this.categories = categories;
|
|
18138
18292
|
// Generate document tree data from categories
|
|
18139
18293
|
_this.documentTreeData = _this.generateTreeData(categories);
|
|
18140
18294
|
// Append uncategorised documents
|
|
@@ -18167,6 +18321,7 @@
|
|
|
18167
18321
|
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
18168
18322
|
documentTreeNode.document_filename = document.document_filename;
|
|
18169
18323
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
18324
|
+
documentTreeNode.attribute_path = document.attribute_path;
|
|
18170
18325
|
documentsToReturn.push(documentTreeNode);
|
|
18171
18326
|
});
|
|
18172
18327
|
return documentsToReturn;
|
|
@@ -18179,6 +18334,7 @@
|
|
|
18179
18334
|
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
18180
18335
|
documentTreeNode.document_filename = document.document_filename;
|
|
18181
18336
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
18337
|
+
documentTreeNode.attribute_path = document.attribute_path;
|
|
18182
18338
|
documents.push(documentTreeNode);
|
|
18183
18339
|
});
|
|
18184
18340
|
var uncategorisedNode = new DocumentTreeNode();
|
|
@@ -18211,7 +18367,7 @@
|
|
|
18211
18367
|
var _a;
|
|
18212
18368
|
switch (actionType) {
|
|
18213
18369
|
case ('changeFolder'):
|
|
18214
|
-
|
|
18370
|
+
this.openMoveDialog(documentTreeNode);
|
|
18215
18371
|
break;
|
|
18216
18372
|
case ('openInANewTab'):
|
|
18217
18373
|
this.windowService.setLocalStorage(MEDIA_VIEWER_LOCALSTORAGE_KEY, this.documentManagementService.getMediaViewerInfo({
|
|
@@ -18221,10 +18377,13 @@
|
|
|
18221
18377
|
this.windowService.openOnNewTab((_a = this.router.createUrlTree(['/media-viewer'])) === null || _a === void 0 ? void 0 : _a.toString());
|
|
18222
18378
|
break;
|
|
18223
18379
|
case ('download'):
|
|
18224
|
-
|
|
18380
|
+
// Create a URL from the document_binary_url property (absolute URL) and use the path portion (relative URL).
|
|
18381
|
+
// This is necessary because the Manage Cases application will automatically apply a proxy to the request, with
|
|
18382
|
+
// the correct remote endpoint
|
|
18383
|
+
this.downloadFile(new URL(documentTreeNode.document_binary_url).pathname, documentTreeNode.document_filename);
|
|
18225
18384
|
break;
|
|
18226
18385
|
case ('print'):
|
|
18227
|
-
|
|
18386
|
+
this.printDocument(new URL(documentTreeNode.document_binary_url).pathname);
|
|
18228
18387
|
break;
|
|
18229
18388
|
default:
|
|
18230
18389
|
return;
|
|
@@ -18270,43 +18429,65 @@
|
|
|
18270
18429
|
(_a = this.categoriesAndDocumentsSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
18271
18430
|
(_b = this.documentFilterSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
18272
18431
|
};
|
|
18432
|
+
CaseFileViewFolderComponent.prototype.openMoveDialog = function (node) {
|
|
18433
|
+
var _this = this;
|
|
18434
|
+
var dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
|
|
18435
|
+
width: '570px',
|
|
18436
|
+
data: { categories: this.categories, document: node }
|
|
18437
|
+
});
|
|
18438
|
+
dialogRef.afterClosed().subscribe(function (newCatId) {
|
|
18439
|
+
if (newCatId) {
|
|
18440
|
+
_this.moveDocument.emit({ newCategory: newCatId, document: node });
|
|
18441
|
+
}
|
|
18442
|
+
});
|
|
18443
|
+
};
|
|
18444
|
+
CaseFileViewFolderComponent.prototype.printDocument = function (url) {
|
|
18445
|
+
var printWindow = window.open(url);
|
|
18446
|
+
printWindow.print();
|
|
18447
|
+
};
|
|
18448
|
+
CaseFileViewFolderComponent.prototype.downloadFile = function (url, downloadFileName) {
|
|
18449
|
+
var a = document.createElement('a');
|
|
18450
|
+
document.body.appendChild(a);
|
|
18451
|
+
a.setAttribute('style', 'display: none');
|
|
18452
|
+
a.href = url;
|
|
18453
|
+
a.download = downloadFileName;
|
|
18454
|
+
a.click();
|
|
18455
|
+
a.remove();
|
|
18456
|
+
};
|
|
18273
18457
|
return CaseFileViewFolderComponent;
|
|
18274
18458
|
}());
|
|
18275
18459
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
18276
18460
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
18277
18461
|
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
|
|
18278
|
-
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService)); };
|
|
18279
|
-
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, outputs: { clickedDocument: "clickedDocument" }, decls:
|
|
18462
|
+
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)); };
|
|
18463
|
+
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
18280
18464
|
if (rf & 1) {
|
|
18281
18465
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
18282
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
18283
|
-
i0__namespace.ɵɵ
|
|
18284
|
-
i0__namespace.ɵɵelement(3, "input", 3);
|
|
18285
|
-
i0__namespace.ɵɵelement(4, "button", 4);
|
|
18286
|
-
i0__namespace.ɵɵelementEnd();
|
|
18466
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
18467
|
+
i0__namespace.ɵɵelement(2, "input", 2);
|
|
18287
18468
|
i0__namespace.ɵɵelementEnd();
|
|
18288
18469
|
i0__namespace.ɵɵelementEnd();
|
|
18289
|
-
i0__namespace.ɵɵelementStart(
|
|
18290
|
-
i0__namespace.ɵɵelementStart(
|
|
18291
|
-
i0__namespace.ɵɵtext(
|
|
18470
|
+
i0__namespace.ɵɵelementStart(3, "div", 3);
|
|
18471
|
+
i0__namespace.ɵɵelementStart(4, "div", 4);
|
|
18472
|
+
i0__namespace.ɵɵtext(5);
|
|
18292
18473
|
i0__namespace.ɵɵelementEnd();
|
|
18293
|
-
i0__namespace.ɵɵelementStart(
|
|
18294
|
-
i0__namespace.ɵɵelementStart(
|
|
18295
|
-
i0__namespace.ɵɵlistener("sortAscending", function
|
|
18474
|
+
i0__namespace.ɵɵelementStart(6, "div");
|
|
18475
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-sort", 5);
|
|
18476
|
+
i0__namespace.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_7_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_7_listener() { return ctx.sortDataSourceDescAlphabetically(); });
|
|
18296
18477
|
i0__namespace.ɵɵelementEnd();
|
|
18297
18478
|
i0__namespace.ɵɵelementEnd();
|
|
18298
18479
|
i0__namespace.ɵɵelementEnd();
|
|
18299
|
-
i0__namespace.ɵɵtemplate(
|
|
18480
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_div_8_Template, 6, 4, "div", 6);
|
|
18300
18481
|
}
|
|
18301
18482
|
if (rf & 2) {
|
|
18302
18483
|
i0__namespace.ɵɵadvance(1);
|
|
18303
18484
|
i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
18304
|
-
i0__namespace.ɵɵadvance(
|
|
18485
|
+
i0__namespace.ɵɵadvance(4);
|
|
18305
18486
|
i0__namespace.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
18306
18487
|
i0__namespace.ɵɵadvance(3);
|
|
18307
18488
|
i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
18308
18489
|
}
|
|
18309
|
-
}, directives: [i2__namespace
|
|
18490
|
+
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName, CaseFileViewFolderSortComponent, i1__namespace.NgIf, i7__namespace.CdkTree, i7__namespace.CdkTreeNodeDef, i7__namespace.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7__namespace.CdkTreeNodeToggle, i7__namespace.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
|
|
18310
18491
|
(function () {
|
|
18311
18492
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
18312
18493
|
type: i0.Component,
|
|
@@ -18315,10 +18496,12 @@
|
|
|
18315
18496
|
templateUrl: './case-file-view-folder.component.html',
|
|
18316
18497
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
18317
18498
|
}]
|
|
18318
|
-
}], function () { return [{ type: WindowService }, { type: i1__namespace$1.Router }, { type: DocumentManagementService }]; }, { categoriesAndDocuments: [{
|
|
18499
|
+
}], function () { return [{ type: WindowService }, { type: i1__namespace$1.Router }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }]; }, { categoriesAndDocuments: [{
|
|
18319
18500
|
type: i0.Input
|
|
18320
18501
|
}], clickedDocument: [{
|
|
18321
18502
|
type: i0.Output
|
|
18503
|
+
}], moveDocument: [{
|
|
18504
|
+
type: i0.Output
|
|
18322
18505
|
}] });
|
|
18323
18506
|
})();
|
|
18324
18507
|
|
|
@@ -21044,7 +21227,7 @@
|
|
|
21044
21227
|
i0__namespace.ɵɵadvance(1);
|
|
21045
21228
|
i0__namespace.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
|
|
21046
21229
|
}
|
|
21047
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace$2.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
21230
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace$1.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
21048
21231
|
(function () {
|
|
21049
21232
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
21050
21233
|
type: i0.Component,
|
|
@@ -22024,7 +22207,8 @@
|
|
|
22024
22207
|
CaseFileViewFolderComponent,
|
|
22025
22208
|
CaseFileViewFolderSortComponent,
|
|
22026
22209
|
CaseFileViewOverlayMenuComponent,
|
|
22027
|
-
CaseFileViewFolderDocumentActionsComponent
|
|
22210
|
+
CaseFileViewFolderDocumentActionsComponent,
|
|
22211
|
+
CaseFileViewFolderSelectorComponent
|
|
22028
22212
|
];
|
|
22029
22213
|
var PaletteModule = /** @class */ (function () {
|
|
22030
22214
|
function PaletteModule() {
|
|
@@ -22062,14 +22246,15 @@
|
|
|
22062
22246
|
i4.NgxMatDatetimePickerModule,
|
|
22063
22247
|
i4.NgxMatTimepickerModule,
|
|
22064
22248
|
i4.NgxMatNativeDateModule,
|
|
22065
|
-
i6$
|
|
22249
|
+
i6$1.MatFormFieldModule,
|
|
22066
22250
|
i3$1.MatInputModule,
|
|
22067
22251
|
i5$1.MatDatepickerModule,
|
|
22068
22252
|
i5.MatAutocompleteModule,
|
|
22069
|
-
|
|
22253
|
+
i7.CdkTreeModule,
|
|
22070
22254
|
i1$4.OverlayModule,
|
|
22071
22255
|
i3.PaymentLibModule,
|
|
22072
22256
|
i2$1.ScrollToModule.forRoot(),
|
|
22257
|
+
i1$3.MatDialogModule,
|
|
22073
22258
|
i11.MediaViewerModule
|
|
22074
22259
|
], i4.NgxMatDatetimePickerModule,
|
|
22075
22260
|
i4.NgxMatNativeDateModule,
|
|
@@ -22166,7 +22351,8 @@
|
|
|
22166
22351
|
CaseFileViewFolderComponent,
|
|
22167
22352
|
CaseFileViewFolderSortComponent,
|
|
22168
22353
|
CaseFileViewOverlayMenuComponent,
|
|
22169
|
-
CaseFileViewFolderDocumentActionsComponent
|
|
22354
|
+
CaseFileViewFolderDocumentActionsComponent,
|
|
22355
|
+
CaseFileViewFolderSelectorComponent], imports: [i1.CommonModule,
|
|
22170
22356
|
i1$1.RouterModule,
|
|
22171
22357
|
i2.FormsModule,
|
|
22172
22358
|
i2.ReactiveFormsModule,
|
|
@@ -22183,13 +22369,14 @@
|
|
|
22183
22369
|
i4.NgxMatDatetimePickerModule,
|
|
22184
22370
|
i4.NgxMatTimepickerModule,
|
|
22185
22371
|
i4.NgxMatNativeDateModule,
|
|
22186
|
-
i6$
|
|
22372
|
+
i6$1.MatFormFieldModule,
|
|
22187
22373
|
i3$1.MatInputModule,
|
|
22188
22374
|
i5$1.MatDatepickerModule,
|
|
22189
22375
|
i5.MatAutocompleteModule,
|
|
22190
|
-
|
|
22376
|
+
i7.CdkTreeModule,
|
|
22191
22377
|
i1$4.OverlayModule,
|
|
22192
|
-
i3.PaymentLibModule, i2__namespace$1.ScrollToModule,
|
|
22378
|
+
i3.PaymentLibModule, i2__namespace$1.ScrollToModule, i1$3.MatDialogModule,
|
|
22379
|
+
i11.MediaViewerModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
22193
22380
|
i4.NgxMatNativeDateModule,
|
|
22194
22381
|
i4.NgxMatTimepickerModule,
|
|
22195
22382
|
TabsModule,
|
|
@@ -22270,7 +22457,8 @@
|
|
|
22270
22457
|
CaseFileViewFolderComponent,
|
|
22271
22458
|
CaseFileViewFolderSortComponent,
|
|
22272
22459
|
CaseFileViewOverlayMenuComponent,
|
|
22273
|
-
CaseFileViewFolderDocumentActionsComponent
|
|
22460
|
+
CaseFileViewFolderDocumentActionsComponent,
|
|
22461
|
+
CaseFileViewFolderSelectorComponent] });
|
|
22274
22462
|
})();
|
|
22275
22463
|
(function () {
|
|
22276
22464
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -22294,14 +22482,15 @@
|
|
|
22294
22482
|
i4.NgxMatDatetimePickerModule,
|
|
22295
22483
|
i4.NgxMatTimepickerModule,
|
|
22296
22484
|
i4.NgxMatNativeDateModule,
|
|
22297
|
-
i6$
|
|
22485
|
+
i6$1.MatFormFieldModule,
|
|
22298
22486
|
i3$1.MatInputModule,
|
|
22299
22487
|
i5$1.MatDatepickerModule,
|
|
22300
22488
|
i5.MatAutocompleteModule,
|
|
22301
|
-
|
|
22489
|
+
i7.CdkTreeModule,
|
|
22302
22490
|
i1$4.OverlayModule,
|
|
22303
22491
|
i3.PaymentLibModule,
|
|
22304
22492
|
i2$1.ScrollToModule.forRoot(),
|
|
22493
|
+
i1$3.MatDialogModule,
|
|
22305
22494
|
i11.MediaViewerModule
|
|
22306
22495
|
],
|
|
22307
22496
|
declarations: __spread([
|
|
@@ -22338,7 +22527,8 @@
|
|
|
22338
22527
|
FileUploadProgressGuard,
|
|
22339
22528
|
WindowService,
|
|
22340
22529
|
{ provide: i6.MAT_DATE_LOCALE, useValue: 'en-GB' }
|
|
22341
|
-
]
|
|
22530
|
+
],
|
|
22531
|
+
entryComponents: [CaseFileViewFolderSelectorComponent]
|
|
22342
22532
|
}]
|
|
22343
22533
|
}], null, null);
|
|
22344
22534
|
})();
|
|
@@ -23403,7 +23593,7 @@
|
|
|
23403
23593
|
i0__namespace.ɵɵadvance(3);
|
|
23404
23594
|
i0__namespace.ɵɵtextInterpolate(ctx.loadingText);
|
|
23405
23595
|
}
|
|
23406
|
-
}, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px
|
|
23596
|
+
}, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"], encapsulation: 2 });
|
|
23407
23597
|
(function () {
|
|
23408
23598
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LoadingSpinnerComponent, [{
|
|
23409
23599
|
type: i0.Component,
|
|
@@ -23719,10 +23909,10 @@
|
|
|
23719
23909
|
});
|
|
23720
23910
|
switch (portalType) {
|
|
23721
23911
|
case EventCompletionPortalTypes.TaskCancelled:
|
|
23722
|
-
this.selectedComponentPortal = new i6$
|
|
23912
|
+
this.selectedComponentPortal = new i6$2.ComponentPortal(CaseEventCompletionTaskCancelledComponent, null, injector);
|
|
23723
23913
|
break;
|
|
23724
23914
|
case EventCompletionPortalTypes.TaskReassigned:
|
|
23725
|
-
this.selectedComponentPortal = new i6$
|
|
23915
|
+
this.selectedComponentPortal = new i6$2.ComponentPortal(CaseEventCompletionTaskReassignedComponent, null, injector);
|
|
23726
23916
|
break;
|
|
23727
23917
|
}
|
|
23728
23918
|
};
|
|
@@ -23736,7 +23926,7 @@
|
|
|
23736
23926
|
if (rf & 2) {
|
|
23737
23927
|
i0__namespace.ɵɵproperty("cdkPortalOutlet", ctx.selectedComponentPortal);
|
|
23738
23928
|
}
|
|
23739
|
-
}, directives: [i6__namespace$
|
|
23929
|
+
}, directives: [i6__namespace$2.CdkPortalOutlet], encapsulation: 2 });
|
|
23740
23930
|
(function () {
|
|
23741
23931
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseEventCompletionComponent, [{
|
|
23742
23932
|
type: i0.Component,
|
|
@@ -23794,7 +23984,7 @@
|
|
|
23794
23984
|
LabelSubstitutorModule,
|
|
23795
23985
|
ConditionalShowModule,
|
|
23796
23986
|
ErrorsModule,
|
|
23797
|
-
i6$
|
|
23987
|
+
i6$2.PortalModule,
|
|
23798
23988
|
LoadingSpinnerModule,
|
|
23799
23989
|
BannersModule
|
|
23800
23990
|
]] });
|
|
@@ -23816,7 +24006,7 @@
|
|
|
23816
24006
|
LabelSubstitutorModule,
|
|
23817
24007
|
ConditionalShowModule,
|
|
23818
24008
|
ErrorsModule,
|
|
23819
|
-
i6$
|
|
24009
|
+
i6$2.PortalModule,
|
|
23820
24010
|
LoadingSpinnerModule,
|
|
23821
24011
|
BannersModule], exports: [CaseEditConfirmComponent,
|
|
23822
24012
|
CaseEditComponent,
|
|
@@ -23840,7 +24030,7 @@
|
|
|
23840
24030
|
LabelSubstitutorModule,
|
|
23841
24031
|
ConditionalShowModule,
|
|
23842
24032
|
ErrorsModule,
|
|
23843
|
-
i6$
|
|
24033
|
+
i6$2.PortalModule,
|
|
23844
24034
|
LoadingSpinnerModule,
|
|
23845
24035
|
BannersModule
|
|
23846
24036
|
],
|
|
@@ -32084,6 +32274,7 @@
|
|
|
32084
32274
|
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
32085
32275
|
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
32086
32276
|
exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
|
|
32277
|
+
exports.CaseFileViewFolderSelectorComponent = CaseFileViewFolderSelectorComponent;
|
|
32087
32278
|
exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
|
|
32088
32279
|
exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
|
|
32089
32280
|
exports.CaseFileViewService = CaseFileViewService;
|