@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-all-document-count-v4 → 5.0.25-case-file-view-document-count-v3
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 +350 -385
- 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-document-actions/case-file-view-folder-document-actions.component.js +46 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.js +3 -6
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +143 -82
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +2 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +43 -33
- package/esm2015/lib/shared/components/palette/palette.module.js +9 -6
- 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 +316 -362
- 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-document-actions/case-file-view-folder-document-actions.component.d.ts +15 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts +2 -3
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.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 +12 -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/components/palette/case-file-view/components/index.d.ts +1 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +1 -3
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +25 -24
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-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);
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
var _c0$Q = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
121
|
-
var _c1$
|
|
121
|
+
var _c1$o = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
122
122
|
var FooterComponent = /** @class */ (function () {
|
|
123
123
|
function FooterComponent() {
|
|
124
124
|
}
|
|
125
125
|
return FooterComponent;
|
|
126
126
|
}());
|
|
127
127
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
128
|
-
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
128
|
+
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$o, 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
130
|
i0__namespace.ɵɵprojectionDef(_c0$Q);
|
|
131
131
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
var _c0$P = [[["", "headerNavigation", ""]]];
|
|
210
|
-
var _c1$
|
|
210
|
+
var _c1$n = ["[headerNavigation]"];
|
|
211
211
|
var HeaderBarComponent = /** @class */ (function () {
|
|
212
212
|
function HeaderBarComponent() {
|
|
213
213
|
this.signOutRequest = new i0.EventEmitter();
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
return HeaderBarComponent;
|
|
219
219
|
}());
|
|
220
220
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
221
|
-
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
221
|
+
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$n, 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
223
|
i0__namespace.ɵɵprojectionDef(_c0$P);
|
|
224
224
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
@@ -282,14 +282,14 @@
|
|
|
282
282
|
})();
|
|
283
283
|
|
|
284
284
|
var _c0$O = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
285
|
-
var _c1$
|
|
285
|
+
var _c1$m = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
286
286
|
var NavigationComponent = /** @class */ (function () {
|
|
287
287
|
function NavigationComponent() {
|
|
288
288
|
}
|
|
289
289
|
return NavigationComponent;
|
|
290
290
|
}());
|
|
291
291
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
292
|
-
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
292
|
+
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$m, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
293
293
|
if (rf & 1) {
|
|
294
294
|
i0__namespace.ɵɵprojectionDef(_c0$O);
|
|
295
295
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -437,14 +437,14 @@
|
|
|
437
437
|
})();
|
|
438
438
|
|
|
439
439
|
var _c0$N = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
440
|
-
var _c1$
|
|
440
|
+
var _c1$l = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
441
441
|
var BodyComponent = /** @class */ (function () {
|
|
442
442
|
function BodyComponent() {
|
|
443
443
|
}
|
|
444
444
|
return BodyComponent;
|
|
445
445
|
}());
|
|
446
446
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
447
|
-
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
447
|
+
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$l, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
448
448
|
if (rf & 1) {
|
|
449
449
|
i0__namespace.ɵɵprojectionDef(_c0$N);
|
|
450
450
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1302,14 +1302,14 @@
|
|
|
1302
1302
|
})();
|
|
1303
1303
|
|
|
1304
1304
|
var _c0$K = function (a0) { return { "js-hidden": a0 }; };
|
|
1305
|
-
var _c1$
|
|
1305
|
+
var _c1$k = ["*"];
|
|
1306
1306
|
var TabComponent = /** @class */ (function () {
|
|
1307
1307
|
function TabComponent() {
|
|
1308
1308
|
}
|
|
1309
1309
|
return TabComponent;
|
|
1310
1310
|
}());
|
|
1311
1311
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1312
|
-
TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1312
|
+
TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$k, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
|
|
1313
1313
|
if (rf & 1) {
|
|
1314
1314
|
i0__namespace.ɵɵprojectionDef();
|
|
1315
1315
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1341,7 +1341,7 @@
|
|
|
1341
1341
|
})();
|
|
1342
1342
|
|
|
1343
1343
|
var _c0$J = ["tab"];
|
|
1344
|
-
var _c1$
|
|
1344
|
+
var _c1$j = function () { return ["."]; };
|
|
1345
1345
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1346
1346
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
1347
1347
|
if (rf & 1) {
|
|
@@ -1356,7 +1356,7 @@
|
|
|
1356
1356
|
if (rf & 2) {
|
|
1357
1357
|
var panel_r1 = ctx.$implicit;
|
|
1358
1358
|
i0__namespace.ɵɵadvance(1);
|
|
1359
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$
|
|
1359
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$j))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
|
|
1360
1360
|
i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1361
1361
|
i0__namespace.ɵɵadvance(2);
|
|
1362
1362
|
i0__namespace.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -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'
|
|
@@ -9212,7 +9211,7 @@
|
|
|
9212
9211
|
i0__namespace.ɵɵelementEnd();
|
|
9213
9212
|
}
|
|
9214
9213
|
}
|
|
9215
|
-
var _c1$
|
|
9214
|
+
var _c1$i = function (a0) { return { "form-group-error": a0 }; };
|
|
9216
9215
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
9217
9216
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
9218
9217
|
if (rf & 1) {
|
|
@@ -9233,7 +9232,7 @@
|
|
|
9233
9232
|
}
|
|
9234
9233
|
if (rf & 2) {
|
|
9235
9234
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
9236
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
9235
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$i, ctx_r2.missingPostcode));
|
|
9237
9236
|
i0__namespace.ɵɵadvance(1);
|
|
9238
9237
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
9239
9238
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -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,258 +9587,69 @@
|
|
|
9582
9587
|
__metadata("design:paramtypes", [])
|
|
9583
9588
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
9584
9589
|
|
|
9585
|
-
|
|
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
|
-
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template(rf, ctx) {
|
|
9590
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) {
|
|
9778
9591
|
if (rf & 1) {
|
|
9779
9592
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
9780
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9593
|
+
i0__namespace.ɵɵelementStart(1, "div", 6);
|
|
9781
9594
|
i0__namespace.ɵɵtext(2);
|
|
9782
9595
|
i0__namespace.ɵɵelementEnd();
|
|
9783
9596
|
i0__namespace.ɵɵelementContainerEnd();
|
|
9784
9597
|
}
|
|
9785
9598
|
if (rf & 2) {
|
|
9786
|
-
var
|
|
9599
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
9787
9600
|
i0__namespace.ɵɵadvance(2);
|
|
9788
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9601
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
9789
9602
|
}
|
|
9790
9603
|
}
|
|
9791
|
-
function
|
|
9604
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template(rf, ctx) {
|
|
9792
9605
|
if (rf & 1) {
|
|
9793
|
-
i0__namespace.ɵɵelement(0, "img",
|
|
9606
|
+
i0__namespace.ɵɵelement(0, "img", 10);
|
|
9794
9607
|
}
|
|
9795
9608
|
if (rf & 2) {
|
|
9796
|
-
var
|
|
9797
|
-
var
|
|
9798
|
-
i0__namespace.ɵɵ
|
|
9609
|
+
var item_r4 = i0__namespace.ɵɵnextContext().$implicit;
|
|
9610
|
+
var ctx_r5 = i0__namespace.ɵɵnextContext(2);
|
|
9611
|
+
i0__namespace.ɵɵpropertyInterpolate1("alt", "", ctx_r5.title, " icon'");
|
|
9612
|
+
i0__namespace.ɵɵproperty("src", item_r4.iconSrc, i0__namespace.ɵɵsanitizeUrl);
|
|
9799
9613
|
}
|
|
9800
9614
|
}
|
|
9801
|
-
function
|
|
9615
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template(rf, ctx) {
|
|
9802
9616
|
if (rf & 1) {
|
|
9803
|
-
var
|
|
9617
|
+
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
9804
9618
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
9805
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9806
|
-
i0__namespace.ɵɵlistener("click", function
|
|
9807
|
-
i0__namespace.ɵɵtemplate(2,
|
|
9808
|
-
i0__namespace.ɵɵelementStart(3, "div",
|
|
9619
|
+
i0__namespace.ɵɵelementStart(1, "div", 7);
|
|
9620
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var item_r4 = ctx.$implicit; var ctx_r7 = i0__namespace.ɵɵnextContext(2); item_r4.actionFn(); return ctx_r7.closeOverlay(); });
|
|
9621
|
+
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template, 1, 2, "img", 8);
|
|
9622
|
+
i0__namespace.ɵɵelementStart(3, "div", 9);
|
|
9809
9623
|
i0__namespace.ɵɵtext(4);
|
|
9810
9624
|
i0__namespace.ɵɵelementEnd();
|
|
9811
9625
|
i0__namespace.ɵɵelementEnd();
|
|
9812
9626
|
i0__namespace.ɵɵelementContainerEnd();
|
|
9813
9627
|
}
|
|
9814
9628
|
if (rf & 2) {
|
|
9815
|
-
var
|
|
9629
|
+
var item_r4 = ctx.$implicit;
|
|
9816
9630
|
i0__namespace.ɵɵadvance(2);
|
|
9817
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
9631
|
+
i0__namespace.ɵɵproperty("ngIf", item_r4.iconSrc);
|
|
9818
9632
|
i0__namespace.ɵɵadvance(2);
|
|
9819
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9633
|
+
i0__namespace.ɵɵtextInterpolate(item_r4.actionText);
|
|
9820
9634
|
}
|
|
9821
9635
|
}
|
|
9822
|
-
function
|
|
9636
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
|
|
9823
9637
|
if (rf & 1) {
|
|
9824
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
9825
|
-
i0__namespace.ɵɵtemplate(1,
|
|
9826
|
-
i0__namespace.ɵɵtemplate(2,
|
|
9638
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
9639
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template, 3, 1, "ng-container", 4);
|
|
9640
|
+
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template, 5, 2, "ng-container", 5);
|
|
9827
9641
|
i0__namespace.ɵɵelementEnd();
|
|
9828
9642
|
}
|
|
9829
9643
|
if (rf & 2) {
|
|
9830
|
-
var
|
|
9644
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
9831
9645
|
i0__namespace.ɵɵadvance(1);
|
|
9832
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
9646
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1.title);
|
|
9833
9647
|
i0__namespace.ɵɵadvance(1);
|
|
9834
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
9648
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
9835
9649
|
}
|
|
9836
9650
|
}
|
|
9651
|
+
var _c0$G = [[["", "trigger", ""]]];
|
|
9652
|
+
var _c1$h = ["[trigger]"];
|
|
9837
9653
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
9838
9654
|
function CaseFileViewOverlayMenuComponent() {
|
|
9839
9655
|
this.title = '';
|
|
@@ -9848,14 +9664,24 @@
|
|
|
9848
9664
|
return CaseFileViewOverlayMenuComponent;
|
|
9849
9665
|
}());
|
|
9850
9666
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
9851
|
-
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems",
|
|
9667
|
+
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$h, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
|
|
9852
9668
|
if (rf & 1) {
|
|
9853
|
-
i0__namespace.ɵɵ
|
|
9669
|
+
i0__namespace.ɵɵprojectionDef(_c0$G);
|
|
9670
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
9671
|
+
i0__namespace.ɵɵelementStart(1, "button", 0, 1);
|
|
9672
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener() { return ctx.isOpen = !ctx.isOpen; });
|
|
9673
|
+
i0__namespace.ɵɵprojection(3);
|
|
9674
|
+
i0__namespace.ɵɵelementEnd();
|
|
9675
|
+
i0__namespace.ɵɵtemplate(4, CaseFileViewOverlayMenuComponent_ng_template_4_Template, 3, 2, "ng-template", 2);
|
|
9676
|
+
i0__namespace.ɵɵlistener("backdropClick", function CaseFileViewOverlayMenuComponent_Template_ng_template_backdropClick_4_listener() { return ctx.closeOverlay(); });
|
|
9677
|
+
i0__namespace.ɵɵelementEnd();
|
|
9854
9678
|
}
|
|
9855
9679
|
if (rf & 2) {
|
|
9856
|
-
i0__namespace.ɵɵ
|
|
9680
|
+
var _r0 = i0__namespace.ɵɵreference(2);
|
|
9681
|
+
i0__namespace.ɵɵadvance(4);
|
|
9682
|
+
i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
9857
9683
|
}
|
|
9858
|
-
}, directives: [i1__namespace$5.CdkConnectedOverlay, i1__namespace.NgIf, i1__namespace.NgForOf], styles: [".
|
|
9684
|
+
}, directives: [i1__namespace$5.CdkOverlayOrigin, i1__namespace$5.CdkConnectedOverlay, i1__namespace.NgIf, i1__namespace.NgForOf], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-6px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__item[_ngcontent-%COMP%], .overlay-menu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__item[_ngcontent-%COMP%]:last-child, .overlay-menu__title[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
9859
9685
|
(function () {
|
|
9860
9686
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
9861
9687
|
type: i0.Component,
|
|
@@ -9868,8 +9694,6 @@
|
|
|
9868
9694
|
type: i0.Input
|
|
9869
9695
|
}], menuItems: [{
|
|
9870
9696
|
type: i0.Input
|
|
9871
|
-
}], cdkOverlayOrigin: [{
|
|
9872
|
-
type: i0.Input
|
|
9873
9697
|
}], isOpen: [{
|
|
9874
9698
|
type: i0.Input
|
|
9875
9699
|
}], isOpenChange: [{
|
|
@@ -9888,12 +9712,10 @@
|
|
|
9888
9712
|
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
|
|
9889
9713
|
];
|
|
9890
9714
|
}
|
|
9891
|
-
CaseFileViewFolderSortComponent.prototype.ngOnInit = function () {
|
|
9892
|
-
};
|
|
9893
9715
|
return CaseFileViewFolderSortComponent;
|
|
9894
9716
|
}());
|
|
9895
9717
|
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
9896
|
-
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 4, vars:
|
|
9718
|
+
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 4, vars: 3, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "sort-button", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button__arrows"], [3, "title", "menuItems", "isOpen", "isOpenChange"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
|
|
9897
9719
|
if (rf & 1) {
|
|
9898
9720
|
i0__namespace.ɵɵelementStart(0, "button", 0, 1);
|
|
9899
9721
|
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSortComponent_Template_button_click_0_listener() { return ctx.isOpen = !ctx.isOpen; });
|
|
@@ -9904,9 +9726,8 @@
|
|
|
9904
9726
|
i0__namespace.ɵɵelementEnd();
|
|
9905
9727
|
}
|
|
9906
9728
|
if (rf & 2) {
|
|
9907
|
-
var _r0 = i0__namespace.ɵɵreference(1);
|
|
9908
9729
|
i0__namespace.ɵɵadvance(3);
|
|
9909
|
-
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("
|
|
9730
|
+
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
9910
9731
|
}
|
|
9911
9732
|
}, directives: [i1__namespace$5.CdkOverlayOrigin, CaseFileViewOverlayMenuComponent], styles: [".sort-button[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-6px;cursor:pointer}.sort-button__arrows[_ngcontent-%COMP%]{display:block;height:20px}"] });
|
|
9912
9733
|
(function () {
|
|
@@ -9924,56 +9745,140 @@
|
|
|
9924
9745
|
}] });
|
|
9925
9746
|
})();
|
|
9926
9747
|
|
|
9927
|
-
var
|
|
9928
|
-
|
|
9748
|
+
var CaseFileViewFolderDocumentActionsComponent = /** @class */ (function () {
|
|
9749
|
+
function CaseFileViewFolderDocumentActionsComponent() {
|
|
9750
|
+
var _this = this;
|
|
9751
|
+
this.isOpen = false;
|
|
9752
|
+
this.changeFolderAction = new i0.EventEmitter();
|
|
9753
|
+
this.openInANewTabAction = new i0.EventEmitter();
|
|
9754
|
+
this.downloadAction = new i0.EventEmitter();
|
|
9755
|
+
this.printAction = new i0.EventEmitter();
|
|
9756
|
+
this.overlayMenuItems = [
|
|
9757
|
+
{ actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: function () { return _this.changeFolderAction.emit(); } },
|
|
9758
|
+
{ actionText: 'Open in a new tab', iconSrc: '/assets/img/case-file-view/document-menu/open_in_new.svg', actionFn: function () { return _this.openInANewTabAction.emit(); } },
|
|
9759
|
+
{ actionText: 'Download', iconSrc: '/assets/img/case-file-view/document-menu/download.svg', actionFn: function () { return _this.downloadAction.emit(); } },
|
|
9760
|
+
{ actionText: 'Print', iconSrc: '/assets/img/case-file-view/document-menu/print.svg', actionFn: function () { return _this.printAction.emit(); } },
|
|
9761
|
+
];
|
|
9762
|
+
}
|
|
9763
|
+
return CaseFileViewFolderDocumentActionsComponent;
|
|
9764
|
+
}());
|
|
9765
|
+
CaseFileViewFolderDocumentActionsComponent.ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(t) { return new (t || CaseFileViewFolderDocumentActionsComponent)(); };
|
|
9766
|
+
CaseFileViewFolderDocumentActionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderDocumentActionsComponent, selectors: [["ccd-case-file-view-folder-document-actions"]], outputs: { changeFolderAction: "changeFolderAction", openInANewTabAction: "openInANewTabAction", downloadAction: "downloadAction", printAction: "printAction" }, decls: 3, vars: 2, consts: [[3, "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/case-file-view/document-menu/more_vert.svg", "alt", "More document options", 1, "actions-trigger-icon"]], template: function CaseFileViewFolderDocumentActionsComponent_Template(rf, ctx) {
|
|
9767
|
+
if (rf & 1) {
|
|
9768
|
+
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
9769
|
+
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
|
|
9770
|
+
i0__namespace.ɵɵelementContainerStart(1, 1);
|
|
9771
|
+
i0__namespace.ɵɵelement(2, "img", 2);
|
|
9772
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
9773
|
+
i0__namespace.ɵɵelementEnd();
|
|
9774
|
+
}
|
|
9775
|
+
if (rf & 2) {
|
|
9776
|
+
i0__namespace.ɵɵproperty("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
9777
|
+
}
|
|
9778
|
+
}, directives: [CaseFileViewOverlayMenuComponent], styles: [".actions-trigger-icon[_ngcontent-%COMP%]{display:block;height:24px;margin-right:-5px}"] });
|
|
9779
|
+
(function () {
|
|
9780
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderDocumentActionsComponent, [{
|
|
9781
|
+
type: i0.Component,
|
|
9782
|
+
args: [{
|
|
9783
|
+
selector: 'ccd-case-file-view-folder-document-actions',
|
|
9784
|
+
templateUrl: './case-file-view-folder-document-actions.component.html',
|
|
9785
|
+
styleUrls: ['./case-file-view-folder-document-actions.component.scss']
|
|
9786
|
+
}]
|
|
9787
|
+
}], function () { return []; }, { changeFolderAction: [{
|
|
9788
|
+
type: i0.Output
|
|
9789
|
+
}], openInANewTabAction: [{
|
|
9790
|
+
type: i0.Output
|
|
9791
|
+
}], downloadAction: [{
|
|
9792
|
+
type: i0.Output
|
|
9793
|
+
}], printAction: [{
|
|
9794
|
+
type: i0.Output
|
|
9795
|
+
}] });
|
|
9796
|
+
})();
|
|
9797
|
+
|
|
9798
|
+
function CaseFileViewFolderComponent_div_8_div_1_Template(rf, ctx) {
|
|
9929
9799
|
if (rf & 1) {
|
|
9930
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
9931
|
-
i0__namespace.ɵɵ
|
|
9932
|
-
i0__namespace.ɵɵelementStart(2, "button", 9);
|
|
9933
|
-
i0__namespace.ɵɵelement(3, "img", 10);
|
|
9800
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
9801
|
+
i0__namespace.ɵɵtext(1, " No results found ");
|
|
9934
9802
|
i0__namespace.ɵɵelementEnd();
|
|
9935
|
-
|
|
9803
|
+
}
|
|
9804
|
+
}
|
|
9805
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template(rf, ctx) {
|
|
9806
|
+
if (rf & 1) {
|
|
9807
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
9808
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
|
|
9809
|
+
i0__namespace.ɵɵelementStart(1, "button", 13);
|
|
9810
|
+
i0__namespace.ɵɵelementStart(2, "div", 14);
|
|
9811
|
+
i0__namespace.ɵɵelement(3, "img", 15);
|
|
9812
|
+
i0__namespace.ɵɵelementEnd();
|
|
9813
|
+
i0__namespace.ɵɵelementStart(4, "span", 16);
|
|
9936
9814
|
i0__namespace.ɵɵtext(5);
|
|
9937
9815
|
i0__namespace.ɵɵelementEnd();
|
|
9816
|
+
i0__namespace.ɵɵelementStart(6, "div", 17);
|
|
9817
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 18);
|
|
9818
|
+
i0__namespace.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(2); return ctx_r5.triggerDocumentAction("changeFolder"); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r7 = i0__namespace.ɵɵnextContext(2); return ctx_r7.triggerDocumentAction("openInANewTab"); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.triggerDocumentAction("download"); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r9 = i0__namespace.ɵɵnextContext(2); return ctx_r9.triggerDocumentAction("print"); });
|
|
9819
|
+
i0__namespace.ɵɵelementEnd();
|
|
9820
|
+
i0__namespace.ɵɵelementEnd();
|
|
9938
9821
|
i0__namespace.ɵɵelementEnd();
|
|
9939
9822
|
i0__namespace.ɵɵelementEnd();
|
|
9940
9823
|
}
|
|
9941
9824
|
if (rf & 2) {
|
|
9942
|
-
var
|
|
9825
|
+
var node_r4 = ctx.$implicit;
|
|
9943
9826
|
i0__namespace.ɵɵadvance(5);
|
|
9944
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9827
|
+
i0__namespace.ɵɵtextInterpolate(node_r4.name);
|
|
9945
9828
|
}
|
|
9946
9829
|
}
|
|
9947
|
-
function
|
|
9830
|
+
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, ctx) {
|
|
9948
9831
|
if (rf & 1) {
|
|
9949
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
9950
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
9951
|
-
i0__namespace.ɵɵelementStart(2, "
|
|
9952
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
9953
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9832
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
|
|
9833
|
+
i0__namespace.ɵɵelementStart(1, "button", 13);
|
|
9834
|
+
i0__namespace.ɵɵelementStart(2, "div", 19);
|
|
9835
|
+
i0__namespace.ɵɵelement(3, "img", 20);
|
|
9836
|
+
i0__namespace.ɵɵelementStart(4, "span", 21);
|
|
9954
9837
|
i0__namespace.ɵɵtext(5);
|
|
9955
9838
|
i0__namespace.ɵɵelementEnd();
|
|
9956
9839
|
i0__namespace.ɵɵelementEnd();
|
|
9957
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
9840
|
+
i0__namespace.ɵɵelementStart(6, "span", 22);
|
|
9958
9841
|
i0__namespace.ɵɵtext(7);
|
|
9959
9842
|
i0__namespace.ɵɵelementEnd();
|
|
9960
9843
|
i0__namespace.ɵɵelementEnd();
|
|
9961
9844
|
i0__namespace.ɵɵelementStart(8, "div");
|
|
9962
|
-
i0__namespace.ɵɵelementContainer(9,
|
|
9845
|
+
i0__namespace.ɵɵelementContainer(9, 23);
|
|
9963
9846
|
i0__namespace.ɵɵelementEnd();
|
|
9964
9847
|
i0__namespace.ɵɵelementEnd();
|
|
9965
9848
|
}
|
|
9966
9849
|
if (rf & 2) {
|
|
9967
|
-
var
|
|
9968
|
-
var
|
|
9850
|
+
var node_r10 = ctx.$implicit;
|
|
9851
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
9969
9852
|
i0__namespace.ɵɵadvance(2);
|
|
9970
|
-
i0__namespace.ɵɵattribute("aria-label", "toggle " +
|
|
9971
|
-
i0__namespace.ɵɵadvance(
|
|
9972
|
-
i0__namespace.ɵɵ
|
|
9853
|
+
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r10.name);
|
|
9854
|
+
i0__namespace.ɵɵadvance(1);
|
|
9855
|
+
i0__namespace.ɵɵproperty("src", ctx_r3.nestedTreeControl.isExpanded(node_r10) ? "/assets/images/folder-open.png" : "/assets/images/folder.png", i0__namespace.ɵɵsanitizeUrl);
|
|
9973
9856
|
i0__namespace.ɵɵadvance(2);
|
|
9974
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9857
|
+
i0__namespace.ɵɵtextInterpolate(node_r10.childDocumentCount);
|
|
9858
|
+
i0__namespace.ɵɵadvance(2);
|
|
9859
|
+
i0__namespace.ɵɵtextInterpolate(node_r10.name);
|
|
9975
9860
|
i0__namespace.ɵɵadvance(1);
|
|
9976
|
-
i0__namespace.ɵɵclassProp("document-tree-invisible", !
|
|
9861
|
+
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r10));
|
|
9862
|
+
}
|
|
9863
|
+
}
|
|
9864
|
+
function CaseFileViewFolderComponent_div_8_Template(rf, ctx) {
|
|
9865
|
+
if (rf & 1) {
|
|
9866
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
9867
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
|
|
9868
|
+
i0__namespace.ɵɵelementStart(2, "cdk-tree", 9);
|
|
9869
|
+
i0__namespace.ɵɵtemplate(3, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_3_Template, 8, 1, "cdk-nested-tree-node", 10);
|
|
9870
|
+
i0__namespace.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 10, 6, "cdk-nested-tree-node", 11);
|
|
9871
|
+
i0__namespace.ɵɵelementEnd();
|
|
9872
|
+
i0__namespace.ɵɵelementEnd();
|
|
9873
|
+
}
|
|
9874
|
+
if (rf & 2) {
|
|
9875
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
9876
|
+
i0__namespace.ɵɵadvance(1);
|
|
9877
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
|
|
9878
|
+
i0__namespace.ɵɵadvance(1);
|
|
9879
|
+
i0__namespace.ɵɵproperty("dataSource", ctx_r0.nestedDataSource)("treeControl", ctx_r0.nestedTreeControl);
|
|
9880
|
+
i0__namespace.ɵɵadvance(2);
|
|
9881
|
+
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
|
|
9977
9882
|
}
|
|
9978
9883
|
}
|
|
9979
9884
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
@@ -9981,37 +9886,34 @@
|
|
|
9981
9886
|
this.categories = [];
|
|
9982
9887
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9983
9888
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9984
|
-
this.nestedTreeControl = new
|
|
9889
|
+
this.nestedTreeControl = new i4.NestedTreeControl(this.getChildren);
|
|
9985
9890
|
}
|
|
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
9891
|
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
10002
9892
|
var _this = this;
|
|
9893
|
+
this.documentFilterFormGroup = new i1$2.FormGroup({});
|
|
9894
|
+
this.documentSearchFormControl = new i1$2.FormControl('');
|
|
9895
|
+
this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
|
|
9896
|
+
// Listen to search input and initiate filter documents if at least three characters entered
|
|
9897
|
+
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) {
|
|
9898
|
+
_this.nestedDataSource = documentTreeData;
|
|
9899
|
+
_this.nestedTreeControl.dataNodes = documentTreeData;
|
|
9900
|
+
_this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
|
|
9901
|
+
? _this.nestedTreeControl.expandAll()
|
|
9902
|
+
: _this.nestedTreeControl.collapseAll();
|
|
9903
|
+
});
|
|
9904
|
+
// Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
|
|
10003
9905
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
10004
|
-
|
|
10005
|
-
var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
|
|
9906
|
+
var categories = categoriesAndDocuments.categories;
|
|
10006
9907
|
// Generate document tree data from categories
|
|
10007
|
-
|
|
9908
|
+
_this.documentTreeData = _this.generateTreeData(categories);
|
|
10008
9909
|
// Append uncategorised documents
|
|
10009
9910
|
if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
|
|
10010
9911
|
var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
|
|
10011
|
-
|
|
9912
|
+
_this.documentTreeData.push(uncategorisedDocuments);
|
|
10012
9913
|
}
|
|
10013
9914
|
// Initialise cdk tree with generated data
|
|
10014
|
-
_this.nestedDataSource =
|
|
9915
|
+
_this.nestedDataSource = _this.documentTreeData;
|
|
9916
|
+
_this.nestedTreeControl.dataNodes = _this.documentTreeData;
|
|
10015
9917
|
});
|
|
10016
9918
|
};
|
|
10017
9919
|
CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
|
|
@@ -10019,7 +9921,7 @@
|
|
|
10019
9921
|
return categories.reduce(function (tree, node) {
|
|
10020
9922
|
var newDocumentTreeNode = new DocumentTreeNode();
|
|
10021
9923
|
newDocumentTreeNode.name = node.category_name;
|
|
10022
|
-
newDocumentTreeNode.type =
|
|
9924
|
+
newDocumentTreeNode.type = DocumentTreeNodeType.FOLDER;
|
|
10023
9925
|
newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
|
|
10024
9926
|
return __spread(tree, [
|
|
10025
9927
|
newDocumentTreeNode,
|
|
@@ -10031,7 +9933,7 @@
|
|
|
10031
9933
|
documents.forEach(function (document) {
|
|
10032
9934
|
var documentTreeNode = new DocumentTreeNode();
|
|
10033
9935
|
documentTreeNode.name = document.document_filename;
|
|
10034
|
-
documentTreeNode.type =
|
|
9936
|
+
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
10035
9937
|
documentsToReturn.push(documentTreeNode);
|
|
10036
9938
|
});
|
|
10037
9939
|
return documentsToReturn;
|
|
@@ -10041,15 +9943,53 @@
|
|
|
10041
9943
|
uncategorisedDocuments.forEach(function (document) {
|
|
10042
9944
|
var documentTreeNode = new DocumentTreeNode();
|
|
10043
9945
|
documentTreeNode.name = document.document_filename;
|
|
10044
|
-
documentTreeNode.type =
|
|
9946
|
+
documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
|
|
10045
9947
|
documents.push(documentTreeNode);
|
|
10046
9948
|
});
|
|
10047
9949
|
var uncategorisedNode = new DocumentTreeNode();
|
|
10048
9950
|
uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
|
|
10049
|
-
uncategorisedNode.type =
|
|
9951
|
+
uncategorisedNode.type = DocumentTreeNodeType.FOLDER;
|
|
10050
9952
|
uncategorisedNode.children = documents;
|
|
10051
9953
|
return uncategorisedNode;
|
|
10052
9954
|
};
|
|
9955
|
+
CaseFileViewFolderComponent.prototype.filter = function (searchTerm) {
|
|
9956
|
+
// Make a copy of the data so we do not mutate the original
|
|
9957
|
+
function copy(node) {
|
|
9958
|
+
var documentTreeNode = new DocumentTreeNode();
|
|
9959
|
+
return Object.assign(documentTreeNode, node);
|
|
9960
|
+
}
|
|
9961
|
+
var filteredData = this.documentTreeData;
|
|
9962
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
|
|
9963
|
+
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
9964
|
+
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
9965
|
+
return true;
|
|
9966
|
+
}
|
|
9967
|
+
// Call recursively if node has children
|
|
9968
|
+
if (node.children) {
|
|
9969
|
+
return (node.children = node.children.map(copy).filter(filterTreeData)).length;
|
|
9970
|
+
}
|
|
9971
|
+
});
|
|
9972
|
+
}
|
|
9973
|
+
return rxjs.of(filteredData);
|
|
9974
|
+
};
|
|
9975
|
+
CaseFileViewFolderComponent.prototype.triggerDocumentAction = function (actionType) {
|
|
9976
|
+
switch (actionType) {
|
|
9977
|
+
case ('changeFolder'):
|
|
9978
|
+
console.log('changeFolder!');
|
|
9979
|
+
break;
|
|
9980
|
+
case ('openInANewTab'):
|
|
9981
|
+
console.log('openInANewTab!');
|
|
9982
|
+
break;
|
|
9983
|
+
case ('download'):
|
|
9984
|
+
console.log('download!');
|
|
9985
|
+
break;
|
|
9986
|
+
case ('print'):
|
|
9987
|
+
console.log('print!');
|
|
9988
|
+
break;
|
|
9989
|
+
default:
|
|
9990
|
+
return;
|
|
9991
|
+
}
|
|
9992
|
+
};
|
|
10053
9993
|
CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
|
|
10054
9994
|
var sortedData = this.nestedDataSource.map(function (item) {
|
|
10055
9995
|
item.sortChildrenAscending();
|
|
@@ -10068,11 +10008,6 @@
|
|
|
10068
10008
|
});
|
|
10069
10009
|
this.updateNodeData(sortedData);
|
|
10070
10010
|
};
|
|
10071
|
-
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
10072
|
-
if (this.categoriesAndDocumentsSubscription) {
|
|
10073
|
-
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
10074
|
-
}
|
|
10075
|
-
};
|
|
10076
10011
|
CaseFileViewFolderComponent.prototype.updateNodeData = function (data) {
|
|
10077
10012
|
var _this = this;
|
|
10078
10013
|
var prevSelected = this.nestedTreeControl.expansionModel.selected.map(function (item) {
|
|
@@ -10094,49 +10029,43 @@
|
|
|
10094
10029
|
});
|
|
10095
10030
|
newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
|
|
10096
10031
|
};
|
|
10097
|
-
CaseFileViewFolderComponent.prototype.
|
|
10098
|
-
|
|
10032
|
+
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
10033
|
+
var _a, _b;
|
|
10034
|
+
(_a = this.categoriesAndDocumentsSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
10035
|
+
(_b = this.documentFilterSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
10099
10036
|
};
|
|
10100
10037
|
return CaseFileViewFolderComponent;
|
|
10101
10038
|
}());
|
|
10102
10039
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
10040
|
+
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
10041
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
|
|
10103
10042
|
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) {
|
|
10043
|
+
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"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], ["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
10044
|
if (rf & 1) {
|
|
10114
10045
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
10115
10046
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
10116
|
-
i0__namespace.ɵɵ
|
|
10047
|
+
i0__namespace.ɵɵelement(2, "input", 2);
|
|
10117
10048
|
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
10049
|
i0__namespace.ɵɵelementEnd();
|
|
10050
|
+
i0__namespace.ɵɵelementStart(3, "div", 3);
|
|
10051
|
+
i0__namespace.ɵɵelementStart(4, "div", 4);
|
|
10052
|
+
i0__namespace.ɵɵtext(5, "Documents");
|
|
10122
10053
|
i0__namespace.ɵɵelementEnd();
|
|
10054
|
+
i0__namespace.ɵɵelementStart(6, "div");
|
|
10055
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-sort", 5);
|
|
10056
|
+
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
10057
|
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
10058
|
i0__namespace.ɵɵelementEnd();
|
|
10129
10059
|
i0__namespace.ɵɵelementEnd();
|
|
10060
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_div_8_Template, 5, 4, "div", 6);
|
|
10130
10061
|
}
|
|
10131
10062
|
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);
|
|
10063
|
+
i0__namespace.ɵɵadvance(1);
|
|
10064
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
10065
|
+
i0__namespace.ɵɵadvance(7);
|
|
10066
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
10138
10067
|
}
|
|
10139
|
-
}, directives: [CaseFileViewFolderSortComponent,
|
|
10068
|
+
}, 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, CaseFileViewFolderDocumentActionsComponent, 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;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.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:6px;font-size:1rem}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.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
10069
|
(function () {
|
|
10141
10070
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
10142
10071
|
type: i0.Component,
|
|
@@ -10147,21 +10076,61 @@
|
|
|
10147
10076
|
}]
|
|
10148
10077
|
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
10149
10078
|
type: i0.Input
|
|
10150
|
-
}], tree: [{
|
|
10151
|
-
type: i0.ViewChild,
|
|
10152
|
-
args: ['tree', { static: true }]
|
|
10153
10079
|
}] });
|
|
10154
10080
|
})();
|
|
10155
10081
|
|
|
10082
|
+
function CaseFileViewFieldComponent_div_0_Template(rf, ctx) {
|
|
10083
|
+
if (rf & 1) {
|
|
10084
|
+
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
10085
|
+
i0__namespace.ɵɵelementStart(1, "h1", 3);
|
|
10086
|
+
i0__namespace.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
10087
|
+
i0__namespace.ɵɵelementEnd();
|
|
10088
|
+
i0__namespace.ɵɵelementStart(3, "p", 4);
|
|
10089
|
+
i0__namespace.ɵɵtext(4, "Try again later.");
|
|
10090
|
+
i0__namespace.ɵɵelementEnd();
|
|
10091
|
+
i0__namespace.ɵɵelementEnd();
|
|
10092
|
+
}
|
|
10093
|
+
}
|
|
10094
|
+
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
|
|
10095
|
+
if (rf & 1) {
|
|
10096
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
10097
|
+
i0__namespace.ɵɵelementStart(1, "h2", 5);
|
|
10098
|
+
i0__namespace.ɵɵtext(2, "Case file");
|
|
10099
|
+
i0__namespace.ɵɵelementEnd();
|
|
10100
|
+
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
10101
|
+
i0__namespace.ɵɵelementStart(4, "div", 7);
|
|
10102
|
+
i0__namespace.ɵɵelement(5, "ccd-case-file-view-folder", 8);
|
|
10103
|
+
i0__namespace.ɵɵelementEnd();
|
|
10104
|
+
i0__namespace.ɵɵelement(6, "div", 9);
|
|
10105
|
+
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
10106
|
+
i0__namespace.ɵɵelement(8, "mv-media-viewer", 11);
|
|
10107
|
+
i0__namespace.ɵɵelementEnd();
|
|
10108
|
+
i0__namespace.ɵɵelementEnd();
|
|
10109
|
+
i0__namespace.ɵɵelementEnd();
|
|
10110
|
+
}
|
|
10111
|
+
if (rf & 2) {
|
|
10112
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
10113
|
+
i0__namespace.ɵɵadvance(5);
|
|
10114
|
+
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx_r1.categoriesAndDocuments$);
|
|
10115
|
+
i0__namespace.ɵɵadvance(3);
|
|
10116
|
+
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
10117
|
+
}
|
|
10118
|
+
}
|
|
10156
10119
|
var CaseFileViewFieldComponent = /** @class */ (function () {
|
|
10157
10120
|
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService) {
|
|
10158
10121
|
this.elementRef = elementRef;
|
|
10159
10122
|
this.route = route;
|
|
10160
10123
|
this.caseFileViewService = caseFileViewService;
|
|
10124
|
+
this.getCategoriesAndDocumentsError = false;
|
|
10161
10125
|
}
|
|
10162
10126
|
CaseFileViewFieldComponent.prototype.ngOnInit = function () {
|
|
10127
|
+
var _this = this;
|
|
10163
10128
|
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
10164
10129
|
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
|
|
10130
|
+
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
|
|
10131
|
+
next: function (_) { },
|
|
10132
|
+
error: function (_) { return _this.getCategoriesAndDocumentsError = true; }
|
|
10133
|
+
});
|
|
10165
10134
|
};
|
|
10166
10135
|
CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10167
10136
|
var slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
@@ -10185,32 +10154,26 @@
|
|
|
10185
10154
|
documentTreeContainer.setAttribute('style', "width: " + calculatedWidth + "%");
|
|
10186
10155
|
});
|
|
10187
10156
|
};
|
|
10157
|
+
CaseFileViewFieldComponent.prototype.ngOnDestroy = function () {
|
|
10158
|
+
if (this.categoriesAndDocumentsSubscription) {
|
|
10159
|
+
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
10160
|
+
}
|
|
10161
|
+
};
|
|
10188
10162
|
return CaseFileViewFieldComponent;
|
|
10189
10163
|
}());
|
|
10190
10164
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10191
10165
|
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:
|
|
10166
|
+
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
10167
|
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();
|
|
10168
|
+
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
10169
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 4, "div", 1);
|
|
10206
10170
|
}
|
|
10207
10171
|
if (rf & 2) {
|
|
10208
|
-
i0__namespace.ɵɵ
|
|
10209
|
-
i0__namespace.ɵɵ
|
|
10210
|
-
i0__namespace.ɵɵ
|
|
10211
|
-
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
10172
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
|
|
10173
|
+
i0__namespace.ɵɵadvance(1);
|
|
10174
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
|
|
10212
10175
|
}
|
|
10213
|
-
}, directives: [CaseFileViewFolderComponent,
|
|
10176
|
+
}, 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
10177
|
(function () {
|
|
10215
10178
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
10216
10179
|
type: i0.Component,
|
|
@@ -11038,7 +11001,7 @@
|
|
|
11038
11001
|
};
|
|
11039
11002
|
return WriteCollectionFieldComponent;
|
|
11040
11003
|
}(AbstractFieldWriteComponent));
|
|
11041
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace
|
|
11004
|
+
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
11005
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
11043
11006
|
if (rf & 1) {
|
|
11044
11007
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -11087,7 +11050,7 @@
|
|
|
11087
11050
|
templateUrl: './write-collection-field.html',
|
|
11088
11051
|
styleUrls: ['./collection-field.scss']
|
|
11089
11052
|
}]
|
|
11090
|
-
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace
|
|
11053
|
+
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
11091
11054
|
type: i0.Input
|
|
11092
11055
|
}], formGroup: [{
|
|
11093
11056
|
type: i0.Input
|
|
@@ -12191,7 +12154,7 @@
|
|
|
12191
12154
|
i0__namespace.ɵɵadvance(1);
|
|
12192
12155
|
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
12156
|
}
|
|
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 });
|
|
12157
|
+
}, 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
12158
|
(function () {
|
|
12196
12159
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
12197
12160
|
type: i0.Component,
|
|
@@ -14741,7 +14704,7 @@
|
|
|
14741
14704
|
i0__namespace.ɵɵadvance(1);
|
|
14742
14705
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.filteredJudicialUsers == null ? null : ctx.filteredJudicialUsers.length) && ctx.showAutocomplete);
|
|
14743
14706
|
}
|
|
14744
|
-
}, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i5__namespace$
|
|
14707
|
+
}, 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
14708
|
(function () {
|
|
14746
14709
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteJudicialUserFieldComponent, [{
|
|
14747
14710
|
type: i0.Component,
|
|
@@ -20024,7 +19987,8 @@
|
|
|
20024
19987
|
CaseFileViewFieldComponent,
|
|
20025
19988
|
CaseFileViewFolderComponent,
|
|
20026
19989
|
CaseFileViewFolderSortComponent,
|
|
20027
|
-
CaseFileViewOverlayMenuComponent
|
|
19990
|
+
CaseFileViewOverlayMenuComponent,
|
|
19991
|
+
CaseFileViewFolderDocumentActionsComponent
|
|
20028
19992
|
];
|
|
20029
19993
|
var PaletteModule = /** @class */ (function () {
|
|
20030
19994
|
function PaletteModule() {
|
|
@@ -20062,13 +20026,13 @@
|
|
|
20062
20026
|
i4$1.NgxMatNativeDateModule,
|
|
20063
20027
|
i6.MatFormFieldModule,
|
|
20064
20028
|
input.MatInputModule,
|
|
20065
|
-
i5.MatDatepickerModule,
|
|
20066
|
-
i5$
|
|
20067
|
-
|
|
20029
|
+
i5$1.MatDatepickerModule,
|
|
20030
|
+
i5$2.MatAutocompleteModule,
|
|
20031
|
+
i4.CdkTreeModule,
|
|
20068
20032
|
i1$5.OverlayModule,
|
|
20069
20033
|
i3.PaymentLibModule,
|
|
20070
|
-
i2
|
|
20071
|
-
|
|
20034
|
+
i2.ScrollToModule.forRoot(),
|
|
20035
|
+
i5.MediaViewerModule
|
|
20072
20036
|
], i4$1.NgxMatDatetimePickerModule,
|
|
20073
20037
|
i4$1.NgxMatNativeDateModule,
|
|
20074
20038
|
i4$1.NgxMatTimepickerModule,
|
|
@@ -20153,7 +20117,8 @@
|
|
|
20153
20117
|
CaseFileViewFieldComponent,
|
|
20154
20118
|
CaseFileViewFolderComponent,
|
|
20155
20119
|
CaseFileViewFolderSortComponent,
|
|
20156
|
-
CaseFileViewOverlayMenuComponent,
|
|
20120
|
+
CaseFileViewOverlayMenuComponent,
|
|
20121
|
+
CaseFileViewFolderDocumentActionsComponent], imports: [i1.CommonModule,
|
|
20157
20122
|
i1$1.RouterModule,
|
|
20158
20123
|
i1$2.FormsModule,
|
|
20159
20124
|
i1$2.ReactiveFormsModule,
|
|
@@ -20172,11 +20137,11 @@
|
|
|
20172
20137
|
i4$1.NgxMatNativeDateModule,
|
|
20173
20138
|
i6.MatFormFieldModule,
|
|
20174
20139
|
input.MatInputModule,
|
|
20175
|
-
i5.MatDatepickerModule,
|
|
20176
|
-
i5$
|
|
20177
|
-
|
|
20140
|
+
i5$1.MatDatepickerModule,
|
|
20141
|
+
i5$2.MatAutocompleteModule,
|
|
20142
|
+
i4.CdkTreeModule,
|
|
20178
20143
|
i1$5.OverlayModule,
|
|
20179
|
-
i3.PaymentLibModule, i2__namespace
|
|
20144
|
+
i3.PaymentLibModule, i2__namespace.ScrollToModule, i5.MediaViewerModule], exports: [i4$1.NgxMatDatetimePickerModule,
|
|
20180
20145
|
i4$1.NgxMatNativeDateModule,
|
|
20181
20146
|
i4$1.NgxMatTimepickerModule,
|
|
20182
20147
|
TabsModule,
|
|
@@ -20254,7 +20219,8 @@
|
|
|
20254
20219
|
CaseFileViewFieldComponent,
|
|
20255
20220
|
CaseFileViewFolderComponent,
|
|
20256
20221
|
CaseFileViewFolderSortComponent,
|
|
20257
|
-
CaseFileViewOverlayMenuComponent
|
|
20222
|
+
CaseFileViewOverlayMenuComponent,
|
|
20223
|
+
CaseFileViewFolderDocumentActionsComponent] });
|
|
20258
20224
|
})();
|
|
20259
20225
|
(function () {
|
|
20260
20226
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -20280,13 +20246,13 @@
|
|
|
20280
20246
|
i4$1.NgxMatNativeDateModule,
|
|
20281
20247
|
i6.MatFormFieldModule,
|
|
20282
20248
|
input.MatInputModule,
|
|
20283
|
-
i5.MatDatepickerModule,
|
|
20284
|
-
i5$
|
|
20285
|
-
|
|
20249
|
+
i5$1.MatDatepickerModule,
|
|
20250
|
+
i5$2.MatAutocompleteModule,
|
|
20251
|
+
i4.CdkTreeModule,
|
|
20286
20252
|
i1$5.OverlayModule,
|
|
20287
20253
|
i3.PaymentLibModule,
|
|
20288
|
-
i2
|
|
20289
|
-
|
|
20254
|
+
i2.ScrollToModule.forRoot(),
|
|
20255
|
+
i5.MediaViewerModule
|
|
20290
20256
|
],
|
|
20291
20257
|
declarations: __spread([
|
|
20292
20258
|
FixedListPipe,
|
|
@@ -20294,9 +20260,7 @@
|
|
|
20294
20260
|
DynamicListPipe,
|
|
20295
20261
|
DynamicRadioListPipe,
|
|
20296
20262
|
DocumentUrlPipe
|
|
20297
|
-
], PALETTE_COMPONENTS,
|
|
20298
|
-
CaseFileViewOverlayMenuComponent,
|
|
20299
|
-
]),
|
|
20263
|
+
], PALETTE_COMPONENTS),
|
|
20300
20264
|
exports: __spread([
|
|
20301
20265
|
i4$1.NgxMatDatetimePickerModule,
|
|
20302
20266
|
i4$1.NgxMatNativeDateModule,
|
|
@@ -28803,6 +28767,7 @@
|
|
|
28803
28767
|
exports.CaseFieldService = CaseFieldService;
|
|
28804
28768
|
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
28805
28769
|
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
28770
|
+
exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
|
|
28806
28771
|
exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
|
|
28807
28772
|
exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
|
|
28808
28773
|
exports.CaseFileViewService = CaseFileViewService;
|