@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-media-viewer-integration → 5.0.25-case-file-view-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 +614 -159
- 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/loading-spinner/loading-spinner.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +7 -10
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.js +46 -0
- 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 +38 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +160 -54
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +4 -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 +100 -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 +23 -10
- package/esm2015/lib/shared/components/search-result/search-result.component.js +12 -10
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +93 -0
- package/esm2015/lib/shared/domain/case-file-view/index.js +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +529 -134
- 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-document-actions/case-file-view-folder-document-actions.component.d.ts +15 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.d.ts.map +1 -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 +13 -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 -1
- 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 +3 -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 +13 -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 +26 -23
- 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 -2
- package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +0 -7
- package/lib/shared/domain/case-file-view/document-tree-node.model.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('@
|
|
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', '@
|
|
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.
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5,
|
|
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/cdk/overlay'), 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/cdk/overlay', '@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.cdk.overlay, 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, i2, i1$5, i1$6, i2$1, 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,11 +33,11 @@
|
|
|
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);
|
|
36
37
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
37
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
38
38
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
39
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
40
|
-
var i4__namespace
|
|
39
|
+
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
40
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
41
41
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
42
42
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
43
43
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
@@ -116,17 +116,17 @@
|
|
|
116
116
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
var _c0$
|
|
120
|
-
var _c1$
|
|
119
|
+
var _c0$R = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
120
|
+
var _c1$o = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
121
121
|
var FooterComponent = /** @class */ (function () {
|
|
122
122
|
function FooterComponent() {
|
|
123
123
|
}
|
|
124
124
|
return FooterComponent;
|
|
125
125
|
}());
|
|
126
126
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
127
|
-
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$
|
|
127
|
+
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$o, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
|
|
128
128
|
if (rf & 1) {
|
|
129
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
129
|
+
i0__namespace.ɵɵprojectionDef(_c0$R);
|
|
130
130
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
131
131
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
132
132
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -205,8 +205,8 @@
|
|
|
205
205
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var _c0$
|
|
209
|
-
var _c1$
|
|
208
|
+
var _c0$Q = [[["", "headerNavigation", ""]]];
|
|
209
|
+
var _c1$n = ["[headerNavigation]"];
|
|
210
210
|
var HeaderBarComponent = /** @class */ (function () {
|
|
211
211
|
function HeaderBarComponent() {
|
|
212
212
|
this.signOutRequest = new i0.EventEmitter();
|
|
@@ -217,9 +217,9 @@
|
|
|
217
217
|
return HeaderBarComponent;
|
|
218
218
|
}());
|
|
219
219
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
220
|
-
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$
|
|
220
|
+
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$n, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
|
|
221
221
|
if (rf & 1) {
|
|
222
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
222
|
+
i0__namespace.ɵɵprojectionDef(_c0$Q);
|
|
223
223
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
224
224
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
225
225
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -280,17 +280,17 @@
|
|
|
280
280
|
}] });
|
|
281
281
|
})();
|
|
282
282
|
|
|
283
|
-
var _c0$
|
|
284
|
-
var _c1$
|
|
283
|
+
var _c0$P = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
284
|
+
var _c1$m = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
285
285
|
var NavigationComponent = /** @class */ (function () {
|
|
286
286
|
function NavigationComponent() {
|
|
287
287
|
}
|
|
288
288
|
return NavigationComponent;
|
|
289
289
|
}());
|
|
290
290
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
291
|
-
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$
|
|
291
|
+
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$m, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
292
292
|
if (rf & 1) {
|
|
293
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
293
|
+
i0__namespace.ɵɵprojectionDef(_c0$P);
|
|
294
294
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
295
295
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
296
296
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -435,17 +435,17 @@
|
|
|
435
435
|
}], null, null);
|
|
436
436
|
})();
|
|
437
437
|
|
|
438
|
-
var _c0$
|
|
439
|
-
var _c1$
|
|
438
|
+
var _c0$O = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
439
|
+
var _c1$l = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
440
440
|
var BodyComponent = /** @class */ (function () {
|
|
441
441
|
function BodyComponent() {
|
|
442
442
|
}
|
|
443
443
|
return BodyComponent;
|
|
444
444
|
}());
|
|
445
445
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
446
|
-
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$
|
|
446
|
+
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$l, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
447
447
|
if (rf & 1) {
|
|
448
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
448
|
+
i0__namespace.ɵɵprojectionDef(_c0$O);
|
|
449
449
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
450
450
|
i0__namespace.ɵɵprojection(1);
|
|
451
451
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
var _c0$
|
|
795
|
+
var _c0$N = function (a0) { return { "govuk-input--error": a0 }; };
|
|
796
796
|
function DateInputComponent_div_16_Template(rf, ctx) {
|
|
797
797
|
if (rf & 1) {
|
|
798
798
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
i0__namespace.ɵɵadvance(1);
|
|
811
811
|
i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
|
|
812
812
|
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$
|
|
813
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r3.isInvalid));
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
function DateInputComponent_div_17_Template(rf, ctx) {
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
i0__namespace.ɵɵadvance(1);
|
|
831
831
|
i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
|
|
832
832
|
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$
|
|
833
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r4.isInvalid));
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
function DateInputComponent_div_18_Template(rf, ctx) {
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
i0__namespace.ɵɵadvance(1);
|
|
851
851
|
i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
|
|
852
852
|
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$
|
|
853
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$N, ctx_r5.isInvalid));
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1084,15 +1084,15 @@
|
|
|
1084
1084
|
i0__namespace.ɵɵadvance(2);
|
|
1085
1085
|
i0__namespace.ɵɵproperty("for", ctx.dayId());
|
|
1086
1086
|
i0__namespace.ɵɵadvance(2);
|
|
1087
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$
|
|
1087
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$N, ctx.isInvalid));
|
|
1088
1088
|
i0__namespace.ɵɵadvance(3);
|
|
1089
1089
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1090
1090
|
i0__namespace.ɵɵadvance(2);
|
|
1091
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$
|
|
1091
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$N, ctx.isInvalid));
|
|
1092
1092
|
i0__namespace.ɵɵadvance(3);
|
|
1093
1093
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1094
1094
|
i0__namespace.ɵɵadvance(2);
|
|
1095
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$
|
|
1095
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$N, ctx.isInvalid));
|
|
1096
1096
|
i0__namespace.ɵɵadvance(2);
|
|
1097
1097
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1098
1098
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
|
-
var _c0$
|
|
1176
|
+
var _c0$M = ["*"];
|
|
1177
1177
|
exports.AlertMessageType = void 0;
|
|
1178
1178
|
(function (AlertMessageType) {
|
|
1179
1179
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1194,7 +1194,7 @@
|
|
|
1194
1194
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1195
1195
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1196
1196
|
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$
|
|
1197
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$M, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1198
1198
|
if (rf & 1) {
|
|
1199
1199
|
i0__namespace.ɵɵprojectionDef();
|
|
1200
1200
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1300,15 +1300,15 @@
|
|
|
1300
1300
|
}], null, null);
|
|
1301
1301
|
})();
|
|
1302
1302
|
|
|
1303
|
-
var _c0$
|
|
1304
|
-
var _c1$
|
|
1303
|
+
var _c0$L = function (a0) { return { "js-hidden": a0 }; };
|
|
1304
|
+
var _c1$k = ["*"];
|
|
1305
1305
|
var TabComponent = /** @class */ (function () {
|
|
1306
1306
|
function TabComponent() {
|
|
1307
1307
|
}
|
|
1308
1308
|
return TabComponent;
|
|
1309
1309
|
}());
|
|
1310
1310
|
TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
|
|
1311
|
-
TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$
|
|
1311
|
+
TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$k, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
|
|
1312
1312
|
if (rf & 1) {
|
|
1313
1313
|
i0__namespace.ɵɵprojectionDef();
|
|
1314
1314
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1316,7 +1316,7 @@
|
|
|
1316
1316
|
i0__namespace.ɵɵelementEnd();
|
|
1317
1317
|
}
|
|
1318
1318
|
if (rf & 2) {
|
|
1319
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1319
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$L, !ctx.selected));
|
|
1320
1320
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1321
1321
|
}
|
|
1322
1322
|
}, 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,8 +1339,8 @@
|
|
|
1339
1339
|
}] });
|
|
1340
1340
|
})();
|
|
1341
1341
|
|
|
1342
|
-
var _c0$
|
|
1343
|
-
var _c1$
|
|
1342
|
+
var _c0$K = ["tab"];
|
|
1343
|
+
var _c1$j = function () { return ["."]; };
|
|
1344
1344
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1345
1345
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
1346
1346
|
if (rf & 1) {
|
|
@@ -1355,7 +1355,7 @@
|
|
|
1355
1355
|
if (rf & 2) {
|
|
1356
1356
|
var panel_r1 = ctx.$implicit;
|
|
1357
1357
|
i0__namespace.ɵɵadvance(1);
|
|
1358
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$
|
|
1358
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$j))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
|
|
1359
1359
|
i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
|
|
1360
1360
|
i0__namespace.ɵɵadvance(2);
|
|
1361
1361
|
i0__namespace.ɵɵtextInterpolate(panel_r1.title);
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
}
|
|
1394
1394
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1395
1395
|
if (rf & 1) {
|
|
1396
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1396
|
+
i0__namespace.ɵɵviewQuery(_c0$K, 1);
|
|
1397
1397
|
}
|
|
1398
1398
|
if (rf & 2) {
|
|
1399
1399
|
var _t = void 0;
|
|
@@ -1472,7 +1472,7 @@
|
|
|
1472
1472
|
}], null, null);
|
|
1473
1473
|
})();
|
|
1474
1474
|
|
|
1475
|
-
var _c0$
|
|
1475
|
+
var _c0$J = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1476
1476
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1477
1477
|
function ActivityBannerComponent() {
|
|
1478
1478
|
}
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
i0__namespace.ɵɵelementEnd();
|
|
1494
1494
|
}
|
|
1495
1495
|
if (rf & 2) {
|
|
1496
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$
|
|
1496
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$J, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1497
1497
|
i0__namespace.ɵɵadvance(2);
|
|
1498
1498
|
i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1499
1499
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -9203,7 +9203,7 @@
|
|
|
9203
9203
|
}], null, null);
|
|
9204
9204
|
})();
|
|
9205
9205
|
|
|
9206
|
-
var _c0$
|
|
9206
|
+
var _c0$I = ["writeComplexFieldComponent"];
|
|
9207
9207
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
|
|
9208
9208
|
if (rf & 1) {
|
|
9209
9209
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -9211,7 +9211,7 @@
|
|
|
9211
9211
|
i0__namespace.ɵɵelementEnd();
|
|
9212
9212
|
}
|
|
9213
9213
|
}
|
|
9214
|
-
var _c1$
|
|
9214
|
+
var _c1$i = function (a0) { return { "form-group-error": a0 }; };
|
|
9215
9215
|
var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
9216
9216
|
function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
|
|
9217
9217
|
if (rf & 1) {
|
|
@@ -9232,7 +9232,7 @@
|
|
|
9232
9232
|
}
|
|
9233
9233
|
if (rf & 2) {
|
|
9234
9234
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
9235
|
-
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$
|
|
9235
|
+
i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$i, ctx_r2.missingPostcode));
|
|
9236
9236
|
i0__namespace.ɵɵadvance(1);
|
|
9237
9237
|
i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
|
|
9238
9238
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -9417,7 +9417,7 @@
|
|
|
9417
9417
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
9418
9418
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
9419
9419
|
if (rf & 1) {
|
|
9420
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
9420
|
+
i0__namespace.ɵɵviewQuery(_c0$I, 1);
|
|
9421
9421
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
9422
9422
|
}
|
|
9423
9423
|
if (rf & 2) {
|
|
@@ -9459,52 +9459,391 @@
|
|
|
9459
9459
|
}] });
|
|
9460
9460
|
})();
|
|
9461
9461
|
|
|
9462
|
-
function
|
|
9462
|
+
var CaseFileViewCategory = /** @class */ (function () {
|
|
9463
|
+
function CaseFileViewCategory() {
|
|
9464
|
+
}
|
|
9465
|
+
return CaseFileViewCategory;
|
|
9466
|
+
}());
|
|
9467
|
+
|
|
9468
|
+
var CaseFileViewDocument = /** @class */ (function () {
|
|
9469
|
+
function CaseFileViewDocument() {
|
|
9470
|
+
}
|
|
9471
|
+
return CaseFileViewDocument;
|
|
9472
|
+
}());
|
|
9473
|
+
|
|
9474
|
+
/**
|
|
9475
|
+
* DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
|
|
9476
|
+
* @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
|
|
9477
|
+
*/
|
|
9478
|
+
var CategoriesAndDocuments = /** @class */ (function () {
|
|
9479
|
+
function CategoriesAndDocuments() {
|
|
9480
|
+
}
|
|
9481
|
+
return CategoriesAndDocuments;
|
|
9482
|
+
}());
|
|
9483
|
+
|
|
9484
|
+
var DocumentTreeNode = /** @class */ (function () {
|
|
9485
|
+
function DocumentTreeNode() {
|
|
9486
|
+
}
|
|
9487
|
+
Object.defineProperty(DocumentTreeNode.prototype, "childDocumentCount", {
|
|
9488
|
+
get: function () {
|
|
9489
|
+
var countChildren = function (childNodes) {
|
|
9490
|
+
var count = 0;
|
|
9491
|
+
if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
|
|
9492
|
+
var documents = childNodes.filter(function (item) { return item.type === 'document'; });
|
|
9493
|
+
count += documents.length;
|
|
9494
|
+
childNodes.forEach(function (children) {
|
|
9495
|
+
count += countChildren(children.children);
|
|
9496
|
+
});
|
|
9497
|
+
}
|
|
9498
|
+
return count;
|
|
9499
|
+
};
|
|
9500
|
+
return countChildren(this.children);
|
|
9501
|
+
},
|
|
9502
|
+
enumerable: false,
|
|
9503
|
+
configurable: true
|
|
9504
|
+
});
|
|
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
|
+
// flattenedNodes.push(nodeChild);
|
|
9558
|
+
nodeChild.children.forEach(function (child) {
|
|
9559
|
+
flattenedNodes.push(flattenChildren(child));
|
|
9560
|
+
});
|
|
9561
|
+
}
|
|
9562
|
+
return flattenedNodes.flat();
|
|
9563
|
+
};
|
|
9564
|
+
return __spread([
|
|
9565
|
+
this
|
|
9566
|
+
], (_a = this.children) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
9567
|
+
return flattenChildren(item);
|
|
9568
|
+
}).flat());
|
|
9569
|
+
},
|
|
9570
|
+
enumerable: false,
|
|
9571
|
+
configurable: true
|
|
9572
|
+
});
|
|
9573
|
+
return DocumentTreeNode;
|
|
9574
|
+
}());
|
|
9575
|
+
__decorate([
|
|
9576
|
+
classTransformer.Type(function () { return DocumentTreeNode; }),
|
|
9577
|
+
__metadata("design:type", Array)
|
|
9578
|
+
], DocumentTreeNode.prototype, "children", void 0);
|
|
9579
|
+
__decorate([
|
|
9580
|
+
classTransformer.Expose(),
|
|
9581
|
+
__metadata("design:type", Object),
|
|
9582
|
+
__metadata("design:paramtypes", [])
|
|
9583
|
+
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
9584
|
+
|
|
9585
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) {
|
|
9463
9586
|
if (rf & 1) {
|
|
9464
|
-
i0__namespace.ɵɵ
|
|
9465
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9466
|
-
i0__namespace.ɵɵ
|
|
9467
|
-
i0__namespace.ɵɵ
|
|
9587
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
9588
|
+
i0__namespace.ɵɵelementStart(1, "div", 6);
|
|
9589
|
+
i0__namespace.ɵɵtext(2);
|
|
9590
|
+
i0__namespace.ɵɵelementEnd();
|
|
9591
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
9592
|
+
}
|
|
9593
|
+
if (rf & 2) {
|
|
9594
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
9595
|
+
i0__namespace.ɵɵadvance(2);
|
|
9596
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
9597
|
+
}
|
|
9598
|
+
}
|
|
9599
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template(rf, ctx) {
|
|
9600
|
+
if (rf & 1) {
|
|
9601
|
+
i0__namespace.ɵɵelement(0, "img", 10);
|
|
9602
|
+
}
|
|
9603
|
+
if (rf & 2) {
|
|
9604
|
+
var item_r4 = i0__namespace.ɵɵnextContext().$implicit;
|
|
9605
|
+
var ctx_r5 = i0__namespace.ɵɵnextContext(2);
|
|
9606
|
+
i0__namespace.ɵɵpropertyInterpolate1("alt", "", ctx_r5.title, " icon'");
|
|
9607
|
+
i0__namespace.ɵɵproperty("src", item_r4.iconSrc, i0__namespace.ɵɵsanitizeUrl);
|
|
9608
|
+
}
|
|
9609
|
+
}
|
|
9610
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template(rf, ctx) {
|
|
9611
|
+
if (rf & 1) {
|
|
9612
|
+
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
9613
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
9614
|
+
i0__namespace.ɵɵelementStart(1, "div", 7);
|
|
9615
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var item_r4 = ctx.$implicit; var ctx_r7 = i0__namespace.ɵɵnextContext(2); item_r4.actionFn(); return ctx_r7.closeOverlay(); });
|
|
9616
|
+
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_img_2_Template, 1, 2, "img", 8);
|
|
9617
|
+
i0__namespace.ɵɵelementStart(3, "div", 9);
|
|
9468
9618
|
i0__namespace.ɵɵtext(4);
|
|
9469
9619
|
i0__namespace.ɵɵelementEnd();
|
|
9470
9620
|
i0__namespace.ɵɵelementEnd();
|
|
9621
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
9622
|
+
}
|
|
9623
|
+
if (rf & 2) {
|
|
9624
|
+
var item_r4 = ctx.$implicit;
|
|
9625
|
+
i0__namespace.ɵɵadvance(2);
|
|
9626
|
+
i0__namespace.ɵɵproperty("ngIf", item_r4.iconSrc);
|
|
9627
|
+
i0__namespace.ɵɵadvance(2);
|
|
9628
|
+
i0__namespace.ɵɵtextInterpolate(item_r4.actionText);
|
|
9629
|
+
}
|
|
9630
|
+
}
|
|
9631
|
+
function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) {
|
|
9632
|
+
if (rf & 1) {
|
|
9633
|
+
i0__namespace.ɵɵelementStart(0, "div", 3);
|
|
9634
|
+
i0__namespace.ɵɵtemplate(1, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template, 3, 1, "ng-container", 4);
|
|
9635
|
+
i0__namespace.ɵɵtemplate(2, CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_2_Template, 5, 2, "ng-container", 5);
|
|
9471
9636
|
i0__namespace.ɵɵelementEnd();
|
|
9472
9637
|
}
|
|
9473
9638
|
if (rf & 2) {
|
|
9474
|
-
var
|
|
9475
|
-
i0__namespace.ɵɵadvance(
|
|
9476
|
-
i0__namespace.ɵɵ
|
|
9639
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
9640
|
+
i0__namespace.ɵɵadvance(1);
|
|
9641
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r1.title);
|
|
9642
|
+
i0__namespace.ɵɵadvance(1);
|
|
9643
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
9477
9644
|
}
|
|
9478
9645
|
}
|
|
9479
|
-
|
|
9646
|
+
var _c0$H = [[["", "trigger", ""]]];
|
|
9647
|
+
var _c1$h = ["[trigger]"];
|
|
9648
|
+
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
9649
|
+
function CaseFileViewOverlayMenuComponent() {
|
|
9650
|
+
this.title = '';
|
|
9651
|
+
this.isOpen = false;
|
|
9652
|
+
this.isOpenChange = new i0.EventEmitter();
|
|
9653
|
+
}
|
|
9654
|
+
CaseFileViewOverlayMenuComponent.prototype.closeOverlay = function () {
|
|
9655
|
+
var isOpen = false;
|
|
9656
|
+
this.isOpen = isOpen;
|
|
9657
|
+
this.isOpenChange.emit(isOpen);
|
|
9658
|
+
};
|
|
9659
|
+
return CaseFileViewOverlayMenuComponent;
|
|
9660
|
+
}());
|
|
9661
|
+
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
9662
|
+
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$h, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
|
|
9663
|
+
if (rf & 1) {
|
|
9664
|
+
i0__namespace.ɵɵprojectionDef(_c0$H);
|
|
9665
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
9666
|
+
i0__namespace.ɵɵelementStart(1, "button", 0, 1);
|
|
9667
|
+
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener() { return ctx.isOpen = !ctx.isOpen; });
|
|
9668
|
+
i0__namespace.ɵɵprojection(3);
|
|
9669
|
+
i0__namespace.ɵɵelementEnd();
|
|
9670
|
+
i0__namespace.ɵɵtemplate(4, CaseFileViewOverlayMenuComponent_ng_template_4_Template, 3, 2, "ng-template", 2);
|
|
9671
|
+
i0__namespace.ɵɵlistener("backdropClick", function CaseFileViewOverlayMenuComponent_Template_ng_template_backdropClick_4_listener() { return ctx.closeOverlay(); });
|
|
9672
|
+
i0__namespace.ɵɵelementEnd();
|
|
9673
|
+
}
|
|
9674
|
+
if (rf & 2) {
|
|
9675
|
+
var _r0 = i0__namespace.ɵɵreference(2);
|
|
9676
|
+
i0__namespace.ɵɵadvance(4);
|
|
9677
|
+
i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
9678
|
+
}
|
|
9679
|
+
}, directives: [i1__namespace$5.CdkOverlayOrigin, i1__namespace$5.CdkConnectedOverlay, i1__namespace.NgIf, i1__namespace.NgForOf], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-6px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__item[_ngcontent-%COMP%], .overlay-menu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__item[_ngcontent-%COMP%]:last-child, .overlay-menu__title[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
9680
|
+
(function () {
|
|
9681
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
9682
|
+
type: i0.Component,
|
|
9683
|
+
args: [{
|
|
9684
|
+
selector: 'ccd-case-file-view-overlay-menu',
|
|
9685
|
+
templateUrl: './case-file-view-overlay-menu.component.html',
|
|
9686
|
+
styleUrls: ['./case-file-view-overlay-menu.component.scss']
|
|
9687
|
+
}]
|
|
9688
|
+
}], null, { title: [{
|
|
9689
|
+
type: i0.Input
|
|
9690
|
+
}], menuItems: [{
|
|
9691
|
+
type: i0.Input
|
|
9692
|
+
}], isOpen: [{
|
|
9693
|
+
type: i0.Input
|
|
9694
|
+
}], isOpenChange: [{
|
|
9695
|
+
type: i0.Output
|
|
9696
|
+
}] });
|
|
9697
|
+
})();
|
|
9698
|
+
|
|
9699
|
+
var CaseFileViewFolderSortComponent = /** @class */ (function () {
|
|
9700
|
+
function CaseFileViewFolderSortComponent() {
|
|
9701
|
+
var _this = this;
|
|
9702
|
+
this.isOpen = false;
|
|
9703
|
+
this.sortAscending = new i0.EventEmitter();
|
|
9704
|
+
this.sortDescending = new i0.EventEmitter();
|
|
9705
|
+
this.overlayMenuItems = [
|
|
9706
|
+
{ actionText: 'A to Z descending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(); } },
|
|
9707
|
+
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(); } },
|
|
9708
|
+
];
|
|
9709
|
+
}
|
|
9710
|
+
return CaseFileViewFolderSortComponent;
|
|
9711
|
+
}());
|
|
9712
|
+
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
9713
|
+
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "title", "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
|
|
9714
|
+
if (rf & 1) {
|
|
9715
|
+
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
9716
|
+
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
|
|
9717
|
+
i0__namespace.ɵɵelementContainerStart(1, 1);
|
|
9718
|
+
i0__namespace.ɵɵelement(2, "img", 2);
|
|
9719
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
9720
|
+
i0__namespace.ɵɵelementEnd();
|
|
9721
|
+
}
|
|
9722
|
+
if (rf & 2) {
|
|
9723
|
+
i0__namespace.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
9724
|
+
}
|
|
9725
|
+
}, directives: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{display:block;height:20px;margin-right:-2px}"] });
|
|
9726
|
+
(function () {
|
|
9727
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
9728
|
+
type: i0.Component,
|
|
9729
|
+
args: [{
|
|
9730
|
+
selector: 'ccd-case-file-view-folder-sort',
|
|
9731
|
+
templateUrl: './case-file-view-folder-sort.component.html',
|
|
9732
|
+
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
9733
|
+
}]
|
|
9734
|
+
}], function () { return []; }, { sortAscending: [{
|
|
9735
|
+
type: i0.Output
|
|
9736
|
+
}], sortDescending: [{
|
|
9737
|
+
type: i0.Output
|
|
9738
|
+
}] });
|
|
9739
|
+
})();
|
|
9740
|
+
|
|
9741
|
+
var CaseFileViewFolderDocumentActionsComponent = /** @class */ (function () {
|
|
9742
|
+
function CaseFileViewFolderDocumentActionsComponent() {
|
|
9743
|
+
var _this = this;
|
|
9744
|
+
this.isOpen = false;
|
|
9745
|
+
this.changeFolderAction = new i0.EventEmitter();
|
|
9746
|
+
this.openInANewTabAction = new i0.EventEmitter();
|
|
9747
|
+
this.downloadAction = new i0.EventEmitter();
|
|
9748
|
+
this.printAction = new i0.EventEmitter();
|
|
9749
|
+
this.overlayMenuItems = [
|
|
9750
|
+
{ actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: function () { return _this.changeFolderAction.emit(); } },
|
|
9751
|
+
{ actionText: 'Open in a new tab', iconSrc: '/assets/img/case-file-view/document-menu/open_in_new.svg', actionFn: function () { return _this.openInANewTabAction.emit(); } },
|
|
9752
|
+
{ actionText: 'Download', iconSrc: '/assets/img/case-file-view/document-menu/download.svg', actionFn: function () { return _this.downloadAction.emit(); } },
|
|
9753
|
+
{ actionText: 'Print', iconSrc: '/assets/img/case-file-view/document-menu/print.svg', actionFn: function () { return _this.printAction.emit(); } },
|
|
9754
|
+
];
|
|
9755
|
+
}
|
|
9756
|
+
return CaseFileViewFolderDocumentActionsComponent;
|
|
9757
|
+
}());
|
|
9758
|
+
CaseFileViewFolderDocumentActionsComponent.ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(t) { return new (t || CaseFileViewFolderDocumentActionsComponent)(); };
|
|
9759
|
+
CaseFileViewFolderDocumentActionsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderDocumentActionsComponent, selectors: [["ccd-case-file-view-folder-document-actions"]], outputs: { changeFolderAction: "changeFolderAction", openInANewTabAction: "openInANewTabAction", downloadAction: "downloadAction", printAction: "printAction" }, decls: 3, vars: 2, consts: [[3, "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/case-file-view/document-menu/more_vert.svg", "alt", "More document options", 1, "actions-trigger-icon"]], template: function CaseFileViewFolderDocumentActionsComponent_Template(rf, ctx) {
|
|
9760
|
+
if (rf & 1) {
|
|
9761
|
+
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
9762
|
+
i0__namespace.ɵɵlistener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { return ctx.isOpen = $event; });
|
|
9763
|
+
i0__namespace.ɵɵelementContainerStart(1, 1);
|
|
9764
|
+
i0__namespace.ɵɵelement(2, "img", 2);
|
|
9765
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
9766
|
+
i0__namespace.ɵɵelementEnd();
|
|
9767
|
+
}
|
|
9768
|
+
if (rf & 2) {
|
|
9769
|
+
i0__namespace.ɵɵproperty("menuItems", ctx.overlayMenuItems)("isOpen", ctx.isOpen);
|
|
9770
|
+
}
|
|
9771
|
+
}, directives: [CaseFileViewOverlayMenuComponent], styles: [".actions-trigger-icon[_ngcontent-%COMP%]{display:block;height:24px;margin-right:-5px}"] });
|
|
9772
|
+
(function () {
|
|
9773
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderDocumentActionsComponent, [{
|
|
9774
|
+
type: i0.Component,
|
|
9775
|
+
args: [{
|
|
9776
|
+
selector: 'ccd-case-file-view-folder-document-actions',
|
|
9777
|
+
templateUrl: './case-file-view-folder-document-actions.component.html',
|
|
9778
|
+
styleUrls: ['./case-file-view-folder-document-actions.component.scss']
|
|
9779
|
+
}]
|
|
9780
|
+
}], function () { return []; }, { changeFolderAction: [{
|
|
9781
|
+
type: i0.Output
|
|
9782
|
+
}], openInANewTabAction: [{
|
|
9783
|
+
type: i0.Output
|
|
9784
|
+
}], downloadAction: [{
|
|
9785
|
+
type: i0.Output
|
|
9786
|
+
}], printAction: [{
|
|
9787
|
+
type: i0.Output
|
|
9788
|
+
}] });
|
|
9789
|
+
})();
|
|
9790
|
+
|
|
9791
|
+
var _c0$G = ["tree"];
|
|
9792
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) {
|
|
9480
9793
|
if (rf & 1) {
|
|
9481
|
-
i0__namespace.ɵɵ
|
|
9482
|
-
i0__namespace.ɵɵelementStart(
|
|
9483
|
-
i0__namespace.ɵɵelementStart(
|
|
9484
|
-
i0__namespace.ɵɵelementStart(
|
|
9485
|
-
i0__namespace.ɵɵ
|
|
9794
|
+
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
9795
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
9796
|
+
i0__namespace.ɵɵelementStart(1, "button", 9);
|
|
9797
|
+
i0__namespace.ɵɵelementStart(2, "div", 10);
|
|
9798
|
+
i0__namespace.ɵɵelement(3, "img", 11);
|
|
9486
9799
|
i0__namespace.ɵɵelementEnd();
|
|
9800
|
+
i0__namespace.ɵɵelementStart(4, "span", 12);
|
|
9801
|
+
i0__namespace.ɵɵtext(5);
|
|
9487
9802
|
i0__namespace.ɵɵelementEnd();
|
|
9488
|
-
i0__namespace.ɵɵelementStart(
|
|
9489
|
-
i0__namespace.ɵɵ
|
|
9803
|
+
i0__namespace.ɵɵelementStart(6, "div", 13);
|
|
9804
|
+
i0__namespace.ɵɵelementStart(7, "ccd-case-file-view-folder-document-actions", 14);
|
|
9805
|
+
i0__namespace.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.triggerDocumentAction("changeFolder"); })("openInANewTabAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.triggerDocumentAction("openInANewTab"); })("downloadAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_downloadAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.triggerDocumentAction("download"); })("printAction", function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template_ccd_case_file_view_folder_document_actions_printAction_7_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.triggerDocumentAction("print"); });
|
|
9490
9806
|
i0__namespace.ɵɵelementEnd();
|
|
9491
9807
|
i0__namespace.ɵɵelementEnd();
|
|
9492
|
-
i0__namespace.ɵɵelementStart(7, "div");
|
|
9493
|
-
i0__namespace.ɵɵelementContainer(8, 14);
|
|
9494
9808
|
i0__namespace.ɵɵelementEnd();
|
|
9495
9809
|
i0__namespace.ɵɵelementEnd();
|
|
9496
9810
|
}
|
|
9497
9811
|
if (rf & 2) {
|
|
9498
9812
|
var node_r3 = ctx.$implicit;
|
|
9499
|
-
|
|
9500
|
-
i0__namespace.ɵɵ
|
|
9501
|
-
|
|
9813
|
+
i0__namespace.ɵɵadvance(5);
|
|
9814
|
+
i0__namespace.ɵɵtextInterpolate(node_r3.name);
|
|
9815
|
+
}
|
|
9816
|
+
}
|
|
9817
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) {
|
|
9818
|
+
if (rf & 1) {
|
|
9819
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
9820
|
+
i0__namespace.ɵɵelementStart(1, "button", 15);
|
|
9821
|
+
i0__namespace.ɵɵelementStart(2, "div", 16);
|
|
9822
|
+
i0__namespace.ɵɵelement(3, "img", 17);
|
|
9823
|
+
i0__namespace.ɵɵelementStart(4, "span", 18);
|
|
9824
|
+
i0__namespace.ɵɵtext(5);
|
|
9825
|
+
i0__namespace.ɵɵelementEnd();
|
|
9826
|
+
i0__namespace.ɵɵelementEnd();
|
|
9827
|
+
i0__namespace.ɵɵelementStart(6, "span", 19);
|
|
9828
|
+
i0__namespace.ɵɵtext(7);
|
|
9829
|
+
i0__namespace.ɵɵelementEnd();
|
|
9830
|
+
i0__namespace.ɵɵelementEnd();
|
|
9831
|
+
i0__namespace.ɵɵelementStart(8, "div");
|
|
9832
|
+
i0__namespace.ɵɵelementContainer(9, 20);
|
|
9833
|
+
i0__namespace.ɵɵelementEnd();
|
|
9834
|
+
i0__namespace.ɵɵelementEnd();
|
|
9835
|
+
}
|
|
9836
|
+
if (rf & 2) {
|
|
9837
|
+
var node_r9 = ctx.$implicit;
|
|
9838
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
9502
9839
|
i0__namespace.ɵɵadvance(2);
|
|
9503
|
-
i0__namespace.ɵɵ
|
|
9840
|
+
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r9.name);
|
|
9841
|
+
i0__namespace.ɵɵadvance(3);
|
|
9842
|
+
i0__namespace.ɵɵtextInterpolate(node_r9.childDocumentCount);
|
|
9504
9843
|
i0__namespace.ɵɵadvance(2);
|
|
9505
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
9844
|
+
i0__namespace.ɵɵtextInterpolate(node_r9.name);
|
|
9506
9845
|
i0__namespace.ɵɵadvance(1);
|
|
9507
|
-
i0__namespace.ɵɵclassProp("document-tree-invisible", !
|
|
9846
|
+
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r9));
|
|
9508
9847
|
}
|
|
9509
9848
|
}
|
|
9510
9849
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
@@ -9512,7 +9851,7 @@
|
|
|
9512
9851
|
this.categories = [];
|
|
9513
9852
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9514
9853
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9515
|
-
this.nestedTreeControl = new
|
|
9854
|
+
this.nestedTreeControl = new i2.NestedTreeControl(this.getChildren);
|
|
9516
9855
|
}
|
|
9517
9856
|
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
9518
9857
|
var _this = this;
|
|
@@ -9532,32 +9871,102 @@
|
|
|
9532
9871
|
};
|
|
9533
9872
|
CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
|
|
9534
9873
|
var _this = this;
|
|
9535
|
-
return categories.reduce(function (tree, node) {
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9874
|
+
return categories.reduce(function (tree, node) {
|
|
9875
|
+
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9876
|
+
newDocumentTreeNode.name = node.category_name;
|
|
9877
|
+
newDocumentTreeNode.type = 'category';
|
|
9878
|
+
newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
|
|
9879
|
+
return __spread(tree, [
|
|
9880
|
+
newDocumentTreeNode,
|
|
9881
|
+
]);
|
|
9882
|
+
}, []);
|
|
9541
9883
|
};
|
|
9542
9884
|
CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
|
|
9543
9885
|
var documentsToReturn = [];
|
|
9544
9886
|
documents.forEach(function (document) {
|
|
9545
|
-
|
|
9887
|
+
var documentTreeNode = new DocumentTreeNode();
|
|
9888
|
+
documentTreeNode.name = document.document_filename;
|
|
9889
|
+
documentTreeNode.type = 'document';
|
|
9890
|
+
documentsToReturn.push(documentTreeNode);
|
|
9546
9891
|
});
|
|
9547
9892
|
return documentsToReturn;
|
|
9548
9893
|
};
|
|
9549
9894
|
CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
|
|
9550
9895
|
var documents = [];
|
|
9551
9896
|
uncategorisedDocuments.forEach(function (document) {
|
|
9552
|
-
|
|
9897
|
+
var documentTreeNode = new DocumentTreeNode();
|
|
9898
|
+
documentTreeNode.name = document.document_filename;
|
|
9899
|
+
documentTreeNode.type = 'document';
|
|
9900
|
+
documents.push(documentTreeNode);
|
|
9901
|
+
});
|
|
9902
|
+
var uncategorisedNode = new DocumentTreeNode();
|
|
9903
|
+
uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
|
|
9904
|
+
uncategorisedNode.type = 'category';
|
|
9905
|
+
uncategorisedNode.children = documents;
|
|
9906
|
+
return uncategorisedNode;
|
|
9907
|
+
};
|
|
9908
|
+
CaseFileViewFolderComponent.prototype.sortDataSourceAscAlphabetically = function () {
|
|
9909
|
+
var sortedData = this.nestedDataSource.map(function (item) {
|
|
9910
|
+
item.sortChildrenAscending();
|
|
9911
|
+
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9912
|
+
newDocumentTreeNode.name = item.name;
|
|
9913
|
+
newDocumentTreeNode.type = item.type;
|
|
9914
|
+
newDocumentTreeNode.children = item.children;
|
|
9915
|
+
return newDocumentTreeNode;
|
|
9916
|
+
});
|
|
9917
|
+
this.updateNodeData(sortedData);
|
|
9918
|
+
};
|
|
9919
|
+
CaseFileViewFolderComponent.prototype.sortDataSourceDescAlphabetically = function () {
|
|
9920
|
+
var sortedData = this.nestedDataSource.map(function (item) {
|
|
9921
|
+
item.sortChildrenDescending();
|
|
9922
|
+
return item;
|
|
9553
9923
|
});
|
|
9554
|
-
|
|
9924
|
+
this.updateNodeData(sortedData);
|
|
9925
|
+
};
|
|
9926
|
+
CaseFileViewFolderComponent.prototype.triggerDocumentAction = function (actionType) {
|
|
9927
|
+
switch (actionType) {
|
|
9928
|
+
case ('changeFolder'):
|
|
9929
|
+
console.log('changeFolder!');
|
|
9930
|
+
break;
|
|
9931
|
+
case ('openInANewTab'):
|
|
9932
|
+
console.log('openInANewTab!');
|
|
9933
|
+
break;
|
|
9934
|
+
case ('download'):
|
|
9935
|
+
console.log('download!');
|
|
9936
|
+
break;
|
|
9937
|
+
case ('print'):
|
|
9938
|
+
console.log('print!');
|
|
9939
|
+
break;
|
|
9940
|
+
default:
|
|
9941
|
+
return;
|
|
9942
|
+
}
|
|
9555
9943
|
};
|
|
9556
9944
|
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
9557
9945
|
if (this.categoriesAndDocumentsSubscription) {
|
|
9558
9946
|
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
9559
9947
|
}
|
|
9560
9948
|
};
|
|
9949
|
+
CaseFileViewFolderComponent.prototype.updateNodeData = function (data) {
|
|
9950
|
+
var _this = this;
|
|
9951
|
+
var prevSelected = this.nestedTreeControl.expansionModel.selected.map(function (item) {
|
|
9952
|
+
return item.name;
|
|
9953
|
+
});
|
|
9954
|
+
this.nestedTreeControl.collapseAll();
|
|
9955
|
+
this.nestedDataSource = data.map(function (item) {
|
|
9956
|
+
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9957
|
+
newDocumentTreeNode.name = item.name;
|
|
9958
|
+
newDocumentTreeNode.type = item.type;
|
|
9959
|
+
newDocumentTreeNode.children = item.children;
|
|
9960
|
+
return newDocumentTreeNode;
|
|
9961
|
+
});
|
|
9962
|
+
var flattenedArray = this.nestedDataSource.map(function (item) {
|
|
9963
|
+
return item.flattenedAll;
|
|
9964
|
+
}).flat();
|
|
9965
|
+
var newObjects = flattenedArray.filter(function (item) {
|
|
9966
|
+
return prevSelected.includes(item.name);
|
|
9967
|
+
});
|
|
9968
|
+
newObjects.forEach(function (object) { return _this.nestedTreeControl.expand(object); });
|
|
9969
|
+
};
|
|
9561
9970
|
CaseFileViewFolderComponent.prototype.loadCategories = function () {
|
|
9562
9971
|
return [
|
|
9563
9972
|
{
|
|
@@ -9565,12 +9974,26 @@
|
|
|
9565
9974
|
category_name: 'Beers',
|
|
9566
9975
|
category_order: 1,
|
|
9567
9976
|
documents: [
|
|
9977
|
+
{
|
|
9978
|
+
document_url: '/test',
|
|
9979
|
+
document_filename: 'Lager encyclopedia',
|
|
9980
|
+
document_binary_url: '/test/binary',
|
|
9981
|
+
attribute_path: '',
|
|
9982
|
+
upload_timestamp: ''
|
|
9983
|
+
},
|
|
9568
9984
|
{
|
|
9569
9985
|
document_url: '/test',
|
|
9570
9986
|
document_filename: 'Beers encyclopedia',
|
|
9571
9987
|
document_binary_url: '/test/binary',
|
|
9572
9988
|
attribute_path: '',
|
|
9573
9989
|
upload_timestamp: ''
|
|
9990
|
+
},
|
|
9991
|
+
{
|
|
9992
|
+
document_url: '/test',
|
|
9993
|
+
document_filename: 'Ale encyclopedia',
|
|
9994
|
+
document_binary_url: '/test/binary',
|
|
9995
|
+
attribute_path: '',
|
|
9996
|
+
upload_timestamp: ''
|
|
9574
9997
|
}
|
|
9575
9998
|
],
|
|
9576
9999
|
sub_categories: [
|
|
@@ -9722,38 +10145,53 @@
|
|
|
9722
10145
|
}());
|
|
9723
10146
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
9724
10147
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
9725
|
-
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]],
|
|
10148
|
+
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], viewQuery: function CaseFileViewFolderComponent_Query(rf, ctx) {
|
|
10149
|
+
if (rf & 1) {
|
|
10150
|
+
i0__namespace.ɵɵviewQuery(_c0$G, 3);
|
|
10151
|
+
}
|
|
10152
|
+
if (rf & 2) {
|
|
10153
|
+
var _t = void 0;
|
|
10154
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tree = _t.first);
|
|
10155
|
+
}
|
|
10156
|
+
}, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 3, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["tree", ""], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
9726
10157
|
if (rf & 1) {
|
|
9727
10158
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
9728
|
-
i0__namespace.ɵɵ
|
|
9729
|
-
i0__namespace.ɵɵ
|
|
9730
|
-
i0__namespace.ɵɵtext(3, "Documents");
|
|
10159
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
10160
|
+
i0__namespace.ɵɵtext(2, "Documents");
|
|
9731
10161
|
i0__namespace.ɵɵelementEnd();
|
|
10162
|
+
i0__namespace.ɵɵelementStart(3, "div");
|
|
10163
|
+
i0__namespace.ɵɵelementStart(4, "ccd-case-file-view-folder-sort", 2);
|
|
10164
|
+
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(); });
|
|
9732
10165
|
i0__namespace.ɵɵelementEnd();
|
|
9733
|
-
i0__namespace.ɵɵ
|
|
9734
|
-
i0__namespace.ɵɵ
|
|
9735
|
-
i0__namespace.ɵɵ
|
|
9736
|
-
i0__namespace.ɵɵ
|
|
10166
|
+
i0__namespace.ɵɵelementEnd();
|
|
10167
|
+
i0__namespace.ɵɵelementEnd();
|
|
10168
|
+
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
10169
|
+
i0__namespace.ɵɵelementStart(6, "cdk-tree", 4, 5);
|
|
10170
|
+
i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 8, 1, "cdk-nested-tree-node", 6);
|
|
10171
|
+
i0__namespace.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 10, 5, "cdk-nested-tree-node", 7);
|
|
9737
10172
|
i0__namespace.ɵɵelementEnd();
|
|
9738
10173
|
i0__namespace.ɵɵelementEnd();
|
|
9739
10174
|
}
|
|
9740
10175
|
if (rf & 2) {
|
|
9741
|
-
i0__namespace.ɵɵadvance(
|
|
10176
|
+
i0__namespace.ɵɵadvance(6);
|
|
9742
10177
|
i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
9743
|
-
i0__namespace.ɵɵadvance(
|
|
10178
|
+
i0__namespace.ɵɵadvance(3);
|
|
9744
10179
|
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
9745
10180
|
}
|
|
9746
|
-
}, directives: [
|
|
10181
|
+
}, directives: [CaseFileViewFolderSortComponent, i2__namespace.CdkTree, i2__namespace.CdkTreeNodeDef, i2__namespace.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i2__namespace.CdkTreeNodeToggle, i2__namespace.CdkTreeNodeOutlet], styles: [".document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__iconImg[_ngcontent-%COMP%]{display:block;height:24px;width:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;padding-top:4px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
|
|
9747
10182
|
(function () {
|
|
9748
10183
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
9749
10184
|
type: i0.Component,
|
|
9750
10185
|
args: [{
|
|
9751
10186
|
selector: 'ccd-case-file-view-folder',
|
|
10187
|
+
templateUrl: './case-file-view-folder.component.html',
|
|
9752
10188
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
9753
|
-
templateUrl: './case-file-view-folder.component.html'
|
|
9754
10189
|
}]
|
|
9755
10190
|
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
9756
10191
|
type: i0.Input
|
|
10192
|
+
}], tree: [{
|
|
10193
|
+
type: i0.ViewChild,
|
|
10194
|
+
args: ['tree', { static: true }]
|
|
9757
10195
|
}] });
|
|
9758
10196
|
})();
|
|
9759
10197
|
|
|
@@ -9793,7 +10231,7 @@
|
|
|
9793
10231
|
}());
|
|
9794
10232
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
9795
10233
|
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService)); };
|
|
9796
|
-
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 8, vars:
|
|
10234
|
+
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 8, vars: 1, consts: [[1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [3, "categoriesAndDocuments"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
9797
10235
|
if (rf & 1) {
|
|
9798
10236
|
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
9799
10237
|
i0__namespace.ɵɵtext(1, "Case file");
|
|
@@ -9804,24 +10242,22 @@
|
|
|
9804
10242
|
i0__namespace.ɵɵelementEnd();
|
|
9805
10243
|
i0__namespace.ɵɵelement(5, "div", 4);
|
|
9806
10244
|
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
9807
|
-
i0__namespace.ɵɵ
|
|
10245
|
+
i0__namespace.ɵɵtext(7, " Media viewer ");
|
|
9808
10246
|
i0__namespace.ɵɵelementEnd();
|
|
9809
10247
|
i0__namespace.ɵɵelementEnd();
|
|
9810
10248
|
}
|
|
9811
10249
|
if (rf & 2) {
|
|
9812
10250
|
i0__namespace.ɵɵadvance(4);
|
|
9813
10251
|
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx.categoriesAndDocuments$);
|
|
9814
|
-
i0__namespace.ɵɵadvance(3);
|
|
9815
|
-
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
9816
10252
|
}
|
|
9817
|
-
}, directives: [CaseFileViewFolderComponent
|
|
10253
|
+
}, directives: [CaseFileViewFolderComponent], styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{flex:1 1 0%}"] });
|
|
9818
10254
|
(function () {
|
|
9819
10255
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
9820
10256
|
type: i0.Component,
|
|
9821
10257
|
args: [{
|
|
9822
10258
|
selector: 'ccd-case-file-view-field',
|
|
9823
10259
|
templateUrl: './case-file-view-field.component.html',
|
|
9824
|
-
styleUrls: ['./case-file-view-field.component.scss']
|
|
10260
|
+
styleUrls: ['./case-file-view-field.component.scss'],
|
|
9825
10261
|
}]
|
|
9826
10262
|
}], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null);
|
|
9827
10263
|
})();
|
|
@@ -10642,7 +11078,7 @@
|
|
|
10642
11078
|
};
|
|
10643
11079
|
return WriteCollectionFieldComponent;
|
|
10644
11080
|
}(AbstractFieldWriteComponent));
|
|
10645
|
-
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)); };
|
|
11081
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
10646
11082
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
10647
11083
|
if (rf & 1) {
|
|
10648
11084
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -10691,7 +11127,7 @@
|
|
|
10691
11127
|
templateUrl: './write-collection-field.html',
|
|
10692
11128
|
styleUrls: ['./collection-field.scss']
|
|
10693
11129
|
}]
|
|
10694
|
-
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
11130
|
+
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
10695
11131
|
type: i0.Input
|
|
10696
11132
|
}], formGroup: [{
|
|
10697
11133
|
type: i0.Input
|
|
@@ -11736,7 +12172,7 @@
|
|
|
11736
12172
|
};
|
|
11737
12173
|
return DatetimePickerComponent;
|
|
11738
12174
|
}(AbstractFormFieldComponent));
|
|
11739
|
-
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4
|
|
12175
|
+
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4.NGX_MAT_DATE_FORMATS)); };
|
|
11740
12176
|
DatetimePickerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
|
|
11741
12177
|
if (rf & 1) {
|
|
11742
12178
|
i0__namespace.ɵɵviewQuery(_c0$B, 1);
|
|
@@ -11748,8 +12184,8 @@
|
|
|
11748
12184
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
11749
12185
|
}
|
|
11750
12186
|
}, inputs: { dateControl: "dateControl" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
11751
|
-
{ provide: i4
|
|
11752
|
-
{ provide: i4
|
|
12187
|
+
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
12188
|
+
{ provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11753
12189
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
11754
12190
|
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 14, vars: 26, consts: [[1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "min", "max", "formControl", "ngxMatDatetimePicker", "focusin", "focusout", "dateChange"], ["input", ""], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian", "yearSelected", "monthSelected", "opened"], ["picker", ""], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) {
|
|
11755
12191
|
if (rf & 1) {
|
|
@@ -11795,7 +12231,7 @@
|
|
|
11795
12231
|
i0__namespace.ɵɵadvance(1);
|
|
11796
12232
|
i0__namespace.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
|
|
11797
12233
|
}
|
|
11798
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i4__namespace$1.NgxMatDatetimeInput, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace$1.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
12234
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace$3.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlDirective, i5__namespace.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
11799
12235
|
(function () {
|
|
11800
12236
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
11801
12237
|
type: i0.Component,
|
|
@@ -11805,15 +12241,15 @@
|
|
|
11805
12241
|
styleUrls: ['./datetime-picker.component.scss'],
|
|
11806
12242
|
encapsulation: i0.ViewEncapsulation.None,
|
|
11807
12243
|
providers: [
|
|
11808
|
-
{ provide: i4
|
|
11809
|
-
{ provide: i4
|
|
12244
|
+
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
12245
|
+
{ provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11810
12246
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
11811
12247
|
]
|
|
11812
12248
|
}]
|
|
11813
12249
|
}], function () {
|
|
11814
12250
|
return [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
|
|
11815
12251
|
type: i0.Inject,
|
|
11816
|
-
args: [i4
|
|
12252
|
+
args: [i4.NGX_MAT_DATE_FORMATS]
|
|
11817
12253
|
}] }];
|
|
11818
12254
|
}, { datetimePicker: [{
|
|
11819
12255
|
type: i0.ViewChild,
|
|
@@ -17196,7 +17632,7 @@
|
|
|
17196
17632
|
i0__namespace.ɵɵadvance(3);
|
|
17197
17633
|
i0__namespace.ɵɵtextInterpolate(ctx.loadingText);
|
|
17198
17634
|
}
|
|
17199
|
-
}, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"], encapsulation: 2 });
|
|
17635
|
+
}, styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.5);z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #ddd;border-top-color:#000;border-radius:50%;width:40px;height:40px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"], encapsulation: 2 });
|
|
17200
17636
|
(function () {
|
|
17201
17637
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LoadingSpinnerComponent, [{
|
|
17202
17638
|
type: i0.Component,
|
|
@@ -19626,7 +20062,10 @@
|
|
|
19626
20062
|
WriteCollectionFieldComponent,
|
|
19627
20063
|
// ComponentLauncher web components
|
|
19628
20064
|
CaseFileViewFieldComponent,
|
|
19629
|
-
CaseFileViewFolderComponent
|
|
20065
|
+
CaseFileViewFolderComponent,
|
|
20066
|
+
CaseFileViewFolderSortComponent,
|
|
20067
|
+
CaseFileViewOverlayMenuComponent,
|
|
20068
|
+
CaseFileViewFolderDocumentActionsComponent,
|
|
19630
20069
|
];
|
|
19631
20070
|
var PaletteModule = /** @class */ (function () {
|
|
19632
20071
|
function PaletteModule() {
|
|
@@ -19659,20 +20098,20 @@
|
|
|
19659
20098
|
TabsModule,
|
|
19660
20099
|
LabelSubstitutorModule,
|
|
19661
20100
|
i1$4.NgxMdModule,
|
|
19662
|
-
i4
|
|
19663
|
-
i4
|
|
19664
|
-
i4
|
|
20101
|
+
i4.NgxMatDatetimePickerModule,
|
|
20102
|
+
i4.NgxMatTimepickerModule,
|
|
20103
|
+
i4.NgxMatNativeDateModule,
|
|
19665
20104
|
i6.MatFormFieldModule,
|
|
19666
20105
|
input.MatInputModule,
|
|
19667
20106
|
i5.MatDatepickerModule,
|
|
19668
20107
|
i5$1.MatAutocompleteModule,
|
|
19669
|
-
|
|
20108
|
+
i2.CdkTreeModule,
|
|
20109
|
+
i1$5.OverlayModule,
|
|
19670
20110
|
i3.PaymentLibModule,
|
|
19671
|
-
i2.ScrollToModule.forRoot()
|
|
19672
|
-
|
|
19673
|
-
|
|
19674
|
-
i4
|
|
19675
|
-
i4$1.NgxMatTimepickerModule,
|
|
20111
|
+
i2$1.ScrollToModule.forRoot()
|
|
20112
|
+
], i4.NgxMatDatetimePickerModule,
|
|
20113
|
+
i4.NgxMatNativeDateModule,
|
|
20114
|
+
i4.NgxMatTimepickerModule,
|
|
19676
20115
|
TabsModule,
|
|
19677
20116
|
PaletteUtilsModule,
|
|
19678
20117
|
PipesModule] });
|
|
@@ -19752,7 +20191,10 @@
|
|
|
19752
20191
|
WriteCollectionFieldComponent,
|
|
19753
20192
|
// ComponentLauncher web components
|
|
19754
20193
|
CaseFileViewFieldComponent,
|
|
19755
|
-
CaseFileViewFolderComponent
|
|
20194
|
+
CaseFileViewFolderComponent,
|
|
20195
|
+
CaseFileViewFolderSortComponent,
|
|
20196
|
+
CaseFileViewOverlayMenuComponent,
|
|
20197
|
+
CaseFileViewFolderDocumentActionsComponent], imports: [i1.CommonModule,
|
|
19756
20198
|
i1$1.RouterModule,
|
|
19757
20199
|
i1$2.FormsModule,
|
|
19758
20200
|
i1$2.ReactiveFormsModule,
|
|
@@ -19766,17 +20208,18 @@
|
|
|
19766
20208
|
TabsModule,
|
|
19767
20209
|
LabelSubstitutorModule,
|
|
19768
20210
|
i1$4.NgxMdModule,
|
|
19769
|
-
i4
|
|
19770
|
-
i4
|
|
19771
|
-
i4
|
|
20211
|
+
i4.NgxMatDatetimePickerModule,
|
|
20212
|
+
i4.NgxMatTimepickerModule,
|
|
20213
|
+
i4.NgxMatNativeDateModule,
|
|
19772
20214
|
i6.MatFormFieldModule,
|
|
19773
20215
|
input.MatInputModule,
|
|
19774
20216
|
i5.MatDatepickerModule,
|
|
19775
20217
|
i5$1.MatAutocompleteModule,
|
|
19776
|
-
|
|
19777
|
-
|
|
19778
|
-
|
|
19779
|
-
i4
|
|
20218
|
+
i2.CdkTreeModule,
|
|
20219
|
+
i1$5.OverlayModule,
|
|
20220
|
+
i3.PaymentLibModule, i2__namespace$1.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
20221
|
+
i4.NgxMatNativeDateModule,
|
|
20222
|
+
i4.NgxMatTimepickerModule,
|
|
19780
20223
|
TabsModule,
|
|
19781
20224
|
PaletteUtilsModule,
|
|
19782
20225
|
PipesModule, UnsupportedFieldComponent,
|
|
@@ -19850,7 +20293,10 @@
|
|
|
19850
20293
|
WriteCollectionFieldComponent,
|
|
19851
20294
|
// ComponentLauncher web components
|
|
19852
20295
|
CaseFileViewFieldComponent,
|
|
19853
|
-
CaseFileViewFolderComponent
|
|
20296
|
+
CaseFileViewFolderComponent,
|
|
20297
|
+
CaseFileViewFolderSortComponent,
|
|
20298
|
+
CaseFileViewOverlayMenuComponent,
|
|
20299
|
+
CaseFileViewFolderDocumentActionsComponent] });
|
|
19854
20300
|
})();
|
|
19855
20301
|
(function () {
|
|
19856
20302
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -19871,17 +20317,17 @@
|
|
|
19871
20317
|
TabsModule,
|
|
19872
20318
|
LabelSubstitutorModule,
|
|
19873
20319
|
i1$4.NgxMdModule,
|
|
19874
|
-
i4
|
|
19875
|
-
i4
|
|
19876
|
-
i4
|
|
20320
|
+
i4.NgxMatDatetimePickerModule,
|
|
20321
|
+
i4.NgxMatTimepickerModule,
|
|
20322
|
+
i4.NgxMatNativeDateModule,
|
|
19877
20323
|
i6.MatFormFieldModule,
|
|
19878
20324
|
input.MatInputModule,
|
|
19879
20325
|
i5.MatDatepickerModule,
|
|
19880
20326
|
i5$1.MatAutocompleteModule,
|
|
19881
|
-
|
|
20327
|
+
i2.CdkTreeModule,
|
|
20328
|
+
i1$5.OverlayModule,
|
|
19882
20329
|
i3.PaymentLibModule,
|
|
19883
|
-
i2.ScrollToModule.forRoot()
|
|
19884
|
-
i4.MediaViewerModule
|
|
20330
|
+
i2$1.ScrollToModule.forRoot()
|
|
19885
20331
|
],
|
|
19886
20332
|
declarations: __spread([
|
|
19887
20333
|
FixedListPipe,
|
|
@@ -19891,9 +20337,9 @@
|
|
|
19891
20337
|
DocumentUrlPipe
|
|
19892
20338
|
], PALETTE_COMPONENTS),
|
|
19893
20339
|
exports: __spread([
|
|
19894
|
-
i4
|
|
19895
|
-
i4
|
|
19896
|
-
i4
|
|
20340
|
+
i4.NgxMatDatetimePickerModule,
|
|
20341
|
+
i4.NgxMatNativeDateModule,
|
|
20342
|
+
i4.NgxMatTimepickerModule,
|
|
19897
20343
|
TabsModule,
|
|
19898
20344
|
PaletteUtilsModule,
|
|
19899
20345
|
PipesModule
|
|
@@ -23317,8 +23763,8 @@
|
|
|
23317
23763
|
}
|
|
23318
23764
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
|
|
23319
23765
|
if (rf & 1) {
|
|
23320
|
-
i0__namespace.ɵɵelementStart(0, "th",
|
|
23321
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
23766
|
+
i0__namespace.ɵɵelementStart(0, "th", 35);
|
|
23767
|
+
i0__namespace.ɵɵelementStart(1, "div", 36);
|
|
23322
23768
|
i0__namespace.ɵɵtext(2);
|
|
23323
23769
|
i0__namespace.ɵɵelementEnd();
|
|
23324
23770
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23333,9 +23779,9 @@
|
|
|
23333
23779
|
if (rf & 1) {
|
|
23334
23780
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
23335
23781
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
|
|
23336
|
-
i0__namespace.ɵɵelementStart(2, "th");
|
|
23337
|
-
i0__namespace.ɵɵelementStart(3, "span",
|
|
23338
|
-
i0__namespace.ɵɵelement(4, "ccd-field-read",
|
|
23782
|
+
i0__namespace.ɵɵelementStart(2, "th", 32);
|
|
23783
|
+
i0__namespace.ɵɵelementStart(3, "span", 33);
|
|
23784
|
+
i0__namespace.ɵɵelement(4, "ccd-field-read", 34);
|
|
23339
23785
|
i0__namespace.ɵɵelementEnd();
|
|
23340
23786
|
i0__namespace.ɵɵelementEnd();
|
|
23341
23787
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23345,16 +23791,18 @@
|
|
|
23345
23791
|
var ctx_r22 = i0__namespace.ɵɵnextContext(4);
|
|
23346
23792
|
i0__namespace.ɵɵadvance(1);
|
|
23347
23793
|
i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
|
|
23348
|
-
i0__namespace.ɵɵadvance(
|
|
23794
|
+
i0__namespace.ɵɵadvance(1);
|
|
23795
|
+
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23796
|
+
i0__namespace.ɵɵadvance(2);
|
|
23349
23797
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
|
|
23350
23798
|
}
|
|
23351
23799
|
}
|
|
23352
23800
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
|
|
23353
23801
|
if (rf & 1) {
|
|
23354
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
23355
|
-
i0__namespace.ɵɵelementStart(1, "th");
|
|
23356
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
23357
|
-
i0__namespace.ɵɵelement(3, "ccd-field-read",
|
|
23802
|
+
i0__namespace.ɵɵelementStart(0, "tr", 37);
|
|
23803
|
+
i0__namespace.ɵɵelementStart(1, "th", 32);
|
|
23804
|
+
i0__namespace.ɵɵelementStart(2, "span", 33);
|
|
23805
|
+
i0__namespace.ɵɵelement(3, "ccd-field-read", 34);
|
|
23358
23806
|
i0__namespace.ɵɵelementEnd();
|
|
23359
23807
|
i0__namespace.ɵɵelementEnd();
|
|
23360
23808
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23362,7 +23810,9 @@
|
|
|
23362
23810
|
if (rf & 2) {
|
|
23363
23811
|
var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
|
|
23364
23812
|
var ctx_r23 = i0__namespace.ɵɵnextContext(4);
|
|
23365
|
-
i0__namespace.ɵɵadvance(
|
|
23813
|
+
i0__namespace.ɵɵadvance(1);
|
|
23814
|
+
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23815
|
+
i0__namespace.ɵɵadvance(2);
|
|
23366
23816
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
|
|
23367
23817
|
}
|
|
23368
23818
|
}
|
|
@@ -23372,8 +23822,8 @@
|
|
|
23372
23822
|
i0__namespace.ɵɵelementStart(1, "div", 27);
|
|
23373
23823
|
i0__namespace.ɵɵelementContainerStart(2, 28);
|
|
23374
23824
|
i0__namespace.ɵɵpipe(3, "ccdIsCompound");
|
|
23375
|
-
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5,
|
|
23376
|
-
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4,
|
|
23825
|
+
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
|
|
23826
|
+
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
|
|
23377
23827
|
i0__namespace.ɵɵelementContainerEnd();
|
|
23378
23828
|
i0__namespace.ɵɵelementEnd();
|
|
23379
23829
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -23733,7 +24183,7 @@
|
|
|
23733
24183
|
var _t = void 0;
|
|
23734
24184
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
23735
24185
|
}
|
|
23736
|
-
}, 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) {
|
|
24186
|
+
}, 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) {
|
|
23737
24187
|
if (rf & 1) {
|
|
23738
24188
|
i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
23739
24189
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|
|
@@ -27181,12 +27631,12 @@
|
|
|
27181
27631
|
i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
27182
27632
|
}
|
|
27183
27633
|
}
|
|
27184
|
-
function
|
|
27634
|
+
function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
|
|
27185
27635
|
if (rf & 1) {
|
|
27186
27636
|
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
27187
27637
|
i0__namespace.ɵɵelementStart(0, "div", 27);
|
|
27188
27638
|
i0__namespace.ɵɵelementStart(1, "a", 28);
|
|
27189
|
-
i0__namespace.ɵɵlistener("click", function
|
|
27639
|
+
i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
|
|
27190
27640
|
i0__namespace.ɵɵelementEnd();
|
|
27191
27641
|
i0__namespace.ɵɵelementEnd();
|
|
27192
27642
|
}
|
|
@@ -27203,11 +27653,13 @@
|
|
|
27203
27653
|
i0__namespace.ɵɵelementStart(0, "th");
|
|
27204
27654
|
i0__namespace.ɵɵelementStart(1, "table", 24);
|
|
27205
27655
|
i0__namespace.ɵɵelementStart(2, "tr");
|
|
27206
|
-
i0__namespace.ɵɵelementStart(3, "
|
|
27207
|
-
i0__namespace.ɵɵ
|
|
27208
|
-
i0__namespace.ɵɵ
|
|
27656
|
+
i0__namespace.ɵɵelementStart(3, "th");
|
|
27657
|
+
i0__namespace.ɵɵelementStart(4, "div", 25);
|
|
27658
|
+
i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
27659
|
+
i0__namespace.ɵɵtext(5);
|
|
27660
|
+
i0__namespace.ɵɵelementEnd();
|
|
27661
|
+
i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
|
|
27209
27662
|
i0__namespace.ɵɵelementEnd();
|
|
27210
|
-
i0__namespace.ɵɵtemplate(5, SearchResultComponent_table_0_th_10_div_5_Template, 2, 1, "div", 26);
|
|
27211
27663
|
i0__namespace.ɵɵelementEnd();
|
|
27212
27664
|
i0__namespace.ɵɵelementEnd();
|
|
27213
27665
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -27216,8 +27668,8 @@
|
|
|
27216
27668
|
var col_r15 = ctx.$implicit;
|
|
27217
27669
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
27218
27670
|
i0__namespace.ɵɵadvance(1);
|
|
27219
|
-
i0__namespace.ɵɵ
|
|
27220
|
-
i0__namespace.ɵɵadvance(
|
|
27671
|
+
i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
|
|
27672
|
+
i0__namespace.ɵɵadvance(4);
|
|
27221
27673
|
i0__namespace.ɵɵtextInterpolate(col_r15.label);
|
|
27222
27674
|
i0__namespace.ɵɵadvance(1);
|
|
27223
27675
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
@@ -27553,7 +28005,7 @@
|
|
|
27553
28005
|
i0__namespace.ɵɵelementStart(7, "thead");
|
|
27554
28006
|
i0__namespace.ɵɵelementStart(8, "tr", 7);
|
|
27555
28007
|
i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
|
|
27556
|
-
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template,
|
|
28008
|
+
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
|
|
27557
28009
|
i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
|
|
27558
28010
|
i0__namespace.ɵɵelementEnd();
|
|
27559
28011
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -28390,6 +28842,9 @@
|
|
|
28390
28842
|
exports.CaseFieldService = CaseFieldService;
|
|
28391
28843
|
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
28392
28844
|
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
28845
|
+
exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
|
|
28846
|
+
exports.CaseFileViewFolderSortComponent = CaseFileViewFolderSortComponent;
|
|
28847
|
+
exports.CaseFileViewOverlayMenuComponent = CaseFileViewOverlayMenuComponent;
|
|
28393
28848
|
exports.CaseFileViewService = CaseFileViewService;
|
|
28394
28849
|
exports.CaseFullAccessViewComponent = CaseFullAccessViewComponent;
|
|
28395
28850
|
exports.CaseHeaderComponent = CaseHeaderComponent;
|