@volo/abp.ng.file-management 10.7.1 → 11.0.0-rc.2
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/fesm2022/volo-abp.ng.file-management-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.file-management-proxy.mjs +6 -6
- package/fesm2022/volo-abp.ng.file-management.mjs +94 -88
- package/fesm2022/volo-abp.ng.file-management.mjs.map +1 -1
- package/package.json +5 -5
- package/types/volo-abp.ng.file-management-proxy.d.ts +2 -2
- package/types/volo-abp.ng.file-management.d.ts +15 -14
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.file-management",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0-rc.2",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@abp/ng.components": "~
|
|
6
|
-
"@abp/ng.permission-management": "~
|
|
5
|
+
"@abp/ng.components": "~11.0.0-rc.2",
|
|
6
|
+
"@abp/ng.permission-management": "~11.0.0-rc.2",
|
|
7
7
|
"@uppy/core": "^3.0.0",
|
|
8
8
|
"@uppy/dashboard": "^3.0.0",
|
|
9
9
|
"@uppy/xhr-upload": "^3.0.0",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@abp/ng.core": ">=
|
|
14
|
-
"@abp/ng.theme.shared": ">=
|
|
13
|
+
"@abp/ng.core": ">=11.0.0-rc.2",
|
|
14
|
+
"@abp/ng.theme.shared": ">=11.0.0-rc.2"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
@@ -122,7 +122,7 @@ declare class DirectoryDescriptorService {
|
|
|
122
122
|
move: (input: MoveDirectoryInput, config?: Partial<Rest.Config>) => rxjs.Observable<DirectoryDescriptorDto>;
|
|
123
123
|
rename: (id: string, input: RenameDirectoryInput, config?: Partial<Rest.Config>) => rxjs.Observable<DirectoryDescriptorDto>;
|
|
124
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectoryDescriptorService, never>;
|
|
125
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
125
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
declare class FileDescriptorService {
|
|
@@ -142,7 +142,7 @@ declare class FileDescriptorService {
|
|
|
142
142
|
rename: (id: string, input: RenameFileInput, config?: Partial<Rest.Config>) => rxjs.Observable<FileDescriptorDto>;
|
|
143
143
|
shareFile: (id: string, enable: boolean, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
144
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDescriptorService, never>;
|
|
145
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
145
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export { DirectoryDescriptorService, FileDescriptorService, FileIconType, fileIconTypeOptions };
|
|
@@ -127,7 +127,7 @@ declare class DirectoryTreeService implements OnDestroy {
|
|
|
127
127
|
private fetchDirectories;
|
|
128
128
|
private bindInitialListToRoot;
|
|
129
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<DirectoryTreeService, never>;
|
|
130
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
130
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
type RequiredDirectoryDescriptorInfoDto = Required<DirectoryDescriptorInfoDto>;
|
|
@@ -275,7 +275,7 @@ declare class DeleteService {
|
|
|
275
275
|
deleteFile(content: DirectoryContentDto): rxjs.Observable<void>;
|
|
276
276
|
private delete;
|
|
277
277
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteService, never>;
|
|
278
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
278
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
declare class CurrentDirectoryCanAddService {
|
|
@@ -284,7 +284,7 @@ declare class CurrentDirectoryCanAddService {
|
|
|
284
284
|
private cache;
|
|
285
285
|
getCanAdd$(path$: Observable<FolderInfo[]>): Observable<boolean>;
|
|
286
286
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentDirectoryCanAddService, never>;
|
|
287
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
287
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
declare class DownloadService {
|
|
@@ -295,7 +295,7 @@ declare class DownloadService {
|
|
|
295
295
|
get apiUrl(): string;
|
|
296
296
|
downloadFile(file: FileInfo): rxjs.Observable<_volo_abp_ng_file_management_proxy.DownloadTokenResultDto>;
|
|
297
297
|
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadService, never>;
|
|
298
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
298
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
declare class MoveService {
|
|
@@ -305,7 +305,7 @@ declare class MoveService {
|
|
|
305
305
|
private toaster;
|
|
306
306
|
moveTo(source: FolderInfo, target: FolderInfo, oldParentId: string): rxjs.Observable<_volo_abp_ng_file_management_proxy.DirectoryDescriptorDto>;
|
|
307
307
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoveService, never>;
|
|
308
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
308
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
declare class NavigatorService implements OnDestroy {
|
|
@@ -332,12 +332,12 @@ declare class NavigatorService implements OnDestroy {
|
|
|
332
332
|
private setupListeners;
|
|
333
333
|
private findIndexOf;
|
|
334
334
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigatorService, never>;
|
|
335
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
335
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
interface UpdateStreamState {
|
|
339
339
|
content: number;
|
|
340
|
-
createdDirectory: string;
|
|
340
|
+
createdDirectory: string | null;
|
|
341
341
|
renamedDirectory: {
|
|
342
342
|
id: string;
|
|
343
343
|
name: string;
|
|
@@ -379,8 +379,9 @@ declare class UpdateStreamService {
|
|
|
379
379
|
requestStorageSizeRefresh: () => void;
|
|
380
380
|
refreshContent: () => void;
|
|
381
381
|
private sliceState;
|
|
382
|
+
private isCurrentDirectory;
|
|
382
383
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateStreamService, never>;
|
|
383
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
384
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
type ChosenFile = {
|
|
@@ -427,7 +428,7 @@ declare class UploadService implements OnDestroy {
|
|
|
427
428
|
private getTranslations;
|
|
428
429
|
ngOnDestroy(): void;
|
|
429
430
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadService, never>;
|
|
430
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
431
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
431
432
|
}
|
|
432
433
|
|
|
433
434
|
declare class FileManagementFolderPanelComponent {
|
|
@@ -480,7 +481,7 @@ declare class FileManagementInitializer {
|
|
|
480
481
|
private readonly injector;
|
|
481
482
|
canActivate(): Observable<boolean>;
|
|
482
483
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagementInitializer, never>;
|
|
483
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
484
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
484
485
|
}
|
|
485
486
|
|
|
486
487
|
declare class BaseModalComponent {
|
|
@@ -555,7 +556,7 @@ declare class MoveFileModalService {
|
|
|
555
556
|
private getCurrentFolderIdForRequest;
|
|
556
557
|
private getNavigatedFolders;
|
|
557
558
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoveFileModalService, never>;
|
|
558
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
559
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
559
560
|
}
|
|
560
561
|
|
|
561
562
|
declare class MoveFileModalComponent extends BaseModalComponent implements OnChanges {
|
|
@@ -614,7 +615,7 @@ declare class FileManagementGuard {
|
|
|
614
615
|
private fileManagementFeatures;
|
|
615
616
|
canActivate(): Observable<boolean>;
|
|
616
617
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileManagementGuard, never>;
|
|
617
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
618
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
618
619
|
}
|
|
619
620
|
declare const fileManagementGuard: () => Observable<boolean>;
|
|
620
621
|
|
|
@@ -624,7 +625,7 @@ declare class CreateFolderModalService {
|
|
|
624
625
|
private directoryService;
|
|
625
626
|
create(name: string, parent?: string): rxjs.Observable<_volo_abp_ng_file_management_proxy.DirectoryDescriptorDto>;
|
|
626
627
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateFolderModalService, never>;
|
|
627
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
628
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
628
629
|
}
|
|
629
630
|
|
|
630
631
|
declare class RenameModalService {
|
|
@@ -634,7 +635,7 @@ declare class RenameModalService {
|
|
|
634
635
|
rename(contentToRename: DirectoryContentDto): Observable<boolean>;
|
|
635
636
|
private callService;
|
|
636
637
|
static ɵfac: i0.ɵɵFactoryDeclaration<RenameModalService, never>;
|
|
637
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
638
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
638
639
|
}
|
|
639
640
|
|
|
640
641
|
declare const DEFAULT_FILE_MANAGEMENT_ENTITY_ACTIONS: {
|