@hmcts/ccd-case-ui-toolkit 6.10.5-fix-multiple-complete-task3 → 6.10.6-r3.5-from-master
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 +32 -32
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +4 -4
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +3 -4
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +26 -25
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +32 -32
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10547,7 +10547,7 @@ function CaseFileViewFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
|
|
|
10547
10547
|
} if (rf & 2) {
|
|
10548
10548
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10549
10549
|
i0.ɵɵadvance(1);
|
|
10550
|
-
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
|
|
10550
|
+
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
|
|
10551
10551
|
} }
|
|
10552
10552
|
function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10553
10553
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10563,7 +10563,7 @@ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10563
10563
|
i0.ɵɵelementEnd();
|
|
10564
10564
|
i0.ɵɵelement(6, "div", 9);
|
|
10565
10565
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10566
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2,
|
|
10566
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
10567
10567
|
i0.ɵɵelementEnd();
|
|
10568
10568
|
i0.ɵɵelementEnd();
|
|
10569
10569
|
i0.ɵɵelementEnd();
|
|
@@ -10639,7 +10639,7 @@ class CaseFileViewFieldComponent {
|
|
|
10639
10639
|
}
|
|
10640
10640
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
10641
10641
|
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
10642
|
-
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10642
|
+
CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10643
10643
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
10644
10644
|
i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
|
|
10645
10645
|
} if (rf & 2) {
|
|
@@ -10673,7 +10673,7 @@ function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
|
|
|
10673
10673
|
} if (rf & 2) {
|
|
10674
10674
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
10675
10675
|
i0.ɵɵadvance(1);
|
|
10676
|
-
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
|
|
10676
|
+
i0.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
|
|
10677
10677
|
} }
|
|
10678
10678
|
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10679
10679
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10689,7 +10689,7 @@ function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10689
10689
|
i0.ɵɵelementEnd();
|
|
10690
10690
|
i0.ɵɵelement(6, "div", 9);
|
|
10691
10691
|
i0.ɵɵelementStart(7, "div", 10);
|
|
10692
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2,
|
|
10692
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
10693
10693
|
i0.ɵɵelementEnd();
|
|
10694
10694
|
i0.ɵɵelementEnd();
|
|
10695
10695
|
i0.ɵɵelementEnd();
|
|
@@ -10707,7 +10707,7 @@ class CaseFileViewFieldReadComponent extends CaseFileViewFieldComponent {
|
|
|
10707
10707
|
}
|
|
10708
10708
|
}
|
|
10709
10709
|
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
10710
|
-
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10710
|
+
CaseFileViewFieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10711
10711
|
i0.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
|
|
10712
10712
|
i0.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
|
|
10713
10713
|
} if (rf & 2) {
|
|
@@ -15612,13 +15612,13 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
15612
15612
|
type: Input
|
|
15613
15613
|
}] }); })();
|
|
15614
15614
|
|
|
15615
|
-
function
|
|
15615
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15616
15616
|
i0.ɵɵelementContainer(0);
|
|
15617
15617
|
} }
|
|
15618
15618
|
const _c0$u = function (a0) { return { cat: a0, level: 1 }; };
|
|
15619
|
-
function
|
|
15619
|
+
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
15620
15620
|
i0.ɵɵelementContainerStart(0);
|
|
15621
|
-
i0.ɵɵtemplate(1,
|
|
15621
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
15622
15622
|
i0.ɵɵelementContainerEnd();
|
|
15623
15623
|
} if (rf & 2) {
|
|
15624
15624
|
const cat_r3 = ctx.$implicit;
|
|
@@ -15653,7 +15653,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
|
|
|
15653
15653
|
i0.ɵɵelement(3, "img", 12);
|
|
15654
15654
|
i0.ɵɵtext(4);
|
|
15655
15655
|
i0.ɵɵelementEnd();
|
|
15656
|
-
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container",
|
|
15656
|
+
i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
|
|
15657
15657
|
i0.ɵɵelementEnd();
|
|
15658
15658
|
} if (rf & 2) {
|
|
15659
15659
|
const cat_r5 = ctx.cat;
|
|
@@ -15724,42 +15724,43 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
15724
15724
|
}
|
|
15725
15725
|
}
|
|
15726
15726
|
CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15727
|
-
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [
|
|
15728
|
-
i0.ɵɵelementStart(0, "
|
|
15729
|
-
i0.ɵɵ
|
|
15727
|
+
CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15728
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
15729
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
|
|
15730
15730
|
i0.ɵɵelementEnd();
|
|
15731
|
-
i0.ɵɵelementStart(
|
|
15732
|
-
i0.ɵɵtext(
|
|
15731
|
+
i0.ɵɵelementStart(1, "h2", 1);
|
|
15732
|
+
i0.ɵɵtext(2, "Move File");
|
|
15733
15733
|
i0.ɵɵelementEnd();
|
|
15734
|
-
i0.ɵɵelementStart(
|
|
15735
|
-
i0.ɵɵ
|
|
15734
|
+
i0.ɵɵelementStart(3, "p");
|
|
15735
|
+
i0.ɵɵtext(4);
|
|
15736
15736
|
i0.ɵɵelementEnd();
|
|
15737
|
-
i0.ɵɵelementStart(
|
|
15738
|
-
i0.ɵɵ
|
|
15739
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
|
|
15740
|
-
i0.ɵɵtext(8, "Save");
|
|
15737
|
+
i0.ɵɵelementStart(5, "div", 2);
|
|
15738
|
+
i0.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
|
|
15741
15739
|
i0.ɵɵelementEnd();
|
|
15742
|
-
i0.ɵɵelementStart(
|
|
15743
|
-
i0.ɵɵ
|
|
15744
|
-
i0.ɵɵ
|
|
15740
|
+
i0.ɵɵelementStart(7, "div", 4);
|
|
15741
|
+
i0.ɵɵelementStart(8, "button", 5);
|
|
15742
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
|
|
15743
|
+
i0.ɵɵtext(9, "Save");
|
|
15745
15744
|
i0.ɵɵelementEnd();
|
|
15745
|
+
i0.ɵɵelementStart(10, "a", 6);
|
|
15746
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
|
|
15747
|
+
i0.ɵɵtext(11, "Cancel");
|
|
15746
15748
|
i0.ɵɵelementEnd();
|
|
15747
|
-
i0.ɵɵelementStart(11, "div", 6);
|
|
15748
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
|
|
15749
15749
|
i0.ɵɵelementEnd();
|
|
15750
15750
|
i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
15751
15751
|
} if (rf & 2) {
|
|
15752
|
-
i0.ɵɵadvance(
|
|
15752
|
+
i0.ɵɵadvance(4);
|
|
15753
15753
|
i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
15754
15754
|
i0.ɵɵadvance(2);
|
|
15755
15755
|
i0.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
15756
|
-
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["
|
|
15756
|
+
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
|
|
15757
15757
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
15758
15758
|
type: Component,
|
|
15759
15759
|
args: [{
|
|
15760
15760
|
selector: 'xui-case-file-view-folder-selector',
|
|
15761
15761
|
templateUrl: './case-file-view-folder-selector.component.html',
|
|
15762
|
-
styleUrls: ['./case-file-view-folder-selector.component.scss']
|
|
15762
|
+
styleUrls: ['./case-file-view-folder-selector.component.scss'],
|
|
15763
|
+
encapsulation: ViewEncapsulation.None
|
|
15763
15764
|
}]
|
|
15764
15765
|
}], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
15765
15766
|
type: Inject,
|
|
@@ -16240,7 +16241,7 @@ class CaseFileViewFolderComponent {
|
|
|
16240
16241
|
return Object.assign(documentTreeNode, node);
|
|
16241
16242
|
}
|
|
16242
16243
|
let filteredData = this.documentTreeData;
|
|
16243
|
-
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length >
|
|
16244
|
+
if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 0) {
|
|
16244
16245
|
filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
|
|
16245
16246
|
if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
|
|
16246
16247
|
return true;
|
|
@@ -16320,7 +16321,6 @@ class CaseFileViewFolderComponent {
|
|
|
16320
16321
|
}
|
|
16321
16322
|
openMoveDialog(node) {
|
|
16322
16323
|
const dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
|
|
16323
|
-
width: '570px',
|
|
16324
16324
|
data: { categories: this.categories, document: node }
|
|
16325
16325
|
});
|
|
16326
16326
|
dialogRef.afterClosed().subscribe(newCatId => {
|
|
@@ -16345,7 +16345,7 @@ class CaseFileViewFolderComponent {
|
|
|
16345
16345
|
}
|
|
16346
16346
|
CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
|
|
16347
16347
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
16348
|
-
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS =
|
|
16348
|
+
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
16349
16349
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
16350
16350
|
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵ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-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) { if (rf & 1) {
|
|
16351
16351
|
i0.ɵɵelementStart(0, "div", 0);
|