@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-sort-documents → 5.0.25-case-file-view-all-document-count

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +94 -377
  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/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +51 -104
  6. package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +1 -3
  7. package/esm2015/lib/shared/components/palette/palette.module.js +5 -18
  8. package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +1 -65
  9. package/esm2015/public-api.js +3 -1
  10. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +83 -336
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  12. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +2 -5
  13. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  14. package/lib/shared/components/palette/case-file-view/components/index.d.ts +0 -2
  15. package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
  16. package/lib/shared/components/palette/palette.module.d.ts +22 -25
  17. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  18. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +0 -3
  19. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
  20. package/package.json +1 -1
  21. package/public-api.d.ts +2 -0
  22. package/public-api.d.ts.map +1 -1
  23. 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 -44
  24. 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
  25. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +0 -90
  26. package/esm2015/lib/shared/components/palette/case-file-view/components/shared/index.js +0 -2
  27. 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 -14
  28. 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
  29. 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
  30. 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
  31. package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +0 -15
  32. 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
  33. package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts +0 -2
  34. package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts.map +0 -1
@@ -19,13 +19,11 @@ import { isUndefined } from 'util';
19
19
  import { StateMachine } from '@edium/fsm';
20
20
  import * as i1$4 from 'ngx-md';
21
21
  import { NgxMdModule } from 'ngx-md';
22
- import * as i2 from '@angular/cdk/tree';
22
+ import * as i1$5 from '@angular/cdk/tree';
23
23
  import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
24
- import * as i1$5 from '@angular/cdk/overlay';
25
- import { OverlayModule } from '@angular/cdk/overlay';
26
24
  import * as i1$6 from '@angular/material/dialog';
27
25
  import { MatDialogConfig } from '@angular/material/dialog';
28
- import * as i2$1 from '@nicky-lenaers/ngx-scroll-to';
26
+ import * as i2 from '@nicky-lenaers/ngx-scroll-to';
29
27
  import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
30
28
  import * as i4 from '@angular-material-components/datetime-picker';
31
29
  import { NGX_MAT_DATE_FORMATS, NgxMatDateAdapter, NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
@@ -112,13 +110,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
112
110
  i0.ɵɵadvance(3);
113
111
  i0.ɵɵtextInterpolate(ctx_r1.workhours);
114
112
  } }
115
- const _c0$Q = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
113
+ const _c0$P = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
116
114
  const _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
117
115
  class FooterComponent {
118
116
  }
119
117
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
120
118
  FooterComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
121
- i0.ɵɵprojectionDef(_c0$Q);
119
+ i0.ɵɵprojectionDef(_c0$P);
122
120
  i0.ɵɵelementStart(0, "footer", 0);
123
121
  i0.ɵɵelementStart(1, "div", 1);
124
122
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
@@ -185,7 +183,7 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
185
183
  i0.ɵɵadvance(3);
186
184
  i0.ɵɵtextInterpolate(ctx_r2.title);
187
185
  } }
188
- const _c0$P = [[["", "headerNavigation", ""]]];
186
+ const _c0$O = [[["", "headerNavigation", ""]]];
189
187
  const _c1$m = ["[headerNavigation]"];
190
188
  class HeaderBarComponent {
191
189
  constructor() {
@@ -197,7 +195,7 @@ class HeaderBarComponent {
197
195
  }
198
196
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
199
197
  HeaderBarComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
200
- i0.ɵɵprojectionDef(_c0$P);
198
+ i0.ɵɵprojectionDef(_c0$O);
201
199
  i0.ɵɵelementStart(0, "header", 0);
202
200
  i0.ɵɵelementStart(1, "div", 1);
203
201
  i0.ɵɵelementStart(2, "div", 2);
@@ -254,13 +252,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
254
252
  type: Output
255
253
  }] }); })();
256
254
 
257
- const _c0$O = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
255
+ const _c0$N = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
258
256
  const _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
259
257
  class NavigationComponent {
260
258
  }
261
259
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
262
260
  NavigationComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
263
- i0.ɵɵprojectionDef(_c0$O);
261
+ i0.ɵɵprojectionDef(_c0$N);
264
262
  i0.ɵɵelementStart(0, "div");
265
263
  i0.ɵɵelementStart(1, "nav", 0);
266
264
  i0.ɵɵprojection(2);
@@ -377,13 +375,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
377
375
  }]
378
376
  }], null, null); })();
379
377
 
380
- const _c0$N = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
378
+ const _c0$M = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
381
379
  const _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
382
380
  class BodyComponent {
383
381
  }
384
382
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
385
383
  BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$k, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
386
- i0.ɵɵprojectionDef(_c0$N);
384
+ i0.ɵɵprojectionDef(_c0$M);
387
385
  i0.ɵɵelementStart(0, "div", 0);
388
386
  i0.ɵɵprojection(1);
389
387
  i0.ɵɵprojection(2, 1);
@@ -400,7 +398,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
400
398
  }]
401
399
  }], null, null); })();
402
400
 
403
- const _c0$M = function (a0) { return { "govuk-input--error": a0 }; };
401
+ const _c0$L = function (a0) { return { "govuk-input--error": a0 }; };
404
402
  function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
405
403
  const _r8 = i0.ɵɵgetCurrentView();
406
404
  i0.ɵɵelementStart(0, "div", 12);
@@ -416,7 +414,7 @@ function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
416
414
  i0.ɵɵadvance(1);
417
415
  i0.ɵɵproperty("for", ctx_r3.hourId());
418
416
  i0.ɵɵadvance(2);
419
- i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r3.isInvalid));
417
+ i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$L, ctx_r3.isInvalid));
420
418
  } }
421
419
  function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
422
420
  const _r13 = i0.ɵɵgetCurrentView();
@@ -433,7 +431,7 @@ function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
433
431
  i0.ɵɵadvance(1);
434
432
  i0.ɵɵproperty("for", ctx_r4.minuteId());
435
433
  i0.ɵɵadvance(2);
436
- i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r4.isInvalid));
434
+ i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$L, ctx_r4.isInvalid));
437
435
  } }
438
436
  function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
439
437
  const _r18 = i0.ɵɵgetCurrentView();
@@ -450,7 +448,7 @@ function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
450
448
  i0.ɵɵadvance(1);
451
449
  i0.ɵɵproperty("for", ctx_r5.secondId());
452
450
  i0.ɵɵadvance(2);
453
- i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r5.isInvalid));
451
+ i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$L, ctx_r5.isInvalid));
454
452
  } }
455
453
  class DateInputComponent {
456
454
  constructor() {
@@ -679,15 +677,15 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
679
677
  i0.ɵɵadvance(2);
680
678
  i0.ɵɵproperty("for", ctx.dayId());
681
679
  i0.ɵɵadvance(2);
682
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$M, ctx.isInvalid));
680
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$L, ctx.isInvalid));
683
681
  i0.ɵɵadvance(3);
684
682
  i0.ɵɵproperty("for", ctx.monthId());
685
683
  i0.ɵɵadvance(2);
686
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$M, ctx.isInvalid));
684
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$L, ctx.isInvalid));
687
685
  i0.ɵɵadvance(3);
688
686
  i0.ɵɵproperty("for", ctx.yearId());
689
687
  i0.ɵɵadvance(2);
690
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$M, ctx.isInvalid));
688
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$L, ctx.isInvalid));
691
689
  i0.ɵɵadvance(2);
692
690
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
693
691
  i0.ɵɵadvance(1);
@@ -757,7 +755,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
757
755
  i0.ɵɵelementEnd();
758
756
  i0.ɵɵelementContainerEnd();
759
757
  } }
760
- const _c0$L = ["*"];
758
+ const _c0$K = ["*"];
761
759
  var AlertMessageType;
762
760
  (function (AlertMessageType) {
763
761
  AlertMessageType["WARNING"] = "warning";
@@ -777,7 +775,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
777
775
  AlertComponent.TYPE_ERROR = 'error';
778
776
  AlertComponent.TYPE_INFORMATION = 'information';
779
777
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
780
- AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$L, 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) { if (rf & 1) {
778
+ AlertComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
781
779
  i0.ɵɵprojectionDef();
782
780
  i0.ɵɵelementStart(0, "div", 0);
783
781
  i0.ɵɵelementContainerStart(1, 1);
@@ -866,7 +864,7 @@ AlertModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
866
864
  }]
867
865
  }], null, null); })();
868
866
 
869
- const _c0$K = function (a0) { return { "js-hidden": a0 }; };
867
+ const _c0$J = function (a0) { return { "js-hidden": a0 }; };
870
868
  const _c1$j = ["*"];
871
869
  class TabComponent {
872
870
  }
@@ -877,7 +875,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
877
875
  i0.ɵɵprojection(1);
878
876
  i0.ɵɵelementEnd();
879
877
  } if (rf & 2) {
880
- i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$K, !ctx.selected));
878
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$J, !ctx.selected));
881
879
  i0.ɵɵattribute("aria-hidden", !ctx.selected);
882
880
  } }, directives: [i1.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}}"] });
883
881
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
@@ -897,7 +895,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
897
895
  type: Input
898
896
  }] }); })();
899
897
 
900
- const _c0$J = ["tab"];
898
+ const _c0$I = ["tab"];
901
899
  const _c1$i = function () { return ["."]; };
902
900
  const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
903
901
  function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
@@ -942,7 +940,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
942
940
  let _t;
943
941
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
944
942
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
945
- i0.ɵɵviewQuery(_c0$J, 1);
943
+ i0.ɵɵviewQuery(_c0$I, 1);
946
944
  } if (rf & 2) {
947
945
  let _t;
948
946
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1007,7 +1005,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
1007
1005
  }]
1008
1006
  }], null, null); })();
1009
1007
 
1010
- const _c0$I = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1008
+ const _c0$H = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1011
1009
  class ActivityBannerComponent {
1012
1010
  constructor() { }
1013
1011
  ngOnInit() {
@@ -1024,7 +1022,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
1024
1022
  i0.ɵɵelementEnd();
1025
1023
  i0.ɵɵelementEnd();
1026
1024
  } if (rf & 2) {
1027
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$I, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1025
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$H, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1028
1026
  i0.ɵɵadvance(2);
1029
1027
  i0.ɵɵpropertyInterpolate("alt", ctx.description);
1030
1028
  i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
@@ -7825,7 +7823,7 @@ FieldLabelPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldLabel", type: FieldLa
7825
7823
  }]
7826
7824
  }], null, null); })();
7827
7825
 
7828
- const _c0$H = ["writeComplexFieldComponent"];
7826
+ const _c0$G = ["writeComplexFieldComponent"];
7829
7827
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (rf & 1) {
7830
7828
  i0.ɵɵelementStart(0, "span", 14);
7831
7829
  i0.ɵɵtext(1, "Enter the Postcode");
@@ -8018,7 +8016,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
8018
8016
  }
8019
8017
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
8020
8018
  WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
8021
- i0.ɵɵviewQuery(_c0$H, 1);
8019
+ i0.ɵɵviewQuery(_c0$G, 1);
8022
8020
  i0.ɵɵviewQuery(FocusElementDirective, 1);
8023
8021
  } if (rf & 2) {
8024
8022
  let _t;
@@ -8081,70 +8079,6 @@ class DocumentTreeNode {
8081
8079
  };
8082
8080
  return countChildren(this.children);
8083
8081
  }
8084
- sortChildrenAscending() {
8085
- var _a, _b;
8086
- const sortAscending = () => {
8087
- return (a, b) => {
8088
- const nameA = a.name.toUpperCase(); // ignore upper and lowercase
8089
- const nameB = b.name.toUpperCase(); // ignore upper and lowercase
8090
- if (a.type === 'category' || b.type === 'category') {
8091
- return 0;
8092
- }
8093
- if (nameA < nameB) {
8094
- return -1;
8095
- }
8096
- if (nameA > nameB) {
8097
- return 1;
8098
- }
8099
- };
8100
- };
8101
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
8102
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
8103
- childNodes.sortChildrenAscending();
8104
- });
8105
- }
8106
- sortChildrenDescending() {
8107
- var _a, _b;
8108
- const sortDescending = () => {
8109
- return (a, b) => {
8110
- const nameA = a.name.toUpperCase(); // ignore upper and lowercase
8111
- const nameB = b.name.toUpperCase(); // ignore upper and lowercase
8112
- if (a.type === 'category' || b.type === 'category') {
8113
- return 0;
8114
- }
8115
- if (nameA > nameB) {
8116
- return -1;
8117
- }
8118
- if (nameA < nameB) {
8119
- return 1;
8120
- }
8121
- };
8122
- };
8123
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
8124
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
8125
- childNodes.sortChildrenDescending();
8126
- });
8127
- }
8128
- get flattenedAll() {
8129
- var _a;
8130
- const flattenChildren = (nodeChild) => {
8131
- var _a;
8132
- const flattenedNodes = [];
8133
- flattenedNodes.push(nodeChild);
8134
- if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
8135
- nodeChild.children.forEach((child) => {
8136
- flattenedNodes.push(...flattenChildren(child));
8137
- });
8138
- }
8139
- return flattenedNodes;
8140
- };
8141
- return [
8142
- this,
8143
- ...(_a = this.children) === null || _a === void 0 ? void 0 : _a.map(item => {
8144
- return flattenChildren(item);
8145
- }).flat()
8146
- ];
8147
- }
8148
8082
  }
8149
8083
  __decorate([
8150
8084
  Type(() => DocumentTreeNode),
@@ -8156,176 +8090,50 @@ __decorate([
8156
8090
  __metadata("design:paramtypes", [])
8157
8091
  ], DocumentTreeNode.prototype, "childDocumentCount", null);
8158
8092
 
8159
- function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8160
- i0.ɵɵelementContainerStart(0);
8161
- i0.ɵɵelementStart(1, "div", 4);
8162
- i0.ɵɵtext(2);
8163
- i0.ɵɵelementEnd();
8164
- i0.ɵɵelementContainerEnd();
8165
- } if (rf & 2) {
8166
- const ctx_r1 = i0.ɵɵnextContext(2);
8167
- i0.ɵɵadvance(2);
8168
- i0.ɵɵtextInterpolate(ctx_r1.title);
8169
- } }
8170
- function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template(rf, ctx) { if (rf & 1) {
8171
- i0.ɵɵelement(0, "img", 8);
8172
- } if (rf & 2) {
8173
- const item_r3 = i0.ɵɵnextContext().$implicit;
8174
- const ctx_r4 = i0.ɵɵnextContext(2);
8175
- i0.ɵɵproperty("src", item_r3.iconSrc, i0.ɵɵsanitizeUrl)("alt", ctx_r4.title);
8176
- } }
8177
- function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
8178
- const _r7 = i0.ɵɵgetCurrentView();
8179
- i0.ɵɵelementContainerStart(0);
8180
- i0.ɵɵelementStart(1, "div", 5);
8181
- i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r7); const item_r3 = ctx.$implicit; const ctx_r6 = i0.ɵɵnextContext(2); item_r3.actionFn(); return ctx_r6.closeOverlay(); });
8182
- i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template, 1, 2, "img", 6);
8183
- i0.ɵɵelementStart(3, "div", 7);
8184
- i0.ɵɵtext(4);
8185
- i0.ɵɵelementEnd();
8186
- i0.ɵɵelementEnd();
8187
- i0.ɵɵelementContainerEnd();
8188
- } if (rf & 2) {
8189
- const item_r3 = ctx.$implicit;
8190
- i0.ɵɵadvance(2);
8191
- i0.ɵɵproperty("ngIf", item_r3.iconSrc);
8192
- i0.ɵɵadvance(2);
8193
- i0.ɵɵtextInterpolate(item_r3.actionText);
8194
- } }
8195
- function CaseFileViewOverlayMenuComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
8196
- i0.ɵɵelementStart(0, "div", 1);
8197
- i0.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template, 3, 1, "ng-container", 2);
8198
- i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template, 5, 2, "ng-container", 3);
8199
- i0.ɵɵelementEnd();
8200
- } if (rf & 2) {
8201
- const ctx_r0 = i0.ɵɵnextContext();
8202
- i0.ɵɵadvance(1);
8203
- i0.ɵɵproperty("ngIf", ctx_r0.title);
8204
- i0.ɵɵadvance(1);
8205
- i0.ɵɵproperty("ngForOf", ctx_r0.menuItems);
8206
- } }
8207
- class CaseFileViewOverlayMenuComponent {
8208
- constructor() {
8209
- this.title = '';
8210
- this.isOpen = false;
8211
- this.isOpenChange = new EventEmitter();
8212
- }
8213
- closeOverlay() {
8214
- const isOpen = false;
8215
- this.isOpen = isOpen;
8216
- this.isOpenChange.emit(isOpen);
8217
- }
8218
- }
8219
- CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
8220
- CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", cdkOverlayOrigin: "cdkOverlayOrigin", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, decls: 1, vars: 2, consts: [["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "overlayMenu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlayMenu__title"], [1, "overlayMenu__item", 3, "click"], ["class", "overlayMenu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlayMenu__actionText"], [1, "overlayMenu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
8221
- i0.ɵɵtemplate(0, CaseFileViewOverlayMenuComponent_ng_template_0_Template, 3, 2, "ng-template", 0);
8222
- } if (rf & 2) {
8223
- i0.ɵɵproperty("cdkConnectedOverlayOrigin", ctx.cdkOverlayOrigin)("cdkConnectedOverlayOpen", ctx.isOpen);
8224
- } }, directives: [i1$5.CdkConnectedOverlay, i1.NgIf, i1.NgForOf], styles: [".overlayMenu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlayMenu__item[_ngcontent-%COMP%], .overlayMenu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlayMenu__item[_ngcontent-%COMP%]:last-child, .overlayMenu__title[_ngcontent-%COMP%]:last-child{border:none}.overlayMenu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlayMenu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlayMenu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlayMenu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
8225
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
8226
- type: Component,
8227
- args: [{
8228
- selector: 'ccd-case-file-view-overlay-menu',
8229
- templateUrl: './case-file-view-overlay-menu.component.html',
8230
- styleUrls: ['./case-file-view-overlay-menu.component.scss']
8231
- }]
8232
- }], null, { title: [{
8233
- type: Input
8234
- }], menuItems: [{
8235
- type: Input
8236
- }], cdkOverlayOrigin: [{
8237
- type: Input
8238
- }], isOpen: [{
8239
- type: Input
8240
- }], isOpenChange: [{
8241
- type: Output
8242
- }] }); })();
8243
-
8244
- class CaseFileViewFolderSortComponent {
8245
- constructor() {
8246
- this.isOpen = false;
8247
- this.sortAscending = new EventEmitter();
8248
- this.sortDescending = new EventEmitter();
8249
- this.overlayMenuItems = [
8250
- { actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
8251
- { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
8252
- ];
8253
- }
8254
- ngOnInit() {
8255
- }
8256
- }
8257
- CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
8258
- CaseFileViewFolderSortComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 4, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "sort-button", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button__arrows"], [3, "title", "menuItems", "cdkOverlayOrigin", "isOpen", "isOpenChange"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) { if (rf & 1) {
8259
- i0.ɵɵelementStart(0, "button", 0, 1);
8260
- i0.ɵɵlistener("click", function CaseFileViewFolderSortComponent_Template_button_click_0_listener() { return ctx.isOpen = !ctx.isOpen; });
8261
- i0.ɵɵelement(2, "img", 2);
8262
- i0.ɵɵelementEnd();
8263
- i0.ɵɵelementStart(3, "ccd-case-file-view-overlay-menu", 3);
8264
- i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_3_listener($event) { return ctx.isOpen = $event; });
8265
- i0.ɵɵelementEnd();
8266
- } if (rf & 2) {
8267
- const _r0 = i0.ɵɵreference(1);
8268
- i0.ɵɵadvance(3);
8269
- i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("cdkOverlayOrigin", _r0)("isOpen", ctx.isOpen);
8270
- } }, directives: [i1$5.CdkOverlayOrigin, CaseFileViewOverlayMenuComponent], styles: [".sort-button[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-6px;cursor:pointer}.sort-button__arrows[_ngcontent-%COMP%]{display:block;height:20px}"] });
8271
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
8272
- type: Component,
8273
- args: [{
8274
- selector: 'ccd-case-file-view-folder-sort',
8275
- templateUrl: './case-file-view-folder-sort.component.html',
8276
- styleUrls: ['./case-file-view-folder-sort.component.scss']
8277
- }]
8278
- }], function () { return []; }, { sortAscending: [{
8279
- type: Output
8280
- }], sortDescending: [{
8281
- type: Output
8282
- }] }); })();
8283
-
8284
- const _c0$G = ["tree"];
8285
- function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) { if (rf & 1) {
8286
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
8287
- i0.ɵɵelementStart(1, "div", 9);
8288
- i0.ɵɵelementStart(2, "button", 10);
8289
- i0.ɵɵelement(3, "img", 11);
8093
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) { if (rf & 1) {
8094
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
8095
+ i0.ɵɵelementStart(1, "div", 8);
8096
+ i0.ɵɵelementStart(2, "button", 9);
8097
+ i0.ɵɵelement(3, "img", 10);
8290
8098
  i0.ɵɵelementEnd();
8291
- i0.ɵɵelementStart(4, "span", 12);
8099
+ i0.ɵɵelementStart(4, "span", 11);
8292
8100
  i0.ɵɵtext(5);
8293
8101
  i0.ɵɵelementEnd();
8294
8102
  i0.ɵɵelementEnd();
8295
8103
  i0.ɵɵelementEnd();
8296
8104
  } if (rf & 2) {
8297
- const node_r3 = ctx.$implicit;
8105
+ const node_r2 = ctx.$implicit;
8298
8106
  i0.ɵɵadvance(5);
8299
- i0.ɵɵtextInterpolate(node_r3.name);
8300
- } }
8301
- function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) { if (rf & 1) {
8302
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
8303
- i0.ɵɵelementStart(1, "div", 13);
8304
- i0.ɵɵelementStart(2, "button", 14);
8305
- i0.ɵɵelement(3, "img", 15);
8306
- i0.ɵɵelementStart(4, "span", 16);
8107
+ i0.ɵɵtextInterpolate(node_r2.name);
8108
+ } }
8109
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) { if (rf & 1) {
8110
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
8111
+ i0.ɵɵelementStart(1, "div", 12);
8112
+ i0.ɵɵelementStart(2, "button", 13);
8113
+ i0.ɵɵelement(3, "img", 14);
8114
+ i0.ɵɵelementStart(4, "span", 15);
8307
8115
  i0.ɵɵtext(5);
8308
8116
  i0.ɵɵelementEnd();
8309
8117
  i0.ɵɵelementEnd();
8310
- i0.ɵɵelementStart(6, "span", 17);
8118
+ i0.ɵɵelementStart(6, "span", 16);
8311
8119
  i0.ɵɵtext(7);
8312
8120
  i0.ɵɵelementEnd();
8313
8121
  i0.ɵɵelementEnd();
8314
8122
  i0.ɵɵelementStart(8, "div");
8315
- i0.ɵɵelementContainer(9, 18);
8123
+ i0.ɵɵelementContainer(9, 17);
8316
8124
  i0.ɵɵelementEnd();
8317
8125
  i0.ɵɵelementEnd();
8318
8126
  } if (rf & 2) {
8319
- const node_r4 = ctx.$implicit;
8320
- const ctx_r2 = i0.ɵɵnextContext();
8127
+ const node_r3 = ctx.$implicit;
8128
+ const ctx_r1 = i0.ɵɵnextContext();
8321
8129
  i0.ɵɵadvance(2);
8322
- i0.ɵɵattribute("aria-label", "toggle " + node_r4.name);
8130
+ i0.ɵɵattribute("aria-label", "toggle " + node_r3.name);
8323
8131
  i0.ɵɵadvance(3);
8324
- i0.ɵɵtextInterpolate(node_r4.childDocumentCount);
8132
+ i0.ɵɵtextInterpolate(node_r3.childDocumentCount);
8325
8133
  i0.ɵɵadvance(2);
8326
- i0.ɵɵtextInterpolate(node_r4.name);
8134
+ i0.ɵɵtextInterpolate(node_r3.name);
8327
8135
  i0.ɵɵadvance(1);
8328
- i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r4));
8136
+ i0.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
8329
8137
  } }
8330
8138
  class CaseFileViewFolderComponent {
8331
8139
  constructor() {
@@ -8334,6 +8142,17 @@ class CaseFileViewFolderComponent {
8334
8142
  this.nestedChildren = (_, nodeData) => nodeData.children;
8335
8143
  this.nestedTreeControl = new NestedTreeControl(this.getChildren);
8336
8144
  }
8145
+ get documentCount() {
8146
+ var _a;
8147
+ if ((_a = this.nestedDataSource) === null || _a === void 0 ? void 0 : _a.length) {
8148
+ return this.nestedDataSource.reduce((acc, item) => {
8149
+ return acc + item.childDocumentCount;
8150
+ }, 0);
8151
+ }
8152
+ else {
8153
+ return 0;
8154
+ }
8155
+ }
8337
8156
  ngOnInit() {
8338
8157
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(categoriesAndDocuments => {
8339
8158
  // Using the mock data for now as we have to display the documents as well for demo purpose
@@ -8385,49 +8204,11 @@ class CaseFileViewFolderComponent {
8385
8204
  uncategorisedNode.children = documents;
8386
8205
  return uncategorisedNode;
8387
8206
  }
8388
- sortDataSourceAscAlphabetically() {
8389
- const sortedData = this.nestedDataSource.map(item => {
8390
- item.sortChildrenAscending();
8391
- const newDocumentTreeNode = new DocumentTreeNode();
8392
- newDocumentTreeNode.name = item.name;
8393
- newDocumentTreeNode.type = item.type;
8394
- newDocumentTreeNode.children = item.children;
8395
- return newDocumentTreeNode;
8396
- });
8397
- this.updateNodeData(sortedData);
8398
- }
8399
- sortDataSourceDescAlphabetically() {
8400
- const sortedData = this.nestedDataSource.map(item => {
8401
- item.sortChildrenDescending();
8402
- return item;
8403
- });
8404
- this.updateNodeData(sortedData);
8405
- }
8406
8207
  ngOnDestroy() {
8407
8208
  if (this.categoriesAndDocumentsSubscription) {
8408
8209
  this.categoriesAndDocumentsSubscription.unsubscribe();
8409
8210
  }
8410
8211
  }
8411
- updateNodeData(data) {
8412
- const prevSelected = this.nestedTreeControl.expansionModel.selected.map((item) => {
8413
- return item.name;
8414
- });
8415
- this.nestedTreeControl.collapseAll();
8416
- this.nestedDataSource = data.map((item) => {
8417
- const newDocumentTreeNode = new DocumentTreeNode();
8418
- newDocumentTreeNode.name = item.name;
8419
- newDocumentTreeNode.type = item.type;
8420
- newDocumentTreeNode.children = item.children;
8421
- return newDocumentTreeNode;
8422
- });
8423
- const flattenedArray = this.nestedDataSource.map((item) => {
8424
- return item.flattenedAll;
8425
- }).flat();
8426
- const newObjects = flattenedArray.filter((item) => {
8427
- return prevSelected.includes(item.name);
8428
- });
8429
- newObjects.forEach(object => this.nestedTreeControl.expand(object));
8430
- }
8431
8212
  loadCategories() {
8432
8213
  return [
8433
8214
  {
@@ -8435,26 +8216,12 @@ class CaseFileViewFolderComponent {
8435
8216
  category_name: 'Beers',
8436
8217
  category_order: 1,
8437
8218
  documents: [
8438
- {
8439
- document_url: '/test',
8440
- document_filename: 'Lager encyclopedia',
8441
- document_binary_url: '/test/binary',
8442
- attribute_path: '',
8443
- upload_timestamp: ''
8444
- },
8445
8219
  {
8446
8220
  document_url: '/test',
8447
8221
  document_filename: 'Beers encyclopedia',
8448
8222
  document_binary_url: '/test/binary',
8449
8223
  attribute_path: '',
8450
8224
  upload_timestamp: ''
8451
- },
8452
- {
8453
- document_url: '/test',
8454
- document_filename: 'Ale encyclopedia',
8455
- document_binary_url: '/test/binary',
8456
- attribute_path: '',
8457
- upload_timestamp: ''
8458
8225
  }
8459
8226
  ],
8460
8227
  sub_categories: [
@@ -8605,46 +8372,36 @@ class CaseFileViewFolderComponent {
8605
8372
  }
8606
8373
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
8607
8374
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
8608
- CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) { if (rf & 1) {
8609
- i0.ɵɵviewQuery(_c0$G, 3);
8610
- } if (rf & 2) {
8611
- let _t;
8612
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tree = _t.first);
8613
- } }, 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"], ["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) { if (rf & 1) {
8375
+ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 4, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
8614
8376
  i0.ɵɵelementStart(0, "div", 0);
8615
- i0.ɵɵelementStart(1, "div", 1);
8616
- i0.ɵɵtext(2, "Documents");
8617
- i0.ɵɵelementEnd();
8618
- i0.ɵɵelementStart(3, "div");
8619
- i0.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
8620
- i0.ɵɵ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(); });
8621
- i0.ɵɵelementEnd();
8377
+ i0.ɵɵelement(1, "div", 1);
8378
+ i0.ɵɵelementStart(2, "div", 2);
8379
+ i0.ɵɵtext(3);
8622
8380
  i0.ɵɵelementEnd();
8623
8381
  i0.ɵɵelementEnd();
8624
- i0.ɵɵelementStart(5, "div", 3);
8625
- i0.ɵɵelementStart(6, "cdk-tree", 4, 5);
8626
- i0.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 6, 1, "cdk-nested-tree-node", 6);
8627
- i0.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 10, 5, "cdk-nested-tree-node", 7);
8382
+ i0.ɵɵelementStart(4, "div", 3);
8383
+ i0.ɵɵelementStart(5, "cdk-tree", 4);
8384
+ i0.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 6, 1, "cdk-nested-tree-node", 5);
8385
+ i0.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 10, 5, "cdk-nested-tree-node", 6);
8628
8386
  i0.ɵɵelementEnd();
8629
8387
  i0.ɵɵelementEnd();
8630
8388
  } if (rf & 2) {
8631
- i0.ɵɵadvance(6);
8632
- i0.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
8633
8389
  i0.ɵɵadvance(3);
8390
+ i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
8391
+ i0.ɵɵadvance(2);
8392
+ i0.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
8393
+ i0.ɵɵadvance(2);
8634
8394
  i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
8635
- } }, directives: [CaseFileViewFolderSortComponent, i2.CdkTree, i2.CdkTreeNodeDef, i2.CdkNestedTreeNode, i2.CdkTreeNodeToggle, i2.CdkTreeNodeOutlet], styles: [".document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0;padding:6px}.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:4px}"] });
8395
+ } }, directives: [i1$5.CdkTree, i1$5.CdkTreeNodeDef, i1$5.CdkNestedTreeNode, i1$5.CdkTreeNodeToggle, i1$5.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{height:60px;border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0}.node__iconImg[_ngcontent-%COMP%]{height:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff}.node__name[_ngcontent-%COMP%]{margin-left:6px}"] });
8636
8396
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
8637
8397
  type: Component,
8638
8398
  args: [{
8639
8399
  selector: 'ccd-case-file-view-folder',
8640
- templateUrl: './case-file-view-folder.component.html',
8641
8400
  styleUrls: ['./case-file-view-folder.component.scss'],
8401
+ templateUrl: './case-file-view-folder.component.html'
8642
8402
  }]
8643
8403
  }], function () { return []; }, { categoriesAndDocuments: [{
8644
8404
  type: Input
8645
- }], tree: [{
8646
- type: ViewChild,
8647
- args: ['tree', { static: true }]
8648
8405
  }] }); })();
8649
8406
 
8650
8407
  class CaseFileViewFieldComponent {
@@ -9443,7 +9200,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
9443
9200
  return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
9444
9201
  }
9445
9202
  }
9446
- WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
9203
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
9447
9204
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
9448
9205
  i0.ɵɵviewQuery(_c0$D, 1);
9449
9206
  } if (rf & 2) {
@@ -9485,7 +9242,7 @@ WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollec
9485
9242
  templateUrl: './write-collection-field.html',
9486
9243
  styleUrls: ['./collection-field.scss']
9487
9244
  }]
9488
- }], function () { return [{ type: i1$6.MatDialog }, { type: i2$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9245
+ }], function () { return [{ type: i1$6.MatDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9489
9246
  type: Input
9490
9247
  }], formGroup: [{
9491
9248
  type: Input
@@ -17109,9 +16866,7 @@ const PALETTE_COMPONENTS = [
17109
16866
  WriteCollectionFieldComponent,
17110
16867
  // ComponentLauncher web components
17111
16868
  CaseFileViewFieldComponent,
17112
- CaseFileViewFolderComponent,
17113
- CaseFileViewFolderSortComponent,
17114
- CaseFileViewOverlayMenuComponent
16869
+ CaseFileViewFolderComponent
17115
16870
  ];
17116
16871
  class PaletteModule {
17117
16872
  }
@@ -17149,7 +16904,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17149
16904
  MatDatepickerModule,
17150
16905
  MatAutocompleteModule,
17151
16906
  CdkTreeModule,
17152
- OverlayModule,
17153
16907
  PaymentLibModule,
17154
16908
  ScrollToModule.forRoot()
17155
16909
  ], NgxMatDatetimePickerModule,
@@ -17233,9 +16987,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17233
16987
  WriteCollectionFieldComponent,
17234
16988
  // ComponentLauncher web components
17235
16989
  CaseFileViewFieldComponent,
17236
- CaseFileViewFolderComponent,
17237
- CaseFileViewFolderSortComponent,
17238
- CaseFileViewOverlayMenuComponent, CaseFileViewOverlayMenuComponent], imports: [CommonModule,
16990
+ CaseFileViewFolderComponent], imports: [CommonModule,
17239
16991
  RouterModule,
17240
16992
  FormsModule,
17241
16993
  ReactiveFormsModule,
@@ -17257,8 +17009,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17257
17009
  MatDatepickerModule,
17258
17010
  MatAutocompleteModule,
17259
17011
  CdkTreeModule,
17260
- OverlayModule,
17261
- PaymentLibModule, i2$1.ScrollToModule], exports: [NgxMatDatetimePickerModule,
17012
+ PaymentLibModule, i2.ScrollToModule], exports: [NgxMatDatetimePickerModule,
17262
17013
  NgxMatNativeDateModule,
17263
17014
  NgxMatTimepickerModule,
17264
17015
  TabsModule,
@@ -17334,9 +17085,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17334
17085
  WriteCollectionFieldComponent,
17335
17086
  // ComponentLauncher web components
17336
17087
  CaseFileViewFieldComponent,
17337
- CaseFileViewFolderComponent,
17338
- CaseFileViewFolderSortComponent,
17339
- CaseFileViewOverlayMenuComponent] }); })();
17088
+ CaseFileViewFolderComponent] }); })();
17340
17089
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
17341
17090
  type: NgModule,
17342
17091
  args: [{
@@ -17363,7 +17112,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17363
17112
  MatDatepickerModule,
17364
17113
  MatAutocompleteModule,
17365
17114
  CdkTreeModule,
17366
- OverlayModule,
17367
17115
  PaymentLibModule,
17368
17116
  ScrollToModule.forRoot()
17369
17117
  ],
@@ -17373,8 +17121,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17373
17121
  DynamicListPipe,
17374
17122
  DynamicRadioListPipe,
17375
17123
  DocumentUrlPipe,
17376
- ...PALETTE_COMPONENTS,
17377
- CaseFileViewOverlayMenuComponent,
17124
+ ...PALETTE_COMPONENTS
17378
17125
  ],
17379
17126
  exports: [
17380
17127
  NgxMatDatetimePickerModule,
@@ -24986,5 +24733,5 @@ class TestRouteSnapshotBuilder {
24986
24733
  * Generated bundle index. Do not edit.
24987
24734
  */
24988
24735
 
24989
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
24736
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
24990
24737
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map