@hmcts/ccd-case-ui-toolkit 5.0.25-angular11-upgrade → 5.0.25-case-file-view-media-viewer-integration
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 +635 -172
- 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/app.config.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +35 -18
- 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 +73 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +292 -0
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +2 -0
- package/esm2015/lib/shared/components/palette/case-file-view/index.js +3 -0
- package/esm2015/lib/shared/components/palette/index.js +2 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +30 -12
- package/esm2015/lib/shared/components/palette/palette.service.js +18 -1
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-category.model.js +3 -0
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-document.model.js +3 -0
- package/esm2015/lib/shared/domain/case-file-view/categories-and-documents.model.js +7 -0
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +2 -0
- package/esm2015/lib/shared/domain/case-file-view/index.js +5 -0
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +2 -2
- package/esm2015/lib/shared/pipes/complex/cdd-page-fields.pipe.js +3 -3
- package/esm2015/lib/shared/services/case-file-view/case-file-view.service.js +47 -0
- package/esm2015/lib/shared/services/case-file-view/index.js +2 -0
- package/esm2015/lib/shared/services/index.js +2 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +567 -126
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +4 -0
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +7 -0
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +19 -0
- package/lib/shared/components/palette/case-file-view/case-file-view-field.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 +25 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/index.d.ts +3 -0
- package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -0
- package/lib/shared/components/palette/index.d.ts +1 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +25 -21
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts +2 -0
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts +9 -0
- package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts +8 -0
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts +12 -0
- package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +7 -0
- package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/index.d.ts +5 -0
- package/lib/shared/domain/case-file-view/index.d.ts.map +1 -0
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/pipes/complex/cdd-page-fields.pipe.d.ts.map +1 -1
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts +22 -0
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts.map +1 -0
- package/lib/shared/services/case-file-view/index.d.ts +2 -0
- package/lib/shared/services/case-file-view/index.d.ts.map +1 -0
- package/lib/shared/services/index.d.ts +1 -0
- package/lib/shared/services/index.d.ts.map +1 -1
- package/package.json +1 -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/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/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.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.portal, global.ng.material.input, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5, i2, i4, momentAdapter, i5, i6, i5$1, i6$1, i3, i6$2, input, i1$
|
|
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('@hmcts/media-viewer'), 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', '@hmcts/media-viewer', '@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.i4, global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.portal, global.ng.material.input, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5, i4, i1$6, i2, i4$1, 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
|
|
|
@@ -34,15 +34,17 @@
|
|
|
34
34
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
35
35
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
36
36
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
37
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
38
37
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
38
|
+
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
39
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
40
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
39
41
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
40
42
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
41
43
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
42
44
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
43
45
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
44
46
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
45
|
-
var i1__namespace$
|
|
47
|
+
var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$7);
|
|
46
48
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
47
49
|
|
|
48
50
|
function FooterComponent_div_2_Template(rf, ctx) {
|
|
@@ -6400,6 +6402,49 @@
|
|
|
6400
6402
|
}], null, null);
|
|
6401
6403
|
})();
|
|
6402
6404
|
|
|
6405
|
+
var CaseFileViewService = /** @class */ (function () {
|
|
6406
|
+
function CaseFileViewService(http, appConfig, errorService) {
|
|
6407
|
+
this.http = http;
|
|
6408
|
+
this.appConfig = appConfig;
|
|
6409
|
+
this.errorService = errorService;
|
|
6410
|
+
}
|
|
6411
|
+
/**
|
|
6412
|
+
* Retrieves the categories and documents for a case.
|
|
6413
|
+
*
|
|
6414
|
+
* @param caseRef 16-digit Case Reference number of the case
|
|
6415
|
+
* @returns An `Observable` of the `CategoriesAndDocuments` for the case
|
|
6416
|
+
*/
|
|
6417
|
+
CaseFileViewService.prototype.getCategoriesAndDocuments = function (caseRef) {
|
|
6418
|
+
var url = this.appConfig.getCategoriesAndDocumentsUrl();
|
|
6419
|
+
if (url) {
|
|
6420
|
+
url += "/" + caseRef;
|
|
6421
|
+
return this.http.get(url, { observe: 'body' });
|
|
6422
|
+
}
|
|
6423
|
+
return rxjs.of(null);
|
|
6424
|
+
};
|
|
6425
|
+
CaseFileViewService.prototype.updateDocumentCategory = function (caseRef, caseVersion, attributePath, categoryId) {
|
|
6426
|
+
var url = this.appConfig.getDocumentDataUrl();
|
|
6427
|
+
if (url) {
|
|
6428
|
+
url += "/" + caseRef;
|
|
6429
|
+
var body = {
|
|
6430
|
+
case_version: caseVersion,
|
|
6431
|
+
attribute_path: attributePath,
|
|
6432
|
+
category_id: categoryId
|
|
6433
|
+
};
|
|
6434
|
+
return this.http.put(url, body, { observe: 'body' });
|
|
6435
|
+
}
|
|
6436
|
+
return rxjs.of(null);
|
|
6437
|
+
};
|
|
6438
|
+
return CaseFileViewService;
|
|
6439
|
+
}());
|
|
6440
|
+
CaseFileViewService.ɵfac = function CaseFileViewService_Factory(t) { return new (t || CaseFileViewService)(i0__namespace.ɵɵinject(HttpService), i0__namespace.ɵɵinject(AbstractAppConfig), i0__namespace.ɵɵinject(HttpErrorService)); };
|
|
6441
|
+
CaseFileViewService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: CaseFileViewService, factory: CaseFileViewService.ɵfac });
|
|
6442
|
+
(function () {
|
|
6443
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewService, [{
|
|
6444
|
+
type: i0.Injectable
|
|
6445
|
+
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }]; }, null);
|
|
6446
|
+
})();
|
|
6447
|
+
|
|
6403
6448
|
var DocumentManagementService = /** @class */ (function () {
|
|
6404
6449
|
function DocumentManagementService(http, appConfig) {
|
|
6405
6450
|
this.http = http;
|
|
@@ -9414,6 +9459,373 @@
|
|
|
9414
9459
|
}] });
|
|
9415
9460
|
})();
|
|
9416
9461
|
|
|
9462
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) {
|
|
9463
|
+
if (rf & 1) {
|
|
9464
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9465
|
+
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
9466
|
+
i0__namespace.ɵɵelement(2, "button", 9);
|
|
9467
|
+
i0__namespace.ɵɵelementStart(3, "span", 10);
|
|
9468
|
+
i0__namespace.ɵɵtext(4);
|
|
9469
|
+
i0__namespace.ɵɵelementEnd();
|
|
9470
|
+
i0__namespace.ɵɵelementEnd();
|
|
9471
|
+
i0__namespace.ɵɵelementEnd();
|
|
9472
|
+
}
|
|
9473
|
+
if (rf & 2) {
|
|
9474
|
+
var node_r2 = ctx.$implicit;
|
|
9475
|
+
i0__namespace.ɵɵadvance(4);
|
|
9476
|
+
i0__namespace.ɵɵtextInterpolate(node_r2.name);
|
|
9477
|
+
}
|
|
9478
|
+
}
|
|
9479
|
+
function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
|
|
9480
|
+
if (rf & 1) {
|
|
9481
|
+
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9482
|
+
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
9483
|
+
i0__namespace.ɵɵelementStart(2, "button", 11);
|
|
9484
|
+
i0__namespace.ɵɵelementStart(3, "span", 12);
|
|
9485
|
+
i0__namespace.ɵɵtext(4);
|
|
9486
|
+
i0__namespace.ɵɵelementEnd();
|
|
9487
|
+
i0__namespace.ɵɵelementEnd();
|
|
9488
|
+
i0__namespace.ɵɵelementStart(5, "span", 13);
|
|
9489
|
+
i0__namespace.ɵɵtext(6);
|
|
9490
|
+
i0__namespace.ɵɵelementEnd();
|
|
9491
|
+
i0__namespace.ɵɵelementEnd();
|
|
9492
|
+
i0__namespace.ɵɵelementStart(7, "div");
|
|
9493
|
+
i0__namespace.ɵɵelementContainer(8, 14);
|
|
9494
|
+
i0__namespace.ɵɵelementEnd();
|
|
9495
|
+
i0__namespace.ɵɵelementEnd();
|
|
9496
|
+
}
|
|
9497
|
+
if (rf & 2) {
|
|
9498
|
+
var node_r3 = ctx.$implicit;
|
|
9499
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
9500
|
+
i0__namespace.ɵɵadvance(2);
|
|
9501
|
+
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r3.name);
|
|
9502
|
+
i0__namespace.ɵɵadvance(2);
|
|
9503
|
+
i0__namespace.ɵɵtextInterpolate(node_r3.count);
|
|
9504
|
+
i0__namespace.ɵɵadvance(2);
|
|
9505
|
+
i0__namespace.ɵɵtextInterpolate(node_r3.name);
|
|
9506
|
+
i0__namespace.ɵɵadvance(1);
|
|
9507
|
+
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9510
|
+
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
9511
|
+
function CaseFileViewFolderComponent() {
|
|
9512
|
+
this.categories = [];
|
|
9513
|
+
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9514
|
+
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9515
|
+
this.nestedTreeControl = new i1$5.NestedTreeControl(this.getChildren);
|
|
9516
|
+
}
|
|
9517
|
+
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
9518
|
+
var _this = this;
|
|
9519
|
+
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
9520
|
+
// Using the mock data for now as we have to display the documents as well for demo purpose
|
|
9521
|
+
var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
|
|
9522
|
+
// Generate document tree data from categories
|
|
9523
|
+
var treeData = _this.generateTreeData(categories);
|
|
9524
|
+
// Append uncategorised documents
|
|
9525
|
+
if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
|
|
9526
|
+
var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
|
|
9527
|
+
treeData.push(uncategorisedDocuments);
|
|
9528
|
+
}
|
|
9529
|
+
// Initialise cdk tree with generated data
|
|
9530
|
+
_this.nestedDataSource = treeData;
|
|
9531
|
+
});
|
|
9532
|
+
};
|
|
9533
|
+
CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
|
|
9534
|
+
var _this = this;
|
|
9535
|
+
return categories.reduce(function (tree, node) { return __spread(tree, [
|
|
9536
|
+
{
|
|
9537
|
+
name: node.category_name,
|
|
9538
|
+
children: __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents))
|
|
9539
|
+
},
|
|
9540
|
+
]); }, []);
|
|
9541
|
+
};
|
|
9542
|
+
CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
|
|
9543
|
+
var documentsToReturn = [];
|
|
9544
|
+
documents.forEach(function (document) {
|
|
9545
|
+
documentsToReturn.push({ name: document.document_filename });
|
|
9546
|
+
});
|
|
9547
|
+
return documentsToReturn;
|
|
9548
|
+
};
|
|
9549
|
+
CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
|
|
9550
|
+
var documents = [];
|
|
9551
|
+
uncategorisedDocuments.forEach(function (document) {
|
|
9552
|
+
documents.push({ name: document.document_filename });
|
|
9553
|
+
});
|
|
9554
|
+
return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, children: documents };
|
|
9555
|
+
};
|
|
9556
|
+
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
9557
|
+
if (this.categoriesAndDocumentsSubscription) {
|
|
9558
|
+
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
9559
|
+
}
|
|
9560
|
+
};
|
|
9561
|
+
CaseFileViewFolderComponent.prototype.loadCategories = function () {
|
|
9562
|
+
return [
|
|
9563
|
+
{
|
|
9564
|
+
category_id: 'Beers',
|
|
9565
|
+
category_name: 'Beers',
|
|
9566
|
+
category_order: 1,
|
|
9567
|
+
documents: [
|
|
9568
|
+
{
|
|
9569
|
+
document_url: '/test',
|
|
9570
|
+
document_filename: 'Beers encyclopedia',
|
|
9571
|
+
document_binary_url: '/test/binary',
|
|
9572
|
+
attribute_path: '',
|
|
9573
|
+
upload_timestamp: ''
|
|
9574
|
+
}
|
|
9575
|
+
],
|
|
9576
|
+
sub_categories: [
|
|
9577
|
+
{
|
|
9578
|
+
category_id: 'BeersBitters',
|
|
9579
|
+
category_name: 'Bitters',
|
|
9580
|
+
category_order: 1,
|
|
9581
|
+
documents: [],
|
|
9582
|
+
sub_categories: []
|
|
9583
|
+
},
|
|
9584
|
+
{
|
|
9585
|
+
category_id: 'BeersAmerican',
|
|
9586
|
+
category_name: 'American',
|
|
9587
|
+
category_order: 2,
|
|
9588
|
+
documents: [],
|
|
9589
|
+
sub_categories: []
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
category_id: 'BeersAsian',
|
|
9593
|
+
category_name: 'Asian',
|
|
9594
|
+
category_order: 3,
|
|
9595
|
+
documents: [],
|
|
9596
|
+
sub_categories: []
|
|
9597
|
+
}
|
|
9598
|
+
]
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
category_id: 'Wines',
|
|
9602
|
+
category_name: 'Wines',
|
|
9603
|
+
category_order: 2,
|
|
9604
|
+
documents: [],
|
|
9605
|
+
sub_categories: [
|
|
9606
|
+
{
|
|
9607
|
+
category_id: 'WinesFrench',
|
|
9608
|
+
category_name: 'French',
|
|
9609
|
+
category_order: 1,
|
|
9610
|
+
documents: [],
|
|
9611
|
+
sub_categories: []
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
category_id: 'WinesItalian',
|
|
9615
|
+
category_name: 'Italian',
|
|
9616
|
+
category_order: 2,
|
|
9617
|
+
documents: [],
|
|
9618
|
+
sub_categories: []
|
|
9619
|
+
}
|
|
9620
|
+
]
|
|
9621
|
+
},
|
|
9622
|
+
{
|
|
9623
|
+
category_id: 'Spirits',
|
|
9624
|
+
category_name: 'Spirits',
|
|
9625
|
+
category_order: 3,
|
|
9626
|
+
documents: [],
|
|
9627
|
+
sub_categories: [
|
|
9628
|
+
{
|
|
9629
|
+
category_id: 'SpiritsWhisky',
|
|
9630
|
+
category_name: 'Scotch whisky',
|
|
9631
|
+
category_order: 1,
|
|
9632
|
+
documents: [],
|
|
9633
|
+
sub_categories: [
|
|
9634
|
+
{
|
|
9635
|
+
category_id: 'WhiskyHighland',
|
|
9636
|
+
category_name: 'Highland',
|
|
9637
|
+
category_order: 1,
|
|
9638
|
+
documents: [],
|
|
9639
|
+
sub_categories: [
|
|
9640
|
+
{
|
|
9641
|
+
category_id: 'WhiskyHighland1',
|
|
9642
|
+
category_name: 'Highland 1',
|
|
9643
|
+
category_order: 1,
|
|
9644
|
+
documents: [],
|
|
9645
|
+
sub_categories: []
|
|
9646
|
+
}
|
|
9647
|
+
]
|
|
9648
|
+
},
|
|
9649
|
+
{
|
|
9650
|
+
category_id: 'WhiskyLowland',
|
|
9651
|
+
category_name: 'Lowland',
|
|
9652
|
+
category_order: 2,
|
|
9653
|
+
documents: [],
|
|
9654
|
+
sub_categories: [
|
|
9655
|
+
{
|
|
9656
|
+
category_id: 'WhiskyLowland1',
|
|
9657
|
+
category_name: 'Lowland 1',
|
|
9658
|
+
category_order: 1,
|
|
9659
|
+
documents: [
|
|
9660
|
+
{
|
|
9661
|
+
document_url: '/test',
|
|
9662
|
+
document_filename: 'Details about Whisky Lowland 1',
|
|
9663
|
+
document_binary_url: '/test/binary',
|
|
9664
|
+
attribute_path: '',
|
|
9665
|
+
upload_timestamp: ''
|
|
9666
|
+
}
|
|
9667
|
+
],
|
|
9668
|
+
sub_categories: []
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
category_id: 'WhiskyLowland2',
|
|
9672
|
+
category_name: 'Lowland 2',
|
|
9673
|
+
category_order: 2,
|
|
9674
|
+
documents: [],
|
|
9675
|
+
sub_categories: []
|
|
9676
|
+
}
|
|
9677
|
+
]
|
|
9678
|
+
},
|
|
9679
|
+
{
|
|
9680
|
+
category_id: 'WhiskyIslay',
|
|
9681
|
+
category_name: 'Islay',
|
|
9682
|
+
category_order: 3,
|
|
9683
|
+
documents: [
|
|
9684
|
+
{
|
|
9685
|
+
document_url: '/test',
|
|
9686
|
+
document_filename: 'Details about Whisky Islay',
|
|
9687
|
+
document_binary_url: '/test/binary',
|
|
9688
|
+
attribute_path: '',
|
|
9689
|
+
upload_timestamp: ''
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
document_url: '/test',
|
|
9693
|
+
document_filename: 'More information about Whisky Islay',
|
|
9694
|
+
document_binary_url: '/test/binary',
|
|
9695
|
+
attribute_path: '',
|
|
9696
|
+
upload_timestamp: ''
|
|
9697
|
+
}
|
|
9698
|
+
],
|
|
9699
|
+
sub_categories: []
|
|
9700
|
+
},
|
|
9701
|
+
{
|
|
9702
|
+
category_id: 'WhiskySpeyside',
|
|
9703
|
+
category_name: 'Speyside',
|
|
9704
|
+
category_order: 4,
|
|
9705
|
+
documents: [],
|
|
9706
|
+
sub_categories: []
|
|
9707
|
+
},
|
|
9708
|
+
{
|
|
9709
|
+
category_id: 'WhiskyCampbeltown',
|
|
9710
|
+
category_name: 'Campbeltown',
|
|
9711
|
+
category_order: 5,
|
|
9712
|
+
documents: [],
|
|
9713
|
+
sub_categories: []
|
|
9714
|
+
}
|
|
9715
|
+
]
|
|
9716
|
+
}
|
|
9717
|
+
]
|
|
9718
|
+
}
|
|
9719
|
+
];
|
|
9720
|
+
};
|
|
9721
|
+
return CaseFileViewFolderComponent;
|
|
9722
|
+
}());
|
|
9723
|
+
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
9724
|
+
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
9725
|
+
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 3, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "icon", "icon-document"], [1, "node-name", "node-name-document"], ["mat-icon-button", "", "cdkTreeNodeToggle", "", 1, "icon", "icon-folder"], [1, "document-count"], [1, "node-name", "node-name-folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
9726
|
+
if (rf & 1) {
|
|
9727
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
9728
|
+
i0__namespace.ɵɵelement(1, "div", 1);
|
|
9729
|
+
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
9730
|
+
i0__namespace.ɵɵtext(3, "Documents");
|
|
9731
|
+
i0__namespace.ɵɵelementEnd();
|
|
9732
|
+
i0__namespace.ɵɵelementEnd();
|
|
9733
|
+
i0__namespace.ɵɵelementStart(4, "div", 3);
|
|
9734
|
+
i0__namespace.ɵɵelementStart(5, "cdk-tree", 4);
|
|
9735
|
+
i0__namespace.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 5, 1, "cdk-nested-tree-node", 5);
|
|
9736
|
+
i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 9, 5, "cdk-nested-tree-node", 6);
|
|
9737
|
+
i0__namespace.ɵɵelementEnd();
|
|
9738
|
+
i0__namespace.ɵɵelementEnd();
|
|
9739
|
+
}
|
|
9740
|
+
if (rf & 2) {
|
|
9741
|
+
i0__namespace.ɵɵadvance(5);
|
|
9742
|
+
i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
9743
|
+
i0__namespace.ɵɵadvance(2);
|
|
9744
|
+
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
9745
|
+
}
|
|
9746
|
+
}, directives: [i1__namespace$5.CdkTree, i1__namespace$5.CdkTreeNodeDef, i1__namespace$5.CdkNestedTreeNode, i1__namespace$5.CdkTreeNodeToggle, i1__namespace$5.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{height:60px;border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .node[_ngcontent-%COMP%]{display:flex;padding:4px}.document-tree-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:36px;height:36px;background-size:100%;border:0;background-color:#fff}.document-tree-container[_ngcontent-%COMP%] .icon-folder[_ngcontent-%COMP%]{background-image:url(/assets/images/folder.png)}.document-tree-container[_ngcontent-%COMP%] .icon-document[_ngcontent-%COMP%]{background-image:url(/assets/images/document.png)}.document-tree-container[_ngcontent-%COMP%] .node-name[_ngcontent-%COMP%]{margin-left:6px}.document-tree-container[_ngcontent-%COMP%] .node-name-document[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .node-name-folder[_ngcontent-%COMP%]{margin-top:4px}.document-tree-container[_ngcontent-%COMP%] .document-count[_ngcontent-%COMP%]{color:#fff}"] });
|
|
9747
|
+
(function () {
|
|
9748
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
9749
|
+
type: i0.Component,
|
|
9750
|
+
args: [{
|
|
9751
|
+
selector: 'ccd-case-file-view-folder',
|
|
9752
|
+
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
9753
|
+
templateUrl: './case-file-view-folder.component.html'
|
|
9754
|
+
}]
|
|
9755
|
+
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
9756
|
+
type: i0.Input
|
|
9757
|
+
}] });
|
|
9758
|
+
})();
|
|
9759
|
+
|
|
9760
|
+
var CaseFileViewFieldComponent = /** @class */ (function () {
|
|
9761
|
+
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService) {
|
|
9762
|
+
this.elementRef = elementRef;
|
|
9763
|
+
this.route = route;
|
|
9764
|
+
this.caseFileViewService = caseFileViewService;
|
|
9765
|
+
}
|
|
9766
|
+
CaseFileViewFieldComponent.prototype.ngOnInit = function () {
|
|
9767
|
+
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
9768
|
+
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
|
|
9769
|
+
};
|
|
9770
|
+
CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9771
|
+
var slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
9772
|
+
var documentTreeContainer = this.elementRef.nativeElement.querySelector('.document-tree-container');
|
|
9773
|
+
var mousedown$ = rxjs.fromEvent(slider, 'mousedown');
|
|
9774
|
+
var mousemove$ = rxjs.fromEvent(document, 'mousemove');
|
|
9775
|
+
var mouseup$ = rxjs.fromEvent(document, 'mouseup');
|
|
9776
|
+
var drag$ = mousedown$.pipe(operators.switchMap(function (start) {
|
|
9777
|
+
var x = start.clientX;
|
|
9778
|
+
var documentTreeContainerWidth = documentTreeContainer.getBoundingClientRect().width;
|
|
9779
|
+
return mousemove$.pipe(operators.map(function (move) {
|
|
9780
|
+
move.preventDefault();
|
|
9781
|
+
return {
|
|
9782
|
+
dx: move.clientX - x,
|
|
9783
|
+
documentTreeContainerWidth: documentTreeContainerWidth
|
|
9784
|
+
};
|
|
9785
|
+
}), operators.takeUntil(mouseup$));
|
|
9786
|
+
}));
|
|
9787
|
+
drag$.subscribe(function (pos) {
|
|
9788
|
+
var calculatedWidth = ((pos.documentTreeContainerWidth + pos.dx) * 100) / slider.parentElement.getBoundingClientRect().width;
|
|
9789
|
+
documentTreeContainer.setAttribute('style', "width: " + calculatedWidth + "%");
|
|
9790
|
+
});
|
|
9791
|
+
};
|
|
9792
|
+
return CaseFileViewFieldComponent;
|
|
9793
|
+
}());
|
|
9794
|
+
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
9795
|
+
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: 4, 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"], [3, "url", "downloadFileName", "showToolbar", "contentType"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
9797
|
+
if (rf & 1) {
|
|
9798
|
+
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
9799
|
+
i0__namespace.ɵɵtext(1, "Case file");
|
|
9800
|
+
i0__namespace.ɵɵelementEnd();
|
|
9801
|
+
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
9802
|
+
i0__namespace.ɵɵelementStart(3, "div", 2);
|
|
9803
|
+
i0__namespace.ɵɵelement(4, "ccd-case-file-view-folder", 3);
|
|
9804
|
+
i0__namespace.ɵɵelementEnd();
|
|
9805
|
+
i0__namespace.ɵɵelement(5, "div", 4);
|
|
9806
|
+
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
9807
|
+
i0__namespace.ɵɵelement(7, "mv-media-viewer", 6);
|
|
9808
|
+
i0__namespace.ɵɵelementEnd();
|
|
9809
|
+
i0__namespace.ɵɵelementEnd();
|
|
9810
|
+
}
|
|
9811
|
+
if (rf & 2) {
|
|
9812
|
+
i0__namespace.ɵɵadvance(4);
|
|
9813
|
+
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx.categoriesAndDocuments$);
|
|
9814
|
+
i0__namespace.ɵɵadvance(3);
|
|
9815
|
+
i0__namespace.ɵɵproperty("url", "")("showToolbar", true)("contentType", "pdf");
|
|
9816
|
+
}
|
|
9817
|
+
}, directives: [CaseFileViewFolderComponent, i4__namespace.ɵcs], 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
|
+
(function () {
|
|
9819
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
9820
|
+
type: i0.Component,
|
|
9821
|
+
args: [{
|
|
9822
|
+
selector: 'ccd-case-file-view-field',
|
|
9823
|
+
templateUrl: './case-file-view-field.component.html',
|
|
9824
|
+
styleUrls: ['./case-file-view-field.component.scss']
|
|
9825
|
+
}]
|
|
9826
|
+
}], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null);
|
|
9827
|
+
})();
|
|
9828
|
+
|
|
9417
9829
|
function ReadCaseLinkFieldComponent_a_0_Template(rf, ctx) {
|
|
9418
9830
|
if (rf & 1) {
|
|
9419
9831
|
i0__namespace.ɵɵelementStart(0, "a", 1);
|
|
@@ -9776,7 +10188,7 @@
|
|
|
9776
10188
|
};
|
|
9777
10189
|
return RemoveDialogComponent;
|
|
9778
10190
|
}());
|
|
9779
|
-
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
10191
|
+
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
|
|
9780
10192
|
RemoveDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) {
|
|
9781
10193
|
if (rf & 1) {
|
|
9782
10194
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -9817,7 +10229,7 @@
|
|
|
9817
10229
|
templateUrl: './remove-dialog.component.html',
|
|
9818
10230
|
styleUrls: ['../action-dialog.component.scss']
|
|
9819
10231
|
}]
|
|
9820
|
-
}], function () { return [{ type: i1__namespace$
|
|
10232
|
+
}], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
|
|
9821
10233
|
})();
|
|
9822
10234
|
|
|
9823
10235
|
var _c0$D = ["collectionItem"];
|
|
@@ -10196,7 +10608,7 @@
|
|
|
10196
10608
|
};
|
|
10197
10609
|
WriteCollectionFieldComponent.prototype.openModal = function (i) {
|
|
10198
10610
|
var _this = this;
|
|
10199
|
-
var dialogConfig = new i1$
|
|
10611
|
+
var dialogConfig = new i1$6.MatDialogConfig();
|
|
10200
10612
|
dialogConfig.disableClose = true;
|
|
10201
10613
|
dialogConfig.autoFocus = true;
|
|
10202
10614
|
dialogConfig.ariaLabel = 'Label';
|
|
@@ -10230,7 +10642,7 @@
|
|
|
10230
10642
|
};
|
|
10231
10643
|
return WriteCollectionFieldComponent;
|
|
10232
10644
|
}(AbstractFieldWriteComponent));
|
|
10233
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
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)); };
|
|
10234
10646
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
10235
10647
|
if (rf & 1) {
|
|
10236
10648
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -10279,7 +10691,7 @@
|
|
|
10279
10691
|
templateUrl: './write-collection-field.html',
|
|
10280
10692
|
styleUrls: ['./collection-field.scss']
|
|
10281
10693
|
}]
|
|
10282
|
-
}], function () { return [{ type: i1__namespace$
|
|
10694
|
+
}], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
10283
10695
|
type: i0.Input
|
|
10284
10696
|
}], formGroup: [{
|
|
10285
10697
|
type: i0.Input
|
|
@@ -11324,7 +11736,7 @@
|
|
|
11324
11736
|
};
|
|
11325
11737
|
return DatetimePickerComponent;
|
|
11326
11738
|
}(AbstractFormFieldComponent));
|
|
11327
|
-
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4.NGX_MAT_DATE_FORMATS)); };
|
|
11739
|
+
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4$1.NGX_MAT_DATE_FORMATS)); };
|
|
11328
11740
|
DatetimePickerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
|
|
11329
11741
|
if (rf & 1) {
|
|
11330
11742
|
i0__namespace.ɵɵviewQuery(_c0$B, 1);
|
|
@@ -11336,8 +11748,8 @@
|
|
|
11336
11748
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
11337
11749
|
}
|
|
11338
11750
|
}, inputs: { dateControl: "dateControl" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
11339
|
-
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
11340
|
-
{ provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11751
|
+
{ provide: i4$1.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
11752
|
+
{ provide: i4$1.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11341
11753
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
11342
11754
|
]), 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) {
|
|
11343
11755
|
if (rf & 1) {
|
|
@@ -11383,7 +11795,7 @@
|
|
|
11383
11795
|
i0__namespace.ɵɵadvance(1);
|
|
11384
11796
|
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);
|
|
11385
11797
|
}
|
|
11386
|
-
}, 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 });
|
|
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 });
|
|
11387
11799
|
(function () {
|
|
11388
11800
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
11389
11801
|
type: i0.Component,
|
|
@@ -11393,15 +11805,15 @@
|
|
|
11393
11805
|
styleUrls: ['./datetime-picker.component.scss'],
|
|
11394
11806
|
encapsulation: i0.ViewEncapsulation.None,
|
|
11395
11807
|
providers: [
|
|
11396
|
-
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
11397
|
-
{ provide: i4.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11808
|
+
{ provide: i4$1.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
11809
|
+
{ provide: i4$1.NgxMatDateAdapter, useClass: momentAdapter.NgxMatMomentAdapter },
|
|
11398
11810
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
11399
11811
|
]
|
|
11400
11812
|
}]
|
|
11401
11813
|
}], function () {
|
|
11402
11814
|
return [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
|
|
11403
11815
|
type: i0.Inject,
|
|
11404
|
-
args: [i4.NGX_MAT_DATE_FORMATS]
|
|
11816
|
+
args: [i4$1.NGX_MAT_DATE_FORMATS]
|
|
11405
11817
|
}] }];
|
|
11406
11818
|
}, { datetimePicker: [{
|
|
11407
11819
|
type: i0.ViewChild,
|
|
@@ -11670,7 +12082,7 @@
|
|
|
11670
12082
|
};
|
|
11671
12083
|
return DocumentDialogComponent;
|
|
11672
12084
|
}());
|
|
11673
|
-
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
12085
|
+
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
|
|
11674
12086
|
DocumentDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) {
|
|
11675
12087
|
if (rf & 1) {
|
|
11676
12088
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -11711,11 +12123,11 @@
|
|
|
11711
12123
|
templateUrl: './document-dialog.component.html',
|
|
11712
12124
|
styleUrls: ['../action-dialog.component.scss']
|
|
11713
12125
|
}]
|
|
11714
|
-
}], function () { return [{ type: i1__namespace$
|
|
12126
|
+
}], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
|
|
11715
12127
|
})();
|
|
11716
12128
|
|
|
11717
12129
|
function initDialog() {
|
|
11718
|
-
var dialogConfig = new i1$
|
|
12130
|
+
var dialogConfig = new i1$6.MatDialogConfig();
|
|
11719
12131
|
dialogConfig.disableClose = true;
|
|
11720
12132
|
dialogConfig.autoFocus = true;
|
|
11721
12133
|
dialogConfig.ariaLabel = 'Label';
|
|
@@ -12039,7 +12451,7 @@
|
|
|
12039
12451
|
WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
|
|
12040
12452
|
WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
|
|
12041
12453
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
12042
|
-
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
12454
|
+
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
12043
12455
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
12044
12456
|
if (rf & 1) {
|
|
12045
12457
|
i0__namespace.ɵɵviewQuery(_c0$z, 1);
|
|
@@ -12113,7 +12525,7 @@
|
|
|
12113
12525
|
selector: 'ccd-write-document-field',
|
|
12114
12526
|
templateUrl: './write-document-field.html'
|
|
12115
12527
|
}]
|
|
12116
|
-
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$
|
|
12528
|
+
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
|
|
12117
12529
|
type: i0.ViewChild,
|
|
12118
12530
|
args: ['fileInput', { static: false }]
|
|
12119
12531
|
}], clickout: [{
|
|
@@ -16158,6 +16570,9 @@
|
|
|
16158
16570
|
|
|
16159
16571
|
var PaletteService = /** @class */ (function () {
|
|
16160
16572
|
function PaletteService() {
|
|
16573
|
+
this.componentLauncherRegistry = {
|
|
16574
|
+
CaseFileView: CaseFileViewFieldComponent
|
|
16575
|
+
};
|
|
16161
16576
|
}
|
|
16162
16577
|
PaletteService.prototype.getFieldComponentClass = function (caseField, write) {
|
|
16163
16578
|
switch (caseField.field_type.type) {
|
|
@@ -16217,10 +16632,21 @@
|
|
|
16217
16632
|
return CaseHistoryViewerFieldComponent;
|
|
16218
16633
|
case 'WaysToPay':
|
|
16219
16634
|
return WaysToPayFieldComponent;
|
|
16635
|
+
case 'ComponentLauncher':
|
|
16636
|
+
return this.getComponentLauncherComponent(caseField);
|
|
16220
16637
|
default:
|
|
16221
16638
|
return UnsupportedFieldComponent;
|
|
16222
16639
|
}
|
|
16223
16640
|
};
|
|
16641
|
+
PaletteService.prototype.getComponentLauncherComponent = function (caseField) {
|
|
16642
|
+
// Extract the value passed for #ARGUMENT(...) in the CaseField display_context_parameter and return the matching
|
|
16643
|
+
// component from the componentLauncherRegistry
|
|
16644
|
+
var argumentValue = caseField.display_context_parameter.match(/#ARGUMENT\((.*?)\)/)[1];
|
|
16645
|
+
if (argumentValue && this.componentLauncherRegistry.hasOwnProperty(argumentValue)) {
|
|
16646
|
+
return this.componentLauncherRegistry[argumentValue];
|
|
16647
|
+
}
|
|
16648
|
+
return UnsupportedFieldComponent;
|
|
16649
|
+
};
|
|
16224
16650
|
return PaletteService;
|
|
16225
16651
|
}());
|
|
16226
16652
|
PaletteService.ɵfac = function PaletteService_Factory(t) { return new (t || PaletteService)(); };
|
|
@@ -16523,7 +16949,7 @@
|
|
|
16523
16949
|
};
|
|
16524
16950
|
return SaveOrDiscardDialogComponent;
|
|
16525
16951
|
}());
|
|
16526
|
-
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
16952
|
+
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
|
|
16527
16953
|
SaveOrDiscardDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) {
|
|
16528
16954
|
if (rf & 1) {
|
|
16529
16955
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -16564,7 +16990,7 @@
|
|
|
16564
16990
|
templateUrl: './save-or-discard-dialog.component.html',
|
|
16565
16991
|
styleUrls: ['../action-dialog.component.scss']
|
|
16566
16992
|
}]
|
|
16567
|
-
}], function () { return [{ type: i1__namespace$
|
|
16993
|
+
}], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
|
|
16568
16994
|
})();
|
|
16569
16995
|
|
|
16570
16996
|
var CaseEditPageText;
|
|
@@ -16770,7 +17196,7 @@
|
|
|
16770
17196
|
i0__namespace.ɵɵadvance(3);
|
|
16771
17197
|
i0__namespace.ɵɵtextInterpolate(ctx.loadingText);
|
|
16772
17198
|
}
|
|
16773
|
-
}, 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
|
|
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 });
|
|
16774
17200
|
(function () {
|
|
16775
17201
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LoadingSpinnerComponent, [{
|
|
16776
17202
|
type: i0.Component,
|
|
@@ -17435,7 +17861,7 @@
|
|
|
17435
17861
|
};
|
|
17436
17862
|
return CaseEditPageComponent;
|
|
17437
17863
|
}());
|
|
17438
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
17864
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
|
|
17439
17865
|
CaseEditPageComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) {
|
|
17440
17866
|
if (rf & 1) {
|
|
17441
17867
|
i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
@@ -17481,7 +17907,7 @@
|
|
|
17481
17907
|
templateUrl: 'case-edit-page.html',
|
|
17482
17908
|
styleUrls: ['./case-edit-page.scss']
|
|
17483
17909
|
}]
|
|
17484
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$
|
|
17910
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$6.MatDialog }, { type: CaseFieldService }]; }, null);
|
|
17485
17911
|
})();
|
|
17486
17912
|
|
|
17487
17913
|
var Confirmation = /** @class */ (function () {
|
|
@@ -18567,89 +18993,6 @@
|
|
|
18567
18993
|
}], null, null);
|
|
18568
18994
|
})();
|
|
18569
18995
|
|
|
18570
|
-
var IsReadOnlyPipe = /** @class */ (function () {
|
|
18571
|
-
function IsReadOnlyPipe(caseFieldService) {
|
|
18572
|
-
this.caseFieldService = caseFieldService;
|
|
18573
|
-
}
|
|
18574
|
-
IsReadOnlyPipe.prototype.transform = function (field) {
|
|
18575
|
-
return this.caseFieldService.isReadOnly(field);
|
|
18576
|
-
};
|
|
18577
|
-
return IsReadOnlyPipe;
|
|
18578
|
-
}());
|
|
18579
|
-
IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
|
|
18580
|
-
IsReadOnlyPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
18581
|
-
(function () {
|
|
18582
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
18583
|
-
type: i0.Pipe,
|
|
18584
|
-
args: [{
|
|
18585
|
-
name: 'ccdIsReadOnly'
|
|
18586
|
-
}]
|
|
18587
|
-
}], function () { return [{ type: CaseFieldService }]; }, null);
|
|
18588
|
-
})();
|
|
18589
|
-
|
|
18590
|
-
var PaletteUtilsModule = /** @class */ (function () {
|
|
18591
|
-
function PaletteUtilsModule() {
|
|
18592
|
-
}
|
|
18593
|
-
return PaletteUtilsModule;
|
|
18594
|
-
}());
|
|
18595
|
-
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
18596
|
-
PaletteUtilsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
18597
|
-
PaletteUtilsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
|
|
18598
|
-
IsCompoundPipe
|
|
18599
|
-
], imports: [[
|
|
18600
|
-
i1.CommonModule
|
|
18601
|
-
]] });
|
|
18602
|
-
(function () {
|
|
18603
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
18604
|
-
FieldLabelPipe,
|
|
18605
|
-
FirstErrorPipe,
|
|
18606
|
-
IsCompoundPipe,
|
|
18607
|
-
IsMandatoryPipe,
|
|
18608
|
-
IsReadOnlyPipe,
|
|
18609
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
18610
|
-
DashPipe], imports: [i1.CommonModule], exports: [DatePipe,
|
|
18611
|
-
FieldLabelPipe,
|
|
18612
|
-
FirstErrorPipe,
|
|
18613
|
-
IsCompoundPipe,
|
|
18614
|
-
IsMandatoryPipe,
|
|
18615
|
-
IsReadOnlyPipe,
|
|
18616
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
18617
|
-
DashPipe] });
|
|
18618
|
-
})();
|
|
18619
|
-
(function () {
|
|
18620
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteUtilsModule, [{
|
|
18621
|
-
type: i0.NgModule,
|
|
18622
|
-
args: [{
|
|
18623
|
-
imports: [
|
|
18624
|
-
i1.CommonModule
|
|
18625
|
-
],
|
|
18626
|
-
declarations: [
|
|
18627
|
-
DatePipe,
|
|
18628
|
-
FieldLabelPipe,
|
|
18629
|
-
FirstErrorPipe,
|
|
18630
|
-
IsCompoundPipe,
|
|
18631
|
-
IsMandatoryPipe,
|
|
18632
|
-
IsReadOnlyPipe,
|
|
18633
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
18634
|
-
DashPipe
|
|
18635
|
-
],
|
|
18636
|
-
exports: [
|
|
18637
|
-
DatePipe,
|
|
18638
|
-
FieldLabelPipe,
|
|
18639
|
-
FirstErrorPipe,
|
|
18640
|
-
IsCompoundPipe,
|
|
18641
|
-
IsMandatoryPipe,
|
|
18642
|
-
IsReadOnlyPipe,
|
|
18643
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
18644
|
-
DashPipe
|
|
18645
|
-
],
|
|
18646
|
-
providers: [
|
|
18647
|
-
IsCompoundPipe
|
|
18648
|
-
]
|
|
18649
|
-
}]
|
|
18650
|
-
}], null, null);
|
|
18651
|
-
})();
|
|
18652
|
-
|
|
18653
18996
|
var CcdCollectionTableCaseFieldsFilterPipe = /** @class */ (function () {
|
|
18654
18997
|
function CcdCollectionTableCaseFieldsFilterPipe() {
|
|
18655
18998
|
}
|
|
@@ -18850,7 +19193,7 @@
|
|
|
18850
19193
|
'',
|
|
18851
19194
|
{}
|
|
18852
19195
|
];
|
|
18853
|
-
ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay'];
|
|
19196
|
+
ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay', 'ComponentLauncher'];
|
|
18854
19197
|
ReadFieldsFilterPipe.NESTED_TYPES = {
|
|
18855
19198
|
Complex: ReadFieldsFilterPipe.isValidComplex,
|
|
18856
19199
|
Collection: ReadFieldsFilterPipe.isValidCollection
|
|
@@ -18903,8 +19246,8 @@
|
|
|
18903
19246
|
function CcdPageFieldsPipe() {
|
|
18904
19247
|
}
|
|
18905
19248
|
CcdPageFieldsPipe.prototype.transform = function (page, dataFormGroup) {
|
|
18906
|
-
var complex_fields = Object.keys(dataFormGroup.controls).map(function (key) {
|
|
18907
|
-
var control = dataFormGroup.controls[key
|
|
19249
|
+
var complex_fields = Object.keys(dataFormGroup.controls['data'].controls).map(function (key) {
|
|
19250
|
+
var control = dataFormGroup.controls['data'].get(key);
|
|
18908
19251
|
return control['caseField'];
|
|
18909
19252
|
}).filter(function (field) {
|
|
18910
19253
|
return !!page.case_fields.find(function (pcf) { return pcf.id === field.id; });
|
|
@@ -19128,6 +19471,89 @@
|
|
|
19128
19471
|
return OrderSummary;
|
|
19129
19472
|
}());
|
|
19130
19473
|
|
|
19474
|
+
var IsReadOnlyPipe = /** @class */ (function () {
|
|
19475
|
+
function IsReadOnlyPipe(caseFieldService) {
|
|
19476
|
+
this.caseFieldService = caseFieldService;
|
|
19477
|
+
}
|
|
19478
|
+
IsReadOnlyPipe.prototype.transform = function (field) {
|
|
19479
|
+
return this.caseFieldService.isReadOnly(field);
|
|
19480
|
+
};
|
|
19481
|
+
return IsReadOnlyPipe;
|
|
19482
|
+
}());
|
|
19483
|
+
IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
|
|
19484
|
+
IsReadOnlyPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
19485
|
+
(function () {
|
|
19486
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
19487
|
+
type: i0.Pipe,
|
|
19488
|
+
args: [{
|
|
19489
|
+
name: 'ccdIsReadOnly'
|
|
19490
|
+
}]
|
|
19491
|
+
}], function () { return [{ type: CaseFieldService }]; }, null);
|
|
19492
|
+
})();
|
|
19493
|
+
|
|
19494
|
+
var PaletteUtilsModule = /** @class */ (function () {
|
|
19495
|
+
function PaletteUtilsModule() {
|
|
19496
|
+
}
|
|
19497
|
+
return PaletteUtilsModule;
|
|
19498
|
+
}());
|
|
19499
|
+
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
19500
|
+
PaletteUtilsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
19501
|
+
PaletteUtilsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
|
|
19502
|
+
IsCompoundPipe
|
|
19503
|
+
], imports: [[
|
|
19504
|
+
i1.CommonModule
|
|
19505
|
+
]] });
|
|
19506
|
+
(function () {
|
|
19507
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
19508
|
+
FieldLabelPipe,
|
|
19509
|
+
FirstErrorPipe,
|
|
19510
|
+
IsCompoundPipe,
|
|
19511
|
+
IsMandatoryPipe,
|
|
19512
|
+
IsReadOnlyPipe,
|
|
19513
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
19514
|
+
DashPipe], imports: [i1.CommonModule], exports: [DatePipe,
|
|
19515
|
+
FieldLabelPipe,
|
|
19516
|
+
FirstErrorPipe,
|
|
19517
|
+
IsCompoundPipe,
|
|
19518
|
+
IsMandatoryPipe,
|
|
19519
|
+
IsReadOnlyPipe,
|
|
19520
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
19521
|
+
DashPipe] });
|
|
19522
|
+
})();
|
|
19523
|
+
(function () {
|
|
19524
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteUtilsModule, [{
|
|
19525
|
+
type: i0.NgModule,
|
|
19526
|
+
args: [{
|
|
19527
|
+
imports: [
|
|
19528
|
+
i1.CommonModule
|
|
19529
|
+
],
|
|
19530
|
+
declarations: [
|
|
19531
|
+
DatePipe,
|
|
19532
|
+
FieldLabelPipe,
|
|
19533
|
+
FirstErrorPipe,
|
|
19534
|
+
IsCompoundPipe,
|
|
19535
|
+
IsMandatoryPipe,
|
|
19536
|
+
IsReadOnlyPipe,
|
|
19537
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
19538
|
+
DashPipe
|
|
19539
|
+
],
|
|
19540
|
+
exports: [
|
|
19541
|
+
DatePipe,
|
|
19542
|
+
FieldLabelPipe,
|
|
19543
|
+
FirstErrorPipe,
|
|
19544
|
+
IsCompoundPipe,
|
|
19545
|
+
IsMandatoryPipe,
|
|
19546
|
+
IsReadOnlyPipe,
|
|
19547
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
19548
|
+
DashPipe
|
|
19549
|
+
],
|
|
19550
|
+
providers: [
|
|
19551
|
+
IsCompoundPipe
|
|
19552
|
+
]
|
|
19553
|
+
}]
|
|
19554
|
+
}], null, null);
|
|
19555
|
+
})();
|
|
19556
|
+
|
|
19131
19557
|
var PALETTE_COMPONENTS = [
|
|
19132
19558
|
UnsupportedFieldComponent,
|
|
19133
19559
|
DatetimePickerComponent,
|
|
@@ -19197,7 +19623,10 @@
|
|
|
19197
19623
|
WriteFixedListFieldComponent,
|
|
19198
19624
|
WriteFixedRadioListFieldComponent,
|
|
19199
19625
|
WriteCaseLinkFieldComponent,
|
|
19200
|
-
WriteCollectionFieldComponent
|
|
19626
|
+
WriteCollectionFieldComponent,
|
|
19627
|
+
// ComponentLauncher web components
|
|
19628
|
+
CaseFileViewFieldComponent,
|
|
19629
|
+
CaseFileViewFolderComponent
|
|
19201
19630
|
];
|
|
19202
19631
|
var PaletteModule = /** @class */ (function () {
|
|
19203
19632
|
function PaletteModule() {
|
|
@@ -19230,18 +19659,20 @@
|
|
|
19230
19659
|
TabsModule,
|
|
19231
19660
|
LabelSubstitutorModule,
|
|
19232
19661
|
i1$4.NgxMdModule,
|
|
19233
|
-
i4.NgxMatDatetimePickerModule,
|
|
19234
|
-
i4.NgxMatTimepickerModule,
|
|
19235
|
-
i4.NgxMatNativeDateModule,
|
|
19662
|
+
i4$1.NgxMatDatetimePickerModule,
|
|
19663
|
+
i4$1.NgxMatTimepickerModule,
|
|
19664
|
+
i4$1.NgxMatNativeDateModule,
|
|
19236
19665
|
i6.MatFormFieldModule,
|
|
19237
19666
|
input.MatInputModule,
|
|
19238
19667
|
i5.MatDatepickerModule,
|
|
19239
19668
|
i5$1.MatAutocompleteModule,
|
|
19669
|
+
i1$5.CdkTreeModule,
|
|
19240
19670
|
i3.PaymentLibModule,
|
|
19241
|
-
i2.ScrollToModule.forRoot()
|
|
19242
|
-
|
|
19243
|
-
i4.
|
|
19244
|
-
i4.
|
|
19671
|
+
i2.ScrollToModule.forRoot(),
|
|
19672
|
+
i4.MediaViewerModule
|
|
19673
|
+
], i4$1.NgxMatDatetimePickerModule,
|
|
19674
|
+
i4$1.NgxMatNativeDateModule,
|
|
19675
|
+
i4$1.NgxMatTimepickerModule,
|
|
19245
19676
|
TabsModule,
|
|
19246
19677
|
PaletteUtilsModule,
|
|
19247
19678
|
PipesModule] });
|
|
@@ -19318,7 +19749,10 @@
|
|
|
19318
19749
|
WriteFixedListFieldComponent,
|
|
19319
19750
|
WriteFixedRadioListFieldComponent,
|
|
19320
19751
|
WriteCaseLinkFieldComponent,
|
|
19321
|
-
WriteCollectionFieldComponent
|
|
19752
|
+
WriteCollectionFieldComponent,
|
|
19753
|
+
// ComponentLauncher web components
|
|
19754
|
+
CaseFileViewFieldComponent,
|
|
19755
|
+
CaseFileViewFolderComponent], imports: [i1.CommonModule,
|
|
19322
19756
|
i1$1.RouterModule,
|
|
19323
19757
|
i1$2.FormsModule,
|
|
19324
19758
|
i1$2.ReactiveFormsModule,
|
|
@@ -19332,16 +19766,17 @@
|
|
|
19332
19766
|
TabsModule,
|
|
19333
19767
|
LabelSubstitutorModule,
|
|
19334
19768
|
i1$4.NgxMdModule,
|
|
19335
|
-
i4.NgxMatDatetimePickerModule,
|
|
19336
|
-
i4.NgxMatTimepickerModule,
|
|
19337
|
-
i4.NgxMatNativeDateModule,
|
|
19769
|
+
i4$1.NgxMatDatetimePickerModule,
|
|
19770
|
+
i4$1.NgxMatTimepickerModule,
|
|
19771
|
+
i4$1.NgxMatNativeDateModule,
|
|
19338
19772
|
i6.MatFormFieldModule,
|
|
19339
19773
|
input.MatInputModule,
|
|
19340
19774
|
i5.MatDatepickerModule,
|
|
19341
19775
|
i5$1.MatAutocompleteModule,
|
|
19342
|
-
|
|
19343
|
-
i4.
|
|
19344
|
-
i4.
|
|
19776
|
+
i1$5.CdkTreeModule,
|
|
19777
|
+
i3.PaymentLibModule, i2__namespace.ScrollToModule, i4.MediaViewerModule], exports: [i4$1.NgxMatDatetimePickerModule,
|
|
19778
|
+
i4$1.NgxMatNativeDateModule,
|
|
19779
|
+
i4$1.NgxMatTimepickerModule,
|
|
19345
19780
|
TabsModule,
|
|
19346
19781
|
PaletteUtilsModule,
|
|
19347
19782
|
PipesModule, UnsupportedFieldComponent,
|
|
@@ -19412,7 +19847,10 @@
|
|
|
19412
19847
|
WriteFixedListFieldComponent,
|
|
19413
19848
|
WriteFixedRadioListFieldComponent,
|
|
19414
19849
|
WriteCaseLinkFieldComponent,
|
|
19415
|
-
WriteCollectionFieldComponent
|
|
19850
|
+
WriteCollectionFieldComponent,
|
|
19851
|
+
// ComponentLauncher web components
|
|
19852
|
+
CaseFileViewFieldComponent,
|
|
19853
|
+
CaseFileViewFolderComponent] });
|
|
19416
19854
|
})();
|
|
19417
19855
|
(function () {
|
|
19418
19856
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -19433,15 +19871,17 @@
|
|
|
19433
19871
|
TabsModule,
|
|
19434
19872
|
LabelSubstitutorModule,
|
|
19435
19873
|
i1$4.NgxMdModule,
|
|
19436
|
-
i4.NgxMatDatetimePickerModule,
|
|
19437
|
-
i4.NgxMatTimepickerModule,
|
|
19438
|
-
i4.NgxMatNativeDateModule,
|
|
19874
|
+
i4$1.NgxMatDatetimePickerModule,
|
|
19875
|
+
i4$1.NgxMatTimepickerModule,
|
|
19876
|
+
i4$1.NgxMatNativeDateModule,
|
|
19439
19877
|
i6.MatFormFieldModule,
|
|
19440
19878
|
input.MatInputModule,
|
|
19441
19879
|
i5.MatDatepickerModule,
|
|
19442
19880
|
i5$1.MatAutocompleteModule,
|
|
19881
|
+
i1$5.CdkTreeModule,
|
|
19443
19882
|
i3.PaymentLibModule,
|
|
19444
|
-
i2.ScrollToModule.forRoot()
|
|
19883
|
+
i2.ScrollToModule.forRoot(),
|
|
19884
|
+
i4.MediaViewerModule
|
|
19445
19885
|
],
|
|
19446
19886
|
declarations: __spread([
|
|
19447
19887
|
FixedListPipe,
|
|
@@ -19451,9 +19891,9 @@
|
|
|
19451
19891
|
DocumentUrlPipe
|
|
19452
19892
|
], PALETTE_COMPONENTS),
|
|
19453
19893
|
exports: __spread([
|
|
19454
|
-
i4.NgxMatDatetimePickerModule,
|
|
19455
|
-
i4.NgxMatNativeDateModule,
|
|
19456
|
-
i4.NgxMatTimepickerModule,
|
|
19894
|
+
i4$1.NgxMatDatetimePickerModule,
|
|
19895
|
+
i4$1.NgxMatNativeDateModule,
|
|
19896
|
+
i4$1.NgxMatTimepickerModule,
|
|
19457
19897
|
TabsModule,
|
|
19458
19898
|
PaletteUtilsModule,
|
|
19459
19899
|
PipesModule
|
|
@@ -20324,7 +20764,7 @@
|
|
|
20324
20764
|
i0__namespace.ɵɵadvance(3);
|
|
20325
20765
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
|
|
20326
20766
|
}
|
|
20327
|
-
}, directives: [i1__namespace$
|
|
20767
|
+
}, directives: [i1__namespace$7.PaginationControlsDirective, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
20328
20768
|
(function () {
|
|
20329
20769
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
|
|
20330
20770
|
type: i0.Component,
|
|
@@ -20731,7 +21171,7 @@
|
|
|
20731
21171
|
i0__namespace.ɵɵadvance(2);
|
|
20732
21172
|
i0__namespace.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
20733
21173
|
}
|
|
20734
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$
|
|
21174
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$7.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
|
|
20735
21175
|
(function () {
|
|
20736
21176
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseListComponent, [{
|
|
20737
21177
|
type: i0.Component,
|
|
@@ -20791,12 +21231,12 @@
|
|
|
20791
21231
|
PaginationModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaginationModule });
|
|
20792
21232
|
PaginationModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
20793
21233
|
i1.CommonModule,
|
|
20794
|
-
i1$
|
|
21234
|
+
i1$7.NgxPaginationModule
|
|
20795
21235
|
]] });
|
|
20796
21236
|
(function () {
|
|
20797
21237
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaginationModule, { declarations: [PaginationComponent], imports: [i1.CommonModule,
|
|
20798
|
-
i1$
|
|
20799
|
-
i1$
|
|
21238
|
+
i1$7.NgxPaginationModule], exports: [PaginationComponent,
|
|
21239
|
+
i1$7.PaginatePipe] });
|
|
20800
21240
|
})();
|
|
20801
21241
|
(function () {
|
|
20802
21242
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationModule, [{
|
|
@@ -20804,14 +21244,14 @@
|
|
|
20804
21244
|
args: [{
|
|
20805
21245
|
imports: [
|
|
20806
21246
|
i1.CommonModule,
|
|
20807
|
-
i1$
|
|
21247
|
+
i1$7.NgxPaginationModule
|
|
20808
21248
|
],
|
|
20809
21249
|
declarations: [
|
|
20810
21250
|
PaginationComponent
|
|
20811
21251
|
],
|
|
20812
21252
|
exports: [
|
|
20813
21253
|
PaginationComponent,
|
|
20814
|
-
i1$
|
|
21254
|
+
i1$7.PaginatePipe
|
|
20815
21255
|
],
|
|
20816
21256
|
}]
|
|
20817
21257
|
}], null, null);
|
|
@@ -20830,14 +21270,14 @@
|
|
|
20830
21270
|
i1.CommonModule,
|
|
20831
21271
|
i1$2.FormsModule,
|
|
20832
21272
|
i1$1.RouterModule,
|
|
20833
|
-
i1$
|
|
21273
|
+
i1$7.NgxPaginationModule,
|
|
20834
21274
|
PaginationModule
|
|
20835
21275
|
]] });
|
|
20836
21276
|
(function () {
|
|
20837
21277
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
|
|
20838
21278
|
i1$2.FormsModule,
|
|
20839
21279
|
i1$1.RouterModule,
|
|
20840
|
-
i1$
|
|
21280
|
+
i1$7.NgxPaginationModule,
|
|
20841
21281
|
PaginationModule], exports: [CaseListComponent] });
|
|
20842
21282
|
})();
|
|
20843
21283
|
(function () {
|
|
@@ -20848,7 +21288,7 @@
|
|
|
20848
21288
|
i1.CommonModule,
|
|
20849
21289
|
i1$2.FormsModule,
|
|
20850
21290
|
i1$1.RouterModule,
|
|
20851
|
-
i1$
|
|
21291
|
+
i1$7.NgxPaginationModule,
|
|
20852
21292
|
PaginationModule
|
|
20853
21293
|
],
|
|
20854
21294
|
declarations: [CaseListComponent],
|
|
@@ -22618,7 +23058,7 @@
|
|
|
22618
23058
|
};
|
|
22619
23059
|
return DeleteOrCancelDialogComponent;
|
|
22620
23060
|
}());
|
|
22621
|
-
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
23061
|
+
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
|
|
22622
23062
|
DeleteOrCancelDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) {
|
|
22623
23063
|
if (rf & 1) {
|
|
22624
23064
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -22659,7 +23099,7 @@
|
|
|
22659
23099
|
templateUrl: './delete-or-cancel-dialog.component.html',
|
|
22660
23100
|
styleUrls: ['../action-dialog.component.scss']
|
|
22661
23101
|
}]
|
|
22662
|
-
}], function () { return [{ type: i1__namespace$
|
|
23102
|
+
}], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
|
|
22663
23103
|
})();
|
|
22664
23104
|
|
|
22665
23105
|
function EventTriggerComponent_form_0_option_5_Template(rf, ctx) {
|
|
@@ -22875,17 +23315,27 @@
|
|
|
22875
23315
|
i0__namespace.ɵɵproperty("id", tab_r16.id)("label", tab_r16.label);
|
|
22876
23316
|
}
|
|
22877
23317
|
}
|
|
22878
|
-
function
|
|
23318
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
|
|
22879
23319
|
if (rf & 1) {
|
|
22880
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
22881
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
22882
|
-
i0__namespace.ɵɵ
|
|
22883
|
-
i0__namespace.ɵɵtext(3);
|
|
23320
|
+
i0__namespace.ɵɵelementStart(0, "th", 34);
|
|
23321
|
+
i0__namespace.ɵɵelementStart(1, "div", 35);
|
|
23322
|
+
i0__namespace.ɵɵtext(2);
|
|
22884
23323
|
i0__namespace.ɵɵelementEnd();
|
|
22885
23324
|
i0__namespace.ɵɵelementEnd();
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
i0__namespace.ɵɵ
|
|
23325
|
+
}
|
|
23326
|
+
if (rf & 2) {
|
|
23327
|
+
var field_r21 = i0__namespace.ɵɵnextContext(2).$implicit;
|
|
23328
|
+
i0__namespace.ɵɵadvance(2);
|
|
23329
|
+
i0__namespace.ɵɵtextInterpolate(field_r21.label);
|
|
23330
|
+
}
|
|
23331
|
+
}
|
|
23332
|
+
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) {
|
|
23333
|
+
if (rf & 1) {
|
|
23334
|
+
i0__namespace.ɵɵelementStart(0, "tr");
|
|
23335
|
+
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", 32);
|
|
23338
|
+
i0__namespace.ɵɵelement(4, "ccd-field-read", 33);
|
|
22889
23339
|
i0__namespace.ɵɵelementEnd();
|
|
22890
23340
|
i0__namespace.ɵɵelementEnd();
|
|
22891
23341
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22893,15 +23343,15 @@
|
|
|
22893
23343
|
if (rf & 2) {
|
|
22894
23344
|
var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
|
|
22895
23345
|
var ctx_r22 = i0__namespace.ɵɵnextContext(4);
|
|
22896
|
-
i0__namespace.ɵɵadvance(
|
|
22897
|
-
i0__namespace.ɵɵ
|
|
23346
|
+
i0__namespace.ɵɵadvance(1);
|
|
23347
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
|
|
22898
23348
|
i0__namespace.ɵɵadvance(3);
|
|
22899
23349
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
|
|
22900
23350
|
}
|
|
22901
23351
|
}
|
|
22902
23352
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
|
|
22903
23353
|
if (rf & 1) {
|
|
22904
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
23354
|
+
i0__namespace.ɵɵelementStart(0, "tr", 36);
|
|
22905
23355
|
i0__namespace.ɵɵelementStart(1, "th");
|
|
22906
23356
|
i0__namespace.ɵɵelementStart(2, "span", 32);
|
|
22907
23357
|
i0__namespace.ɵɵelement(3, "ccd-field-read", 33);
|
|
@@ -22922,7 +23372,7 @@
|
|
|
22922
23372
|
i0__namespace.ɵɵelementStart(1, "div", 27);
|
|
22923
23373
|
i0__namespace.ɵɵelementContainerStart(2, 28);
|
|
22924
23374
|
i0__namespace.ɵɵpipe(3, "ccdIsCompound");
|
|
22925
|
-
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template,
|
|
23375
|
+
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
|
|
22926
23376
|
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
|
|
22927
23377
|
i0__namespace.ɵɵelementContainerEnd();
|
|
22928
23378
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22976,8 +23426,8 @@
|
|
|
22976
23426
|
i0__namespace.ɵɵelement(0, "mat-tab", 24);
|
|
22977
23427
|
}
|
|
22978
23428
|
if (rf & 2) {
|
|
22979
|
-
var
|
|
22980
|
-
i0__namespace.ɵɵproperty("id",
|
|
23429
|
+
var tab_r29 = ctx.$implicit;
|
|
23430
|
+
i0__namespace.ɵɵproperty("id", tab_r29.id)("label", tab_r29.label);
|
|
22981
23431
|
}
|
|
22982
23432
|
}
|
|
22983
23433
|
function CaseFullAccessViewComponent_ng_container_11_router_outlet_6_Template(rf, ctx) {
|
|
@@ -22987,10 +23437,10 @@
|
|
|
22987
23437
|
}
|
|
22988
23438
|
function CaseFullAccessViewComponent_ng_container_11_Template(rf, ctx) {
|
|
22989
23439
|
if (rf & 1) {
|
|
22990
|
-
var
|
|
23440
|
+
var _r31_1 = i0__namespace.ɵɵgetCurrentView();
|
|
22991
23441
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
22992
23442
|
i0__namespace.ɵɵelementStart(1, "mat-tab-group", 21, 22);
|
|
22993
|
-
i0__namespace.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
23443
|
+
i0__namespace.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r31_1); var ctx_r30 = i0__namespace.ɵɵnextContext(); return ctx_r30.tabChanged($event); });
|
|
22994
23444
|
i0__namespace.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template, 1, 2, "mat-tab", 23);
|
|
22995
23445
|
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template, 2, 2, "mat-tab", 23);
|
|
22996
23446
|
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template, 1, 2, "mat-tab", 23);
|
|
@@ -23206,6 +23656,16 @@
|
|
|
23206
23656
|
});
|
|
23207
23657
|
}
|
|
23208
23658
|
};
|
|
23659
|
+
/**
|
|
23660
|
+
* Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type
|
|
23661
|
+
* fields.
|
|
23662
|
+
* @param caseField The `CaseField` instance to check
|
|
23663
|
+
* @returns `true` if it should not have a label; `false` otherwise
|
|
23664
|
+
*/
|
|
23665
|
+
CaseFullAccessViewComponent.prototype.isFieldToHaveNoLabel = function (caseField) {
|
|
23666
|
+
return caseField.field_type.type === 'ComponentLauncher'
|
|
23667
|
+
&& caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
|
|
23668
|
+
};
|
|
23209
23669
|
CaseFullAccessViewComponent.prototype.init = function () {
|
|
23210
23670
|
var _this = this;
|
|
23211
23671
|
// Clone and sort tabs array
|
|
@@ -23264,7 +23724,7 @@
|
|
|
23264
23724
|
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
23265
23725
|
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
23266
23726
|
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
23267
|
-
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
23727
|
+
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.Location), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
|
|
23268
23728
|
CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
|
|
23269
23729
|
if (rf & 1) {
|
|
23270
23730
|
i0__namespace.ɵɵviewQuery(_c0$a, 1);
|
|
@@ -23273,7 +23733,7 @@
|
|
|
23273
23733
|
var _t = void 0;
|
|
23274
23734
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
23275
23735
|
}
|
|
23276
|
-
}, 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"], [
|
|
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) {
|
|
23277
23737
|
if (rf & 1) {
|
|
23278
23738
|
i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
23279
23739
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|
|
@@ -23320,7 +23780,7 @@
|
|
|
23320
23780
|
templateUrl: './case-full-access-view.component.html',
|
|
23321
23781
|
styleUrls: ['./case-full-access-view.component.scss']
|
|
23322
23782
|
}]
|
|
23323
|
-
}], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$
|
|
23783
|
+
}], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
|
|
23324
23784
|
type: i0.Input
|
|
23325
23785
|
}], hasEventSelector: [{
|
|
23326
23786
|
type: i0.Input
|
|
@@ -27514,7 +27974,7 @@
|
|
|
27514
27974
|
i0__namespace.ɵɵadvance(1);
|
|
27515
27975
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
27516
27976
|
}
|
|
27517
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$
|
|
27977
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$7.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
27518
27978
|
(function () {
|
|
27519
27979
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchResultComponent, [{
|
|
27520
27980
|
type: i0.Component,
|
|
@@ -27572,7 +28032,7 @@
|
|
|
27572
28032
|
BrowserService
|
|
27573
28033
|
], imports: [[
|
|
27574
28034
|
i1.CommonModule,
|
|
27575
|
-
i1$
|
|
28035
|
+
i1$7.NgxPaginationModule,
|
|
27576
28036
|
i1$1.RouterModule,
|
|
27577
28037
|
i1$2.FormsModule,
|
|
27578
28038
|
i1$2.ReactiveFormsModule,
|
|
@@ -27584,7 +28044,7 @@
|
|
|
27584
28044
|
]] });
|
|
27585
28045
|
(function () {
|
|
27586
28046
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
|
|
27587
|
-
i1$
|
|
28047
|
+
i1$7.NgxPaginationModule,
|
|
27588
28048
|
i1$1.RouterModule,
|
|
27589
28049
|
i1$2.FormsModule,
|
|
27590
28050
|
i1$2.ReactiveFormsModule,
|
|
@@ -27600,7 +28060,7 @@
|
|
|
27600
28060
|
args: [{
|
|
27601
28061
|
imports: [
|
|
27602
28062
|
i1.CommonModule,
|
|
27603
|
-
i1$
|
|
28063
|
+
i1$7.NgxPaginationModule,
|
|
27604
28064
|
i1$1.RouterModule,
|
|
27605
28065
|
i1$2.FormsModule,
|
|
27606
28066
|
i1$2.ReactiveFormsModule,
|
|
@@ -27928,6 +28388,9 @@
|
|
|
27928
28388
|
exports.CaseEventTriggerComponent = CaseEventTriggerComponent;
|
|
27929
28389
|
exports.CaseField = CaseField;
|
|
27930
28390
|
exports.CaseFieldService = CaseFieldService;
|
|
28391
|
+
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
28392
|
+
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
28393
|
+
exports.CaseFileViewService = CaseFileViewService;
|
|
27931
28394
|
exports.CaseFullAccessViewComponent = CaseFullAccessViewComponent;
|
|
27932
28395
|
exports.CaseHeaderComponent = CaseHeaderComponent;
|
|
27933
28396
|
exports.CaseHeaderModule = CaseHeaderModule;
|