@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-all-document-count → 5.0.27-angular11-upgrade
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 +156 -708
- 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-viewer/case-full-access-view/case-full-access-view.component.js +24 -45
- package/esm2015/lib/shared/components/palette/index.js +1 -2
- package/esm2015/lib/shared/components/palette/palette.module.js +9 -24
- package/esm2015/lib/shared/components/palette/palette.service.js +1 -18
- package/esm2015/lib/shared/components/search-result/search-result.component.js +10 -12
- 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/services/index.js +1 -2
- package/esm2015/public-api.js +1 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +133 -640
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +0 -4
- 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 +0 -7
- 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/index.d.ts +0 -1
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +21 -24
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts +0 -2
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- 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/services/index.d.ts +0 -1
- package/lib/shared/services/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +0 -70
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +0 -320
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +0 -2
- package/esm2015/lib/shared/components/palette/case-file-view/index.js +0 -3
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-category.model.js +0 -3
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-document.model.js +0 -3
- package/esm2015/lib/shared/domain/case-file-view/categories-and-documents.model.js +0 -7
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +0 -28
- package/esm2015/lib/shared/domain/case-file-view/index.js +0 -5
- package/esm2015/lib/shared/services/case-file-view/case-file-view.service.js +0 -47
- package/esm2015/lib/shared/services/case-file-view/index.js +0 -2
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +0 -19
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +0 -26
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +0 -2
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +0 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts +0 -3
- package/lib/shared/components/palette/case-file-view/index.d.ts.map +0 -1
- package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts +0 -9
- package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts.map +0 -1
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts +0 -8
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts.map +0 -1
- package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts +0 -12
- package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts.map +0 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +0 -7
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +0 -1
- package/lib/shared/domain/case-file-view/index.d.ts +0 -5
- package/lib/shared/domain/case-file-view/index.d.ts.map +0 -1
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts +0 -22
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts.map +0 -1
- package/lib/shared/services/case-file-view/index.d.ts +0 -2
- package/lib/shared/services/case-file-view/index.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('ngx-md'), require('@angular/
|
|
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/
|
|
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.
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('ngx-md'), require('@angular/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$6, i10) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -34,7 +34,6 @@
|
|
|
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 i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
38
37
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
39
38
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
40
39
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
44
43
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
45
44
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
46
|
-
var i1__namespace$
|
|
45
|
+
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
47
46
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
48
47
|
|
|
49
48
|
function FooterComponent_div_2_Template(rf, ctx) {
|
|
@@ -6401,49 +6400,6 @@
|
|
|
6401
6400
|
}], null, null);
|
|
6402
6401
|
})();
|
|
6403
6402
|
|
|
6404
|
-
var CaseFileViewService = /** @class */ (function () {
|
|
6405
|
-
function CaseFileViewService(http, appConfig, errorService) {
|
|
6406
|
-
this.http = http;
|
|
6407
|
-
this.appConfig = appConfig;
|
|
6408
|
-
this.errorService = errorService;
|
|
6409
|
-
}
|
|
6410
|
-
/**
|
|
6411
|
-
* Retrieves the categories and documents for a case.
|
|
6412
|
-
*
|
|
6413
|
-
* @param caseRef 16-digit Case Reference number of the case
|
|
6414
|
-
* @returns An `Observable` of the `CategoriesAndDocuments` for the case
|
|
6415
|
-
*/
|
|
6416
|
-
CaseFileViewService.prototype.getCategoriesAndDocuments = function (caseRef) {
|
|
6417
|
-
var url = this.appConfig.getCategoriesAndDocumentsUrl();
|
|
6418
|
-
if (url) {
|
|
6419
|
-
url += "/" + caseRef;
|
|
6420
|
-
return this.http.get(url, { observe: 'body' });
|
|
6421
|
-
}
|
|
6422
|
-
return rxjs.of(null);
|
|
6423
|
-
};
|
|
6424
|
-
CaseFileViewService.prototype.updateDocumentCategory = function (caseRef, caseVersion, attributePath, categoryId) {
|
|
6425
|
-
var url = this.appConfig.getDocumentDataUrl();
|
|
6426
|
-
if (url) {
|
|
6427
|
-
url += "/" + caseRef;
|
|
6428
|
-
var body = {
|
|
6429
|
-
case_version: caseVersion,
|
|
6430
|
-
attribute_path: attributePath,
|
|
6431
|
-
category_id: categoryId
|
|
6432
|
-
};
|
|
6433
|
-
return this.http.put(url, body, { observe: 'body' });
|
|
6434
|
-
}
|
|
6435
|
-
return rxjs.of(null);
|
|
6436
|
-
};
|
|
6437
|
-
return CaseFileViewService;
|
|
6438
|
-
}());
|
|
6439
|
-
CaseFileViewService.ɵfac = function CaseFileViewService_Factory(t) { return new (t || CaseFileViewService)(i0__namespace.ɵɵinject(HttpService), i0__namespace.ɵɵinject(AbstractAppConfig), i0__namespace.ɵɵinject(HttpErrorService)); };
|
|
6440
|
-
CaseFileViewService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: CaseFileViewService, factory: CaseFileViewService.ɵfac });
|
|
6441
|
-
(function () {
|
|
6442
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewService, [{
|
|
6443
|
-
type: i0.Injectable
|
|
6444
|
-
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }]; }, null);
|
|
6445
|
-
})();
|
|
6446
|
-
|
|
6447
6403
|
var DocumentManagementService = /** @class */ (function () {
|
|
6448
6404
|
function DocumentManagementService(http, appConfig) {
|
|
6449
6405
|
this.http = http;
|
|
@@ -9458,459 +9414,6 @@
|
|
|
9458
9414
|
}] });
|
|
9459
9415
|
})();
|
|
9460
9416
|
|
|
9461
|
-
var CaseFileViewCategory = /** @class */ (function () {
|
|
9462
|
-
function CaseFileViewCategory() {
|
|
9463
|
-
}
|
|
9464
|
-
return CaseFileViewCategory;
|
|
9465
|
-
}());
|
|
9466
|
-
|
|
9467
|
-
var CaseFileViewDocument = /** @class */ (function () {
|
|
9468
|
-
function CaseFileViewDocument() {
|
|
9469
|
-
}
|
|
9470
|
-
return CaseFileViewDocument;
|
|
9471
|
-
}());
|
|
9472
|
-
|
|
9473
|
-
/**
|
|
9474
|
-
* DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
|
|
9475
|
-
* @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
|
|
9476
|
-
*/
|
|
9477
|
-
var CategoriesAndDocuments = /** @class */ (function () {
|
|
9478
|
-
function CategoriesAndDocuments() {
|
|
9479
|
-
}
|
|
9480
|
-
return CategoriesAndDocuments;
|
|
9481
|
-
}());
|
|
9482
|
-
|
|
9483
|
-
var DocumentTreeNode = /** @class */ (function () {
|
|
9484
|
-
function DocumentTreeNode() {
|
|
9485
|
-
}
|
|
9486
|
-
Object.defineProperty(DocumentTreeNode.prototype, "childDocumentCount", {
|
|
9487
|
-
get: function () {
|
|
9488
|
-
var countChildren = function (childNodes) {
|
|
9489
|
-
var count = 0;
|
|
9490
|
-
if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
|
|
9491
|
-
var documents = childNodes.filter(function (item) { return item.type === 'document'; });
|
|
9492
|
-
count += documents.length;
|
|
9493
|
-
childNodes.forEach(function (children) {
|
|
9494
|
-
count += countChildren(children.children);
|
|
9495
|
-
});
|
|
9496
|
-
}
|
|
9497
|
-
return count;
|
|
9498
|
-
};
|
|
9499
|
-
return countChildren(this.children);
|
|
9500
|
-
},
|
|
9501
|
-
enumerable: false,
|
|
9502
|
-
configurable: true
|
|
9503
|
-
});
|
|
9504
|
-
return DocumentTreeNode;
|
|
9505
|
-
}());
|
|
9506
|
-
__decorate([
|
|
9507
|
-
classTransformer.Type(function () { return DocumentTreeNode; }),
|
|
9508
|
-
__metadata("design:type", Array)
|
|
9509
|
-
], DocumentTreeNode.prototype, "children", void 0);
|
|
9510
|
-
__decorate([
|
|
9511
|
-
classTransformer.Expose(),
|
|
9512
|
-
__metadata("design:type", Object),
|
|
9513
|
-
__metadata("design:paramtypes", [])
|
|
9514
|
-
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
9515
|
-
|
|
9516
|
-
function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) {
|
|
9517
|
-
if (rf & 1) {
|
|
9518
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9519
|
-
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
9520
|
-
i0__namespace.ɵɵelementStart(2, "button", 9);
|
|
9521
|
-
i0__namespace.ɵɵelement(3, "img", 10);
|
|
9522
|
-
i0__namespace.ɵɵelementEnd();
|
|
9523
|
-
i0__namespace.ɵɵelementStart(4, "span", 11);
|
|
9524
|
-
i0__namespace.ɵɵtext(5);
|
|
9525
|
-
i0__namespace.ɵɵelementEnd();
|
|
9526
|
-
i0__namespace.ɵɵelementEnd();
|
|
9527
|
-
i0__namespace.ɵɵelementEnd();
|
|
9528
|
-
}
|
|
9529
|
-
if (rf & 2) {
|
|
9530
|
-
var node_r2 = ctx.$implicit;
|
|
9531
|
-
i0__namespace.ɵɵadvance(5);
|
|
9532
|
-
i0__namespace.ɵɵtextInterpolate(node_r2.name);
|
|
9533
|
-
}
|
|
9534
|
-
}
|
|
9535
|
-
function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
|
|
9536
|
-
if (rf & 1) {
|
|
9537
|
-
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
|
|
9538
|
-
i0__namespace.ɵɵelementStart(1, "div", 12);
|
|
9539
|
-
i0__namespace.ɵɵelementStart(2, "button", 13);
|
|
9540
|
-
i0__namespace.ɵɵelement(3, "img", 14);
|
|
9541
|
-
i0__namespace.ɵɵelementStart(4, "span", 15);
|
|
9542
|
-
i0__namespace.ɵɵtext(5);
|
|
9543
|
-
i0__namespace.ɵɵelementEnd();
|
|
9544
|
-
i0__namespace.ɵɵelementEnd();
|
|
9545
|
-
i0__namespace.ɵɵelementStart(6, "span", 16);
|
|
9546
|
-
i0__namespace.ɵɵtext(7);
|
|
9547
|
-
i0__namespace.ɵɵelementEnd();
|
|
9548
|
-
i0__namespace.ɵɵelementEnd();
|
|
9549
|
-
i0__namespace.ɵɵelementStart(8, "div");
|
|
9550
|
-
i0__namespace.ɵɵelementContainer(9, 17);
|
|
9551
|
-
i0__namespace.ɵɵelementEnd();
|
|
9552
|
-
i0__namespace.ɵɵelementEnd();
|
|
9553
|
-
}
|
|
9554
|
-
if (rf & 2) {
|
|
9555
|
-
var node_r3 = ctx.$implicit;
|
|
9556
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
9557
|
-
i0__namespace.ɵɵadvance(2);
|
|
9558
|
-
i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r3.name);
|
|
9559
|
-
i0__namespace.ɵɵadvance(3);
|
|
9560
|
-
i0__namespace.ɵɵtextInterpolate(node_r3.childDocumentCount);
|
|
9561
|
-
i0__namespace.ɵɵadvance(2);
|
|
9562
|
-
i0__namespace.ɵɵtextInterpolate(node_r3.name);
|
|
9563
|
-
i0__namespace.ɵɵadvance(1);
|
|
9564
|
-
i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
|
|
9565
|
-
}
|
|
9566
|
-
}
|
|
9567
|
-
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
9568
|
-
function CaseFileViewFolderComponent() {
|
|
9569
|
-
this.categories = [];
|
|
9570
|
-
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
9571
|
-
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
9572
|
-
this.nestedTreeControl = new i1$5.NestedTreeControl(this.getChildren);
|
|
9573
|
-
}
|
|
9574
|
-
Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
|
|
9575
|
-
get: function () {
|
|
9576
|
-
var _a;
|
|
9577
|
-
if ((_a = this.nestedDataSource) === null || _a === void 0 ? void 0 : _a.length) {
|
|
9578
|
-
return this.nestedDataSource.reduce(function (acc, item) {
|
|
9579
|
-
return acc + item.childDocumentCount;
|
|
9580
|
-
}, 0);
|
|
9581
|
-
}
|
|
9582
|
-
else {
|
|
9583
|
-
return 0;
|
|
9584
|
-
}
|
|
9585
|
-
},
|
|
9586
|
-
enumerable: false,
|
|
9587
|
-
configurable: true
|
|
9588
|
-
});
|
|
9589
|
-
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
9590
|
-
var _this = this;
|
|
9591
|
-
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
|
|
9592
|
-
// Using the mock data for now as we have to display the documents as well for demo purpose
|
|
9593
|
-
var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
|
|
9594
|
-
// Generate document tree data from categories
|
|
9595
|
-
var treeData = _this.generateTreeData(categories);
|
|
9596
|
-
// Append uncategorised documents
|
|
9597
|
-
if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
|
|
9598
|
-
var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
|
|
9599
|
-
treeData.push(uncategorisedDocuments);
|
|
9600
|
-
}
|
|
9601
|
-
// Initialise cdk tree with generated data
|
|
9602
|
-
_this.nestedDataSource = treeData;
|
|
9603
|
-
});
|
|
9604
|
-
};
|
|
9605
|
-
CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
|
|
9606
|
-
var _this = this;
|
|
9607
|
-
return categories.reduce(function (tree, node) {
|
|
9608
|
-
var newDocumentTreeNode = new DocumentTreeNode();
|
|
9609
|
-
newDocumentTreeNode.name = node.category_name;
|
|
9610
|
-
newDocumentTreeNode.type = 'category';
|
|
9611
|
-
newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
|
|
9612
|
-
return __spread(tree, [
|
|
9613
|
-
newDocumentTreeNode,
|
|
9614
|
-
]);
|
|
9615
|
-
}, []);
|
|
9616
|
-
};
|
|
9617
|
-
CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
|
|
9618
|
-
var documentsToReturn = [];
|
|
9619
|
-
documents.forEach(function (document) {
|
|
9620
|
-
var documentTreeNode = new DocumentTreeNode();
|
|
9621
|
-
documentTreeNode.name = document.document_filename;
|
|
9622
|
-
documentTreeNode.type = 'document';
|
|
9623
|
-
documentsToReturn.push(documentTreeNode);
|
|
9624
|
-
});
|
|
9625
|
-
return documentsToReturn;
|
|
9626
|
-
};
|
|
9627
|
-
CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
|
|
9628
|
-
var documents = [];
|
|
9629
|
-
uncategorisedDocuments.forEach(function (document) {
|
|
9630
|
-
var documentTreeNode = new DocumentTreeNode();
|
|
9631
|
-
documentTreeNode.name = document.document_filename;
|
|
9632
|
-
documentTreeNode.type = 'document';
|
|
9633
|
-
documents.push(documentTreeNode);
|
|
9634
|
-
});
|
|
9635
|
-
var uncategorisedNode = new DocumentTreeNode();
|
|
9636
|
-
uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
|
|
9637
|
-
uncategorisedNode.type = 'category';
|
|
9638
|
-
uncategorisedNode.children = documents;
|
|
9639
|
-
return uncategorisedNode;
|
|
9640
|
-
};
|
|
9641
|
-
CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
|
|
9642
|
-
if (this.categoriesAndDocumentsSubscription) {
|
|
9643
|
-
this.categoriesAndDocumentsSubscription.unsubscribe();
|
|
9644
|
-
}
|
|
9645
|
-
};
|
|
9646
|
-
CaseFileViewFolderComponent.prototype.loadCategories = function () {
|
|
9647
|
-
return [
|
|
9648
|
-
{
|
|
9649
|
-
category_id: 'Beers',
|
|
9650
|
-
category_name: 'Beers',
|
|
9651
|
-
category_order: 1,
|
|
9652
|
-
documents: [
|
|
9653
|
-
{
|
|
9654
|
-
document_url: '/test',
|
|
9655
|
-
document_filename: 'Beers encyclopedia',
|
|
9656
|
-
document_binary_url: '/test/binary',
|
|
9657
|
-
attribute_path: '',
|
|
9658
|
-
upload_timestamp: ''
|
|
9659
|
-
}
|
|
9660
|
-
],
|
|
9661
|
-
sub_categories: [
|
|
9662
|
-
{
|
|
9663
|
-
category_id: 'BeersBitters',
|
|
9664
|
-
category_name: 'Bitters',
|
|
9665
|
-
category_order: 1,
|
|
9666
|
-
documents: [],
|
|
9667
|
-
sub_categories: []
|
|
9668
|
-
},
|
|
9669
|
-
{
|
|
9670
|
-
category_id: 'BeersAmerican',
|
|
9671
|
-
category_name: 'American',
|
|
9672
|
-
category_order: 2,
|
|
9673
|
-
documents: [],
|
|
9674
|
-
sub_categories: []
|
|
9675
|
-
},
|
|
9676
|
-
{
|
|
9677
|
-
category_id: 'BeersAsian',
|
|
9678
|
-
category_name: 'Asian',
|
|
9679
|
-
category_order: 3,
|
|
9680
|
-
documents: [],
|
|
9681
|
-
sub_categories: []
|
|
9682
|
-
}
|
|
9683
|
-
]
|
|
9684
|
-
},
|
|
9685
|
-
{
|
|
9686
|
-
category_id: 'Wines',
|
|
9687
|
-
category_name: 'Wines',
|
|
9688
|
-
category_order: 2,
|
|
9689
|
-
documents: [],
|
|
9690
|
-
sub_categories: [
|
|
9691
|
-
{
|
|
9692
|
-
category_id: 'WinesFrench',
|
|
9693
|
-
category_name: 'French',
|
|
9694
|
-
category_order: 1,
|
|
9695
|
-
documents: [],
|
|
9696
|
-
sub_categories: []
|
|
9697
|
-
},
|
|
9698
|
-
{
|
|
9699
|
-
category_id: 'WinesItalian',
|
|
9700
|
-
category_name: 'Italian',
|
|
9701
|
-
category_order: 2,
|
|
9702
|
-
documents: [],
|
|
9703
|
-
sub_categories: []
|
|
9704
|
-
}
|
|
9705
|
-
]
|
|
9706
|
-
},
|
|
9707
|
-
{
|
|
9708
|
-
category_id: 'Spirits',
|
|
9709
|
-
category_name: 'Spirits',
|
|
9710
|
-
category_order: 3,
|
|
9711
|
-
documents: [],
|
|
9712
|
-
sub_categories: [
|
|
9713
|
-
{
|
|
9714
|
-
category_id: 'SpiritsWhisky',
|
|
9715
|
-
category_name: 'Scotch whisky',
|
|
9716
|
-
category_order: 1,
|
|
9717
|
-
documents: [],
|
|
9718
|
-
sub_categories: [
|
|
9719
|
-
{
|
|
9720
|
-
category_id: 'WhiskyHighland',
|
|
9721
|
-
category_name: 'Highland',
|
|
9722
|
-
category_order: 1,
|
|
9723
|
-
documents: [],
|
|
9724
|
-
sub_categories: [
|
|
9725
|
-
{
|
|
9726
|
-
category_id: 'WhiskyHighland1',
|
|
9727
|
-
category_name: 'Highland 1',
|
|
9728
|
-
category_order: 1,
|
|
9729
|
-
documents: [],
|
|
9730
|
-
sub_categories: []
|
|
9731
|
-
}
|
|
9732
|
-
]
|
|
9733
|
-
},
|
|
9734
|
-
{
|
|
9735
|
-
category_id: 'WhiskyLowland',
|
|
9736
|
-
category_name: 'Lowland',
|
|
9737
|
-
category_order: 2,
|
|
9738
|
-
documents: [],
|
|
9739
|
-
sub_categories: [
|
|
9740
|
-
{
|
|
9741
|
-
category_id: 'WhiskyLowland1',
|
|
9742
|
-
category_name: 'Lowland 1',
|
|
9743
|
-
category_order: 1,
|
|
9744
|
-
documents: [
|
|
9745
|
-
{
|
|
9746
|
-
document_url: '/test',
|
|
9747
|
-
document_filename: 'Details about Whisky Lowland 1',
|
|
9748
|
-
document_binary_url: '/test/binary',
|
|
9749
|
-
attribute_path: '',
|
|
9750
|
-
upload_timestamp: ''
|
|
9751
|
-
}
|
|
9752
|
-
],
|
|
9753
|
-
sub_categories: []
|
|
9754
|
-
},
|
|
9755
|
-
{
|
|
9756
|
-
category_id: 'WhiskyLowland2',
|
|
9757
|
-
category_name: 'Lowland 2',
|
|
9758
|
-
category_order: 2,
|
|
9759
|
-
documents: [],
|
|
9760
|
-
sub_categories: []
|
|
9761
|
-
}
|
|
9762
|
-
]
|
|
9763
|
-
},
|
|
9764
|
-
{
|
|
9765
|
-
category_id: 'WhiskyIslay',
|
|
9766
|
-
category_name: 'Islay',
|
|
9767
|
-
category_order: 3,
|
|
9768
|
-
documents: [
|
|
9769
|
-
{
|
|
9770
|
-
document_url: '/test',
|
|
9771
|
-
document_filename: 'Details about Whisky Islay',
|
|
9772
|
-
document_binary_url: '/test/binary',
|
|
9773
|
-
attribute_path: '',
|
|
9774
|
-
upload_timestamp: ''
|
|
9775
|
-
},
|
|
9776
|
-
{
|
|
9777
|
-
document_url: '/test',
|
|
9778
|
-
document_filename: 'More information about Whisky Islay',
|
|
9779
|
-
document_binary_url: '/test/binary',
|
|
9780
|
-
attribute_path: '',
|
|
9781
|
-
upload_timestamp: ''
|
|
9782
|
-
}
|
|
9783
|
-
],
|
|
9784
|
-
sub_categories: []
|
|
9785
|
-
},
|
|
9786
|
-
{
|
|
9787
|
-
category_id: 'WhiskySpeyside',
|
|
9788
|
-
category_name: 'Speyside',
|
|
9789
|
-
category_order: 4,
|
|
9790
|
-
documents: [],
|
|
9791
|
-
sub_categories: []
|
|
9792
|
-
},
|
|
9793
|
-
{
|
|
9794
|
-
category_id: 'WhiskyCampbeltown',
|
|
9795
|
-
category_name: 'Campbeltown',
|
|
9796
|
-
category_order: 5,
|
|
9797
|
-
documents: [],
|
|
9798
|
-
sub_categories: []
|
|
9799
|
-
}
|
|
9800
|
-
]
|
|
9801
|
-
}
|
|
9802
|
-
]
|
|
9803
|
-
}
|
|
9804
|
-
];
|
|
9805
|
-
};
|
|
9806
|
-
return CaseFileViewFolderComponent;
|
|
9807
|
-
}());
|
|
9808
|
-
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
9809
|
-
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
|
|
9810
|
-
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 4, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
9811
|
-
if (rf & 1) {
|
|
9812
|
-
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
9813
|
-
i0__namespace.ɵɵelement(1, "div", 1);
|
|
9814
|
-
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
9815
|
-
i0__namespace.ɵɵtext(3);
|
|
9816
|
-
i0__namespace.ɵɵelementEnd();
|
|
9817
|
-
i0__namespace.ɵɵelementEnd();
|
|
9818
|
-
i0__namespace.ɵɵelementStart(4, "div", 3);
|
|
9819
|
-
i0__namespace.ɵɵelementStart(5, "cdk-tree", 4);
|
|
9820
|
-
i0__namespace.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 6, 1, "cdk-nested-tree-node", 5);
|
|
9821
|
-
i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 10, 5, "cdk-nested-tree-node", 6);
|
|
9822
|
-
i0__namespace.ɵɵelementEnd();
|
|
9823
|
-
i0__namespace.ɵɵelementEnd();
|
|
9824
|
-
}
|
|
9825
|
-
if (rf & 2) {
|
|
9826
|
-
i0__namespace.ɵɵadvance(3);
|
|
9827
|
-
i0__namespace.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
9828
|
-
i0__namespace.ɵɵadvance(2);
|
|
9829
|
-
i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
|
|
9830
|
-
i0__namespace.ɵɵadvance(2);
|
|
9831
|
-
i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
|
|
9832
|
-
}
|
|
9833
|
-
}, directives: [i1__namespace$5.CdkTree, i1__namespace$5.CdkTreeNodeDef, i1__namespace$5.CdkNestedTreeNode, i1__namespace$5.CdkTreeNodeToggle, i1__namespace$5.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{height:60px;border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0}.node__iconImg[_ngcontent-%COMP%]{height:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff}.node__name[_ngcontent-%COMP%]{margin-left:6px}"] });
|
|
9834
|
-
(function () {
|
|
9835
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
9836
|
-
type: i0.Component,
|
|
9837
|
-
args: [{
|
|
9838
|
-
selector: 'ccd-case-file-view-folder',
|
|
9839
|
-
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
9840
|
-
templateUrl: './case-file-view-folder.component.html'
|
|
9841
|
-
}]
|
|
9842
|
-
}], function () { return []; }, { categoriesAndDocuments: [{
|
|
9843
|
-
type: i0.Input
|
|
9844
|
-
}] });
|
|
9845
|
-
})();
|
|
9846
|
-
|
|
9847
|
-
var CaseFileViewFieldComponent = /** @class */ (function () {
|
|
9848
|
-
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService) {
|
|
9849
|
-
this.elementRef = elementRef;
|
|
9850
|
-
this.route = route;
|
|
9851
|
-
this.caseFileViewService = caseFileViewService;
|
|
9852
|
-
}
|
|
9853
|
-
CaseFileViewFieldComponent.prototype.ngOnInit = function () {
|
|
9854
|
-
var cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
9855
|
-
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
|
|
9856
|
-
};
|
|
9857
|
-
CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
|
|
9858
|
-
var slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
9859
|
-
var documentTreeContainer = this.elementRef.nativeElement.querySelector('.document-tree-container');
|
|
9860
|
-
var mousedown$ = rxjs.fromEvent(slider, 'mousedown');
|
|
9861
|
-
var mousemove$ = rxjs.fromEvent(document, 'mousemove');
|
|
9862
|
-
var mouseup$ = rxjs.fromEvent(document, 'mouseup');
|
|
9863
|
-
var drag$ = mousedown$.pipe(operators.switchMap(function (start) {
|
|
9864
|
-
var x = start.clientX;
|
|
9865
|
-
var documentTreeContainerWidth = documentTreeContainer.getBoundingClientRect().width;
|
|
9866
|
-
return mousemove$.pipe(operators.map(function (move) {
|
|
9867
|
-
move.preventDefault();
|
|
9868
|
-
return {
|
|
9869
|
-
dx: move.clientX - x,
|
|
9870
|
-
documentTreeContainerWidth: documentTreeContainerWidth
|
|
9871
|
-
};
|
|
9872
|
-
}), operators.takeUntil(mouseup$));
|
|
9873
|
-
}));
|
|
9874
|
-
drag$.subscribe(function (pos) {
|
|
9875
|
-
var calculatedWidth = ((pos.documentTreeContainerWidth + pos.dx) * 100) / slider.parentElement.getBoundingClientRect().width;
|
|
9876
|
-
documentTreeContainer.setAttribute('style', "width: " + calculatedWidth + "%");
|
|
9877
|
-
});
|
|
9878
|
-
};
|
|
9879
|
-
return CaseFileViewFieldComponent;
|
|
9880
|
-
}());
|
|
9881
|
-
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
9882
|
-
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)); };
|
|
9883
|
-
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 8, vars: 1, consts: [[1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [3, "categoriesAndDocuments"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
9884
|
-
if (rf & 1) {
|
|
9885
|
-
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
9886
|
-
i0__namespace.ɵɵtext(1, "Case file");
|
|
9887
|
-
i0__namespace.ɵɵelementEnd();
|
|
9888
|
-
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
9889
|
-
i0__namespace.ɵɵelementStart(3, "div", 2);
|
|
9890
|
-
i0__namespace.ɵɵelement(4, "ccd-case-file-view-folder", 3);
|
|
9891
|
-
i0__namespace.ɵɵelementEnd();
|
|
9892
|
-
i0__namespace.ɵɵelement(5, "div", 4);
|
|
9893
|
-
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
9894
|
-
i0__namespace.ɵɵtext(7, " Media viewer ");
|
|
9895
|
-
i0__namespace.ɵɵelementEnd();
|
|
9896
|
-
i0__namespace.ɵɵelementEnd();
|
|
9897
|
-
}
|
|
9898
|
-
if (rf & 2) {
|
|
9899
|
-
i0__namespace.ɵɵadvance(4);
|
|
9900
|
-
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx.categoriesAndDocuments$);
|
|
9901
|
-
}
|
|
9902
|
-
}, directives: [CaseFileViewFolderComponent], styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{flex:1 1 0%}"] });
|
|
9903
|
-
(function () {
|
|
9904
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
9905
|
-
type: i0.Component,
|
|
9906
|
-
args: [{
|
|
9907
|
-
selector: 'ccd-case-file-view-field',
|
|
9908
|
-
templateUrl: './case-file-view-field.component.html',
|
|
9909
|
-
styleUrls: ['./case-file-view-field.component.scss'],
|
|
9910
|
-
}]
|
|
9911
|
-
}], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null);
|
|
9912
|
-
})();
|
|
9913
|
-
|
|
9914
9417
|
function ReadCaseLinkFieldComponent_a_0_Template(rf, ctx) {
|
|
9915
9418
|
if (rf & 1) {
|
|
9916
9419
|
i0__namespace.ɵɵelementStart(0, "a", 1);
|
|
@@ -10273,7 +9776,7 @@
|
|
|
10273
9776
|
};
|
|
10274
9777
|
return RemoveDialogComponent;
|
|
10275
9778
|
}());
|
|
10276
|
-
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
9779
|
+
RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
|
|
10277
9780
|
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) {
|
|
10278
9781
|
if (rf & 1) {
|
|
10279
9782
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -10314,7 +9817,7 @@
|
|
|
10314
9817
|
templateUrl: './remove-dialog.component.html',
|
|
10315
9818
|
styleUrls: ['../action-dialog.component.scss']
|
|
10316
9819
|
}]
|
|
10317
|
-
}], function () { return [{ type: i1__namespace$
|
|
9820
|
+
}], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
|
|
10318
9821
|
})();
|
|
10319
9822
|
|
|
10320
9823
|
var _c0$D = ["collectionItem"];
|
|
@@ -10693,7 +10196,7 @@
|
|
|
10693
10196
|
};
|
|
10694
10197
|
WriteCollectionFieldComponent.prototype.openModal = function (i) {
|
|
10695
10198
|
var _this = this;
|
|
10696
|
-
var dialogConfig = new i1$
|
|
10199
|
+
var dialogConfig = new i1$5.MatDialogConfig();
|
|
10697
10200
|
dialogConfig.disableClose = true;
|
|
10698
10201
|
dialogConfig.autoFocus = true;
|
|
10699
10202
|
dialogConfig.ariaLabel = 'Label';
|
|
@@ -10727,7 +10230,7 @@
|
|
|
10727
10230
|
};
|
|
10728
10231
|
return WriteCollectionFieldComponent;
|
|
10729
10232
|
}(AbstractFieldWriteComponent));
|
|
10730
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
10233
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
10731
10234
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
10732
10235
|
if (rf & 1) {
|
|
10733
10236
|
i0__namespace.ɵɵviewQuery(_c0$D, 1);
|
|
@@ -10776,7 +10279,7 @@
|
|
|
10776
10279
|
templateUrl: './write-collection-field.html',
|
|
10777
10280
|
styleUrls: ['./collection-field.scss']
|
|
10778
10281
|
}]
|
|
10779
|
-
}], function () { return [{ type: i1__namespace$
|
|
10282
|
+
}], function () { return [{ type: i1__namespace$5.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
10780
10283
|
type: i0.Input
|
|
10781
10284
|
}], formGroup: [{
|
|
10782
10285
|
type: i0.Input
|
|
@@ -12167,7 +11670,7 @@
|
|
|
12167
11670
|
};
|
|
12168
11671
|
return DocumentDialogComponent;
|
|
12169
11672
|
}());
|
|
12170
|
-
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
11673
|
+
DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
|
|
12171
11674
|
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) {
|
|
12172
11675
|
if (rf & 1) {
|
|
12173
11676
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -12208,11 +11711,11 @@
|
|
|
12208
11711
|
templateUrl: './document-dialog.component.html',
|
|
12209
11712
|
styleUrls: ['../action-dialog.component.scss']
|
|
12210
11713
|
}]
|
|
12211
|
-
}], function () { return [{ type: i1__namespace$
|
|
11714
|
+
}], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
|
|
12212
11715
|
})();
|
|
12213
11716
|
|
|
12214
11717
|
function initDialog() {
|
|
12215
|
-
var dialogConfig = new i1$
|
|
11718
|
+
var dialogConfig = new i1$5.MatDialogConfig();
|
|
12216
11719
|
dialogConfig.disableClose = true;
|
|
12217
11720
|
dialogConfig.autoFocus = true;
|
|
12218
11721
|
dialogConfig.ariaLabel = 'Label';
|
|
@@ -12536,7 +12039,7 @@
|
|
|
12536
12039
|
WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
|
|
12537
12040
|
WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
|
|
12538
12041
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
12539
|
-
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$
|
|
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$5.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
12540
12043
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
12541
12044
|
if (rf & 1) {
|
|
12542
12045
|
i0__namespace.ɵɵviewQuery(_c0$z, 1);
|
|
@@ -12610,7 +12113,7 @@
|
|
|
12610
12113
|
selector: 'ccd-write-document-field',
|
|
12611
12114
|
templateUrl: './write-document-field.html'
|
|
12612
12115
|
}]
|
|
12613
|
-
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$
|
|
12116
|
+
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
|
|
12614
12117
|
type: i0.ViewChild,
|
|
12615
12118
|
args: ['fileInput', { static: false }]
|
|
12616
12119
|
}], clickout: [{
|
|
@@ -16655,9 +16158,6 @@
|
|
|
16655
16158
|
|
|
16656
16159
|
var PaletteService = /** @class */ (function () {
|
|
16657
16160
|
function PaletteService() {
|
|
16658
|
-
this.componentLauncherRegistry = {
|
|
16659
|
-
CaseFileView: CaseFileViewFieldComponent
|
|
16660
|
-
};
|
|
16661
16161
|
}
|
|
16662
16162
|
PaletteService.prototype.getFieldComponentClass = function (caseField, write) {
|
|
16663
16163
|
switch (caseField.field_type.type) {
|
|
@@ -16717,21 +16217,10 @@
|
|
|
16717
16217
|
return CaseHistoryViewerFieldComponent;
|
|
16718
16218
|
case 'WaysToPay':
|
|
16719
16219
|
return WaysToPayFieldComponent;
|
|
16720
|
-
case 'ComponentLauncher':
|
|
16721
|
-
return this.getComponentLauncherComponent(caseField);
|
|
16722
16220
|
default:
|
|
16723
16221
|
return UnsupportedFieldComponent;
|
|
16724
16222
|
}
|
|
16725
16223
|
};
|
|
16726
|
-
PaletteService.prototype.getComponentLauncherComponent = function (caseField) {
|
|
16727
|
-
// Extract the value passed for #ARGUMENT(...) in the CaseField display_context_parameter and return the matching
|
|
16728
|
-
// component from the componentLauncherRegistry
|
|
16729
|
-
var argumentValue = caseField.display_context_parameter.match(/#ARGUMENT\((.*?)\)/)[1];
|
|
16730
|
-
if (argumentValue && this.componentLauncherRegistry.hasOwnProperty(argumentValue)) {
|
|
16731
|
-
return this.componentLauncherRegistry[argumentValue];
|
|
16732
|
-
}
|
|
16733
|
-
return UnsupportedFieldComponent;
|
|
16734
|
-
};
|
|
16735
16224
|
return PaletteService;
|
|
16736
16225
|
}());
|
|
16737
16226
|
PaletteService.ɵfac = function PaletteService_Factory(t) { return new (t || PaletteService)(); };
|
|
@@ -17034,7 +16523,7 @@
|
|
|
17034
16523
|
};
|
|
17035
16524
|
return SaveOrDiscardDialogComponent;
|
|
17036
16525
|
}());
|
|
17037
|
-
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
16526
|
+
SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
|
|
17038
16527
|
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) {
|
|
17039
16528
|
if (rf & 1) {
|
|
17040
16529
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -17075,7 +16564,7 @@
|
|
|
17075
16564
|
templateUrl: './save-or-discard-dialog.component.html',
|
|
17076
16565
|
styleUrls: ['../action-dialog.component.scss']
|
|
17077
16566
|
}]
|
|
17078
|
-
}], function () { return [{ type: i1__namespace$
|
|
16567
|
+
}], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
|
|
17079
16568
|
})();
|
|
17080
16569
|
|
|
17081
16570
|
var CaseEditPageText;
|
|
@@ -17946,7 +17435,7 @@
|
|
|
17946
17435
|
};
|
|
17947
17436
|
return CaseEditPageComponent;
|
|
17948
17437
|
}());
|
|
17949
|
-
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$
|
|
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$5.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
|
|
17950
17439
|
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) {
|
|
17951
17440
|
if (rf & 1) {
|
|
17952
17441
|
i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
@@ -17992,7 +17481,7 @@
|
|
|
17992
17481
|
templateUrl: 'case-edit-page.html',
|
|
17993
17482
|
styleUrls: ['./case-edit-page.scss']
|
|
17994
17483
|
}]
|
|
17995
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$
|
|
17484
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$5.MatDialog }, { type: CaseFieldService }]; }, null);
|
|
17996
17485
|
})();
|
|
17997
17486
|
|
|
17998
17487
|
var Confirmation = /** @class */ (function () {
|
|
@@ -19078,6 +18567,89 @@
|
|
|
19078
18567
|
}], null, null);
|
|
19079
18568
|
})();
|
|
19080
18569
|
|
|
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
|
+
|
|
19081
18653
|
var CcdCollectionTableCaseFieldsFilterPipe = /** @class */ (function () {
|
|
19082
18654
|
function CcdCollectionTableCaseFieldsFilterPipe() {
|
|
19083
18655
|
}
|
|
@@ -19278,7 +18850,7 @@
|
|
|
19278
18850
|
'',
|
|
19279
18851
|
{}
|
|
19280
18852
|
];
|
|
19281
|
-
ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay'
|
|
18853
|
+
ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay'];
|
|
19282
18854
|
ReadFieldsFilterPipe.NESTED_TYPES = {
|
|
19283
18855
|
Complex: ReadFieldsFilterPipe.isValidComplex,
|
|
19284
18856
|
Collection: ReadFieldsFilterPipe.isValidCollection
|
|
@@ -19556,89 +19128,6 @@
|
|
|
19556
19128
|
return OrderSummary;
|
|
19557
19129
|
}());
|
|
19558
19130
|
|
|
19559
|
-
var IsReadOnlyPipe = /** @class */ (function () {
|
|
19560
|
-
function IsReadOnlyPipe(caseFieldService) {
|
|
19561
|
-
this.caseFieldService = caseFieldService;
|
|
19562
|
-
}
|
|
19563
|
-
IsReadOnlyPipe.prototype.transform = function (field) {
|
|
19564
|
-
return this.caseFieldService.isReadOnly(field);
|
|
19565
|
-
};
|
|
19566
|
-
return IsReadOnlyPipe;
|
|
19567
|
-
}());
|
|
19568
|
-
IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
|
|
19569
|
-
IsReadOnlyPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
19570
|
-
(function () {
|
|
19571
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
19572
|
-
type: i0.Pipe,
|
|
19573
|
-
args: [{
|
|
19574
|
-
name: 'ccdIsReadOnly'
|
|
19575
|
-
}]
|
|
19576
|
-
}], function () { return [{ type: CaseFieldService }]; }, null);
|
|
19577
|
-
})();
|
|
19578
|
-
|
|
19579
|
-
var PaletteUtilsModule = /** @class */ (function () {
|
|
19580
|
-
function PaletteUtilsModule() {
|
|
19581
|
-
}
|
|
19582
|
-
return PaletteUtilsModule;
|
|
19583
|
-
}());
|
|
19584
|
-
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
19585
|
-
PaletteUtilsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
19586
|
-
PaletteUtilsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
|
|
19587
|
-
IsCompoundPipe
|
|
19588
|
-
], imports: [[
|
|
19589
|
-
i1.CommonModule
|
|
19590
|
-
]] });
|
|
19591
|
-
(function () {
|
|
19592
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
19593
|
-
FieldLabelPipe,
|
|
19594
|
-
FirstErrorPipe,
|
|
19595
|
-
IsCompoundPipe,
|
|
19596
|
-
IsMandatoryPipe,
|
|
19597
|
-
IsReadOnlyPipe,
|
|
19598
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
19599
|
-
DashPipe], imports: [i1.CommonModule], exports: [DatePipe,
|
|
19600
|
-
FieldLabelPipe,
|
|
19601
|
-
FirstErrorPipe,
|
|
19602
|
-
IsCompoundPipe,
|
|
19603
|
-
IsMandatoryPipe,
|
|
19604
|
-
IsReadOnlyPipe,
|
|
19605
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
19606
|
-
DashPipe] });
|
|
19607
|
-
})();
|
|
19608
|
-
(function () {
|
|
19609
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteUtilsModule, [{
|
|
19610
|
-
type: i0.NgModule,
|
|
19611
|
-
args: [{
|
|
19612
|
-
imports: [
|
|
19613
|
-
i1.CommonModule
|
|
19614
|
-
],
|
|
19615
|
-
declarations: [
|
|
19616
|
-
DatePipe,
|
|
19617
|
-
FieldLabelPipe,
|
|
19618
|
-
FirstErrorPipe,
|
|
19619
|
-
IsCompoundPipe,
|
|
19620
|
-
IsMandatoryPipe,
|
|
19621
|
-
IsReadOnlyPipe,
|
|
19622
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
19623
|
-
DashPipe
|
|
19624
|
-
],
|
|
19625
|
-
exports: [
|
|
19626
|
-
DatePipe,
|
|
19627
|
-
FieldLabelPipe,
|
|
19628
|
-
FirstErrorPipe,
|
|
19629
|
-
IsCompoundPipe,
|
|
19630
|
-
IsMandatoryPipe,
|
|
19631
|
-
IsReadOnlyPipe,
|
|
19632
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
19633
|
-
DashPipe
|
|
19634
|
-
],
|
|
19635
|
-
providers: [
|
|
19636
|
-
IsCompoundPipe
|
|
19637
|
-
]
|
|
19638
|
-
}]
|
|
19639
|
-
}], null, null);
|
|
19640
|
-
})();
|
|
19641
|
-
|
|
19642
19131
|
var PALETTE_COMPONENTS = [
|
|
19643
19132
|
UnsupportedFieldComponent,
|
|
19644
19133
|
DatetimePickerComponent,
|
|
@@ -19708,10 +19197,7 @@
|
|
|
19708
19197
|
WriteFixedListFieldComponent,
|
|
19709
19198
|
WriteFixedRadioListFieldComponent,
|
|
19710
19199
|
WriteCaseLinkFieldComponent,
|
|
19711
|
-
WriteCollectionFieldComponent
|
|
19712
|
-
// ComponentLauncher web components
|
|
19713
|
-
CaseFileViewFieldComponent,
|
|
19714
|
-
CaseFileViewFolderComponent
|
|
19200
|
+
WriteCollectionFieldComponent
|
|
19715
19201
|
];
|
|
19716
19202
|
var PaletteModule = /** @class */ (function () {
|
|
19717
19203
|
function PaletteModule() {
|
|
@@ -19751,7 +19237,6 @@
|
|
|
19751
19237
|
input.MatInputModule,
|
|
19752
19238
|
i5.MatDatepickerModule,
|
|
19753
19239
|
i5$1.MatAutocompleteModule,
|
|
19754
|
-
i1$5.CdkTreeModule,
|
|
19755
19240
|
i3.PaymentLibModule,
|
|
19756
19241
|
i2.ScrollToModule.forRoot()
|
|
19757
19242
|
], i4.NgxMatDatetimePickerModule,
|
|
@@ -19833,10 +19318,7 @@
|
|
|
19833
19318
|
WriteFixedListFieldComponent,
|
|
19834
19319
|
WriteFixedRadioListFieldComponent,
|
|
19835
19320
|
WriteCaseLinkFieldComponent,
|
|
19836
|
-
WriteCollectionFieldComponent,
|
|
19837
|
-
// ComponentLauncher web components
|
|
19838
|
-
CaseFileViewFieldComponent,
|
|
19839
|
-
CaseFileViewFolderComponent], imports: [i1.CommonModule,
|
|
19321
|
+
WriteCollectionFieldComponent], imports: [i1.CommonModule,
|
|
19840
19322
|
i1$1.RouterModule,
|
|
19841
19323
|
i1$2.FormsModule,
|
|
19842
19324
|
i1$2.ReactiveFormsModule,
|
|
@@ -19857,7 +19339,6 @@
|
|
|
19857
19339
|
input.MatInputModule,
|
|
19858
19340
|
i5.MatDatepickerModule,
|
|
19859
19341
|
i5$1.MatAutocompleteModule,
|
|
19860
|
-
i1$5.CdkTreeModule,
|
|
19861
19342
|
i3.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
19862
19343
|
i4.NgxMatNativeDateModule,
|
|
19863
19344
|
i4.NgxMatTimepickerModule,
|
|
@@ -19931,10 +19412,7 @@
|
|
|
19931
19412
|
WriteFixedListFieldComponent,
|
|
19932
19413
|
WriteFixedRadioListFieldComponent,
|
|
19933
19414
|
WriteCaseLinkFieldComponent,
|
|
19934
|
-
WriteCollectionFieldComponent
|
|
19935
|
-
// ComponentLauncher web components
|
|
19936
|
-
CaseFileViewFieldComponent,
|
|
19937
|
-
CaseFileViewFolderComponent] });
|
|
19415
|
+
WriteCollectionFieldComponent] });
|
|
19938
19416
|
})();
|
|
19939
19417
|
(function () {
|
|
19940
19418
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -19962,7 +19440,6 @@
|
|
|
19962
19440
|
input.MatInputModule,
|
|
19963
19441
|
i5.MatDatepickerModule,
|
|
19964
19442
|
i5$1.MatAutocompleteModule,
|
|
19965
|
-
i1$5.CdkTreeModule,
|
|
19966
19443
|
i3.PaymentLibModule,
|
|
19967
19444
|
i2.ScrollToModule.forRoot()
|
|
19968
19445
|
],
|
|
@@ -20847,7 +20324,7 @@
|
|
|
20847
20324
|
i0__namespace.ɵɵadvance(3);
|
|
20848
20325
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
|
|
20849
20326
|
}
|
|
20850
|
-
}, directives: [i1__namespace$
|
|
20327
|
+
}, directives: [i1__namespace$6.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}}"] });
|
|
20851
20328
|
(function () {
|
|
20852
20329
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
|
|
20853
20330
|
type: i0.Component,
|
|
@@ -21254,7 +20731,7 @@
|
|
|
21254
20731
|
i0__namespace.ɵɵadvance(2);
|
|
21255
20732
|
i0__namespace.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
21256
20733
|
}
|
|
21257
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$
|
|
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$6.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
|
|
21258
20735
|
(function () {
|
|
21259
20736
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseListComponent, [{
|
|
21260
20737
|
type: i0.Component,
|
|
@@ -21314,12 +20791,12 @@
|
|
|
21314
20791
|
PaginationModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaginationModule });
|
|
21315
20792
|
PaginationModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
21316
20793
|
i1.CommonModule,
|
|
21317
|
-
i1$
|
|
20794
|
+
i1$6.NgxPaginationModule
|
|
21318
20795
|
]] });
|
|
21319
20796
|
(function () {
|
|
21320
20797
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaginationModule, { declarations: [PaginationComponent], imports: [i1.CommonModule,
|
|
21321
|
-
i1$
|
|
21322
|
-
i1$
|
|
20798
|
+
i1$6.NgxPaginationModule], exports: [PaginationComponent,
|
|
20799
|
+
i1$6.PaginatePipe] });
|
|
21323
20800
|
})();
|
|
21324
20801
|
(function () {
|
|
21325
20802
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationModule, [{
|
|
@@ -21327,14 +20804,14 @@
|
|
|
21327
20804
|
args: [{
|
|
21328
20805
|
imports: [
|
|
21329
20806
|
i1.CommonModule,
|
|
21330
|
-
i1$
|
|
20807
|
+
i1$6.NgxPaginationModule
|
|
21331
20808
|
],
|
|
21332
20809
|
declarations: [
|
|
21333
20810
|
PaginationComponent
|
|
21334
20811
|
],
|
|
21335
20812
|
exports: [
|
|
21336
20813
|
PaginationComponent,
|
|
21337
|
-
i1$
|
|
20814
|
+
i1$6.PaginatePipe
|
|
21338
20815
|
],
|
|
21339
20816
|
}]
|
|
21340
20817
|
}], null, null);
|
|
@@ -21353,14 +20830,14 @@
|
|
|
21353
20830
|
i1.CommonModule,
|
|
21354
20831
|
i1$2.FormsModule,
|
|
21355
20832
|
i1$1.RouterModule,
|
|
21356
|
-
i1$
|
|
20833
|
+
i1$6.NgxPaginationModule,
|
|
21357
20834
|
PaginationModule
|
|
21358
20835
|
]] });
|
|
21359
20836
|
(function () {
|
|
21360
20837
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
|
|
21361
20838
|
i1$2.FormsModule,
|
|
21362
20839
|
i1$1.RouterModule,
|
|
21363
|
-
i1$
|
|
20840
|
+
i1$6.NgxPaginationModule,
|
|
21364
20841
|
PaginationModule], exports: [CaseListComponent] });
|
|
21365
20842
|
})();
|
|
21366
20843
|
(function () {
|
|
@@ -21371,7 +20848,7 @@
|
|
|
21371
20848
|
i1.CommonModule,
|
|
21372
20849
|
i1$2.FormsModule,
|
|
21373
20850
|
i1$1.RouterModule,
|
|
21374
|
-
i1$
|
|
20851
|
+
i1$6.NgxPaginationModule,
|
|
21375
20852
|
PaginationModule
|
|
21376
20853
|
],
|
|
21377
20854
|
declarations: [CaseListComponent],
|
|
@@ -23141,7 +22618,7 @@
|
|
|
23141
22618
|
};
|
|
23142
22619
|
return DeleteOrCancelDialogComponent;
|
|
23143
22620
|
}());
|
|
23144
|
-
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$
|
|
22621
|
+
DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
|
|
23145
22622
|
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) {
|
|
23146
22623
|
if (rf & 1) {
|
|
23147
22624
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
@@ -23182,7 +22659,7 @@
|
|
|
23182
22659
|
templateUrl: './delete-or-cancel-dialog.component.html',
|
|
23183
22660
|
styleUrls: ['../action-dialog.component.scss']
|
|
23184
22661
|
}]
|
|
23185
|
-
}], function () { return [{ type: i1__namespace$
|
|
22662
|
+
}], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
|
|
23186
22663
|
})();
|
|
23187
22664
|
|
|
23188
22665
|
function EventTriggerComponent_form_0_option_5_Template(rf, ctx) {
|
|
@@ -23398,27 +22875,17 @@
|
|
|
23398
22875
|
i0__namespace.ɵɵproperty("id", tab_r16.id)("label", tab_r16.label);
|
|
23399
22876
|
}
|
|
23400
22877
|
}
|
|
23401
|
-
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
|
|
23402
|
-
if (rf & 1) {
|
|
23403
|
-
i0__namespace.ɵɵelementStart(0, "th", 35);
|
|
23404
|
-
i0__namespace.ɵɵelementStart(1, "div", 36);
|
|
23405
|
-
i0__namespace.ɵɵtext(2);
|
|
23406
|
-
i0__namespace.ɵɵelementEnd();
|
|
23407
|
-
i0__namespace.ɵɵelementEnd();
|
|
23408
|
-
}
|
|
23409
|
-
if (rf & 2) {
|
|
23410
|
-
var field_r21 = i0__namespace.ɵɵnextContext(2).$implicit;
|
|
23411
|
-
i0__namespace.ɵɵadvance(2);
|
|
23412
|
-
i0__namespace.ɵɵtextInterpolate(field_r21.label);
|
|
23413
|
-
}
|
|
23414
|
-
}
|
|
23415
22878
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) {
|
|
23416
22879
|
if (rf & 1) {
|
|
23417
22880
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
23418
|
-
i0__namespace.ɵɵ
|
|
23419
|
-
i0__namespace.ɵɵelementStart(2, "
|
|
23420
|
-
i0__namespace.ɵɵ
|
|
23421
|
-
i0__namespace.ɵɵ
|
|
22881
|
+
i0__namespace.ɵɵelementStart(1, "th");
|
|
22882
|
+
i0__namespace.ɵɵelementStart(2, "div", 31);
|
|
22883
|
+
i0__namespace.ɵɵtext(3);
|
|
22884
|
+
i0__namespace.ɵɵelementEnd();
|
|
22885
|
+
i0__namespace.ɵɵelementEnd();
|
|
22886
|
+
i0__namespace.ɵɵelementStart(4, "td");
|
|
22887
|
+
i0__namespace.ɵɵelementStart(5, "span", 32);
|
|
22888
|
+
i0__namespace.ɵɵelement(6, "ccd-field-read", 33);
|
|
23422
22889
|
i0__namespace.ɵɵelementEnd();
|
|
23423
22890
|
i0__namespace.ɵɵelementEnd();
|
|
23424
22891
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23426,20 +22893,18 @@
|
|
|
23426
22893
|
if (rf & 2) {
|
|
23427
22894
|
var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
|
|
23428
22895
|
var ctx_r22 = i0__namespace.ɵɵnextContext(4);
|
|
23429
|
-
i0__namespace.ɵɵadvance(
|
|
23430
|
-
i0__namespace.ɵɵ
|
|
23431
|
-
i0__namespace.ɵɵadvance(
|
|
23432
|
-
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23433
|
-
i0__namespace.ɵɵadvance(2);
|
|
22896
|
+
i0__namespace.ɵɵadvance(3);
|
|
22897
|
+
i0__namespace.ɵɵtextInterpolate(field_r21.label);
|
|
22898
|
+
i0__namespace.ɵɵadvance(3);
|
|
23434
22899
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
|
|
23435
22900
|
}
|
|
23436
22901
|
}
|
|
23437
22902
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
|
|
23438
22903
|
if (rf & 1) {
|
|
23439
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
23440
|
-
i0__namespace.ɵɵelementStart(1, "th"
|
|
23441
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
23442
|
-
i0__namespace.ɵɵelement(3, "ccd-field-read",
|
|
22904
|
+
i0__namespace.ɵɵelementStart(0, "tr", 34);
|
|
22905
|
+
i0__namespace.ɵɵelementStart(1, "th");
|
|
22906
|
+
i0__namespace.ɵɵelementStart(2, "span", 32);
|
|
22907
|
+
i0__namespace.ɵɵelement(3, "ccd-field-read", 33);
|
|
23443
22908
|
i0__namespace.ɵɵelementEnd();
|
|
23444
22909
|
i0__namespace.ɵɵelementEnd();
|
|
23445
22910
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23447,9 +22912,7 @@
|
|
|
23447
22912
|
if (rf & 2) {
|
|
23448
22913
|
var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
|
|
23449
22914
|
var ctx_r23 = i0__namespace.ɵɵnextContext(4);
|
|
23450
|
-
i0__namespace.ɵɵadvance(
|
|
23451
|
-
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23452
|
-
i0__namespace.ɵɵadvance(2);
|
|
22915
|
+
i0__namespace.ɵɵadvance(3);
|
|
23453
22916
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
|
|
23454
22917
|
}
|
|
23455
22918
|
}
|
|
@@ -23459,8 +22922,8 @@
|
|
|
23459
22922
|
i0__namespace.ɵɵelementStart(1, "div", 27);
|
|
23460
22923
|
i0__namespace.ɵɵelementContainerStart(2, 28);
|
|
23461
22924
|
i0__namespace.ɵɵpipe(3, "ccdIsCompound");
|
|
23462
|
-
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template,
|
|
23463
|
-
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4,
|
|
22925
|
+
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 7, 5, "tr", 29);
|
|
22926
|
+
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
|
|
23464
22927
|
i0__namespace.ɵɵelementContainerEnd();
|
|
23465
22928
|
i0__namespace.ɵɵelementEnd();
|
|
23466
22929
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -23513,8 +22976,8 @@
|
|
|
23513
22976
|
i0__namespace.ɵɵelement(0, "mat-tab", 24);
|
|
23514
22977
|
}
|
|
23515
22978
|
if (rf & 2) {
|
|
23516
|
-
var
|
|
23517
|
-
i0__namespace.ɵɵproperty("id",
|
|
22979
|
+
var tab_r27 = ctx.$implicit;
|
|
22980
|
+
i0__namespace.ɵɵproperty("id", tab_r27.id)("label", tab_r27.label);
|
|
23518
22981
|
}
|
|
23519
22982
|
}
|
|
23520
22983
|
function CaseFullAccessViewComponent_ng_container_11_router_outlet_6_Template(rf, ctx) {
|
|
@@ -23524,10 +22987,10 @@
|
|
|
23524
22987
|
}
|
|
23525
22988
|
function CaseFullAccessViewComponent_ng_container_11_Template(rf, ctx) {
|
|
23526
22989
|
if (rf & 1) {
|
|
23527
|
-
var
|
|
22990
|
+
var _r29_1 = i0__namespace.ɵɵgetCurrentView();
|
|
23528
22991
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
23529
22992
|
i0__namespace.ɵɵelementStart(1, "mat-tab-group", 21, 22);
|
|
23530
|
-
i0__namespace.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
22993
|
+
i0__namespace.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r29_1); var ctx_r28 = i0__namespace.ɵɵnextContext(); return ctx_r28.tabChanged($event); });
|
|
23531
22994
|
i0__namespace.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template, 1, 2, "mat-tab", 23);
|
|
23532
22995
|
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template, 2, 2, "mat-tab", 23);
|
|
23533
22996
|
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template, 1, 2, "mat-tab", 23);
|
|
@@ -23743,16 +23206,6 @@
|
|
|
23743
23206
|
});
|
|
23744
23207
|
}
|
|
23745
23208
|
};
|
|
23746
|
-
/**
|
|
23747
|
-
* Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type
|
|
23748
|
-
* fields.
|
|
23749
|
-
* @param caseField The `CaseField` instance to check
|
|
23750
|
-
* @returns `true` if it should not have a label; `false` otherwise
|
|
23751
|
-
*/
|
|
23752
|
-
CaseFullAccessViewComponent.prototype.isFieldToHaveNoLabel = function (caseField) {
|
|
23753
|
-
return caseField.field_type.type === 'ComponentLauncher'
|
|
23754
|
-
&& caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
|
|
23755
|
-
};
|
|
23756
23209
|
CaseFullAccessViewComponent.prototype.init = function () {
|
|
23757
23210
|
var _this = this;
|
|
23758
23211
|
// Clone and sort tabs array
|
|
@@ -23811,7 +23264,7 @@
|
|
|
23811
23264
|
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
23812
23265
|
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
23813
23266
|
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
23814
|
-
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$
|
|
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$5.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)); };
|
|
23815
23268
|
CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
|
|
23816
23269
|
if (rf & 1) {
|
|
23817
23270
|
i0__namespace.ɵɵviewQuery(_c0$a, 1);
|
|
@@ -23820,7 +23273,7 @@
|
|
|
23820
23273
|
var _t = void 0;
|
|
23821
23274
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
23822
23275
|
}
|
|
23823
|
-
}, 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"], [
|
|
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"], [1, "case-viewer-label", "text-16"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
|
|
23824
23277
|
if (rf & 1) {
|
|
23825
23278
|
i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
23826
23279
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|
|
@@ -23867,7 +23320,7 @@
|
|
|
23867
23320
|
templateUrl: './case-full-access-view.component.html',
|
|
23868
23321
|
styleUrls: ['./case-full-access-view.component.scss']
|
|
23869
23322
|
}]
|
|
23870
|
-
}], 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$
|
|
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$5.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
|
|
23871
23324
|
type: i0.Input
|
|
23872
23325
|
}], hasEventSelector: [{
|
|
23873
23326
|
type: i0.Input
|
|
@@ -27268,12 +26721,12 @@
|
|
|
27268
26721
|
i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
27269
26722
|
}
|
|
27270
26723
|
}
|
|
27271
|
-
function
|
|
26724
|
+
function SearchResultComponent_table_0_th_10_div_5_Template(rf, ctx) {
|
|
27272
26725
|
if (rf & 1) {
|
|
27273
26726
|
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
27274
26727
|
i0__namespace.ɵɵelementStart(0, "div", 27);
|
|
27275
26728
|
i0__namespace.ɵɵelementStart(1, "a", 28);
|
|
27276
|
-
i0__namespace.ɵɵlistener("click", function
|
|
26729
|
+
i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_5_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
|
|
27277
26730
|
i0__namespace.ɵɵelementEnd();
|
|
27278
26731
|
i0__namespace.ɵɵelementEnd();
|
|
27279
26732
|
}
|
|
@@ -27290,13 +26743,11 @@
|
|
|
27290
26743
|
i0__namespace.ɵɵelementStart(0, "th");
|
|
27291
26744
|
i0__namespace.ɵɵelementStart(1, "table", 24);
|
|
27292
26745
|
i0__namespace.ɵɵelementStart(2, "tr");
|
|
27293
|
-
i0__namespace.ɵɵelementStart(3, "
|
|
27294
|
-
i0__namespace.ɵɵ
|
|
27295
|
-
i0__namespace.ɵɵ
|
|
27296
|
-
i0__namespace.ɵɵtext(5);
|
|
27297
|
-
i0__namespace.ɵɵelementEnd();
|
|
27298
|
-
i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
|
|
26746
|
+
i0__namespace.ɵɵelementStart(3, "div", 25);
|
|
26747
|
+
i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_3_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
|
|
26748
|
+
i0__namespace.ɵɵtext(4);
|
|
27299
26749
|
i0__namespace.ɵɵelementEnd();
|
|
26750
|
+
i0__namespace.ɵɵtemplate(5, SearchResultComponent_table_0_th_10_div_5_Template, 2, 1, "div", 26);
|
|
27300
26751
|
i0__namespace.ɵɵelementEnd();
|
|
27301
26752
|
i0__namespace.ɵɵelementEnd();
|
|
27302
26753
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -27305,8 +26756,8 @@
|
|
|
27305
26756
|
var col_r15 = ctx.$implicit;
|
|
27306
26757
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
27307
26758
|
i0__namespace.ɵɵadvance(1);
|
|
27308
|
-
i0__namespace.ɵɵ
|
|
27309
|
-
i0__namespace.ɵɵadvance(
|
|
26759
|
+
i0__namespace.ɵɵattributeInterpolate2("aria-label", "Sort by ", col_r15.label, " ", ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending", "");
|
|
26760
|
+
i0__namespace.ɵɵadvance(3);
|
|
27310
26761
|
i0__namespace.ɵɵtextInterpolate(col_r15.label);
|
|
27311
26762
|
i0__namespace.ɵɵadvance(1);
|
|
27312
26763
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
@@ -27642,7 +27093,7 @@
|
|
|
27642
27093
|
i0__namespace.ɵɵelementStart(7, "thead");
|
|
27643
27094
|
i0__namespace.ɵɵelementStart(8, "tr", 7);
|
|
27644
27095
|
i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
|
|
27645
|
-
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template,
|
|
27096
|
+
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 6, 4, "th", 9);
|
|
27646
27097
|
i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
|
|
27647
27098
|
i0__namespace.ɵɵelementEnd();
|
|
27648
27099
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -28063,7 +27514,7 @@
|
|
|
28063
27514
|
i0__namespace.ɵɵadvance(1);
|
|
28064
27515
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
28065
27516
|
}
|
|
28066
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$
|
|
27517
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$6.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}"] });
|
|
28067
27518
|
(function () {
|
|
28068
27519
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchResultComponent, [{
|
|
28069
27520
|
type: i0.Component,
|
|
@@ -28121,7 +27572,7 @@
|
|
|
28121
27572
|
BrowserService
|
|
28122
27573
|
], imports: [[
|
|
28123
27574
|
i1.CommonModule,
|
|
28124
|
-
i1$
|
|
27575
|
+
i1$6.NgxPaginationModule,
|
|
28125
27576
|
i1$1.RouterModule,
|
|
28126
27577
|
i1$2.FormsModule,
|
|
28127
27578
|
i1$2.ReactiveFormsModule,
|
|
@@ -28133,7 +27584,7 @@
|
|
|
28133
27584
|
]] });
|
|
28134
27585
|
(function () {
|
|
28135
27586
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
|
|
28136
|
-
i1$
|
|
27587
|
+
i1$6.NgxPaginationModule,
|
|
28137
27588
|
i1$1.RouterModule,
|
|
28138
27589
|
i1$2.FormsModule,
|
|
28139
27590
|
i1$2.ReactiveFormsModule,
|
|
@@ -28149,7 +27600,7 @@
|
|
|
28149
27600
|
args: [{
|
|
28150
27601
|
imports: [
|
|
28151
27602
|
i1.CommonModule,
|
|
28152
|
-
i1$
|
|
27603
|
+
i1$6.NgxPaginationModule,
|
|
28153
27604
|
i1$1.RouterModule,
|
|
28154
27605
|
i1$2.FormsModule,
|
|
28155
27606
|
i1$2.ReactiveFormsModule,
|
|
@@ -28477,9 +27928,6 @@
|
|
|
28477
27928
|
exports.CaseEventTriggerComponent = CaseEventTriggerComponent;
|
|
28478
27929
|
exports.CaseField = CaseField;
|
|
28479
27930
|
exports.CaseFieldService = CaseFieldService;
|
|
28480
|
-
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
28481
|
-
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
28482
|
-
exports.CaseFileViewService = CaseFileViewService;
|
|
28483
27931
|
exports.CaseFullAccessViewComponent = CaseFullAccessViewComponent;
|
|
28484
27932
|
exports.CaseHeaderComponent = CaseHeaderComponent;
|
|
28485
27933
|
exports.CaseHeaderModule = CaseHeaderModule;
|