@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-clear-document-filter-v4 → 5.0.25-case-file-view-move-document

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 (26) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +534 -343
  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/loading-spinner/loading-spinner.component.js +1 -1
  6. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +14 -6
  7. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +86 -52
  8. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +127 -0
  9. package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +4 -3
  10. package/esm2015/lib/shared/components/palette/palette.module.js +15 -6
  11. package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +1 -1
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +475 -307
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  14. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +2 -0
  15. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
  16. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +8 -2
  17. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  18. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts +24 -0
  19. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -0
  20. package/lib/shared/components/palette/case-file-view/components/index.d.ts +3 -2
  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 +26 -24
  23. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  24. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +1 -0
  25. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -18,12 +18,12 @@ import { __decorate, __metadata } from 'tslib';
18
18
  import { isUndefined } from 'util';
19
19
  import { StateMachine } from '@edium/fsm';
20
20
  import * as i1$3 from '@angular/material/dialog';
21
- import { MatDialogConfig } from '@angular/material/dialog';
21
+ import { MatDialogConfig, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
22
22
  import * as i4 from '@angular-material-components/datetime-picker';
23
23
  import { NGX_MAT_DATE_FORMATS, NgxMatDateAdapter, NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
24
24
  import * as i1$4 from '@angular/cdk/overlay';
25
25
  import { OverlayModule } from '@angular/cdk/overlay';
26
- import * as i6$1 from '@angular/cdk/tree';
26
+ import * as i7 from '@angular/cdk/tree';
27
27
  import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
28
28
  import * as i5 from '@angular/material/autocomplete';
29
29
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
@@ -31,7 +31,7 @@ import * as i6 from '@angular/material/core';
31
31
  import { MAT_DATE_LOCALE } from '@angular/material/core';
32
32
  import * as i5$1 from '@angular/material/datepicker';
33
33
  import { MatDatepickerModule } from '@angular/material/datepicker';
34
- import * as i6$2 from '@angular/material/form-field';
34
+ import * as i6$1 from '@angular/material/form-field';
35
35
  import { MatFormFieldModule } from '@angular/material/form-field';
36
36
  import * as i3$1 from '@angular/material/input';
37
37
  import { MatInputModule } from '@angular/material/input';
@@ -44,7 +44,7 @@ import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
44
44
  import * as i1$5 from 'ngx-md';
45
45
  import { NgxMdModule } from 'ngx-md';
46
46
  import { NgxMatMomentAdapter, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';
47
- import * as i6$3 from '@angular/cdk/portal';
47
+ import * as i6$2 from '@angular/cdk/portal';
48
48
  import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
49
49
  import * as i1$6 from 'ngx-pagination';
50
50
  import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
@@ -115,13 +115,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
115
115
  i0.ɵɵadvance(3);
116
116
  i0.ɵɵtextInterpolate(ctx_r1.workhours);
117
117
  } }
118
- const _c0$X = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
119
- const _c1$q = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
118
+ const _c0$Y = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
119
+ const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
120
120
  class FooterComponent {
121
121
  }
122
122
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
123
- FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$q, 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) {
124
- i0.ɵɵprojectionDef(_c0$X);
123
+ FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, 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) {
124
+ i0.ɵɵprojectionDef(_c0$Y);
125
125
  i0.ɵɵelementStart(0, "footer", 0);
126
126
  i0.ɵɵelementStart(1, "div", 1);
127
127
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
@@ -188,8 +188,8 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
188
188
  i0.ɵɵadvance(3);
189
189
  i0.ɵɵtextInterpolate(ctx_r2.title);
190
190
  } }
191
- const _c0$W = [[["", "headerNavigation", ""]]];
192
- const _c1$p = ["[headerNavigation]"];
191
+ const _c0$X = [[["", "headerNavigation", ""]]];
192
+ const _c1$q = ["[headerNavigation]"];
193
193
  class HeaderBarComponent {
194
194
  constructor() {
195
195
  this.signOutRequest = new EventEmitter();
@@ -199,8 +199,8 @@ class HeaderBarComponent {
199
199
  }
200
200
  }
201
201
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
202
- HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$p, 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) {
203
- i0.ɵɵprojectionDef(_c0$W);
202
+ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, 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) {
203
+ i0.ɵɵprojectionDef(_c0$X);
204
204
  i0.ɵɵelementStart(0, "header", 0);
205
205
  i0.ɵɵelementStart(1, "div", 1);
206
206
  i0.ɵɵelementStart(2, "div", 2);
@@ -257,13 +257,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
257
257
  type: Output
258
258
  }] }); })();
259
259
 
260
- const _c0$V = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
261
- const _c1$o = ["[leftNavLinks]", "[rightNavLinks]"];
260
+ const _c0$W = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
261
+ const _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
262
262
  class NavigationComponent {
263
263
  }
264
264
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
265
- NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$o, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
266
- i0.ɵɵprojectionDef(_c0$V);
265
+ NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
266
+ i0.ɵɵprojectionDef(_c0$W);
267
267
  i0.ɵɵelementStart(0, "div");
268
268
  i0.ɵɵelementStart(1, "nav", 0);
269
269
  i0.ɵɵprojection(2);
@@ -380,13 +380,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
380
380
  }]
381
381
  }], null, null); })();
382
382
 
383
- const _c0$U = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
384
- const _c1$n = ["[topBody]", "[leftBody]", "[rightBody]"];
383
+ const _c0$V = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
384
+ const _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
385
385
  class BodyComponent {
386
386
  }
387
387
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
388
- BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$n, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
389
- i0.ɵɵprojectionDef(_c0$U);
388
+ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
389
+ i0.ɵɵprojectionDef(_c0$V);
390
390
  i0.ɵɵelementStart(0, "div", 0);
391
391
  i0.ɵɵprojection(1);
392
392
  i0.ɵɵprojection(2, 1);
@@ -403,7 +403,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
403
403
  }]
404
404
  }], null, null); })();
405
405
 
406
- const _c0$T = function (a0) { return { "govuk-input--error": a0 }; };
406
+ const _c0$U = function (a0) { return { "govuk-input--error": a0 }; };
407
407
  function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
408
408
  const _r8 = i0.ɵɵgetCurrentView();
409
409
  i0.ɵɵelementStart(0, "div", 12);
@@ -419,7 +419,7 @@ function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
419
419
  i0.ɵɵadvance(1);
420
420
  i0.ɵɵproperty("for", ctx_r3.hourId());
421
421
  i0.ɵɵadvance(2);
422
- i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$T, ctx_r3.isInvalid));
422
+ i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$U, ctx_r3.isInvalid));
423
423
  } }
424
424
  function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
425
425
  const _r13 = i0.ɵɵgetCurrentView();
@@ -436,7 +436,7 @@ function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
436
436
  i0.ɵɵadvance(1);
437
437
  i0.ɵɵproperty("for", ctx_r4.minuteId());
438
438
  i0.ɵɵadvance(2);
439
- i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$T, ctx_r4.isInvalid));
439
+ i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$U, ctx_r4.isInvalid));
440
440
  } }
441
441
  function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
442
442
  const _r18 = i0.ɵɵgetCurrentView();
@@ -453,7 +453,7 @@ function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
453
453
  i0.ɵɵadvance(1);
454
454
  i0.ɵɵproperty("for", ctx_r5.secondId());
455
455
  i0.ɵɵadvance(2);
456
- i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$T, ctx_r5.isInvalid));
456
+ i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$U, ctx_r5.isInvalid));
457
457
  } }
458
458
  class DateInputComponent {
459
459
  constructor() {
@@ -682,15 +682,15 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
682
682
  i0.ɵɵadvance(2);
683
683
  i0.ɵɵproperty("for", ctx.dayId());
684
684
  i0.ɵɵadvance(2);
685
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$T, ctx.isInvalid));
685
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$U, ctx.isInvalid));
686
686
  i0.ɵɵadvance(3);
687
687
  i0.ɵɵproperty("for", ctx.monthId());
688
688
  i0.ɵɵadvance(2);
689
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$T, ctx.isInvalid));
689
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$U, ctx.isInvalid));
690
690
  i0.ɵɵadvance(3);
691
691
  i0.ɵɵproperty("for", ctx.yearId());
692
692
  i0.ɵɵadvance(2);
693
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$T, ctx.isInvalid));
693
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$U, ctx.isInvalid));
694
694
  i0.ɵɵadvance(2);
695
695
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
696
696
  i0.ɵɵadvance(1);
@@ -760,7 +760,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
760
760
  i0.ɵɵelementEnd();
761
761
  i0.ɵɵelementContainerEnd();
762
762
  } }
763
- const _c0$S = ["*"];
763
+ const _c0$T = ["*"];
764
764
  var AlertMessageType;
765
765
  (function (AlertMessageType) {
766
766
  AlertMessageType["WARNING"] = "warning";
@@ -780,7 +780,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
780
780
  AlertComponent.TYPE_ERROR = 'error';
781
781
  AlertComponent.TYPE_INFORMATION = 'information';
782
782
  AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
783
- AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$S, 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) {
783
+ AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$T, 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) {
784
784
  i0.ɵɵprojectionDef();
785
785
  i0.ɵɵelementStart(0, "div", 0);
786
786
  i0.ɵɵelementContainerStart(1, 1);
@@ -1011,18 +1011,18 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
1011
1011
  type: Output
1012
1012
  }] }); })();
1013
1013
 
1014
- const _c0$R = function (a0) { return { "js-hidden": a0 }; };
1015
- const _c1$m = ["*"];
1014
+ const _c0$S = function (a0) { return { "js-hidden": a0 }; };
1015
+ const _c1$n = ["*"];
1016
1016
  class TabComponent {
1017
1017
  }
1018
1018
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
1019
- TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$m, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1019
+ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$n, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1020
1020
  i0.ɵɵprojectionDef();
1021
1021
  i0.ɵɵelementStart(0, "div", 0);
1022
1022
  i0.ɵɵprojection(1);
1023
1023
  i0.ɵɵelementEnd();
1024
1024
  } if (rf & 2) {
1025
- i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$R, !ctx.selected));
1025
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$S, !ctx.selected));
1026
1026
  i0.ɵɵattribute("aria-hidden", !ctx.selected);
1027
1027
  } }, 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}}"] });
1028
1028
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
@@ -1042,8 +1042,8 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
1042
1042
  type: Input
1043
1043
  }] }); })();
1044
1044
 
1045
- const _c0$Q = ["tab"];
1046
- const _c1$l = function () { return ["."]; };
1045
+ const _c0$R = ["tab"];
1046
+ const _c1$m = function () { return ["."]; };
1047
1047
  const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1048
1048
  function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
1049
1049
  const _r4 = i0.ɵɵgetCurrentView();
@@ -1056,7 +1056,7 @@ function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
1056
1056
  } if (rf & 2) {
1057
1057
  const panel_r1 = ctx.$implicit;
1058
1058
  i0.ɵɵadvance(1);
1059
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$l))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1059
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(6, _c1$m))("fragment", panel_r1.id)("ngClass", i0.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1060
1060
  i0.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1061
1061
  i0.ɵɵadvance(2);
1062
1062
  i0.ɵɵtextInterpolate(panel_r1.title);
@@ -1087,7 +1087,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
1087
1087
  let _t;
1088
1088
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1089
1089
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1090
- i0.ɵɵviewQuery(_c0$Q, 1);
1090
+ i0.ɵɵviewQuery(_c0$R, 1);
1091
1091
  } if (rf & 2) {
1092
1092
  let _t;
1093
1093
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
@@ -1152,7 +1152,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
1152
1152
  }]
1153
1153
  }], null, null); })();
1154
1154
 
1155
- const _c0$P = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1155
+ const _c0$Q = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
1156
1156
  class ActivityBannerComponent {
1157
1157
  constructor() { }
1158
1158
  ngOnInit() {
@@ -1169,7 +1169,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
1169
1169
  i0.ɵɵelementEnd();
1170
1170
  i0.ɵɵelementEnd();
1171
1171
  } if (rf & 2) {
1172
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$P, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1172
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$Q, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1173
1173
  i0.ɵɵadvance(2);
1174
1174
  i0.ɵɵpropertyInterpolate("alt", ctx.description);
1175
1175
  i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
@@ -9933,13 +9933,13 @@ class AddressOption {
9933
9933
  }
9934
9934
  }
9935
9935
 
9936
- const _c0$O = ["writeComplexFieldComponent"];
9936
+ const _c0$P = ["writeComplexFieldComponent"];
9937
9937
  function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (rf & 1) {
9938
9938
  i0.ɵɵelementStart(0, "span", 14);
9939
9939
  i0.ɵɵtext(1, "Enter the Postcode");
9940
9940
  i0.ɵɵelementEnd();
9941
9941
  } }
9942
- const _c1$k = function (a0) { return { "form-group-error": a0 }; };
9942
+ const _c1$l = function (a0) { return { "form-group-error": a0 }; };
9943
9943
  const _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
9944
9944
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
9945
9945
  const _r7 = i0.ɵɵgetCurrentView();
@@ -9958,7 +9958,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
9958
9958
  i0.ɵɵelementEnd();
9959
9959
  } if (rf & 2) {
9960
9960
  const ctx_r2 = i0.ɵɵnextContext(2);
9961
- i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$k, ctx_r2.missingPostcode));
9961
+ i0.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
9962
9962
  i0.ɵɵadvance(1);
9963
9963
  i0.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
9964
9964
  i0.ɵɵadvance(3);
@@ -10126,7 +10126,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
10126
10126
  }
10127
10127
  WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
10128
10128
  WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
10129
- i0.ɵɵviewQuery(_c0$O, 1);
10129
+ i0.ɵɵviewQuery(_c0$P, 1);
10130
10130
  i0.ɵɵviewQuery(FocusElementDirective, 1);
10131
10131
  } if (rf & 2) {
10132
10132
  let _t;
@@ -10212,7 +10212,7 @@ function CaseFileViewFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
10212
10212
  } if (rf & 2) {
10213
10213
  const ctx_r2 = i0.ɵɵnextContext(2);
10214
10214
  i0.ɵɵadvance(1);
10215
- i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type);
10215
+ i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
10216
10216
  } }
10217
10217
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10218
10218
  const _r4 = i0.ɵɵgetCurrentView();
@@ -10223,12 +10223,12 @@ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10223
10223
  i0.ɵɵelementStart(3, "div", 6);
10224
10224
  i0.ɵɵelementStart(4, "div", 7);
10225
10225
  i0.ɵɵelementStart(5, "ccd-case-file-view-folder", 8);
10226
- i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); });
10226
+ i0.ɵɵlistener("clickedDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); })("moveDocument", function CaseFileViewFieldComponent_div_1_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.moveDocument($event); });
10227
10227
  i0.ɵɵelementEnd();
10228
10228
  i0.ɵɵelementEnd();
10229
10229
  i0.ɵɵelement(6, "div", 9);
10230
10230
  i0.ɵɵelementStart(7, "div", 10);
10231
- i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 4, "ng-container", 1);
10231
+ i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
10232
10232
  i0.ɵɵelementEnd();
10233
10233
  i0.ɵɵelementEnd();
10234
10234
  i0.ɵɵelementEnd();
@@ -10251,7 +10251,9 @@ class CaseFileViewFieldComponent {
10251
10251
  const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
10252
10252
  this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
10253
10253
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
10254
- next: _ => { },
10254
+ next: data => {
10255
+ this.caseVersion = data.case_version;
10256
+ },
10255
10257
  error: _ => this.getCategoriesAndDocumentsError = true
10256
10258
  });
10257
10259
  }
@@ -10284,6 +10286,12 @@ class CaseFileViewFieldComponent {
10284
10286
  });
10285
10287
  this.currentDocument = JSON.parse(mediaViewerInfo);
10286
10288
  }
10289
+ moveDocument(data) {
10290
+ const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
10291
+ this.caseFileViewService.updateDocumentCategory(cid, this.caseVersion, data.document.attribute_path, data.newCategory).subscribe(_ => {
10292
+ location.reload();
10293
+ });
10294
+ }
10287
10295
  ngOnDestroy() {
10288
10296
  if (this.categoriesAndDocumentsSubscription) {
10289
10297
  this.categoriesAndDocumentsSubscription.unsubscribe();
@@ -10292,7 +10300,7 @@ class CaseFileViewFieldComponent {
10292
10300
  }
10293
10301
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
10294
10302
  CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService)); };
10295
- CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "clickedDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
10303
+ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
10296
10304
  i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
10297
10305
  i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 2, "div", 1);
10298
10306
  } if (rf & 2) {
@@ -10620,7 +10628,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_7_Template(rf, ctx) { if
10620
10628
  i0.ɵɵadvance(1);
10621
10629
  i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
10622
10630
  } }
10623
- const _c0$N = function (a0) { return { "form-group-error": a0 }; };
10631
+ const _c0$O = function (a0) { return { "form-group-error": a0 }; };
10624
10632
  function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10625
10633
  i0.ɵɵelementStart(0, "div", 8);
10626
10634
  i0.ɵɵelementStart(1, "div", 9);
@@ -10639,7 +10647,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
10639
10647
  i0.ɵɵadvance(1);
10640
10648
  i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
10641
10649
  i0.ɵɵadvance(1);
10642
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$N, ctx_r1.errorMessages.length > 0));
10650
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, ctx_r1.errorMessages.length > 0));
10643
10651
  i0.ɵɵadvance(1);
10644
10652
  i0.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
10645
10653
  i0.ɵɵadvance(1);
@@ -11023,7 +11031,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
11023
11031
  }]
11024
11032
  }], null, null); })();
11025
11033
 
11026
- const _c0$M = ["writeComplexFieldComponent"];
11034
+ const _c0$N = ["writeComplexFieldComponent"];
11027
11035
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
11028
11036
  i0.ɵɵelementStart(0, "span", 6);
11029
11037
  i0.ɵɵtext(1);
@@ -11053,7 +11061,7 @@ function WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
11053
11061
  i0.ɵɵadvance(1);
11054
11062
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.caseReferenceControl.errors, ctx_r2.caseField.label));
11055
11063
  } }
11056
- const _c1$j = function (a0) { return { "form-group-error": a0 }; };
11064
+ const _c1$k = function (a0) { return { "form-group-error": a0 }; };
11057
11065
  class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11058
11066
  ngOnInit() {
11059
11067
  if (this.caseField.value) {
@@ -11101,7 +11109,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11101
11109
  }
11102
11110
  WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
11103
11111
  WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
11104
- i0.ɵɵviewQuery(_c0$M, 1);
11112
+ i0.ɵɵviewQuery(_c0$N, 1);
11105
11113
  } if (rf & 2) {
11106
11114
  let _t;
11107
11115
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -11115,7 +11123,7 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
11115
11123
  i0.ɵɵelement(5, "input", 5);
11116
11124
  i0.ɵɵelementEnd();
11117
11125
  } if (rf & 2) {
11118
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$j, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
11126
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$k, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
11119
11127
  i0.ɵɵadvance(1);
11120
11128
  i0.ɵɵproperty("for", ctx.id());
11121
11129
  i0.ɵɵadvance(1);
@@ -11139,7 +11147,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
11139
11147
  args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
11140
11148
  }] }); })();
11141
11149
 
11142
- const _c0$L = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11150
+ const _c0$M = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
11143
11151
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
11144
11152
  i0.ɵɵelementStart(0, "tbody");
11145
11153
  i0.ɵɵelementStart(1, "tr");
@@ -11152,9 +11160,9 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
11152
11160
  } if (rf & 2) {
11153
11161
  const ctx_r1 = i0.ɵɵnextContext(2);
11154
11162
  i0.ɵɵadvance(4);
11155
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$L, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
11163
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$M, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
11156
11164
  } }
11157
- const _c1$i = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
11165
+ const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
11158
11166
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
11159
11167
  i0.ɵɵelementStart(0, "tr");
11160
11168
  i0.ɵɵelementStart(1, "td");
@@ -11166,7 +11174,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
11166
11174
  const i_r5 = ctx.index;
11167
11175
  const ctx_r3 = i0.ɵɵnextContext(3);
11168
11176
  i0.ɵɵadvance(2);
11169
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$i, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
11177
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1$j, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
11170
11178
  } }
11171
11179
  function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
11172
11180
  i0.ɵɵelementStart(0, "tbody");
@@ -11280,7 +11288,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
11280
11288
  }]
11281
11289
  }], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
11282
11290
 
11283
- const _c0$K = ["collectionItem"];
11291
+ const _c0$L = ["collectionItem"];
11284
11292
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
11285
11293
  i0.ɵɵelementStart(0, "span", 9);
11286
11294
  i0.ɵɵtext(1);
@@ -11654,7 +11662,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
11654
11662
  }
11655
11663
  WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
11656
11664
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
11657
- i0.ɵɵviewQuery(_c0$K, 1);
11665
+ i0.ɵɵviewQuery(_c0$L, 1);
11658
11666
  } if (rf & 2) {
11659
11667
  let _t;
11660
11668
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -11974,7 +11982,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
11974
11982
  type: Injectable
11975
11983
  }], null, null); })();
11976
11984
 
11977
- const _c0$J = ["fileInput"];
11985
+ const _c0$K = ["fileInput"];
11978
11986
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
11979
11987
  i0.ɵɵelementStart(0, "span", 12);
11980
11988
  i0.ɵɵtext(1);
@@ -11999,7 +12007,7 @@ function WriteDocumentFieldComponent_ccd_read_document_field_9_Template(rf, ctx)
11999
12007
  const ctx_r2 = i0.ɵɵnextContext();
12000
12008
  i0.ɵɵproperty("caseField", ctx_r2.caseField);
12001
12009
  } }
12002
- const _c1$h = function (a0) { return { "form-group-error bottom-30": a0 }; };
12010
+ const _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
12003
12011
  class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
12004
12012
  constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
12005
12013
  super();
@@ -12252,7 +12260,7 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
12252
12260
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
12253
12261
  WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
12254
12262
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
12255
- i0.ɵɵviewQuery(_c0$J, 1);
12263
+ i0.ɵɵviewQuery(_c0$K, 1);
12256
12264
  } if (rf & 2) {
12257
12265
  let _t;
12258
12266
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -12288,7 +12296,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
12288
12296
  i0.ɵɵelementEnd();
12289
12297
  i0.ɵɵelementEnd();
12290
12298
  } if (rf & 2) {
12291
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$h, !ctx.valid));
12299
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
12292
12300
  i0.ɵɵadvance(1);
12293
12301
  i0.ɵɵproperty("for", ctx.id());
12294
12302
  i0.ɵɵadvance(1);
@@ -12414,7 +12422,7 @@ function WriteDynamicListFieldComponent_option_9_Template(rf, ctx) { if (rf & 1)
12414
12422
  i0.ɵɵadvance(1);
12415
12423
  i0.ɵɵtextInterpolate(type_r5.label);
12416
12424
  } }
12417
- const _c0$I = function (a0) { return { "form-group-error": a0 }; };
12425
+ const _c0$J = function (a0) { return { "form-group-error": a0 }; };
12418
12426
  class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
12419
12427
  ngOnInit() {
12420
12428
  /**
@@ -12456,7 +12464,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
12456
12464
  i0.ɵɵelementEnd();
12457
12465
  i0.ɵɵelementEnd();
12458
12466
  } if (rf & 2) {
12459
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$I, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
12467
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$J, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
12460
12468
  i0.ɵɵadvance(1);
12461
12469
  i0.ɵɵproperty("for", ctx.id());
12462
12470
  i0.ɵɵadvance(1);
@@ -12577,7 +12585,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
12577
12585
  i0.ɵɵadvance(1);
12578
12586
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
12579
12587
  } }
12580
- const _c0$H = function (a0) { return { selected: a0 }; };
12588
+ const _c0$I = function (a0) { return { selected: a0 }; };
12581
12589
  function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
12582
12590
  i0.ɵɵelementStart(0, "div", 10);
12583
12591
  i0.ɵɵelement(1, "input", 11);
@@ -12588,7 +12596,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
12588
12596
  } if (rf & 2) {
12589
12597
  const radioButton_r5 = ctx.$implicit;
12590
12598
  const ctx_r4 = i0.ɵɵnextContext();
12591
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$H, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
12599
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$I, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
12592
12600
  i0.ɵɵadvance(1);
12593
12601
  i0.ɵɵpropertyInterpolate("name", ctx_r4.id());
12594
12602
  i0.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
@@ -12597,7 +12605,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
12597
12605
  i0.ɵɵadvance(1);
12598
12606
  i0.ɵɵtextInterpolate(radioButton_r5.label);
12599
12607
  } }
12600
- const _c1$g = function (a0) { return { "form-group-error": a0 }; };
12608
+ const _c1$h = function (a0) { return { "form-group-error": a0 }; };
12601
12609
  class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
12602
12610
  ngOnInit() {
12603
12611
  /**
@@ -12638,7 +12646,7 @@ WriteDynamicRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Write
12638
12646
  i0.ɵɵelementEnd();
12639
12647
  i0.ɵɵelementEnd();
12640
12648
  } if (rf & 2) {
12641
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$g, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
12649
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
12642
12650
  i0.ɵɵadvance(3);
12643
12651
  i0.ɵɵproperty("for", ctx.id());
12644
12652
  i0.ɵɵadvance(1);
@@ -12722,8 +12730,8 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
12722
12730
  i0.ɵɵadvance(1);
12723
12731
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
12724
12732
  } }
12725
- const _c0$G = function (a0) { return { "form-group-error": a0 }; };
12726
- const _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
12733
+ const _c0$H = function (a0) { return { "form-group-error": a0 }; };
12734
+ const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
12727
12735
  class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
12728
12736
  ngOnInit() {
12729
12737
  this.emailControl = this.registerControl(new FormControl(this.caseField.value));
@@ -12740,7 +12748,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
12740
12748
  i0.ɵɵelement(5, "input", 5);
12741
12749
  i0.ɵɵelementEnd();
12742
12750
  } if (rf & 2) {
12743
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
12751
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$H, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
12744
12752
  i0.ɵɵadvance(1);
12745
12753
  i0.ɵɵproperty("for", ctx.id());
12746
12754
  i0.ɵɵadvance(1);
@@ -12750,7 +12758,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
12750
12758
  i0.ɵɵadvance(1);
12751
12759
  i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
12752
12760
  i0.ɵɵadvance(1);
12753
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$f, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
12761
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
12754
12762
  } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
12755
12763
  const ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
12756
12764
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
@@ -12842,7 +12850,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
12842
12850
  i0.ɵɵadvance(1);
12843
12851
  i0.ɵɵtextInterpolate(type_r4.label);
12844
12852
  } }
12845
- const _c0$F = function (a0) { return { "form-group-error": a0 }; };
12853
+ const _c0$G = function (a0) { return { "form-group-error": a0 }; };
12846
12854
  class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
12847
12855
  get listItems() {
12848
12856
  if (this.caseField) {
@@ -12880,7 +12888,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
12880
12888
  i0.ɵɵelementEnd();
12881
12889
  i0.ɵɵelementEnd();
12882
12890
  } if (rf & 2) {
12883
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$F, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
12891
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$G, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
12884
12892
  i0.ɵɵadvance(1);
12885
12893
  i0.ɵɵproperty("for", ctx.id());
12886
12894
  i0.ɵɵadvance(1);
@@ -12971,7 +12979,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
12971
12979
  i0.ɵɵadvance(1);
12972
12980
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
12973
12981
  } }
12974
- const _c0$E = function (a0) { return { selected: a0 }; };
12982
+ const _c0$F = function (a0) { return { selected: a0 }; };
12975
12983
  function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
12976
12984
  i0.ɵɵelementStart(0, "div", 9);
12977
12985
  i0.ɵɵelement(1, "input", 10);
@@ -12982,7 +12990,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
12982
12990
  } if (rf & 2) {
12983
12991
  const radioButton_r4 = ctx.$implicit;
12984
12992
  const ctx_r3 = i0.ɵɵnextContext();
12985
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$E, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
12993
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$F, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
12986
12994
  i0.ɵɵadvance(1);
12987
12995
  i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
12988
12996
  i0.ɵɵadvance(1);
@@ -12990,7 +12998,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
12990
12998
  i0.ɵɵadvance(1);
12991
12999
  i0.ɵɵtextInterpolate(radioButton_r4.label);
12992
13000
  } }
12993
- const _c1$e = function (a0) { return { "form-group-error": a0 }; };
13001
+ const _c1$f = function (a0) { return { "form-group-error": a0 }; };
12994
13002
  class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
12995
13003
  ngOnInit() {
12996
13004
  const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
@@ -13014,7 +13022,7 @@ WriteFixedRadioListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFi
13014
13022
  i0.ɵɵelementEnd();
13015
13023
  i0.ɵɵelementEnd();
13016
13024
  } if (rf & 2) {
13017
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$e, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
13025
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
13018
13026
  i0.ɵɵadvance(3);
13019
13027
  i0.ɵɵproperty("for", ctx.id());
13020
13028
  i0.ɵɵadvance(1);
@@ -13113,7 +13121,7 @@ function WriteJudicialUserFieldComponent_span_3_Template(rf, ctx) { if (rf & 1)
13113
13121
  i0.ɵɵadvance(1);
13114
13122
  i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
13115
13123
  } }
13116
- const _c0$D = function (a0) { return { "hide-autocomplete": a0 }; };
13124
+ const _c0$E = function (a0) { return { "hide-autocomplete": a0 }; };
13117
13125
  function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf & 1) {
13118
13126
  const _r7 = i0.ɵɵgetCurrentView();
13119
13127
  i0.ɵɵelementStart(0, "mat-option", 11);
@@ -13123,7 +13131,7 @@ function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf
13123
13131
  } if (rf & 2) {
13124
13132
  const judicialUser_r5 = ctx.$implicit;
13125
13133
  const ctx_r3 = i0.ɵɵnextContext();
13126
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$D, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
13134
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$E, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
13127
13135
  i0.ɵɵadvance(1);
13128
13136
  i0.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
13129
13137
  } }
@@ -13431,7 +13439,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13431
13439
  i0.ɵɵadvance(1);
13432
13440
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
13433
13441
  } }
13434
- const _c0$C = function (a0) { return { "form-group-error": a0 }; };
13442
+ const _c0$D = function (a0) { return { "form-group-error": a0 }; };
13435
13443
  class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
13436
13444
  ngOnInit() {
13437
13445
  this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
@@ -13454,7 +13462,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
13454
13462
  i0.ɵɵelementEnd();
13455
13463
  i0.ɵɵelementEnd();
13456
13464
  } if (rf & 2) {
13457
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$C, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
13465
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
13458
13466
  i0.ɵɵadvance(1);
13459
13467
  i0.ɵɵproperty("for", ctx.id());
13460
13468
  i0.ɵɵadvance(1);
@@ -13571,7 +13579,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
13571
13579
  i0.ɵɵadvance(1);
13572
13580
  i0.ɵɵtextInterpolate(checkbox_r4.label);
13573
13581
  } }
13574
- const _c0$B = function (a0) { return { "error": a0 }; };
13582
+ const _c0$C = function (a0) { return { "error": a0 }; };
13575
13583
  class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
13576
13584
  ngOnInit() {
13577
13585
  this.checkboxes = new FormArray([]);
@@ -13626,7 +13634,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
13626
13634
  i0.ɵɵelementEnd();
13627
13635
  i0.ɵɵelementEnd();
13628
13636
  } if (rf & 2) {
13629
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$B, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
13637
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
13630
13638
  i0.ɵɵadvance(3);
13631
13639
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
13632
13640
  i0.ɵɵadvance(1);
@@ -13695,8 +13703,8 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
13695
13703
  i0.ɵɵadvance(1);
13696
13704
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
13697
13705
  } }
13698
- const _c0$A = function (a0) { return { "form-group-error": a0 }; };
13699
- const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
13706
+ const _c0$B = function (a0) { return { "form-group-error": a0 }; };
13707
+ const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
13700
13708
  class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
13701
13709
  ngOnInit() {
13702
13710
  this.numberControl = this.registerControl(new FormControl(this.caseField.value));
@@ -13713,7 +13721,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
13713
13721
  i0.ɵɵelement(5, "input", 5);
13714
13722
  i0.ɵɵelementEnd();
13715
13723
  } if (rf & 2) {
13716
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !ctx.numberControl.valid && ctx.numberControl.dirty));
13724
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
13717
13725
  i0.ɵɵadvance(1);
13718
13726
  i0.ɵɵproperty("for", ctx.id());
13719
13727
  i0.ɵɵadvance(1);
@@ -13723,7 +13731,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
13723
13731
  i0.ɵɵadvance(1);
13724
13732
  i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
13725
13733
  i0.ɵɵadvance(1);
13726
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
13734
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
13727
13735
  } }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
13728
13736
  const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
13729
13737
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
@@ -13963,7 +13971,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_div_4_Template(rf, ct
13963
13971
  i0.ɵɵelementEnd();
13964
13972
  i0.ɵɵelementEnd();
13965
13973
  } }
13966
- const _c0$z = function (a0) { return { "scroll-container ": a0 }; };
13974
+ const _c0$A = function (a0) { return { "scroll-container ": a0 }; };
13967
13975
  function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { if (rf & 1) {
13968
13976
  i0.ɵɵelementStart(0, "div", 26);
13969
13977
  i0.ɵɵpipe(1, "async");
@@ -13977,7 +13985,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { i
13977
13985
  const ctx_r2 = i0.ɵɵnextContext(2);
13978
13986
  let tmp_0_0 = null;
13979
13987
  let tmp_2_0 = null;
13980
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$z, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
13988
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
13981
13989
  i0.ɵɵadvance(2);
13982
13990
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
13983
13991
  i0.ɵɵadvance(2);
@@ -14376,8 +14384,8 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14376
14384
  i0.ɵɵadvance(1);
14377
14385
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label));
14378
14386
  } }
14379
- const _c0$y = function (a0) { return { "form-group-error": a0 }; };
14380
- const _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
14387
+ const _c0$z = function (a0) { return { "form-group-error": a0 }; };
14388
+ const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
14381
14389
  class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
14382
14390
  ngOnInit() {
14383
14391
  this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
@@ -14394,7 +14402,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
14394
14402
  i0.ɵɵelement(5, "input", 5);
14395
14403
  i0.ɵɵelementEnd();
14396
14404
  } if (rf & 2) {
14397
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
14405
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
14398
14406
  i0.ɵɵadvance(1);
14399
14407
  i0.ɵɵproperty("for", ctx.id());
14400
14408
  i0.ɵɵadvance(1);
@@ -14404,7 +14412,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
14404
14412
  i0.ɵɵadvance(1);
14405
14413
  i0.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
14406
14414
  i0.ɵɵadvance(1);
14407
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
14415
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
14408
14416
  } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
14409
14417
  const ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
14410
14418
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
@@ -14464,8 +14472,8 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14464
14472
  i0.ɵɵadvance(1);
14465
14473
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textareaControl.errors, ctx_r2.caseField.label));
14466
14474
  } }
14467
- const _c0$x = function (a0) { return { "form-group-error": a0 }; };
14468
- const _c1$b = function (a0) { return { "govuk-textarea--error": a0 }; };
14475
+ const _c0$y = function (a0) { return { "form-group-error": a0 }; };
14476
+ const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
14469
14477
  class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
14470
14478
  constructor(browserService) {
14471
14479
  super();
@@ -14495,7 +14503,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
14495
14503
  i0.ɵɵelementEnd();
14496
14504
  i0.ɵɵelementEnd();
14497
14505
  } if (rf & 2) {
14498
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
14506
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
14499
14507
  i0.ɵɵadvance(1);
14500
14508
  i0.ɵɵproperty("for", ctx.id());
14501
14509
  i0.ɵɵadvance(1);
@@ -14505,7 +14513,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
14505
14513
  i0.ɵɵadvance(1);
14506
14514
  i0.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
14507
14515
  i0.ɵɵadvance(1);
14508
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$b, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
14516
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
14509
14517
  } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
14510
14518
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
14511
14519
  type: Component,
@@ -14565,8 +14573,8 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
14565
14573
  i0.ɵɵadvance(1);
14566
14574
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.textControl.errors, ctx_r2.caseField.label));
14567
14575
  } }
14568
- const _c0$w = function (a0) { return { "form-group-error": a0 }; };
14569
- const _c1$a = function (a0) { return { "govuk-input--error": a0 }; };
14576
+ const _c0$x = function (a0) { return { "form-group-error": a0 }; };
14577
+ const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
14570
14578
  class WriteTextFieldComponent extends AbstractFieldWriteComponent {
14571
14579
  ngOnInit() {
14572
14580
  this.textControl = this.registerControl(new FormControl(this.caseField.value));
@@ -14588,7 +14596,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
14588
14596
  i0.ɵɵelementEnd();
14589
14597
  i0.ɵɵelementEnd();
14590
14598
  } if (rf & 2) {
14591
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$w, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
14599
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
14592
14600
  i0.ɵɵadvance(1);
14593
14601
  i0.ɵɵproperty("for", ctx.id());
14594
14602
  i0.ɵɵadvance(1);
@@ -14598,7 +14606,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
14598
14606
  i0.ɵɵadvance(1);
14599
14607
  i0.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
14600
14608
  i0.ɵɵadvance(1);
14601
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$a, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
14609
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
14602
14610
  } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
14603
14611
  const ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteTextFieldComponent);
14604
14612
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteTextFieldComponent, [{
@@ -14754,7 +14762,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
14754
14762
  i0.ɵɵadvance(1);
14755
14763
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label));
14756
14764
  } }
14757
- const _c0$v = function (a0) { return { selected: a0 }; };
14765
+ const _c0$w = function (a0) { return { selected: a0 }; };
14758
14766
  function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
14759
14767
  i0.ɵɵelementStart(0, "div", 10);
14760
14768
  i0.ɵɵelement(1, "input", 11);
@@ -14765,7 +14773,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
14765
14773
  } if (rf & 2) {
14766
14774
  const value_r4 = ctx.$implicit;
14767
14775
  const ctx_r3 = i0.ɵɵnextContext();
14768
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$v, ctx_r3.yesNoControl.value === value_r4));
14776
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
14769
14777
  i0.ɵɵadvance(1);
14770
14778
  i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
14771
14779
  i0.ɵɵattribute("name", ctx_r3.id());
@@ -14774,7 +14782,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
14774
14782
  i0.ɵɵadvance(1);
14775
14783
  i0.ɵɵtextInterpolate(value_r4);
14776
14784
  } }
14777
- const _c1$9 = function (a0) { return { "form-group-error": a0 }; };
14785
+ const _c1$a = function (a0) { return { "form-group-error": a0 }; };
14778
14786
  class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
14779
14787
  constructor(yesNoService) {
14780
14788
  super();
@@ -14800,7 +14808,7 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
14800
14808
  i0.ɵɵelementEnd();
14801
14809
  i0.ɵɵelementEnd();
14802
14810
  } if (rf & 2) {
14803
- i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$9, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
14811
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
14804
14812
  i0.ɵɵadvance(3);
14805
14813
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
14806
14814
  i0.ɵɵadvance(1);
@@ -14908,7 +14916,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
14908
14916
  type: Injectable
14909
14917
  }], null, null); })();
14910
14918
 
14911
- const _c0$u = ["fieldContainer"];
14919
+ const _c0$v = ["fieldContainer"];
14912
14920
  const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
14913
14921
  class FieldReadComponent extends AbstractFieldReadComponent {
14914
14922
  constructor(resolver, paletteService) {
@@ -14952,7 +14960,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
14952
14960
  }
14953
14961
  FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
14954
14962
  FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
14955
- i0.ɵɵviewQuery(_c0$u, 1, ViewContainerRef);
14963
+ i0.ɵɵviewQuery(_c0$v, 1, ViewContainerRef);
14956
14964
  } if (rf & 2) {
14957
14965
  let _t;
14958
14966
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -14986,7 +14994,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
14986
14994
  args: ['fieldContainer', { static: false, read: ViewContainerRef }]
14987
14995
  }] }); })();
14988
14996
 
14989
- const _c0$t = ["fieldContainer"];
14997
+ const _c0$u = ["fieldContainer"];
14990
14998
  const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
14991
14999
  class FieldWriteComponent extends AbstractFieldWriteComponent {
14992
15000
  constructor(resolver, paletteService) {
@@ -15036,7 +15044,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
15036
15044
  }
15037
15045
  FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
15038
15046
  FieldWriteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
15039
- i0.ɵɵviewQuery(_c0$t, 3, ViewContainerRef);
15047
+ i0.ɵɵviewQuery(_c0$u, 3, ViewContainerRef);
15040
15048
  } if (rf & 2) {
15041
15049
  let _t;
15042
15050
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
@@ -15085,7 +15093,7 @@ function FieldReadLabelComponent_dl_1_Template(rf, ctx) { if (rf & 1) {
15085
15093
  function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15086
15094
  i0.ɵɵprojection(0);
15087
15095
  } }
15088
- const _c0$s = ["*"];
15096
+ const _c0$t = ["*"];
15089
15097
  class FieldReadLabelComponent extends AbstractFieldReadComponent {
15090
15098
  constructor() {
15091
15099
  super(...arguments);
@@ -15120,7 +15128,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
15120
15128
  }
15121
15129
  }
15122
15130
  FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
15123
- FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$s, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
15131
+ FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$t, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
15124
15132
  i0.ɵɵprojectionDef();
15125
15133
  i0.ɵɵelementStart(0, "div", 0);
15126
15134
  i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 5, 2, "dl", 1);
@@ -15149,114 +15157,127 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
15149
15157
  type: Input
15150
15158
  }] }); })();
15151
15159
 
15152
- class CaseFileViewCategory {
15153
- }
15154
-
15155
- class CaseFileViewDocument {
15156
- }
15157
-
15158
- /**
15159
- * DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
15160
- * @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
15161
- */
15162
- class CategoriesAndDocuments {
15163
- }
15164
-
15165
- var DocumentTreeNodeType;
15166
- (function (DocumentTreeNodeType) {
15167
- DocumentTreeNodeType["FOLDER"] = "folder";
15168
- DocumentTreeNodeType["DOCUMENT"] = "document";
15169
- })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
15170
-
15171
- class DocumentTreeNode {
15172
- get childDocumentCount() {
15173
- const countChildren = (childNodes) => {
15174
- let count = 0;
15175
- if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
15176
- const documents = childNodes.filter(item => item.type === 'document');
15177
- count += documents.length;
15178
- childNodes.forEach((children) => {
15179
- count += countChildren(children.children);
15180
- });
15181
- }
15182
- return count;
15183
- };
15184
- return countChildren(this.children);
15160
+ function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
15161
+ i0.ɵɵelementContainer(0);
15162
+ } }
15163
+ const _c0$s = function (a0) { return { cat: a0, level: 1 }; };
15164
+ function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
15165
+ i0.ɵɵelementContainerStart(0);
15166
+ i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
15167
+ i0.ɵɵelementContainerEnd();
15168
+ } if (rf & 2) {
15169
+ const cat_r3 = ctx.$implicit;
15170
+ i0.ɵɵnextContext();
15171
+ const _r1 = i0.ɵɵreference(13);
15172
+ i0.ɵɵadvance(1);
15173
+ i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$s, cat_r3));
15174
+ } }
15175
+ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
15176
+ i0.ɵɵelementContainer(0);
15177
+ } }
15178
+ const _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
15179
+ function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
15180
+ i0.ɵɵelementContainerStart(0);
15181
+ i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
15182
+ i0.ɵɵelementContainerEnd();
15183
+ } if (rf & 2) {
15184
+ const subcat_r8 = ctx.$implicit;
15185
+ const level_r6 = i0.ɵɵnextContext().level;
15186
+ i0.ɵɵnextContext();
15187
+ const _r1 = i0.ɵɵreference(13);
15188
+ i0.ɵɵadvance(1);
15189
+ i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
15190
+ } }
15191
+ function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
15192
+ const _r12 = i0.ɵɵgetCurrentView();
15193
+ i0.ɵɵelementStart(0, "div", 9);
15194
+ i0.ɵɵelementStart(1, "input", 10);
15195
+ i0.ɵɵlistener("change", function CaseFileViewFolderSelectorComponent_ng_template_12_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.handleChange($event); });
15196
+ i0.ɵɵelementEnd();
15197
+ i0.ɵɵelementStart(2, "label", 11);
15198
+ i0.ɵɵelement(3, "img", 12);
15199
+ i0.ɵɵtext(4);
15200
+ i0.ɵɵelementEnd();
15201
+ i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
15202
+ i0.ɵɵelementEnd();
15203
+ } if (rf & 2) {
15204
+ const cat_r5 = ctx.cat;
15205
+ const level_r6 = ctx.level;
15206
+ i0.ɵɵadvance(1);
15207
+ i0.ɵɵpropertyInterpolate1("name", "level-", level_r6, "");
15208
+ i0.ɵɵproperty("id", cat_r5.category_id);
15209
+ i0.ɵɵadvance(1);
15210
+ i0.ɵɵproperty("for", cat_r5.category_id);
15211
+ i0.ɵɵadvance(2);
15212
+ i0.ɵɵtextInterpolate1(" ", cat_r5.category_name, " ");
15213
+ i0.ɵɵadvance(1);
15214
+ i0.ɵɵproperty("ngForOf", cat_r5.sub_categories);
15215
+ } }
15216
+ class CaseFileViewFolderSelectorComponent {
15217
+ constructor(dialogRef, data) {
15218
+ this.dialogRef = dialogRef;
15219
+ this.data = data;
15220
+ this.currentCategories = [];
15221
+ this.selected = '';
15222
+ this.currentCategories = [...this.data.categories];
15185
15223
  }
15186
- sortChildrenAscending() {
15187
- var _a, _b;
15188
- const sortAscending = () => {
15189
- return (a, b) => {
15190
- const nameA = a.name.toUpperCase();
15191
- const nameB = b.name.toUpperCase();
15192
- if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
15193
- return 0;
15194
- }
15195
- if (nameA < nameB) {
15196
- return -1;
15197
- }
15198
- if (nameA > nameB) {
15199
- return 1;
15200
- }
15201
- };
15202
- };
15203
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
15204
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
15205
- childNodes.sortChildrenAscending();
15206
- });
15224
+ handleChange(evt) {
15225
+ if (evt.target.checked) {
15226
+ this.select(evt.target.id);
15227
+ }
15207
15228
  }
15208
- sortChildrenDescending() {
15209
- var _a, _b;
15210
- const sortDescending = () => {
15211
- return (a, b) => {
15212
- const nameA = a.name.toUpperCase();
15213
- const nameB = b.name.toUpperCase();
15214
- if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
15215
- return 0;
15216
- }
15217
- if (nameA > nameB) {
15218
- return -1;
15219
- }
15220
- if (nameA < nameB) {
15221
- return 1;
15222
- }
15223
- };
15224
- };
15225
- (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
15226
- (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
15227
- childNodes.sortChildrenDescending();
15228
- });
15229
+ select(categoryId) {
15230
+ this.selected = categoryId;
15229
15231
  }
15230
- get flattenedAll() {
15231
- var _a;
15232
- const flattenChildren = (nodeChild) => {
15233
- var _a;
15234
- const flattenedNodes = [];
15235
- flattenedNodes.push(nodeChild);
15236
- if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
15237
- nodeChild.children.forEach((child) => {
15238
- flattenedNodes.push(...flattenChildren(child));
15239
- });
15240
- }
15241
- return flattenedNodes;
15242
- };
15243
- return [
15244
- this,
15245
- ...(_a = this.children) === null || _a === void 0 ? void 0 : _a.map(item => {
15246
- return flattenChildren(item);
15247
- }).flat()
15248
- ];
15232
+ cancel() {
15233
+ this.dialogRef.close();
15234
+ }
15235
+ save() {
15236
+ this.dialogRef.close(this.selected.length > 0 ? this.selected : null);
15249
15237
  }
15250
15238
  }
15251
- __decorate([
15252
- Type(() => DocumentTreeNode),
15253
- __metadata("design:type", Array)
15254
- ], DocumentTreeNode.prototype, "children", void 0);
15255
- __decorate([
15256
- Expose(),
15257
- __metadata("design:type", Object),
15258
- __metadata("design:paramtypes", [])
15259
- ], DocumentTreeNode.prototype, "childDocumentCount", null);
15239
+ CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
15240
+ CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "change"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
15241
+ i0.ɵɵelementStart(0, "h2", 0);
15242
+ i0.ɵɵtext(1, "Move File");
15243
+ i0.ɵɵelementEnd();
15244
+ i0.ɵɵelementStart(2, "p");
15245
+ i0.ɵɵtext(3);
15246
+ i0.ɵɵelementEnd();
15247
+ i0.ɵɵelementStart(4, "div", 1);
15248
+ i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
15249
+ i0.ɵɵelementEnd();
15250
+ i0.ɵɵelementStart(6, "div", 3);
15251
+ i0.ɵɵelementStart(7, "button", 4);
15252
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
15253
+ i0.ɵɵtext(8, "Save");
15254
+ i0.ɵɵelementEnd();
15255
+ i0.ɵɵelementStart(9, "a", 5);
15256
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
15257
+ i0.ɵɵtext(10, "Cancel");
15258
+ i0.ɵɵelementEnd();
15259
+ i0.ɵɵelementEnd();
15260
+ i0.ɵɵelementStart(11, "div", 6);
15261
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
15262
+ i0.ɵɵelementEnd();
15263
+ i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
15264
+ } if (rf & 2) {
15265
+ i0.ɵɵadvance(3);
15266
+ i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
15267
+ i0.ɵɵadvance(2);
15268
+ i0.ɵɵproperty("ngForOf", ctx.currentCategories);
15269
+ } }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
15270
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
15271
+ type: Component,
15272
+ args: [{
15273
+ selector: 'xui-case-file-view-folder-selector',
15274
+ templateUrl: './case-file-view-folder-selector.component.html',
15275
+ styleUrls: ['./case-file-view-folder-selector.component.scss']
15276
+ }]
15277
+ }], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
15278
+ type: Inject,
15279
+ args: [MAT_DIALOG_DATA]
15280
+ }] }]; }, null); })();
15260
15281
 
15261
15282
  function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
15262
15283
  i0.ɵɵelementContainerStart(0);
@@ -15354,41 +15375,6 @@ CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFile
15354
15375
  type: Output
15355
15376
  }] }); })();
15356
15377
 
15357
- class CaseFileViewFolderSortComponent {
15358
- constructor() {
15359
- this.isOpen = false;
15360
- this.sortAscending = new EventEmitter();
15361
- this.sortDescending = new EventEmitter();
15362
- this.overlayMenuItems = [
15363
- { actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
15364
- { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
15365
- ];
15366
- }
15367
- }
15368
- CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
15369
- 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) {
15370
- i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
15371
- i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
15372
- i0.ɵɵelementContainerStart(1, 1);
15373
- i0.ɵɵelement(2, "img", 2);
15374
- i0.ɵɵelementContainerEnd();
15375
- i0.ɵɵelementEnd();
15376
- } if (rf & 2) {
15377
- i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
15378
- } }, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
15379
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
15380
- type: Component,
15381
- args: [{
15382
- selector: 'ccd-case-file-view-folder-sort',
15383
- templateUrl: './case-file-view-folder-sort.component.html',
15384
- styleUrls: ['./case-file-view-folder-sort.component.scss']
15385
- }]
15386
- }], function () { return []; }, { sortAscending: [{
15387
- type: Output
15388
- }], sortDescending: [{
15389
- type: Output
15390
- }] }); })();
15391
-
15392
15378
  class CaseFileViewFolderDocumentActionsComponent {
15393
15379
  constructor() {
15394
15380
  this.isOpen = false;
@@ -15432,25 +15418,169 @@ CaseFileViewFolderDocumentActionsComponent.ɵcmp = i0.ɵɵdefineComponent({ type
15432
15418
  type: Output
15433
15419
  }] }); })();
15434
15420
 
15435
- function CaseFileViewFolderComponent_div_10_div_1_Template(rf, ctx) { if (rf & 1) {
15421
+ class CaseFileViewFolderSortComponent {
15422
+ constructor() {
15423
+ this.isOpen = false;
15424
+ this.sortAscending = new EventEmitter();
15425
+ this.sortDescending = new EventEmitter();
15426
+ this.overlayMenuItems = [
15427
+ { actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
15428
+ { actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
15429
+ ];
15430
+ }
15431
+ }
15432
+ CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
15433
+ 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) {
15434
+ i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
15435
+ i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
15436
+ i0.ɵɵelementContainerStart(1, 1);
15437
+ i0.ɵɵelement(2, "img", 2);
15438
+ i0.ɵɵelementContainerEnd();
15439
+ i0.ɵɵelementEnd();
15440
+ } if (rf & 2) {
15441
+ i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
15442
+ } }, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
15443
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
15444
+ type: Component,
15445
+ args: [{
15446
+ selector: 'ccd-case-file-view-folder-sort',
15447
+ templateUrl: './case-file-view-folder-sort.component.html',
15448
+ styleUrls: ['./case-file-view-folder-sort.component.scss']
15449
+ }]
15450
+ }], function () { return []; }, { sortAscending: [{
15451
+ type: Output
15452
+ }], sortDescending: [{
15453
+ type: Output
15454
+ }] }); })();
15455
+
15456
+ class CaseFileViewCategory {
15457
+ }
15458
+
15459
+ class CaseFileViewDocument {
15460
+ }
15461
+
15462
+ /**
15463
+ * DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
15464
+ * @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
15465
+ */
15466
+ class CategoriesAndDocuments {
15467
+ }
15468
+
15469
+ var DocumentTreeNodeType;
15470
+ (function (DocumentTreeNodeType) {
15471
+ DocumentTreeNodeType["FOLDER"] = "folder";
15472
+ DocumentTreeNodeType["DOCUMENT"] = "document";
15473
+ })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
15474
+
15475
+ class DocumentTreeNode {
15476
+ get childDocumentCount() {
15477
+ const countChildren = (childNodes) => {
15478
+ let count = 0;
15479
+ if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
15480
+ const documents = childNodes.filter(item => item.type === 'document');
15481
+ count += documents.length;
15482
+ childNodes.forEach((children) => {
15483
+ count += countChildren(children.children);
15484
+ });
15485
+ }
15486
+ return count;
15487
+ };
15488
+ return countChildren(this.children);
15489
+ }
15490
+ sortChildrenAscending() {
15491
+ var _a, _b;
15492
+ const sortAscending = () => {
15493
+ return (a, b) => {
15494
+ const nameA = a.name.toUpperCase();
15495
+ const nameB = b.name.toUpperCase();
15496
+ if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
15497
+ return 0;
15498
+ }
15499
+ if (nameA < nameB) {
15500
+ return -1;
15501
+ }
15502
+ if (nameA > nameB) {
15503
+ return 1;
15504
+ }
15505
+ };
15506
+ };
15507
+ (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
15508
+ (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
15509
+ childNodes.sortChildrenAscending();
15510
+ });
15511
+ }
15512
+ sortChildrenDescending() {
15513
+ var _a, _b;
15514
+ const sortDescending = () => {
15515
+ return (a, b) => {
15516
+ const nameA = a.name.toUpperCase();
15517
+ const nameB = b.name.toUpperCase();
15518
+ if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
15519
+ return 0;
15520
+ }
15521
+ if (nameA > nameB) {
15522
+ return -1;
15523
+ }
15524
+ if (nameA < nameB) {
15525
+ return 1;
15526
+ }
15527
+ };
15528
+ };
15529
+ (_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
15530
+ (_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
15531
+ childNodes.sortChildrenDescending();
15532
+ });
15533
+ }
15534
+ get flattenedAll() {
15535
+ var _a;
15536
+ const flattenChildren = (nodeChild) => {
15537
+ var _a;
15538
+ const flattenedNodes = [];
15539
+ flattenedNodes.push(nodeChild);
15540
+ if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
15541
+ nodeChild.children.forEach((child) => {
15542
+ flattenedNodes.push(...flattenChildren(child));
15543
+ });
15544
+ }
15545
+ return flattenedNodes;
15546
+ };
15547
+ return [
15548
+ this,
15549
+ ...(_a = this.children) === null || _a === void 0 ? void 0 : _a.map(item => {
15550
+ return flattenChildren(item);
15551
+ }).flat()
15552
+ ];
15553
+ }
15554
+ }
15555
+ __decorate([
15556
+ Type(() => DocumentTreeNode),
15557
+ __metadata("design:type", Array)
15558
+ ], DocumentTreeNode.prototype, "children", void 0);
15559
+ __decorate([
15560
+ Expose(),
15561
+ __metadata("design:type", Object),
15562
+ __metadata("design:paramtypes", [])
15563
+ ], DocumentTreeNode.prototype, "childDocumentCount", null);
15564
+
15565
+ function CaseFileViewFolderComponent_div_8_div_1_Template(rf, ctx) { if (rf & 1) {
15436
15566
  i0.ɵɵelementStart(0, "div");
15437
15567
  i0.ɵɵtext(1, " No results found ");
15438
15568
  i0.ɵɵelementEnd();
15439
15569
  } }
15440
- function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
15570
+ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
15441
15571
  const _r6 = i0.ɵɵgetCurrentView();
15442
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 14);
15443
- i0.ɵɵelementStart(1, "button", 15);
15444
- i0.ɵɵlistener("click", function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r5 = i0.ɵɵnextContext(2); ctx_r5.selectedNodeItem = node_r4; return ctx_r5.clickedDocument.emit(node_r4); });
15445
- i0.ɵɵelementStart(2, "div", 16);
15446
- i0.ɵɵelement(3, "img", 17);
15572
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 12);
15573
+ i0.ɵɵelementStart(1, "button", 13);
15574
+ i0.ɵɵlistener("click", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r5 = i0.ɵɵnextContext(2); ctx_r5.selectedNodeItem = node_r4; return ctx_r5.clickedDocument.emit(node_r4); });
15575
+ i0.ɵɵelementStart(2, "div", 14);
15576
+ i0.ɵɵelement(3, "img", 15);
15447
15577
  i0.ɵɵelementEnd();
15448
- i0.ɵɵelementStart(4, "span", 18);
15578
+ i0.ɵɵelementStart(4, "span", 16);
15449
15579
  i0.ɵɵtext(5);
15450
15580
  i0.ɵɵelementEnd();
15451
- i0.ɵɵelementStart(6, "div", 19);
15452
- i0.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 20);
15453
- i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.triggerDocumentAction("changeFolder", node_r4); })("openInANewTabAction", function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.triggerDocumentAction("openInANewTab", node_r4); })("downloadAction", function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.triggerDocumentAction("download", node_r4); })("printAction", function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.triggerDocumentAction("print", node_r4); });
15581
+ i0.ɵɵelementStart(6, "div", 17);
15582
+ i0.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 18);
15583
+ i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.triggerDocumentAction("changeFolder", node_r4); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.triggerDocumentAction("openInANewTab", node_r4); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.triggerDocumentAction("download", node_r4); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.triggerDocumentAction("print", node_r4); });
15454
15584
  i0.ɵɵelementEnd();
15455
15585
  i0.ɵɵelementEnd();
15456
15586
  i0.ɵɵelementEnd();
@@ -15463,21 +15593,21 @@ function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template(rf,
15463
15593
  i0.ɵɵadvance(4);
15464
15594
  i0.ɵɵtextInterpolate(node_r4.name);
15465
15595
  } }
15466
- function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
15467
- i0.ɵɵelementStart(0, "cdk-nested-tree-node", 21);
15468
- i0.ɵɵelementStart(1, "button", 22);
15469
- i0.ɵɵelementStart(2, "div", 23);
15470
- i0.ɵɵelement(3, "img", 24);
15471
- i0.ɵɵelementStart(4, "span", 25);
15596
+ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
15597
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 19);
15598
+ i0.ɵɵelementStart(1, "button", 20);
15599
+ i0.ɵɵelementStart(2, "div", 21);
15600
+ i0.ɵɵelement(3, "img", 22);
15601
+ i0.ɵɵelementStart(4, "span", 23);
15472
15602
  i0.ɵɵtext(5);
15473
15603
  i0.ɵɵelementEnd();
15474
15604
  i0.ɵɵelementEnd();
15475
- i0.ɵɵelementStart(6, "span", 26);
15605
+ i0.ɵɵelementStart(6, "span", 24);
15476
15606
  i0.ɵɵtext(7);
15477
15607
  i0.ɵɵelementEnd();
15478
15608
  i0.ɵɵelementEnd();
15479
15609
  i0.ɵɵelementStart(8, "div");
15480
- i0.ɵɵelementContainer(9, 27);
15610
+ i0.ɵɵelementContainer(9, 25);
15481
15611
  i0.ɵɵelementEnd();
15482
15612
  i0.ɵɵelementEnd();
15483
15613
  } if (rf & 2) {
@@ -15494,13 +15624,13 @@ function CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_5_Template(rf,
15494
15624
  i0.ɵɵadvance(1);
15495
15625
  i0.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r11));
15496
15626
  } }
15497
- function CaseFileViewFolderComponent_div_10_Template(rf, ctx) { if (rf & 1) {
15498
- i0.ɵɵelementStart(0, "div", 9);
15499
- i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_10_div_1_Template, 2, 0, "div", 10);
15627
+ function CaseFileViewFolderComponent_div_8_Template(rf, ctx) { if (rf & 1) {
15628
+ i0.ɵɵelementStart(0, "div", 7);
15629
+ i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
15500
15630
  i0.ɵɵelementStart(2, "div");
15501
- i0.ɵɵelementStart(3, "cdk-tree", 11);
15502
- i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_4_Template, 8, 3, "cdk-nested-tree-node", 12);
15503
- i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_10_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 13);
15631
+ i0.ɵɵelementStart(3, "cdk-tree", 9);
15632
+ i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 8, 3, "cdk-nested-tree-node", 10);
15633
+ i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 11);
15504
15634
  i0.ɵɵelementEnd();
15505
15635
  i0.ɵɵelementEnd();
15506
15636
  i0.ɵɵelementEnd();
@@ -15515,11 +15645,13 @@ function CaseFileViewFolderComponent_div_10_Template(rf, ctx) { if (rf & 1) {
15515
15645
  } }
15516
15646
  const MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
15517
15647
  class CaseFileViewFolderComponent {
15518
- constructor(windowService, router, documentManagementService) {
15648
+ constructor(windowService, router, documentManagementService, dialog) {
15519
15649
  this.windowService = windowService;
15520
15650
  this.router = router;
15521
15651
  this.documentManagementService = documentManagementService;
15652
+ this.dialog = dialog;
15522
15653
  this.clickedDocument = new EventEmitter();
15654
+ this.moveDocument = new EventEmitter();
15523
15655
  this.categories = [];
15524
15656
  this.getChildren = (node) => of(node.children);
15525
15657
  this.nestedChildren = (_, nodeData) => nodeData.children;
@@ -15551,6 +15683,7 @@ class CaseFileViewFolderComponent {
15551
15683
  // Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
15552
15684
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(categoriesAndDocuments => {
15553
15685
  const categories = categoriesAndDocuments.categories;
15686
+ this.categories = categories;
15554
15687
  // Generate document tree data from categories
15555
15688
  this.documentTreeData = this.generateTreeData(categories);
15556
15689
  // Append uncategorised documents
@@ -15583,6 +15716,7 @@ class CaseFileViewFolderComponent {
15583
15716
  documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
15584
15717
  documentTreeNode.document_filename = document.document_filename;
15585
15718
  documentTreeNode.document_binary_url = document.document_binary_url;
15719
+ documentTreeNode.attribute_path = document.attribute_path;
15586
15720
  documentsToReturn.push(documentTreeNode);
15587
15721
  });
15588
15722
  return documentsToReturn;
@@ -15595,6 +15729,7 @@ class CaseFileViewFolderComponent {
15595
15729
  documentTreeNode.type = DocumentTreeNodeType.DOCUMENT;
15596
15730
  documentTreeNode.document_filename = document.document_filename;
15597
15731
  documentTreeNode.document_binary_url = document.document_binary_url;
15732
+ documentTreeNode.attribute_path = document.attribute_path;
15598
15733
  documents.push(documentTreeNode);
15599
15734
  });
15600
15735
  const uncategorisedNode = new DocumentTreeNode();
@@ -15627,7 +15762,7 @@ class CaseFileViewFolderComponent {
15627
15762
  var _a;
15628
15763
  switch (actionType) {
15629
15764
  case ('changeFolder'):
15630
- console.log('changeFolder!');
15765
+ this.openMoveDialog(documentTreeNode);
15631
15766
  break;
15632
15767
  case ('openInANewTab'):
15633
15768
  this.windowService.setLocalStorage(MEDIA_VIEWER_LOCALSTORAGE_KEY, this.documentManagementService.getMediaViewerInfo({
@@ -15637,10 +15772,13 @@ class CaseFileViewFolderComponent {
15637
15772
  this.windowService.openOnNewTab((_a = this.router.createUrlTree(['/media-viewer'])) === null || _a === void 0 ? void 0 : _a.toString());
15638
15773
  break;
15639
15774
  case ('download'):
15640
- console.log('download!');
15775
+ // Create a URL from the document_binary_url property (absolute URL) and use the path portion (relative URL).
15776
+ // This is necessary because the Manage Cases application will automatically apply a proxy to the request, with
15777
+ // the correct remote endpoint
15778
+ this.downloadFile(new URL(documentTreeNode.document_binary_url).pathname, documentTreeNode.document_filename);
15641
15779
  break;
15642
15780
  case ('print'):
15643
- console.log('print!');
15781
+ this.printDocument(new URL(documentTreeNode.document_binary_url).pathname);
15644
15782
  break;
15645
15783
  default:
15646
15784
  return;
@@ -15685,39 +15823,60 @@ class CaseFileViewFolderComponent {
15685
15823
  (_a = this.categoriesAndDocumentsSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
15686
15824
  (_b = this.documentFilterSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
15687
15825
  }
15826
+ openMoveDialog(node) {
15827
+ const dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
15828
+ width: '570px',
15829
+ data: { categories: this.categories, document: node }
15830
+ });
15831
+ dialogRef.afterClosed().subscribe(newCatId => {
15832
+ if (newCatId) {
15833
+ this.moveDocument.emit({ newCategory: newCatId, document: node });
15834
+ }
15835
+ });
15836
+ }
15837
+ printDocument(url) {
15838
+ const printWindow = window.open(url);
15839
+ printWindow.print();
15840
+ }
15841
+ downloadFile(url, downloadFileName) {
15842
+ const a = document.createElement('a');
15843
+ document.body.appendChild(a);
15844
+ a.setAttribute('style', 'display: none');
15845
+ a.href = url;
15846
+ a.download = downloadFileName;
15847
+ a.click();
15848
+ a.remove();
15849
+ }
15688
15850
  }
15689
15851
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
15690
15852
  CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
15691
15853
  CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
15692
- CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService)); };
15693
- CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, outputs: { clickedDocument: "clickedDocument" }, decls: 11, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], [1, "document-filter__container"], ["required", "", "type", "text", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], ["type", "reset", 1, "document-filter__reset"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
15854
+ CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
15855
+ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
15694
15856
  i0.ɵɵelementStart(0, "div", 0);
15695
- i0.ɵɵelementStart(1, "form", 1);
15696
- i0.ɵɵelementStart(2, "div", 2);
15697
- i0.ɵɵelement(3, "input", 3);
15698
- i0.ɵɵelement(4, "button", 4);
15699
- i0.ɵɵelementEnd();
15857
+ i0.ɵɵelementStart(1, "div", 1);
15858
+ i0.ɵɵelement(2, "input", 2);
15700
15859
  i0.ɵɵelementEnd();
15701
15860
  i0.ɵɵelementEnd();
15702
- i0.ɵɵelementStart(5, "div", 5);
15703
- i0.ɵɵelementStart(6, "div", 6);
15704
- i0.ɵɵtext(7);
15861
+ i0.ɵɵelementStart(3, "div", 3);
15862
+ i0.ɵɵelementStart(4, "div", 4);
15863
+ i0.ɵɵtext(5);
15705
15864
  i0.ɵɵelementEnd();
15706
- i0.ɵɵelementStart(8, "div");
15707
- i0.ɵɵelementStart(9, "ccd-case-file-view-folder-sort", 7);
15708
- i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_9_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_9_listener() { return ctx.sortDataSourceDescAlphabetically(); });
15865
+ i0.ɵɵelementStart(6, "div");
15866
+ i0.ɵɵelementStart(7, "ccd-case-file-view-folder-sort", 5);
15867
+ i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_7_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_7_listener() { return ctx.sortDataSourceDescAlphabetically(); });
15709
15868
  i0.ɵɵelementEnd();
15710
15869
  i0.ɵɵelementEnd();
15711
15870
  i0.ɵɵelementEnd();
15712
- i0.ɵɵtemplate(10, CaseFileViewFolderComponent_div_10_Template, 6, 4, "div", 8);
15871
+ i0.ɵɵtemplate(8, CaseFileViewFolderComponent_div_8_Template, 6, 4, "div", 6);
15713
15872
  } if (rf & 2) {
15714
15873
  i0.ɵɵadvance(1);
15715
15874
  i0.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
15716
- i0.ɵɵadvance(6);
15875
+ i0.ɵɵadvance(4);
15717
15876
  i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
15718
15877
  i0.ɵɵadvance(3);
15719
15878
  i0.ɵɵproperty("ngIf", ctx.documentTreeData);
15720
- } }, directives: [i2.ɵangular_packages_forms_forms_ba, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.DefaultValueAccessor, i2.RequiredValidator, i2.NgControlStatus, i2.FormControlName, CaseFileViewFolderSortComponent, i1.NgIf, i6$1.CdkTree, i6$1.CdkTreeNodeDef, i6$1.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i6$1.CdkTreeNodeToggle, i6$1.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding: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:50px;width:100%}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]:not(:valid) ~ .document-filter__reset[_ngcontent-%COMP%]{display:none}.document-filter-container[_ngcontent-%COMP%] .document-filter__container[_ngcontent-%COMP%]{position:relative}.document-filter-container[_ngcontent-%COMP%] .document-filter__reset[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;outline:none;height:100%;padding:2px 0;width:20px;position:absolute;top:0;right:30px}.document-filter-container[_ngcontent-%COMP%] .document-filter__reset[_ngcontent-%COMP%]:before{content:\"x\";padding:6px;position:absolute;top:50%;transform:translateY(-50%);left:0}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
15879
+ } }, directives: [i2.NgControlStatusGroup, i2.FormGroupDirective, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlName, CaseFileViewFolderSortComponent, i1.NgIf, i7.CdkTree, i7.CdkTreeNodeDef, i7.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7.CdkTreeNodeToggle, i7.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding: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-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.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}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
15721
15880
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
15722
15881
  type: Component,
15723
15882
  args: [{
@@ -15725,10 +15884,12 @@ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewF
15725
15884
  templateUrl: './case-file-view-folder.component.html',
15726
15885
  styleUrls: ['./case-file-view-folder.component.scss'],
15727
15886
  }]
15728
- }], function () { return [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }]; }, { categoriesAndDocuments: [{
15887
+ }], function () { return [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatDialog }]; }, { categoriesAndDocuments: [{
15729
15888
  type: Input
15730
15889
  }], clickedDocument: [{
15731
15890
  type: Output
15891
+ }], moveDocument: [{
15892
+ type: Output
15732
15893
  }] }); })();
15733
15894
 
15734
15895
  function CaseFlagTableComponent_table_0_tr_16_Template(rf, ctx) { if (rf & 1) {
@@ -18134,7 +18295,7 @@ DatetimePickerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DatetimePickerCom
18134
18295
  i0.ɵɵproperty("for", _r6);
18135
18296
  i0.ɵɵadvance(1);
18136
18297
  i0.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
18137
- } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i4.NgxMatDatetimeInput, i2.NgControlStatus, i2.FormControlDirective, i5$1.MatDatepickerToggle, i6$2.MatSuffix, i4.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
18298
+ } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i4.NgxMatDatetimeInput, i2.NgControlStatus, i2.FormControlDirective, i5$1.MatDatepickerToggle, i6$1.MatSuffix, i4.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
18138
18299
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimePickerComponent, [{
18139
18300
  type: Component,
18140
18301
  args: [{
@@ -18996,7 +19157,8 @@ const PALETTE_COMPONENTS = [
18996
19157
  CaseFileViewFolderComponent,
18997
19158
  CaseFileViewFolderSortComponent,
18998
19159
  CaseFileViewOverlayMenuComponent,
18999
- CaseFileViewFolderDocumentActionsComponent
19160
+ CaseFileViewFolderDocumentActionsComponent,
19161
+ CaseFileViewFolderSelectorComponent
19000
19162
  ];
19001
19163
  class PaletteModule {
19002
19164
  }
@@ -19039,6 +19201,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19039
19201
  OverlayModule,
19040
19202
  PaymentLibModule,
19041
19203
  ScrollToModule.forRoot(),
19204
+ MatDialogModule,
19042
19205
  MediaViewerModule
19043
19206
  ], NgxMatDatetimePickerModule,
19044
19207
  NgxMatNativeDateModule,
@@ -19134,7 +19297,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19134
19297
  CaseFileViewFolderComponent,
19135
19298
  CaseFileViewFolderSortComponent,
19136
19299
  CaseFileViewOverlayMenuComponent,
19137
- CaseFileViewFolderDocumentActionsComponent], imports: [CommonModule,
19300
+ CaseFileViewFolderDocumentActionsComponent,
19301
+ CaseFileViewFolderSelectorComponent], imports: [CommonModule,
19138
19302
  RouterModule,
19139
19303
  FormsModule,
19140
19304
  ReactiveFormsModule,
@@ -19157,7 +19321,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19157
19321
  MatAutocompleteModule,
19158
19322
  CdkTreeModule,
19159
19323
  OverlayModule,
19160
- PaymentLibModule, i2$1.ScrollToModule, MediaViewerModule], exports: [NgxMatDatetimePickerModule,
19324
+ PaymentLibModule, i2$1.ScrollToModule, MatDialogModule,
19325
+ MediaViewerModule], exports: [NgxMatDatetimePickerModule,
19161
19326
  NgxMatNativeDateModule,
19162
19327
  NgxMatTimepickerModule,
19163
19328
  TabsModule,
@@ -19238,7 +19403,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19238
19403
  CaseFileViewFolderComponent,
19239
19404
  CaseFileViewFolderSortComponent,
19240
19405
  CaseFileViewOverlayMenuComponent,
19241
- CaseFileViewFolderDocumentActionsComponent] }); })();
19406
+ CaseFileViewFolderDocumentActionsComponent,
19407
+ CaseFileViewFolderSelectorComponent] }); })();
19242
19408
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
19243
19409
  type: NgModule,
19244
19410
  args: [{
@@ -19268,6 +19434,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19268
19434
  OverlayModule,
19269
19435
  PaymentLibModule,
19270
19436
  ScrollToModule.forRoot(),
19437
+ MatDialogModule,
19271
19438
  MediaViewerModule
19272
19439
  ],
19273
19440
  declarations: [
@@ -19306,7 +19473,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
19306
19473
  FileUploadProgressGuard,
19307
19474
  WindowService,
19308
19475
  { provide: MAT_DATE_LOCALE, useValue: 'en-GB' }
19309
- ]
19476
+ ],
19477
+ entryComponents: [CaseFileViewFolderSelectorComponent]
19310
19478
  }]
19311
19479
  }], null, null); })();
19312
19480
  i0.ɵɵsetComponentScope(FieldReadComponent, [FieldReadLabelComponent, i2.NgControlStatusGroup, i2.FormGroupDirective], []);
@@ -20239,7 +20407,7 @@ LoadingSpinnerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LoadingSpinnerCom
20239
20407
  } if (rf & 2) {
20240
20408
  i0.ɵɵadvance(3);
20241
20409
  i0.ɵɵtextInterpolate(ctx.loadingText);
20242
- } }, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"], encapsulation: 2 });
20410
+ } }, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"], encapsulation: 2 });
20243
20411
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingSpinnerComponent, [{
20244
20412
  type: Component,
20245
20413
  args: [{
@@ -20540,7 +20708,7 @@ CaseEventCompletionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEventCom
20540
20708
  i0.ɵɵtemplate(0, CaseEventCompletionComponent_ng_template_0_Template, 0, 0, "ng-template", 0);
20541
20709
  } if (rf & 2) {
20542
20710
  i0.ɵɵproperty("cdkPortalOutlet", ctx.selectedComponentPortal);
20543
- } }, directives: [i6$3.CdkPortalOutlet], encapsulation: 2 });
20711
+ } }, directives: [i6$2.CdkPortalOutlet], encapsulation: 2 });
20544
20712
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionComponent, [{
20545
20713
  type: Component,
20546
20714
  args: [{
@@ -27997,5 +28165,5 @@ class TestRouteSnapshotBuilder {
27997
28165
  * Generated bundle index. Do not edit.
27998
28166
  */
27999
28167
 
28000
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, 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, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, 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, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, 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, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, 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 };
28168
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, 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, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, 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, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, 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, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, 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 };
28001
28169
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map