@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-document-tree-functionalities-v2 → 5.0.25-case-file-sort-documents-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +696 -250
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +19 -15
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.js +44 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +298 -118
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +3 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.js +2 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +90 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/index.js +2 -0
- package/esm2015/lib/shared/components/palette/palette.module.js +18 -5
- package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
- package/esm2015/lib/shared/components/search-result/search-result.component.js +43 -43
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +92 -0
- package/esm2015/lib/shared/domain/case-file-view/index.js +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +637 -229
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts +14 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +6 -10
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts +6 -0
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +15 -0
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +25 -22
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +10 -0
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/index.d.ts +1 -1
- package/lib/shared/domain/case-file-view/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +0 -6
- package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +0 -11
- package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +0 -1
|
@@ -19,11 +19,13 @@ import { isUndefined } from 'util';
|
|
|
19
19
|
import { StateMachine } from '@edium/fsm';
|
|
20
20
|
import * as i1$4 from 'ngx-md';
|
|
21
21
|
import { NgxMdModule } from 'ngx-md';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i2 from '@angular/cdk/tree';
|
|
23
23
|
import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
24
|
-
import * as i1$5 from '@angular/
|
|
24
|
+
import * as i1$5 from '@angular/cdk/overlay';
|
|
25
|
+
import { OverlayModule } from '@angular/cdk/overlay';
|
|
26
|
+
import * as i1$6 from '@angular/material/dialog';
|
|
25
27
|
import { MatDialogConfig } from '@angular/material/dialog';
|
|
26
|
-
import * as i2 from '@nicky-lenaers/ngx-scroll-to';
|
|
28
|
+
import * as i2$1 from '@nicky-lenaers/ngx-scroll-to';
|
|
27
29
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
28
30
|
import * as i4 from '@angular-material-components/datetime-picker';
|
|
29
31
|
import { NGX_MAT_DATE_FORMATS, NgxMatDateAdapter, NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
|
|
@@ -36,12 +38,12 @@ import * as i5$1 from '@angular/material/autocomplete';
|
|
|
36
38
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
37
39
|
import * as i6$1 from '@angular/material/core';
|
|
38
40
|
import { MAT_DATE_LOCALE } from '@angular/material/core';
|
|
39
|
-
import * as i3
|
|
41
|
+
import * as i3 from '@hmcts/ccpay-web-component';
|
|
40
42
|
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
41
43
|
import * as i6$2 from '@angular/cdk/portal';
|
|
42
44
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
43
45
|
import { MatInputModule } from '@angular/material/input';
|
|
44
|
-
import * as i1$
|
|
46
|
+
import * as i1$7 from 'ngx-pagination';
|
|
45
47
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
46
48
|
import * as i10 from '@angular/material/tabs';
|
|
47
49
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
@@ -110,13 +112,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
110
112
|
i0.ɵɵadvance(3);
|
|
111
113
|
i0.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
112
114
|
} }
|
|
113
|
-
const _c0$
|
|
115
|
+
const _c0$Q = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
114
116
|
const _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
115
117
|
class FooterComponent {
|
|
116
118
|
}
|
|
117
119
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
118
120
|
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$n, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
-
i0.ɵɵprojectionDef(_c0$
|
|
121
|
+
i0.ɵɵprojectionDef(_c0$Q);
|
|
120
122
|
i0.ɵɵelementStart(0, "footer", 0);
|
|
121
123
|
i0.ɵɵelementStart(1, "div", 1);
|
|
122
124
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -183,7 +185,7 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
183
185
|
i0.ɵɵadvance(3);
|
|
184
186
|
i0.ɵɵtextInterpolate(ctx_r2.title);
|
|
185
187
|
} }
|
|
186
|
-
const _c0$
|
|
188
|
+
const _c0$P = [[["", "headerNavigation", ""]]];
|
|
187
189
|
const _c1$m = ["[headerNavigation]"];
|
|
188
190
|
class HeaderBarComponent {
|
|
189
191
|
constructor() {
|
|
@@ -195,7 +197,7 @@ class HeaderBarComponent {
|
|
|
195
197
|
}
|
|
196
198
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
197
199
|
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$m, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
198
|
-
i0.ɵɵprojectionDef(_c0$
|
|
200
|
+
i0.ɵɵprojectionDef(_c0$P);
|
|
199
201
|
i0.ɵɵelementStart(0, "header", 0);
|
|
200
202
|
i0.ɵɵelementStart(1, "div", 1);
|
|
201
203
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -252,13 +254,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
|
|
|
252
254
|
type: Output
|
|
253
255
|
}] }); })();
|
|
254
256
|
|
|
255
|
-
const _c0$
|
|
257
|
+
const _c0$O = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
256
258
|
const _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
257
259
|
class NavigationComponent {
|
|
258
260
|
}
|
|
259
261
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
260
262
|
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$l, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
261
|
-
i0.ɵɵprojectionDef(_c0$
|
|
263
|
+
i0.ɵɵprojectionDef(_c0$O);
|
|
262
264
|
i0.ɵɵelementStart(0, "div");
|
|
263
265
|
i0.ɵɵelementStart(1, "nav", 0);
|
|
264
266
|
i0.ɵɵprojection(2);
|
|
@@ -375,13 +377,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
|
|
|
375
377
|
}]
|
|
376
378
|
}], null, null); })();
|
|
377
379
|
|
|
378
|
-
const _c0$
|
|
380
|
+
const _c0$N = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
379
381
|
const _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
380
382
|
class BodyComponent {
|
|
381
383
|
}
|
|
382
384
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
383
385
|
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$k, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
384
|
-
i0.ɵɵprojectionDef(_c0$
|
|
386
|
+
i0.ɵɵprojectionDef(_c0$N);
|
|
385
387
|
i0.ɵɵelementStart(0, "div", 0);
|
|
386
388
|
i0.ɵɵprojection(1);
|
|
387
389
|
i0.ɵɵprojection(2, 1);
|
|
@@ -398,7 +400,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
|
|
|
398
400
|
}]
|
|
399
401
|
}], null, null); })();
|
|
400
402
|
|
|
401
|
-
const _c0$
|
|
403
|
+
const _c0$M = function (a0) { return { "govuk-input--error": a0 }; };
|
|
402
404
|
function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
403
405
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
404
406
|
i0.ɵɵelementStart(0, "div", 12);
|
|
@@ -414,7 +416,7 @@ function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
414
416
|
i0.ɵɵadvance(1);
|
|
415
417
|
i0.ɵɵproperty("for", ctx_r3.hourId());
|
|
416
418
|
i0.ɵɵadvance(2);
|
|
417
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
419
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r3.isInvalid));
|
|
418
420
|
} }
|
|
419
421
|
function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
420
422
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
@@ -431,7 +433,7 @@ function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
431
433
|
i0.ɵɵadvance(1);
|
|
432
434
|
i0.ɵɵproperty("for", ctx_r4.minuteId());
|
|
433
435
|
i0.ɵɵadvance(2);
|
|
434
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
436
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r4.isInvalid));
|
|
435
437
|
} }
|
|
436
438
|
function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
437
439
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
@@ -448,7 +450,7 @@ function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
448
450
|
i0.ɵɵadvance(1);
|
|
449
451
|
i0.ɵɵproperty("for", ctx_r5.secondId());
|
|
450
452
|
i0.ɵɵadvance(2);
|
|
451
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
453
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$M, ctx_r5.isInvalid));
|
|
452
454
|
} }
|
|
453
455
|
class DateInputComponent {
|
|
454
456
|
constructor() {
|
|
@@ -677,15 +679,15 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
|
|
|
677
679
|
i0.ɵɵadvance(2);
|
|
678
680
|
i0.ɵɵproperty("for", ctx.dayId());
|
|
679
681
|
i0.ɵɵadvance(2);
|
|
680
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$
|
|
682
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$M, ctx.isInvalid));
|
|
681
683
|
i0.ɵɵadvance(3);
|
|
682
684
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
683
685
|
i0.ɵɵadvance(2);
|
|
684
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
686
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$M, ctx.isInvalid));
|
|
685
687
|
i0.ɵɵadvance(3);
|
|
686
688
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
687
689
|
i0.ɵɵadvance(2);
|
|
688
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$
|
|
690
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$M, ctx.isInvalid));
|
|
689
691
|
i0.ɵɵadvance(2);
|
|
690
692
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
691
693
|
i0.ɵɵadvance(1);
|
|
@@ -755,7 +757,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
755
757
|
i0.ɵɵelementEnd();
|
|
756
758
|
i0.ɵɵelementContainerEnd();
|
|
757
759
|
} }
|
|
758
|
-
const _c0$
|
|
760
|
+
const _c0$L = ["*"];
|
|
759
761
|
var AlertMessageType;
|
|
760
762
|
(function (AlertMessageType) {
|
|
761
763
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -775,7 +777,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
775
777
|
AlertComponent.TYPE_ERROR = 'error';
|
|
776
778
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
777
779
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
778
|
-
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
780
|
+
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$L, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
779
781
|
i0.ɵɵprojectionDef();
|
|
780
782
|
i0.ɵɵelementStart(0, "div", 0);
|
|
781
783
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -864,7 +866,7 @@ AlertModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule]] });
|
|
|
864
866
|
}]
|
|
865
867
|
}], null, null); })();
|
|
866
868
|
|
|
867
|
-
const _c0$
|
|
869
|
+
const _c0$K = function (a0) { return { "js-hidden": a0 }; };
|
|
868
870
|
const _c1$j = ["*"];
|
|
869
871
|
class TabComponent {
|
|
870
872
|
}
|
|
@@ -875,7 +877,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
875
877
|
i0.ɵɵprojection(1);
|
|
876
878
|
i0.ɵɵelementEnd();
|
|
877
879
|
} if (rf & 2) {
|
|
878
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
880
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$K, !ctx.selected));
|
|
879
881
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
880
882
|
} }, 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}}"] });
|
|
881
883
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
|
|
@@ -895,7 +897,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
895
897
|
type: Input
|
|
896
898
|
}] }); })();
|
|
897
899
|
|
|
898
|
-
const _c0$
|
|
900
|
+
const _c0$J = ["tab"];
|
|
899
901
|
const _c1$i = function () { return ["."]; };
|
|
900
902
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
901
903
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -940,7 +942,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
|
|
|
940
942
|
let _t;
|
|
941
943
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
942
944
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
943
|
-
i0.ɵɵviewQuery(_c0$
|
|
945
|
+
i0.ɵɵviewQuery(_c0$J, 1);
|
|
944
946
|
} if (rf & 2) {
|
|
945
947
|
let _t;
|
|
946
948
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1005,7 +1007,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
1005
1007
|
}]
|
|
1006
1008
|
}], null, null); })();
|
|
1007
1009
|
|
|
1008
|
-
const _c0$
|
|
1010
|
+
const _c0$I = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1009
1011
|
class ActivityBannerComponent {
|
|
1010
1012
|
constructor() { }
|
|
1011
1013
|
ngOnInit() {
|
|
@@ -1022,7 +1024,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
|
|
|
1022
1024
|
i0.ɵɵelementEnd();
|
|
1023
1025
|
i0.ɵɵelementEnd();
|
|
1024
1026
|
} if (rf & 2) {
|
|
1025
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$
|
|
1027
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$I, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1026
1028
|
i0.ɵɵadvance(2);
|
|
1027
1029
|
i0.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1028
1030
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -7600,7 +7602,7 @@ class IsCompoundPipe {
|
|
|
7600
7602
|
}
|
|
7601
7603
|
}
|
|
7602
7604
|
IsCompoundPipe.COMPOUND_TYPES = [
|
|
7603
|
-
'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
|
|
7605
|
+
'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
|
|
7604
7606
|
];
|
|
7605
7607
|
IsCompoundPipe.EXCLUDE = [
|
|
7606
7608
|
'CaseLink', 'JudicialUser'
|
|
@@ -7823,7 +7825,7 @@ FieldLabelPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFieldLabel", type: FieldLa
|
|
|
7823
7825
|
}]
|
|
7824
7826
|
}], null, null); })();
|
|
7825
7827
|
|
|
7826
|
-
const _c0$
|
|
7828
|
+
const _c0$H = ["writeComplexFieldComponent"];
|
|
7827
7829
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
7828
7830
|
i0.ɵɵelementStart(0, "span", 14);
|
|
7829
7831
|
i0.ɵɵtext(1, "Enter the Postcode");
|
|
@@ -8016,7 +8018,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
8016
8018
|
}
|
|
8017
8019
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
8018
8020
|
WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8019
|
-
i0.ɵɵviewQuery(_c0$
|
|
8021
|
+
i0.ɵɵviewQuery(_c0$H, 1);
|
|
8020
8022
|
i0.ɵɵviewQuery(FocusElementDirective, 1);
|
|
8021
8023
|
} if (rf & 2) {
|
|
8022
8024
|
let _t;
|
|
@@ -8064,75 +8066,266 @@ class CaseFileViewDocument {
|
|
|
8064
8066
|
class CategoriesAndDocuments {
|
|
8065
8067
|
}
|
|
8066
8068
|
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8069
|
+
class DocumentTreeNode {
|
|
8070
|
+
get childDocumentCount() {
|
|
8071
|
+
const countChildren = (childNodes) => {
|
|
8072
|
+
let count = 0;
|
|
8073
|
+
if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
|
|
8074
|
+
const documents = childNodes.filter(item => item.type === 'document');
|
|
8075
|
+
count += documents.length;
|
|
8076
|
+
childNodes.forEach((children) => {
|
|
8077
|
+
count += countChildren(children.children);
|
|
8078
|
+
});
|
|
8079
|
+
}
|
|
8080
|
+
return count;
|
|
8081
|
+
};
|
|
8082
|
+
return countChildren(this.children);
|
|
8083
|
+
}
|
|
8084
|
+
sortChildrenAscending() {
|
|
8085
|
+
var _a, _b;
|
|
8086
|
+
const sortAscending = () => {
|
|
8087
|
+
return (a, b) => {
|
|
8088
|
+
const nameA = a.name.toUpperCase(); // ignore upper and lowercase
|
|
8089
|
+
const nameB = b.name.toUpperCase(); // ignore upper and lowercase
|
|
8090
|
+
if (a.type === 'category' || b.type === 'category') {
|
|
8091
|
+
return 0;
|
|
8092
|
+
}
|
|
8093
|
+
if (nameA < nameB) {
|
|
8094
|
+
return -1;
|
|
8095
|
+
}
|
|
8096
|
+
if (nameA > nameB) {
|
|
8097
|
+
return 1;
|
|
8098
|
+
}
|
|
8099
|
+
};
|
|
8100
|
+
};
|
|
8101
|
+
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
|
|
8102
|
+
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
|
|
8103
|
+
childNodes.sortChildrenAscending();
|
|
8104
|
+
});
|
|
8105
|
+
}
|
|
8106
|
+
sortChildrenDescending() {
|
|
8107
|
+
var _a, _b;
|
|
8108
|
+
const sortDescending = () => {
|
|
8109
|
+
return (a, b) => {
|
|
8110
|
+
const nameA = a.name.toUpperCase(); // ignore upper and lowercase
|
|
8111
|
+
const nameB = b.name.toUpperCase(); // ignore upper and lowercase
|
|
8112
|
+
if (a.type === 'category' || b.type === 'category') {
|
|
8113
|
+
return 0;
|
|
8114
|
+
}
|
|
8115
|
+
if (nameA > nameB) {
|
|
8116
|
+
return -1;
|
|
8117
|
+
}
|
|
8118
|
+
if (nameA < nameB) {
|
|
8119
|
+
return 1;
|
|
8120
|
+
}
|
|
8121
|
+
};
|
|
8122
|
+
};
|
|
8123
|
+
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
|
|
8124
|
+
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
|
|
8125
|
+
childNodes.sortChildrenDescending();
|
|
8126
|
+
});
|
|
8127
|
+
}
|
|
8128
|
+
get flattenedAll() {
|
|
8129
|
+
var _a;
|
|
8130
|
+
const flattenChildren = (nodeChild) => {
|
|
8131
|
+
var _a;
|
|
8132
|
+
const flattenedNodes = [];
|
|
8133
|
+
flattenedNodes.push(nodeChild);
|
|
8134
|
+
if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
8135
|
+
nodeChild.children.forEach((child) => {
|
|
8136
|
+
flattenedNodes.push(...flattenChildren(child));
|
|
8137
|
+
});
|
|
8138
|
+
}
|
|
8139
|
+
return flattenedNodes;
|
|
8140
|
+
};
|
|
8141
|
+
return [
|
|
8142
|
+
this,
|
|
8143
|
+
...(_a = this.children) === null || _a === void 0 ? void 0 : _a.map(item => {
|
|
8144
|
+
return flattenChildren(item);
|
|
8145
|
+
}).flat()
|
|
8146
|
+
];
|
|
8147
|
+
}
|
|
8148
|
+
}
|
|
8149
|
+
__decorate([
|
|
8150
|
+
Type(() => DocumentTreeNode),
|
|
8151
|
+
__metadata("design:type", Array)
|
|
8152
|
+
], DocumentTreeNode.prototype, "children", void 0);
|
|
8153
|
+
__decorate([
|
|
8154
|
+
Expose(),
|
|
8155
|
+
__metadata("design:type", Object),
|
|
8156
|
+
__metadata("design:paramtypes", [])
|
|
8157
|
+
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
8072
8158
|
|
|
8073
|
-
function
|
|
8074
|
-
i0.ɵɵ
|
|
8075
|
-
i0.ɵɵ
|
|
8159
|
+
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8160
|
+
i0.ɵɵelementContainerStart(0);
|
|
8161
|
+
i0.ɵɵelementStart(1, "div", 4);
|
|
8162
|
+
i0.ɵɵtext(2);
|
|
8076
8163
|
i0.ɵɵelementEnd();
|
|
8164
|
+
i0.ɵɵelementContainerEnd();
|
|
8165
|
+
} if (rf & 2) {
|
|
8166
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
8167
|
+
i0.ɵɵadvance(2);
|
|
8168
|
+
i0.ɵɵtextInterpolate(ctx_r1.title);
|
|
8077
8169
|
} }
|
|
8078
|
-
function
|
|
8079
|
-
i0.ɵɵ
|
|
8080
|
-
|
|
8081
|
-
i0.ɵɵ
|
|
8082
|
-
i0.ɵɵ
|
|
8083
|
-
i0.ɵɵ
|
|
8084
|
-
|
|
8170
|
+
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
8171
|
+
i0.ɵɵelement(0, "img", 8);
|
|
8172
|
+
} if (rf & 2) {
|
|
8173
|
+
const item_r3 = i0.ɵɵnextContext().$implicit;
|
|
8174
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
8175
|
+
i0.ɵɵproperty("src", item_r3.iconSrc, i0.ɵɵsanitizeUrl)("alt", ctx_r4.title);
|
|
8176
|
+
} }
|
|
8177
|
+
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
8178
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
8179
|
+
i0.ɵɵelementContainerStart(0);
|
|
8180
|
+
i0.ɵɵelementStart(1, "div", 5);
|
|
8181
|
+
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r7); const item_r3 = ctx.$implicit; const ctx_r6 = i0.ɵɵnextContext(2); item_r3.actionFn(); return ctx_r6.closeOverlay(); });
|
|
8182
|
+
i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template, 1, 2, "img", 6);
|
|
8183
|
+
i0.ɵɵelementStart(3, "div", 7);
|
|
8184
|
+
i0.ɵɵtext(4);
|
|
8185
|
+
i0.ɵɵelementEnd();
|
|
8186
|
+
i0.ɵɵelementEnd();
|
|
8187
|
+
i0.ɵɵelementContainerEnd();
|
|
8188
|
+
} if (rf & 2) {
|
|
8189
|
+
const item_r3 = ctx.$implicit;
|
|
8190
|
+
i0.ɵɵadvance(2);
|
|
8191
|
+
i0.ɵɵproperty("ngIf", item_r3.iconSrc);
|
|
8192
|
+
i0.ɵɵadvance(2);
|
|
8193
|
+
i0.ɵɵtextInterpolate(item_r3.actionText);
|
|
8194
|
+
} }
|
|
8195
|
+
function CaseFileViewOverlayMenuComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
8196
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
8197
|
+
i0.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template, 3, 1, "ng-container", 2);
|
|
8198
|
+
i0.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template, 5, 2, "ng-container", 3);
|
|
8199
|
+
i0.ɵɵelementEnd();
|
|
8200
|
+
} if (rf & 2) {
|
|
8201
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
8202
|
+
i0.ɵɵadvance(1);
|
|
8203
|
+
i0.ɵɵproperty("ngIf", ctx_r0.title);
|
|
8204
|
+
i0.ɵɵadvance(1);
|
|
8205
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.menuItems);
|
|
8206
|
+
} }
|
|
8207
|
+
class CaseFileViewOverlayMenuComponent {
|
|
8208
|
+
constructor() {
|
|
8209
|
+
this.title = '';
|
|
8210
|
+
this.isOpen = false;
|
|
8211
|
+
this.isOpenChange = new EventEmitter();
|
|
8212
|
+
}
|
|
8213
|
+
closeOverlay() {
|
|
8214
|
+
const isOpen = false;
|
|
8215
|
+
this.isOpen = isOpen;
|
|
8216
|
+
this.isOpenChange.emit(isOpen);
|
|
8217
|
+
}
|
|
8218
|
+
}
|
|
8219
|
+
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
8220
|
+
CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", cdkOverlayOrigin: "cdkOverlayOrigin", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, decls: 1, vars: 2, consts: [["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "overlayMenu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlayMenu__title"], [1, "overlayMenu__item", 3, "click"], ["class", "overlayMenu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlayMenu__actionText"], [1, "overlayMenu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8221
|
+
i0.ɵɵtemplate(0, CaseFileViewOverlayMenuComponent_ng_template_0_Template, 3, 2, "ng-template", 0);
|
|
8222
|
+
} if (rf & 2) {
|
|
8223
|
+
i0.ɵɵproperty("cdkConnectedOverlayOrigin", ctx.cdkOverlayOrigin)("cdkConnectedOverlayOpen", ctx.isOpen);
|
|
8224
|
+
} }, directives: [i1$5.CdkConnectedOverlay, i1.NgIf, i1.NgForOf], styles: [".overlayMenu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlayMenu__item[_ngcontent-%COMP%], .overlayMenu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlayMenu__item[_ngcontent-%COMP%]:last-child, .overlayMenu__title[_ngcontent-%COMP%]:last-child{border:none}.overlayMenu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlayMenu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlayMenu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlayMenu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
8225
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
8226
|
+
type: Component,
|
|
8227
|
+
args: [{
|
|
8228
|
+
selector: 'ccd-case-file-view-overlay-menu',
|
|
8229
|
+
templateUrl: './case-file-view-overlay-menu.component.html',
|
|
8230
|
+
styleUrls: ['./case-file-view-overlay-menu.component.scss']
|
|
8231
|
+
}]
|
|
8232
|
+
}], null, { title: [{
|
|
8233
|
+
type: Input
|
|
8234
|
+
}], menuItems: [{
|
|
8235
|
+
type: Input
|
|
8236
|
+
}], cdkOverlayOrigin: [{
|
|
8237
|
+
type: Input
|
|
8238
|
+
}], isOpen: [{
|
|
8239
|
+
type: Input
|
|
8240
|
+
}], isOpenChange: [{
|
|
8241
|
+
type: Output
|
|
8242
|
+
}] }); })();
|
|
8243
|
+
|
|
8244
|
+
class CaseFileViewFolderSortComponent {
|
|
8245
|
+
constructor() {
|
|
8246
|
+
this.isOpen = false;
|
|
8247
|
+
this.sortAscending = new EventEmitter();
|
|
8248
|
+
this.sortDescending = new EventEmitter();
|
|
8249
|
+
this.overlayMenuItems = [
|
|
8250
|
+
{ actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
|
|
8251
|
+
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
|
|
8252
|
+
];
|
|
8253
|
+
}
|
|
8254
|
+
ngOnInit() {
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8257
|
+
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
8258
|
+
CaseFileViewFolderSortComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 4, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "sort-button", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button__arrows"], [3, "title", "menuItems", "cdkOverlayOrigin", "isOpen", "isOpenChange"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8259
|
+
i0.ɵɵelementStart(0, "button", 0, 1);
|
|
8260
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSortComponent_Template_button_click_0_listener() { return ctx.isOpen = !ctx.isOpen; });
|
|
8261
|
+
i0.ɵɵelement(2, "img", 2);
|
|
8262
|
+
i0.ɵɵelementEnd();
|
|
8263
|
+
i0.ɵɵelementStart(3, "ccd-case-file-view-overlay-menu", 3);
|
|
8264
|
+
i0.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_3_listener($event) { return ctx.isOpen = $event; });
|
|
8265
|
+
i0.ɵɵelementEnd();
|
|
8266
|
+
} if (rf & 2) {
|
|
8267
|
+
const _r0 = i0.ɵɵreference(1);
|
|
8268
|
+
i0.ɵɵadvance(3);
|
|
8269
|
+
i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("cdkOverlayOrigin", _r0)("isOpen", ctx.isOpen);
|
|
8270
|
+
} }, directives: [i1$5.CdkOverlayOrigin, CaseFileViewOverlayMenuComponent], styles: [".sort-button[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-6px;cursor:pointer}.sort-button__arrows[_ngcontent-%COMP%]{display:block;height:20px}"] });
|
|
8271
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
8272
|
+
type: Component,
|
|
8273
|
+
args: [{
|
|
8274
|
+
selector: 'ccd-case-file-view-folder-sort',
|
|
8275
|
+
templateUrl: './case-file-view-folder-sort.component.html',
|
|
8276
|
+
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
8277
|
+
}]
|
|
8278
|
+
}], function () { return []; }, { sortAscending: [{
|
|
8279
|
+
type: Output
|
|
8280
|
+
}], sortDescending: [{
|
|
8281
|
+
type: Output
|
|
8282
|
+
}] }); })();
|
|
8283
|
+
|
|
8284
|
+
const _c0$G = ["tree"];
|
|
8285
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) { if (rf & 1) {
|
|
8286
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
8287
|
+
i0.ɵɵelementStart(1, "div", 9);
|
|
8288
|
+
i0.ɵɵelementStart(2, "button", 10);
|
|
8289
|
+
i0.ɵɵelement(3, "img", 11);
|
|
8085
8290
|
i0.ɵɵelementEnd();
|
|
8291
|
+
i0.ɵɵelementStart(4, "span", 12);
|
|
8292
|
+
i0.ɵɵtext(5);
|
|
8086
8293
|
i0.ɵɵelementEnd();
|
|
8087
8294
|
i0.ɵɵelementEnd();
|
|
8088
8295
|
i0.ɵɵelementEnd();
|
|
8089
8296
|
} if (rf & 2) {
|
|
8090
|
-
const
|
|
8297
|
+
const node_r3 = ctx.$implicit;
|
|
8091
8298
|
i0.ɵɵadvance(5);
|
|
8092
|
-
i0.ɵɵtextInterpolate(
|
|
8093
|
-
} }
|
|
8094
|
-
function
|
|
8095
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
8096
|
-
i0.ɵɵelementStart(1, "div",
|
|
8097
|
-
i0.ɵɵelementStart(2, "button",
|
|
8098
|
-
i0.ɵɵelement(3, "img",
|
|
8099
|
-
i0.ɵɵelementStart(4, "
|
|
8299
|
+
i0.ɵɵtextInterpolate(node_r3.name);
|
|
8300
|
+
} }
|
|
8301
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) { if (rf & 1) {
|
|
8302
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
8303
|
+
i0.ɵɵelementStart(1, "div", 13);
|
|
8304
|
+
i0.ɵɵelementStart(2, "button", 14);
|
|
8305
|
+
i0.ɵɵelement(3, "img", 15);
|
|
8306
|
+
i0.ɵɵelementStart(4, "span", 16);
|
|
8100
8307
|
i0.ɵɵtext(5);
|
|
8101
8308
|
i0.ɵɵelementEnd();
|
|
8102
8309
|
i0.ɵɵelementEnd();
|
|
8310
|
+
i0.ɵɵelementStart(6, "span", 17);
|
|
8311
|
+
i0.ɵɵtext(7);
|
|
8312
|
+
i0.ɵɵelementEnd();
|
|
8103
8313
|
i0.ɵɵelementEnd();
|
|
8104
|
-
i0.ɵɵelementStart(
|
|
8105
|
-
i0.ɵɵelementContainer(
|
|
8314
|
+
i0.ɵɵelementStart(8, "div");
|
|
8315
|
+
i0.ɵɵelementContainer(9, 18);
|
|
8106
8316
|
i0.ɵɵelementEnd();
|
|
8107
8317
|
i0.ɵɵelementEnd();
|
|
8108
8318
|
} if (rf & 2) {
|
|
8109
|
-
const
|
|
8110
|
-
const
|
|
8319
|
+
const node_r4 = ctx.$implicit;
|
|
8320
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
8111
8321
|
i0.ɵɵadvance(2);
|
|
8112
|
-
i0.ɵɵattribute("aria-label", "toggle " +
|
|
8113
|
-
i0.ɵɵadvance(
|
|
8114
|
-
i0.ɵɵ
|
|
8322
|
+
i0.ɵɵattribute("aria-label", "toggle " + node_r4.name);
|
|
8323
|
+
i0.ɵɵadvance(3);
|
|
8324
|
+
i0.ɵɵtextInterpolate(node_r4.childDocumentCount);
|
|
8115
8325
|
i0.ɵɵadvance(2);
|
|
8116
|
-
i0.ɵɵtextInterpolate(
|
|
8117
|
-
i0.ɵɵadvance(1);
|
|
8118
|
-
i0.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r5));
|
|
8119
|
-
} }
|
|
8120
|
-
function CaseFileViewFolderComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
8121
|
-
i0.ɵɵelementStart(0, "div", 5);
|
|
8122
|
-
i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_5_div_1_Template, 2, 0, "div", 6);
|
|
8123
|
-
i0.ɵɵelementStart(2, "cdk-tree", 7);
|
|
8124
|
-
i0.ɵɵtemplate(3, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template, 6, 1, "cdk-nested-tree-node", 8);
|
|
8125
|
-
i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template, 8, 5, "cdk-nested-tree-node", 9);
|
|
8126
|
-
i0.ɵɵelementEnd();
|
|
8127
|
-
i0.ɵɵelementEnd();
|
|
8128
|
-
} if (rf & 2) {
|
|
8129
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8130
|
-
i0.ɵɵadvance(1);
|
|
8131
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
|
|
8326
|
+
i0.ɵɵtextInterpolate(node_r4.name);
|
|
8132
8327
|
i0.ɵɵadvance(1);
|
|
8133
|
-
i0.ɵɵ
|
|
8134
|
-
i0.ɵɵadvance(2);
|
|
8135
|
-
i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
|
|
8328
|
+
i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r4));
|
|
8136
8329
|
} }
|
|
8137
8330
|
class CaseFileViewFolderComponent {
|
|
8138
8331
|
constructor() {
|
|
@@ -8142,115 +8335,316 @@ class CaseFileViewFolderComponent {
|
|
|
8142
8335
|
this.nestedTreeControl = new NestedTreeControl(this.getChildren);
|
|
8143
8336
|
}
|
|
8144
8337
|
ngOnInit() {
|
|
8145
|
-
this.documentFilterFormGroup = new FormGroup({});
|
|
8146
|
-
this.documentSearchFormControl = new FormControl('');
|
|
8147
|
-
this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
|
|
8148
|
-
// Listen to search input and initiate filter documents if at least three characters entered
|
|
8149
|
-
this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(tap((searchTerm) => this.searchTermLength = searchTerm.length), switchMap((searchTerm) => this.filter(searchTerm.toLowerCase()).pipe())).subscribe(documentTreeData => {
|
|
8150
|
-
this.nestedDataSource = documentTreeData;
|
|
8151
|
-
this.nestedTreeControl.dataNodes = documentTreeData;
|
|
8152
|
-
this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
|
|
8153
|
-
? this.nestedTreeControl.expandAll()
|
|
8154
|
-
: this.nestedTreeControl.collapseAll();
|
|
8155
|
-
});
|
|
8156
|
-
// Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
|
|
8157
8338
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(categoriesAndDocuments => {
|
|
8158
|
-
|
|
8339
|
+
// Using the mock data for now as we have to display the documents as well for demo purpose
|
|
8340
|
+
const categories = this.loadCategories(); // categoriesAndDocuments.categories;
|
|
8159
8341
|
// Generate document tree data from categories
|
|
8160
|
-
|
|
8342
|
+
const treeData = this.generateTreeData(categories);
|
|
8161
8343
|
// Append uncategorised documents
|
|
8162
8344
|
if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
|
|
8163
8345
|
const uncategorisedDocuments = this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
|
|
8164
|
-
|
|
8346
|
+
treeData.push(uncategorisedDocuments);
|
|
8165
8347
|
}
|
|
8166
8348
|
// Initialise cdk tree with generated data
|
|
8167
|
-
this.nestedDataSource =
|
|
8168
|
-
this.nestedTreeControl.dataNodes = this.documentTreeData;
|
|
8349
|
+
this.nestedDataSource = treeData;
|
|
8169
8350
|
});
|
|
8170
8351
|
}
|
|
8171
8352
|
generateTreeData(categories) {
|
|
8172
|
-
return categories.reduce((tree, node) =>
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
]
|
|
8181
|
-
|
|
8353
|
+
return categories.reduce((tree, node) => {
|
|
8354
|
+
const newDocumentTreeNode = new DocumentTreeNode();
|
|
8355
|
+
newDocumentTreeNode.name = node.category_name;
|
|
8356
|
+
newDocumentTreeNode.type = 'category';
|
|
8357
|
+
newDocumentTreeNode.children = [...this.generateTreeData(node.sub_categories), ...this.getDocuments(node.documents)];
|
|
8358
|
+
return [
|
|
8359
|
+
...tree,
|
|
8360
|
+
newDocumentTreeNode,
|
|
8361
|
+
];
|
|
8362
|
+
}, []);
|
|
8182
8363
|
}
|
|
8183
8364
|
getDocuments(documents) {
|
|
8184
8365
|
const documentsToReturn = [];
|
|
8185
8366
|
documents.forEach(document => {
|
|
8186
|
-
|
|
8367
|
+
const documentTreeNode = new DocumentTreeNode();
|
|
8368
|
+
documentTreeNode.name = document.document_filename;
|
|
8369
|
+
documentTreeNode.type = 'document';
|
|
8370
|
+
documentsToReturn.push(documentTreeNode);
|
|
8187
8371
|
});
|
|
8188
8372
|
return documentsToReturn;
|
|
8189
8373
|
}
|
|
8190
8374
|
getUncategorisedDocuments(uncategorisedDocuments) {
|
|
8191
8375
|
const documents = [];
|
|
8192
8376
|
uncategorisedDocuments.forEach(document => {
|
|
8193
|
-
|
|
8377
|
+
const documentTreeNode = new DocumentTreeNode();
|
|
8378
|
+
documentTreeNode.name = document.document_filename;
|
|
8379
|
+
documentTreeNode.type = 'document';
|
|
8380
|
+
documents.push(documentTreeNode);
|
|
8381
|
+
});
|
|
8382
|
+
const uncategorisedNode = new DocumentTreeNode();
|
|
8383
|
+
uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
|
|
8384
|
+
uncategorisedNode.type = 'category';
|
|
8385
|
+
uncategorisedNode.children = documents;
|
|
8386
|
+
return uncategorisedNode;
|
|
8387
|
+
}
|
|
8388
|
+
sortDataSourceAscAlphabetically() {
|
|
8389
|
+
const sortedData = this.nestedDataSource.map(item => {
|
|
8390
|
+
item.sortChildrenAscending();
|
|
8391
|
+
const newDocumentTreeNode = new DocumentTreeNode();
|
|
8392
|
+
newDocumentTreeNode.name = item.name;
|
|
8393
|
+
newDocumentTreeNode.type = item.type;
|
|
8394
|
+
newDocumentTreeNode.children = item.children;
|
|
8395
|
+
return newDocumentTreeNode;
|
|
8194
8396
|
});
|
|
8195
|
-
|
|
8397
|
+
this.updateNodeData(sortedData);
|
|
8196
8398
|
}
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
return
|
|
8201
|
-
}
|
|
8202
|
-
|
|
8203
|
-
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
|
|
8204
|
-
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
8205
|
-
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
8206
|
-
return true;
|
|
8207
|
-
}
|
|
8208
|
-
// Call recursively if node has children
|
|
8209
|
-
if (node.children) {
|
|
8210
|
-
return (node.children = node.children.map(copy).filter(filterTreeData)).length;
|
|
8211
|
-
}
|
|
8212
|
-
});
|
|
8213
|
-
}
|
|
8214
|
-
return of(filteredData);
|
|
8399
|
+
sortDataSourceDescAlphabetically() {
|
|
8400
|
+
const sortedData = this.nestedDataSource.map(item => {
|
|
8401
|
+
item.sortChildrenDescending();
|
|
8402
|
+
return item;
|
|
8403
|
+
});
|
|
8404
|
+
this.updateNodeData(sortedData);
|
|
8215
8405
|
}
|
|
8216
8406
|
ngOnDestroy() {
|
|
8217
8407
|
if (this.categoriesAndDocumentsSubscription) {
|
|
8218
8408
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
8219
8409
|
}
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8410
|
+
}
|
|
8411
|
+
updateNodeData(data) {
|
|
8412
|
+
const prevSelected = this.nestedTreeControl.expansionModel.selected.map((item) => {
|
|
8413
|
+
return item.name;
|
|
8414
|
+
});
|
|
8415
|
+
this.nestedTreeControl.collapseAll();
|
|
8416
|
+
this.nestedDataSource = data.map((item) => {
|
|
8417
|
+
const newDocumentTreeNode = new DocumentTreeNode();
|
|
8418
|
+
newDocumentTreeNode.name = item.name;
|
|
8419
|
+
newDocumentTreeNode.type = item.type;
|
|
8420
|
+
newDocumentTreeNode.children = item.children;
|
|
8421
|
+
return newDocumentTreeNode;
|
|
8422
|
+
});
|
|
8423
|
+
const flattenedArray = this.nestedDataSource.map((item) => {
|
|
8424
|
+
return item.flattenedAll;
|
|
8425
|
+
}).flat();
|
|
8426
|
+
const newObjects = flattenedArray.filter((item) => {
|
|
8427
|
+
return prevSelected.includes(item.name);
|
|
8428
|
+
});
|
|
8429
|
+
newObjects.forEach(object => this.nestedTreeControl.expand(object));
|
|
8430
|
+
}
|
|
8431
|
+
loadCategories() {
|
|
8432
|
+
return [
|
|
8433
|
+
{
|
|
8434
|
+
category_id: 'Beers',
|
|
8435
|
+
category_name: 'Beers',
|
|
8436
|
+
category_order: 1,
|
|
8437
|
+
documents: [
|
|
8438
|
+
{
|
|
8439
|
+
document_url: '/test',
|
|
8440
|
+
document_filename: 'Lager encyclopedia',
|
|
8441
|
+
document_binary_url: '/test/binary',
|
|
8442
|
+
attribute_path: '',
|
|
8443
|
+
upload_timestamp: ''
|
|
8444
|
+
},
|
|
8445
|
+
{
|
|
8446
|
+
document_url: '/test',
|
|
8447
|
+
document_filename: 'Beers encyclopedia',
|
|
8448
|
+
document_binary_url: '/test/binary',
|
|
8449
|
+
attribute_path: '',
|
|
8450
|
+
upload_timestamp: ''
|
|
8451
|
+
},
|
|
8452
|
+
{
|
|
8453
|
+
document_url: '/test',
|
|
8454
|
+
document_filename: 'Ale encyclopedia',
|
|
8455
|
+
document_binary_url: '/test/binary',
|
|
8456
|
+
attribute_path: '',
|
|
8457
|
+
upload_timestamp: ''
|
|
8458
|
+
}
|
|
8459
|
+
],
|
|
8460
|
+
sub_categories: [
|
|
8461
|
+
{
|
|
8462
|
+
category_id: 'BeersBitters',
|
|
8463
|
+
category_name: 'Bitters',
|
|
8464
|
+
category_order: 1,
|
|
8465
|
+
documents: [],
|
|
8466
|
+
sub_categories: []
|
|
8467
|
+
},
|
|
8468
|
+
{
|
|
8469
|
+
category_id: 'BeersAmerican',
|
|
8470
|
+
category_name: 'American',
|
|
8471
|
+
category_order: 2,
|
|
8472
|
+
documents: [],
|
|
8473
|
+
sub_categories: []
|
|
8474
|
+
},
|
|
8475
|
+
{
|
|
8476
|
+
category_id: 'BeersAsian',
|
|
8477
|
+
category_name: 'Asian',
|
|
8478
|
+
category_order: 3,
|
|
8479
|
+
documents: [],
|
|
8480
|
+
sub_categories: []
|
|
8481
|
+
}
|
|
8482
|
+
]
|
|
8483
|
+
},
|
|
8484
|
+
{
|
|
8485
|
+
category_id: 'Wines',
|
|
8486
|
+
category_name: 'Wines',
|
|
8487
|
+
category_order: 2,
|
|
8488
|
+
documents: [],
|
|
8489
|
+
sub_categories: [
|
|
8490
|
+
{
|
|
8491
|
+
category_id: 'WinesFrench',
|
|
8492
|
+
category_name: 'French',
|
|
8493
|
+
category_order: 1,
|
|
8494
|
+
documents: [],
|
|
8495
|
+
sub_categories: []
|
|
8496
|
+
},
|
|
8497
|
+
{
|
|
8498
|
+
category_id: 'WinesItalian',
|
|
8499
|
+
category_name: 'Italian',
|
|
8500
|
+
category_order: 2,
|
|
8501
|
+
documents: [],
|
|
8502
|
+
sub_categories: []
|
|
8503
|
+
}
|
|
8504
|
+
]
|
|
8505
|
+
},
|
|
8506
|
+
{
|
|
8507
|
+
category_id: 'Spirits',
|
|
8508
|
+
category_name: 'Spirits',
|
|
8509
|
+
category_order: 3,
|
|
8510
|
+
documents: [],
|
|
8511
|
+
sub_categories: [
|
|
8512
|
+
{
|
|
8513
|
+
category_id: 'SpiritsWhisky',
|
|
8514
|
+
category_name: 'Scotch whisky',
|
|
8515
|
+
category_order: 1,
|
|
8516
|
+
documents: [],
|
|
8517
|
+
sub_categories: [
|
|
8518
|
+
{
|
|
8519
|
+
category_id: 'WhiskyHighland',
|
|
8520
|
+
category_name: 'Highland',
|
|
8521
|
+
category_order: 1,
|
|
8522
|
+
documents: [],
|
|
8523
|
+
sub_categories: [
|
|
8524
|
+
{
|
|
8525
|
+
category_id: 'WhiskyHighland1',
|
|
8526
|
+
category_name: 'Highland 1',
|
|
8527
|
+
category_order: 1,
|
|
8528
|
+
documents: [],
|
|
8529
|
+
sub_categories: []
|
|
8530
|
+
}
|
|
8531
|
+
]
|
|
8532
|
+
},
|
|
8533
|
+
{
|
|
8534
|
+
category_id: 'WhiskyLowland',
|
|
8535
|
+
category_name: 'Lowland',
|
|
8536
|
+
category_order: 2,
|
|
8537
|
+
documents: [],
|
|
8538
|
+
sub_categories: [
|
|
8539
|
+
{
|
|
8540
|
+
category_id: 'WhiskyLowland1',
|
|
8541
|
+
category_name: 'Lowland 1',
|
|
8542
|
+
category_order: 1,
|
|
8543
|
+
documents: [
|
|
8544
|
+
{
|
|
8545
|
+
document_url: '/test',
|
|
8546
|
+
document_filename: 'Details about Whisky Lowland 1',
|
|
8547
|
+
document_binary_url: '/test/binary',
|
|
8548
|
+
attribute_path: '',
|
|
8549
|
+
upload_timestamp: ''
|
|
8550
|
+
}
|
|
8551
|
+
],
|
|
8552
|
+
sub_categories: []
|
|
8553
|
+
},
|
|
8554
|
+
{
|
|
8555
|
+
category_id: 'WhiskyLowland2',
|
|
8556
|
+
category_name: 'Lowland 2',
|
|
8557
|
+
category_order: 2,
|
|
8558
|
+
documents: [],
|
|
8559
|
+
sub_categories: []
|
|
8560
|
+
}
|
|
8561
|
+
]
|
|
8562
|
+
},
|
|
8563
|
+
{
|
|
8564
|
+
category_id: 'WhiskyIslay',
|
|
8565
|
+
category_name: 'Islay',
|
|
8566
|
+
category_order: 3,
|
|
8567
|
+
documents: [
|
|
8568
|
+
{
|
|
8569
|
+
document_url: '/test',
|
|
8570
|
+
document_filename: 'Details about Whisky Islay',
|
|
8571
|
+
document_binary_url: '/test/binary',
|
|
8572
|
+
attribute_path: '',
|
|
8573
|
+
upload_timestamp: ''
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
document_url: '/test',
|
|
8577
|
+
document_filename: 'More information about Whisky Islay',
|
|
8578
|
+
document_binary_url: '/test/binary',
|
|
8579
|
+
attribute_path: '',
|
|
8580
|
+
upload_timestamp: ''
|
|
8581
|
+
}
|
|
8582
|
+
],
|
|
8583
|
+
sub_categories: []
|
|
8584
|
+
},
|
|
8585
|
+
{
|
|
8586
|
+
category_id: 'WhiskySpeyside',
|
|
8587
|
+
category_name: 'Speyside',
|
|
8588
|
+
category_order: 4,
|
|
8589
|
+
documents: [],
|
|
8590
|
+
sub_categories: []
|
|
8591
|
+
},
|
|
8592
|
+
{
|
|
8593
|
+
category_id: 'WhiskyCampbeltown',
|
|
8594
|
+
category_name: 'Campbeltown',
|
|
8595
|
+
category_order: 5,
|
|
8596
|
+
documents: [],
|
|
8597
|
+
sub_categories: []
|
|
8598
|
+
}
|
|
8599
|
+
]
|
|
8600
|
+
}
|
|
8601
|
+
]
|
|
8602
|
+
}
|
|
8603
|
+
];
|
|
8223
8604
|
}
|
|
8224
8605
|
}
|
|
8225
8606
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
8226
|
-
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
8227
|
-
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
|
|
8228
8607
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
8229
|
-
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]],
|
|
8608
|
+
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8609
|
+
i0.ɵɵviewQuery(_c0$G, 3);
|
|
8610
|
+
} if (rf & 2) {
|
|
8611
|
+
let _t;
|
|
8612
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tree = _t.first);
|
|
8613
|
+
} }, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 3, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["tree", ""], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8230
8614
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8231
8615
|
i0.ɵɵelementStart(1, "div", 1);
|
|
8232
|
-
i0.ɵɵ
|
|
8616
|
+
i0.ɵɵtext(2, "Documents");
|
|
8617
|
+
i0.ɵɵelementEnd();
|
|
8618
|
+
i0.ɵɵelementStart(3, "div");
|
|
8619
|
+
i0.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
|
|
8620
|
+
i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_4_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_4_listener() { return ctx.sortDataSourceDescAlphabetically(); });
|
|
8621
|
+
i0.ɵɵelementEnd();
|
|
8233
8622
|
i0.ɵɵelementEnd();
|
|
8234
|
-
i0.ɵɵ
|
|
8235
|
-
i0.ɵɵ
|
|
8623
|
+
i0.ɵɵelementEnd();
|
|
8624
|
+
i0.ɵɵelementStart(5, "div", 3);
|
|
8625
|
+
i0.ɵɵelementStart(6, "cdk-tree", 4, 5);
|
|
8626
|
+
i0.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 6, 1, "cdk-nested-tree-node", 6);
|
|
8627
|
+
i0.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 10, 5, "cdk-nested-tree-node", 7);
|
|
8236
8628
|
i0.ɵɵelementEnd();
|
|
8237
8629
|
i0.ɵɵelementEnd();
|
|
8238
|
-
i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_5_Template, 5, 4, "div", 4);
|
|
8239
8630
|
} if (rf & 2) {
|
|
8240
|
-
i0.ɵɵadvance(
|
|
8241
|
-
i0.ɵɵproperty("
|
|
8242
|
-
i0.ɵɵadvance(
|
|
8243
|
-
i0.ɵɵproperty("
|
|
8244
|
-
} }, directives: [
|
|
8631
|
+
i0.ɵɵadvance(6);
|
|
8632
|
+
i0.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
8633
|
+
i0.ɵɵadvance(3);
|
|
8634
|
+
i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
8635
|
+
} }, directives: [CaseFileViewFolderSortComponent, i2.CdkTree, i2.CdkTreeNodeDef, i2.CdkNestedTreeNode, i2.CdkTreeNodeToggle, i2.CdkTreeNodeOutlet], styles: [".document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0;padding:6px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:24px;width:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;padding-top:4px}.node__name[_ngcontent-%COMP%]{margin-left:4px}"] });
|
|
8245
8636
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
8246
8637
|
type: Component,
|
|
8247
8638
|
args: [{
|
|
8248
8639
|
selector: 'ccd-case-file-view-folder',
|
|
8640
|
+
templateUrl: './case-file-view-folder.component.html',
|
|
8249
8641
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
8250
|
-
templateUrl: './case-file-view-folder.component.html'
|
|
8251
8642
|
}]
|
|
8252
8643
|
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
8253
8644
|
type: Input
|
|
8645
|
+
}], tree: [{
|
|
8646
|
+
type: ViewChild,
|
|
8647
|
+
args: ['tree', { static: true }]
|
|
8254
8648
|
}] }); })();
|
|
8255
8649
|
|
|
8256
8650
|
class CaseFileViewFieldComponent {
|
|
@@ -8310,7 +8704,7 @@ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFi
|
|
|
8310
8704
|
args: [{
|
|
8311
8705
|
selector: 'ccd-case-file-view-field',
|
|
8312
8706
|
templateUrl: './case-file-view-field.component.html',
|
|
8313
|
-
styleUrls: ['./case-file-view-field.component.scss']
|
|
8707
|
+
styleUrls: ['./case-file-view-field.component.scss'],
|
|
8314
8708
|
}]
|
|
8315
8709
|
}], function () { return [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null); })();
|
|
8316
8710
|
|
|
@@ -8637,7 +9031,7 @@ class RemoveDialogComponent {
|
|
|
8637
9031
|
this.matDialogRef.close(this.result);
|
|
8638
9032
|
}
|
|
8639
9033
|
}
|
|
8640
|
-
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
9034
|
+
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
8641
9035
|
RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8642
9036
|
i0.ɵɵelementStart(0, "div");
|
|
8643
9037
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -8675,7 +9069,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
8675
9069
|
templateUrl: './remove-dialog.component.html',
|
|
8676
9070
|
styleUrls: ['../action-dialog.component.scss']
|
|
8677
9071
|
}]
|
|
8678
|
-
}], function () { return [{ type: i1$
|
|
9072
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
8679
9073
|
|
|
8680
9074
|
const _c0$D = ["collectionItem"];
|
|
8681
9075
|
function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -9049,7 +9443,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
9049
9443
|
return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
|
|
9050
9444
|
}
|
|
9051
9445
|
}
|
|
9052
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$
|
|
9446
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
9053
9447
|
WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9054
9448
|
i0.ɵɵviewQuery(_c0$D, 1);
|
|
9055
9449
|
} if (rf & 2) {
|
|
@@ -9091,7 +9485,7 @@ WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollec
|
|
|
9091
9485
|
templateUrl: './write-collection-field.html',
|
|
9092
9486
|
styleUrls: ['./collection-field.scss']
|
|
9093
9487
|
}]
|
|
9094
|
-
}], function () { return [{ type: i1$
|
|
9488
|
+
}], function () { return [{ type: i1$6.MatDialog }, { type: i2$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
9095
9489
|
type: Input
|
|
9096
9490
|
}], formGroup: [{
|
|
9097
9491
|
type: Input
|
|
@@ -10267,7 +10661,7 @@ class DocumentDialogComponent {
|
|
|
10267
10661
|
this.matDialogRef.close(this.result);
|
|
10268
10662
|
}
|
|
10269
10663
|
}
|
|
10270
|
-
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
10664
|
+
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
10271
10665
|
DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10272
10666
|
i0.ɵɵelementStart(0, "div");
|
|
10273
10667
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -10305,7 +10699,7 @@ DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogCom
|
|
|
10305
10699
|
templateUrl: './document-dialog.component.html',
|
|
10306
10700
|
styleUrls: ['../action-dialog.component.scss']
|
|
10307
10701
|
}]
|
|
10308
|
-
}], function () { return [{ type: i1$
|
|
10702
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
10309
10703
|
|
|
10310
10704
|
function initDialog() {
|
|
10311
10705
|
const dialogConfig = new MatDialogConfig();
|
|
@@ -10612,7 +11006,7 @@ WriteDocumentFieldComponent.DOCUMENT_HASH = 'document_hash';
|
|
|
10612
11006
|
WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
|
|
10613
11007
|
WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
|
|
10614
11008
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
10615
|
-
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$
|
|
11009
|
+
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
10616
11010
|
WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10617
11011
|
i0.ɵɵviewQuery(_c0$z, 1);
|
|
10618
11012
|
} if (rf & 2) {
|
|
@@ -10677,7 +11071,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
10677
11071
|
selector: 'ccd-write-document-field',
|
|
10678
11072
|
templateUrl: './write-document-field.html'
|
|
10679
11073
|
}]
|
|
10680
|
-
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$
|
|
11074
|
+
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
|
|
10681
11075
|
type: ViewChild,
|
|
10682
11076
|
args: ['fileInput', { static: false }]
|
|
10683
11077
|
}], clickout: [{
|
|
@@ -13526,7 +13920,7 @@ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Ca
|
|
|
13526
13920
|
i0.ɵɵelement(0, "ccpay-payment-lib", 0);
|
|
13527
13921
|
} if (rf & 2) {
|
|
13528
13922
|
i0.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("VIEW", "case-transactions")("REFUNDS_API_ROOT", ctx.getRefundsUrl())("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("LOGGEDINUSERROLES", ctx.getUserRoles());
|
|
13529
|
-
} }, directives: [i3
|
|
13923
|
+
} }, directives: [i3.PaymentLibComponent], encapsulation: 2 });
|
|
13530
13924
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
|
|
13531
13925
|
type: Component,
|
|
13532
13926
|
args: [{
|
|
@@ -13851,7 +14245,7 @@ WaysToPayFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WaysToPayFieldCom
|
|
|
13851
14245
|
i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 13, "ccpay-payment-lib", 0);
|
|
13852
14246
|
} if (rf & 2) {
|
|
13853
14247
|
i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
|
|
13854
|
-
} }, directives: [i1.NgIf, i3
|
|
14248
|
+
} }, directives: [i1.NgIf, i3.PaymentLibComponent], encapsulation: 2 });
|
|
13855
14249
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
|
|
13856
14250
|
type: Component,
|
|
13857
14251
|
args: [{
|
|
@@ -14367,7 +14761,7 @@ class SaveOrDiscardDialogComponent {
|
|
|
14367
14761
|
this.matDialogRef.close(this.result);
|
|
14368
14762
|
}
|
|
14369
14763
|
}
|
|
14370
|
-
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
14764
|
+
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
14371
14765
|
SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14372
14766
|
i0.ɵɵelementStart(0, "div");
|
|
14373
14767
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -14405,7 +14799,7 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
|
|
|
14405
14799
|
templateUrl: './save-or-discard-dialog.component.html',
|
|
14406
14800
|
styleUrls: ['../action-dialog.component.scss']
|
|
14407
14801
|
}]
|
|
14408
|
-
}], function () { return [{ type: i1$
|
|
14802
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
14409
14803
|
|
|
14410
14804
|
var CaseEditPageText;
|
|
14411
14805
|
(function (CaseEditPageText) {
|
|
@@ -15172,7 +15566,7 @@ class CaseEditPageComponent {
|
|
|
15172
15566
|
return caseEventData;
|
|
15173
15567
|
}
|
|
15174
15568
|
}
|
|
15175
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$
|
|
15569
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
|
|
15176
15570
|
CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15177
15571
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
15178
15572
|
i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
|
|
@@ -15214,7 +15608,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
|
|
|
15214
15608
|
templateUrl: 'case-edit-page.html',
|
|
15215
15609
|
styleUrls: ['./case-edit-page.scss']
|
|
15216
15610
|
}]
|
|
15217
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$
|
|
15611
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$6.MatDialog }, { type: CaseFieldService }]; }, null); })();
|
|
15218
15612
|
|
|
15219
15613
|
class Confirmation {
|
|
15220
15614
|
constructor(caseId, status, header, body) {
|
|
@@ -16715,7 +17109,9 @@ const PALETTE_COMPONENTS = [
|
|
|
16715
17109
|
WriteCollectionFieldComponent,
|
|
16716
17110
|
// ComponentLauncher web components
|
|
16717
17111
|
CaseFileViewFieldComponent,
|
|
16718
|
-
CaseFileViewFolderComponent
|
|
17112
|
+
CaseFileViewFolderComponent,
|
|
17113
|
+
CaseFileViewFolderSortComponent,
|
|
17114
|
+
CaseFileViewOverlayMenuComponent
|
|
16719
17115
|
];
|
|
16720
17116
|
class PaletteModule {
|
|
16721
17117
|
}
|
|
@@ -16753,6 +17149,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16753
17149
|
MatDatepickerModule,
|
|
16754
17150
|
MatAutocompleteModule,
|
|
16755
17151
|
CdkTreeModule,
|
|
17152
|
+
OverlayModule,
|
|
16756
17153
|
PaymentLibModule,
|
|
16757
17154
|
ScrollToModule.forRoot()
|
|
16758
17155
|
], NgxMatDatetimePickerModule,
|
|
@@ -16836,7 +17233,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16836
17233
|
WriteCollectionFieldComponent,
|
|
16837
17234
|
// ComponentLauncher web components
|
|
16838
17235
|
CaseFileViewFieldComponent,
|
|
16839
|
-
CaseFileViewFolderComponent
|
|
17236
|
+
CaseFileViewFolderComponent,
|
|
17237
|
+
CaseFileViewFolderSortComponent,
|
|
17238
|
+
CaseFileViewOverlayMenuComponent, CaseFileViewOverlayMenuComponent], imports: [CommonModule,
|
|
16840
17239
|
RouterModule,
|
|
16841
17240
|
FormsModule,
|
|
16842
17241
|
ReactiveFormsModule,
|
|
@@ -16858,7 +17257,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16858
17257
|
MatDatepickerModule,
|
|
16859
17258
|
MatAutocompleteModule,
|
|
16860
17259
|
CdkTreeModule,
|
|
16861
|
-
|
|
17260
|
+
OverlayModule,
|
|
17261
|
+
PaymentLibModule, i2$1.ScrollToModule], exports: [NgxMatDatetimePickerModule,
|
|
16862
17262
|
NgxMatNativeDateModule,
|
|
16863
17263
|
NgxMatTimepickerModule,
|
|
16864
17264
|
TabsModule,
|
|
@@ -16934,7 +17334,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16934
17334
|
WriteCollectionFieldComponent,
|
|
16935
17335
|
// ComponentLauncher web components
|
|
16936
17336
|
CaseFileViewFieldComponent,
|
|
16937
|
-
CaseFileViewFolderComponent
|
|
17337
|
+
CaseFileViewFolderComponent,
|
|
17338
|
+
CaseFileViewFolderSortComponent,
|
|
17339
|
+
CaseFileViewOverlayMenuComponent] }); })();
|
|
16938
17340
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
|
|
16939
17341
|
type: NgModule,
|
|
16940
17342
|
args: [{
|
|
@@ -16961,6 +17363,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16961
17363
|
MatDatepickerModule,
|
|
16962
17364
|
MatAutocompleteModule,
|
|
16963
17365
|
CdkTreeModule,
|
|
17366
|
+
OverlayModule,
|
|
16964
17367
|
PaymentLibModule,
|
|
16965
17368
|
ScrollToModule.forRoot()
|
|
16966
17369
|
],
|
|
@@ -16970,7 +17373,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
16970
17373
|
DynamicListPipe,
|
|
16971
17374
|
DynamicRadioListPipe,
|
|
16972
17375
|
DocumentUrlPipe,
|
|
16973
|
-
...PALETTE_COMPONENTS
|
|
17376
|
+
...PALETTE_COMPONENTS,
|
|
17377
|
+
CaseFileViewOverlayMenuComponent,
|
|
16974
17378
|
],
|
|
16975
17379
|
exports: [
|
|
16976
17380
|
NgxMatDatetimePickerModule,
|
|
@@ -17745,7 +18149,7 @@ PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent,
|
|
|
17745
18149
|
i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
|
|
17746
18150
|
i0.ɵɵadvance(3);
|
|
17747
18151
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
|
|
17748
|
-
} }, directives: [i1$
|
|
18152
|
+
} }, directives: [i1$7.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
17749
18153
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
17750
18154
|
type: Component,
|
|
17751
18155
|
args: [{
|
|
@@ -18095,7 +18499,7 @@ CaseListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListComponent, sele
|
|
|
18095
18499
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(9, 8, ctx.cases, i0.ɵɵpureFunction3(11, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
18096
18500
|
i0.ɵɵadvance(2);
|
|
18097
18501
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
18098
|
-
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$
|
|
18502
|
+
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$7.PaginatePipe, i1.CurrencyPipe], styles: [""] });
|
|
18099
18503
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
18100
18504
|
type: Component,
|
|
18101
18505
|
args: [{
|
|
@@ -19784,7 +20188,7 @@ class DeleteOrCancelDialogComponent {
|
|
|
19784
20188
|
this.matDialogRef.close(this.result);
|
|
19785
20189
|
}
|
|
19786
20190
|
}
|
|
19787
|
-
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
20191
|
+
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
|
|
19788
20192
|
DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19789
20193
|
i0.ɵɵelementStart(0, "div");
|
|
19790
20194
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -19822,7 +20226,7 @@ DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCan
|
|
|
19822
20226
|
templateUrl: './delete-or-cancel-dialog.component.html',
|
|
19823
20227
|
styleUrls: ['../action-dialog.component.scss']
|
|
19824
20228
|
}]
|
|
19825
|
-
}], function () { return [{ type: i1$
|
|
20229
|
+
}], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
|
|
19826
20230
|
|
|
19827
20231
|
function EventTriggerComponent_form_0_option_5_Template(rf, ctx) { if (rf & 1) {
|
|
19828
20232
|
i0.ɵɵelementStart(0, "option", 8);
|
|
@@ -20005,8 +20409,8 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template(rf, ctx)
|
|
|
20005
20409
|
i0.ɵɵproperty("id", tab_r16.id)("label", tab_r16.label);
|
|
20006
20410
|
} }
|
|
20007
20411
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
20008
|
-
i0.ɵɵelementStart(0, "th",
|
|
20009
|
-
i0.ɵɵelementStart(1, "div",
|
|
20412
|
+
i0.ɵɵelementStart(0, "th", 35);
|
|
20413
|
+
i0.ɵɵelementStart(1, "div", 36);
|
|
20010
20414
|
i0.ɵɵtext(2);
|
|
20011
20415
|
i0.ɵɵelementEnd();
|
|
20012
20416
|
i0.ɵɵelementEnd();
|
|
@@ -20018,9 +20422,9 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
|
|
|
20018
20422
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
20019
20423
|
i0.ɵɵelementStart(0, "tr");
|
|
20020
20424
|
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
|
|
20021
|
-
i0.ɵɵelementStart(2, "
|
|
20022
|
-
i0.ɵɵelementStart(3, "span",
|
|
20023
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
20425
|
+
i0.ɵɵelementStart(2, "th", 32);
|
|
20426
|
+
i0.ɵɵelementStart(3, "span", 33);
|
|
20427
|
+
i0.ɵɵelement(4, "ccd-field-read", 34);
|
|
20024
20428
|
i0.ɵɵelementEnd();
|
|
20025
20429
|
i0.ɵɵelementEnd();
|
|
20026
20430
|
i0.ɵɵelementEnd();
|
|
@@ -20029,21 +20433,25 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
|
|
|
20029
20433
|
const ctx_r22 = i0.ɵɵnextContext(4);
|
|
20030
20434
|
i0.ɵɵadvance(1);
|
|
20031
20435
|
i0.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
|
|
20032
|
-
i0.ɵɵadvance(
|
|
20436
|
+
i0.ɵɵadvance(1);
|
|
20437
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
20438
|
+
i0.ɵɵadvance(2);
|
|
20033
20439
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
|
|
20034
20440
|
} }
|
|
20035
20441
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
20036
|
-
i0.ɵɵelementStart(0, "tr",
|
|
20037
|
-
i0.ɵɵelementStart(1, "th");
|
|
20038
|
-
i0.ɵɵelementStart(2, "span",
|
|
20039
|
-
i0.ɵɵelement(3, "ccd-field-read",
|
|
20442
|
+
i0.ɵɵelementStart(0, "tr", 37);
|
|
20443
|
+
i0.ɵɵelementStart(1, "th", 32);
|
|
20444
|
+
i0.ɵɵelementStart(2, "span", 33);
|
|
20445
|
+
i0.ɵɵelement(3, "ccd-field-read", 34);
|
|
20040
20446
|
i0.ɵɵelementEnd();
|
|
20041
20447
|
i0.ɵɵelementEnd();
|
|
20042
20448
|
i0.ɵɵelementEnd();
|
|
20043
20449
|
} if (rf & 2) {
|
|
20044
20450
|
const field_r21 = i0.ɵɵnextContext().$implicit;
|
|
20045
20451
|
const ctx_r23 = i0.ɵɵnextContext(4);
|
|
20046
|
-
i0.ɵɵadvance(
|
|
20452
|
+
i0.ɵɵadvance(1);
|
|
20453
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
20454
|
+
i0.ɵɵadvance(2);
|
|
20047
20455
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
|
|
20048
20456
|
} }
|
|
20049
20457
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -20051,8 +20459,8 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
|
|
|
20051
20459
|
i0.ɵɵelementStart(1, "div", 27);
|
|
20052
20460
|
i0.ɵɵelementContainerStart(2, 28);
|
|
20053
20461
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
20054
|
-
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5,
|
|
20055
|
-
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4,
|
|
20462
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
|
|
20463
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
|
|
20056
20464
|
i0.ɵɵelementContainerEnd();
|
|
20057
20465
|
i0.ɵɵelementEnd();
|
|
20058
20466
|
i0.ɵɵelementContainerEnd();
|
|
@@ -20380,13 +20788,13 @@ CaseFullAccessViewComponent.TRIGGER_TEXT_START = 'Go';
|
|
|
20380
20788
|
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
20381
20789
|
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
20382
20790
|
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
20383
|
-
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$
|
|
20791
|
+
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
20384
20792
|
CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
20385
20793
|
i0.ɵɵviewQuery(_c0$a, 1);
|
|
20386
20794
|
} if (rf & 2) {
|
|
20387
20795
|
let _t;
|
|
20388
20796
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
20389
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20797
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20390
20798
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
20391
20799
|
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|
|
20392
20800
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 1);
|
|
@@ -20429,7 +20837,7 @@ CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAcces
|
|
|
20429
20837
|
templateUrl: './case-full-access-view.component.html',
|
|
20430
20838
|
styleUrls: ['./case-full-access-view.component.scss']
|
|
20431
20839
|
}]
|
|
20432
|
-
}], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$
|
|
20840
|
+
}], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
|
|
20433
20841
|
type: Input
|
|
20434
20842
|
}], hasEventSelector: [{
|
|
20435
20843
|
type: Input
|
|
@@ -23548,8 +23956,8 @@ function SearchResultComponent_table_0_th_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
23548
23956
|
} }
|
|
23549
23957
|
function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
23550
23958
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
23551
|
-
i0.ɵɵelementStart(0, "div",
|
|
23552
|
-
i0.ɵɵelementStart(1, "a",
|
|
23959
|
+
i0.ɵɵelementStart(0, "div", 27);
|
|
23960
|
+
i0.ɵɵelementStart(1, "a", 28);
|
|
23553
23961
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
|
|
23554
23962
|
i0.ɵɵelementEnd();
|
|
23555
23963
|
i0.ɵɵelementEnd();
|
|
@@ -23563,13 +23971,13 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
23563
23971
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
23564
23972
|
i0.ɵɵelementStart(0, "th");
|
|
23565
23973
|
i0.ɵɵelementStart(1, "table", 24);
|
|
23566
|
-
i0.ɵɵelementStart(2, "tr"
|
|
23567
|
-
i0.ɵɵelementStart(3, "th"
|
|
23568
|
-
i0.ɵɵelementStart(4, "div",
|
|
23974
|
+
i0.ɵɵelementStart(2, "tr");
|
|
23975
|
+
i0.ɵɵelementStart(3, "th");
|
|
23976
|
+
i0.ɵɵelementStart(4, "div", 25);
|
|
23569
23977
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0.ɵɵrestoreView(_r22); const col_r15 = ctx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
23570
23978
|
i0.ɵɵtext(5);
|
|
23571
23979
|
i0.ɵɵelementEnd();
|
|
23572
|
-
i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div",
|
|
23980
|
+
i0.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
|
|
23573
23981
|
i0.ɵɵelementEnd();
|
|
23574
23982
|
i0.ɵɵelementEnd();
|
|
23575
23983
|
i0.ɵɵelementEnd();
|
|
@@ -23578,23 +23986,23 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
23578
23986
|
const col_r15 = ctx.$implicit;
|
|
23579
23987
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
23580
23988
|
i0.ɵɵadvance(1);
|
|
23581
|
-
i0.ɵɵ
|
|
23989
|
+
i0.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
|
|
23582
23990
|
i0.ɵɵadvance(4);
|
|
23583
23991
|
i0.ɵɵtextInterpolate(col_r15.label);
|
|
23584
23992
|
i0.ɵɵadvance(1);
|
|
23585
23993
|
i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
23586
23994
|
} }
|
|
23587
23995
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
23588
|
-
i0.ɵɵelement(0, "th",
|
|
23996
|
+
i0.ɵɵelement(0, "th", 29);
|
|
23589
23997
|
} }
|
|
23590
23998
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
23591
23999
|
const _r30 = i0.ɵɵgetCurrentView();
|
|
23592
24000
|
i0.ɵɵelementStart(0, "td", 20);
|
|
23593
24001
|
i0.ɵɵelementStart(1, "div", 21);
|
|
23594
|
-
i0.ɵɵelementStart(2, "input",
|
|
24002
|
+
i0.ɵɵelementStart(2, "input", 31);
|
|
23595
24003
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r30); const result_r24 = i0.ɵɵnextContext().$implicit; const ctx_r28 = i0.ɵɵnextContext(3); return ctx_r28.changeSelection(result_r24); });
|
|
23596
24004
|
i0.ɵɵelementEnd();
|
|
23597
|
-
i0.ɵɵelement(3, "label",
|
|
24005
|
+
i0.ɵɵelement(3, "label", 32);
|
|
23598
24006
|
i0.ɵɵelementEnd();
|
|
23599
24007
|
i0.ɵɵelementEnd();
|
|
23600
24008
|
} if (rf & 2) {
|
|
@@ -23609,7 +24017,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ct
|
|
|
23609
24017
|
} }
|
|
23610
24018
|
const _c0 = function () { return ["value"]; };
|
|
23611
24019
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
23612
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
24020
|
+
i0.ɵɵelement(0, "ccd-field-read", 41);
|
|
23613
24021
|
} if (rf & 2) {
|
|
23614
24022
|
const col_r32 = i0.ɵɵnextContext(3).$implicit;
|
|
23615
24023
|
const result_r24 = i0.ɵɵnextContext().$implicit;
|
|
@@ -23624,9 +24032,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_containe
|
|
|
23624
24032
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r24.case_id));
|
|
23625
24033
|
} }
|
|
23626
24034
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
23627
|
-
i0.ɵɵelementContainerStart(0,
|
|
23628
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
23629
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null,
|
|
24035
|
+
i0.ɵɵelementContainerStart(0, 38);
|
|
24036
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
|
|
24037
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0.ɵɵtemplateRefExtractor);
|
|
23630
24038
|
i0.ɵɵelementContainerEnd();
|
|
23631
24039
|
} if (rf & 2) {
|
|
23632
24040
|
const _r38 = i0.ɵɵreference(3);
|
|
@@ -23637,9 +24045,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_containe
|
|
|
23637
24045
|
i0.ɵɵproperty("ngIf", ctx_r36.draftPrefixOrGet(col_r32, result_r24))("ngIfElse", _r38);
|
|
23638
24046
|
} }
|
|
23639
24047
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
23640
|
-
i0.ɵɵelementStart(0, "a",
|
|
24048
|
+
i0.ɵɵelementStart(0, "a", 36);
|
|
23641
24049
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
23642
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
24050
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
|
|
23643
24051
|
i0.ɵɵelementEnd();
|
|
23644
24052
|
} if (rf & 2) {
|
|
23645
24053
|
const result_r24 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -23650,8 +24058,8 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf
|
|
|
23650
24058
|
i0.ɵɵproperty("ngIf", !ctx_r34.hideRows);
|
|
23651
24059
|
} }
|
|
23652
24060
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
23653
|
-
i0.ɵɵelementStart(0, "div",
|
|
23654
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
24061
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
24062
|
+
i0.ɵɵelement(1, "ccd-field-read", 41);
|
|
23655
24063
|
i0.ɵɵelementEnd();
|
|
23656
24064
|
} if (rf & 2) {
|
|
23657
24065
|
const col_r32 = i0.ɵɵnextContext().$implicit;
|
|
@@ -23662,9 +24070,9 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(
|
|
|
23662
24070
|
i0.ɵɵproperty("caseField", result_r24.columns[col_r32.case_field_id])("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
23663
24071
|
} }
|
|
23664
24072
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
23665
|
-
i0.ɵɵelementStart(0, "td",
|
|
23666
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
23667
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
24073
|
+
i0.ɵɵelementStart(0, "td", 33);
|
|
24074
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
|
|
24075
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
|
|
23668
24076
|
i0.ɵɵelementEnd();
|
|
23669
24077
|
} if (rf & 2) {
|
|
23670
24078
|
const colIndex_r33 = ctx.index;
|
|
@@ -23676,7 +24084,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ct
|
|
|
23676
24084
|
function SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
23677
24085
|
i0.ɵɵelementStart(0, "td");
|
|
23678
24086
|
i0.ɵɵelementStart(1, "div");
|
|
23679
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
24087
|
+
i0.ɵɵelement(2, "ccd-activity", 42);
|
|
23680
24088
|
i0.ɵɵelementEnd();
|
|
23681
24089
|
i0.ɵɵelementEnd();
|
|
23682
24090
|
} if (rf & 2) {
|
|
@@ -23690,7 +24098,7 @@ function SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template(rf, ct
|
|
|
23690
24098
|
function SearchResultComponent_table_0_ng_container_13_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
23691
24099
|
i0.ɵɵelementStart(0, "tr");
|
|
23692
24100
|
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template, 4, 5, "td", 8);
|
|
23693
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td",
|
|
24101
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 30);
|
|
23694
24102
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
23695
24103
|
i0.ɵɵelementEnd();
|
|
23696
24104
|
} if (rf & 2) {
|
|
@@ -23717,10 +24125,10 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
23717
24125
|
const _r56 = i0.ɵɵgetCurrentView();
|
|
23718
24126
|
i0.ɵɵelementStart(0, "td", 20);
|
|
23719
24127
|
i0.ɵɵelementStart(1, "div", 21);
|
|
23720
|
-
i0.ɵɵelementStart(2, "input",
|
|
24128
|
+
i0.ɵɵelementStart(2, "input", 43);
|
|
23721
24129
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r54 = i0.ɵɵnextContext(3); return ctx_r54.changeSelection(result_r50); })("keyup", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r57 = i0.ɵɵnextContext(3); return ctx_r57.onKeyUp($event, result_r50); });
|
|
23722
24130
|
i0.ɵɵelementEnd();
|
|
23723
|
-
i0.ɵɵelement(3, "label",
|
|
24131
|
+
i0.ɵɵelement(3, "label", 32);
|
|
23724
24132
|
i0.ɵɵelementEnd();
|
|
23725
24133
|
i0.ɵɵelementEnd();
|
|
23726
24134
|
} if (rf & 2) {
|
|
@@ -23734,7 +24142,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
23734
24142
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r50.case_id, "");
|
|
23735
24143
|
} }
|
|
23736
24144
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
23737
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
24145
|
+
i0.ɵɵelement(0, "ccd-field-read", 41);
|
|
23738
24146
|
} if (rf & 2) {
|
|
23739
24147
|
const col_r60 = i0.ɵɵnextContext(3).$implicit;
|
|
23740
24148
|
const result_r50 = i0.ɵɵnextContext().$implicit;
|
|
@@ -23749,9 +24157,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
23749
24157
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r50.case_id));
|
|
23750
24158
|
} }
|
|
23751
24159
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
23752
|
-
i0.ɵɵelementContainerStart(0,
|
|
23753
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
23754
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null,
|
|
24160
|
+
i0.ɵɵelementContainerStart(0, 38);
|
|
24161
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
|
|
24162
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0.ɵɵtemplateRefExtractor);
|
|
23755
24163
|
i0.ɵɵelementContainerEnd();
|
|
23756
24164
|
} if (rf & 2) {
|
|
23757
24165
|
const _r66 = i0.ɵɵreference(3);
|
|
@@ -23762,9 +24170,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
23762
24170
|
i0.ɵɵproperty("ngIf", ctx_r64.draftPrefixOrGet(col_r60, result_r50))("ngIfElse", _r66);
|
|
23763
24171
|
} }
|
|
23764
24172
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
23765
|
-
i0.ɵɵelementStart(0, "a",
|
|
24173
|
+
i0.ɵɵelementStart(0, "a", 36);
|
|
23766
24174
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
23767
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
24175
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
|
|
23768
24176
|
i0.ɵɵelementEnd();
|
|
23769
24177
|
} if (rf & 2) {
|
|
23770
24178
|
const result_r50 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -23775,8 +24183,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
23775
24183
|
i0.ɵɵproperty("ngIf", !ctx_r62.hideRows);
|
|
23776
24184
|
} }
|
|
23777
24185
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
23778
|
-
i0.ɵɵelementStart(0, "div",
|
|
23779
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
24186
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
24187
|
+
i0.ɵɵelement(1, "ccd-field-read", 41);
|
|
23780
24188
|
i0.ɵɵelementEnd();
|
|
23781
24189
|
} if (rf & 2) {
|
|
23782
24190
|
const col_r60 = i0.ɵɵnextContext().$implicit;
|
|
@@ -23787,9 +24195,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
23787
24195
|
i0.ɵɵproperty("caseField", result_r50.columns[col_r60.case_field_id])("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
|
|
23788
24196
|
} }
|
|
23789
24197
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
23790
|
-
i0.ɵɵelementStart(0, "td",
|
|
23791
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a",
|
|
23792
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div",
|
|
24198
|
+
i0.ɵɵelementStart(0, "td", 33);
|
|
24199
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
|
|
24200
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
|
|
23793
24201
|
i0.ɵɵelementEnd();
|
|
23794
24202
|
} if (rf & 2) {
|
|
23795
24203
|
const colIndex_r61 = ctx.index;
|
|
@@ -23801,7 +24209,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
23801
24209
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
23802
24210
|
i0.ɵɵelementStart(0, "td");
|
|
23803
24211
|
i0.ɵɵelementStart(1, "div");
|
|
23804
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
24212
|
+
i0.ɵɵelement(2, "ccd-activity", 42);
|
|
23805
24213
|
i0.ɵɵelementEnd();
|
|
23806
24214
|
i0.ɵɵelementEnd();
|
|
23807
24215
|
} if (rf & 2) {
|
|
@@ -23815,7 +24223,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
23815
24223
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
23816
24224
|
i0.ɵɵelementStart(0, "tr");
|
|
23817
24225
|
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
|
|
23818
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td",
|
|
24226
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
|
|
23819
24227
|
i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
|
|
23820
24228
|
i0.ɵɵelementEnd();
|
|
23821
24229
|
} if (rf & 2) {
|
|
@@ -23851,7 +24259,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
23851
24259
|
i0.ɵɵelementStart(7, "thead");
|
|
23852
24260
|
i0.ɵɵelementStart(8, "tr", 7);
|
|
23853
24261
|
i0.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
|
|
23854
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7,
|
|
24262
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
|
|
23855
24263
|
i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
|
|
23856
24264
|
i0.ɵɵelementEnd();
|
|
23857
24265
|
i0.ɵɵelementEnd();
|
|
@@ -23883,7 +24291,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
23883
24291
|
} }
|
|
23884
24292
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
23885
24293
|
const _r78 = i0.ɵɵgetCurrentView();
|
|
23886
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
24294
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 44);
|
|
23887
24295
|
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r78); const ctx_r77 = i0.ɵɵnextContext(); return ctx_r77.goToPage($event); });
|
|
23888
24296
|
i0.ɵɵelementEnd();
|
|
23889
24297
|
} if (rf & 2) {
|
|
@@ -23891,7 +24299,7 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
23891
24299
|
i0.ɵɵproperty("visibilityLabel", ctx_r1.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r1.page)("screenReaderCurrentLabel", "You're on page");
|
|
23892
24300
|
} }
|
|
23893
24301
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
23894
|
-
i0.ɵɵelementStart(0, "div",
|
|
24302
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
23895
24303
|
i0.ɵɵtext(1, " No cases found. Try using different filters.\n");
|
|
23896
24304
|
i0.ɵɵelementEnd();
|
|
23897
24305
|
} }
|
|
@@ -24229,7 +24637,7 @@ SearchResultComponent.PARAM_JURISDICTION = 'jurisdiction';
|
|
|
24229
24637
|
SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
|
|
24230
24638
|
SearchResultComponent.PARAM_CASE_STATE = 'case-state';
|
|
24231
24639
|
SearchResultComponent.ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
24232
|
-
SearchResultComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [
|
|
24640
|
+
SearchResultComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], ["aria-label", "No cases found. Try using different filters.", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24233
24641
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 15, 9, "table", 0);
|
|
24234
24642
|
i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
|
|
24235
24643
|
i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 2, 0, "div", 2);
|
|
@@ -24239,7 +24647,7 @@ SearchResultComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchResultCompone
|
|
|
24239
24647
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
24240
24648
|
i0.ɵɵadvance(1);
|
|
24241
24649
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
24242
|
-
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$
|
|
24650
|
+
} }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$7.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
24243
24651
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
24244
24652
|
type: Component,
|
|
24245
24653
|
args: [{
|
|
@@ -24578,5 +24986,5 @@ class TestRouteSnapshotBuilder {
|
|
|
24578
24986
|
* Generated bundle index. Do not edit.
|
|
24579
24987
|
*/
|
|
24580
24988
|
|
|
24581
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
24989
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
24582
24990
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|