@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
@@ -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 i3 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
- import * as i1$6 from '@angular/material/dialog';
24
+ import * as i1$5 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';
@@ -38,12 +36,12 @@ import * as i5$1 from '@angular/material/autocomplete';
38
36
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
39
37
  import * as i6$1 from '@angular/material/core';
40
38
  import { MAT_DATE_LOCALE } from '@angular/material/core';
41
- import * as i3 from '@hmcts/ccpay-web-component';
39
+ import * as i3$1 from '@hmcts/ccpay-web-component';
42
40
  import { PaymentLibModule } from '@hmcts/ccpay-web-component';
43
41
  import * as i6$2 from '@angular/cdk/portal';
44
42
  import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
45
43
  import { MatInputModule } from '@angular/material/input';
46
- import * as i1$7 from 'ngx-pagination';
44
+ import * as i1$6 from 'ngx-pagination';
47
45
  import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
48
46
  import * as i10 from '@angular/material/tabs';
49
47
  import { MatTabsModule } from '@angular/material/tabs';
@@ -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$R = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
116
- const _c1$o = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
113
+ const _c0$P = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
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
- FooterComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
121
- i0.ɵɵprojectionDef(_c0$R);
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) {
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,8 +183,8 @@ 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$Q = [[["", "headerNavigation", ""]]];
189
- const _c1$n = ["[headerNavigation]"];
186
+ const _c0$O = [[["", "headerNavigation", ""]]];
187
+ const _c1$m = ["[headerNavigation]"];
190
188
  class HeaderBarComponent {
191
189
  constructor() {
192
190
  this.signOutRequest = new EventEmitter();
@@ -196,8 +194,8 @@ class HeaderBarComponent {
196
194
  }
197
195
  }
198
196
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
199
- HeaderBarComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
200
- i0.ɵɵprojectionDef(_c0$Q);
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) {
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$P = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
258
- const _c1$m = ["[leftNavLinks]", "[rightNavLinks]"];
255
+ const _c0$N = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
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
- NavigationComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
263
- i0.ɵɵprojectionDef(_c0$P);
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) {
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$O = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
381
- const _c1$l = ["[topBody]", "[leftBody]", "[rightBody]"];
378
+ const _c0$M = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
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
- BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$l, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
386
- i0.ɵɵprojectionDef(_c0$O);
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) {
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$N = 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$N, 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$N, 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$N, 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$N, 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$N, 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$N, 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$M = ["*"];
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$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) { 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,18 +864,18 @@ AlertModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
866
864
  }]
867
865
  }], null, null); })();
868
866
 
869
- const _c0$L = function (a0) { return { "js-hidden": a0 }; };
870
- const _c1$k = ["*"];
867
+ const _c0$J = function (a0) { return { "js-hidden": a0 }; };
868
+ const _c1$j = ["*"];
871
869
  class TabComponent {
872
870
  }
873
871
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
874
- TabComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
872
+ TabComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
875
873
  i0.ɵɵprojectionDef();
876
874
  i0.ɵɵelementStart(0, "div", 0);
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$L, !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,8 +895,8 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
897
895
  type: Input
898
896
  }] }); })();
899
897
 
900
- const _c0$K = ["tab"];
901
- const _c1$j = function () { return ["."]; };
898
+ const _c0$I = ["tab"];
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) {
904
902
  const _r4 = i0.ɵɵgetCurrentView();
@@ -911,7 +909,7 @@ function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
911
909
  } if (rf & 2) {
912
910
  const panel_r1 = ctx.$implicit;
913
911
  i0.ɵɵadvance(1);
914
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$j))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
912
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$i))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
915
913
  i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
916
914
  i0.ɵɵadvance(2);
917
915
  i0.ɵɵtextInterpolate(panel_r1.title);
@@ -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$K, 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$J = 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$J, 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);
@@ -7602,7 +7600,7 @@ class IsCompoundPipe {
7602
7600
  }
7603
7601
  }
7604
7602
  IsCompoundPipe.COMPOUND_TYPES = [
7605
- 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
7603
+ 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
7606
7604
  ];
7607
7605
  IsCompoundPipe.EXCLUDE = [
7608
7606
  'CaseLink', 'JudicialUser'
@@ -7825,13 +7823,13 @@ FieldLabelPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldLabel", type: FieldLa
7825
7823
  }]
7826
7824
  }], null, null); })();
7827
7825
 
7828
- const _c0$I = ["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");
7832
7830
  i0.ɵɵelementEnd();
7833
7831
  } }
7834
- const _c1$i = function (a0) { return { "form-group-error": a0 }; };
7832
+ const _c1$h = function (a0) { return { "form-group-error": a0 }; };
7835
7833
  const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
7836
7834
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
7837
7835
  const _r7 = i0.ɵɵgetCurrentView();
@@ -7850,7 +7848,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
7850
7848
  i0.ɵɵelementEnd();
7851
7849
  } if (rf & 2) {
7852
7850
  const ctx_r2 = i0.ɵɵnextContext(2);
7853
- i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$i, ctx_r2.missingPostcode));
7851
+ i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$h, ctx_r2.missingPostcode));
7854
7852
  i0.ɵɵadvance(1);
7855
7853
  i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
7856
7854
  i0.ɵɵadvance(3);
@@ -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$I, 1);
8019
+ i0.ɵɵviewQuery(_c0$G, 1);
8022
8020
  i0.ɵɵviewQuery(FocusElementDirective, 1);
8023
8021
  } if (rf & 2) {
8024
8022
  let _t;
@@ -8066,322 +8064,75 @@ class CaseFileViewDocument {
8066
8064
  class CategoriesAndDocuments {
8067
8065
  }
8068
8066
 
8069
- class DocumentTreeNode {
8070
- get childDocumentCount() {
8071
- const countChildren = (childNodes) => {
8072
- let count = 0;
8073
- if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
8074
- const documents = childNodes.filter(item => item.type === 'document');
8075
- count += documents.length;
8076
- childNodes.forEach((children) => {
8077
- count += countChildren(children.children);
8078
- });
8079
- }
8080
- return count;
8081
- };
8082
- return countChildren(this.children);
8083
- }
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
- // flattenedNodes.push(nodeChild);
8136
- nodeChild.children.forEach((child) => {
8137
- flattenedNodes.push(flattenChildren(child));
8138
- });
8139
- }
8140
- return flattenedNodes.flat();
8141
- };
8142
- return [
8143
- this,
8144
- ...(_a = this.children) === null || _a === void 0 ? void 0 : _a.map(item => {
8145
- return flattenChildren(item);
8146
- }).flat()
8147
- ];
8148
- }
8149
- }
8150
- __decorate([
8151
- Type(() => DocumentTreeNode),
8152
- __metadata("design:type", Array)
8153
- ], DocumentTreeNode.prototype, "children", void 0);
8154
- __decorate([
8155
- Expose(),
8156
- __metadata("design:type", Object),
8157
- __metadata("design:paramtypes", [])
8158
- ], DocumentTreeNode.prototype, "childDocumentCount", null);
8067
+ var DocumentTreeNodeType;
8068
+ (function (DocumentTreeNodeType) {
8069
+ DocumentTreeNodeType["FOLDER"] = "folder";
8070
+ DocumentTreeNodeType["DOCUMENT"] = "document";
8071
+ })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
8159
8072
 
8160
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8161
- i0.ɵɵelementContainerStart(0);
8162
- i0.ɵɵelementStart(1, "div", 6);
8163
- i0.ɵɵtext(2);
8164
- i0.ɵɵelementEnd();
8165
- i0.ɵɵelementContainerEnd();
8166
- } if (rf & 2) {
8167
- const ctx_r2 = i0.ɵɵnextContext(2);
8168
- i0.ɵɵadvance(2);
8169
- i0.ɵɵtextInterpolate(ctx_r2.title);
8170
- } }
8171
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template(rf, ctx) { if (rf & 1) {
8172
- i0.ɵɵelement(0, "img", 10);
8173
- } if (rf & 2) {
8174
- const item_r4 = i0.ɵɵnextContext().$implicit;
8175
- const ctx_r5 = i0.ɵɵnextContext(2);
8176
- i0.ɵɵpropertyInterpolate1("alt", "", ctx_r5.title, " icon'");
8177
- i0.ɵɵproperty("src", item_r4.iconSrc, i0.ɵɵsanitizeUrl);
8178
- } }
8179
- function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
8180
- const _r8 = i0.ɵɵgetCurrentView();
8181
- i0.ɵɵelementContainerStart(0);
8182
- i0.ɵɵelementStart(1, "div", 7);
8183
- i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r8); const item_r4 = ctx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); item_r4.actionFn(); return ctx_r7.closeOverlay(); });
8184
- i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template, 1, 2, "img", 8);
8185
- i0.ɵɵelementStart(3, "div", 9);
8186
- i0.ɵɵtext(4);
8187
- i0.ɵɵelementEnd();
8188
- i0.ɵɵelementEnd();
8189
- i0.ɵɵelementContainerEnd();
8190
- } if (rf & 2) {
8191
- const item_r4 = ctx.$implicit;
8192
- i0.ɵɵadvance(2);
8193
- i0.ɵɵproperty("ngIf", item_r4.iconSrc);
8194
- i0.ɵɵadvance(2);
8195
- i0.ɵɵtextInterpolate(item_r4.actionText);
8196
- } }
8197
- function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
8198
- i0.ɵɵelementStart(0, "div", 3);
8199
- i0.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template, 3, 1, "ng-container", 4);
8200
- i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template, 5, 2, "ng-container", 5);
8073
+ function CaseFileViewFolderComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
8074
+ i0.ɵɵelementStart(0, "div");
8075
+ i0.ɵɵtext(1, " No results found ");
8201
8076
  i0.ɵɵelementEnd();
8202
- } if (rf & 2) {
8203
- const ctx_r1 = i0.ɵɵnextContext();
8204
- i0.ɵɵadvance(1);
8205
- i0.ɵɵproperty("ngIf", ctx_r1.title);
8206
- i0.ɵɵadvance(1);
8207
- i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
8208
8077
  } }
8209
- const _c0$H = [[["", "trigger", ""]]];
8210
- const _c1$h = ["[trigger]"];
8211
- class CaseFileViewOverlayMenuComponent {
8212
- constructor() {
8213
- this.title = '';
8214
- this.isOpen = false;
8215
- this.isOpenChange = new EventEmitter();
8216
- }
8217
- closeOverlay() {
8218
- const isOpen = false;
8219
- this.isOpen = isOpen;
8220
- this.isOpenChange.emit(isOpen);
8221
- }
8222
- }
8223
- CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
8224
- CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8225
- i0.ɵɵprojectionDef(_c0$H);
8226
- i0.ɵɵelementStart(0, "div");
8227
- i0.ɵɵelementStart(1, "button", 0, 1);
8228
- i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener() { return ctx.isOpen = !ctx.isOpen; });
8229
- i0.ɵɵprojection(3);
8230
- i0.ɵɵelementEnd();
8231
- i0.ɵɵtemplate(4, CaseFileViewOverlayMenuComponent_ng_template_4_Template, 3, 2, "ng-template", 2);
8232
- i0.ɵɵlistener("backdropClick", function CaseFileViewOverlayMenuComponent_Template_ng_template_backdropClick_4_listener() { return ctx.closeOverlay(); });
8233
- i0.ɵɵelementEnd();
8234
- } if (rf & 2) {
8235
- const _r0 = i0.ɵɵreference(2);
8236
- i0.ɵɵadvance(4);
8237
- i0.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
8238
- } }, directives: [i1$5.CdkOverlayOrigin, i1$5.CdkConnectedOverlay, i1.NgIf, i1.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}"] });
8239
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
8240
- type: Component,
8241
- args: [{
8242
- selector: 'ccd-case-file-view-overlay-menu',
8243
- templateUrl: './case-file-view-overlay-menu.component.html',
8244
- styleUrls: ['./case-file-view-overlay-menu.component.scss']
8245
- }]
8246
- }], null, { title: [{
8247
- type: Input
8248
- }], menuItems: [{
8249
- type: Input
8250
- }], isOpen: [{
8251
- type: Input
8252
- }], isOpenChange: [{
8253
- type: Output
8254
- }] }); })();
8255
-
8256
- class CaseFileViewFolderSortComponent {
8257
- constructor() {
8258
- this.isOpen = false;
8259
- this.sortAscending = new EventEmitter();
8260
- this.sortDescending = new EventEmitter();
8261
- this.overlayMenuItems = [
8262
- { actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
8263
- { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
8264
- ];
8265
- }
8266
- }
8267
- CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
8268
- CaseFileViewFolderSortComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8269
- i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
8270
- i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
8271
- i0.ɵɵelementContainerStart(1, 1);
8272
- i0.ɵɵelement(2, "img", 2);
8273
- i0.ɵɵelementContainerEnd();
8274
- i0.ɵɵelementEnd();
8275
- } if (rf & 2) {
8276
- i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
8277
- } }, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
8278
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
8279
- type: Component,
8280
- args: [{
8281
- selector: 'ccd-case-file-view-folder-sort',
8282
- templateUrl: './case-file-view-folder-sort.component.html',
8283
- styleUrls: ['./case-file-view-folder-sort.component.scss']
8284
- }]
8285
- }], function () { return []; }, { sortAscending: [{
8286
- type: Output
8287
- }], sortDescending: [{
8288
- type: Output
8289
- }] }); })();
8290
-
8291
- class CaseFileViewFolderDocumentActionsComponent {
8292
- constructor() {
8293
- this.isOpen = false;
8294
- this.changeFolderAction = new EventEmitter();
8295
- this.openInANewTabAction = new EventEmitter();
8296
- this.downloadAction = new EventEmitter();
8297
- this.printAction = new EventEmitter();
8298
- this.overlayMenuItems = [
8299
- { actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: () => this.changeFolderAction.emit() },
8300
- { actionText: 'Open in a new tab', iconSrc: '/assets/img/case-file-view/document-menu/open_in_new.svg', actionFn: () => this.openInANewTabAction.emit() },
8301
- { actionText: 'Download', iconSrc: '/assets/img/case-file-view/document-menu/download.svg', actionFn: () => this.downloadAction.emit() },
8302
- { actionText: 'Print', iconSrc: '/assets/img/case-file-view/document-menu/print.svg', actionFn: () => this.printAction.emit() },
8303
- ];
8304
- }
8305
- }
8306
- CaseFileViewFolderDocumentActionsComponent.ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(t) { return new (t || CaseFileViewFolderDocumentActionsComponent)(); };
8307
- CaseFileViewFolderDocumentActionsComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8308
- i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
8309
- i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
8310
- i0.ɵɵelementContainerStart(1, 1);
8311
- i0.ɵɵelement(2, "img", 2);
8312
- i0.ɵɵelementContainerEnd();
8313
- i0.ɵɵelementEnd();
8314
- } if (rf & 2) {
8315
- i0.ɵɵproperty("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
8316
- } }, directives: [CaseFileViewOverlayMenuComponent], styles: [".actions-trigger-icon[_ngcontent-%COMP%]{display:block;height:24px;margin-right:-5px}"] });
8317
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderDocumentActionsComponent, [{
8318
- type: Component,
8319
- args: [{
8320
- selector: 'ccd-case-file-view-folder-document-actions',
8321
- templateUrl: './case-file-view-folder-document-actions.component.html',
8322
- styleUrls: ['./case-file-view-folder-document-actions.component.scss']
8323
- }]
8324
- }], function () { return []; }, { changeFolderAction: [{
8325
- type: Output
8326
- }], openInANewTabAction: [{
8327
- type: Output
8328
- }], downloadAction: [{
8329
- type: Output
8330
- }], printAction: [{
8331
- type: Output
8332
- }] }); })();
8333
-
8334
- const _c0$G = ["tree"];
8335
- function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) { if (rf & 1) {
8336
- const _r5 = i0.ɵɵgetCurrentView();
8337
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
8338
- i0.ɵɵelementStart(1, "button", 9);
8339
- i0.ɵɵelementStart(2, "div", 10);
8340
- i0.ɵɵelement(3, "img", 11);
8341
- i0.ɵɵelementEnd();
8342
- i0.ɵɵelementStart(4, "span", 12);
8078
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template(rf, ctx) { if (rf & 1) {
8079
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
8080
+ i0.ɵɵelementStart(1, "div", 11);
8081
+ i0.ɵɵelementStart(2, "button", 12);
8082
+ i0.ɵɵelement(3, "img", 13);
8083
+ i0.ɵɵelementStart(4, "div", 14);
8343
8084
  i0.ɵɵtext(5);
8344
8085
  i0.ɵɵelementEnd();
8345
- i0.ɵɵelementStart(6, "div", 13);
8346
- i0.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 14);
8347
- i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵ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.ɵɵrestoreView(_r5); const ctx_r6 = i0.ɵɵ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.ɵɵrestoreView(_r5); const ctx_r7 = i0.ɵɵ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.ɵɵrestoreView(_r5); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.triggerDocumentAction("print"); });
8348
- i0.ɵɵelementEnd();
8349
8086
  i0.ɵɵelementEnd();
8350
8087
  i0.ɵɵelementEnd();
8351
8088
  i0.ɵɵelementEnd();
8352
8089
  } if (rf & 2) {
8353
- const node_r3 = ctx.$implicit;
8090
+ const node_r4 = ctx.$implicit;
8354
8091
  i0.ɵɵadvance(5);
8355
- i0.ɵɵtextInterpolate(node_r3.name);
8356
- } }
8357
- function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) { if (rf & 1) {
8358
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
8359
- i0.ɵɵelementStart(1, "button", 15);
8360
- i0.ɵɵelementStart(2, "div", 16);
8361
- i0.ɵɵelement(3, "img", 17);
8362
- i0.ɵɵelementStart(4, "span", 18);
8092
+ i0.ɵɵtextInterpolate(node_r4.name);
8093
+ } }
8094
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
8095
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
8096
+ i0.ɵɵelementStart(1, "div", 11);
8097
+ i0.ɵɵelementStart(2, "button", 15);
8098
+ i0.ɵɵelement(3, "img", 16);
8099
+ i0.ɵɵelementStart(4, "div", 17);
8363
8100
  i0.ɵɵtext(5);
8364
8101
  i0.ɵɵelementEnd();
8365
8102
  i0.ɵɵelementEnd();
8366
- i0.ɵɵelementStart(6, "span", 19);
8367
- i0.ɵɵtext(7);
8368
- i0.ɵɵelementEnd();
8369
8103
  i0.ɵɵelementEnd();
8370
- i0.ɵɵelementStart(8, "div");
8371
- i0.ɵɵelementContainer(9, 20);
8104
+ i0.ɵɵelementStart(6, "div");
8105
+ i0.ɵɵelementContainer(7, 18);
8372
8106
  i0.ɵɵelementEnd();
8373
8107
  i0.ɵɵelementEnd();
8374
8108
  } if (rf & 2) {
8375
- const node_r9 = ctx.$implicit;
8376
- const ctx_r2 = i0.ɵɵnextContext();
8109
+ const node_r5 = ctx.$implicit;
8110
+ const ctx_r3 = i0.ɵɵnextContext(2);
8377
8111
  i0.ɵɵadvance(2);
8378
- i0.ɵɵattribute("aria-label", "toggle " + node_r9.name);
8379
- i0.ɵɵadvance(3);
8380
- i0.ɵɵtextInterpolate(node_r9.childDocumentCount);
8112
+ i0.ɵɵattribute("aria-label", "toggle " + node_r5.name);
8113
+ i0.ɵɵadvance(1);
8114
+ i0.ɵɵproperty("src", ctx_r3.nestedTreeControl.isExpanded(node_r5) ? "/assets/images/folder-open.png" : "/assets/images/folder.png", i0.ɵɵsanitizeUrl);
8381
8115
  i0.ɵɵadvance(2);
8382
- i0.ɵɵtextInterpolate(node_r9.name);
8116
+ i0.ɵɵtextInterpolate(node_r5.name);
8383
8117
  i0.ɵɵadvance(1);
8384
- i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r9));
8118
+ i0.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r5));
8119
+ } }
8120
+ function CaseFileViewFolderComponent_div_5_Template(rf, ctx) { if (rf & 1) {
8121
+ i0.ɵɵelementStart(0, "div", 5);
8122
+ i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_5_div_1_Template, 2, 0, "div", 6);
8123
+ i0.ɵɵelementStart(2, "cdk-tree", 7);
8124
+ i0.ɵɵtemplate(3, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template, 6, 1, "cdk-nested-tree-node", 8);
8125
+ i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template, 8, 5, "cdk-nested-tree-node", 9);
8126
+ i0.ɵɵelementEnd();
8127
+ i0.ɵɵelementEnd();
8128
+ } if (rf & 2) {
8129
+ const ctx_r0 = i0.ɵɵnextContext();
8130
+ i0.ɵɵadvance(1);
8131
+ i0.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
8132
+ i0.ɵɵadvance(1);
8133
+ i0.ɵɵproperty("dataSource", ctx_r0.nestedDataSource)("treeControl", ctx_r0.nestedTreeControl);
8134
+ i0.ɵɵadvance(2);
8135
+ i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
8385
8136
  } }
8386
8137
  class CaseFileViewFolderComponent {
8387
8138
  constructor() {
@@ -8391,334 +8142,115 @@ class CaseFileViewFolderComponent {
8391
8142
  this.nestedTreeControl = new NestedTreeControl(this.getChildren);
8392
8143
  }
8393
8144
  ngOnInit() {
8145
+ this.documentFilterFormGroup = new FormGroup({});
8146
+ this.documentSearchFormControl = new FormControl('');
8147
+ this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
8148
+ // Listen to search input and initiate filter documents if at least three characters entered
8149
+ this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(tap((searchTerm) => this.searchTermLength = searchTerm.length), switchMap((searchTerm) => this.filter(searchTerm.toLowerCase()).pipe())).subscribe(documentTreeData => {
8150
+ this.nestedDataSource = documentTreeData;
8151
+ this.nestedTreeControl.dataNodes = documentTreeData;
8152
+ this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
8153
+ ? this.nestedTreeControl.expandAll()
8154
+ : this.nestedTreeControl.collapseAll();
8155
+ });
8156
+ // Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
8394
8157
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(categoriesAndDocuments => {
8395
- // Using the mock data for now as we have to display the documents as well for demo purpose
8396
- const categories = this.loadCategories(); // categoriesAndDocuments.categories;
8158
+ const categories = categoriesAndDocuments.categories;
8397
8159
  // Generate document tree data from categories
8398
- const treeData = this.generateTreeData(categories);
8160
+ this.documentTreeData = this.generateTreeData(categories);
8399
8161
  // Append uncategorised documents
8400
8162
  if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
8401
8163
  const uncategorisedDocuments = this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
8402
- treeData.push(uncategorisedDocuments);
8164
+ this.documentTreeData.push(uncategorisedDocuments);
8403
8165
  }
8404
8166
  // Initialise cdk tree with generated data
8405
- this.nestedDataSource = treeData;
8167
+ this.nestedDataSource = this.documentTreeData;
8168
+ this.nestedTreeControl.dataNodes = this.documentTreeData;
8406
8169
  });
8407
8170
  }
8408
8171
  generateTreeData(categories) {
8409
- return categories.reduce((tree, node) => {
8410
- const newDocumentTreeNode = new DocumentTreeNode();
8411
- newDocumentTreeNode.name = node.category_name;
8412
- newDocumentTreeNode.type = 'category';
8413
- newDocumentTreeNode.children = [...this.generateTreeData(node.sub_categories), ...this.getDocuments(node.documents)];
8414
- return [
8415
- ...tree,
8416
- newDocumentTreeNode,
8417
- ];
8418
- }, []);
8172
+ return categories.reduce((tree, node) => [
8173
+ ...tree,
8174
+ ...[
8175
+ {
8176
+ name: node.category_name,
8177
+ type: DocumentTreeNodeType.FOLDER,
8178
+ children: [...this.generateTreeData(node.sub_categories), ...this.getDocuments(node.documents)]
8179
+ },
8180
+ ],
8181
+ ], []);
8419
8182
  }
8420
8183
  getDocuments(documents) {
8421
8184
  const documentsToReturn = [];
8422
8185
  documents.forEach(document => {
8423
- const documentTreeNode = new DocumentTreeNode();
8424
- documentTreeNode.name = document.document_filename;
8425
- documentTreeNode.type = 'document';
8426
- documentsToReturn.push(documentTreeNode);
8186
+ documentsToReturn.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
8427
8187
  });
8428
8188
  return documentsToReturn;
8429
8189
  }
8430
8190
  getUncategorisedDocuments(uncategorisedDocuments) {
8431
8191
  const documents = [];
8432
8192
  uncategorisedDocuments.forEach(document => {
8433
- const documentTreeNode = new DocumentTreeNode();
8434
- documentTreeNode.name = document.document_filename;
8435
- documentTreeNode.type = 'document';
8436
- documents.push(documentTreeNode);
8437
- });
8438
- const uncategorisedNode = new DocumentTreeNode();
8439
- uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
8440
- uncategorisedNode.type = 'category';
8441
- uncategorisedNode.children = documents;
8442
- return uncategorisedNode;
8443
- }
8444
- sortDataSourceAscAlphabetically() {
8445
- const sortedData = this.nestedDataSource.map(item => {
8446
- item.sortChildrenAscending();
8447
- const newDocumentTreeNode = new DocumentTreeNode();
8448
- newDocumentTreeNode.name = item.name;
8449
- newDocumentTreeNode.type = item.type;
8450
- newDocumentTreeNode.children = item.children;
8451
- return newDocumentTreeNode;
8193
+ documents.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
8452
8194
  });
8453
- this.updateNodeData(sortedData);
8195
+ return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, type: DocumentTreeNodeType.FOLDER, children: documents };
8454
8196
  }
8455
- sortDataSourceDescAlphabetically() {
8456
- const sortedData = this.nestedDataSource.map(item => {
8457
- item.sortChildrenDescending();
8458
- return item;
8459
- });
8460
- this.updateNodeData(sortedData);
8461
- }
8462
- triggerDocumentAction(actionType) {
8463
- switch (actionType) {
8464
- case ('changeFolder'):
8465
- console.log('changeFolder!');
8466
- break;
8467
- case ('openInANewTab'):
8468
- console.log('openInANewTab!');
8469
- break;
8470
- case ('download'):
8471
- console.log('download!');
8472
- break;
8473
- case ('print'):
8474
- console.log('print!');
8475
- break;
8476
- default:
8477
- return;
8197
+ filter(searchTerm) {
8198
+ // Make a copy of the data so we do not mutate the original
8199
+ function copy(node) {
8200
+ return Object.assign({}, node);
8201
+ }
8202
+ let filteredData = this.documentTreeData;
8203
+ if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
8204
+ filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
8205
+ if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
8206
+ return true;
8207
+ }
8208
+ // Call recursively if node has children
8209
+ if (node.children) {
8210
+ return (node.children = node.children.map(copy).filter(filterTreeData)).length;
8211
+ }
8212
+ });
8478
8213
  }
8214
+ return of(filteredData);
8479
8215
  }
8480
8216
  ngOnDestroy() {
8481
8217
  if (this.categoriesAndDocumentsSubscription) {
8482
8218
  this.categoriesAndDocumentsSubscription.unsubscribe();
8483
8219
  }
8484
- }
8485
- updateNodeData(data) {
8486
- const prevSelected = this.nestedTreeControl.expansionModel.selected.map((item) => {
8487
- return item.name;
8488
- });
8489
- this.nestedTreeControl.collapseAll();
8490
- this.nestedDataSource = data.map((item) => {
8491
- const newDocumentTreeNode = new DocumentTreeNode();
8492
- newDocumentTreeNode.name = item.name;
8493
- newDocumentTreeNode.type = item.type;
8494
- newDocumentTreeNode.children = item.children;
8495
- return newDocumentTreeNode;
8496
- });
8497
- const flattenedArray = this.nestedDataSource.map((item) => {
8498
- return item.flattenedAll;
8499
- }).flat();
8500
- const newObjects = flattenedArray.filter((item) => {
8501
- return prevSelected.includes(item.name);
8502
- });
8503
- newObjects.forEach(object => this.nestedTreeControl.expand(object));
8504
- }
8505
- loadCategories() {
8506
- return [
8507
- {
8508
- category_id: 'Beers',
8509
- category_name: 'Beers',
8510
- category_order: 1,
8511
- documents: [
8512
- {
8513
- document_url: '/test',
8514
- document_filename: 'Lager encyclopedia',
8515
- document_binary_url: '/test/binary',
8516
- attribute_path: '',
8517
- upload_timestamp: ''
8518
- },
8519
- {
8520
- document_url: '/test',
8521
- document_filename: 'Beers encyclopedia',
8522
- document_binary_url: '/test/binary',
8523
- attribute_path: '',
8524
- upload_timestamp: ''
8525
- },
8526
- {
8527
- document_url: '/test',
8528
- document_filename: 'Ale encyclopedia',
8529
- document_binary_url: '/test/binary',
8530
- attribute_path: '',
8531
- upload_timestamp: ''
8532
- }
8533
- ],
8534
- sub_categories: [
8535
- {
8536
- category_id: 'BeersBitters',
8537
- category_name: 'Bitters',
8538
- category_order: 1,
8539
- documents: [],
8540
- sub_categories: []
8541
- },
8542
- {
8543
- category_id: 'BeersAmerican',
8544
- category_name: 'American',
8545
- category_order: 2,
8546
- documents: [],
8547
- sub_categories: []
8548
- },
8549
- {
8550
- category_id: 'BeersAsian',
8551
- category_name: 'Asian',
8552
- category_order: 3,
8553
- documents: [],
8554
- sub_categories: []
8555
- }
8556
- ]
8557
- },
8558
- {
8559
- category_id: 'Wines',
8560
- category_name: 'Wines',
8561
- category_order: 2,
8562
- documents: [],
8563
- sub_categories: [
8564
- {
8565
- category_id: 'WinesFrench',
8566
- category_name: 'French',
8567
- category_order: 1,
8568
- documents: [],
8569
- sub_categories: []
8570
- },
8571
- {
8572
- category_id: 'WinesItalian',
8573
- category_name: 'Italian',
8574
- category_order: 2,
8575
- documents: [],
8576
- sub_categories: []
8577
- }
8578
- ]
8579
- },
8580
- {
8581
- category_id: 'Spirits',
8582
- category_name: 'Spirits',
8583
- category_order: 3,
8584
- documents: [],
8585
- sub_categories: [
8586
- {
8587
- category_id: 'SpiritsWhisky',
8588
- category_name: 'Scotch whisky',
8589
- category_order: 1,
8590
- documents: [],
8591
- sub_categories: [
8592
- {
8593
- category_id: 'WhiskyHighland',
8594
- category_name: 'Highland',
8595
- category_order: 1,
8596
- documents: [],
8597
- sub_categories: [
8598
- {
8599
- category_id: 'WhiskyHighland1',
8600
- category_name: 'Highland 1',
8601
- category_order: 1,
8602
- documents: [],
8603
- sub_categories: []
8604
- }
8605
- ]
8606
- },
8607
- {
8608
- category_id: 'WhiskyLowland',
8609
- category_name: 'Lowland',
8610
- category_order: 2,
8611
- documents: [],
8612
- sub_categories: [
8613
- {
8614
- category_id: 'WhiskyLowland1',
8615
- category_name: 'Lowland 1',
8616
- category_order: 1,
8617
- documents: [
8618
- {
8619
- document_url: '/test',
8620
- document_filename: 'Details about Whisky Lowland 1',
8621
- document_binary_url: '/test/binary',
8622
- attribute_path: '',
8623
- upload_timestamp: ''
8624
- }
8625
- ],
8626
- sub_categories: []
8627
- },
8628
- {
8629
- category_id: 'WhiskyLowland2',
8630
- category_name: 'Lowland 2',
8631
- category_order: 2,
8632
- documents: [],
8633
- sub_categories: []
8634
- }
8635
- ]
8636
- },
8637
- {
8638
- category_id: 'WhiskyIslay',
8639
- category_name: 'Islay',
8640
- category_order: 3,
8641
- documents: [
8642
- {
8643
- document_url: '/test',
8644
- document_filename: 'Details about Whisky Islay',
8645
- document_binary_url: '/test/binary',
8646
- attribute_path: '',
8647
- upload_timestamp: ''
8648
- },
8649
- {
8650
- document_url: '/test',
8651
- document_filename: 'More information about Whisky Islay',
8652
- document_binary_url: '/test/binary',
8653
- attribute_path: '',
8654
- upload_timestamp: ''
8655
- }
8656
- ],
8657
- sub_categories: []
8658
- },
8659
- {
8660
- category_id: 'WhiskySpeyside',
8661
- category_name: 'Speyside',
8662
- category_order: 4,
8663
- documents: [],
8664
- sub_categories: []
8665
- },
8666
- {
8667
- category_id: 'WhiskyCampbeltown',
8668
- category_name: 'Campbeltown',
8669
- category_order: 5,
8670
- documents: [],
8671
- sub_categories: []
8672
- }
8673
- ]
8674
- }
8675
- ]
8676
- }
8677
- ];
8220
+ if (this.documentFilterSubscription) {
8221
+ this.documentFilterSubscription.unsubscribe();
8222
+ }
8678
8223
  }
8679
8224
  }
8680
8225
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
8226
+ CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
8227
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
8681
8228
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
8682
- CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) { if (rf & 1) {
8683
- i0.ɵɵviewQuery(_c0$G, 3);
8684
- } if (rf & 2) {
8685
- let _t;
8686
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tree = _t.first);
8687
- } }, 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) { if (rf & 1) {
8229
+ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8688
8230
  i0.ɵɵelementStart(0, "div", 0);
8689
8231
  i0.ɵɵelementStart(1, "div", 1);
8690
- i0.ɵɵtext(2, "Documents");
8232
+ i0.ɵɵelement(2, "input", 2);
8691
8233
  i0.ɵɵelementEnd();
8692
- i0.ɵɵelementStart(3, "div");
8693
- i0.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
8694
- 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(); });
8695
- i0.ɵɵelementEnd();
8696
- i0.ɵɵelementEnd();
8697
- i0.ɵɵelementEnd();
8698
- i0.ɵɵelementStart(5, "div", 3);
8699
- i0.ɵɵelementStart(6, "cdk-tree", 4, 5);
8700
- i0.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 8, 1, "cdk-nested-tree-node", 6);
8701
- i0.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 10, 5, "cdk-nested-tree-node", 7);
8234
+ i0.ɵɵelementStart(3, "div", 3);
8235
+ i0.ɵɵtext(4, "Documents");
8702
8236
  i0.ɵɵelementEnd();
8703
8237
  i0.ɵɵelementEnd();
8238
+ i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_5_Template, 5, 4, "div", 4);
8704
8239
  } if (rf & 2) {
8705
- i0.ɵɵadvance(6);
8706
- i0.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
8707
- i0.ɵɵadvance(3);
8708
- i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
8709
- } }, directives: [CaseFileViewFolderSortComponent, i2.CdkTree, i2.CdkTreeNodeDef, i2.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, 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;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}"] });
8240
+ i0.ɵɵadvance(1);
8241
+ i0.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
8242
+ i0.ɵɵadvance(4);
8243
+ i0.ɵɵproperty("ngIf", ctx.documentTreeData);
8244
+ } }, directives: [i1$3.NgControlStatusGroup, i1$3.FormGroupDirective, i1$3.DefaultValueAccessor, i1$3.NgControlStatus, i1$3.FormControlName, i1.NgIf, i3.CdkTree, i3.CdkTreeNodeDef, i3.CdkNestedTreeNode, i3.CdkTreeNodeToggle, i3.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}"] });
8710
8245
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
8711
8246
  type: Component,
8712
8247
  args: [{
8713
8248
  selector: 'ccd-case-file-view-folder',
8714
- templateUrl: './case-file-view-folder.component.html',
8715
8249
  styleUrls: ['./case-file-view-folder.component.scss'],
8250
+ templateUrl: './case-file-view-folder.component.html'
8716
8251
  }]
8717
8252
  }], function () { return []; }, { categoriesAndDocuments: [{
8718
8253
  type: Input
8719
- }], tree: [{
8720
- type: ViewChild,
8721
- args: ['tree', { static: true }]
8722
8254
  }] }); })();
8723
8255
 
8724
8256
  class CaseFileViewFieldComponent {
@@ -8778,7 +8310,7 @@ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFi
8778
8310
  args: [{
8779
8311
  selector: 'ccd-case-file-view-field',
8780
8312
  templateUrl: './case-file-view-field.component.html',
8781
- styleUrls: ['./case-file-view-field.component.scss'],
8313
+ styleUrls: ['./case-file-view-field.component.scss']
8782
8314
  }]
8783
8315
  }], function () { return [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null); })();
8784
8316
 
@@ -9105,7 +8637,7 @@ class RemoveDialogComponent {
9105
8637
  this.matDialogRef.close(this.result);
9106
8638
  }
9107
8639
  }
9108
- RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
8640
+ RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
9109
8641
  RemoveDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
9110
8642
  i0.ɵɵelementStart(0, "div");
9111
8643
  i0.ɵɵelementStart(1, "div", 0);
@@ -9143,7 +8675,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
9143
8675
  templateUrl: './remove-dialog.component.html',
9144
8676
  styleUrls: ['../action-dialog.component.scss']
9145
8677
  }]
9146
- }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
8678
+ }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
9147
8679
 
9148
8680
  const _c0$D = ["collectionItem"];
9149
8681
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
@@ -9517,7 +9049,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
9517
9049
  return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
9518
9050
  }
9519
9051
  }
9520
- WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
9052
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
9521
9053
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
9522
9054
  i0.ɵɵviewQuery(_c0$D, 1);
9523
9055
  } if (rf & 2) {
@@ -9559,7 +9091,7 @@ WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollec
9559
9091
  templateUrl: './write-collection-field.html',
9560
9092
  styleUrls: ['./collection-field.scss']
9561
9093
  }]
9562
- }], function () { return [{ type: i1$6.MatDialog }, { type: i2$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9094
+ }], function () { return [{ type: i1$5.MatDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9563
9095
  type: Input
9564
9096
  }], formGroup: [{
9565
9097
  type: Input
@@ -10735,7 +10267,7 @@ class DocumentDialogComponent {
10735
10267
  this.matDialogRef.close(this.result);
10736
10268
  }
10737
10269
  }
10738
- DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
10270
+ DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
10739
10271
  DocumentDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
10740
10272
  i0.ɵɵelementStart(0, "div");
10741
10273
  i0.ɵɵelementStart(1, "div", 0);
@@ -10773,7 +10305,7 @@ DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogCom
10773
10305
  templateUrl: './document-dialog.component.html',
10774
10306
  styleUrls: ['../action-dialog.component.scss']
10775
10307
  }]
10776
- }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
10308
+ }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
10777
10309
 
10778
10310
  function initDialog() {
10779
10311
  const dialogConfig = new MatDialogConfig();
@@ -11080,7 +10612,7 @@ WriteDocumentFieldComponent.DOCUMENT_HASH = 'document_hash';
11080
10612
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
11081
10613
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
11082
10614
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
11083
- WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
10615
+ WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
11084
10616
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
11085
10617
  i0.ɵɵviewQuery(_c0$z, 1);
11086
10618
  } if (rf & 2) {
@@ -11145,7 +10677,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
11145
10677
  selector: 'ccd-write-document-field',
11146
10678
  templateUrl: './write-document-field.html'
11147
10679
  }]
11148
- }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
10680
+ }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
11149
10681
  type: ViewChild,
11150
10682
  args: ['fileInput', { static: false }]
11151
10683
  }], clickout: [{
@@ -13994,7 +13526,7 @@ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Ca
13994
13526
  i0.ɵɵelement(0, "ccpay-payment-lib", 0);
13995
13527
  } if (rf & 2) {
13996
13528
  i0.ɵɵ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());
13997
- } }, directives: [i3.PaymentLibComponent], encapsulation: 2 });
13529
+ } }, directives: [i3$1.PaymentLibComponent], encapsulation: 2 });
13998
13530
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
13999
13531
  type: Component,
14000
13532
  args: [{
@@ -14319,7 +13851,7 @@ WaysToPayFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WaysToPayFieldCom
14319
13851
  i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 13, "ccpay-payment-lib", 0);
14320
13852
  } if (rf & 2) {
14321
13853
  i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
14322
- } }, directives: [i1.NgIf, i3.PaymentLibComponent], encapsulation: 2 });
13854
+ } }, directives: [i1.NgIf, i3$1.PaymentLibComponent], encapsulation: 2 });
14323
13855
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
14324
13856
  type: Component,
14325
13857
  args: [{
@@ -14835,7 +14367,7 @@ class SaveOrDiscardDialogComponent {
14835
14367
  this.matDialogRef.close(this.result);
14836
14368
  }
14837
14369
  }
14838
- SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
14370
+ SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
14839
14371
  SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
14840
14372
  i0.ɵɵelementStart(0, "div");
14841
14373
  i0.ɵɵelementStart(1, "div", 0);
@@ -14873,7 +14405,7 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
14873
14405
  templateUrl: './save-or-discard-dialog.component.html',
14874
14406
  styleUrls: ['../action-dialog.component.scss']
14875
14407
  }]
14876
- }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
14408
+ }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
14877
14409
 
14878
14410
  var CaseEditPageText;
14879
14411
  (function (CaseEditPageText) {
@@ -15640,7 +15172,7 @@ class CaseEditPageComponent {
15640
15172
  return caseEventData;
15641
15173
  }
15642
15174
  }
15643
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
15175
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
15644
15176
  CaseEditPageComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
15645
15177
  i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
15646
15178
  i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
@@ -15682,7 +15214,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
15682
15214
  templateUrl: 'case-edit-page.html',
15683
15215
  styleUrls: ['./case-edit-page.scss']
15684
15216
  }]
15685
- }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$6.MatDialog }, { type: CaseFieldService }]; }, null); })();
15217
+ }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$5.MatDialog }, { type: CaseFieldService }]; }, null); })();
15686
15218
 
15687
15219
  class Confirmation {
15688
15220
  constructor(caseId, status, header, body) {
@@ -17183,10 +16715,7 @@ const PALETTE_COMPONENTS = [
17183
16715
  WriteCollectionFieldComponent,
17184
16716
  // ComponentLauncher web components
17185
16717
  CaseFileViewFieldComponent,
17186
- CaseFileViewFolderComponent,
17187
- CaseFileViewFolderSortComponent,
17188
- CaseFileViewOverlayMenuComponent,
17189
- CaseFileViewFolderDocumentActionsComponent,
16718
+ CaseFileViewFolderComponent
17190
16719
  ];
17191
16720
  class PaletteModule {
17192
16721
  }
@@ -17224,7 +16753,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17224
16753
  MatDatepickerModule,
17225
16754
  MatAutocompleteModule,
17226
16755
  CdkTreeModule,
17227
- OverlayModule,
17228
16756
  PaymentLibModule,
17229
16757
  ScrollToModule.forRoot()
17230
16758
  ], NgxMatDatetimePickerModule,
@@ -17308,10 +16836,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17308
16836
  WriteCollectionFieldComponent,
17309
16837
  // ComponentLauncher web components
17310
16838
  CaseFileViewFieldComponent,
17311
- CaseFileViewFolderComponent,
17312
- CaseFileViewFolderSortComponent,
17313
- CaseFileViewOverlayMenuComponent,
17314
- CaseFileViewFolderDocumentActionsComponent], imports: [CommonModule,
16839
+ CaseFileViewFolderComponent], imports: [CommonModule,
17315
16840
  RouterModule,
17316
16841
  FormsModule,
17317
16842
  ReactiveFormsModule,
@@ -17333,8 +16858,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17333
16858
  MatDatepickerModule,
17334
16859
  MatAutocompleteModule,
17335
16860
  CdkTreeModule,
17336
- OverlayModule,
17337
- PaymentLibModule, i2$1.ScrollToModule], exports: [NgxMatDatetimePickerModule,
16861
+ PaymentLibModule, i2.ScrollToModule], exports: [NgxMatDatetimePickerModule,
17338
16862
  NgxMatNativeDateModule,
17339
16863
  NgxMatTimepickerModule,
17340
16864
  TabsModule,
@@ -17410,10 +16934,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17410
16934
  WriteCollectionFieldComponent,
17411
16935
  // ComponentLauncher web components
17412
16936
  CaseFileViewFieldComponent,
17413
- CaseFileViewFolderComponent,
17414
- CaseFileViewFolderSortComponent,
17415
- CaseFileViewOverlayMenuComponent,
17416
- CaseFileViewFolderDocumentActionsComponent] }); })();
16937
+ CaseFileViewFolderComponent] }); })();
17417
16938
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
17418
16939
  type: NgModule,
17419
16940
  args: [{
@@ -17440,7 +16961,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
17440
16961
  MatDatepickerModule,
17441
16962
  MatAutocompleteModule,
17442
16963
  CdkTreeModule,
17443
- OverlayModule,
17444
16964
  PaymentLibModule,
17445
16965
  ScrollToModule.forRoot()
17446
16966
  ],
@@ -18225,7 +17745,7 @@ PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent,
18225
17745
  i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
18226
17746
  i0.ɵɵadvance(3);
18227
17747
  i0.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
18228
- } }, directives: [i1$7.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.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}}"] });
17748
+ } }, directives: [i1$6.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.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}}"] });
18229
17749
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
18230
17750
  type: Component,
18231
17751
  args: [{
@@ -18575,7 +18095,7 @@ CaseListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListComponent, sele
18575
18095
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(9, 8, ctx.cases, i0.ɵɵpureFunction3(11, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
18576
18096
  i0.ɵɵadvance(2);
18577
18097
  i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
18578
- } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$7.PaginatePipe, i1.CurrencyPipe], styles: [""] });
18098
+ } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$6.PaginatePipe, i1.CurrencyPipe], styles: [""] });
18579
18099
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
18580
18100
  type: Component,
18581
18101
  args: [{
@@ -20264,7 +19784,7 @@ class DeleteOrCancelDialogComponent {
20264
19784
  this.matDialogRef.close(this.result);
20265
19785
  }
20266
19786
  }
20267
- DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
19787
+ DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
20268
19788
  DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
20269
19789
  i0.ɵɵelementStart(0, "div");
20270
19790
  i0.ɵɵelementStart(1, "div", 0);
@@ -20302,7 +19822,7 @@ DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCan
20302
19822
  templateUrl: './delete-or-cancel-dialog.component.html',
20303
19823
  styleUrls: ['../action-dialog.component.scss']
20304
19824
  }]
20305
- }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
19825
+ }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
20306
19826
 
20307
19827
  function EventTriggerComponent_form_0_option_5_Template(rf, ctx) { if (rf & 1) {
20308
19828
  i0.ɵɵelementStart(0, "option", 8);
@@ -20485,8 +20005,8 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template(rf, ctx)
20485
20005
  i0.ɵɵproperty("id", tab_r16.id)("label", tab_r16.label);
20486
20006
  } }
20487
20007
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
20488
- i0.ɵɵelementStart(0, "th", 35);
20489
- i0.ɵɵelementStart(1, "div", 36);
20008
+ i0.ɵɵelementStart(0, "th", 34);
20009
+ i0.ɵɵelementStart(1, "div", 35);
20490
20010
  i0.ɵɵtext(2);
20491
20011
  i0.ɵɵelementEnd();
20492
20012
  i0.ɵɵelementEnd();
@@ -20498,9 +20018,9 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
20498
20018
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) { if (rf & 1) {
20499
20019
  i0.ɵɵelementStart(0, "tr");
20500
20020
  i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
20501
- i0.ɵɵelementStart(2, "th", 32);
20502
- i0.ɵɵelementStart(3, "span", 33);
20503
- i0.ɵɵelement(4, "ccd-field-read", 34);
20021
+ i0.ɵɵelementStart(2, "td");
20022
+ i0.ɵɵelementStart(3, "span", 32);
20023
+ i0.ɵɵelement(4, "ccd-field-read", 33);
20504
20024
  i0.ɵɵelementEnd();
20505
20025
  i0.ɵɵelementEnd();
20506
20026
  i0.ɵɵelementEnd();
@@ -20509,25 +20029,21 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
20509
20029
  const ctx_r22 = i0.ɵɵnextContext(4);
20510
20030
  i0.ɵɵadvance(1);
20511
20031
  i0.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
20512
- i0.ɵɵadvance(1);
20513
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
20514
- i0.ɵɵadvance(2);
20032
+ i0.ɵɵadvance(3);
20515
20033
  i0.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
20516
20034
  } }
20517
20035
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) { if (rf & 1) {
20518
- i0.ɵɵelementStart(0, "tr", 37);
20519
- i0.ɵɵelementStart(1, "th", 32);
20520
- i0.ɵɵelementStart(2, "span", 33);
20521
- i0.ɵɵelement(3, "ccd-field-read", 34);
20036
+ i0.ɵɵelementStart(0, "tr", 36);
20037
+ i0.ɵɵelementStart(1, "th");
20038
+ i0.ɵɵelementStart(2, "span", 32);
20039
+ i0.ɵɵelement(3, "ccd-field-read", 33);
20522
20040
  i0.ɵɵelementEnd();
20523
20041
  i0.ɵɵelementEnd();
20524
20042
  i0.ɵɵelementEnd();
20525
20043
  } if (rf & 2) {
20526
20044
  const field_r21 = i0.ɵɵnextContext().$implicit;
20527
20045
  const ctx_r23 = i0.ɵɵnextContext(4);
20528
- i0.ɵɵadvance(1);
20529
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
20530
- i0.ɵɵadvance(2);
20046
+ i0.ɵɵadvance(3);
20531
20047
  i0.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
20532
20048
  } }
20533
20049
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
@@ -20535,8 +20051,8 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
20535
20051
  i0.ɵɵelementStart(1, "div", 27);
20536
20052
  i0.ɵɵelementContainerStart(2, 28);
20537
20053
  i0.ɵɵpipe(3, "ccdIsCompound");
20538
- i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
20539
- i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
20054
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
20055
+ i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
20540
20056
  i0.ɵɵelementContainerEnd();
20541
20057
  i0.ɵɵelementEnd();
20542
20058
  i0.ɵɵelementContainerEnd();
@@ -20864,13 +20380,13 @@ CaseFullAccessViewComponent.TRIGGER_TEXT_START = 'Go';
20864
20380
  CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
20865
20381
  CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
20866
20382
  CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
20867
- CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(SessionStorageService)); };
20383
+ CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(SessionStorageService)); };
20868
20384
  CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
20869
20385
  i0.ɵɵviewQuery(_c0$a, 1);
20870
20386
  } if (rf & 2) {
20871
20387
  let _t;
20872
20388
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
20873
- } }, 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) { if (rf & 1) {
20389
+ } }, 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) { if (rf & 1) {
20874
20390
  i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
20875
20391
  i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
20876
20392
  i0.ɵɵelementStart(2, "ccd-callback-errors", 1);
@@ -20913,7 +20429,7 @@ CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAcces
20913
20429
  templateUrl: './case-full-access-view.component.html',
20914
20430
  styleUrls: ['./case-full-access-view.component.scss']
20915
20431
  }]
20916
- }], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
20432
+ }], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$5.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
20917
20433
  type: Input
20918
20434
  }], hasEventSelector: [{
20919
20435
  type: Input
@@ -24032,8 +23548,8 @@ function SearchResultComponent_table_0_th_9_Template(rf, ctx) { if (rf & 1) {
24032
23548
  } }
24033
23549
  function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) { if (rf & 1) {
24034
23550
  const _r19 = i0.ɵɵgetCurrentView();
24035
- i0.ɵɵelementStart(0, "div", 27);
24036
- i0.ɵɵelementStart(1, "a", 28);
23551
+ i0.ɵɵelementStart(0, "div", 28);
23552
+ i0.ɵɵelementStart(1, "a", 29);
24037
23553
  i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
24038
23554
  i0.ɵɵelementEnd();
24039
23555
  i0.ɵɵelementEnd();
@@ -24047,13 +23563,13 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
24047
23563
  const _r22 = i0.ɵɵgetCurrentView();
24048
23564
  i0.ɵɵelementStart(0, "th");
24049
23565
  i0.ɵɵelementStart(1, "table", 24);
24050
- i0.ɵɵelementStart(2, "tr");
24051
- i0.ɵɵelementStart(3, "th");
24052
- i0.ɵɵelementStart(4, "div", 25);
23566
+ i0.ɵɵelementStart(2, "tr", 7);
23567
+ i0.ɵɵelementStart(3, "th", 25);
23568
+ i0.ɵɵelementStart(4, "div", 26);
24053
23569
  i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
24054
23570
  i0.ɵɵtext(5);
24055
23571
  i0.ɵɵelementEnd();
24056
- i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
23572
+ i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 27);
24057
23573
  i0.ɵɵelementEnd();
24058
23574
  i0.ɵɵelementEnd();
24059
23575
  i0.ɵɵelementEnd();
@@ -24062,23 +23578,23 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
24062
23578
  const col_r15 = ctx.$implicit;
24063
23579
  const ctx_r7 = i0.ɵɵnextContext(2);
24064
23580
  i0.ɵɵadvance(1);
24065
- i0.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
23581
+ i0.ɵɵattributeInterpolate2("aria-label", "Sort by ", col_r15.label, " ", ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending", "");
24066
23582
  i0.ɵɵadvance(4);
24067
23583
  i0.ɵɵtextInterpolate(col_r15.label);
24068
23584
  i0.ɵɵadvance(1);
24069
23585
  i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
24070
23586
  } }
24071
23587
  function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
24072
- i0.ɵɵelement(0, "th", 29);
23588
+ i0.ɵɵelement(0, "th", 30);
24073
23589
  } }
24074
23590
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
24075
23591
  const _r30 = i0.ɵɵgetCurrentView();
24076
23592
  i0.ɵɵelementStart(0, "td", 20);
24077
23593
  i0.ɵɵelementStart(1, "div", 21);
24078
- i0.ɵɵelementStart(2, "input", 31);
23594
+ i0.ɵɵelementStart(2, "input", 32);
24079
23595
  i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r30); const result_r24 = i0.ɵɵnextContext().$implicit; const ctx_r28 = i0.ɵɵnextContext(3); return ctx_r28.changeSelection(result_r24); });
24080
23596
  i0.ɵɵelementEnd();
24081
- i0.ɵɵelement(3, "label", 32);
23597
+ i0.ɵɵelement(3, "label", 33);
24082
23598
  i0.ɵɵelementEnd();
24083
23599
  i0.ɵɵelementEnd();
24084
23600
  } if (rf & 2) {
@@ -24093,7 +23609,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ct
24093
23609
  } }
24094
23610
  const _c0 = function () { return ["value"]; };
24095
23611
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
24096
- i0.ɵɵelement(0, "ccd-field-read", 41);
23612
+ i0.ɵɵelement(0, "ccd-field-read", 42);
24097
23613
  } if (rf & 2) {
24098
23614
  const col_r32 = i0.ɵɵnextContext(3).$implicit;
24099
23615
  const result_r24 = i0.ɵɵnextContext().$implicit;
@@ -24108,9 +23624,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_containe
24108
23624
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r24.case_id));
24109
23625
  } }
24110
23626
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
24111
- i0.ɵɵelementContainerStart(0, 38);
24112
- i0.ɵɵ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);
24113
- i0.ɵɵ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.ɵɵtemplateRefExtractor);
23627
+ i0.ɵɵelementContainerStart(0, 39);
23628
+ i0.ɵɵ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);
23629
+ i0.ɵɵ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.ɵɵtemplateRefExtractor);
24114
23630
  i0.ɵɵelementContainerEnd();
24115
23631
  } if (rf & 2) {
24116
23632
  const _r38 = i0.ɵɵreference(3);
@@ -24121,9 +23637,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_containe
24121
23637
  i0.ɵɵproperty("ngIf", ctx_r36.draftPrefixOrGet(col_r32, result_r24))("ngIfElse", _r38);
24122
23638
  } }
24123
23639
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
24124
- i0.ɵɵelementStart(0, "a", 36);
23640
+ i0.ɵɵelementStart(0, "a", 37);
24125
23641
  i0.ɵɵpipe(1, "ccdCaseReference");
24126
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
23642
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
24127
23643
  i0.ɵɵelementEnd();
24128
23644
  } if (rf & 2) {
24129
23645
  const result_r24 = i0.ɵɵnextContext(2).$implicit;
@@ -24134,8 +23650,8 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf
24134
23650
  i0.ɵɵproperty("ngIf", !ctx_r34.hideRows);
24135
23651
  } }
24136
23652
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
24137
- i0.ɵɵelementStart(0, "div", 38);
24138
- i0.ɵɵelement(1, "ccd-field-read", 41);
23653
+ i0.ɵɵelementStart(0, "div", 39);
23654
+ i0.ɵɵelement(1, "ccd-field-read", 42);
24139
23655
  i0.ɵɵelementEnd();
24140
23656
  } if (rf & 2) {
24141
23657
  const col_r32 = i0.ɵɵnextContext().$implicit;
@@ -24146,9 +23662,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(
24146
23662
  i0.ɵɵproperty("caseField", result_r24.columns[col_r32.case_field_id])("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
24147
23663
  } }
24148
23664
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
24149
- i0.ɵɵelementStart(0, "td", 33);
24150
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
24151
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
23665
+ i0.ɵɵelementStart(0, "td", 34);
23666
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
23667
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
24152
23668
  i0.ɵɵelementEnd();
24153
23669
  } if (rf & 2) {
24154
23670
  const colIndex_r33 = ctx.index;
@@ -24160,7 +23676,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ct
24160
23676
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
24161
23677
  i0.ɵɵelementStart(0, "td");
24162
23678
  i0.ɵɵelementStart(1, "div");
24163
- i0.ɵɵelement(2, "ccd-activity", 42);
23679
+ i0.ɵɵelement(2, "ccd-activity", 43);
24164
23680
  i0.ɵɵelementEnd();
24165
23681
  i0.ɵɵelementEnd();
24166
23682
  } if (rf & 2) {
@@ -24174,7 +23690,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template(rf, ct
24174
23690
  function SearchResultComponent_table_0_ng_container_13_tr_1_Template(rf, ctx) { if (rf & 1) {
24175
23691
  i0.ɵɵelementStart(0, "tr");
24176
23692
  i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template, 4, 5, "td", 8);
24177
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 30);
23693
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 31);
24178
23694
  i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template, 3, 4, "td", 0);
24179
23695
  i0.ɵɵelementEnd();
24180
23696
  } if (rf & 2) {
@@ -24201,10 +23717,10 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
24201
23717
  const _r56 = i0.ɵɵgetCurrentView();
24202
23718
  i0.ɵɵelementStart(0, "td", 20);
24203
23719
  i0.ɵɵelementStart(1, "div", 21);
24204
- i0.ɵɵelementStart(2, "input", 43);
23720
+ i0.ɵɵelementStart(2, "input", 44);
24205
23721
  i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r54 = i0.ɵɵ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.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r57 = i0.ɵɵnextContext(3); return ctx_r57.onKeyUp($event, result_r50); });
24206
23722
  i0.ɵɵelementEnd();
24207
- i0.ɵɵelement(3, "label", 32);
23723
+ i0.ɵɵelement(3, "label", 33);
24208
23724
  i0.ɵɵelementEnd();
24209
23725
  i0.ɵɵelementEnd();
24210
23726
  } if (rf & 2) {
@@ -24218,7 +23734,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
24218
23734
  i0.ɵɵpropertyInterpolate1("for", "select-", result_r50.case_id, "");
24219
23735
  } }
24220
23736
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
24221
- i0.ɵɵelement(0, "ccd-field-read", 41);
23737
+ i0.ɵɵelement(0, "ccd-field-read", 42);
24222
23738
  } if (rf & 2) {
24223
23739
  const col_r60 = i0.ɵɵnextContext(3).$implicit;
24224
23740
  const result_r50 = i0.ɵɵnextContext().$implicit;
@@ -24233,9 +23749,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
24233
23749
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r50.case_id));
24234
23750
  } }
24235
23751
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
24236
- i0.ɵɵelementContainerStart(0, 38);
24237
- i0.ɵɵ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);
24238
- i0.ɵɵ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.ɵɵtemplateRefExtractor);
23752
+ i0.ɵɵelementContainerStart(0, 39);
23753
+ i0.ɵɵ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);
23754
+ i0.ɵɵ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.ɵɵtemplateRefExtractor);
24239
23755
  i0.ɵɵelementContainerEnd();
24240
23756
  } if (rf & 2) {
24241
23757
  const _r66 = i0.ɵɵreference(3);
@@ -24246,9 +23762,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
24246
23762
  i0.ɵɵproperty("ngIf", ctx_r64.draftPrefixOrGet(col_r60, result_r50))("ngIfElse", _r66);
24247
23763
  } }
24248
23764
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
24249
- i0.ɵɵelementStart(0, "a", 36);
23765
+ i0.ɵɵelementStart(0, "a", 37);
24250
23766
  i0.ɵɵpipe(1, "ccdCaseReference");
24251
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
23767
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
24252
23768
  i0.ɵɵelementEnd();
24253
23769
  } if (rf & 2) {
24254
23770
  const result_r50 = i0.ɵɵnextContext(2).$implicit;
@@ -24259,8 +23775,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
24259
23775
  i0.ɵɵproperty("ngIf", !ctx_r62.hideRows);
24260
23776
  } }
24261
23777
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
24262
- i0.ɵɵelementStart(0, "div", 38);
24263
- i0.ɵɵelement(1, "ccd-field-read", 41);
23778
+ i0.ɵɵelementStart(0, "div", 39);
23779
+ i0.ɵɵelement(1, "ccd-field-read", 42);
24264
23780
  i0.ɵɵelementEnd();
24265
23781
  } if (rf & 2) {
24266
23782
  const col_r60 = i0.ɵɵnextContext().$implicit;
@@ -24271,9 +23787,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
24271
23787
  i0.ɵɵproperty("caseField", result_r50.columns[col_r60.case_field_id])("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
24272
23788
  } }
24273
23789
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
24274
- i0.ɵɵelementStart(0, "td", 33);
24275
- i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
24276
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
23790
+ i0.ɵɵelementStart(0, "td", 34);
23791
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
23792
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
24277
23793
  i0.ɵɵelementEnd();
24278
23794
  } if (rf & 2) {
24279
23795
  const colIndex_r61 = ctx.index;
@@ -24285,7 +23801,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
24285
23801
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
24286
23802
  i0.ɵɵelementStart(0, "td");
24287
23803
  i0.ɵɵelementStart(1, "div");
24288
- i0.ɵɵelement(2, "ccd-activity", 42);
23804
+ i0.ɵɵelement(2, "ccd-activity", 43);
24289
23805
  i0.ɵɵelementEnd();
24290
23806
  i0.ɵɵelementEnd();
24291
23807
  } if (rf & 2) {
@@ -24299,7 +23815,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
24299
23815
  function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
24300
23816
  i0.ɵɵelementStart(0, "tr");
24301
23817
  i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
24302
- i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
23818
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 31);
24303
23819
  i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
24304
23820
  i0.ɵɵelementEnd();
24305
23821
  } if (rf & 2) {
@@ -24335,7 +23851,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
24335
23851
  i0.ɵɵelementStart(7, "thead");
24336
23852
  i0.ɵɵelementStart(8, "tr", 7);
24337
23853
  i0.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
24338
- i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
23854
+ i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 4, "th", 9);
24339
23855
  i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
24340
23856
  i0.ɵɵelementEnd();
24341
23857
  i0.ɵɵelementEnd();
@@ -24367,7 +23883,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
24367
23883
  } }
24368
23884
  function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
24369
23885
  const _r78 = i0.ɵɵgetCurrentView();
24370
- i0.ɵɵelementStart(0, "ccd-pagination", 44);
23886
+ i0.ɵɵelementStart(0, "ccd-pagination", 45);
24371
23887
  i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r78); const ctx_r77 = i0.ɵɵnextContext(); return ctx_r77.goToPage($event); });
24372
23888
  i0.ɵɵelementEnd();
24373
23889
  } if (rf & 2) {
@@ -24375,7 +23891,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
24375
23891
  i0.ɵɵproperty("visibilityLabel", ctx_r1.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r1.page)("screenReaderCurrentLabel", "You're on page");
24376
23892
  } }
24377
23893
  function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
24378
- i0.ɵɵelementStart(0, "div", 45);
23894
+ i0.ɵɵelementStart(0, "div", 46);
24379
23895
  i0.ɵɵtext(1, " No cases found. Try using different filters.\n");
24380
23896
  i0.ɵɵelementEnd();
24381
23897
  } }
@@ -24713,7 +24229,7 @@ SearchResultComponent.PARAM_JURISDICTION = 'jurisdiction';
24713
24229
  SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
24714
24230
  SearchResultComponent.PARAM_CASE_STATE = 'case-state';
24715
24231
  SearchResultComponent.ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
24716
- SearchResultComponent.ɵcmp = i0.ɵɵ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.ɵɵ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) { if (rf & 1) {
24232
+ SearchResultComponent.ɵcmp = i0.ɵɵ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.ɵɵ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) { if (rf & 1) {
24717
24233
  i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 15, 9, "table", 0);
24718
24234
  i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
24719
24235
  i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 2, 0, "div", 2);
@@ -24723,7 +24239,7 @@ SearchResultComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchResultCompone
24723
24239
  i0.ɵɵproperty("ngIf", ctx.hasResults());
24724
24240
  i0.ɵɵadvance(1);
24725
24241
  i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
24726
- } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$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}"] });
24242
+ } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$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}"] });
24727
24243
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
24728
24244
  type: Component,
24729
24245
  args: [{
@@ -25062,5 +24578,5 @@ class TestRouteSnapshotBuilder {
25062
24578
  * Generated bundle index. Do not edit.
25063
24579
  */
25064
24580
 
25065
- 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, CaseFileViewFolderDocumentActionsComponent, 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 };
24581
+ 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 };
25066
24582
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map