@hmcts/ccd-case-ui-toolkit 6.19.6-case-file-view-feature-toggle-v1.1 → 6.19.6-case-file-view-document-upload-date-v3
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 +26 -39
- 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 +9 -5
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.js +8 -19
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +12 -17
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +18 -28
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +0 -2
- 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 +3 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts +3 -6
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +1 -3
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rpx-xui-translation'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('moment'), require('underscore'), require('pegjs'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('ngx-md'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/input'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@hmcts/media-viewer'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', 'rpx-xui-translation', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'moment', 'underscore', 'pegjs', 'util', '@edium/fsm', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', 'ngx-md', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/input', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', '@hmcts/media-viewer', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
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.i1, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.moment, global.underscore, global.pegjs, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["ngx-md"], global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.input, global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.i12, global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
-
})(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$2, i1$4, i5, i6, i3, i1$5,
|
|
5
|
+
})(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$2, i1$4, i5, i6, i3, i1$5, i7, i3$1, i4, momentAdapter, i5$1, i6$1, i12, i6$2, 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
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
41
41
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
42
42
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
43
|
-
var
|
|
43
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
44
44
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
45
45
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
46
46
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
@@ -22167,31 +22167,21 @@
|
|
|
22167
22167
|
})(CaseFileViewSortColumns || (CaseFileViewSortColumns = {}));
|
|
22168
22168
|
|
|
22169
22169
|
var CaseFileViewFolderSortComponent = /** @class */ (function () {
|
|
22170
|
-
function CaseFileViewFolderSortComponent(
|
|
22170
|
+
function CaseFileViewFolderSortComponent() {
|
|
22171
22171
|
var _this = this;
|
|
22172
|
-
this.appConfig = appConfig;
|
|
22173
22172
|
this.isOpen = false;
|
|
22174
22173
|
this.sortAscending = new i0.EventEmitter();
|
|
22175
22174
|
this.sortDescending = new i0.EventEmitter();
|
|
22176
22175
|
this.overlayMenuItems = [
|
|
22177
22176
|
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_NAME); } },
|
|
22178
22177
|
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_NAME); } },
|
|
22178
|
+
{ actionText: 'Recent first', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP); } },
|
|
22179
|
+
{ actionText: 'Oldest first', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP); } },
|
|
22179
22180
|
];
|
|
22180
22181
|
}
|
|
22181
|
-
CaseFileViewFolderSortComponent.prototype.ngOnInit = function () {
|
|
22182
|
-
var _this = this;
|
|
22183
|
-
if (this.appConfig.getEnableCaseFileViewVersion1_1()) {
|
|
22184
|
-
this.overlayMenuItems = [
|
|
22185
|
-
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_NAME); } },
|
|
22186
|
-
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_NAME); } },
|
|
22187
|
-
{ actionText: 'Recent first', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: function () { return _this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP); } },
|
|
22188
|
-
{ actionText: 'Oldest first', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: function () { return _this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP); } },
|
|
22189
|
-
];
|
|
22190
|
-
}
|
|
22191
|
-
};
|
|
22192
22182
|
return CaseFileViewFolderSortComponent;
|
|
22193
22183
|
}());
|
|
22194
|
-
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(
|
|
22184
|
+
CaseFileViewFolderSortComponent.ɵfac = function CaseFileViewFolderSortComponent_Factory(t) { return new (t || CaseFileViewFolderSortComponent)(); };
|
|
22195
22185
|
CaseFileViewFolderSortComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "title", "menuItems", "isOpen", "isOpenChange"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) {
|
|
22196
22186
|
if (rf & 1) {
|
|
22197
22187
|
i0__namespace.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
@@ -22213,7 +22203,7 @@
|
|
|
22213
22203
|
templateUrl: './case-file-view-folder-sort.component.html',
|
|
22214
22204
|
styleUrls: ['./case-file-view-folder-sort.component.scss']
|
|
22215
22205
|
}]
|
|
22216
|
-
}], function () { return [
|
|
22206
|
+
}], function () { return []; }, { sortAscending: [{
|
|
22217
22207
|
type: i0.Output
|
|
22218
22208
|
}], sortDescending: [{
|
|
22219
22209
|
type: i0.Output
|
|
@@ -22477,18 +22467,17 @@
|
|
|
22477
22467
|
}
|
|
22478
22468
|
var MEDIA_VIEWER_LOCALSTORAGE_KEY = 'media-viewer-info';
|
|
22479
22469
|
var CaseFileViewFolderComponent = /** @class */ (function () {
|
|
22480
|
-
function CaseFileViewFolderComponent(windowService, router, documentManagementService, dialog
|
|
22470
|
+
function CaseFileViewFolderComponent(windowService, router, documentManagementService, dialog) {
|
|
22481
22471
|
this.windowService = windowService;
|
|
22482
22472
|
this.router = router;
|
|
22483
22473
|
this.documentManagementService = documentManagementService;
|
|
22484
22474
|
this.dialog = dialog;
|
|
22485
|
-
this.appConfig = appConfig;
|
|
22486
22475
|
this.clickedDocument = new i0.EventEmitter();
|
|
22487
22476
|
this.moveDocument = new i0.EventEmitter();
|
|
22488
22477
|
this.categories = [];
|
|
22489
22478
|
this.getChildren = function (node) { return rxjs.of(node.children); };
|
|
22490
22479
|
this.nestedChildren = function (_, nodeData) { return nodeData.children; };
|
|
22491
|
-
this.nestedTreeControl = new
|
|
22480
|
+
this.nestedTreeControl = new i7.NestedTreeControl(this.getChildren);
|
|
22492
22481
|
}
|
|
22493
22482
|
Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
|
|
22494
22483
|
get: function () {
|
|
@@ -22547,7 +22536,6 @@
|
|
|
22547
22536
|
}, []);
|
|
22548
22537
|
};
|
|
22549
22538
|
CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
|
|
22550
|
-
var _this = this;
|
|
22551
22539
|
var documentsToReturn = [];
|
|
22552
22540
|
documents.forEach(function (document) {
|
|
22553
22541
|
var documentTreeNode = new DocumentTreeNode();
|
|
@@ -22556,14 +22544,12 @@
|
|
|
22556
22544
|
documentTreeNode.document_filename = document.document_filename;
|
|
22557
22545
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
22558
22546
|
documentTreeNode.attribute_path = document.attribute_path;
|
|
22559
|
-
documentTreeNode.upload_timestamp =
|
|
22560
|
-
&& document.upload_timestamp ? moment__namespace(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
22547
|
+
documentTreeNode.upload_timestamp = document.upload_timestamp ? moment__namespace(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
22561
22548
|
documentsToReturn.push(documentTreeNode);
|
|
22562
22549
|
});
|
|
22563
22550
|
return documentsToReturn;
|
|
22564
22551
|
};
|
|
22565
22552
|
CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
|
|
22566
|
-
var _this = this;
|
|
22567
22553
|
var documents = [];
|
|
22568
22554
|
uncategorisedDocuments.forEach(function (document) {
|
|
22569
22555
|
var documentTreeNode = new DocumentTreeNode();
|
|
@@ -22572,8 +22558,7 @@
|
|
|
22572
22558
|
documentTreeNode.document_filename = document.document_filename;
|
|
22573
22559
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
22574
22560
|
documentTreeNode.attribute_path = document.attribute_path;
|
|
22575
|
-
documentTreeNode.upload_timestamp =
|
|
22576
|
-
&& document.upload_timestamp ? moment__namespace(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
22561
|
+
documentTreeNode.upload_timestamp = document.upload_timestamp ? moment__namespace(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
22577
22562
|
documents.push(documentTreeNode);
|
|
22578
22563
|
});
|
|
22579
22564
|
var uncategorisedNode = new DocumentTreeNode();
|
|
@@ -22697,7 +22682,7 @@
|
|
|
22697
22682
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
22698
22683
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
22699
22684
|
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
22700
|
-
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)
|
|
22685
|
+
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)); };
|
|
22701
22686
|
CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
|
|
22702
22687
|
if (rf & 1) {
|
|
22703
22688
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -22725,7 +22710,7 @@
|
|
|
22725
22710
|
i0__namespace.ɵɵadvance(3);
|
|
22726
22711
|
i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
22727
22712
|
}
|
|
22728
|
-
}, directives: [i2__namespace$1.NgControlStatusGroup, i2__namespace$1.FormGroupDirective, i2__namespace$1.DefaultValueAccessor, i2__namespace$1.NgControlStatus, i2__namespace$1.FormControlName, CaseFileViewFolderSortComponent, i2__namespace.NgIf,
|
|
22713
|
+
}, directives: [i2__namespace$1.NgControlStatusGroup, i2__namespace$1.FormGroupDirective, i2__namespace$1.DefaultValueAccessor, i2__namespace$1.NgControlStatus, i2__namespace$1.FormControlName, CaseFileViewFolderSortComponent, i2__namespace.NgIf, i7__namespace.CdkTree, i7__namespace.CdkTreeNodeDef, i7__namespace.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7__namespace.CdkTreeNodeToggle, i7__namespace.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}"] });
|
|
22729
22714
|
(function () {
|
|
22730
22715
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
22731
22716
|
type: i0.Component,
|
|
@@ -22734,7 +22719,7 @@
|
|
|
22734
22719
|
templateUrl: './case-file-view-folder.component.html',
|
|
22735
22720
|
styleUrls: ['./case-file-view-folder.component.scss'],
|
|
22736
22721
|
}]
|
|
22737
|
-
}], function () { return [{ type: WindowService }, { type: i1__namespace$1.Router }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }
|
|
22722
|
+
}], function () { return [{ type: WindowService }, { type: i1__namespace$1.Router }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }]; }, { categoriesAndDocuments: [{
|
|
22738
22723
|
type: i0.Input
|
|
22739
22724
|
}], allowMoving: [{
|
|
22740
22725
|
type: i0.Input
|
|
@@ -27235,12 +27220,12 @@
|
|
|
27235
27220
|
i3$1.MatInputModule,
|
|
27236
27221
|
i5$1.MatDatepickerModule,
|
|
27237
27222
|
i5.MatAutocompleteModule,
|
|
27238
|
-
|
|
27223
|
+
i7.CdkTreeModule,
|
|
27239
27224
|
i1$5.OverlayModule,
|
|
27240
27225
|
i3.PaymentLibModule,
|
|
27241
27226
|
i2$2.ScrollToModule.forRoot(),
|
|
27242
27227
|
i1.RpxTranslationModule.forChild(),
|
|
27243
|
-
|
|
27228
|
+
i7.CdkTreeModule,
|
|
27244
27229
|
i1$5.OverlayModule,
|
|
27245
27230
|
i1$3.MatDialogModule,
|
|
27246
27231
|
i12.MediaViewerModule,
|
|
@@ -27383,9 +27368,9 @@
|
|
|
27383
27368
|
i3$1.MatInputModule,
|
|
27384
27369
|
i5$1.MatDatepickerModule,
|
|
27385
27370
|
i5.MatAutocompleteModule,
|
|
27386
|
-
|
|
27371
|
+
i7.CdkTreeModule,
|
|
27387
27372
|
i1$5.OverlayModule,
|
|
27388
|
-
i3.PaymentLibModule, i2__namespace$2.ScrollToModule, i1__namespace.RpxTranslationModule,
|
|
27373
|
+
i3.PaymentLibModule, i2__namespace$2.ScrollToModule, i1__namespace.RpxTranslationModule, i7.CdkTreeModule,
|
|
27389
27374
|
i1$5.OverlayModule,
|
|
27390
27375
|
i1$3.MatDialogModule,
|
|
27391
27376
|
i12.MediaViewerModule,
|
|
@@ -27528,12 +27513,12 @@
|
|
|
27528
27513
|
i3$1.MatInputModule,
|
|
27529
27514
|
i5$1.MatDatepickerModule,
|
|
27530
27515
|
i5.MatAutocompleteModule,
|
|
27531
|
-
|
|
27516
|
+
i7.CdkTreeModule,
|
|
27532
27517
|
i1$5.OverlayModule,
|
|
27533
27518
|
i3.PaymentLibModule,
|
|
27534
27519
|
i2$2.ScrollToModule.forRoot(),
|
|
27535
27520
|
i1.RpxTranslationModule.forChild(),
|
|
27536
|
-
|
|
27521
|
+
i7.CdkTreeModule,
|
|
27537
27522
|
i1$5.OverlayModule,
|
|
27538
27523
|
i1$3.MatDialogModule,
|
|
27539
27524
|
i12.MediaViewerModule,
|
|
@@ -32393,7 +32378,7 @@
|
|
|
32393
32378
|
}
|
|
32394
32379
|
}
|
|
32395
32380
|
var CaseFullAccessViewComponent = /** @class */ (function () {
|
|
32396
|
-
function CaseFullAccessViewComponent(ngZone, route, router, navigationNotifierService, orderService, activityPollingService, dialog, alertService, draftService, errorNotifierService, convertHrefToRouterService, location, crf, sessionStorageService) {
|
|
32381
|
+
function CaseFullAccessViewComponent(ngZone, route, router, navigationNotifierService, orderService, activityPollingService, dialog, alertService, draftService, errorNotifierService, convertHrefToRouterService, location, crf, sessionStorageService, rpxTranslationPipe) {
|
|
32397
32382
|
this.ngZone = ngZone;
|
|
32398
32383
|
this.route = route;
|
|
32399
32384
|
this.router = router;
|
|
@@ -32408,6 +32393,7 @@
|
|
|
32408
32393
|
this.location = location;
|
|
32409
32394
|
this.crf = crf;
|
|
32410
32395
|
this.sessionStorageService = sessionStorageService;
|
|
32396
|
+
this.rpxTranslationPipe = rpxTranslationPipe;
|
|
32411
32397
|
this.HEARINGS_TAB_LABEL = 'Hearings';
|
|
32412
32398
|
this.hasPrint = true;
|
|
32413
32399
|
this.hasEventSelector = true;
|
|
@@ -32625,7 +32611,8 @@
|
|
|
32625
32611
|
// sortedTabs are fragments
|
|
32626
32612
|
// appended/prepepended tabs use router navigation
|
|
32627
32613
|
if ((tabIndexChanged <= 1 && this.prependedTabs && this.prependedTabs.length) ||
|
|
32628
|
-
(this.appendedTabs && this.appendedTabs.length && tabLabel === this.HEARINGS_TAB_LABEL
|
|
32614
|
+
(this.appendedTabs && this.appendedTabs.length && (tabLabel === this.HEARINGS_TAB_LABEL
|
|
32615
|
+
|| tabLabel === this.rpxTranslationPipe.transform(this.HEARINGS_TAB_LABEL)))) {
|
|
32629
32616
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
32630
32617
|
var tab = matTab['_viewContainerRef'];
|
|
32631
32618
|
var id = tab.element.nativeElement.id;
|
|
@@ -32747,7 +32734,7 @@
|
|
|
32747
32734
|
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
32748
32735
|
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
32749
32736
|
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
32750
|
-
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$3.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i2__namespace.Location), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
|
|
32737
|
+
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$3.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i2__namespace.Location), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(SessionStorageService), i0__namespace.ɵɵdirectiveInject(i1__namespace.RpxTranslatePipe)); };
|
|
32751
32738
|
CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
|
|
32752
32739
|
if (rf & 1) {
|
|
32753
32740
|
i0__namespace.ɵɵviewQuery(_c0$b, 1);
|
|
@@ -32806,7 +32793,7 @@
|
|
|
32806
32793
|
templateUrl: './case-full-access-view.component.html',
|
|
32807
32794
|
styleUrls: ['./case-full-access-view.component.scss']
|
|
32808
32795
|
}]
|
|
32809
|
-
}], 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$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i2__namespace.Location }, { type: i0__namespace.ChangeDetectorRef }, { type: SessionStorageService }]; }, { hasPrint: [{
|
|
32796
|
+
}], 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$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i2__namespace.Location }, { type: i0__namespace.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1__namespace.RpxTranslatePipe }]; }, { hasPrint: [{
|
|
32810
32797
|
type: i0.Input
|
|
32811
32798
|
}], hasEventSelector: [{
|
|
32812
32799
|
type: i0.Input
|