@volo/abp.ng.file-management 5.1.4 → 5.2.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.
@@ -1,7 +1,7 @@
1
- import { ListService } from '@abp/ng.core';
1
+ import { ListService, PagedResultDto } from '@abp/ng.core';
2
2
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
- import { DirectoryDescriptorService } from '@volo/abp.ng.file-management/proxy';
4
3
  import type { DirectoryContentDto, DirectoryContentRequestInput } from '@volo/abp.ng.file-management/proxy';
4
+ import { DirectoryDescriptorService } from '@volo/abp.ng.file-management/proxy';
5
5
  import { Subscription } from 'rxjs';
6
6
  import { DeleteService } from '../../services/delete.service';
7
7
  import { DownloadService } from '../../services/download.service';
@@ -23,7 +23,7 @@ export declare class FileManagementFolderContentComponent implements OnInit, OnD
23
23
  parentOfFileToMove: string;
24
24
  private updateContent;
25
25
  currentList: DirectoryContentDto[];
26
- content$: import("rxjs").Observable<DirectoryContentDto[]>;
26
+ content$: import("rxjs").Observable<PagedResultDto<DirectoryContentDto>>;
27
27
  subscription: Subscription;
28
28
  constructor(list: ListService<DirectoryContentRequestInput>, service: DirectoryDescriptorService, deleteService: DeleteService, downloadService: DownloadService, navigator: NavigatorService, updateStream: UpdateStreamService);
29
29
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@volo/abp.ng.file-management",
3
- "version": "5.1.4",
3
+ "version": "5.2.0-rc.1",
4
4
  "dependencies": {
5
- "@abp/ng.components": "~5.1.4",
5
+ "@abp/ng.components": "~5.2.0-rc.1",
6
6
  "@uppy/core": "^1.13.2",
7
7
  "@uppy/dashboard": "^1.12.6",
8
8
  "@uppy/xhr-upload": "^1.6.4",
9
9
  "tslib": "^2.0.0"
10
10
  },
11
11
  "peerDependencies": {
12
- "@abp/ng.core": ">=5.1.4",
13
- "@abp/ng.theme.shared": ">=5.1.4",
14
- "@volo/abp.commercial.ng.ui": "5.1.4"
12
+ "@abp/ng.core": ">=5.2.0-rc.1",
13
+ "@abp/ng.theme.shared": ">=5.2.0-rc.1",
14
+ "@volo/abp.commercial.ng.ui": "5.2.0-rc.1"
15
15
  },
16
16
  "publishConfig": {
17
17
  "access": "public"
@@ -1,6 +1,6 @@
1
- import type { CreateDirectoryInput, DirectoryContentDto, DirectoryContentRequestInput, DirectoryDescriptorDto, DirectoryDescriptorInfoDto, MoveDirectoryInput, RenameDirectoryInput } from './models';
2
- import { RestService } from '@abp/ng.core';
3
1
  import type { ListResultDto, PagedResultDto } from '@abp/ng.core';
2
+ import { RestService } from '@abp/ng.core';
3
+ import type { CreateDirectoryInput, DirectoryContentDto, DirectoryContentRequestInput, DirectoryDescriptorDto, DirectoryDescriptorInfoDto, MoveDirectoryInput, RenameDirectoryInput } from './models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DirectoryDescriptorService {
6
6
  private restService;
@@ -1,5 +1,5 @@
1
+ import type { AuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
1
2
  import type { FileIconInfo } from '../files/models';
2
- import type { AuditedEntityDto } from '@abp/ng.core';
3
3
  export interface CreateDirectoryInput {
4
4
  parentId?: string;
5
5
  name: string;
@@ -12,9 +12,8 @@ export interface DirectoryContentDto {
12
12
  iconInfo: FileIconInfo;
13
13
  concurrencyStamp?: string;
14
14
  }
15
- export interface DirectoryContentRequestInput {
15
+ export interface DirectoryContentRequestInput extends PagedAndSortedResultRequestDto {
16
16
  filter?: string;
17
- sorting?: string;
18
17
  id?: string;
19
18
  }
20
19
  export interface DirectoryDescriptorDto extends AuditedEntityDto<string> {