@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-document-count-v2 → 5.0.25-case-file-view-all-document-count-v4

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.
Files changed (34) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +338 -367
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/header/navigation/navigation-item.component.js +1 -1
  6. package/esm2015/lib/shared/components/pagination/pagination.component.js +1 -1
  7. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +7 -4
  8. 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 +6 -3
  9. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +45 -218
  10. package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +1 -2
  11. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +33 -43
  12. package/esm2015/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.js +192 -0
  13. package/esm2015/lib/shared/components/palette/palette.module.js +12 -12
  14. package/esm2015/public-api.js +3 -1
  15. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +304 -332
  16. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  17. 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 +3 -2
  18. 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
  19. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +3 -2
  20. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  21. package/lib/shared/components/palette/case-file-view/components/index.d.ts +0 -1
  22. package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
  23. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +3 -1
  24. 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
  25. package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts +3 -0
  26. package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts.map +1 -0
  27. package/lib/shared/components/palette/palette.module.d.ts +24 -24
  28. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/public-api.d.ts +2 -0
  31. package/public-api.d.ts.map +1 -1
  32. 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 +0 -46
  33. 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 +0 -15
  34. 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 +0 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
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('@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
- 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', '@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.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, i2, i1$5, i1$6, i2$1, i4, momentAdapter, i5, i6, i5$1, i6$1, i3, i6$2, input, i1$7, i10) { 'use strict';
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
+ 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.i4, 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, i2, i1$5, i4, i1$6, i2$1, i4$1, momentAdapter, i5, i6, i5$1, 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
 
@@ -35,9 +35,10 @@
35
35
  var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
36
36
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
37
37
  var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
38
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
38
39
  var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
39
40
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
40
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
41
+ var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
41
42
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
42
43
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
43
44
  var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
@@ -117,14 +118,14 @@
117
118
  }
118
119
  }
119
120
  var _c0$Q = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
120
- var _c1$o = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
121
+ var _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
121
122
  var FooterComponent = /** @class */ (function () {
122
123
  function FooterComponent() {
123
124
  }
124
125
  return FooterComponent;
125
126
  }());
126
127
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
127
- 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) {
128
+ FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$n, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
128
129
  if (rf & 1) {
129
130
  i0__namespace.ɵɵprojectionDef(_c0$Q);
130
131
  i0__namespace.ɵɵelementStart(0, "footer", 0);
@@ -206,7 +207,7 @@
206
207
  }
207
208
  }
208
209
  var _c0$P = [[["", "headerNavigation", ""]]];
209
- var _c1$n = ["[headerNavigation]"];
210
+ var _c1$m = ["[headerNavigation]"];
210
211
  var HeaderBarComponent = /** @class */ (function () {
211
212
  function HeaderBarComponent() {
212
213
  this.signOutRequest = new i0.EventEmitter();
@@ -217,7 +218,7 @@
217
218
  return HeaderBarComponent;
218
219
  }());
219
220
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
220
- 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) {
221
+ HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$m, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
221
222
  if (rf & 1) {
222
223
  i0__namespace.ɵɵprojectionDef(_c0$P);
223
224
  i0__namespace.ɵɵelementStart(0, "header", 0);
@@ -281,14 +282,14 @@
281
282
  })();
282
283
 
283
284
  var _c0$O = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
284
- var _c1$m = ["[leftNavLinks]", "[rightNavLinks]"];
285
+ var _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
285
286
  var NavigationComponent = /** @class */ (function () {
286
287
  function NavigationComponent() {
287
288
  }
288
289
  return NavigationComponent;
289
290
  }());
290
291
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
291
- 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) {
292
+ NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$l, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
292
293
  if (rf & 1) {
293
294
  i0__namespace.ɵɵprojectionDef(_c0$O);
294
295
  i0__namespace.ɵɵelementStart(0, "div");
@@ -349,7 +350,7 @@
349
350
  i0__namespace.ɵɵadvance(1);
350
351
  i0__namespace.ɵɵproperty("ngIf", ctx.imageLink);
351
352
  }
352
- }, directives: [i1__namespace$1.RouterLinkWithHref, i1__namespace$1.RouterLinkActive, i1__namespace.NgIf], styles: ["a[_ngcontent-%COMP%]{text-decoration:none;padding-right:10px;font-size:18px}a[_ngcontent-%COMP%], a.active[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:focus{color:#fff}a[_ngcontent-%COMP%]:focus{background-color:#005ea5}input[_ngcontent-%COMP%]{float:right;background-color:#00823b;margin-top:-3px}.item-bold[_ngcontent-%COMP%]{font-size:18px;font-weight:700}"] });
353
+ }, directives: [i1__namespace$1.RouterLinkWithHref, i1__namespace$1.RouterLinkActive, i1__namespace.NgIf], styles: ["a[_ngcontent-%COMP%]{text-decoration:none;padding-right:10px;font-size:18px}a[_ngcontent-%COMP%], a.active[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]:focus{background-color:#005ea5;color:#fff}input[_ngcontent-%COMP%]{float:right;background-color:#00823b;margin-top:-3px}.item-bold[_ngcontent-%COMP%]{font-size:18px;font-weight:700}"] });
353
354
  (function () {
354
355
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NavigationItemComponent, [{
355
356
  type: i0.Component,
@@ -436,14 +437,14 @@
436
437
  })();
437
438
 
438
439
  var _c0$N = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
439
- var _c1$l = ["[topBody]", "[leftBody]", "[rightBody]"];
440
+ var _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
440
441
  var BodyComponent = /** @class */ (function () {
441
442
  function BodyComponent() {
442
443
  }
443
444
  return BodyComponent;
444
445
  }());
445
446
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
446
- 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) {
447
+ BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$k, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
447
448
  if (rf & 1) {
448
449
  i0__namespace.ɵɵprojectionDef(_c0$N);
449
450
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1301,14 +1302,14 @@
1301
1302
  })();
1302
1303
 
1303
1304
  var _c0$K = function (a0) { return { "js-hidden": a0 }; };
1304
- var _c1$k = ["*"];
1305
+ var _c1$j = ["*"];
1305
1306
  var TabComponent = /** @class */ (function () {
1306
1307
  function TabComponent() {
1307
1308
  }
1308
1309
  return TabComponent;
1309
1310
  }());
1310
1311
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
1311
- 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) {
1312
+ TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$j, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1312
1313
  if (rf & 1) {
1313
1314
  i0__namespace.ɵɵprojectionDef();
1314
1315
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1340,7 +1341,7 @@
1340
1341
  })();
1341
1342
 
1342
1343
  var _c0$J = ["tab"];
1343
- var _c1$j = function () { return ["."]; };
1344
+ var _c1$i = function () { return ["."]; };
1344
1345
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1345
1346
  function TabsComponent_li_2_Template(rf, ctx) {
1346
1347
  if (rf & 1) {
@@ -1355,7 +1356,7 @@
1355
1356
  if (rf & 2) {
1356
1357
  var panel_r1 = ctx.$implicit;
1357
1358
  i0__namespace.ɵɵadvance(1);
1358
- i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$j))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1359
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$i))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1359
1360
  i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1360
1361
  i0__namespace.ɵɵadvance(2);
1361
1362
  i0__namespace.ɵɵtextInterpolate(panel_r1.title);
@@ -9211,7 +9212,7 @@
9211
9212
  i0__namespace.ɵɵelementEnd();
9212
9213
  }
9213
9214
  }
9214
- var _c1$i = function (a0) { return { "form-group-error": a0 }; };
9215
+ var _c1$h = function (a0) { return { "form-group-error": a0 }; };
9215
9216
  var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
9216
9217
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
9217
9218
  if (rf & 1) {
@@ -9232,7 +9233,7 @@
9232
9233
  }
9233
9234
  if (rf & 2) {
9234
9235
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
9235
- i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$i, ctx_r2.missingPostcode));
9236
+ i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$h, ctx_r2.missingPostcode));
9236
9237
  i0__namespace.ɵɵadvance(1);
9237
9238
  i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
9238
9239
  i0__namespace.ɵɵadvance(3);
@@ -9581,69 +9582,258 @@
9581
9582
  __metadata("design:paramtypes", [])
9582
9583
  ], DocumentTreeNode.prototype, "childDocumentCount", null);
9583
9584
 
9584
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) {
9585
+ var categoriesAndDocumentsTestData = {
9586
+ case_version: 1,
9587
+ categories: [
9588
+ {
9589
+ category_id: 'Beers',
9590
+ category_name: 'Beers',
9591
+ category_order: 1,
9592
+ documents: [
9593
+ {
9594
+ document_url: '/test',
9595
+ document_filename: 'Lager encyclopedia',
9596
+ document_binary_url: '/test/binary',
9597
+ attribute_path: '',
9598
+ upload_timestamp: ''
9599
+ },
9600
+ {
9601
+ document_url: '/test',
9602
+ document_filename: 'Beers encyclopedia',
9603
+ document_binary_url: '/test/binary',
9604
+ attribute_path: '',
9605
+ upload_timestamp: ''
9606
+ },
9607
+ {
9608
+ document_url: '/test',
9609
+ document_filename: 'Ale encyclopedia',
9610
+ document_binary_url: '/test/binary',
9611
+ attribute_path: '',
9612
+ upload_timestamp: ''
9613
+ }
9614
+ ],
9615
+ sub_categories: [
9616
+ {
9617
+ category_id: 'BeersBitters',
9618
+ category_name: 'Bitters',
9619
+ category_order: 1,
9620
+ documents: [],
9621
+ sub_categories: []
9622
+ },
9623
+ {
9624
+ category_id: 'BeersAmerican',
9625
+ category_name: 'American',
9626
+ category_order: 2,
9627
+ documents: [],
9628
+ sub_categories: []
9629
+ },
9630
+ {
9631
+ category_id: 'BeersAsian',
9632
+ category_name: 'Asian',
9633
+ category_order: 3,
9634
+ documents: [],
9635
+ sub_categories: []
9636
+ }
9637
+ ]
9638
+ },
9639
+ {
9640
+ category_id: 'Wines',
9641
+ category_name: 'Wines',
9642
+ category_order: 2,
9643
+ documents: [],
9644
+ sub_categories: [
9645
+ {
9646
+ category_id: 'WinesFrench',
9647
+ category_name: 'French',
9648
+ category_order: 1,
9649
+ documents: [],
9650
+ sub_categories: []
9651
+ },
9652
+ {
9653
+ category_id: 'WinesItalian',
9654
+ category_name: 'Italian',
9655
+ category_order: 2,
9656
+ documents: [],
9657
+ sub_categories: []
9658
+ }
9659
+ ]
9660
+ },
9661
+ {
9662
+ category_id: 'Spirits',
9663
+ category_name: 'Spirits',
9664
+ category_order: 3,
9665
+ documents: [],
9666
+ sub_categories: [
9667
+ {
9668
+ category_id: 'SpiritsWhisky',
9669
+ category_name: 'Scotch whisky',
9670
+ category_order: 1,
9671
+ documents: [],
9672
+ sub_categories: [
9673
+ {
9674
+ category_id: 'WhiskyHighland',
9675
+ category_name: 'Highland',
9676
+ category_order: 1,
9677
+ documents: [],
9678
+ sub_categories: [
9679
+ {
9680
+ category_id: 'WhiskyHighland1',
9681
+ category_name: 'Highland 1',
9682
+ category_order: 1,
9683
+ documents: [],
9684
+ sub_categories: []
9685
+ }
9686
+ ]
9687
+ },
9688
+ {
9689
+ category_id: 'WhiskyLowland',
9690
+ category_name: 'Lowland',
9691
+ category_order: 2,
9692
+ documents: [],
9693
+ sub_categories: [
9694
+ {
9695
+ category_id: 'WhiskyLowland1',
9696
+ category_name: 'Lowland 1',
9697
+ category_order: 1,
9698
+ documents: [
9699
+ {
9700
+ document_url: '/test',
9701
+ document_filename: 'Details about Whisky Lowland 1',
9702
+ document_binary_url: '/test/binary',
9703
+ attribute_path: '',
9704
+ upload_timestamp: ''
9705
+ }
9706
+ ],
9707
+ sub_categories: []
9708
+ },
9709
+ {
9710
+ category_id: 'WhiskyLowland2',
9711
+ category_name: 'Lowland 2',
9712
+ category_order: 2,
9713
+ documents: [],
9714
+ sub_categories: []
9715
+ }
9716
+ ]
9717
+ },
9718
+ {
9719
+ category_id: 'WhiskyIslay',
9720
+ category_name: 'Islay',
9721
+ category_order: 3,
9722
+ documents: [
9723
+ {
9724
+ document_url: '/test',
9725
+ document_filename: 'Details about Whisky Islay',
9726
+ document_binary_url: '/test/binary',
9727
+ attribute_path: '',
9728
+ upload_timestamp: ''
9729
+ },
9730
+ {
9731
+ document_url: '/test',
9732
+ document_filename: 'More information about Whisky Islay',
9733
+ document_binary_url: '/test/binary',
9734
+ attribute_path: '',
9735
+ upload_timestamp: ''
9736
+ }
9737
+ ],
9738
+ sub_categories: []
9739
+ },
9740
+ {
9741
+ category_id: 'WhiskySpeyside',
9742
+ category_name: 'Speyside',
9743
+ category_order: 4,
9744
+ documents: [],
9745
+ sub_categories: []
9746
+ },
9747
+ {
9748
+ category_id: 'WhiskyCampbeltown',
9749
+ category_name: 'Campbeltown',
9750
+ category_order: 5,
9751
+ documents: [],
9752
+ sub_categories: []
9753
+ }
9754
+ ]
9755
+ }
9756
+ ]
9757
+ }
9758
+ ],
9759
+ uncategorised_documents: [
9760
+ {
9761
+ document_url: '/uncategorised-document-1',
9762
+ document_filename: 'Uncategorised document 1',
9763
+ document_binary_url: '/test/binary',
9764
+ attribute_path: '',
9765
+ upload_timestamp: ''
9766
+ },
9767
+ {
9768
+ document_url: '/uncategorised-document-2',
9769
+ document_filename: 'Uncategorised document 2',
9770
+ document_binary_url: '/test/binary',
9771
+ attribute_path: '',
9772
+ upload_timestamp: ''
9773
+ }
9774
+ ]
9775
+ };
9776
+
9777
+ function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template(rf, ctx) {
9585
9778
  if (rf & 1) {
9586
9779
  i0__namespace.ɵɵelementContainerStart(0);
9587
- i0__namespace.ɵɵelementStart(1, "div", 6);
9780
+ i0__namespace.ɵɵelementStart(1, "div", 4);
9588
9781
  i0__namespace.ɵɵtext(2);
9589
9782
  i0__namespace.ɵɵelementEnd();
9590
9783
  i0__namespace.ɵɵelementContainerEnd();
9591
9784
  }
9592
9785
  if (rf & 2) {
9593
- var ctx_r2 = i0__namespace.ɵɵnextContext(2);
9786
+ var ctx_r1 = i0__namespace.ɵɵnextContext(2);
9594
9787
  i0__namespace.ɵɵadvance(2);
9595
- i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
9788
+ i0__namespace.ɵɵtextInterpolate(ctx_r1.title);
9596
9789
  }
9597
9790
  }
9598
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template(rf, ctx) {
9791
+ function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template(rf, ctx) {
9599
9792
  if (rf & 1) {
9600
- i0__namespace.ɵɵelement(0, "img", 10);
9793
+ i0__namespace.ɵɵelement(0, "img", 8);
9601
9794
  }
9602
9795
  if (rf & 2) {
9603
- var item_r4 = i0__namespace.ɵɵnextContext().$implicit;
9604
- var ctx_r5 = i0__namespace.ɵɵnextContext(2);
9605
- i0__namespace.ɵɵpropertyInterpolate1("alt", "", ctx_r5.title, " icon'");
9606
- i0__namespace.ɵɵproperty("src", item_r4.iconSrc, i0__namespace.ɵɵsanitizeUrl);
9796
+ var item_r3 = i0__namespace.ɵɵnextContext().$implicit;
9797
+ var ctx_r4 = i0__namespace.ɵɵnextContext(2);
9798
+ i0__namespace.ɵɵproperty("src", item_r3.iconSrc, i0__namespace.ɵɵsanitizeUrl)("alt", ctx_r4.title);
9607
9799
  }
9608
9800
  }
9609
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template(rf, ctx) {
9801
+ function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template(rf, ctx) {
9610
9802
  if (rf & 1) {
9611
- var _r8_1 = i0__namespace.ɵɵgetCurrentView();
9803
+ var _r7_1 = i0__namespace.ɵɵgetCurrentView();
9612
9804
  i0__namespace.ɵɵelementContainerStart(0);
9613
- i0__namespace.ɵɵelementStart(1, "div", 7);
9614
- 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(); });
9615
- i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template, 1, 2, "img", 8);
9616
- i0__namespace.ɵɵelementStart(3, "div", 9);
9805
+ i0__namespace.ɵɵelementStart(1, "div", 5);
9806
+ i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r7_1); var item_r3 = ctx.$implicit; var ctx_r6 = i0__namespace.ɵɵnextContext(2); item_r3.actionFn(); return ctx_r6.closeOverlay(); });
9807
+ i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template, 1, 2, "img", 6);
9808
+ i0__namespace.ɵɵelementStart(3, "div", 7);
9617
9809
  i0__namespace.ɵɵtext(4);
9618
9810
  i0__namespace.ɵɵelementEnd();
9619
9811
  i0__namespace.ɵɵelementEnd();
9620
9812
  i0__namespace.ɵɵelementContainerEnd();
9621
9813
  }
9622
9814
  if (rf & 2) {
9623
- var item_r4 = ctx.$implicit;
9815
+ var item_r3 = ctx.$implicit;
9624
9816
  i0__namespace.ɵɵadvance(2);
9625
- i0__namespace.ɵɵproperty("ngIf", item_r4.iconSrc);
9817
+ i0__namespace.ɵɵproperty("ngIf", item_r3.iconSrc);
9626
9818
  i0__namespace.ɵɵadvance(2);
9627
- i0__namespace.ɵɵtextInterpolate(item_r4.actionText);
9819
+ i0__namespace.ɵɵtextInterpolate(item_r3.actionText);
9628
9820
  }
9629
9821
  }
9630
- function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
9822
+ function CaseFileViewOverlayMenuComponent_ng_template_0_Template(rf, ctx) {
9631
9823
  if (rf & 1) {
9632
- i0__namespace.ɵɵelementStart(0, "div", 3);
9633
- i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template, 3, 1, "ng-container", 4);
9634
- i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template, 5, 2, "ng-container", 5);
9824
+ i0__namespace.ɵɵelementStart(0, "div", 1);
9825
+ i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template, 3, 1, "ng-container", 2);
9826
+ i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template, 5, 2, "ng-container", 3);
9635
9827
  i0__namespace.ɵɵelementEnd();
9636
9828
  }
9637
9829
  if (rf & 2) {
9638
- var ctx_r1 = i0__namespace.ɵɵnextContext();
9830
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
9639
9831
  i0__namespace.ɵɵadvance(1);
9640
- i0__namespace.ɵɵproperty("ngIf", ctx_r1.title);
9832
+ i0__namespace.ɵɵproperty("ngIf", ctx_r0.title);
9641
9833
  i0__namespace.ɵɵadvance(1);
9642
- i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
9834
+ i0__namespace.ɵɵproperty("ngForOf", ctx_r0.menuItems);
9643
9835
  }
9644
9836
  }
9645
- var _c0$G = [[["", "trigger", ""]]];
9646
- var _c1$h = ["[trigger]"];
9647
9837
  var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
9648
9838
  function CaseFileViewOverlayMenuComponent() {
9649
9839
  this.title = '';
@@ -9658,24 +9848,14 @@
9658
9848
  return CaseFileViewOverlayMenuComponent;
9659
9849
  }());
9660
9850
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
9661
- 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) {
9851
+ CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", cdkOverlayOrigin: "cdkOverlayOrigin", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, decls: 1, vars: 2, consts: [["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "overlayMenu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlayMenu__title"], [1, "overlayMenu__item", 3, "click"], ["class", "overlayMenu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlayMenu__actionText"], [1, "overlayMenu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
9662
9852
  if (rf & 1) {
9663
- i0__namespace.ɵɵprojectionDef(_c0$G);
9664
- i0__namespace.ɵɵelementStart(0, "div");
9665
- i0__namespace.ɵɵelementStart(1, "button", 0, 1);
9666
- i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener() { return ctx.isOpen = !ctx.isOpen; });
9667
- i0__namespace.ɵɵprojection(3);
9668
- i0__namespace.ɵɵelementEnd();
9669
- i0__namespace.ɵɵtemplate(4, CaseFileViewOverlayMenuComponent_ng_template_4_Template, 3, 2, "ng-template", 2);
9670
- i0__namespace.ɵɵlistener("backdropClick", function CaseFileViewOverlayMenuComponent_Template_ng_template_backdropClick_4_listener() { return ctx.closeOverlay(); });
9671
- i0__namespace.ɵɵelementEnd();
9853
+ i0__namespace.ɵɵtemplate(0, CaseFileViewOverlayMenuComponent_ng_template_0_Template, 3, 2, "ng-template", 0);
9672
9854
  }
9673
9855
  if (rf & 2) {
9674
- var _r0 = i0__namespace.ɵɵreference(2);
9675
- i0__namespace.ɵɵadvance(4);
9676
- i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
9856
+ i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", ctx.cdkOverlayOrigin)("cdkConnectedOverlayOpen", ctx.isOpen);
9677
9857
  }
9678
- }, 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}"] });
9858
+ }, directives: [i1__namespace$5.CdkConnectedOverlay, i1__namespace.NgIf, i1__namespace.NgForOf], styles: [".overlayMenu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlayMenu__item[_ngcontent-%COMP%], .overlayMenu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlayMenu__item[_ngcontent-%COMP%]:last-child, .overlayMenu__title[_ngcontent-%COMP%]:last-child{border:none}.overlayMenu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlayMenu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlayMenu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlayMenu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
9679
9859
  (function () {
9680
9860
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
9681
9861
  type: i0.Component,
@@ -9688,6 +9868,8 @@
9688
9868
  type: i0.Input
9689
9869
  }], menuItems: [{
9690
9870
  type: i0.Input
9871
+ }], cdkOverlayOrigin: [{
9872
+ type: i0.Input
9691
9873
  }], isOpen: [{
9692
9874
  type: i0.Input
9693
9875
  }], isOpenChange: [{
@@ -9706,10 +9888,12 @@
9706
9888
  { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
9707
9889
  ];
9708
9890
  }
9891
+ CaseFileViewFolderSortComponent.prototype.ngOnInit = function () {
9892
+ };
9709
9893
  return CaseFileViewFolderSortComponent;
9710
9894
  }());
9711
9895
  CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
9712
- 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) {
9896
+ CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 4, vars: 4, 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", "cdkOverlayOrigin", "isOpen", "isOpenChange"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
9713
9897
  if (rf & 1) {
9714
9898
  i0__namespace.ɵɵelementStart(0, "button", 0, 1);
9715
9899
  i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSortComponent_Template_button_click_0_listener() { return ctx.isOpen = !ctx.isOpen; });
@@ -9720,8 +9904,9 @@
9720
9904
  i0__namespace.ɵɵelementEnd();
9721
9905
  }
9722
9906
  if (rf & 2) {
9907
+ var _r0 = i0__namespace.ɵɵreference(1);
9723
9908
  i0__namespace.ɵɵadvance(3);
9724
- i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
9909
+ i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("cdkOverlayOrigin", _r0)("isOpen", ctx.isOpen);
9725
9910
  }
9726
9911
  }, 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}"] });
9727
9912
  (function () {
@@ -9739,72 +9924,17 @@
9739
9924
  }] });
9740
9925
  })();
9741
9926
 
9742
- var CaseFileViewFolderDocumentActionsComponent = /** @class */ (function () {
9743
- function CaseFileViewFolderDocumentActionsComponent() {
9744
- var _this = this;
9745
- this.isOpen = false;
9746
- this.changeFolderAction = new i0.EventEmitter();
9747
- this.openInANewTabAction = new i0.EventEmitter();
9748
- this.downloadAction = new i0.EventEmitter();
9749
- this.printAction = new i0.EventEmitter();
9750
- this.overlayMenuItems = [
9751
- { actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: function () { return _this.changeFolderAction.emit(); } },
9752
- { actionText: 'Open in a new tab', iconSrc: '/assets/img/case-file-view/document-menu/open_in_new.svg', actionFn: function () { return _this.openInANewTabAction.emit(); } },
9753
- { actionText: 'Download', iconSrc: '/assets/img/case-file-view/document-menu/download.svg', actionFn: function () { return _this.downloadAction.emit(); } },
9754
- { actionText: 'Print', iconSrc: '/assets/img/case-file-view/document-menu/print.svg', actionFn: function () { return _this.printAction.emit(); } },
9755
- ];
9756
- }
9757
- return CaseFileViewFolderDocumentActionsComponent;
9758
- }());
9759
- CaseFileViewFolderDocumentActionsComponent.ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(t) { return new (t || CaseFileViewFolderDocumentActionsComponent)(); };
9760
- 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) {
9761
- if (rf & 1) {
9762
- i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
9763
- i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
9764
- i0__namespace.ɵɵelementContainerStart(1, 1);
9765
- i0__namespace.ɵɵelement(2, "img", 2);
9766
- i0__namespace.ɵɵelementContainerEnd();
9767
- i0__namespace.ɵɵelementEnd();
9768
- }
9769
- if (rf & 2) {
9770
- i0__namespace.ɵɵproperty("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
9771
- }
9772
- }, directives: [CaseFileViewOverlayMenuComponent], styles: [".actions-trigger-icon[_ngcontent-%COMP%]{display:block;height:24px;margin-right:-5px}"] });
9773
- (function () {
9774
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderDocumentActionsComponent, [{
9775
- type: i0.Component,
9776
- args: [{
9777
- selector: 'ccd-case-file-view-folder-document-actions',
9778
- templateUrl: './case-file-view-folder-document-actions.component.html',
9779
- styleUrls: ['./case-file-view-folder-document-actions.component.scss']
9780
- }]
9781
- }], function () { return []; }, { changeFolderAction: [{
9782
- type: i0.Output
9783
- }], openInANewTabAction: [{
9784
- type: i0.Output
9785
- }], downloadAction: [{
9786
- type: i0.Output
9787
- }], printAction: [{
9788
- type: i0.Output
9789
- }] });
9790
- })();
9791
-
9927
+ var _c0$G = ["tree"];
9792
9928
  function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
9793
9929
  if (rf & 1) {
9794
- var _r4_1 = i0__namespace.ɵɵgetCurrentView();
9795
9930
  i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
9796
- i0__namespace.ɵɵelementStart(1, "button", 8);
9797
- i0__namespace.ɵɵelementStart(2, "div", 9);
9931
+ i0__namespace.ɵɵelementStart(1, "div", 8);
9932
+ i0__namespace.ɵɵelementStart(2, "button", 9);
9798
9933
  i0__namespace.ɵɵelement(3, "img", 10);
9799
9934
  i0__namespace.ɵɵelementEnd();
9800
9935
  i0__namespace.ɵɵelementStart(4, "span", 11);
9801
9936
  i0__namespace.ɵɵtext(5);
9802
9937
  i0__namespace.ɵɵelementEnd();
9803
- i0__namespace.ɵɵelementStart(6, "div", 12);
9804
- i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 13);
9805
- i0__namespace.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.triggerDocumentAction("changeFolder"); })("openInANewTabAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.triggerDocumentAction("openInANewTab"); })("downloadAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.triggerDocumentAction("download"); })("printAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.triggerDocumentAction("print"); });
9806
- i0__namespace.ɵɵelementEnd();
9807
- i0__namespace.ɵɵelementEnd();
9808
9938
  i0__namespace.ɵɵelementEnd();
9809
9939
  i0__namespace.ɵɵelementEnd();
9810
9940
  }
@@ -9817,33 +9947,33 @@
9817
9947
  function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) {
9818
9948
  if (rf & 1) {
9819
9949
  i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
9820
- i0__namespace.ɵɵelementStart(1, "button", 14);
9821
- i0__namespace.ɵɵelementStart(2, "div", 15);
9822
- i0__namespace.ɵɵelement(3, "img", 16);
9823
- i0__namespace.ɵɵelementStart(4, "span", 17);
9950
+ i0__namespace.ɵɵelementStart(1, "div", 12);
9951
+ i0__namespace.ɵɵelementStart(2, "button", 13);
9952
+ i0__namespace.ɵɵelement(3, "img", 14);
9953
+ i0__namespace.ɵɵelementStart(4, "span", 15);
9824
9954
  i0__namespace.ɵɵtext(5);
9825
9955
  i0__namespace.ɵɵelementEnd();
9826
9956
  i0__namespace.ɵɵelementEnd();
9827
- i0__namespace.ɵɵelementStart(6, "span", 18);
9957
+ i0__namespace.ɵɵelementStart(6, "span", 16);
9828
9958
  i0__namespace.ɵɵtext(7);
9829
9959
  i0__namespace.ɵɵelementEnd();
9830
9960
  i0__namespace.ɵɵelementEnd();
9831
9961
  i0__namespace.ɵɵelementStart(8, "div");
9832
- i0__namespace.ɵɵelementContainer(9, 19);
9962
+ i0__namespace.ɵɵelementContainer(9, 17);
9833
9963
  i0__namespace.ɵɵelementEnd();
9834
9964
  i0__namespace.ɵɵelementEnd();
9835
9965
  }
9836
9966
  if (rf & 2) {
9837
- var node_r8 = ctx.$implicit;
9967
+ var node_r3 = ctx.$implicit;
9838
9968
  var ctx_r1 = i0__namespace.ɵɵnextContext();
9839
9969
  i0__namespace.ɵɵadvance(2);
9840
- i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r8.name);
9970
+ i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r3.name);
9841
9971
  i0__namespace.ɵɵadvance(3);
9842
- i0__namespace.ɵɵtextInterpolate(node_r8.childDocumentCount);
9972
+ i0__namespace.ɵɵtextInterpolate(node_r3.childDocumentCount);
9843
9973
  i0__namespace.ɵɵadvance(2);
9844
- i0__namespace.ɵɵtextInterpolate(node_r8.name);
9974
+ i0__namespace.ɵɵtextInterpolate(node_r3.name);
9845
9975
  i0__namespace.ɵɵadvance(1);
9846
- i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r8));
9976
+ i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
9847
9977
  }
9848
9978
  }
9849
9979
  var CaseFileViewFolderComponent = /** @class */ (function () {
@@ -9853,6 +9983,21 @@
9853
9983
  this.nestedChildren = function (_, nodeData) { return nodeData.children; };
9854
9984
  this.nestedTreeControl = new i2.NestedTreeControl(this.getChildren);
9855
9985
  }
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
+ });
9856
10001
  CaseFileViewFolderComponent.prototype.ngOnInit = function () {
9857
10002
  var _this = this;
9858
10003
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
@@ -9905,24 +10050,6 @@
9905
10050
  uncategorisedNode.children = documents;
9906
10051
  return uncategorisedNode;
9907
10052
  };
9908
- CaseFileViewFolderComponent.prototype.triggerDocumentAction = function (actionType) {
9909
- switch (actionType) {
9910
- case ('changeFolder'):
9911
- console.log('changeFolder!');
9912
- break;
9913
- case ('openInANewTab'):
9914
- console.log('openInANewTab!');
9915
- break;
9916
- case ('download'):
9917
- console.log('download!');
9918
- break;
9919
- case ('print'):
9920
- console.log('print!');
9921
- break;
9922
- default:
9923
- return;
9924
- }
9925
- };
9926
10053
  CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
9927
10054
  var sortedData = this.nestedDataSource.map(function (item) {
9928
10055
  item.sortChildrenAscending();
@@ -9968,188 +10095,25 @@
9968
10095
  newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
9969
10096
  };
9970
10097
  CaseFileViewFolderComponent.prototype.loadCategories = function () {
9971
- return [
9972
- {
9973
- category_id: 'Beers',
9974
- category_name: 'Beers',
9975
- category_order: 1,
9976
- documents: [
9977
- {
9978
- document_url: '/test',
9979
- document_filename: 'Lager encyclopedia',
9980
- document_binary_url: '/test/binary',
9981
- attribute_path: '',
9982
- upload_timestamp: ''
9983
- },
9984
- {
9985
- document_url: '/test',
9986
- document_filename: 'Beers encyclopedia',
9987
- document_binary_url: '/test/binary',
9988
- attribute_path: '',
9989
- upload_timestamp: ''
9990
- },
9991
- {
9992
- document_url: '/test',
9993
- document_filename: 'Ale encyclopedia',
9994
- document_binary_url: '/test/binary',
9995
- attribute_path: '',
9996
- upload_timestamp: ''
9997
- }
9998
- ],
9999
- sub_categories: [
10000
- {
10001
- category_id: 'BeersBitters',
10002
- category_name: 'Bitters',
10003
- category_order: 1,
10004
- documents: [],
10005
- sub_categories: []
10006
- },
10007
- {
10008
- category_id: 'BeersAmerican',
10009
- category_name: 'American',
10010
- category_order: 2,
10011
- documents: [],
10012
- sub_categories: []
10013
- },
10014
- {
10015
- category_id: 'BeersAsian',
10016
- category_name: 'Asian',
10017
- category_order: 3,
10018
- documents: [],
10019
- sub_categories: []
10020
- }
10021
- ]
10022
- },
10023
- {
10024
- category_id: 'Wines',
10025
- category_name: 'Wines',
10026
- category_order: 2,
10027
- documents: [],
10028
- sub_categories: [
10029
- {
10030
- category_id: 'WinesFrench',
10031
- category_name: 'French',
10032
- category_order: 1,
10033
- documents: [],
10034
- sub_categories: []
10035
- },
10036
- {
10037
- category_id: 'WinesItalian',
10038
- category_name: 'Italian',
10039
- category_order: 2,
10040
- documents: [],
10041
- sub_categories: []
10042
- }
10043
- ]
10044
- },
10045
- {
10046
- category_id: 'Spirits',
10047
- category_name: 'Spirits',
10048
- category_order: 3,
10049
- documents: [],
10050
- sub_categories: [
10051
- {
10052
- category_id: 'SpiritsWhisky',
10053
- category_name: 'Scotch whisky',
10054
- category_order: 1,
10055
- documents: [],
10056
- sub_categories: [
10057
- {
10058
- category_id: 'WhiskyHighland',
10059
- category_name: 'Highland',
10060
- category_order: 1,
10061
- documents: [],
10062
- sub_categories: [
10063
- {
10064
- category_id: 'WhiskyHighland1',
10065
- category_name: 'Highland 1',
10066
- category_order: 1,
10067
- documents: [],
10068
- sub_categories: []
10069
- }
10070
- ]
10071
- },
10072
- {
10073
- category_id: 'WhiskyLowland',
10074
- category_name: 'Lowland',
10075
- category_order: 2,
10076
- documents: [],
10077
- sub_categories: [
10078
- {
10079
- category_id: 'WhiskyLowland1',
10080
- category_name: 'Lowland 1',
10081
- category_order: 1,
10082
- documents: [
10083
- {
10084
- document_url: '/test',
10085
- document_filename: 'Details about Whisky Lowland 1',
10086
- document_binary_url: '/test/binary',
10087
- attribute_path: '',
10088
- upload_timestamp: ''
10089
- }
10090
- ],
10091
- sub_categories: []
10092
- },
10093
- {
10094
- category_id: 'WhiskyLowland2',
10095
- category_name: 'Lowland 2',
10096
- category_order: 2,
10097
- documents: [],
10098
- sub_categories: []
10099
- }
10100
- ]
10101
- },
10102
- {
10103
- category_id: 'WhiskyIslay',
10104
- category_name: 'Islay',
10105
- category_order: 3,
10106
- documents: [
10107
- {
10108
- document_url: '/test',
10109
- document_filename: 'Details about Whisky Islay',
10110
- document_binary_url: '/test/binary',
10111
- attribute_path: '',
10112
- upload_timestamp: ''
10113
- },
10114
- {
10115
- document_url: '/test',
10116
- document_filename: 'More information about Whisky Islay',
10117
- document_binary_url: '/test/binary',
10118
- attribute_path: '',
10119
- upload_timestamp: ''
10120
- }
10121
- ],
10122
- sub_categories: []
10123
- },
10124
- {
10125
- category_id: 'WhiskySpeyside',
10126
- category_name: 'Speyside',
10127
- category_order: 4,
10128
- documents: [],
10129
- sub_categories: []
10130
- },
10131
- {
10132
- category_id: 'WhiskyCampbeltown',
10133
- category_name: 'Campbeltown',
10134
- category_order: 5,
10135
- documents: [],
10136
- sub_categories: []
10137
- }
10138
- ]
10139
- }
10140
- ]
10141
- }
10142
- ];
10098
+ return categoriesAndDocumentsTestData.categories;
10143
10099
  };
10144
10100
  return CaseFileViewFolderComponent;
10145
10101
  }());
10146
10102
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
10147
10103
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
10148
- CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 9, vars: 3, 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"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], ["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) {
10104
+ CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) {
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) {
10149
10113
  if (rf & 1) {
10150
10114
  i0__namespace.ɵɵelementStart(0, "div", 0);
10151
10115
  i0__namespace.ɵɵelementStart(1, "div", 1);
10152
- i0__namespace.ɵɵtext(2, "Documents");
10116
+ i0__namespace.ɵɵtext(2);
10153
10117
  i0__namespace.ɵɵelementEnd();
10154
10118
  i0__namespace.ɵɵelementStart(3, "div");
10155
10119
  i0__namespace.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
@@ -10159,18 +10123,20 @@
10159
10123
  i0__namespace.ɵɵelementEnd();
10160
10124
  i0__namespace.ɵɵelementStart(5, "div", 3);
10161
10125
  i0__namespace.ɵɵelementStart(6, "cdk-tree", 4);
10162
- i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 8, 1, "cdk-nested-tree-node", 5);
10126
+ i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 6, 1, "cdk-nested-tree-node", 5);
10163
10127
  i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 10, 5, "cdk-nested-tree-node", 6);
10164
10128
  i0__namespace.ɵɵelementEnd();
10165
10129
  i0__namespace.ɵɵelementEnd();
10166
10130
  }
10167
10131
  if (rf & 2) {
10168
- i0__namespace.ɵɵadvance(6);
10132
+ i0__namespace.ɵɵadvance(2);
10133
+ i0__namespace.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
10134
+ i0__namespace.ɵɵadvance(4);
10169
10135
  i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
10170
10136
  i0__namespace.ɵɵadvance(2);
10171
10137
  i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
10172
10138
  }
10173
- }, directives: [CaseFileViewFolderSortComponent, i2__namespace.CdkTree, i2__namespace.CdkTreeNodeDef, i2__namespace.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i2__namespace.CdkTreeNodeToggle, i2__namespace.CdkTreeNodeOutlet], styles: [".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}.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}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__iconImg[_ngcontent-%COMP%]{display:block;height:24px;width:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;padding-top:4px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
10139
+ }, directives: [CaseFileViewFolderSortComponent, i2__namespace.CdkTree, i2__namespace.CdkTreeNodeDef, i2__namespace.CdkNestedTreeNode, i2__namespace.CdkTreeNodeToggle, i2__namespace.CdkTreeNodeOutlet], styles: [".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}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0}.node__iconImg[_ngcontent-%COMP%]{display:block;height:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;padding-top:4px}.node__name[_ngcontent-%COMP%]{margin-left:6px}"] });
10174
10140
  (function () {
10175
10141
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
10176
10142
  type: i0.Component,
@@ -10181,6 +10147,9 @@
10181
10147
  }]
10182
10148
  }], function () { return []; }, { categoriesAndDocuments: [{
10183
10149
  type: i0.Input
10150
+ }], tree: [{
10151
+ type: i0.ViewChild,
10152
+ args: ['tree', { static: true }]
10184
10153
  }] });
10185
10154
  })();
10186
10155
 
@@ -10220,7 +10189,7 @@
10220
10189
  }());
10221
10190
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
10222
10191
  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)); };
10223
- CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 8, vars: 1, consts: [[1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [3, "categoriesAndDocuments"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
10192
+ CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 8, vars: 4, consts: [[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) {
10224
10193
  if (rf & 1) {
10225
10194
  i0__namespace.ɵɵelementStart(0, "h2", 0);
10226
10195
  i0__namespace.ɵɵtext(1, "Case file");
@@ -10231,15 +10200,17 @@
10231
10200
  i0__namespace.ɵɵelementEnd();
10232
10201
  i0__namespace.ɵɵelement(5, "div", 4);
10233
10202
  i0__namespace.ɵɵelementStart(6, "div", 5);
10234
- i0__namespace.ɵɵtext(7, " Media viewer ");
10203
+ i0__namespace.ɵɵelement(7, "mv-media-viewer", 6);
10235
10204
  i0__namespace.ɵɵelementEnd();
10236
10205
  i0__namespace.ɵɵelementEnd();
10237
10206
  }
10238
10207
  if (rf & 2) {
10239
10208
  i0__namespace.ɵɵadvance(4);
10240
10209
  i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx.categoriesAndDocuments$);
10210
+ i0__namespace.ɵɵadvance(3);
10211
+ i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
10241
10212
  }
10242
- }, directives: [CaseFileViewFolderComponent], 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%}"] });
10213
+ }, directives: [CaseFileViewFolderComponent, i4__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%}"] });
10243
10214
  (function () {
10244
10215
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
10245
10216
  type: i0.Component,
@@ -12161,7 +12132,7 @@
12161
12132
  };
12162
12133
  return DatetimePickerComponent;
12163
12134
  }(AbstractFormFieldComponent));
12164
- DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4.NGX_MAT_DATE_FORMATS)); };
12135
+ DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4$1.NGX_MAT_DATE_FORMATS)); };
12165
12136
  DatetimePickerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
12166
12137
  if (rf & 1) {
12167
12138
  i0__namespace.ɵɵviewQuery(_c0$B, 1);
@@ -12173,8 +12144,8 @@
12173
12144
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
12174
12145
  }
12175
12146
  }, inputs: { dateControl: "dateControl" }, features: [i0__namespace.ɵɵProvidersFeature([
12176
- { provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
12177
- { provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
12147
+ { provide: i4$1.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
12148
+ { provide: i4$1.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
12178
12149
  { provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
12179
12150
  ]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 14, vars: 26, consts: [[1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "min", "max", "formControl", "ngxMatDatetimePicker", "focusin", "focusout", "dateChange"], ["input", ""], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian", "yearSelected", "monthSelected", "opened"], ["picker", ""], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) {
12180
12151
  if (rf & 1) {
@@ -12220,7 +12191,7 @@
12220
12191
  i0__namespace.ɵɵadvance(1);
12221
12192
  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);
12222
12193
  }
12223
- }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
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 });
12224
12195
  (function () {
12225
12196
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
12226
12197
  type: i0.Component,
@@ -12230,15 +12201,15 @@
12230
12201
  styleUrls: ['./datetime-picker.component.scss'],
12231
12202
  encapsulation: i0.ViewEncapsulation.None,
12232
12203
  providers: [
12233
- { provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
12234
- { provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
12204
+ { provide: i4$1.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
12205
+ { provide: i4$1.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
12235
12206
  { provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
12236
12207
  ]
12237
12208
  }]
12238
12209
  }], function () {
12239
12210
  return [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
12240
12211
  type: i0.Inject,
12241
- args: [i4.NGX_MAT_DATE_FORMATS]
12212
+ args: [i4$1.NGX_MAT_DATE_FORMATS]
12242
12213
  }] }];
12243
12214
  }, { datetimePicker: [{
12244
12215
  type: i0.ViewChild,
@@ -20053,8 +20024,7 @@
20053
20024
  CaseFileViewFieldComponent,
20054
20025
  CaseFileViewFolderComponent,
20055
20026
  CaseFileViewFolderSortComponent,
20056
- CaseFileViewOverlayMenuComponent,
20057
- CaseFileViewFolderDocumentActionsComponent
20027
+ CaseFileViewOverlayMenuComponent
20058
20028
  ];
20059
20029
  var PaletteModule = /** @class */ (function () {
20060
20030
  function PaletteModule() {
@@ -20087,9 +20057,9 @@
20087
20057
  TabsModule,
20088
20058
  LabelSubstitutorModule,
20089
20059
  i1$4.NgxMdModule,
20090
- i4.NgxMatDatetimePickerModule,
20091
- i4.NgxMatTimepickerModule,
20092
- i4.NgxMatNativeDateModule,
20060
+ i4$1.NgxMatDatetimePickerModule,
20061
+ i4$1.NgxMatTimepickerModule,
20062
+ i4$1.NgxMatNativeDateModule,
20093
20063
  i6.MatFormFieldModule,
20094
20064
  input.MatInputModule,
20095
20065
  i5.MatDatepickerModule,
@@ -20097,10 +20067,11 @@
20097
20067
  i2.CdkTreeModule,
20098
20068
  i1$5.OverlayModule,
20099
20069
  i3.PaymentLibModule,
20100
- i2$1.ScrollToModule.forRoot()
20101
- ], i4.NgxMatDatetimePickerModule,
20102
- i4.NgxMatNativeDateModule,
20103
- i4.NgxMatTimepickerModule,
20070
+ i2$1.ScrollToModule.forRoot(),
20071
+ i4.MediaViewerModule
20072
+ ], i4$1.NgxMatDatetimePickerModule,
20073
+ i4$1.NgxMatNativeDateModule,
20074
+ i4$1.NgxMatTimepickerModule,
20104
20075
  TabsModule,
20105
20076
  PaletteUtilsModule,
20106
20077
  PipesModule] });
@@ -20182,8 +20153,7 @@
20182
20153
  CaseFileViewFieldComponent,
20183
20154
  CaseFileViewFolderComponent,
20184
20155
  CaseFileViewFolderSortComponent,
20185
- CaseFileViewOverlayMenuComponent,
20186
- CaseFileViewFolderDocumentActionsComponent], imports: [i1.CommonModule,
20156
+ CaseFileViewOverlayMenuComponent, CaseFileViewOverlayMenuComponent], imports: [i1.CommonModule,
20187
20157
  i1$1.RouterModule,
20188
20158
  i1$2.FormsModule,
20189
20159
  i1$2.ReactiveFormsModule,
@@ -20197,18 +20167,18 @@
20197
20167
  TabsModule,
20198
20168
  LabelSubstitutorModule,
20199
20169
  i1$4.NgxMdModule,
20200
- i4.NgxMatDatetimePickerModule,
20201
- i4.NgxMatTimepickerModule,
20202
- i4.NgxMatNativeDateModule,
20170
+ i4$1.NgxMatDatetimePickerModule,
20171
+ i4$1.NgxMatTimepickerModule,
20172
+ i4$1.NgxMatNativeDateModule,
20203
20173
  i6.MatFormFieldModule,
20204
20174
  input.MatInputModule,
20205
20175
  i5.MatDatepickerModule,
20206
20176
  i5$1.MatAutocompleteModule,
20207
20177
  i2.CdkTreeModule,
20208
20178
  i1$5.OverlayModule,
20209
- i3.PaymentLibModule, i2__namespace$1.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
20210
- i4.NgxMatNativeDateModule,
20211
- i4.NgxMatTimepickerModule,
20179
+ i3.PaymentLibModule, i2__namespace$1.ScrollToModule, i4.MediaViewerModule], exports: [i4$1.NgxMatDatetimePickerModule,
20180
+ i4$1.NgxMatNativeDateModule,
20181
+ i4$1.NgxMatTimepickerModule,
20212
20182
  TabsModule,
20213
20183
  PaletteUtilsModule,
20214
20184
  PipesModule, UnsupportedFieldComponent,
@@ -20284,8 +20254,7 @@
20284
20254
  CaseFileViewFieldComponent,
20285
20255
  CaseFileViewFolderComponent,
20286
20256
  CaseFileViewFolderSortComponent,
20287
- CaseFileViewOverlayMenuComponent,
20288
- CaseFileViewFolderDocumentActionsComponent] });
20257
+ CaseFileViewOverlayMenuComponent] });
20289
20258
  })();
20290
20259
  (function () {
20291
20260
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -20306,9 +20275,9 @@
20306
20275
  TabsModule,
20307
20276
  LabelSubstitutorModule,
20308
20277
  i1$4.NgxMdModule,
20309
- i4.NgxMatDatetimePickerModule,
20310
- i4.NgxMatTimepickerModule,
20311
- i4.NgxMatNativeDateModule,
20278
+ i4$1.NgxMatDatetimePickerModule,
20279
+ i4$1.NgxMatTimepickerModule,
20280
+ i4$1.NgxMatNativeDateModule,
20312
20281
  i6.MatFormFieldModule,
20313
20282
  input.MatInputModule,
20314
20283
  i5.MatDatepickerModule,
@@ -20316,7 +20285,8 @@
20316
20285
  i2.CdkTreeModule,
20317
20286
  i1$5.OverlayModule,
20318
20287
  i3.PaymentLibModule,
20319
- i2$1.ScrollToModule.forRoot()
20288
+ i2$1.ScrollToModule.forRoot(),
20289
+ i4.MediaViewerModule
20320
20290
  ],
20321
20291
  declarations: __spread([
20322
20292
  FixedListPipe,
@@ -20324,11 +20294,13 @@
20324
20294
  DynamicListPipe,
20325
20295
  DynamicRadioListPipe,
20326
20296
  DocumentUrlPipe
20327
- ], PALETTE_COMPONENTS),
20297
+ ], PALETTE_COMPONENTS, [
20298
+ CaseFileViewOverlayMenuComponent,
20299
+ ]),
20328
20300
  exports: __spread([
20329
- i4.NgxMatDatetimePickerModule,
20330
- i4.NgxMatNativeDateModule,
20331
- i4.NgxMatTimepickerModule,
20301
+ i4$1.NgxMatDatetimePickerModule,
20302
+ i4$1.NgxMatNativeDateModule,
20303
+ i4$1.NgxMatTimepickerModule,
20332
20304
  TabsModule,
20333
20305
  PaletteUtilsModule,
20334
20306
  PipesModule
@@ -21199,7 +21171,7 @@
21199
21171
  i0__namespace.ɵɵadvance(3);
21200
21172
  i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
21201
21173
  }
21202
- }, directives: [i1__namespace$7.PaginationControlsDirective, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
21174
+ }, directives: [i1__namespace$7.PaginationControlsDirective, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\";border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\";border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
21203
21175
  (function () {
21204
21176
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
21205
21177
  type: i0.Component,
@@ -28831,7 +28803,6 @@
28831
28803
  exports.CaseFieldService = CaseFieldService;
28832
28804
  exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
28833
28805
  exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
28834
- exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
28835
28806
  exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
28836
28807
  exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
28837
28808
  exports.CaseFileViewService = CaseFileViewService;