@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-document-count → 5.0.25-case-file-view-document-tree-functionalities-v2

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 (46) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +260 -789
  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/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +15 -19
  6. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
  7. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +116 -321
  8. package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +1 -4
  9. package/esm2015/lib/shared/components/palette/palette.module.js +4 -20
  10. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
  11. package/esm2015/lib/shared/components/search-result/search-result.component.js +43 -43
  12. package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +6 -0
  13. package/esm2015/lib/shared/domain/case-file-view/index.js +2 -2
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +240 -724
  15. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  16. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +1 -1
  17. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
  18. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +10 -7
  19. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/case-file-view/components/index.d.ts +0 -3
  21. package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
  22. package/lib/shared/components/palette/palette.module.d.ts +22 -26
  23. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  24. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +11 -0
  25. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +1 -0
  26. package/lib/shared/domain/case-file-view/index.d.ts +1 -1
  27. package/lib/shared/domain/case-file-view/index.d.ts.map +1 -1
  28. package/package.json +1 -1
  29. 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
  30. 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 +0 -38
  31. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.js +0 -2
  32. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +0 -100
  33. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/index.js +0 -2
  34. package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +0 -93
  35. 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
  36. 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
  37. 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 +0 -13
  38. 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 +0 -1
  39. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts +0 -6
  40. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts.map +0 -1
  41. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +0 -13
  42. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts.map +0 -1
  43. package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts +0 -2
  44. package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts.map +0 -1
  45. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +0 -10
  46. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.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/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/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.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, i3, i1$5, i2, i4, momentAdapter, i5, i6, i5$1, i6$1, i3$1, i6$2, input, i1$6, i10) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -33,18 +33,17 @@
33
33
  var ___namespace = /*#__PURE__*/_interopNamespace(_);
34
34
  var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
35
35
  var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
36
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
36
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
37
37
  var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
38
- var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
39
- var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
38
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
40
39
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
41
40
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
42
41
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
43
42
  var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
44
43
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
45
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
44
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
46
45
  var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
47
- var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$7);
46
+ var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
48
47
  var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
49
48
 
50
49
  function FooterComponent_div_2_Template(rf, ctx) {
@@ -116,17 +115,17 @@
116
115
  i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
117
116
  }
118
117
  }
119
- var _c0$R = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
120
- var _c1$o = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
118
+ var _c0$P = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
119
+ var _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
121
120
  var FooterComponent = /** @class */ (function () {
122
121
  function FooterComponent() {
123
122
  }
124
123
  return FooterComponent;
125
124
  }());
126
125
  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) {
126
+ 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
127
  if (rf & 1) {
129
- i0__namespace.ɵɵprojectionDef(_c0$R);
128
+ i0__namespace.ɵɵprojectionDef(_c0$P);
130
129
  i0__namespace.ɵɵelementStart(0, "footer", 0);
131
130
  i0__namespace.ɵɵelementStart(1, "div", 1);
132
131
  i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
@@ -205,8 +204,8 @@
205
204
  i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
206
205
  }
207
206
  }
208
- var _c0$Q = [[["", "headerNavigation", ""]]];
209
- var _c1$n = ["[headerNavigation]"];
207
+ var _c0$O = [[["", "headerNavigation", ""]]];
208
+ var _c1$m = ["[headerNavigation]"];
210
209
  var HeaderBarComponent = /** @class */ (function () {
211
210
  function HeaderBarComponent() {
212
211
  this.signOutRequest = new i0.EventEmitter();
@@ -217,9 +216,9 @@
217
216
  return HeaderBarComponent;
218
217
  }());
219
218
  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) {
219
+ 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
220
  if (rf & 1) {
222
- i0__namespace.ɵɵprojectionDef(_c0$Q);
221
+ i0__namespace.ɵɵprojectionDef(_c0$O);
223
222
  i0__namespace.ɵɵelementStart(0, "header", 0);
224
223
  i0__namespace.ɵɵelementStart(1, "div", 1);
225
224
  i0__namespace.ɵɵelementStart(2, "div", 2);
@@ -280,17 +279,17 @@
280
279
  }] });
281
280
  })();
282
281
 
283
- var _c0$P = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
284
- var _c1$m = ["[leftNavLinks]", "[rightNavLinks]"];
282
+ var _c0$N = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
283
+ var _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
285
284
  var NavigationComponent = /** @class */ (function () {
286
285
  function NavigationComponent() {
287
286
  }
288
287
  return NavigationComponent;
289
288
  }());
290
289
  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) {
290
+ 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
291
  if (rf & 1) {
293
- i0__namespace.ɵɵprojectionDef(_c0$P);
292
+ i0__namespace.ɵɵprojectionDef(_c0$N);
294
293
  i0__namespace.ɵɵelementStart(0, "div");
295
294
  i0__namespace.ɵɵelementStart(1, "nav", 0);
296
295
  i0__namespace.ɵɵprojection(2);
@@ -435,17 +434,17 @@
435
434
  }], null, null);
436
435
  })();
437
436
 
438
- var _c0$O = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
439
- var _c1$l = ["[topBody]", "[leftBody]", "[rightBody]"];
437
+ var _c0$M = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
438
+ var _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
440
439
  var BodyComponent = /** @class */ (function () {
441
440
  function BodyComponent() {
442
441
  }
443
442
  return BodyComponent;
444
443
  }());
445
444
  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) {
445
+ 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
446
  if (rf & 1) {
448
- i0__namespace.ɵɵprojectionDef(_c0$O);
447
+ i0__namespace.ɵɵprojectionDef(_c0$M);
449
448
  i0__namespace.ɵɵelementStart(0, "div", 0);
450
449
  i0__namespace.ɵɵprojection(1);
451
450
  i0__namespace.ɵɵprojection(2, 1);
@@ -792,7 +791,7 @@
792
791
  return typeof state === "function" ? receiver === state : state.has(receiver);
793
792
  }
794
793
 
795
- var _c0$N = function (a0) { return { "govuk-input--error": a0 }; };
794
+ var _c0$L = function (a0) { return { "govuk-input--error": a0 }; };
796
795
  function DateInputComponent_div_16_Template(rf, ctx) {
797
796
  if (rf & 1) {
798
797
  var _r8_1 = i0__namespace.ɵɵgetCurrentView();
@@ -810,7 +809,7 @@
810
809
  i0__namespace.ɵɵadvance(1);
811
810
  i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
812
811
  i0__namespace.ɵɵadvance(2);
813
- i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r3.isInvalid));
812
+ i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r3.isInvalid));
814
813
  }
815
814
  }
816
815
  function DateInputComponent_div_17_Template(rf, ctx) {
@@ -830,7 +829,7 @@
830
829
  i0__namespace.ɵɵadvance(1);
831
830
  i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
832
831
  i0__namespace.ɵɵadvance(2);
833
- i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r4.isInvalid));
832
+ i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r4.isInvalid));
834
833
  }
835
834
  }
836
835
  function DateInputComponent_div_18_Template(rf, ctx) {
@@ -850,7 +849,7 @@
850
849
  i0__namespace.ɵɵadvance(1);
851
850
  i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
852
851
  i0__namespace.ɵɵadvance(2);
853
- i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r5.isInvalid));
852
+ i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r5.isInvalid));
854
853
  }
855
854
  }
856
855
  var DateInputComponent = /** @class */ (function () {
@@ -1084,15 +1083,15 @@
1084
1083
  i0__namespace.ɵɵadvance(2);
1085
1084
  i0__namespace.ɵɵproperty("for", ctx.dayId());
1086
1085
  i0__namespace.ɵɵadvance(2);
1087
- i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$N, ctx.isInvalid));
1086
+ i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$L, ctx.isInvalid));
1088
1087
  i0__namespace.ɵɵadvance(3);
1089
1088
  i0__namespace.ɵɵproperty("for", ctx.monthId());
1090
1089
  i0__namespace.ɵɵadvance(2);
1091
- i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$N, ctx.isInvalid));
1090
+ i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$L, ctx.isInvalid));
1092
1091
  i0__namespace.ɵɵadvance(3);
1093
1092
  i0__namespace.ɵɵproperty("for", ctx.yearId());
1094
1093
  i0__namespace.ɵɵadvance(2);
1095
- i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$N, ctx.isInvalid));
1094
+ i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$L, ctx.isInvalid));
1096
1095
  i0__namespace.ɵɵadvance(2);
1097
1096
  i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
1098
1097
  i0__namespace.ɵɵadvance(1);
@@ -1173,7 +1172,7 @@
1173
1172
  i0__namespace.ɵɵelementContainerEnd();
1174
1173
  }
1175
1174
  }
1176
- var _c0$M = ["*"];
1175
+ var _c0$K = ["*"];
1177
1176
  exports.AlertMessageType = void 0;
1178
1177
  (function (AlertMessageType) {
1179
1178
  AlertMessageType["WARNING"] = "warning";
@@ -1194,7 +1193,7 @@
1194
1193
  AlertComponent.TYPE_ERROR = 'error';
1195
1194
  AlertComponent.TYPE_INFORMATION = 'information';
1196
1195
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
1197
- AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$M, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
1196
+ AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$K, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
1198
1197
  if (rf & 1) {
1199
1198
  i0__namespace.ɵɵprojectionDef();
1200
1199
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1300,15 +1299,15 @@
1300
1299
  }], null, null);
1301
1300
  })();
1302
1301
 
1303
- var _c0$L = function (a0) { return { "js-hidden": a0 }; };
1304
- var _c1$k = ["*"];
1302
+ var _c0$J = function (a0) { return { "js-hidden": a0 }; };
1303
+ var _c1$j = ["*"];
1305
1304
  var TabComponent = /** @class */ (function () {
1306
1305
  function TabComponent() {
1307
1306
  }
1308
1307
  return TabComponent;
1309
1308
  }());
1310
1309
  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) {
1310
+ 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
1311
  if (rf & 1) {
1313
1312
  i0__namespace.ɵɵprojectionDef();
1314
1313
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1316,7 +1315,7 @@
1316
1315
  i0__namespace.ɵɵelementEnd();
1317
1316
  }
1318
1317
  if (rf & 2) {
1319
- i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$L, !ctx.selected));
1318
+ i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$J, !ctx.selected));
1320
1319
  i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
1321
1320
  }
1322
1321
  }, directives: [i1__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
@@ -1339,8 +1338,8 @@
1339
1338
  }] });
1340
1339
  })();
1341
1340
 
1342
- var _c0$K = ["tab"];
1343
- var _c1$j = function () { return ["."]; };
1341
+ var _c0$I = ["tab"];
1342
+ var _c1$i = function () { return ["."]; };
1344
1343
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1345
1344
  function TabsComponent_li_2_Template(rf, ctx) {
1346
1345
  if (rf & 1) {
@@ -1355,7 +1354,7 @@
1355
1354
  if (rf & 2) {
1356
1355
  var panel_r1 = ctx.$implicit;
1357
1356
  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));
1357
+ 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
1358
  i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1360
1359
  i0__namespace.ɵɵadvance(2);
1361
1360
  i0__namespace.ɵɵtextInterpolate(panel_r1.title);
@@ -1393,7 +1392,7 @@
1393
1392
  }
1394
1393
  }, viewQuery: function TabsComponent_Query(rf, ctx) {
1395
1394
  if (rf & 1) {
1396
- i0__namespace.ɵɵviewQuery(_c0$K, 1);
1395
+ i0__namespace.ɵɵviewQuery(_c0$I, 1);
1397
1396
  }
1398
1397
  if (rf & 2) {
1399
1398
  var _t = void 0;
@@ -1472,7 +1471,7 @@
1472
1471
  }], null, null);
1473
1472
  })();
1474
1473
 
1475
- var _c0$J = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1474
+ var _c0$H = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1476
1475
  var ActivityBannerComponent = /** @class */ (function () {
1477
1476
  function ActivityBannerComponent() {
1478
1477
  }
@@ -1493,7 +1492,7 @@
1493
1492
  i0__namespace.ɵɵelementEnd();
1494
1493
  }
1495
1494
  if (rf & 2) {
1496
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$J, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1495
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$H, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1497
1496
  i0__namespace.ɵɵadvance(2);
1498
1497
  i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
1499
1498
  i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
@@ -8859,7 +8858,7 @@
8859
8858
  return IsCompoundPipe;
8860
8859
  }());
8861
8860
  IsCompoundPipe.COMPOUND_TYPES = [
8862
- 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
8861
+ 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
8863
8862
  ];
8864
8863
  IsCompoundPipe.EXCLUDE = [
8865
8864
  'CaseLink', 'JudicialUser'
@@ -9203,7 +9202,7 @@
9203
9202
  }], null, null);
9204
9203
  })();
9205
9204
 
9206
- var _c0$I = ["writeComplexFieldComponent"];
9205
+ var _c0$G = ["writeComplexFieldComponent"];
9207
9206
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
9208
9207
  if (rf & 1) {
9209
9208
  i0__namespace.ɵɵelementStart(0, "span", 14);
@@ -9211,7 +9210,7 @@
9211
9210
  i0__namespace.ɵɵelementEnd();
9212
9211
  }
9213
9212
  }
9214
- var _c1$i = function (a0) { return { "form-group-error": a0 }; };
9213
+ var _c1$h = function (a0) { return { "form-group-error": a0 }; };
9215
9214
  var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
9216
9215
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
9217
9216
  if (rf & 1) {
@@ -9232,7 +9231,7 @@
9232
9231
  }
9233
9232
  if (rf & 2) {
9234
9233
  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));
9234
+ i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$h, ctx_r2.missingPostcode));
9236
9235
  i0__namespace.ɵɵadvance(1);
9237
9236
  i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
9238
9237
  i0__namespace.ɵɵadvance(3);
@@ -9417,7 +9416,7 @@
9417
9416
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
9418
9417
  WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
9419
9418
  if (rf & 1) {
9420
- i0__namespace.ɵɵviewQuery(_c0$I, 1);
9419
+ i0__namespace.ɵɵviewQuery(_c0$G, 1);
9421
9420
  i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
9422
9421
  }
9423
9422
  if (rf & 2) {
@@ -9481,369 +9480,85 @@
9481
9480
  return CategoriesAndDocuments;
9482
9481
  }());
9483
9482
 
9484
- var DocumentTreeNode = /** @class */ (function () {
9485
- function DocumentTreeNode() {
9486
- }
9487
- Object.defineProperty(DocumentTreeNode.prototype, "childDocumentCount", {
9488
- get: function () {
9489
- var countChildren = function (childNodes) {
9490
- var count = 0;
9491
- if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
9492
- var documents = childNodes.filter(function (item) { return item.type === 'document'; });
9493
- count += documents.length;
9494
- childNodes.forEach(function (children) {
9495
- count += countChildren(children.children);
9496
- });
9497
- }
9498
- return count;
9499
- };
9500
- return countChildren(this.children);
9501
- },
9502
- enumerable: false,
9503
- configurable: true
9504
- });
9505
- DocumentTreeNode.prototype.sortChildrenAscending = function () {
9506
- var _a, _b;
9507
- var sortAscending = function () {
9508
- return function (a, b) {
9509
- var nameA = a.name.toUpperCase(); // ignore upper and lowercase
9510
- var nameB = b.name.toUpperCase(); // ignore upper and lowercase
9511
- if (a.type === 'category' || b.type === 'category') {
9512
- return 0;
9513
- }
9514
- if (nameA < nameB) {
9515
- return -1;
9516
- }
9517
- if (nameA > nameB) {
9518
- return 1;
9519
- }
9520
- };
9521
- };
9522
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
9523
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
9524
- childNodes.sortChildrenAscending();
9525
- });
9526
- };
9527
- DocumentTreeNode.prototype.sortChildrenDescending = function () {
9528
- var _a, _b;
9529
- var sortDescending = function () {
9530
- return function (a, b) {
9531
- var nameA = a.name.toUpperCase(); // ignore upper and lowercase
9532
- var nameB = b.name.toUpperCase(); // ignore upper and lowercase
9533
- if (a.type === 'category' || b.type === 'category') {
9534
- return 0;
9535
- }
9536
- if (nameA > nameB) {
9537
- return -1;
9538
- }
9539
- if (nameA < nameB) {
9540
- return 1;
9541
- }
9542
- };
9543
- };
9544
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
9545
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
9546
- childNodes.sortChildrenDescending();
9547
- });
9548
- };
9549
- Object.defineProperty(DocumentTreeNode.prototype, "flattenedAll", {
9550
- get: function () {
9551
- var _a;
9552
- var flattenChildren = function (nodeChild) {
9553
- var _a;
9554
- var flattenedNodes = [];
9555
- flattenedNodes.push(nodeChild);
9556
- if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
9557
- // flattenedNodes.push(nodeChild);
9558
- nodeChild.children.forEach(function (child) {
9559
- flattenedNodes.push(flattenChildren(child));
9560
- });
9561
- }
9562
- return flattenedNodes.flat();
9563
- };
9564
- return __spread([
9565
- this
9566
- ], (_a = this.children) === null || _a === void 0 ? void 0 : _a.map(function (item) {
9567
- return flattenChildren(item);
9568
- }).flat());
9569
- },
9570
- enumerable: false,
9571
- configurable: true
9572
- });
9573
- return DocumentTreeNode;
9574
- }());
9575
- __decorate([
9576
- classTransformer.Type(function () { return DocumentTreeNode; }),
9577
- __metadata("design:type", Array)
9578
- ], DocumentTreeNode.prototype, "children", void 0);
9579
- __decorate([
9580
- classTransformer.Expose(),
9581
- __metadata("design:type", Object),
9582
- __metadata("design:paramtypes", [])
9583
- ], DocumentTreeNode.prototype, "childDocumentCount", null);
9483
+ var DocumentTreeNodeType;
9484
+ (function (DocumentTreeNodeType) {
9485
+ DocumentTreeNodeType["FOLDER"] = "folder";
9486
+ DocumentTreeNodeType["DOCUMENT"] = "document";
9487
+ })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
9584
9488
 
9585
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) {
9489
+ function CaseFileViewFolderComponent_div_5_div_1_Template(rf, ctx) {
9586
9490
  if (rf & 1) {
9587
- i0__namespace.ɵɵelementContainerStart(0);
9588
- i0__namespace.ɵɵelementStart(1, "div", 6);
9589
- i0__namespace.ɵɵtext(2);
9491
+ i0__namespace.ɵɵelementStart(0, "div");
9492
+ i0__namespace.ɵɵtext(1, " No results found ");
9590
9493
  i0__namespace.ɵɵelementEnd();
9591
- i0__namespace.ɵɵelementContainerEnd();
9592
- }
9593
- if (rf & 2) {
9594
- var ctx_r2 = i0__namespace.ɵɵnextContext(2);
9595
- i0__namespace.ɵɵadvance(2);
9596
- i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
9597
9494
  }
9598
9495
  }
9599
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template(rf, ctx) {
9496
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template(rf, ctx) {
9600
9497
  if (rf & 1) {
9601
- i0__namespace.ɵɵelement(0, "img", 10);
9602
- }
9603
- if (rf & 2) {
9604
- var item_r4 = i0__namespace.ɵɵnextContext().$implicit;
9605
- var ctx_r5 = i0__namespace.ɵɵnextContext(2);
9606
- i0__namespace.ɵɵpropertyInterpolate1("alt", "", ctx_r5.title, " icon'");
9607
- i0__namespace.ɵɵproperty("src", item_r4.iconSrc, i0__namespace.ɵɵsanitizeUrl);
9608
- }
9609
- }
9610
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template(rf, ctx) {
9611
- if (rf & 1) {
9612
- var _r8_1 = i0__namespace.ɵɵgetCurrentView();
9613
- i0__namespace.ɵɵelementContainerStart(0);
9614
- i0__namespace.ɵɵelementStart(1, "div", 7);
9615
- 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(); });
9616
- i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template, 1, 2, "img", 8);
9617
- i0__namespace.ɵɵelementStart(3, "div", 9);
9618
- i0__namespace.ɵɵtext(4);
9498
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
9499
+ i0__namespace.ɵɵelementStart(1, "div", 11);
9500
+ i0__namespace.ɵɵelementStart(2, "button", 12);
9501
+ i0__namespace.ɵɵelement(3, "img", 13);
9502
+ i0__namespace.ɵɵelementStart(4, "div", 14);
9503
+ i0__namespace.ɵɵtext(5);
9504
+ i0__namespace.ɵɵelementEnd();
9619
9505
  i0__namespace.ɵɵelementEnd();
9620
9506
  i0__namespace.ɵɵelementEnd();
9621
- i0__namespace.ɵɵelementContainerEnd();
9622
- }
9623
- if (rf & 2) {
9624
- var item_r4 = ctx.$implicit;
9625
- i0__namespace.ɵɵadvance(2);
9626
- i0__namespace.ɵɵproperty("ngIf", item_r4.iconSrc);
9627
- i0__namespace.ɵɵadvance(2);
9628
- i0__namespace.ɵɵtextInterpolate(item_r4.actionText);
9629
- }
9630
- }
9631
- function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
9632
- if (rf & 1) {
9633
- i0__namespace.ɵɵelementStart(0, "div", 3);
9634
- i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template, 3, 1, "ng-container", 4);
9635
- i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template, 5, 2, "ng-container", 5);
9636
9507
  i0__namespace.ɵɵelementEnd();
9637
9508
  }
9638
9509
  if (rf & 2) {
9639
- var ctx_r1 = i0__namespace.ɵɵnextContext();
9640
- i0__namespace.ɵɵadvance(1);
9641
- i0__namespace.ɵɵproperty("ngIf", ctx_r1.title);
9642
- i0__namespace.ɵɵadvance(1);
9643
- i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
9510
+ var node_r4 = ctx.$implicit;
9511
+ i0__namespace.ɵɵadvance(5);
9512
+ i0__namespace.ɵɵtextInterpolate(node_r4.name);
9644
9513
  }
9645
9514
  }
9646
- var _c0$H = [[["", "trigger", ""]]];
9647
- var _c1$h = ["[trigger]"];
9648
- var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
9649
- function CaseFileViewOverlayMenuComponent() {
9650
- this.title = '';
9651
- this.isOpen = false;
9652
- this.isOpenChange = new i0.EventEmitter();
9653
- }
9654
- CaseFileViewOverlayMenuComponent.prototype.closeOverlay = function () {
9655
- var isOpen = false;
9656
- this.isOpen = isOpen;
9657
- this.isOpenChange.emit(isOpen);
9658
- };
9659
- return CaseFileViewOverlayMenuComponent;
9660
- }());
9661
- CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
9662
- 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) {
9663
- if (rf & 1) {
9664
- i0__namespace.ɵɵprojectionDef(_c0$H);
9665
- i0__namespace.ɵɵelementStart(0, "div");
9666
- i0__namespace.ɵɵelementStart(1, "button", 0, 1);
9667
- i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener() { return ctx.isOpen = !ctx.isOpen; });
9668
- i0__namespace.ɵɵprojection(3);
9669
- i0__namespace.ɵɵelementEnd();
9670
- i0__namespace.ɵɵtemplate(4, CaseFileViewOverlayMenuComponent_ng_template_4_Template, 3, 2, "ng-template", 2);
9671
- i0__namespace.ɵɵlistener("backdropClick", function CaseFileViewOverlayMenuComponent_Template_ng_template_backdropClick_4_listener() { return ctx.closeOverlay(); });
9672
- i0__namespace.ɵɵelementEnd();
9673
- }
9674
- if (rf & 2) {
9675
- var _r0 = i0__namespace.ɵɵreference(2);
9676
- i0__namespace.ɵɵadvance(4);
9677
- i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
9678
- }
9679
- }, 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}"] });
9680
- (function () {
9681
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
9682
- type: i0.Component,
9683
- args: [{
9684
- selector: 'ccd-case-file-view-overlay-menu',
9685
- templateUrl: './case-file-view-overlay-menu.component.html',
9686
- styleUrls: ['./case-file-view-overlay-menu.component.scss']
9687
- }]
9688
- }], null, { title: [{
9689
- type: i0.Input
9690
- }], menuItems: [{
9691
- type: i0.Input
9692
- }], isOpen: [{
9693
- type: i0.Input
9694
- }], isOpenChange: [{
9695
- type: i0.Output
9696
- }] });
9697
- })();
9698
-
9699
- var CaseFileViewFolderSortComponent = /** @class */ (function () {
9700
- function CaseFileViewFolderSortComponent() {
9701
- var _this = this;
9702
- this.isOpen = false;
9703
- this.sortAscending = new i0.EventEmitter();
9704
- this.sortDescending = new i0.EventEmitter();
9705
- this.overlayMenuItems = [
9706
- { actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(); } },
9707
- { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
9708
- ];
9709
- }
9710
- return CaseFileViewFolderSortComponent;
9711
- }());
9712
- CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
9713
- CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "title", "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
9714
- if (rf & 1) {
9715
- i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
9716
- i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
9717
- i0__namespace.ɵɵelementContainerStart(1, 1);
9718
- i0__namespace.ɵɵelement(2, "img", 2);
9719
- i0__namespace.ɵɵelementContainerEnd();
9720
- i0__namespace.ɵɵelementEnd();
9721
- }
9722
- if (rf & 2) {
9723
- i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
9724
- }
9725
- }, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
9726
- (function () {
9727
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
9728
- type: i0.Component,
9729
- args: [{
9730
- selector: 'ccd-case-file-view-folder-sort',
9731
- templateUrl: './case-file-view-folder-sort.component.html',
9732
- styleUrls: ['./case-file-view-folder-sort.component.scss']
9733
- }]
9734
- }], function () { return []; }, { sortAscending: [{
9735
- type: i0.Output
9736
- }], sortDescending: [{
9737
- type: i0.Output
9738
- }] });
9739
- })();
9740
-
9741
- var CaseFileViewFolderDocumentActionsComponent = /** @class */ (function () {
9742
- function CaseFileViewFolderDocumentActionsComponent() {
9743
- var _this = this;
9744
- this.isOpen = false;
9745
- this.changeFolderAction = new i0.EventEmitter();
9746
- this.openInANewTabAction = new i0.EventEmitter();
9747
- this.downloadAction = new i0.EventEmitter();
9748
- this.printAction = new i0.EventEmitter();
9749
- this.overlayMenuItems = [
9750
- { actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: function () { return _this.changeFolderAction.emit(); } },
9751
- { actionText: 'Open in a new tab', iconSrc: '/assets/img/case-file-view/document-menu/open_in_new.svg', actionFn: function () { return _this.openInANewTabAction.emit(); } },
9752
- { actionText: 'Download', iconSrc: '/assets/img/case-file-view/document-menu/download.svg', actionFn: function () { return _this.downloadAction.emit(); } },
9753
- { actionText: 'Print', iconSrc: '/assets/img/case-file-view/document-menu/print.svg', actionFn: function () { return _this.printAction.emit(); } },
9754
- ];
9755
- }
9756
- return CaseFileViewFolderDocumentActionsComponent;
9757
- }());
9758
- CaseFileViewFolderDocumentActionsComponent.ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(t) { return new (t || CaseFileViewFolderDocumentActionsComponent)(); };
9759
- 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) {
9760
- if (rf & 1) {
9761
- i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
9762
- i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
9763
- i0__namespace.ɵɵelementContainerStart(1, 1);
9764
- i0__namespace.ɵɵelement(2, "img", 2);
9765
- i0__namespace.ɵɵelementContainerEnd();
9766
- i0__namespace.ɵɵelementEnd();
9767
- }
9768
- if (rf & 2) {
9769
- i0__namespace.ɵɵproperty("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
9770
- }
9771
- }, directives: [CaseFileViewOverlayMenuComponent], styles: [".actions-trigger-icon[_ngcontent-%COMP%]{display:block;height:24px;margin-right:-5px}"] });
9772
- (function () {
9773
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderDocumentActionsComponent, [{
9774
- type: i0.Component,
9775
- args: [{
9776
- selector: 'ccd-case-file-view-folder-document-actions',
9777
- templateUrl: './case-file-view-folder-document-actions.component.html',
9778
- styleUrls: ['./case-file-view-folder-document-actions.component.scss']
9779
- }]
9780
- }], function () { return []; }, { changeFolderAction: [{
9781
- type: i0.Output
9782
- }], openInANewTabAction: [{
9783
- type: i0.Output
9784
- }], downloadAction: [{
9785
- type: i0.Output
9786
- }], printAction: [{
9787
- type: i0.Output
9788
- }] });
9789
- })();
9790
-
9791
- var _c0$G = ["tree"];
9792
- function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) {
9515
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template(rf, ctx) {
9793
9516
  if (rf & 1) {
9794
- var _r5_1 = i0__namespace.ɵɵgetCurrentView();
9795
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
9796
- i0__namespace.ɵɵelementStart(1, "button", 9);
9797
- i0__namespace.ɵɵelementStart(2, "div", 10);
9798
- i0__namespace.ɵɵelement(3, "img", 11);
9799
- i0__namespace.ɵɵelementEnd();
9800
- i0__namespace.ɵɵelementStart(4, "span", 12);
9517
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
9518
+ i0__namespace.ɵɵelementStart(1, "div", 11);
9519
+ i0__namespace.ɵɵelementStart(2, "button", 15);
9520
+ i0__namespace.ɵɵelement(3, "img", 16);
9521
+ i0__namespace.ɵɵelementStart(4, "div", 17);
9801
9522
  i0__namespace.ɵɵtext(5);
9802
9523
  i0__namespace.ɵɵelementEnd();
9803
- i0__namespace.ɵɵelementStart(6, "div", 13);
9804
- i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 14);
9805
- i0__namespace.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.triggerDocumentAction("changeFolder"); })("openInANewTabAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.triggerDocumentAction("openInANewTab"); })("downloadAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.triggerDocumentAction("download"); })("printAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.triggerDocumentAction("print"); });
9806
9524
  i0__namespace.ɵɵelementEnd();
9807
9525
  i0__namespace.ɵɵelementEnd();
9526
+ i0__namespace.ɵɵelementStart(6, "div");
9527
+ i0__namespace.ɵɵelementContainer(7, 18);
9808
9528
  i0__namespace.ɵɵelementEnd();
9809
9529
  i0__namespace.ɵɵelementEnd();
9810
9530
  }
9811
9531
  if (rf & 2) {
9812
- var node_r3 = ctx.$implicit;
9813
- i0__namespace.ɵɵadvance(5);
9814
- i0__namespace.ɵɵtextInterpolate(node_r3.name);
9532
+ var node_r5 = ctx.$implicit;
9533
+ var ctx_r3 = i0__namespace.ɵɵnextContext(2);
9534
+ i0__namespace.ɵɵadvance(2);
9535
+ i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r5.name);
9536
+ i0__namespace.ɵɵadvance(1);
9537
+ i0__namespace.ɵɵproperty("src", ctx_r3.nestedTreeControl.isExpanded(node_r5) ? "/assets/images/folder-open.png" : "/assets/images/folder.png", i0__namespace.ɵɵsanitizeUrl);
9538
+ i0__namespace.ɵɵadvance(2);
9539
+ i0__namespace.ɵɵtextInterpolate(node_r5.name);
9540
+ i0__namespace.ɵɵadvance(1);
9541
+ i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r5));
9815
9542
  }
9816
9543
  }
9817
- function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) {
9544
+ function CaseFileViewFolderComponent_div_5_Template(rf, ctx) {
9818
9545
  if (rf & 1) {
9819
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
9820
- i0__namespace.ɵɵelementStart(1, "button", 15);
9821
- i0__namespace.ɵɵelementStart(2, "div", 16);
9822
- i0__namespace.ɵɵelement(3, "img", 17);
9823
- i0__namespace.ɵɵelementStart(4, "span", 18);
9824
- i0__namespace.ɵɵtext(5);
9825
- i0__namespace.ɵɵelementEnd();
9826
- i0__namespace.ɵɵelementEnd();
9827
- i0__namespace.ɵɵelementStart(6, "span", 19);
9828
- i0__namespace.ɵɵtext(7);
9829
- i0__namespace.ɵɵelementEnd();
9830
- i0__namespace.ɵɵelementEnd();
9831
- i0__namespace.ɵɵelementStart(8, "div");
9832
- i0__namespace.ɵɵelementContainer(9, 20);
9546
+ i0__namespace.ɵɵelementStart(0, "div", 5);
9547
+ i0__namespace.ɵɵtemplate(1, CaseFileViewFolderComponent_div_5_div_1_Template, 2, 0, "div", 6);
9548
+ i0__namespace.ɵɵelementStart(2, "cdk-tree", 7);
9549
+ i0__namespace.ɵɵtemplate(3, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template, 6, 1, "cdk-nested-tree-node", 8);
9550
+ i0__namespace.ɵɵtemplate(4, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template, 8, 5, "cdk-nested-tree-node", 9);
9833
9551
  i0__namespace.ɵɵelementEnd();
9834
9552
  i0__namespace.ɵɵelementEnd();
9835
9553
  }
9836
9554
  if (rf & 2) {
9837
- var node_r9 = ctx.$implicit;
9838
- var ctx_r2 = i0__namespace.ɵɵnextContext();
9839
- i0__namespace.ɵɵadvance(2);
9840
- i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r9.name);
9841
- i0__namespace.ɵɵadvance(3);
9842
- i0__namespace.ɵɵtextInterpolate(node_r9.childDocumentCount);
9843
- i0__namespace.ɵɵadvance(2);
9844
- i0__namespace.ɵɵtextInterpolate(node_r9.name);
9555
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
9845
9556
  i0__namespace.ɵɵadvance(1);
9846
- i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r9));
9557
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
9558
+ i0__namespace.ɵɵadvance(1);
9559
+ i0__namespace.ɵɵproperty("dataSource", ctx_r0.nestedDataSource)("treeControl", ctx_r0.nestedTreeControl);
9560
+ i0__namespace.ɵɵadvance(2);
9561
+ i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
9847
9562
  }
9848
9563
  }
9849
9564
  var CaseFileViewFolderComponent = /** @class */ (function () {
@@ -9851,347 +9566,122 @@
9851
9566
  this.categories = [];
9852
9567
  this.getChildren = function (node) { return rxjs.of(node.children); };
9853
9568
  this.nestedChildren = function (_, nodeData) { return nodeData.children; };
9854
- this.nestedTreeControl = new i2.NestedTreeControl(this.getChildren);
9569
+ this.nestedTreeControl = new i3.NestedTreeControl(this.getChildren);
9855
9570
  }
9856
9571
  CaseFileViewFolderComponent.prototype.ngOnInit = function () {
9857
9572
  var _this = this;
9573
+ this.documentFilterFormGroup = new i1$2.FormGroup({});
9574
+ this.documentSearchFormControl = new i1$2.FormControl('');
9575
+ this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
9576
+ // Listen to search input and initiate filter documents if at least three characters entered
9577
+ this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(operators.tap(function (searchTerm) { return _this.searchTermLength = searchTerm.length; }), operators.switchMap(function (searchTerm) { return _this.filter(searchTerm.toLowerCase()).pipe(); })).subscribe(function (documentTreeData) {
9578
+ _this.nestedDataSource = documentTreeData;
9579
+ _this.nestedTreeControl.dataNodes = documentTreeData;
9580
+ _this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
9581
+ ? _this.nestedTreeControl.expandAll()
9582
+ : _this.nestedTreeControl.collapseAll();
9583
+ });
9584
+ // Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
9858
9585
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
9859
- // Using the mock data for now as we have to display the documents as well for demo purpose
9860
- var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
9586
+ var categories = categoriesAndDocuments.categories;
9861
9587
  // Generate document tree data from categories
9862
- var treeData = _this.generateTreeData(categories);
9588
+ _this.documentTreeData = _this.generateTreeData(categories);
9863
9589
  // Append uncategorised documents
9864
9590
  if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
9865
9591
  var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
9866
- treeData.push(uncategorisedDocuments);
9592
+ _this.documentTreeData.push(uncategorisedDocuments);
9867
9593
  }
9868
9594
  // Initialise cdk tree with generated data
9869
- _this.nestedDataSource = treeData;
9595
+ _this.nestedDataSource = _this.documentTreeData;
9596
+ _this.nestedTreeControl.dataNodes = _this.documentTreeData;
9870
9597
  });
9871
9598
  };
9872
9599
  CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
9873
9600
  var _this = this;
9874
- return categories.reduce(function (tree, node) {
9875
- var newDocumentTreeNode = new DocumentTreeNode();
9876
- newDocumentTreeNode.name = node.category_name;
9877
- newDocumentTreeNode.type = 'category';
9878
- newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
9879
- return __spread(tree, [
9880
- newDocumentTreeNode,
9881
- ]);
9882
- }, []);
9601
+ return categories.reduce(function (tree, node) { return __spread(tree, [
9602
+ {
9603
+ name: node.category_name,
9604
+ type: DocumentTreeNodeType.FOLDER,
9605
+ children: __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents))
9606
+ },
9607
+ ]); }, []);
9883
9608
  };
9884
9609
  CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
9885
9610
  var documentsToReturn = [];
9886
9611
  documents.forEach(function (document) {
9887
- var documentTreeNode = new DocumentTreeNode();
9888
- documentTreeNode.name = document.document_filename;
9889
- documentTreeNode.type = 'document';
9890
- documentsToReturn.push(documentTreeNode);
9612
+ documentsToReturn.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
9891
9613
  });
9892
9614
  return documentsToReturn;
9893
9615
  };
9894
9616
  CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
9895
9617
  var documents = [];
9896
9618
  uncategorisedDocuments.forEach(function (document) {
9897
- var documentTreeNode = new DocumentTreeNode();
9898
- documentTreeNode.name = document.document_filename;
9899
- documentTreeNode.type = 'document';
9900
- documents.push(documentTreeNode);
9619
+ documents.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
9901
9620
  });
9902
- var uncategorisedNode = new DocumentTreeNode();
9903
- uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
9904
- uncategorisedNode.type = 'category';
9905
- uncategorisedNode.children = documents;
9906
- return uncategorisedNode;
9907
- };
9908
- CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
9909
- var sortedData = this.nestedDataSource.map(function (item) {
9910
- item.sortChildrenAscending();
9911
- var newDocumentTreeNode = new DocumentTreeNode();
9912
- newDocumentTreeNode.name = item.name;
9913
- newDocumentTreeNode.type = item.type;
9914
- newDocumentTreeNode.children = item.children;
9915
- return newDocumentTreeNode;
9916
- });
9917
- this.updateNodeData(sortedData);
9621
+ return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, type: DocumentTreeNodeType.FOLDER, children: documents };
9918
9622
  };
9919
- CaseFileViewFolderComponent.prototype.sortDataSourceDescAlphabetically = function () {
9920
- var sortedData = this.nestedDataSource.map(function (item) {
9921
- item.sortChildrenDescending();
9922
- return item;
9923
- });
9924
- this.updateNodeData(sortedData);
9925
- };
9926
- CaseFileViewFolderComponent.prototype.triggerDocumentAction = function (actionType) {
9927
- switch (actionType) {
9928
- case ('changeFolder'):
9929
- console.log('changeFolder!');
9930
- break;
9931
- case ('openInANewTab'):
9932
- console.log('openInANewTab!');
9933
- break;
9934
- case ('download'):
9935
- console.log('download!');
9936
- break;
9937
- case ('print'):
9938
- console.log('print!');
9939
- break;
9940
- default:
9941
- return;
9623
+ CaseFileViewFolderComponent.prototype.filter = function (searchTerm) {
9624
+ // Make a copy of the data so we do not mutate the original
9625
+ function copy(node) {
9626
+ return Object.assign({}, node);
9627
+ }
9628
+ var filteredData = this.documentTreeData;
9629
+ if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
9630
+ filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
9631
+ if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
9632
+ return true;
9633
+ }
9634
+ // Call recursively if node has children
9635
+ if (node.children) {
9636
+ return (node.children = node.children.map(copy).filter(filterTreeData)).length;
9637
+ }
9638
+ });
9942
9639
  }
9640
+ return rxjs.of(filteredData);
9943
9641
  };
9944
9642
  CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
9945
9643
  if (this.categoriesAndDocumentsSubscription) {
9946
9644
  this.categoriesAndDocumentsSubscription.unsubscribe();
9947
9645
  }
9948
- };
9949
- CaseFileViewFolderComponent.prototype.updateNodeData = function (data) {
9950
- var _this = this;
9951
- var prevSelected = this.nestedTreeControl.expansionModel.selected.map(function (item) {
9952
- return item.name;
9953
- });
9954
- this.nestedTreeControl.collapseAll();
9955
- this.nestedDataSource = data.map(function (item) {
9956
- var newDocumentTreeNode = new DocumentTreeNode();
9957
- newDocumentTreeNode.name = item.name;
9958
- newDocumentTreeNode.type = item.type;
9959
- newDocumentTreeNode.children = item.children;
9960
- return newDocumentTreeNode;
9961
- });
9962
- var flattenedArray = this.nestedDataSource.map(function (item) {
9963
- return item.flattenedAll;
9964
- }).flat();
9965
- var newObjects = flattenedArray.filter(function (item) {
9966
- return prevSelected.includes(item.name);
9967
- });
9968
- newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
9969
- };
9970
- 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
- ];
9646
+ if (this.documentFilterSubscription) {
9647
+ this.documentFilterSubscription.unsubscribe();
9648
+ }
10143
9649
  };
10144
9650
  return CaseFileViewFolderComponent;
10145
9651
  }());
10146
9652
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
9653
+ CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
9654
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
10147
9655
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
10148
- CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) {
10149
- if (rf & 1) {
10150
- i0__namespace.ɵɵviewQuery(_c0$G, 3);
10151
- }
10152
- if (rf & 2) {
10153
- var _t = void 0;
10154
- i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tree = _t.first);
10155
- }
10156
- }, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 3, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["tree", ""], ["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) {
9656
+ CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 6, vars: 2, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "documents-title"], ["class", "document-tree", 4, "ngIf"], [1, "document-tree"], [4, "ngIf"], [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", "", 1, "node-button"], ["alt", "document image", "src", "/assets/images/document.png", 1, "icon"], [1, "node-name", "node-name-document"], ["mat-icon-button", "", "cdkTreeNodeToggle", "", 1, "node-button"], ["alt", "folder image", 1, "icon", 3, "src"], [1, "node-name", "node-name-folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
10157
9657
  if (rf & 1) {
10158
9658
  i0__namespace.ɵɵelementStart(0, "div", 0);
10159
9659
  i0__namespace.ɵɵelementStart(1, "div", 1);
10160
- i0__namespace.ɵɵtext(2, "Documents");
10161
- i0__namespace.ɵɵelementEnd();
10162
- i0__namespace.ɵɵelementStart(3, "div");
10163
- i0__namespace.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
10164
- i0__namespace.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_4_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_4_listener() { return ctx.sortDataSourceDescAlphabetically(); });
9660
+ i0__namespace.ɵɵelement(2, "input", 2);
10165
9661
  i0__namespace.ɵɵelementEnd();
9662
+ i0__namespace.ɵɵelementStart(3, "div", 3);
9663
+ i0__namespace.ɵɵtext(4, "Documents");
10166
9664
  i0__namespace.ɵɵelementEnd();
10167
9665
  i0__namespace.ɵɵelementEnd();
10168
- i0__namespace.ɵɵelementStart(5, "div", 3);
10169
- i0__namespace.ɵɵelementStart(6, "cdk-tree", 4, 5);
10170
- i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 8, 1, "cdk-nested-tree-node", 6);
10171
- i0__namespace.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 10, 5, "cdk-nested-tree-node", 7);
10172
- i0__namespace.ɵɵelementEnd();
10173
- i0__namespace.ɵɵelementEnd();
9666
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderComponent_div_5_Template, 5, 4, "div", 4);
10174
9667
  }
10175
9668
  if (rf & 2) {
10176
- i0__namespace.ɵɵadvance(6);
10177
- i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
10178
- i0__namespace.ɵɵadvance(3);
10179
- i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
9669
+ i0__namespace.ɵɵadvance(1);
9670
+ i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
9671
+ i0__namespace.ɵɵadvance(4);
9672
+ i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
10180
9673
  }
10181
- }, 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}"] });
9674
+ }, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace$3.DefaultValueAccessor, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlName, i1__namespace.NgIf, i3__namespace.CdkTree, i3__namespace.CdkTreeNodeDef, i3__namespace.CdkNestedTreeNode, i3__namespace.CdkTreeNodeToggle, i3__namespace.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%;padding:8px 8px 0;margin-bottom:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree[_ngcontent-%COMP%]{margin:4px;overflow-x:hidden;overflow-y:scroll;height:400px}.document-tree[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.document-tree[_ngcontent-%COMP%] .node[_ngcontent-%COMP%]{display:flex;padding:4px;white-space:nowrap}.document-tree[_ngcontent-%COMP%] .node[_ngcontent-%COMP%] .node-button[_ngcontent-%COMP%]{display:flex;background-color:#faf8f8;border:none;width:100%}.document-tree[_ngcontent-%COMP%] .node-button[_ngcontent-%COMP%]:hover{cursor:pointer}.document-tree[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:36px;height:36px;background-size:100%;border:0;background-color:#faf8f8}.document-tree[_ngcontent-%COMP%] .node-name[_ngcontent-%COMP%]{margin-left:10px}.document-tree[_ngcontent-%COMP%] .node-name-document[_ngcontent-%COMP%], .document-tree[_ngcontent-%COMP%] .node-name-folder[_ngcontent-%COMP%]{margin-top:8px;font-size:16px}.document-tree[_ngcontent-%COMP%] .document-count[_ngcontent-%COMP%]{color:#fff}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}"] });
10182
9675
  (function () {
10183
9676
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
10184
9677
  type: i0.Component,
10185
9678
  args: [{
10186
9679
  selector: 'ccd-case-file-view-folder',
10187
- templateUrl: './case-file-view-folder.component.html',
10188
9680
  styleUrls: ['./case-file-view-folder.component.scss'],
9681
+ templateUrl: './case-file-view-folder.component.html'
10189
9682
  }]
10190
9683
  }], function () { return []; }, { categoriesAndDocuments: [{
10191
9684
  type: i0.Input
10192
- }], tree: [{
10193
- type: i0.ViewChild,
10194
- args: ['tree', { static: true }]
10195
9685
  }] });
10196
9686
  })();
10197
9687
 
@@ -10257,7 +9747,7 @@
10257
9747
  args: [{
10258
9748
  selector: 'ccd-case-file-view-field',
10259
9749
  templateUrl: './case-file-view-field.component.html',
10260
- styleUrls: ['./case-file-view-field.component.scss'],
9750
+ styleUrls: ['./case-file-view-field.component.scss']
10261
9751
  }]
10262
9752
  }], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null);
10263
9753
  })();
@@ -10624,7 +10114,7 @@
10624
10114
  };
10625
10115
  return RemoveDialogComponent;
10626
10116
  }());
10627
- RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
10117
+ RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
10628
10118
  RemoveDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) {
10629
10119
  if (rf & 1) {
10630
10120
  i0__namespace.ɵɵelementStart(0, "div");
@@ -10665,7 +10155,7 @@
10665
10155
  templateUrl: './remove-dialog.component.html',
10666
10156
  styleUrls: ['../action-dialog.component.scss']
10667
10157
  }]
10668
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
10158
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
10669
10159
  })();
10670
10160
 
10671
10161
  var _c0$D = ["collectionItem"];
@@ -11044,7 +10534,7 @@
11044
10534
  };
11045
10535
  WriteCollectionFieldComponent.prototype.openModal = function (i) {
11046
10536
  var _this = this;
11047
- var dialogConfig = new i1$6.MatDialogConfig();
10537
+ var dialogConfig = new i1$5.MatDialogConfig();
11048
10538
  dialogConfig.disableClose = true;
11049
10539
  dialogConfig.autoFocus = true;
11050
10540
  dialogConfig.ariaLabel = 'Label';
@@ -11078,7 +10568,7 @@
11078
10568
  };
11079
10569
  return WriteCollectionFieldComponent;
11080
10570
  }(AbstractFieldWriteComponent));
11081
- WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
10571
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
11082
10572
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
11083
10573
  if (rf & 1) {
11084
10574
  i0__namespace.ɵɵviewQuery(_c0$D, 1);
@@ -11127,7 +10617,7 @@
11127
10617
  templateUrl: './write-collection-field.html',
11128
10618
  styleUrls: ['./collection-field.scss']
11129
10619
  }]
11130
- }], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
10620
+ }], function () { return [{ type: i1__namespace$5.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
11131
10621
  type: i0.Input
11132
10622
  }], formGroup: [{
11133
10623
  type: i0.Input
@@ -12518,7 +12008,7 @@
12518
12008
  };
12519
12009
  return DocumentDialogComponent;
12520
12010
  }());
12521
- DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
12011
+ DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
12522
12012
  DocumentDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) {
12523
12013
  if (rf & 1) {
12524
12014
  i0__namespace.ɵɵelementStart(0, "div");
@@ -12559,11 +12049,11 @@
12559
12049
  templateUrl: './document-dialog.component.html',
12560
12050
  styleUrls: ['../action-dialog.component.scss']
12561
12051
  }]
12562
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
12052
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
12563
12053
  })();
12564
12054
 
12565
12055
  function initDialog() {
12566
- var dialogConfig = new i1$6.MatDialogConfig();
12056
+ var dialogConfig = new i1$5.MatDialogConfig();
12567
12057
  dialogConfig.disableClose = true;
12568
12058
  dialogConfig.autoFocus = true;
12569
12059
  dialogConfig.ariaLabel = 'Label';
@@ -12887,7 +12377,7 @@
12887
12377
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
12888
12378
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
12889
12379
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
12890
- WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
12380
+ WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
12891
12381
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
12892
12382
  if (rf & 1) {
12893
12383
  i0__namespace.ɵɵviewQuery(_c0$z, 1);
@@ -12961,7 +12451,7 @@
12961
12451
  selector: 'ccd-write-document-field',
12962
12452
  templateUrl: './write-document-field.html'
12963
12453
  }]
12964
- }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
12454
+ }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
12965
12455
  type: i0.ViewChild,
12966
12456
  args: ['fileInput', { static: false }]
12967
12457
  }], clickout: [{
@@ -16365,7 +15855,7 @@
16365
15855
  if (rf & 2) {
16366
15856
  i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("VIEW", "case-transactions")("REFUNDS_API_ROOT", ctx.getRefundsUrl())("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("LOGGEDINUSERROLES", ctx.getUserRoles());
16367
15857
  }
16368
- }, directives: [i3__namespace.PaymentLibComponent], encapsulation: 2 });
15858
+ }, directives: [i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
16369
15859
  (function () {
16370
15860
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
16371
15861
  type: i0.Component,
@@ -16792,7 +16282,7 @@
16792
16282
  if (rf & 2) {
16793
16283
  i0__namespace.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
16794
16284
  }
16795
- }, directives: [i1__namespace.NgIf, i3__namespace.PaymentLibComponent], encapsulation: 2 });
16285
+ }, directives: [i1__namespace.NgIf, i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
16796
16286
  (function () {
16797
16287
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WaysToPayFieldComponent, [{
16798
16288
  type: i0.Component,
@@ -17385,7 +16875,7 @@
17385
16875
  };
17386
16876
  return SaveOrDiscardDialogComponent;
17387
16877
  }());
17388
- SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
16878
+ SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
17389
16879
  SaveOrDiscardDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) {
17390
16880
  if (rf & 1) {
17391
16881
  i0__namespace.ɵɵelementStart(0, "div");
@@ -17426,7 +16916,7 @@
17426
16916
  templateUrl: './save-or-discard-dialog.component.html',
17427
16917
  styleUrls: ['../action-dialog.component.scss']
17428
16918
  }]
17429
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
16919
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
17430
16920
  })();
17431
16921
 
17432
16922
  var CaseEditPageText;
@@ -18297,7 +17787,7 @@
18297
17787
  };
18298
17788
  return CaseEditPageComponent;
18299
17789
  }());
18300
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
17790
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
18301
17791
  CaseEditPageComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) {
18302
17792
  if (rf & 1) {
18303
17793
  i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
@@ -18343,7 +17833,7 @@
18343
17833
  templateUrl: 'case-edit-page.html',
18344
17834
  styleUrls: ['./case-edit-page.scss']
18345
17835
  }]
18346
- }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$6.MatDialog }, { type: CaseFieldService }]; }, null);
17836
+ }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$5.MatDialog }, { type: CaseFieldService }]; }, null);
18347
17837
  })();
18348
17838
 
18349
17839
  var Confirmation = /** @class */ (function () {
@@ -20062,10 +19552,7 @@
20062
19552
  WriteCollectionFieldComponent,
20063
19553
  // ComponentLauncher web components
20064
19554
  CaseFileViewFieldComponent,
20065
- CaseFileViewFolderComponent,
20066
- CaseFileViewFolderSortComponent,
20067
- CaseFileViewOverlayMenuComponent,
20068
- CaseFileViewFolderDocumentActionsComponent,
19555
+ CaseFileViewFolderComponent
20069
19556
  ];
20070
19557
  var PaletteModule = /** @class */ (function () {
20071
19558
  function PaletteModule() {
@@ -20105,10 +19592,9 @@
20105
19592
  input.MatInputModule,
20106
19593
  i5.MatDatepickerModule,
20107
19594
  i5$1.MatAutocompleteModule,
20108
- i2.CdkTreeModule,
20109
- i1$5.OverlayModule,
20110
- i3.PaymentLibModule,
20111
- i2$1.ScrollToModule.forRoot()
19595
+ i3.CdkTreeModule,
19596
+ i3$1.PaymentLibModule,
19597
+ i2.ScrollToModule.forRoot()
20112
19598
  ], i4.NgxMatDatetimePickerModule,
20113
19599
  i4.NgxMatNativeDateModule,
20114
19600
  i4.NgxMatTimepickerModule,
@@ -20191,10 +19677,7 @@
20191
19677
  WriteCollectionFieldComponent,
20192
19678
  // ComponentLauncher web components
20193
19679
  CaseFileViewFieldComponent,
20194
- CaseFileViewFolderComponent,
20195
- CaseFileViewFolderSortComponent,
20196
- CaseFileViewOverlayMenuComponent,
20197
- CaseFileViewFolderDocumentActionsComponent], imports: [i1.CommonModule,
19680
+ CaseFileViewFolderComponent], imports: [i1.CommonModule,
20198
19681
  i1$1.RouterModule,
20199
19682
  i1$2.FormsModule,
20200
19683
  i1$2.ReactiveFormsModule,
@@ -20215,9 +19698,8 @@
20215
19698
  input.MatInputModule,
20216
19699
  i5.MatDatepickerModule,
20217
19700
  i5$1.MatAutocompleteModule,
20218
- i2.CdkTreeModule,
20219
- i1$5.OverlayModule,
20220
- i3.PaymentLibModule, i2__namespace$1.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
19701
+ i3.CdkTreeModule,
19702
+ i3$1.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
20221
19703
  i4.NgxMatNativeDateModule,
20222
19704
  i4.NgxMatTimepickerModule,
20223
19705
  TabsModule,
@@ -20293,10 +19775,7 @@
20293
19775
  WriteCollectionFieldComponent,
20294
19776
  // ComponentLauncher web components
20295
19777
  CaseFileViewFieldComponent,
20296
- CaseFileViewFolderComponent,
20297
- CaseFileViewFolderSortComponent,
20298
- CaseFileViewOverlayMenuComponent,
20299
- CaseFileViewFolderDocumentActionsComponent] });
19778
+ CaseFileViewFolderComponent] });
20300
19779
  })();
20301
19780
  (function () {
20302
19781
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
@@ -20324,10 +19803,9 @@
20324
19803
  input.MatInputModule,
20325
19804
  i5.MatDatepickerModule,
20326
19805
  i5$1.MatAutocompleteModule,
20327
- i2.CdkTreeModule,
20328
- i1$5.OverlayModule,
20329
- i3.PaymentLibModule,
20330
- i2$1.ScrollToModule.forRoot()
19806
+ i3.CdkTreeModule,
19807
+ i3$1.PaymentLibModule,
19808
+ i2.ScrollToModule.forRoot()
20331
19809
  ],
20332
19810
  declarations: __spread([
20333
19811
  FixedListPipe,
@@ -21210,7 +20688,7 @@
21210
20688
  i0__namespace.ɵɵadvance(3);
21211
20689
  i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
21212
20690
  }
21213
- }, 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}}"] });
20691
+ }, directives: [i1__namespace$6.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}}"] });
21214
20692
  (function () {
21215
20693
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
21216
20694
  type: i0.Component,
@@ -21617,7 +21095,7 @@
21617
21095
  i0__namespace.ɵɵadvance(2);
21618
21096
  i0__namespace.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
21619
21097
  }
21620
- }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$7.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
21098
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$6.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
21621
21099
  (function () {
21622
21100
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseListComponent, [{
21623
21101
  type: i0.Component,
@@ -21677,12 +21155,12 @@
21677
21155
  PaginationModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaginationModule });
21678
21156
  PaginationModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
21679
21157
  i1.CommonModule,
21680
- i1$7.NgxPaginationModule
21158
+ i1$6.NgxPaginationModule
21681
21159
  ]] });
21682
21160
  (function () {
21683
21161
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaginationModule, { declarations: [PaginationComponent], imports: [i1.CommonModule,
21684
- i1$7.NgxPaginationModule], exports: [PaginationComponent,
21685
- i1$7.PaginatePipe] });
21162
+ i1$6.NgxPaginationModule], exports: [PaginationComponent,
21163
+ i1$6.PaginatePipe] });
21686
21164
  })();
21687
21165
  (function () {
21688
21166
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationModule, [{
@@ -21690,14 +21168,14 @@
21690
21168
  args: [{
21691
21169
  imports: [
21692
21170
  i1.CommonModule,
21693
- i1$7.NgxPaginationModule
21171
+ i1$6.NgxPaginationModule
21694
21172
  ],
21695
21173
  declarations: [
21696
21174
  PaginationComponent
21697
21175
  ],
21698
21176
  exports: [
21699
21177
  PaginationComponent,
21700
- i1$7.PaginatePipe
21178
+ i1$6.PaginatePipe
21701
21179
  ],
21702
21180
  }]
21703
21181
  }], null, null);
@@ -21716,14 +21194,14 @@
21716
21194
  i1.CommonModule,
21717
21195
  i1$2.FormsModule,
21718
21196
  i1$1.RouterModule,
21719
- i1$7.NgxPaginationModule,
21197
+ i1$6.NgxPaginationModule,
21720
21198
  PaginationModule
21721
21199
  ]] });
21722
21200
  (function () {
21723
21201
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
21724
21202
  i1$2.FormsModule,
21725
21203
  i1$1.RouterModule,
21726
- i1$7.NgxPaginationModule,
21204
+ i1$6.NgxPaginationModule,
21727
21205
  PaginationModule], exports: [CaseListComponent] });
21728
21206
  })();
21729
21207
  (function () {
@@ -21734,7 +21212,7 @@
21734
21212
  i1.CommonModule,
21735
21213
  i1$2.FormsModule,
21736
21214
  i1$1.RouterModule,
21737
- i1$7.NgxPaginationModule,
21215
+ i1$6.NgxPaginationModule,
21738
21216
  PaginationModule
21739
21217
  ],
21740
21218
  declarations: [CaseListComponent],
@@ -23504,7 +22982,7 @@
23504
22982
  };
23505
22983
  return DeleteOrCancelDialogComponent;
23506
22984
  }());
23507
- DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
22985
+ DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
23508
22986
  DeleteOrCancelDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) {
23509
22987
  if (rf & 1) {
23510
22988
  i0__namespace.ɵɵelementStart(0, "div");
@@ -23545,7 +23023,7 @@
23545
23023
  templateUrl: './delete-or-cancel-dialog.component.html',
23546
23024
  styleUrls: ['../action-dialog.component.scss']
23547
23025
  }]
23548
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
23026
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
23549
23027
  })();
23550
23028
 
23551
23029
  function EventTriggerComponent_form_0_option_5_Template(rf, ctx) {
@@ -23763,8 +23241,8 @@
23763
23241
  }
23764
23242
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
23765
23243
  if (rf & 1) {
23766
- i0__namespace.ɵɵelementStart(0, "th", 35);
23767
- i0__namespace.ɵɵelementStart(1, "div", 36);
23244
+ i0__namespace.ɵɵelementStart(0, "th", 34);
23245
+ i0__namespace.ɵɵelementStart(1, "div", 35);
23768
23246
  i0__namespace.ɵɵtext(2);
23769
23247
  i0__namespace.ɵɵelementEnd();
23770
23248
  i0__namespace.ɵɵelementEnd();
@@ -23779,9 +23257,9 @@
23779
23257
  if (rf & 1) {
23780
23258
  i0__namespace.ɵɵelementStart(0, "tr");
23781
23259
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
23782
- i0__namespace.ɵɵelementStart(2, "th", 32);
23783
- i0__namespace.ɵɵelementStart(3, "span", 33);
23784
- i0__namespace.ɵɵelement(4, "ccd-field-read", 34);
23260
+ i0__namespace.ɵɵelementStart(2, "td");
23261
+ i0__namespace.ɵɵelementStart(3, "span", 32);
23262
+ i0__namespace.ɵɵelement(4, "ccd-field-read", 33);
23785
23263
  i0__namespace.ɵɵelementEnd();
23786
23264
  i0__namespace.ɵɵelementEnd();
23787
23265
  i0__namespace.ɵɵelementEnd();
@@ -23791,18 +23269,16 @@
23791
23269
  var ctx_r22 = i0__namespace.ɵɵnextContext(4);
23792
23270
  i0__namespace.ɵɵadvance(1);
23793
23271
  i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
23794
- i0__namespace.ɵɵadvance(1);
23795
- i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
23796
- i0__namespace.ɵɵadvance(2);
23272
+ i0__namespace.ɵɵadvance(3);
23797
23273
  i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
23798
23274
  }
23799
23275
  }
23800
23276
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
23801
23277
  if (rf & 1) {
23802
- i0__namespace.ɵɵelementStart(0, "tr", 37);
23803
- i0__namespace.ɵɵelementStart(1, "th", 32);
23804
- i0__namespace.ɵɵelementStart(2, "span", 33);
23805
- i0__namespace.ɵɵelement(3, "ccd-field-read", 34);
23278
+ i0__namespace.ɵɵelementStart(0, "tr", 36);
23279
+ i0__namespace.ɵɵelementStart(1, "th");
23280
+ i0__namespace.ɵɵelementStart(2, "span", 32);
23281
+ i0__namespace.ɵɵelement(3, "ccd-field-read", 33);
23806
23282
  i0__namespace.ɵɵelementEnd();
23807
23283
  i0__namespace.ɵɵelementEnd();
23808
23284
  i0__namespace.ɵɵelementEnd();
@@ -23810,9 +23286,7 @@
23810
23286
  if (rf & 2) {
23811
23287
  var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
23812
23288
  var ctx_r23 = i0__namespace.ɵɵnextContext(4);
23813
- i0__namespace.ɵɵadvance(1);
23814
- i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
23815
- i0__namespace.ɵɵadvance(2);
23289
+ i0__namespace.ɵɵadvance(3);
23816
23290
  i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
23817
23291
  }
23818
23292
  }
@@ -23822,8 +23296,8 @@
23822
23296
  i0__namespace.ɵɵelementStart(1, "div", 27);
23823
23297
  i0__namespace.ɵɵelementContainerStart(2, 28);
23824
23298
  i0__namespace.ɵɵpipe(3, "ccdIsCompound");
23825
- i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
23826
- i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
23299
+ i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
23300
+ i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
23827
23301
  i0__namespace.ɵɵelementContainerEnd();
23828
23302
  i0__namespace.ɵɵelementEnd();
23829
23303
  i0__namespace.ɵɵelementContainerEnd();
@@ -24174,7 +23648,7 @@
24174
23648
  CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
24175
23649
  CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
24176
23650
  CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
24177
- CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.Location), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
23651
+ CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.Location), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
24178
23652
  CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
24179
23653
  if (rf & 1) {
24180
23654
  i0__namespace.ɵɵviewQuery(_c0$a, 1);
@@ -24183,7 +23657,7 @@
24183
23657
  var _t = void 0;
24184
23658
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
24185
23659
  }
24186
- }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
23660
+ }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
24187
23661
  if (rf & 1) {
24188
23662
  i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
24189
23663
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
@@ -24230,7 +23704,7 @@
24230
23704
  templateUrl: './case-full-access-view.component.html',
24231
23705
  styleUrls: ['./case-full-access-view.component.scss']
24232
23706
  }]
24233
- }], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
23707
+ }], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$5.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
24234
23708
  type: i0.Input
24235
23709
  }], hasEventSelector: [{
24236
23710
  type: i0.Input
@@ -27634,8 +27108,8 @@
27634
27108
  function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
27635
27109
  if (rf & 1) {
27636
27110
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
27637
- i0__namespace.ɵɵelementStart(0, "div", 27);
27638
- i0__namespace.ɵɵelementStart(1, "a", 28);
27111
+ i0__namespace.ɵɵelementStart(0, "div", 28);
27112
+ i0__namespace.ɵɵelementStart(1, "a", 29);
27639
27113
  i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
27640
27114
  i0__namespace.ɵɵelementEnd();
27641
27115
  i0__namespace.ɵɵelementEnd();
@@ -27652,13 +27126,13 @@
27652
27126
  var _r22_1 = i0__namespace.ɵɵgetCurrentView();
27653
27127
  i0__namespace.ɵɵelementStart(0, "th");
27654
27128
  i0__namespace.ɵɵelementStart(1, "table", 24);
27655
- i0__namespace.ɵɵelementStart(2, "tr");
27656
- i0__namespace.ɵɵelementStart(3, "th");
27657
- i0__namespace.ɵɵelementStart(4, "div", 25);
27129
+ i0__namespace.ɵɵelementStart(2, "tr", 7);
27130
+ i0__namespace.ɵɵelementStart(3, "th", 25);
27131
+ i0__namespace.ɵɵelementStart(4, "div", 26);
27658
27132
  i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
27659
27133
  i0__namespace.ɵɵtext(5);
27660
27134
  i0__namespace.ɵɵelementEnd();
27661
- i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
27135
+ i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 27);
27662
27136
  i0__namespace.ɵɵelementEnd();
27663
27137
  i0__namespace.ɵɵelementEnd();
27664
27138
  i0__namespace.ɵɵelementEnd();
@@ -27668,7 +27142,7 @@
27668
27142
  var col_r15 = ctx.$implicit;
27669
27143
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
27670
27144
  i0__namespace.ɵɵadvance(1);
27671
- i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
27145
+ i0__namespace.ɵɵattributeInterpolate2("aria-label", "Sort by ", col_r15.label, " ", ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending", "");
27672
27146
  i0__namespace.ɵɵadvance(4);
27673
27147
  i0__namespace.ɵɵtextInterpolate(col_r15.label);
27674
27148
  i0__namespace.ɵɵadvance(1);
@@ -27677,7 +27151,7 @@
27677
27151
  }
27678
27152
  function SearchResultComponent_table_0_th_11_Template(rf, ctx) {
27679
27153
  if (rf & 1) {
27680
- i0__namespace.ɵɵelement(0, "th", 29);
27154
+ i0__namespace.ɵɵelement(0, "th", 30);
27681
27155
  }
27682
27156
  }
27683
27157
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ctx) {
@@ -27685,10 +27159,10 @@
27685
27159
  var _r30_1 = i0__namespace.ɵɵgetCurrentView();
27686
27160
  i0__namespace.ɵɵelementStart(0, "td", 20);
27687
27161
  i0__namespace.ɵɵelementStart(1, "div", 21);
27688
- i0__namespace.ɵɵelementStart(2, "input", 31);
27162
+ i0__namespace.ɵɵelementStart(2, "input", 32);
27689
27163
  i0__namespace.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template_input_change_2_listener() { i0__namespace.ɵɵrestoreView(_r30_1); var result_r24 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r28 = i0__namespace.ɵɵnextContext(3); return ctx_r28.changeSelection(result_r24); });
27690
27164
  i0__namespace.ɵɵelementEnd();
27691
- i0__namespace.ɵɵelement(3, "label", 32);
27165
+ i0__namespace.ɵɵelement(3, "label", 33);
27692
27166
  i0__namespace.ɵɵelementEnd();
27693
27167
  i0__namespace.ɵɵelementEnd();
27694
27168
  }
@@ -27706,7 +27180,7 @@
27706
27180
  var _c0 = function () { return ["value"]; };
27707
27181
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
27708
27182
  if (rf & 1) {
27709
- i0__namespace.ɵɵelement(0, "ccd-field-read", 41);
27183
+ i0__namespace.ɵɵelement(0, "ccd-field-read", 42);
27710
27184
  }
27711
27185
  if (rf & 2) {
27712
27186
  var col_r32 = i0__namespace.ɵɵnextContext(3).$implicit;
@@ -27727,9 +27201,9 @@
27727
27201
  }
27728
27202
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
27729
27203
  if (rf & 1) {
27730
- i0__namespace.ɵɵelementContainerStart(0, 38);
27731
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
27732
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0__namespace.ɵɵtemplateRefExtractor);
27204
+ i0__namespace.ɵɵelementContainerStart(0, 39);
27205
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
27206
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0__namespace.ɵɵtemplateRefExtractor);
27733
27207
  i0__namespace.ɵɵelementContainerEnd();
27734
27208
  }
27735
27209
  if (rf & 2) {
@@ -27743,9 +27217,9 @@
27743
27217
  }
27744
27218
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf, ctx) {
27745
27219
  if (rf & 1) {
27746
- i0__namespace.ɵɵelementStart(0, "a", 36);
27220
+ i0__namespace.ɵɵelementStart(0, "a", 37);
27747
27221
  i0__namespace.ɵɵpipe(1, "ccdCaseReference");
27748
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
27222
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
27749
27223
  i0__namespace.ɵɵelementEnd();
27750
27224
  }
27751
27225
  if (rf & 2) {
@@ -27759,8 +27233,8 @@
27759
27233
  }
27760
27234
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(rf, ctx) {
27761
27235
  if (rf & 1) {
27762
- i0__namespace.ɵɵelementStart(0, "div", 38);
27763
- i0__namespace.ɵɵelement(1, "ccd-field-read", 41);
27236
+ i0__namespace.ɵɵelementStart(0, "div", 39);
27237
+ i0__namespace.ɵɵelement(1, "ccd-field-read", 42);
27764
27238
  i0__namespace.ɵɵelementEnd();
27765
27239
  }
27766
27240
  if (rf & 2) {
@@ -27774,9 +27248,9 @@
27774
27248
  }
27775
27249
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ctx) {
27776
27250
  if (rf & 1) {
27777
- i0__namespace.ɵɵelementStart(0, "td", 33);
27778
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
27779
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
27251
+ i0__namespace.ɵɵelementStart(0, "td", 34);
27252
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
27253
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
27780
27254
  i0__namespace.ɵɵelementEnd();
27781
27255
  }
27782
27256
  if (rf & 2) {
@@ -27791,7 +27265,7 @@
27791
27265
  if (rf & 1) {
27792
27266
  i0__namespace.ɵɵelementStart(0, "td");
27793
27267
  i0__namespace.ɵɵelementStart(1, "div");
27794
- i0__namespace.ɵɵelement(2, "ccd-activity", 42);
27268
+ i0__namespace.ɵɵelement(2, "ccd-activity", 43);
27795
27269
  i0__namespace.ɵɵelementEnd();
27796
27270
  i0__namespace.ɵɵelementEnd();
27797
27271
  }
@@ -27808,7 +27282,7 @@
27808
27282
  if (rf & 1) {
27809
27283
  i0__namespace.ɵɵelementStart(0, "tr");
27810
27284
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template, 4, 5, "td", 8);
27811
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 30);
27285
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 31);
27812
27286
  i0__namespace.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template, 3, 4, "td", 0);
27813
27287
  i0__namespace.ɵɵelementEnd();
27814
27288
  }
@@ -27841,10 +27315,10 @@
27841
27315
  var _r56_1 = i0__namespace.ɵɵgetCurrentView();
27842
27316
  i0__namespace.ɵɵelementStart(0, "td", 20);
27843
27317
  i0__namespace.ɵɵelementStart(1, "div", 21);
27844
- i0__namespace.ɵɵelementStart(2, "input", 43);
27318
+ i0__namespace.ɵɵelementStart(2, "input", 44);
27845
27319
  i0__namespace.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0__namespace.ɵɵrestoreView(_r56_1); var result_r50 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r54 = i0__namespace.ɵɵnextContext(3); return ctx_r54.changeSelection(result_r50); })("keyup", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_keyup_2_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var result_r50 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r57 = i0__namespace.ɵɵnextContext(3); return ctx_r57.onKeyUp($event, result_r50); });
27846
27320
  i0__namespace.ɵɵelementEnd();
27847
- i0__namespace.ɵɵelement(3, "label", 32);
27321
+ i0__namespace.ɵɵelement(3, "label", 33);
27848
27322
  i0__namespace.ɵɵelementEnd();
27849
27323
  i0__namespace.ɵɵelementEnd();
27850
27324
  }
@@ -27861,7 +27335,7 @@
27861
27335
  }
27862
27336
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
27863
27337
  if (rf & 1) {
27864
- i0__namespace.ɵɵelement(0, "ccd-field-read", 41);
27338
+ i0__namespace.ɵɵelement(0, "ccd-field-read", 42);
27865
27339
  }
27866
27340
  if (rf & 2) {
27867
27341
  var col_r60 = i0__namespace.ɵɵnextContext(3).$implicit;
@@ -27882,9 +27356,9 @@
27882
27356
  }
27883
27357
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
27884
27358
  if (rf & 1) {
27885
- i0__namespace.ɵɵelementContainerStart(0, 38);
27886
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
27887
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0__namespace.ɵɵtemplateRefExtractor);
27359
+ i0__namespace.ɵɵelementContainerStart(0, 39);
27360
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
27361
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0__namespace.ɵɵtemplateRefExtractor);
27888
27362
  i0__namespace.ɵɵelementContainerEnd();
27889
27363
  }
27890
27364
  if (rf & 2) {
@@ -27898,9 +27372,9 @@
27898
27372
  }
27899
27373
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) {
27900
27374
  if (rf & 1) {
27901
- i0__namespace.ɵɵelementStart(0, "a", 36);
27375
+ i0__namespace.ɵɵelementStart(0, "a", 37);
27902
27376
  i0__namespace.ɵɵpipe(1, "ccdCaseReference");
27903
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
27377
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
27904
27378
  i0__namespace.ɵɵelementEnd();
27905
27379
  }
27906
27380
  if (rf & 2) {
@@ -27914,8 +27388,8 @@
27914
27388
  }
27915
27389
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) {
27916
27390
  if (rf & 1) {
27917
- i0__namespace.ɵɵelementStart(0, "div", 38);
27918
- i0__namespace.ɵɵelement(1, "ccd-field-read", 41);
27391
+ i0__namespace.ɵɵelementStart(0, "div", 39);
27392
+ i0__namespace.ɵɵelement(1, "ccd-field-read", 42);
27919
27393
  i0__namespace.ɵɵelementEnd();
27920
27394
  }
27921
27395
  if (rf & 2) {
@@ -27929,9 +27403,9 @@
27929
27403
  }
27930
27404
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) {
27931
27405
  if (rf & 1) {
27932
- i0__namespace.ɵɵelementStart(0, "td", 33);
27933
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
27934
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
27406
+ i0__namespace.ɵɵelementStart(0, "td", 34);
27407
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
27408
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
27935
27409
  i0__namespace.ɵɵelementEnd();
27936
27410
  }
27937
27411
  if (rf & 2) {
@@ -27946,7 +27420,7 @@
27946
27420
  if (rf & 1) {
27947
27421
  i0__namespace.ɵɵelementStart(0, "td");
27948
27422
  i0__namespace.ɵɵelementStart(1, "div");
27949
- i0__namespace.ɵɵelement(2, "ccd-activity", 42);
27423
+ i0__namespace.ɵɵelement(2, "ccd-activity", 43);
27950
27424
  i0__namespace.ɵɵelementEnd();
27951
27425
  i0__namespace.ɵɵelementEnd();
27952
27426
  }
@@ -27963,7 +27437,7 @@
27963
27437
  if (rf & 1) {
27964
27438
  i0__namespace.ɵɵelementStart(0, "tr");
27965
27439
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
27966
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
27440
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 31);
27967
27441
  i0__namespace.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
27968
27442
  i0__namespace.ɵɵelementEnd();
27969
27443
  }
@@ -28005,7 +27479,7 @@
28005
27479
  i0__namespace.ɵɵelementStart(7, "thead");
28006
27480
  i0__namespace.ɵɵelementStart(8, "tr", 7);
28007
27481
  i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
28008
- i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
27482
+ i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 4, "th", 9);
28009
27483
  i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
28010
27484
  i0__namespace.ɵɵelementEnd();
28011
27485
  i0__namespace.ɵɵelementEnd();
@@ -28040,7 +27514,7 @@
28040
27514
  function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) {
28041
27515
  if (rf & 1) {
28042
27516
  var _r78_1 = i0__namespace.ɵɵgetCurrentView();
28043
- i0__namespace.ɵɵelementStart(0, "ccd-pagination", 44);
27517
+ i0__namespace.ɵɵelementStart(0, "ccd-pagination", 45);
28044
27518
  i0__namespace.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r78_1); var ctx_r77 = i0__namespace.ɵɵnextContext(); return ctx_r77.goToPage($event); });
28045
27519
  i0__namespace.ɵɵelementEnd();
28046
27520
  }
@@ -28051,7 +27525,7 @@
28051
27525
  }
28052
27526
  function SearchResultComponent_div_2_Template(rf, ctx) {
28053
27527
  if (rf & 1) {
28054
- i0__namespace.ɵɵelementStart(0, "div", 45);
27528
+ i0__namespace.ɵɵelementStart(0, "div", 46);
28055
27529
  i0__namespace.ɵɵtext(1, " No cases found. Try using different filters.\n");
28056
27530
  i0__namespace.ɵɵelementEnd();
28057
27531
  }
@@ -28413,7 +27887,7 @@
28413
27887
  SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
28414
27888
  SearchResultComponent.PARAM_CASE_STATE = 'case-state';
28415
27889
  SearchResultComponent.ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0__namespace.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(ActivityService), i0__namespace.ɵɵdirectiveInject(CaseReferencePipe), i0__namespace.ɵɵdirectiveInject(exports.PlaceholderService), i0__namespace.ɵɵdirectiveInject(BrowserService), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
28416
- SearchResultComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], ["aria-label", "No cases found. Try using different filters.", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) {
27890
+ SearchResultComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["aria-describedby", "search results", 1, "search-result-column-header"], ["scope", "col"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], ["aria-label", "No cases found. Try using different filters.", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) {
28417
27891
  if (rf & 1) {
28418
27892
  i0__namespace.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 15, 9, "table", 0);
28419
27893
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
@@ -28426,7 +27900,7 @@
28426
27900
  i0__namespace.ɵɵadvance(1);
28427
27901
  i0__namespace.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
28428
27902
  }
28429
- }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$7.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
27903
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$6.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
28430
27904
  (function () {
28431
27905
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchResultComponent, [{
28432
27906
  type: i0.Component,
@@ -28484,7 +27958,7 @@
28484
27958
  BrowserService
28485
27959
  ], imports: [[
28486
27960
  i1.CommonModule,
28487
- i1$7.NgxPaginationModule,
27961
+ i1$6.NgxPaginationModule,
28488
27962
  i1$1.RouterModule,
28489
27963
  i1$2.FormsModule,
28490
27964
  i1$2.ReactiveFormsModule,
@@ -28496,7 +27970,7 @@
28496
27970
  ]] });
28497
27971
  (function () {
28498
27972
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
28499
- i1$7.NgxPaginationModule,
27973
+ i1$6.NgxPaginationModule,
28500
27974
  i1$1.RouterModule,
28501
27975
  i1$2.FormsModule,
28502
27976
  i1$2.ReactiveFormsModule,
@@ -28512,7 +27986,7 @@
28512
27986
  args: [{
28513
27987
  imports: [
28514
27988
  i1.CommonModule,
28515
- i1$7.NgxPaginationModule,
27989
+ i1$6.NgxPaginationModule,
28516
27990
  i1$1.RouterModule,
28517
27991
  i1$2.FormsModule,
28518
27992
  i1$2.ReactiveFormsModule,
@@ -28842,9 +28316,6 @@
28842
28316
  exports.CaseFieldService = CaseFieldService;
28843
28317
  exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
28844
28318
  exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
28845
- exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
28846
- exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
28847
- exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
28848
28319
  exports.CaseFileViewService = CaseFileViewService;
28849
28320
  exports.CaseFullAccessViewComponent = CaseFullAccessViewComponent;
28850
28321
  exports.CaseHeaderComponent = CaseHeaderComponent;