@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-all-document-count-v4 → 5.0.25-case-file-view-document-tree-functionalities-v6
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 +235 -354
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +53 -21
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +118 -82
- package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.js +6 -0
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +8 -7
- package/esm2015/lib/shared/domain/case-file-view/index.js +2 -1
- package/esm2015/lib/shared/services/case-file-view/case-file-view.service.js +5 -6
- package/esm2015/public-api.js +1 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +209 -332
- 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 +6 -3
- 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 +11 -5
- 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/domain/case-file-view/document-tree-node/document-tree-node-type.model.d.ts +5 -0
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +2 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/index.d.ts +1 -0
- package/lib/shared/domain/case-file-view/index.d.ts.map +1 -1
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts +2 -3
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.js +0 -192
- package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts +0 -3
- package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
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('ngx-md'), require('@angular/cdk/tree'), require('@angular/cdk/overlay'), require('@hmcts/media-viewer'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@angular/cdk/portal'), require('@angular/material/input'), 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', 'ngx-md', '@angular/cdk/tree', '@angular/cdk/overlay', '@hmcts/media-viewer', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@angular/cdk/portal', '@angular/material/input', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
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["ngx-md"], global.ng.cdk.tree, global.ng.cdk.overlay, global.
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$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["ngx-md"], global.ng.cdk.tree, global.ng.cdk.overlay, global.i5, global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.portal, global.ng.material.input, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i4, i1$5, i5, i1$6, i2, i4$1, momentAdapter, i5$1, i6, i5$2, i6$1, i3, i6$2, input, i1$7, i10) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
34
34
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
35
35
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
36
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
37
|
-
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
38
36
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
37
|
+
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
38
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
39
39
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
40
|
-
var i2__namespace
|
|
40
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
41
41
|
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
42
|
-
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
43
|
-
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
44
42
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
43
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
44
|
+
var i5__namespace$2 = /*#__PURE__*/_interopNamespace(i5$2);
|
|
45
45
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
46
46
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
47
47
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
var _c0$
|
|
120
|
+
var _c0$P = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
121
121
|
var _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
122
122
|
var FooterComponent = /** @class */ (function () {
|
|
123
123
|
function FooterComponent() {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
128
128
|
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$n, 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) {
|
|
129
129
|
if (rf & 1) {
|
|
130
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
130
|
+
i0__namespace.ɵɵprojectionDef(_c0$P);
|
|
131
131
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
132
132
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
133
133
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var _c0$
|
|
209
|
+
var _c0$O = [[["", "headerNavigation", ""]]];
|
|
210
210
|
var _c1$m = ["[headerNavigation]"];
|
|
211
211
|
var HeaderBarComponent = /** @class */ (function () {
|
|
212
212
|
function HeaderBarComponent() {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
221
221
|
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$m, 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) {
|
|
222
222
|
if (rf & 1) {
|
|
223
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
223
|
+
i0__namespace.ɵɵprojectionDef(_c0$O);
|
|
224
224
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
225
225
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
226
226
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
}] });
|
|
282
282
|
})();
|
|
283
283
|
|
|
284
|
-
var _c0$
|
|
284
|
+
var _c0$N = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
285
285
|
var _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
286
286
|
var NavigationComponent = /** @class */ (function () {
|
|
287
287
|
function NavigationComponent() {
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
292
292
|
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$l, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
293
293
|
if (rf & 1) {
|
|
294
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
294
|
+
i0__namespace.ɵɵprojectionDef(_c0$N);
|
|
295
295
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
296
296
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
297
297
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
}], null, null);
|
|
437
437
|
})();
|
|
438
438
|
|
|
439
|
-
var _c0$
|
|
439
|
+
var _c0$M = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
440
440
|
var _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
441
441
|
var BodyComponent = /** @class */ (function () {
|
|
442
442
|
function BodyComponent() {
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
447
447
|
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$k, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
448
448
|
if (rf & 1) {
|
|
449
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
449
|
+
i0__namespace.ɵɵprojectionDef(_c0$M);
|
|
450
450
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
451
451
|
i0__namespace.ɵɵprojection(1);
|
|
452
452
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -793,7 +793,7 @@
|
|
|
793
793
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
794
794
|
}
|
|
795
795
|
|
|
796
|
-
var _c0$
|
|
796
|
+
var _c0$L = function (a0) { return { "govuk-input--error": a0 }; };
|
|
797
797
|
function DateInputComponent_div_16_Template(rf, ctx) {
|
|
798
798
|
if (rf & 1) {
|
|
799
799
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
i0__namespace.ɵɵadvance(1);
|
|
812
812
|
i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
|
|
813
813
|
i0__namespace.ɵɵadvance(2);
|
|
814
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
814
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r3.isInvalid));
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
function DateInputComponent_div_17_Template(rf, ctx) {
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
i0__namespace.ɵɵadvance(1);
|
|
832
832
|
i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
|
|
833
833
|
i0__namespace.ɵɵadvance(2);
|
|
834
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
834
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r4.isInvalid));
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
function DateInputComponent_div_18_Template(rf, ctx) {
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
i0__namespace.ɵɵadvance(1);
|
|
852
852
|
i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
|
|
853
853
|
i0__namespace.ɵɵadvance(2);
|
|
854
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
854
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r5.isInvalid));
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
857
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1085,15 +1085,15 @@
|
|
|
1085
1085
|
i0__namespace.ɵɵadvance(2);
|
|
1086
1086
|
i0__namespace.ɵɵproperty("for", ctx.dayId());
|
|
1087
1087
|
i0__namespace.ɵɵadvance(2);
|
|
1088
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$
|
|
1088
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$L, ctx.isInvalid));
|
|
1089
1089
|
i0__namespace.ɵɵadvance(3);
|
|
1090
1090
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1091
1091
|
i0__namespace.ɵɵadvance(2);
|
|
1092
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$
|
|
1092
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$L, ctx.isInvalid));
|
|
1093
1093
|
i0__namespace.ɵɵadvance(3);
|
|
1094
1094
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1095
1095
|
i0__namespace.ɵɵadvance(2);
|
|
1096
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$
|
|
1096
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$L, ctx.isInvalid));
|
|
1097
1097
|
i0__namespace.ɵɵadvance(2);
|
|
1098
1098
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1099
1099
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1174,7 +1174,7 @@
|
|
|
1174
1174
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
|
-
var _c0$
|
|
1177
|
+
var _c0$K = ["*"];
|
|
1178
1178
|
exports.AlertMessageType = void 0;
|
|
1179
1179
|
(function (AlertMessageType) {
|
|
1180
1180
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1196
1196
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1197
1197
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1198
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1198
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$K, 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) {
|
|
1199
1199
|
if (rf & 1) {
|
|
1200
1200
|
i0__namespace.ɵɵprojectionDef();
|
|
1201
1201
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
}], null, null);
|
|
1302
1302
|
})();
|
|
1303
1303
|
|
|
1304
|
-
var _c0$
|
|
1304
|
+
var _c0$J = function (a0) { return { "js-hidden": a0 }; };
|
|
1305
1305
|
var _c1$j = ["*"];
|
|
1306
1306
|
var TabComponent = /** @class */ (function () {
|
|
1307
1307
|
function TabComponent() {
|
|
@@ -1317,7 +1317,7 @@
|
|
|
1317
1317
|
i0__namespace.ɵɵelementEnd();
|
|
1318
1318
|
}
|
|
1319
1319
|
if (rf & 2) {
|
|
1320
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1320
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$J, !ctx.selected));
|
|
1321
1321
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1322
1322
|
}
|
|
1323
1323
|
}, 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}}"] });
|
|
@@ -1340,7 +1340,7 @@
|
|
|
1340
1340
|
}] });
|
|
1341
1341
|
})();
|
|
1342
1342
|
|
|
1343
|
-
var _c0$
|
|
1343
|
+
var _c0$I = ["tab"];
|
|
1344
1344
|
var _c1$i = function () { return ["."]; };
|
|
1345
1345
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1346
1346
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
}
|
|
1395
1395
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1396
1396
|
if (rf & 1) {
|
|
1397
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1397
|
+
i0__namespace.ɵɵviewQuery(_c0$I, 1);
|
|
1398
1398
|
}
|
|
1399
1399
|
if (rf & 2) {
|
|
1400
1400
|
var _t = void 0;
|
|
@@ -1473,7 +1473,7 @@
|
|
|
1473
1473
|
}], null, null);
|
|
1474
1474
|
})();
|
|
1475
1475
|
|
|
1476
|
-
var _c0$
|
|
1476
|
+
var _c0$H = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1477
1477
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1478
1478
|
function ActivityBannerComponent() {
|
|
1479
1479
|
}
|
|
@@ -1494,7 +1494,7 @@
|
|
|
1494
1494
|
i0__namespace.ɵɵelementEnd();
|
|
1495
1495
|
}
|
|
1496
1496
|
if (rf & 2) {
|
|
1497
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$
|
|
1497
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$H, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1498
1498
|
i0__namespace.ɵɵadvance(2);
|
|
1499
1499
|
i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1500
1500
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -6404,10 +6404,9 @@
|
|
|
6404
6404
|
})();
|
|
6405
6405
|
|
|
6406
6406
|
var CaseFileViewService = /** @class */ (function () {
|
|
6407
|
-
function CaseFileViewService(http, appConfig
|
|
6407
|
+
function CaseFileViewService(http, appConfig) {
|
|
6408
6408
|
this.http = http;
|
|
6409
6409
|
this.appConfig = appConfig;
|
|
6410
|
-
this.errorService = errorService;
|
|
6411
6410
|
}
|
|
6412
6411
|
/**
|
|
6413
6412
|
* Retrieves the categories and documents for a case.
|
|
@@ -6438,12 +6437,12 @@
|
|
|
6438
6437
|
};
|
|
6439
6438
|
return CaseFileViewService;
|
|
6440
6439
|
}());
|
|
6441
|
-
CaseFileViewService.ɵfac = function CaseFileViewService_Factory(t) { return new (t || CaseFileViewService)(i0__namespace.ɵɵinject(HttpService), i0__namespace.ɵɵinject(AbstractAppConfig)
|
|
6440
|
+
CaseFileViewService.ɵfac = function CaseFileViewService_Factory(t) { return new (t || CaseFileViewService)(i0__namespace.ɵɵinject(HttpService), i0__namespace.ɵɵinject(AbstractAppConfig)); };
|
|
6442
6441
|
CaseFileViewService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: CaseFileViewService, factory: CaseFileViewService.ɵfac });
|
|
6443
6442
|
(function () {
|
|
6444
6443
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewService, [{
|
|
6445
6444
|
type: i0.Injectable
|
|
6446
|
-
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }
|
|
6445
|
+
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }]; }, null);
|
|
6447
6446
|
})();
|
|
6448
6447
|
|
|
6449
6448
|
var DocumentManagementService = /** @class */ (function () {
|
|
@@ -8860,7 +8859,7 @@
|
|
|
8860
8859
|
return IsCompoundPipe;
|
|
8861
8860
|
}());
|
|
8862
8861
|
IsCompoundPipe.COMPOUND_TYPES = [
|
|
8863
|
-
'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
|
|
8862
|
+
'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
|
|
8864
8863
|
];
|
|
8865
8864
|
IsCompoundPipe.EXCLUDE = [
|
|
8866
8865
|
'CaseLink', 'JudicialUser'
|
|
@@ -9204,7 +9203,7 @@
|
|
|
9204
9203
|
}], null, null);
|
|
9205
9204
|
})();
|
|
9206
9205
|
|
|
9207
|
-
var _c0$
|
|
9206
|
+
var _c0$G = ["writeComplexFieldComponent"];
|
|
9208
9207
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
|
|
9209
9208
|
if (rf & 1) {
|
|
9210
9209
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -9418,7 +9417,7 @@
|
|
|
9418
9417
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
9419
9418
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
9420
9419
|
if (rf & 1) {
|
|
9421
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
9420
|
+
i0__namespace.ɵɵviewQuery(_c0$G, 1);
|
|
9422
9421
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
9423
9422
|
}
|
|
9424
9423
|
if (rf & 2) {
|
|
@@ -9482,6 +9481,12 @@
|
|
|
9482
9481
|
return CategoriesAndDocuments;
|
|
9483
9482
|
}());
|
|
9484
9483
|
|
|
9484
|
+
var DocumentTreeNodeType;
|
|
9485
|
+
(function (DocumentTreeNodeType) {
|
|
9486
|
+
DocumentTreeNodeType["FOLDER"] = "folder";
|
|
9487
|
+
DocumentTreeNodeType["DOCUMENT"] = "document";
|
|
9488
|
+
})(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
|
|
9489
|
+
|
|
9485
9490
|
var DocumentTreeNode = /** @class */ (function () {
|
|
9486
9491
|
function DocumentTreeNode() {
|
|
9487
9492
|
}
|
|
@@ -9507,9 +9512,9 @@
|
|
|
9507
9512
|
var _a, _b;
|
|
9508
9513
|
var sortAscending = function () {
|
|
9509
9514
|
return function (a, b) {
|
|
9510
|
-
var nameA = a.name.toUpperCase();
|
|
9511
|
-
var nameB = b.name.toUpperCase();
|
|
9512
|
-
if (a.type ===
|
|
9515
|
+
var nameA = a.name.toUpperCase();
|
|
9516
|
+
var nameB = b.name.toUpperCase();
|
|
9517
|
+
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
9513
9518
|
return 0;
|
|
9514
9519
|
}
|
|
9515
9520
|
if (nameA < nameB) {
|
|
@@ -9529,9 +9534,9 @@
|
|
|
9529
9534
|
var _a, _b;
|
|
9530
9535
|
var sortDescending = function () {
|
|
9531
9536
|
return function (a, b) {
|
|
9532
|
-
var nameA = a.name.toUpperCase();
|
|
9533
|
-
var nameB = b.name.toUpperCase();
|
|
9534
|
-
if (a.type ===
|
|
9537
|
+
var nameA = a.name.toUpperCase();
|
|
9538
|
+
var nameB = b.name.toUpperCase();
|
|
9539
|
+
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
9535
9540
|
return 0;
|
|
9536
9541
|
}
|
|
9537
9542
|
if (nameA > nameB) {
|
|
@@ -9582,198 +9587,6 @@
|
|
|
9582
9587
|
__metadata("design:paramtypes", [])
|
|
9583
9588
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
9584
9589
|
|
|
9585
|
-
var categoriesAndDocumentsTestData = {
|
|
9586
|
-
case_version: 1,
|
|
9587
|
-
categories: [
|
|
9588
|
-
{
|
|
9589
|
-
category_id: 'Beers',
|
|
9590
|
-
category_name: 'Beers',
|
|
9591
|
-
category_order: 1,
|
|
9592
|
-
documents: [
|
|
9593
|
-
{
|
|
9594
|
-
document_url: '/test',
|
|
9595
|
-
document_filename: 'Lager encyclopedia',
|
|
9596
|
-
document_binary_url: '/test/binary',
|
|
9597
|
-
attribute_path: '',
|
|
9598
|
-
upload_timestamp: ''
|
|
9599
|
-
},
|
|
9600
|
-
{
|
|
9601
|
-
document_url: '/test',
|
|
9602
|
-
document_filename: 'Beers encyclopedia',
|
|
9603
|
-
document_binary_url: '/test/binary',
|
|
9604
|
-
attribute_path: '',
|
|
9605
|
-
upload_timestamp: ''
|
|
9606
|
-
},
|
|
9607
|
-
{
|
|
9608
|
-
document_url: '/test',
|
|
9609
|
-
document_filename: 'Ale encyclopedia',
|
|
9610
|
-
document_binary_url: '/test/binary',
|
|
9611
|
-
attribute_path: '',
|
|
9612
|
-
upload_timestamp: ''
|
|
9613
|
-
}
|
|
9614
|
-
],
|
|
9615
|
-
sub_categories: [
|
|
9616
|
-
{
|
|
9617
|
-
category_id: 'BeersBitters',
|
|
9618
|
-
category_name: 'Bitters',
|
|
9619
|
-
category_order: 1,
|
|
9620
|
-
documents: [],
|
|
9621
|
-
sub_categories: []
|
|
9622
|
-
},
|
|
9623
|
-
{
|
|
9624
|
-
category_id: 'BeersAmerican',
|
|
9625
|
-
category_name: 'American',
|
|
9626
|
-
category_order: 2,
|
|
9627
|
-
documents: [],
|
|
9628
|
-
sub_categories: []
|
|
9629
|
-
},
|
|
9630
|
-
{
|
|
9631
|
-
category_id: 'BeersAsian',
|
|
9632
|
-
category_name: 'Asian',
|
|
9633
|
-
category_order: 3,
|
|
9634
|
-
documents: [],
|
|
9635
|
-
sub_categories: []
|
|
9636
|
-
}
|
|
9637
|
-
]
|
|
9638
|
-
},
|
|
9639
|
-
{
|
|
9640
|
-
category_id: 'Wines',
|
|
9641
|
-
category_name: 'Wines',
|
|
9642
|
-
category_order: 2,
|
|
9643
|
-
documents: [],
|
|
9644
|
-
sub_categories: [
|
|
9645
|
-
{
|
|
9646
|
-
category_id: 'WinesFrench',
|
|
9647
|
-
category_name: 'French',
|
|
9648
|
-
category_order: 1,
|
|
9649
|
-
documents: [],
|
|
9650
|
-
sub_categories: []
|
|
9651
|
-
},
|
|
9652
|
-
{
|
|
9653
|
-
category_id: 'WinesItalian',
|
|
9654
|
-
category_name: 'Italian',
|
|
9655
|
-
category_order: 2,
|
|
9656
|
-
documents: [],
|
|
9657
|
-
sub_categories: []
|
|
9658
|
-
}
|
|
9659
|
-
]
|
|
9660
|
-
},
|
|
9661
|
-
{
|
|
9662
|
-
category_id: 'Spirits',
|
|
9663
|
-
category_name: 'Spirits',
|
|
9664
|
-
category_order: 3,
|
|
9665
|
-
documents: [],
|
|
9666
|
-
sub_categories: [
|
|
9667
|
-
{
|
|
9668
|
-
category_id: 'SpiritsWhisky',
|
|
9669
|
-
category_name: 'Scotch whisky',
|
|
9670
|
-
category_order: 1,
|
|
9671
|
-
documents: [],
|
|
9672
|
-
sub_categories: [
|
|
9673
|
-
{
|
|
9674
|
-
category_id: 'WhiskyHighland',
|
|
9675
|
-
category_name: 'Highland',
|
|
9676
|
-
category_order: 1,
|
|
9677
|
-
documents: [],
|
|
9678
|
-
sub_categories: [
|
|
9679
|
-
{
|
|
9680
|
-
category_id: 'WhiskyHighland1',
|
|
9681
|
-
category_name: 'Highland 1',
|
|
9682
|
-
category_order: 1,
|
|
9683
|
-
documents: [],
|
|
9684
|
-
sub_categories: []
|
|
9685
|
-
}
|
|
9686
|
-
]
|
|
9687
|
-
},
|
|
9688
|
-
{
|
|
9689
|
-
category_id: 'WhiskyLowland',
|
|
9690
|
-
category_name: 'Lowland',
|
|
9691
|
-
category_order: 2,
|
|
9692
|
-
documents: [],
|
|
9693
|
-
sub_categories: [
|
|
9694
|
-
{
|
|
9695
|
-
category_id: 'WhiskyLowland1',
|
|
9696
|
-
category_name: 'Lowland 1',
|
|
9697
|
-
category_order: 1,
|
|
9698
|
-
documents: [
|
|
9699
|
-
{
|
|
9700
|
-
document_url: '/test',
|
|
9701
|
-
document_filename: 'Details about Whisky Lowland 1',
|
|
9702
|
-
document_binary_url: '/test/binary',
|
|
9703
|
-
attribute_path: '',
|
|
9704
|
-
upload_timestamp: ''
|
|
9705
|
-
}
|
|
9706
|
-
],
|
|
9707
|
-
sub_categories: []
|
|
9708
|
-
},
|
|
9709
|
-
{
|
|
9710
|
-
category_id: 'WhiskyLowland2',
|
|
9711
|
-
category_name: 'Lowland 2',
|
|
9712
|
-
category_order: 2,
|
|
9713
|
-
documents: [],
|
|
9714
|
-
sub_categories: []
|
|
9715
|
-
}
|
|
9716
|
-
]
|
|
9717
|
-
},
|
|
9718
|
-
{
|
|
9719
|
-
category_id: 'WhiskyIslay',
|
|
9720
|
-
category_name: 'Islay',
|
|
9721
|
-
category_order: 3,
|
|
9722
|
-
documents: [
|
|
9723
|
-
{
|
|
9724
|
-
document_url: '/test',
|
|
9725
|
-
document_filename: 'Details about Whisky Islay',
|
|
9726
|
-
document_binary_url: '/test/binary',
|
|
9727
|
-
attribute_path: '',
|
|
9728
|
-
upload_timestamp: ''
|
|
9729
|
-
},
|
|
9730
|
-
{
|
|
9731
|
-
document_url: '/test',
|
|
9732
|
-
document_filename: 'More information about Whisky Islay',
|
|
9733
|
-
document_binary_url: '/test/binary',
|
|
9734
|
-
attribute_path: '',
|
|
9735
|
-
upload_timestamp: ''
|
|
9736
|
-
}
|
|
9737
|
-
],
|
|
9738
|
-
sub_categories: []
|
|
9739
|
-
},
|
|
9740
|
-
{
|
|
9741
|
-
category_id: 'WhiskySpeyside',
|
|
9742
|
-
category_name: 'Speyside',
|
|
9743
|
-
category_order: 4,
|
|
9744
|
-
documents: [],
|
|
9745
|
-
sub_categories: []
|
|
9746
|
-
},
|
|
9747
|
-
{
|
|
9748
|
-
category_id: 'WhiskyCampbeltown',
|
|
9749
|
-
category_name: 'Campbeltown',
|
|
9750
|
-
category_order: 5,
|
|
9751
|
-
documents: [],
|
|
9752
|
-
sub_categories: []
|
|
9753
|
-
}
|
|
9754
|
-
]
|
|
9755
|
-
}
|
|
9756
|
-
]
|
|
9757
|
-
}
|
|
9758
|
-
],
|
|
9759
|
-
uncategorised_documents: [
|
|
9760
|
-
{
|
|
9761
|
-
document_url: '/uncategorised-document-1',
|
|
9762
|
-
document_filename: 'Uncategorised document 1',
|
|
9763
|
-
document_binary_url: '/test/binary',
|
|
9764
|
-
attribute_path: '',
|
|
9765
|
-
upload_timestamp: ''
|
|
9766
|
-
},
|
|
9767
|
-
{
|
|
9768
|
-
document_url: '/uncategorised-document-2',
|
|
9769
|
-
document_filename: 'Uncategorised document 2',
|
|
9770
|
-
document_binary_url: '/test/binary',
|
|
9771
|
-
attribute_path: '',
|
|
9772
|
-
upload_timestamp: ''
|
|
9773
|
-
}
|
|
9774
|
-
]
|
|
9775
|
-
};
|
|
9776
|
-
|
|
9777
9590
|
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template(rf, ctx) {
|
|
9778
9591
|
if (rf & 1) {
|
|
9779
9592
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -9924,56 +9737,84 @@
|
|
|
9924
9737
|
}] });
|
|
9925
9738
|
})();
|
|
9926
9739
|
|
|
9927
|
-
|
|
9928
|
-
function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
|
|
9740
|
+
function CaseFileViewFolderComponent_div_8_div_1_Template(rf, ctx) {
|
|
9929
9741
|
if (rf & 1) {
|
|
9930
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
9931
|
-
i0__namespace.ɵɵ
|
|
9932
|
-
i0__namespace.ɵɵ
|
|
9933
|
-
|
|
9742
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
9743
|
+
i0__namespace.ɵɵtext(1, " No results found ");
|
|
9744
|
+
i0__namespace.ɵɵelementEnd();
|
|
9745
|
+
}
|
|
9746
|
+
}
|
|
9747
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template(rf, ctx) {
|
|
9748
|
+
if (rf & 1) {
|
|
9749
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
|
|
9750
|
+
i0__namespace.ɵɵelementStart(1, "div", 13);
|
|
9751
|
+
i0__namespace.ɵɵelementStart(2, "button", 14);
|
|
9752
|
+
i0__namespace.ɵɵelement(3, "img", 15);
|
|
9934
9753
|
i0__namespace.ɵɵelementEnd();
|
|
9935
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9754
|
+
i0__namespace.ɵɵelementStart(4, "span", 16);
|
|
9936
9755
|
i0__namespace.ɵɵtext(5);
|
|
9937
9756
|
i0__namespace.ɵɵelementEnd();
|
|
9938
9757
|
i0__namespace.ɵɵelementEnd();
|
|
9939
9758
|
i0__namespace.ɵɵelementEnd();
|
|
9940
9759
|
}
|
|
9941
9760
|
if (rf & 2) {
|
|
9942
|
-
var
|
|
9761
|
+
var node_r4 = ctx.$implicit;
|
|
9943
9762
|
i0__namespace.ɵɵadvance(5);
|
|
9944
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9763
|
+
i0__namespace.ɵɵtextInterpolate(node_r4.name);
|
|
9945
9764
|
}
|
|
9946
9765
|
}
|
|
9947
|
-
function
|
|
9766
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, ctx) {
|
|
9948
9767
|
if (rf & 1) {
|
|
9949
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
9950
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9951
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
9952
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
9953
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9768
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
|
|
9769
|
+
i0__namespace.ɵɵelementStart(1, "div", 13);
|
|
9770
|
+
i0__namespace.ɵɵelementStart(2, "button", 17);
|
|
9771
|
+
i0__namespace.ɵɵelement(3, "img", 18);
|
|
9772
|
+
i0__namespace.ɵɵelementStart(4, "span", 19);
|
|
9954
9773
|
i0__namespace.ɵɵtext(5);
|
|
9955
9774
|
i0__namespace.ɵɵelementEnd();
|
|
9956
9775
|
i0__namespace.ɵɵelementEnd();
|
|
9957
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
9776
|
+
i0__namespace.ɵɵelementStart(6, "span", 20);
|
|
9958
9777
|
i0__namespace.ɵɵtext(7);
|
|
9959
9778
|
i0__namespace.ɵɵelementEnd();
|
|
9960
9779
|
i0__namespace.ɵɵelementEnd();
|
|
9961
9780
|
i0__namespace.ɵɵelementStart(8, "div");
|
|
9962
|
-
i0__namespace.ɵɵelementContainer(9,
|
|
9781
|
+
i0__namespace.ɵɵelementContainer(9, 21);
|
|
9963
9782
|
i0__namespace.ɵɵelementEnd();
|
|
9964
9783
|
i0__namespace.ɵɵelementEnd();
|
|
9965
9784
|
}
|
|
9966
9785
|
if (rf & 2) {
|
|
9967
|
-
var
|
|
9968
|
-
var
|
|
9786
|
+
var node_r5 = ctx.$implicit;
|
|
9787
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
9969
9788
|
i0__namespace.ɵɵadvance(2);
|
|
9970
|
-
i0__namespace.ɵɵattribute("aria-label", "toggle " +
|
|
9971
|
-
i0__namespace.ɵɵadvance(
|
|
9972
|
-
i0__namespace.ɵɵ
|
|
9789
|
+
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r5.name);
|
|
9790
|
+
i0__namespace.ɵɵadvance(1);
|
|
9791
|
+
i0__namespace.ɵɵproperty("src", ctx_r3.nestedTreeControl.isExpanded(node_r5) ? "/assets/images/folder-open.png" : "/assets/images/folder.png", i0__namespace.ɵɵsanitizeUrl);
|
|
9792
|
+
i0__namespace.ɵɵadvance(2);
|
|
9793
|
+
i0__namespace.ɵɵtextInterpolate(node_r5.childDocumentCount);
|
|
9973
9794
|
i0__namespace.ɵɵadvance(2);
|
|
9974
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9795
|
+
i0__namespace.ɵɵtextInterpolate(node_r5.name);
|
|
9975
9796
|
i0__namespace.ɵɵadvance(1);
|
|
9976
|
-
i0__namespace.ɵɵclassProp("document-tree-invisible", !
|
|
9797
|
+
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r5));
|
|
9798
|
+
}
|
|
9799
|
+
}
|
|
9800
|
+
function CaseFileViewFolderComponent_div_8_Template(rf, ctx) {
|
|
9801
|
+
if (rf & 1) {
|
|
9802
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
9803
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
|
|
9804
|
+
i0__namespace.ɵɵelementStart(2, "cdk-tree", 9);
|
|
9805
|
+
i0__namespace.ɵɵtemplate(3, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template, 6, 1, "cdk-nested-tree-node", 10);
|
|
9806
|
+
i0__namespace.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 10, 6, "cdk-nested-tree-node", 11);
|
|
9807
|
+
i0__namespace.ɵɵelementEnd();
|
|
9808
|
+
i0__namespace.ɵɵelementEnd();
|
|
9809
|
+
}
|
|
9810
|
+
if (rf & 2) {
|
|
9811
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
9812
|
+
i0__namespace.ɵɵadvance(1);
|
|
9813
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
|
|
9814
|
+
i0__namespace.ɵɵadvance(1);
|
|
9815
|
+
i0__namespace.ɵɵproperty("dataSource", ctx_r0.nestedDataSource)("treeControl", ctx_r0.nestedTreeControl);
|
|
9816
|
+
i0__namespace.ɵɵadvance(2);
|
|
9817
|
+
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
|
|
9977
9818
|
}
|
|
9978
9819
|
}
|
|
9979
9820
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
@@ -9981,37 +9822,34 @@
|
|
|
9981
9822
|
this.categories = [];
|
|
9982
9823
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9983
9824
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9984
|
-
this.nestedTreeControl = new
|
|
9825
|
+
this.nestedTreeControl = new i4.NestedTreeControl(this.getChildren);
|
|
9985
9826
|
}
|
|
9986
|
-
Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
|
|
9987
|
-
get: function () {
|
|
9988
|
-
var _a;
|
|
9989
|
-
if ((_a = this.nestedDataSource) === null || _a === void 0 ? void 0 : _a.length) {
|
|
9990
|
-
return this.nestedDataSource.reduce(function (acc, item) {
|
|
9991
|
-
return acc + item.childDocumentCount;
|
|
9992
|
-
}, 0);
|
|
9993
|
-
}
|
|
9994
|
-
else {
|
|
9995
|
-
return 0;
|
|
9996
|
-
}
|
|
9997
|
-
},
|
|
9998
|
-
enumerable: false,
|
|
9999
|
-
configurable: true
|
|
10000
|
-
});
|
|
10001
9827
|
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
10002
9828
|
var _this = this;
|
|
9829
|
+
this.documentFilterFormGroup = new i1$2.FormGroup({});
|
|
9830
|
+
this.documentSearchFormControl = new i1$2.FormControl('');
|
|
9831
|
+
this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
|
|
9832
|
+
// Listen to search input and initiate filter documents if at least three characters entered
|
|
9833
|
+
this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(operators.tap(function (searchTerm) { return _this.searchTermLength = searchTerm.length; }), operators.switchMap(function (searchTerm) { return _this.filter(searchTerm.toLowerCase()).pipe(); })).subscribe(function (documentTreeData) {
|
|
9834
|
+
_this.nestedDataSource = documentTreeData;
|
|
9835
|
+
_this.nestedTreeControl.dataNodes = documentTreeData;
|
|
9836
|
+
_this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
|
|
9837
|
+
? _this.nestedTreeControl.expandAll()
|
|
9838
|
+
: _this.nestedTreeControl.collapseAll();
|
|
9839
|
+
});
|
|
9840
|
+
// Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
|
|
10003
9841
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
10004
|
-
|
|
10005
|
-
var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
|
|
9842
|
+
var categories = categoriesAndDocuments.categories;
|
|
10006
9843
|
// Generate document tree data from categories
|
|
10007
|
-
|
|
9844
|
+
_this.documentTreeData = _this.generateTreeData(categories);
|
|
10008
9845
|
// Append uncategorised documents
|
|
10009
9846
|
if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
|
|
10010
9847
|
var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
|
|
10011
|
-
|
|
9848
|
+
_this.documentTreeData.push(uncategorisedDocuments);
|
|
10012
9849
|
}
|
|
10013
9850
|
// Initialise cdk tree with generated data
|
|
10014
|
-
_this.nestedDataSource =
|
|
9851
|
+
_this.nestedDataSource = _this.documentTreeData;
|
|
9852
|
+
_this.nestedTreeControl.dataNodes = _this.documentTreeData;
|
|
10015
9853
|
});
|
|
10016
9854
|
};
|
|
10017
9855
|
CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
|
|
@@ -10019,7 +9857,7 @@
|
|
|
10019
9857
|
return categories.reduce(function (tree, node) {
|
|
10020
9858
|
var newDocumentTreeNode = new DocumentTreeNode();
|
|
10021
9859
|
newDocumentTreeNode.name = node.category_name;
|
|
10022
|
-
newDocumentTreeNode.type =
|
|
9860
|
+
newDocumentTreeNode.type = DocumentTreeNodeType.FOLDER;
|
|
10023
9861
|
newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
|
|
10024
9862
|
return __spread(tree, [
|
|
10025
9863
|
newDocumentTreeNode,
|
|
@@ -10031,7 +9869,7 @@
|
|
|
10031
9869
|
documents.forEach(function (document) {
|
|
10032
9870
|
var documentTreeNode = new DocumentTreeNode();
|
|
10033
9871
|
documentTreeNode.name = document.document_filename;
|
|
10034
|
-
documentTreeNode.type =
|
|
9872
|
+
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
10035
9873
|
documentsToReturn.push(documentTreeNode);
|
|
10036
9874
|
});
|
|
10037
9875
|
return documentsToReturn;
|
|
@@ -10041,15 +9879,35 @@
|
|
|
10041
9879
|
uncategorisedDocuments.forEach(function (document) {
|
|
10042
9880
|
var documentTreeNode = new DocumentTreeNode();
|
|
10043
9881
|
documentTreeNode.name = document.document_filename;
|
|
10044
|
-
documentTreeNode.type =
|
|
9882
|
+
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
10045
9883
|
documents.push(documentTreeNode);
|
|
10046
9884
|
});
|
|
10047
9885
|
var uncategorisedNode = new DocumentTreeNode();
|
|
10048
9886
|
uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
|
|
10049
|
-
uncategorisedNode.type =
|
|
9887
|
+
uncategorisedNode.type = DocumentTreeNodeType.FOLDER;
|
|
10050
9888
|
uncategorisedNode.children = documents;
|
|
10051
9889
|
return uncategorisedNode;
|
|
10052
9890
|
};
|
|
9891
|
+
CaseFileViewFolderComponent.prototype.filter = function (searchTerm) {
|
|
9892
|
+
// Make a copy of the data so we do not mutate the original
|
|
9893
|
+
function copy(node) {
|
|
9894
|
+
var documentTreeNode = new DocumentTreeNode();
|
|
9895
|
+
return Object.assign(documentTreeNode, node);
|
|
9896
|
+
}
|
|
9897
|
+
var filteredData = this.documentTreeData;
|
|
9898
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
|
|
9899
|
+
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
9900
|
+
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
9901
|
+
return true;
|
|
9902
|
+
}
|
|
9903
|
+
// Call recursively if node has children
|
|
9904
|
+
if (node.children) {
|
|
9905
|
+
return (node.children = node.children.map(copy).filter(filterTreeData)).length;
|
|
9906
|
+
}
|
|
9907
|
+
});
|
|
9908
|
+
}
|
|
9909
|
+
return rxjs.of(filteredData);
|
|
9910
|
+
};
|
|
10053
9911
|
CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
|
|
10054
9912
|
var sortedData = this.nestedDataSource.map(function (item) {
|
|
10055
9913
|
item.sortChildrenAscending();
|
|
@@ -10068,11 +9926,6 @@
|
|
|
10068
9926
|
});
|
|
10069
9927
|
this.updateNodeData(sortedData);
|
|
10070
9928
|
};
|
|
10071
|
-
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
10072
|
-
if (this.categoriesAndDocumentsSubscription) {
|
|
10073
|
-
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
10074
|
-
}
|
|
10075
|
-
};
|
|
10076
9929
|
CaseFileViewFolderComponent.prototype.updateNodeData = function (data) {
|
|
10077
9930
|
var _this = this;
|
|
10078
9931
|
var prevSelected = this.nestedTreeControl.expansionModel.selected.map(function (item) {
|
|
@@ -10094,49 +9947,43 @@
|
|
|
10094
9947
|
});
|
|
10095
9948
|
newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
|
|
10096
9949
|
};
|
|
10097
|
-
CaseFileViewFolderComponent.prototype.
|
|
10098
|
-
|
|
9950
|
+
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
9951
|
+
var _a, _b;
|
|
9952
|
+
(_a = this.categoriesAndDocumentsSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
9953
|
+
(_b = this.documentFilterSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
10099
9954
|
};
|
|
10100
9955
|
return CaseFileViewFolderComponent;
|
|
10101
9956
|
}());
|
|
10102
9957
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
9958
|
+
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
9959
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
|
|
10103
9960
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
10104
|
-
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]],
|
|
10105
|
-
if (rf & 1) {
|
|
10106
|
-
i0__namespace.ɵɵviewQuery(_c0$G, 3);
|
|
10107
|
-
}
|
|
10108
|
-
if (rf & 2) {
|
|
10109
|
-
var _t = void 0;
|
|
10110
|
-
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tree = _t.first);
|
|
10111
|
-
}
|
|
10112
|
-
}, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 9, vars: 4, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
9961
|
+
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 9, vars: 2, 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-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], ["mat-icon-button", "", 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) {
|
|
10113
9962
|
if (rf & 1) {
|
|
10114
9963
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
10115
9964
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
10116
|
-
i0__namespace.ɵɵ
|
|
9965
|
+
i0__namespace.ɵɵelement(2, "input", 2);
|
|
10117
9966
|
i0__namespace.ɵɵelementEnd();
|
|
10118
|
-
i0__namespace.ɵɵelementStart(3, "div");
|
|
10119
|
-
i0__namespace.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
|
|
10120
|
-
i0__namespace.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_4_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_4_listener() { return ctx.sortDataSourceDescAlphabetically(); });
|
|
10121
9967
|
i0__namespace.ɵɵelementEnd();
|
|
9968
|
+
i0__namespace.ɵɵelementStart(3, "div", 3);
|
|
9969
|
+
i0__namespace.ɵɵelementStart(4, "div", 4);
|
|
9970
|
+
i0__namespace.ɵɵtext(5, "Documents");
|
|
10122
9971
|
i0__namespace.ɵɵelementEnd();
|
|
9972
|
+
i0__namespace.ɵɵelementStart(6, "div");
|
|
9973
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-sort", 5);
|
|
9974
|
+
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(); });
|
|
10123
9975
|
i0__namespace.ɵɵelementEnd();
|
|
10124
|
-
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
10125
|
-
i0__namespace.ɵɵelementStart(6, "cdk-tree", 4);
|
|
10126
|
-
i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 6, 1, "cdk-nested-tree-node", 5);
|
|
10127
|
-
i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 10, 5, "cdk-nested-tree-node", 6);
|
|
10128
9976
|
i0__namespace.ɵɵelementEnd();
|
|
10129
9977
|
i0__namespace.ɵɵelementEnd();
|
|
9978
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_div_8_Template, 5, 4, "div", 6);
|
|
10130
9979
|
}
|
|
10131
9980
|
if (rf & 2) {
|
|
10132
|
-
i0__namespace.ɵɵadvance(
|
|
10133
|
-
i0__namespace.ɵɵ
|
|
10134
|
-
i0__namespace.ɵɵadvance(
|
|
10135
|
-
i0__namespace.ɵɵproperty("
|
|
10136
|
-
i0__namespace.ɵɵadvance(2);
|
|
10137
|
-
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
9981
|
+
i0__namespace.ɵɵadvance(1);
|
|
9982
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
9983
|
+
i0__namespace.ɵɵadvance(7);
|
|
9984
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
10138
9985
|
}
|
|
10139
|
-
}, directives: [CaseFileViewFolderSortComponent,
|
|
9986
|
+
}, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace$3.DefaultValueAccessor, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlName, CaseFileViewFolderSortComponent, i1__namespace.NgIf, i4__namespace.CdkTree, i4__namespace.CdkTreeNodeDef, i4__namespace.CdkNestedTreeNode, i4__namespace.CdkTreeNodeToggle, i4__namespace.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%;padding:8px 8px 0;margin-bottom: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-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}.document-tree-container[_ngcontent-%COMP%]{margin:4px;overflow-x:hidden;overflow-y:scroll;height:400px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0;white-space:nowrap;cursor:pointer}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0;padding:6px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:24px;width:24px}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding-top:4px}.node__name[_ngcontent-%COMP%]{margin-left:4px}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}"] });
|
|
10140
9987
|
(function () {
|
|
10141
9988
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
10142
9989
|
type: i0.Component,
|
|
@@ -10147,21 +9994,61 @@
|
|
|
10147
9994
|
}]
|
|
10148
9995
|
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
10149
9996
|
type: i0.Input
|
|
10150
|
-
}], tree: [{
|
|
10151
|
-
type: i0.ViewChild,
|
|
10152
|
-
args: ['tree', { static: true }]
|
|
10153
9997
|
}] });
|
|
10154
9998
|
})();
|
|
10155
9999
|
|
|
10000
|
+
function CaseFileViewFieldComponent_div_0_Template(rf, ctx) {
|
|
10001
|
+
if (rf & 1) {
|
|
10002
|
+
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
10003
|
+
i0__namespace.ɵɵelementStart(1, "h1", 3);
|
|
10004
|
+
i0__namespace.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
10005
|
+
i0__namespace.ɵɵelementEnd();
|
|
10006
|
+
i0__namespace.ɵɵelementStart(3, "p", 4);
|
|
10007
|
+
i0__namespace.ɵɵtext(4, "Try again later.");
|
|
10008
|
+
i0__namespace.ɵɵelementEnd();
|
|
10009
|
+
i0__namespace.ɵɵelementEnd();
|
|
10010
|
+
}
|
|
10011
|
+
}
|
|
10012
|
+
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
|
|
10013
|
+
if (rf & 1) {
|
|
10014
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
10015
|
+
i0__namespace.ɵɵelementStart(1, "h2", 5);
|
|
10016
|
+
i0__namespace.ɵɵtext(2, "Case file");
|
|
10017
|
+
i0__namespace.ɵɵelementEnd();
|
|
10018
|
+
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
10019
|
+
i0__namespace.ɵɵelementStart(4, "div", 7);
|
|
10020
|
+
i0__namespace.ɵɵelement(5, "ccd-case-file-view-folder", 8);
|
|
10021
|
+
i0__namespace.ɵɵelementEnd();
|
|
10022
|
+
i0__namespace.ɵɵelement(6, "div", 9);
|
|
10023
|
+
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
10024
|
+
i0__namespace.ɵɵelement(8, "mv-media-viewer", 11);
|
|
10025
|
+
i0__namespace.ɵɵelementEnd();
|
|
10026
|
+
i0__namespace.ɵɵelementEnd();
|
|
10027
|
+
i0__namespace.ɵɵelementEnd();
|
|
10028
|
+
}
|
|
10029
|
+
if (rf & 2) {
|
|
10030
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
10031
|
+
i0__namespace.ɵɵadvance(5);
|
|
10032
|
+
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx_r1.categoriesAndDocuments$);
|
|
10033
|
+
i0__namespace.ɵɵadvance(3);
|
|
10034
|
+
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
10035
|
+
}
|
|
10036
|
+
}
|
|
10156
10037
|
var CaseFileViewFieldComponent = /** @class */ (function () {
|
|
10157
10038
|
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService) {
|
|
10158
10039
|
this.elementRef = elementRef;
|
|
10159
10040
|
this.route = route;
|
|
10160
10041
|
this.caseFileViewService = caseFileViewService;
|
|
10042
|
+
this.getCategoriesAndDocumentsError = false;
|
|
10161
10043
|
}
|
|
10162
10044
|
CaseFileViewFieldComponent.prototype.ngOnInit = function () {
|
|
10045
|
+
var _this = this;
|
|
10163
10046
|
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
10164
10047
|
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
|
|
10048
|
+
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
|
|
10049
|
+
next: function (_) { },
|
|
10050
|
+
error: function (_) { return _this.getCategoriesAndDocumentsError = true; }
|
|
10051
|
+
});
|
|
10165
10052
|
};
|
|
10166
10053
|
CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10167
10054
|
var slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
@@ -10185,32 +10072,26 @@
|
|
|
10185
10072
|
documentTreeContainer.setAttribute('style', "width: " + calculatedWidth + "%");
|
|
10186
10073
|
});
|
|
10187
10074
|
};
|
|
10075
|
+
CaseFileViewFieldComponent.prototype.ngOnDestroy = function () {
|
|
10076
|
+
if (this.categoriesAndDocumentsSubscription) {
|
|
10077
|
+
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
10078
|
+
}
|
|
10079
|
+
};
|
|
10188
10080
|
return CaseFileViewFieldComponent;
|
|
10189
10081
|
}());
|
|
10190
10082
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10191
10083
|
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)); };
|
|
10192
|
-
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls:
|
|
10084
|
+
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"], [3, "categoriesAndDocuments"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
10193
10085
|
if (rf & 1) {
|
|
10194
|
-
i0__namespace.ɵɵ
|
|
10195
|
-
i0__namespace.ɵɵ
|
|
10196
|
-
i0__namespace.ɵɵelementEnd();
|
|
10197
|
-
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
10198
|
-
i0__namespace.ɵɵelementStart(3, "div", 2);
|
|
10199
|
-
i0__namespace.ɵɵelement(4, "ccd-case-file-view-folder", 3);
|
|
10200
|
-
i0__namespace.ɵɵelementEnd();
|
|
10201
|
-
i0__namespace.ɵɵelement(5, "div", 4);
|
|
10202
|
-
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
10203
|
-
i0__namespace.ɵɵelement(7, "mv-media-viewer", 6);
|
|
10204
|
-
i0__namespace.ɵɵelementEnd();
|
|
10205
|
-
i0__namespace.ɵɵelementEnd();
|
|
10086
|
+
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
10087
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 4, "div", 1);
|
|
10206
10088
|
}
|
|
10207
10089
|
if (rf & 2) {
|
|
10208
|
-
i0__namespace.ɵɵ
|
|
10209
|
-
i0__namespace.ɵɵ
|
|
10210
|
-
i0__namespace.ɵɵ
|
|
10211
|
-
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
10090
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
|
|
10091
|
+
i0__namespace.ɵɵadvance(1);
|
|
10092
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
|
|
10212
10093
|
}
|
|
10213
|
-
}, directives: [CaseFileViewFolderComponent,
|
|
10094
|
+
}, directives: [i1__namespace.NgIf, CaseFileViewFolderComponent, i5__namespace.ɵcs], styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{flex:1 1 0%}"] });
|
|
10214
10095
|
(function () {
|
|
10215
10096
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
10216
10097
|
type: i0.Component,
|
|
@@ -11038,7 +10919,7 @@
|
|
|
11038
10919
|
};
|
|
11039
10920
|
return WriteCollectionFieldComponent;
|
|
11040
10921
|
}(AbstractFieldWriteComponent));
|
|
11041
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace
|
|
10922
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
11042
10923
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
11043
10924
|
if (rf & 1) {
|
|
11044
10925
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -11087,7 +10968,7 @@
|
|
|
11087
10968
|
templateUrl: './write-collection-field.html',
|
|
11088
10969
|
styleUrls: ['./collection-field.scss']
|
|
11089
10970
|
}]
|
|
11090
|
-
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace
|
|
10971
|
+
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
11091
10972
|
type: i0.Input
|
|
11092
10973
|
}], formGroup: [{
|
|
11093
10974
|
type: i0.Input
|
|
@@ -12191,7 +12072,7 @@
|
|
|
12191
12072
|
i0__namespace.ɵɵadvance(1);
|
|
12192
12073
|
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);
|
|
12193
12074
|
}
|
|
12194
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i4__namespace$1.NgxMatDatetimeInput, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace$1.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 });
|
|
12075
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i4__namespace$1.NgxMatDatetimeInput, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace$1.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 });
|
|
12195
12076
|
(function () {
|
|
12196
12077
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
12197
12078
|
type: i0.Component,
|
|
@@ -14741,7 +14622,7 @@
|
|
|
14741
14622
|
i0__namespace.ɵɵadvance(1);
|
|
14742
14623
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.filteredJudicialUsers == null ? null : ctx.filteredJudicialUsers.length) && ctx.showAutocomplete);
|
|
14743
14624
|
}
|
|
14744
|
-
}, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i5__namespace$
|
|
14625
|
+
}, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i5__namespace$2.MatAutocompleteTrigger, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace$2.MatAutocomplete, i1__namespace.NgForOf, i6__namespace$1.MatOption, i1__namespace.NgClass], pipes: [FieldLabelPipe], styles: [".mat-option[_ngcontent-%COMP%]:hover{background:#2596be}.mat-option.select-option[_ngcontent-%COMP%]:hover{background:#1d70b8;color:#fff}.hide-autocomplete[_ngcontent-%COMP%]{display:none}"] });
|
|
14745
14626
|
(function () {
|
|
14746
14627
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteJudicialUserFieldComponent, [{
|
|
14747
14628
|
type: i0.Component,
|
|
@@ -20062,13 +19943,13 @@
|
|
|
20062
19943
|
i4$1.NgxMatNativeDateModule,
|
|
20063
19944
|
i6.MatFormFieldModule,
|
|
20064
19945
|
input.MatInputModule,
|
|
20065
|
-
i5.MatDatepickerModule,
|
|
20066
|
-
i5$
|
|
20067
|
-
|
|
19946
|
+
i5$1.MatDatepickerModule,
|
|
19947
|
+
i5$2.MatAutocompleteModule,
|
|
19948
|
+
i4.CdkTreeModule,
|
|
20068
19949
|
i1$5.OverlayModule,
|
|
20069
19950
|
i3.PaymentLibModule,
|
|
20070
|
-
i2
|
|
20071
|
-
|
|
19951
|
+
i2.ScrollToModule.forRoot(),
|
|
19952
|
+
i5.MediaViewerModule
|
|
20072
19953
|
], i4$1.NgxMatDatetimePickerModule,
|
|
20073
19954
|
i4$1.NgxMatNativeDateModule,
|
|
20074
19955
|
i4$1.NgxMatTimepickerModule,
|
|
@@ -20172,11 +20053,11 @@
|
|
|
20172
20053
|
i4$1.NgxMatNativeDateModule,
|
|
20173
20054
|
i6.MatFormFieldModule,
|
|
20174
20055
|
input.MatInputModule,
|
|
20175
|
-
i5.MatDatepickerModule,
|
|
20176
|
-
i5$
|
|
20177
|
-
|
|
20056
|
+
i5$1.MatDatepickerModule,
|
|
20057
|
+
i5$2.MatAutocompleteModule,
|
|
20058
|
+
i4.CdkTreeModule,
|
|
20178
20059
|
i1$5.OverlayModule,
|
|
20179
|
-
i3.PaymentLibModule, i2__namespace
|
|
20060
|
+
i3.PaymentLibModule, i2__namespace.ScrollToModule, i5.MediaViewerModule], exports: [i4$1.NgxMatDatetimePickerModule,
|
|
20180
20061
|
i4$1.NgxMatNativeDateModule,
|
|
20181
20062
|
i4$1.NgxMatTimepickerModule,
|
|
20182
20063
|
TabsModule,
|
|
@@ -20280,13 +20161,13 @@
|
|
|
20280
20161
|
i4$1.NgxMatNativeDateModule,
|
|
20281
20162
|
i6.MatFormFieldModule,
|
|
20282
20163
|
input.MatInputModule,
|
|
20283
|
-
i5.MatDatepickerModule,
|
|
20284
|
-
i5$
|
|
20285
|
-
|
|
20164
|
+
i5$1.MatDatepickerModule,
|
|
20165
|
+
i5$2.MatAutocompleteModule,
|
|
20166
|
+
i4.CdkTreeModule,
|
|
20286
20167
|
i1$5.OverlayModule,
|
|
20287
20168
|
i3.PaymentLibModule,
|
|
20288
|
-
i2
|
|
20289
|
-
|
|
20169
|
+
i2.ScrollToModule.forRoot(),
|
|
20170
|
+
i5.MediaViewerModule
|
|
20290
20171
|
],
|
|
20291
20172
|
declarations: __spread([
|
|
20292
20173
|
FixedListPipe,
|