@volo/abp.ng.file-management 6.0.0 → 7.0.0-rc.1

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.
@@ -84,7 +84,7 @@ export class FileManagementDirectoryTreeComponent {
84
84
  }
85
85
  }
86
86
  FileManagementDirectoryTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [{ token: i1.DirectoryTreeService }, { token: i2.NavigatorService }, { token: i3.MoveService }, { token: i0.ChangeDetectorRef }, { token: i4.DeleteService }, { token: i5.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
87
- FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], ngImport: i0, template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i7.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: i7.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "component", type: i7.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "directive", type: i8.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: i9.RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: i10.CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: i11.MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
87
+ FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], ngImport: i0, template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n", dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i7.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: i7.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "component", type: i7.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "changedNodeValues", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "directive", type: i8.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: i9.RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: i10.CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: i11.MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i5.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
88
88
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n" }]
@@ -95,7 +95,7 @@ FileManagementFolderContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVers
95
95
  provide: EXTENSIONS_IDENTIFIER,
96
96
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
97
97
  },
98
- ], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i9.RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: i10.MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
98
+ ], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i9.RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: i10.MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
99
99
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
100
100
  type: Component,
101
101
  args: [{ selector: 'abp-file-management-folder-content', providers: [
@@ -745,7 +745,7 @@ FileManagementFolderContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVers
745
745
  provide: EXTENSIONS_IDENTIFIER,
746
746
  useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
747
747
  },
748
- ], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
748
+ ], ngImport: i0, template: "<ng-container *ngIf=\"content$ | async; let data\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
749
749
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
750
750
  type: Component,
751
751
  args: [{ selector: 'abp-file-management-folder-content', providers: [
@@ -1298,7 +1298,7 @@ class FileManagementDirectoryTreeComponent {
1298
1298
  }
1299
1299
  }
1300
1300
  FileManagementDirectoryTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [{ token: DirectoryTreeService }, { token: NavigatorService }, { token: MoveService }, { token: i0.ChangeDetectorRef }, { token: DeleteService }, { token: i1$1.SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1301
- FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], ngImport: i0, template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i7.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: i7.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "component", type: i7.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "directive", type: i8$1.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1301
+ FileManagementDirectoryTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], ngImport: i0, template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "directive", type: i7.TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: i7.ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "component", type: i7.TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "changedNodeValues", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver"] }, { kind: "directive", type: i8$1.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1302
1302
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
1303
1303
  type: Component,
1304
1304
  args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], template: "<div>\r\n <ng-container *ngIf=\"directories\">\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node>\r\n <i\r\n class=\"far\"\r\n style=\"line-height: 30px\"\r\n [class.fa-plus-square]=\"!node.isExpanded\"\r\n [class.fa-minus-square]=\"node.isExpanded\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node\r\n ><i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i\r\n ><ng-container *ngIf=\"node.origin.entity.isRoot; else leafNode\">\r\n {{ \"FileManagement::AllFiles\" | abpLocalization }}\r\n </ng-container>\r\n <ng-template #leafNode>{{ node.title }}</ng-template></ng-template\r\n >\r\n\r\n <ng-container *abpPermission=\"contextMenuPolicy\">\r\n <ng-template #menu let-node>\r\n <li\r\n *abpPermission=\"createPolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::CreateFolder\" | abpLocalization }}\r\n </li>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Rename\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"updatePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ \"FileManagement::Move\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.origin.entity.id !== rootId\">\r\n <li\r\n *abpPermission=\"deletePolicy\"\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ \"FileManagement::Delete\" | abpLocalization }}\r\n </li>\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n </abp-tree>\r\n </ng-container>\r\n</div>\r\n\r\n<abp-create-folder-modal\r\n [(visible)]=\"createModalVisible\"\r\n [parentId]=\"createModalParentId\"\r\n></abp-create-folder-modal>\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n></abp-rename-modal>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n>\r\n</abp-move-file-modal>\r\n" }]