@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-sort-documents → 5.0.25-case-file-view-all-document-count
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +94 -377
- 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/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +51 -104
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +1 -3
- package/esm2015/lib/shared/components/palette/palette.module.js +5 -18
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +1 -65
- package/esm2015/public-api.js +3 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +83 -336
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +2 -5
- 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 +0 -2
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +22 -25
- 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 +0 -3
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.js +0 -44
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.js +0 -2
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +0 -90
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/index.js +0 -2
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts +0 -14
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts +0 -6
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +0 -15
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts +0 -2
- package/lib/shared/components/palette/case-file-view/components/shared/index.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('ngx-md'), require('@angular/cdk/tree'), require('@angular/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', 'ngx-md', '@angular/cdk/tree', '@angular/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global["ngx-md"], global.ng.cdk.tree, global.ng.
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('ngx-md'), require('@angular/cdk/tree'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@angular/cdk/portal'), require('@angular/material/input'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', 'ngx-md', '@angular/cdk/tree', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@angular/cdk/portal', '@angular/material/input', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global["ngx-md"], global.ng.cdk.tree, global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.portal, global.ng.material.input, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5, i1$6, i2, i4, momentAdapter, i5, i6, i5$1, i6$1, i3, i6$2, input, i1$7, i10) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -33,10 +33,9 @@
|
|
|
33
33
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
34
34
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
35
35
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
36
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
37
36
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
38
37
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
39
|
-
var i2__namespace
|
|
38
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
40
39
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
41
40
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
42
41
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
@@ -116,7 +115,7 @@
|
|
|
116
115
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
|
-
var _c0$
|
|
118
|
+
var _c0$P = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
120
119
|
var _c1$n = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
121
120
|
var FooterComponent = /** @class */ (function () {
|
|
122
121
|
function FooterComponent() {
|
|
@@ -126,7 +125,7 @@
|
|
|
126
125
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
127
126
|
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$n, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
|
|
128
127
|
if (rf & 1) {
|
|
129
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
128
|
+
i0__namespace.ɵɵprojectionDef(_c0$P);
|
|
130
129
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
131
130
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
132
131
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -205,7 +204,7 @@
|
|
|
205
204
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
|
-
var _c0$
|
|
207
|
+
var _c0$O = [[["", "headerNavigation", ""]]];
|
|
209
208
|
var _c1$m = ["[headerNavigation]"];
|
|
210
209
|
var HeaderBarComponent = /** @class */ (function () {
|
|
211
210
|
function HeaderBarComponent() {
|
|
@@ -219,7 +218,7 @@
|
|
|
219
218
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
220
219
|
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$m, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
|
|
221
220
|
if (rf & 1) {
|
|
222
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
221
|
+
i0__namespace.ɵɵprojectionDef(_c0$O);
|
|
223
222
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
224
223
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
225
224
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -280,7 +279,7 @@
|
|
|
280
279
|
}] });
|
|
281
280
|
})();
|
|
282
281
|
|
|
283
|
-
var _c0$
|
|
282
|
+
var _c0$N = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
284
283
|
var _c1$l = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
285
284
|
var NavigationComponent = /** @class */ (function () {
|
|
286
285
|
function NavigationComponent() {
|
|
@@ -290,7 +289,7 @@
|
|
|
290
289
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
291
290
|
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$l, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
292
291
|
if (rf & 1) {
|
|
293
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
292
|
+
i0__namespace.ɵɵprojectionDef(_c0$N);
|
|
294
293
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
295
294
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
296
295
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -435,7 +434,7 @@
|
|
|
435
434
|
}], null, null);
|
|
436
435
|
})();
|
|
437
436
|
|
|
438
|
-
var _c0$
|
|
437
|
+
var _c0$M = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
439
438
|
var _c1$k = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
440
439
|
var BodyComponent = /** @class */ (function () {
|
|
441
440
|
function BodyComponent() {
|
|
@@ -445,7 +444,7 @@
|
|
|
445
444
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
446
445
|
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$k, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
447
446
|
if (rf & 1) {
|
|
448
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
447
|
+
i0__namespace.ɵɵprojectionDef(_c0$M);
|
|
449
448
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
450
449
|
i0__namespace.ɵɵprojection(1);
|
|
451
450
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -792,7 +791,7 @@
|
|
|
792
791
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
793
792
|
}
|
|
794
793
|
|
|
795
|
-
var _c0$
|
|
794
|
+
var _c0$L = function (a0) { return { "govuk-input--error": a0 }; };
|
|
796
795
|
function DateInputComponent_div_16_Template(rf, ctx) {
|
|
797
796
|
if (rf & 1) {
|
|
798
797
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -810,7 +809,7 @@
|
|
|
810
809
|
i0__namespace.ɵɵadvance(1);
|
|
811
810
|
i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
|
|
812
811
|
i0__namespace.ɵɵadvance(2);
|
|
813
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
812
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r3.isInvalid));
|
|
814
813
|
}
|
|
815
814
|
}
|
|
816
815
|
function DateInputComponent_div_17_Template(rf, ctx) {
|
|
@@ -830,7 +829,7 @@
|
|
|
830
829
|
i0__namespace.ɵɵadvance(1);
|
|
831
830
|
i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
|
|
832
831
|
i0__namespace.ɵɵadvance(2);
|
|
833
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
832
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r4.isInvalid));
|
|
834
833
|
}
|
|
835
834
|
}
|
|
836
835
|
function DateInputComponent_div_18_Template(rf, ctx) {
|
|
@@ -850,7 +849,7 @@
|
|
|
850
849
|
i0__namespace.ɵɵadvance(1);
|
|
851
850
|
i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
|
|
852
851
|
i0__namespace.ɵɵadvance(2);
|
|
853
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
852
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$L, ctx_r5.isInvalid));
|
|
854
853
|
}
|
|
855
854
|
}
|
|
856
855
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1084,15 +1083,15 @@
|
|
|
1084
1083
|
i0__namespace.ɵɵadvance(2);
|
|
1085
1084
|
i0__namespace.ɵɵproperty("for", ctx.dayId());
|
|
1086
1085
|
i0__namespace.ɵɵadvance(2);
|
|
1087
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$
|
|
1086
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$L, ctx.isInvalid));
|
|
1088
1087
|
i0__namespace.ɵɵadvance(3);
|
|
1089
1088
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1090
1089
|
i0__namespace.ɵɵadvance(2);
|
|
1091
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$
|
|
1090
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$L, ctx.isInvalid));
|
|
1092
1091
|
i0__namespace.ɵɵadvance(3);
|
|
1093
1092
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1094
1093
|
i0__namespace.ɵɵadvance(2);
|
|
1095
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$
|
|
1094
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$L, ctx.isInvalid));
|
|
1096
1095
|
i0__namespace.ɵɵadvance(2);
|
|
1097
1096
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1098
1097
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1173,7 +1172,7 @@
|
|
|
1173
1172
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1174
1173
|
}
|
|
1175
1174
|
}
|
|
1176
|
-
var _c0$
|
|
1175
|
+
var _c0$K = ["*"];
|
|
1177
1176
|
exports.AlertMessageType = void 0;
|
|
1178
1177
|
(function (AlertMessageType) {
|
|
1179
1178
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1194,7 +1193,7 @@
|
|
|
1194
1193
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1195
1194
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1196
1195
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1197
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1196
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$K, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1198
1197
|
if (rf & 1) {
|
|
1199
1198
|
i0__namespace.ɵɵprojectionDef();
|
|
1200
1199
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1300,7 +1299,7 @@
|
|
|
1300
1299
|
}], null, null);
|
|
1301
1300
|
})();
|
|
1302
1301
|
|
|
1303
|
-
var _c0$
|
|
1302
|
+
var _c0$J = function (a0) { return { "js-hidden": a0 }; };
|
|
1304
1303
|
var _c1$j = ["*"];
|
|
1305
1304
|
var TabComponent = /** @class */ (function () {
|
|
1306
1305
|
function TabComponent() {
|
|
@@ -1316,7 +1315,7 @@
|
|
|
1316
1315
|
i0__namespace.ɵɵelementEnd();
|
|
1317
1316
|
}
|
|
1318
1317
|
if (rf & 2) {
|
|
1319
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1318
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$J, !ctx.selected));
|
|
1320
1319
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1321
1320
|
}
|
|
1322
1321
|
}, directives: [i1__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1339,7 +1338,7 @@
|
|
|
1339
1338
|
}] });
|
|
1340
1339
|
})();
|
|
1341
1340
|
|
|
1342
|
-
var _c0$
|
|
1341
|
+
var _c0$I = ["tab"];
|
|
1343
1342
|
var _c1$i = function () { return ["."]; };
|
|
1344
1343
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1345
1344
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1393,7 +1392,7 @@
|
|
|
1393
1392
|
}
|
|
1394
1393
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1395
1394
|
if (rf & 1) {
|
|
1396
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1395
|
+
i0__namespace.ɵɵviewQuery(_c0$I, 1);
|
|
1397
1396
|
}
|
|
1398
1397
|
if (rf & 2) {
|
|
1399
1398
|
var _t = void 0;
|
|
@@ -1472,7 +1471,7 @@
|
|
|
1472
1471
|
}], null, null);
|
|
1473
1472
|
})();
|
|
1474
1473
|
|
|
1475
|
-
var _c0$
|
|
1474
|
+
var _c0$H = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1476
1475
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1477
1476
|
function ActivityBannerComponent() {
|
|
1478
1477
|
}
|
|
@@ -1493,7 +1492,7 @@
|
|
|
1493
1492
|
i0__namespace.ɵɵelementEnd();
|
|
1494
1493
|
}
|
|
1495
1494
|
if (rf & 2) {
|
|
1496
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$
|
|
1495
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$H, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1497
1496
|
i0__namespace.ɵɵadvance(2);
|
|
1498
1497
|
i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1499
1498
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -9203,7 +9202,7 @@
|
|
|
9203
9202
|
}], null, null);
|
|
9204
9203
|
})();
|
|
9205
9204
|
|
|
9206
|
-
var _c0$
|
|
9205
|
+
var _c0$G = ["writeComplexFieldComponent"];
|
|
9207
9206
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
|
|
9208
9207
|
if (rf & 1) {
|
|
9209
9208
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -9417,7 +9416,7 @@
|
|
|
9417
9416
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
9418
9417
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
9419
9418
|
if (rf & 1) {
|
|
9420
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
9419
|
+
i0__namespace.ɵɵviewQuery(_c0$G, 1);
|
|
9421
9420
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
9422
9421
|
}
|
|
9423
9422
|
if (rf & 2) {
|
|
@@ -9502,73 +9501,6 @@
|
|
|
9502
9501
|
enumerable: false,
|
|
9503
9502
|
configurable: true
|
|
9504
9503
|
});
|
|
9505
|
-
DocumentTreeNode.prototype.sortChildrenAscending = function () {
|
|
9506
|
-
var _a, _b;
|
|
9507
|
-
var sortAscending = function () {
|
|
9508
|
-
return function (a, b) {
|
|
9509
|
-
var nameA = a.name.toUpperCase(); // ignore upper and lowercase
|
|
9510
|
-
var nameB = b.name.toUpperCase(); // ignore upper and lowercase
|
|
9511
|
-
if (a.type === 'category' || b.type === 'category') {
|
|
9512
|
-
return 0;
|
|
9513
|
-
}
|
|
9514
|
-
if (nameA < nameB) {
|
|
9515
|
-
return -1;
|
|
9516
|
-
}
|
|
9517
|
-
if (nameA > nameB) {
|
|
9518
|
-
return 1;
|
|
9519
|
-
}
|
|
9520
|
-
};
|
|
9521
|
-
};
|
|
9522
|
-
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
|
|
9523
|
-
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
|
|
9524
|
-
childNodes.sortChildrenAscending();
|
|
9525
|
-
});
|
|
9526
|
-
};
|
|
9527
|
-
DocumentTreeNode.prototype.sortChildrenDescending = function () {
|
|
9528
|
-
var _a, _b;
|
|
9529
|
-
var sortDescending = function () {
|
|
9530
|
-
return function (a, b) {
|
|
9531
|
-
var nameA = a.name.toUpperCase(); // ignore upper and lowercase
|
|
9532
|
-
var nameB = b.name.toUpperCase(); // ignore upper and lowercase
|
|
9533
|
-
if (a.type === 'category' || b.type === 'category') {
|
|
9534
|
-
return 0;
|
|
9535
|
-
}
|
|
9536
|
-
if (nameA > nameB) {
|
|
9537
|
-
return -1;
|
|
9538
|
-
}
|
|
9539
|
-
if (nameA < nameB) {
|
|
9540
|
-
return 1;
|
|
9541
|
-
}
|
|
9542
|
-
};
|
|
9543
|
-
};
|
|
9544
|
-
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
|
|
9545
|
-
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach(function (childNodes) {
|
|
9546
|
-
childNodes.sortChildrenDescending();
|
|
9547
|
-
});
|
|
9548
|
-
};
|
|
9549
|
-
Object.defineProperty(DocumentTreeNode.prototype, "flattenedAll", {
|
|
9550
|
-
get: function () {
|
|
9551
|
-
var _a;
|
|
9552
|
-
var flattenChildren = function (nodeChild) {
|
|
9553
|
-
var _a;
|
|
9554
|
-
var flattenedNodes = [];
|
|
9555
|
-
flattenedNodes.push(nodeChild);
|
|
9556
|
-
if (((_a = nodeChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
9557
|
-
nodeChild.children.forEach(function (child) {
|
|
9558
|
-
flattenedNodes.push.apply(flattenedNodes, __spread(flattenChildren(child)));
|
|
9559
|
-
});
|
|
9560
|
-
}
|
|
9561
|
-
return flattenedNodes;
|
|
9562
|
-
};
|
|
9563
|
-
return __spread([
|
|
9564
|
-
this
|
|
9565
|
-
], (_a = this.children) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
9566
|
-
return flattenChildren(item);
|
|
9567
|
-
}).flat());
|
|
9568
|
-
},
|
|
9569
|
-
enumerable: false,
|
|
9570
|
-
configurable: true
|
|
9571
|
-
});
|
|
9572
9504
|
return DocumentTreeNode;
|
|
9573
9505
|
}());
|
|
9574
9506
|
__decorate([
|
|
@@ -9581,206 +9513,55 @@
|
|
|
9581
9513
|
__metadata("design:paramtypes", [])
|
|
9582
9514
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
9583
9515
|
|
|
9584
|
-
function
|
|
9585
|
-
if (rf & 1) {
|
|
9586
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
9587
|
-
i0__namespace.ɵɵelementStart(1, "div", 4);
|
|
9588
|
-
i0__namespace.ɵɵtext(2);
|
|
9589
|
-
i0__namespace.ɵɵelementEnd();
|
|
9590
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
9591
|
-
}
|
|
9592
|
-
if (rf & 2) {
|
|
9593
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
9594
|
-
i0__namespace.ɵɵadvance(2);
|
|
9595
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r1.title);
|
|
9596
|
-
}
|
|
9597
|
-
}
|
|
9598
|
-
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template(rf, ctx) {
|
|
9516
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) {
|
|
9599
9517
|
if (rf & 1) {
|
|
9600
|
-
i0__namespace.ɵɵ
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
var ctx_r4 = i0__namespace.ɵɵnextContext(2);
|
|
9605
|
-
i0__namespace.ɵɵproperty("src", item_r3.iconSrc, i0__namespace.ɵɵsanitizeUrl)("alt", ctx_r4.title);
|
|
9606
|
-
}
|
|
9607
|
-
}
|
|
9608
|
-
function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template(rf, ctx) {
|
|
9609
|
-
if (rf & 1) {
|
|
9610
|
-
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
9611
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
9612
|
-
i0__namespace.ɵɵelementStart(1, "div", 5);
|
|
9613
|
-
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r7_1); var item_r3 = ctx.$implicit; var ctx_r6 = i0__namespace.ɵɵnextContext(2); item_r3.actionFn(); return ctx_r6.closeOverlay(); });
|
|
9614
|
-
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_img_2_Template, 1, 2, "img", 6);
|
|
9615
|
-
i0__namespace.ɵɵelementStart(3, "div", 7);
|
|
9616
|
-
i0__namespace.ɵɵtext(4);
|
|
9617
|
-
i0__namespace.ɵɵelementEnd();
|
|
9618
|
-
i0__namespace.ɵɵelementEnd();
|
|
9619
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
9620
|
-
}
|
|
9621
|
-
if (rf & 2) {
|
|
9622
|
-
var item_r3 = ctx.$implicit;
|
|
9623
|
-
i0__namespace.ɵɵadvance(2);
|
|
9624
|
-
i0__namespace.ɵɵproperty("ngIf", item_r3.iconSrc);
|
|
9625
|
-
i0__namespace.ɵɵadvance(2);
|
|
9626
|
-
i0__namespace.ɵɵtextInterpolate(item_r3.actionText);
|
|
9627
|
-
}
|
|
9628
|
-
}
|
|
9629
|
-
function CaseFileViewOverlayMenuComponent_ng_template_0_Template(rf, ctx) {
|
|
9630
|
-
if (rf & 1) {
|
|
9631
|
-
i0__namespace.ɵɵelementStart(0, "div", 1);
|
|
9632
|
-
i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_1_Template, 3, 1, "ng-container", 2);
|
|
9633
|
-
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_0_ng_container_2_Template, 5, 2, "ng-container", 3);
|
|
9634
|
-
i0__namespace.ɵɵelementEnd();
|
|
9635
|
-
}
|
|
9636
|
-
if (rf & 2) {
|
|
9637
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
9638
|
-
i0__namespace.ɵɵadvance(1);
|
|
9639
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r0.title);
|
|
9640
|
-
i0__namespace.ɵɵadvance(1);
|
|
9641
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.menuItems);
|
|
9642
|
-
}
|
|
9643
|
-
}
|
|
9644
|
-
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
9645
|
-
function CaseFileViewOverlayMenuComponent() {
|
|
9646
|
-
this.title = '';
|
|
9647
|
-
this.isOpen = false;
|
|
9648
|
-
this.isOpenChange = new i0.EventEmitter();
|
|
9649
|
-
}
|
|
9650
|
-
CaseFileViewOverlayMenuComponent.prototype.closeOverlay = function () {
|
|
9651
|
-
var isOpen = false;
|
|
9652
|
-
this.isOpen = isOpen;
|
|
9653
|
-
this.isOpenChange.emit(isOpen);
|
|
9654
|
-
};
|
|
9655
|
-
return CaseFileViewOverlayMenuComponent;
|
|
9656
|
-
}());
|
|
9657
|
-
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
9658
|
-
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
9659
|
-
if (rf & 1) {
|
|
9660
|
-
i0__namespace.ɵɵtemplate(0, CaseFileViewOverlayMenuComponent_ng_template_0_Template, 3, 2, "ng-template", 0);
|
|
9661
|
-
}
|
|
9662
|
-
if (rf & 2) {
|
|
9663
|
-
i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", ctx.cdkOverlayOrigin)("cdkConnectedOverlayOpen", ctx.isOpen);
|
|
9664
|
-
}
|
|
9665
|
-
}, directives: [i1__namespace$5.CdkConnectedOverlay, i1__namespace.NgIf, i1__namespace.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}"] });
|
|
9666
|
-
(function () {
|
|
9667
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
9668
|
-
type: i0.Component,
|
|
9669
|
-
args: [{
|
|
9670
|
-
selector: 'ccd-case-file-view-overlay-menu',
|
|
9671
|
-
templateUrl: './case-file-view-overlay-menu.component.html',
|
|
9672
|
-
styleUrls: ['./case-file-view-overlay-menu.component.scss']
|
|
9673
|
-
}]
|
|
9674
|
-
}], null, { title: [{
|
|
9675
|
-
type: i0.Input
|
|
9676
|
-
}], menuItems: [{
|
|
9677
|
-
type: i0.Input
|
|
9678
|
-
}], cdkOverlayOrigin: [{
|
|
9679
|
-
type: i0.Input
|
|
9680
|
-
}], isOpen: [{
|
|
9681
|
-
type: i0.Input
|
|
9682
|
-
}], isOpenChange: [{
|
|
9683
|
-
type: i0.Output
|
|
9684
|
-
}] });
|
|
9685
|
-
})();
|
|
9686
|
-
|
|
9687
|
-
var CaseFileViewFolderSortComponent = /** @class */ (function () {
|
|
9688
|
-
function CaseFileViewFolderSortComponent() {
|
|
9689
|
-
var _this = this;
|
|
9690
|
-
this.isOpen = false;
|
|
9691
|
-
this.sortAscending = new i0.EventEmitter();
|
|
9692
|
-
this.sortDescending = new i0.EventEmitter();
|
|
9693
|
-
this.overlayMenuItems = [
|
|
9694
|
-
{ actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(); } },
|
|
9695
|
-
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
|
|
9696
|
-
];
|
|
9697
|
-
}
|
|
9698
|
-
CaseFileViewFolderSortComponent.prototype.ngOnInit = function () {
|
|
9699
|
-
};
|
|
9700
|
-
return CaseFileViewFolderSortComponent;
|
|
9701
|
-
}());
|
|
9702
|
-
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
9703
|
-
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
9704
|
-
if (rf & 1) {
|
|
9705
|
-
i0__namespace.ɵɵelementStart(0, "button", 0, 1);
|
|
9706
|
-
i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSortComponent_Template_button_click_0_listener() { return ctx.isOpen = !ctx.isOpen; });
|
|
9707
|
-
i0__namespace.ɵɵelement(2, "img", 2);
|
|
9708
|
-
i0__namespace.ɵɵelementEnd();
|
|
9709
|
-
i0__namespace.ɵɵelementStart(3, "ccd-case-file-view-overlay-menu", 3);
|
|
9710
|
-
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_3_listener($event) { return ctx.isOpen = $event; });
|
|
9711
|
-
i0__namespace.ɵɵelementEnd();
|
|
9712
|
-
}
|
|
9713
|
-
if (rf & 2) {
|
|
9714
|
-
var _r0 = i0__namespace.ɵɵreference(1);
|
|
9715
|
-
i0__namespace.ɵɵadvance(3);
|
|
9716
|
-
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("cdkOverlayOrigin", _r0)("isOpen", ctx.isOpen);
|
|
9717
|
-
}
|
|
9718
|
-
}, directives: [i1__namespace$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}"] });
|
|
9719
|
-
(function () {
|
|
9720
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
9721
|
-
type: i0.Component,
|
|
9722
|
-
args: [{
|
|
9723
|
-
selector: 'ccd-case-file-view-folder-sort',
|
|
9724
|
-
templateUrl: './case-file-view-folder-sort.component.html',
|
|
9725
|
-
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
9726
|
-
}]
|
|
9727
|
-
}], function () { return []; }, { sortAscending: [{
|
|
9728
|
-
type: i0.Output
|
|
9729
|
-
}], sortDescending: [{
|
|
9730
|
-
type: i0.Output
|
|
9731
|
-
}] });
|
|
9732
|
-
})();
|
|
9733
|
-
|
|
9734
|
-
var _c0$G = ["tree"];
|
|
9735
|
-
function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) {
|
|
9736
|
-
if (rf & 1) {
|
|
9737
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
9738
|
-
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
9739
|
-
i0__namespace.ɵɵelementStart(2, "button", 10);
|
|
9740
|
-
i0__namespace.ɵɵelement(3, "img", 11);
|
|
9518
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9519
|
+
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
9520
|
+
i0__namespace.ɵɵelementStart(2, "button", 9);
|
|
9521
|
+
i0__namespace.ɵɵelement(3, "img", 10);
|
|
9741
9522
|
i0__namespace.ɵɵelementEnd();
|
|
9742
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9523
|
+
i0__namespace.ɵɵelementStart(4, "span", 11);
|
|
9743
9524
|
i0__namespace.ɵɵtext(5);
|
|
9744
9525
|
i0__namespace.ɵɵelementEnd();
|
|
9745
9526
|
i0__namespace.ɵɵelementEnd();
|
|
9746
9527
|
i0__namespace.ɵɵelementEnd();
|
|
9747
9528
|
}
|
|
9748
9529
|
if (rf & 2) {
|
|
9749
|
-
var
|
|
9530
|
+
var node_r2 = ctx.$implicit;
|
|
9750
9531
|
i0__namespace.ɵɵadvance(5);
|
|
9751
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9532
|
+
i0__namespace.ɵɵtextInterpolate(node_r2.name);
|
|
9752
9533
|
}
|
|
9753
9534
|
}
|
|
9754
|
-
function
|
|
9535
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
|
|
9755
9536
|
if (rf & 1) {
|
|
9756
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
9757
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9758
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
9759
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
9760
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9537
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9538
|
+
i0__namespace.ɵɵelementStart(1, "div", 12);
|
|
9539
|
+
i0__namespace.ɵɵelementStart(2, "button", 13);
|
|
9540
|
+
i0__namespace.ɵɵelement(3, "img", 14);
|
|
9541
|
+
i0__namespace.ɵɵelementStart(4, "span", 15);
|
|
9761
9542
|
i0__namespace.ɵɵtext(5);
|
|
9762
9543
|
i0__namespace.ɵɵelementEnd();
|
|
9763
9544
|
i0__namespace.ɵɵelementEnd();
|
|
9764
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
9545
|
+
i0__namespace.ɵɵelementStart(6, "span", 16);
|
|
9765
9546
|
i0__namespace.ɵɵtext(7);
|
|
9766
9547
|
i0__namespace.ɵɵelementEnd();
|
|
9767
9548
|
i0__namespace.ɵɵelementEnd();
|
|
9768
9549
|
i0__namespace.ɵɵelementStart(8, "div");
|
|
9769
|
-
i0__namespace.ɵɵelementContainer(9,
|
|
9550
|
+
i0__namespace.ɵɵelementContainer(9, 17);
|
|
9770
9551
|
i0__namespace.ɵɵelementEnd();
|
|
9771
9552
|
i0__namespace.ɵɵelementEnd();
|
|
9772
9553
|
}
|
|
9773
9554
|
if (rf & 2) {
|
|
9774
|
-
var
|
|
9775
|
-
var
|
|
9555
|
+
var node_r3 = ctx.$implicit;
|
|
9556
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
9776
9557
|
i0__namespace.ɵɵadvance(2);
|
|
9777
|
-
i0__namespace.ɵɵattribute("aria-label", "toggle " +
|
|
9558
|
+
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r3.name);
|
|
9778
9559
|
i0__namespace.ɵɵadvance(3);
|
|
9779
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9560
|
+
i0__namespace.ɵɵtextInterpolate(node_r3.childDocumentCount);
|
|
9780
9561
|
i0__namespace.ɵɵadvance(2);
|
|
9781
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9562
|
+
i0__namespace.ɵɵtextInterpolate(node_r3.name);
|
|
9782
9563
|
i0__namespace.ɵɵadvance(1);
|
|
9783
|
-
i0__namespace.ɵɵclassProp("document-tree-invisible", !
|
|
9564
|
+
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
|
|
9784
9565
|
}
|
|
9785
9566
|
}
|
|
9786
9567
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
@@ -9788,8 +9569,23 @@
|
|
|
9788
9569
|
this.categories = [];
|
|
9789
9570
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9790
9571
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9791
|
-
this.nestedTreeControl = new
|
|
9572
|
+
this.nestedTreeControl = new i1$5.NestedTreeControl(this.getChildren);
|
|
9792
9573
|
}
|
|
9574
|
+
Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
|
|
9575
|
+
get: function () {
|
|
9576
|
+
var _a;
|
|
9577
|
+
if ((_a = this.nestedDataSource) === null || _a === void 0 ? void 0 : _a.length) {
|
|
9578
|
+
return this.nestedDataSource.reduce(function (acc, item) {
|
|
9579
|
+
return acc + item.childDocumentCount;
|
|
9580
|
+
}, 0);
|
|
9581
|
+
}
|
|
9582
|
+
else {
|
|
9583
|
+
return 0;
|
|
9584
|
+
}
|
|
9585
|
+
},
|
|
9586
|
+
enumerable: false,
|
|
9587
|
+
configurable: true
|
|
9588
|
+
});
|
|
9793
9589
|
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
9794
9590
|
var _this = this;
|
|
9795
9591
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
@@ -9842,50 +9638,11 @@
|
|
|
9842
9638
|
uncategorisedNode.children = documents;
|
|
9843
9639
|
return uncategorisedNode;
|
|
9844
9640
|
};
|
|
9845
|
-
CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
|
|
9846
|
-
var sortedData = this.nestedDataSource.map(function (item) {
|
|
9847
|
-
item.sortChildrenAscending();
|
|
9848
|
-
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9849
|
-
newDocumentTreeNode.name = item.name;
|
|
9850
|
-
newDocumentTreeNode.type = item.type;
|
|
9851
|
-
newDocumentTreeNode.children = item.children;
|
|
9852
|
-
return newDocumentTreeNode;
|
|
9853
|
-
});
|
|
9854
|
-
this.updateNodeData(sortedData);
|
|
9855
|
-
};
|
|
9856
|
-
CaseFileViewFolderComponent.prototype.sortDataSourceDescAlphabetically = function () {
|
|
9857
|
-
var sortedData = this.nestedDataSource.map(function (item) {
|
|
9858
|
-
item.sortChildrenDescending();
|
|
9859
|
-
return item;
|
|
9860
|
-
});
|
|
9861
|
-
this.updateNodeData(sortedData);
|
|
9862
|
-
};
|
|
9863
9641
|
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
9864
9642
|
if (this.categoriesAndDocumentsSubscription) {
|
|
9865
9643
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
9866
9644
|
}
|
|
9867
9645
|
};
|
|
9868
|
-
CaseFileViewFolderComponent.prototype.updateNodeData = function (data) {
|
|
9869
|
-
var _this = this;
|
|
9870
|
-
var prevSelected = this.nestedTreeControl.expansionModel.selected.map(function (item) {
|
|
9871
|
-
return item.name;
|
|
9872
|
-
});
|
|
9873
|
-
this.nestedTreeControl.collapseAll();
|
|
9874
|
-
this.nestedDataSource = data.map(function (item) {
|
|
9875
|
-
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9876
|
-
newDocumentTreeNode.name = item.name;
|
|
9877
|
-
newDocumentTreeNode.type = item.type;
|
|
9878
|
-
newDocumentTreeNode.children = item.children;
|
|
9879
|
-
return newDocumentTreeNode;
|
|
9880
|
-
});
|
|
9881
|
-
var flattenedArray = this.nestedDataSource.map(function (item) {
|
|
9882
|
-
return item.flattenedAll;
|
|
9883
|
-
}).flat();
|
|
9884
|
-
var newObjects = flattenedArray.filter(function (item) {
|
|
9885
|
-
return prevSelected.includes(item.name);
|
|
9886
|
-
});
|
|
9887
|
-
newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
|
|
9888
|
-
};
|
|
9889
9646
|
CaseFileViewFolderComponent.prototype.loadCategories = function () {
|
|
9890
9647
|
return [
|
|
9891
9648
|
{
|
|
@@ -9893,26 +9650,12 @@
|
|
|
9893
9650
|
category_name: 'Beers',
|
|
9894
9651
|
category_order: 1,
|
|
9895
9652
|
documents: [
|
|
9896
|
-
{
|
|
9897
|
-
document_url: '/test',
|
|
9898
|
-
document_filename: 'Lager encyclopedia',
|
|
9899
|
-
document_binary_url: '/test/binary',
|
|
9900
|
-
attribute_path: '',
|
|
9901
|
-
upload_timestamp: ''
|
|
9902
|
-
},
|
|
9903
9653
|
{
|
|
9904
9654
|
document_url: '/test',
|
|
9905
9655
|
document_filename: 'Beers encyclopedia',
|
|
9906
9656
|
document_binary_url: '/test/binary',
|
|
9907
9657
|
attribute_path: '',
|
|
9908
9658
|
upload_timestamp: ''
|
|
9909
|
-
},
|
|
9910
|
-
{
|
|
9911
|
-
document_url: '/test',
|
|
9912
|
-
document_filename: 'Ale encyclopedia',
|
|
9913
|
-
document_binary_url: '/test/binary',
|
|
9914
|
-
attribute_path: '',
|
|
9915
|
-
upload_timestamp: ''
|
|
9916
9659
|
}
|
|
9917
9660
|
],
|
|
9918
9661
|
sub_categories: [
|
|
@@ -10064,53 +9807,40 @@
|
|
|
10064
9807
|
}());
|
|
10065
9808
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
10066
9809
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
10067
|
-
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]],
|
|
10068
|
-
if (rf & 1) {
|
|
10069
|
-
i0__namespace.ɵɵviewQuery(_c0$G, 3);
|
|
10070
|
-
}
|
|
10071
|
-
if (rf & 2) {
|
|
10072
|
-
var _t = void 0;
|
|
10073
|
-
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tree = _t.first);
|
|
10074
|
-
}
|
|
10075
|
-
}, 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) {
|
|
9810
|
+
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 4, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
10076
9811
|
if (rf & 1) {
|
|
10077
9812
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
10078
|
-
i0__namespace.ɵɵ
|
|
10079
|
-
i0__namespace.ɵɵ
|
|
10080
|
-
i0__namespace.ɵɵ
|
|
10081
|
-
i0__namespace.ɵɵelementStart(3, "div");
|
|
10082
|
-
i0__namespace.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
|
|
10083
|
-
i0__namespace.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_4_listener() { return ctx.sortDataSourceAscAlphabetically(); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_4_listener() { return ctx.sortDataSourceDescAlphabetically(); });
|
|
10084
|
-
i0__namespace.ɵɵelementEnd();
|
|
9813
|
+
i0__namespace.ɵɵelement(1, "div", 1);
|
|
9814
|
+
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
9815
|
+
i0__namespace.ɵɵtext(3);
|
|
10085
9816
|
i0__namespace.ɵɵelementEnd();
|
|
10086
9817
|
i0__namespace.ɵɵelementEnd();
|
|
10087
|
-
i0__namespace.ɵɵelementStart(
|
|
10088
|
-
i0__namespace.ɵɵelementStart(
|
|
10089
|
-
i0__namespace.ɵɵtemplate(
|
|
10090
|
-
i0__namespace.ɵɵtemplate(
|
|
9818
|
+
i0__namespace.ɵɵelementStart(4, "div", 3);
|
|
9819
|
+
i0__namespace.ɵɵelementStart(5, "cdk-tree", 4);
|
|
9820
|
+
i0__namespace.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 6, 1, "cdk-nested-tree-node", 5);
|
|
9821
|
+
i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 10, 5, "cdk-nested-tree-node", 6);
|
|
10091
9822
|
i0__namespace.ɵɵelementEnd();
|
|
10092
9823
|
i0__namespace.ɵɵelementEnd();
|
|
10093
9824
|
}
|
|
10094
9825
|
if (rf & 2) {
|
|
10095
|
-
i0__namespace.ɵɵadvance(6);
|
|
10096
|
-
i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
10097
9826
|
i0__namespace.ɵɵadvance(3);
|
|
9827
|
+
i0__namespace.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
9828
|
+
i0__namespace.ɵɵadvance(2);
|
|
9829
|
+
i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
9830
|
+
i0__namespace.ɵɵadvance(2);
|
|
10098
9831
|
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
10099
9832
|
}
|
|
10100
|
-
}, directives: [
|
|
9833
|
+
}, directives: [i1__namespace$5.CdkTree, i1__namespace$5.CdkTreeNodeDef, i1__namespace$5.CdkNestedTreeNode, i1__namespace$5.CdkTreeNodeToggle, i1__namespace$5.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{height:60px;border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0}.node__iconImg[_ngcontent-%COMP%]{height:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff}.node__name[_ngcontent-%COMP%]{margin-left:6px}"] });
|
|
10101
9834
|
(function () {
|
|
10102
9835
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
10103
9836
|
type: i0.Component,
|
|
10104
9837
|
args: [{
|
|
10105
9838
|
selector: 'ccd-case-file-view-folder',
|
|
10106
|
-
templateUrl: './case-file-view-folder.component.html',
|
|
10107
9839
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
9840
|
+
templateUrl: './case-file-view-folder.component.html'
|
|
10108
9841
|
}]
|
|
10109
9842
|
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
10110
9843
|
type: i0.Input
|
|
10111
|
-
}], tree: [{
|
|
10112
|
-
type: i0.ViewChild,
|
|
10113
|
-
args: ['tree', { static: true }]
|
|
10114
9844
|
}] });
|
|
10115
9845
|
})();
|
|
10116
9846
|
|
|
@@ -10997,7 +10727,7 @@
|
|
|
10997
10727
|
};
|
|
10998
10728
|
return WriteCollectionFieldComponent;
|
|
10999
10729
|
}(AbstractFieldWriteComponent));
|
|
11000
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace
|
|
10730
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
11001
10731
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
11002
10732
|
if (rf & 1) {
|
|
11003
10733
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -11046,7 +10776,7 @@
|
|
|
11046
10776
|
templateUrl: './write-collection-field.html',
|
|
11047
10777
|
styleUrls: ['./collection-field.scss']
|
|
11048
10778
|
}]
|
|
11049
|
-
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace
|
|
10779
|
+
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
11050
10780
|
type: i0.Input
|
|
11051
10781
|
}], formGroup: [{
|
|
11052
10782
|
type: i0.Input
|
|
@@ -19981,9 +19711,7 @@
|
|
|
19981
19711
|
WriteCollectionFieldComponent,
|
|
19982
19712
|
// ComponentLauncher web components
|
|
19983
19713
|
CaseFileViewFieldComponent,
|
|
19984
|
-
CaseFileViewFolderComponent
|
|
19985
|
-
CaseFileViewFolderSortComponent,
|
|
19986
|
-
CaseFileViewOverlayMenuComponent
|
|
19714
|
+
CaseFileViewFolderComponent
|
|
19987
19715
|
];
|
|
19988
19716
|
var PaletteModule = /** @class */ (function () {
|
|
19989
19717
|
function PaletteModule() {
|
|
@@ -20023,10 +19751,9 @@
|
|
|
20023
19751
|
input.MatInputModule,
|
|
20024
19752
|
i5.MatDatepickerModule,
|
|
20025
19753
|
i5$1.MatAutocompleteModule,
|
|
20026
|
-
|
|
20027
|
-
i1$5.OverlayModule,
|
|
19754
|
+
i1$5.CdkTreeModule,
|
|
20028
19755
|
i3.PaymentLibModule,
|
|
20029
|
-
i2
|
|
19756
|
+
i2.ScrollToModule.forRoot()
|
|
20030
19757
|
], i4.NgxMatDatetimePickerModule,
|
|
20031
19758
|
i4.NgxMatNativeDateModule,
|
|
20032
19759
|
i4.NgxMatTimepickerModule,
|
|
@@ -20109,9 +19836,7 @@
|
|
|
20109
19836
|
WriteCollectionFieldComponent,
|
|
20110
19837
|
// ComponentLauncher web components
|
|
20111
19838
|
CaseFileViewFieldComponent,
|
|
20112
|
-
CaseFileViewFolderComponent,
|
|
20113
|
-
CaseFileViewFolderSortComponent,
|
|
20114
|
-
CaseFileViewOverlayMenuComponent, CaseFileViewOverlayMenuComponent], imports: [i1.CommonModule,
|
|
19839
|
+
CaseFileViewFolderComponent], imports: [i1.CommonModule,
|
|
20115
19840
|
i1$1.RouterModule,
|
|
20116
19841
|
i1$2.FormsModule,
|
|
20117
19842
|
i1$2.ReactiveFormsModule,
|
|
@@ -20132,9 +19857,8 @@
|
|
|
20132
19857
|
input.MatInputModule,
|
|
20133
19858
|
i5.MatDatepickerModule,
|
|
20134
19859
|
i5$1.MatAutocompleteModule,
|
|
20135
|
-
|
|
20136
|
-
|
|
20137
|
-
i3.PaymentLibModule, i2__namespace$1.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
19860
|
+
i1$5.CdkTreeModule,
|
|
19861
|
+
i3.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
20138
19862
|
i4.NgxMatNativeDateModule,
|
|
20139
19863
|
i4.NgxMatTimepickerModule,
|
|
20140
19864
|
TabsModule,
|
|
@@ -20210,9 +19934,7 @@
|
|
|
20210
19934
|
WriteCollectionFieldComponent,
|
|
20211
19935
|
// ComponentLauncher web components
|
|
20212
19936
|
CaseFileViewFieldComponent,
|
|
20213
|
-
CaseFileViewFolderComponent
|
|
20214
|
-
CaseFileViewFolderSortComponent,
|
|
20215
|
-
CaseFileViewOverlayMenuComponent] });
|
|
19937
|
+
CaseFileViewFolderComponent] });
|
|
20216
19938
|
})();
|
|
20217
19939
|
(function () {
|
|
20218
19940
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -20240,10 +19962,9 @@
|
|
|
20240
19962
|
input.MatInputModule,
|
|
20241
19963
|
i5.MatDatepickerModule,
|
|
20242
19964
|
i5$1.MatAutocompleteModule,
|
|
20243
|
-
|
|
20244
|
-
i1$5.OverlayModule,
|
|
19965
|
+
i1$5.CdkTreeModule,
|
|
20245
19966
|
i3.PaymentLibModule,
|
|
20246
|
-
i2
|
|
19967
|
+
i2.ScrollToModule.forRoot()
|
|
20247
19968
|
],
|
|
20248
19969
|
declarations: __spread([
|
|
20249
19970
|
FixedListPipe,
|
|
@@ -20251,9 +19972,7 @@
|
|
|
20251
19972
|
DynamicListPipe,
|
|
20252
19973
|
DynamicRadioListPipe,
|
|
20253
19974
|
DocumentUrlPipe
|
|
20254
|
-
], PALETTE_COMPONENTS,
|
|
20255
|
-
CaseFileViewOverlayMenuComponent,
|
|
20256
|
-
]),
|
|
19975
|
+
], PALETTE_COMPONENTS),
|
|
20257
19976
|
exports: __spread([
|
|
20258
19977
|
i4.NgxMatDatetimePickerModule,
|
|
20259
19978
|
i4.NgxMatNativeDateModule,
|
|
@@ -28760,8 +28479,6 @@
|
|
|
28760
28479
|
exports.CaseFieldService = CaseFieldService;
|
|
28761
28480
|
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
28762
28481
|
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
28763
|
-
exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
|
|
28764
|
-
exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
|
|
28765
28482
|
exports.CaseFileViewService = CaseFileViewService;
|
|
28766
28483
|
exports.CaseFullAccessViewComponent = CaseFullAccessViewComponent;
|
|
28767
28484
|
exports.CaseHeaderComponent = CaseHeaderComponent;
|