@rs-pk/asset-management 1.0.30 → 1.0.31
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/rs-pk-asset-management.umd.js +327 -158
- package/bundles/rs-pk-asset-management.umd.js.map +1 -1
- package/bundles/rs-pk-asset-management.umd.min.js +2 -2
- package/bundles/rs-pk-asset-management.umd.min.js.map +1 -1
- package/esm2015/lib/asset-management.component.js +1 -2
- package/esm2015/lib/asset-management.module.js +12 -2
- package/esm2015/lib/asset-management.service.js +2 -3
- package/esm2015/lib/components/partial/add-folder-dialog/add-folder-dialog.component.js +1 -2
- package/esm2015/lib/components/partial/asset-dialog/asset-dialog.component.js +1 -2
- package/esm2015/lib/components/partial/asset-item/asset-item.component.js +1 -2
- package/esm2015/lib/components/partial/asset-list/asset-list.component.js +76 -33
- package/esm2015/lib/components/partial/asset-management-dialog/asset-management-dialog.component.js +2 -3
- package/esm2015/lib/components/partial/asset-wrapper/asset-wrapper.component.js +2 -3
- package/esm2015/lib/components/partial/breadcrumb/breadcrumb.component.js +5 -5
- package/esm2015/lib/components/partial/delete-dialog/delete-dialog.component.js +1 -2
- package/esm2015/lib/components/partial/edit-folder-dialog/edit-folder-dialog.component.js +1 -2
- package/esm2015/lib/components/partial/file-item/file-item.component.js +9 -4
- package/esm2015/lib/components/partial/file-list/file-list.component.js +1 -2
- package/esm2015/lib/components/partial/folder-item/folder-item.component.js +1 -2
- package/esm2015/lib/components/partial/folder-list/folder-list.component.js +3 -4
- package/esm2015/lib/components/partial/node-details/node-details.component.js +5 -3
- package/esm2015/lib/components/partial/node-tree/node-tree.component.js +8 -9
- package/esm2015/lib/components/partial/search-box/search-box.component.js +4 -3
- package/esm2015/lib/components/partial/sort-items/sort-items.component.js +1 -2
- package/esm2015/lib/components/partial/upload-dialog/upload-dialog.component.js +111 -5
- package/esm2015/lib/components/partial/upload-file/upload-file.component.js +1 -2
- package/esm2015/lib/components/ui/drag-to-resize/drag-to-resize.component.js +1 -2
- package/esm2015/lib/components/ui/input-file/input-file.component.js +1 -2
- package/esm2015/lib/components/ui/modal/modal.component.js +1 -2
- package/esm2015/lib/components/ui/search-not-found/search-not-found.component.js +1 -2
- package/esm2015/lib/configs/admin.config.js +1 -2
- package/esm2015/lib/contanst/data-image.js +1 -2
- package/esm2015/lib/contanst/index.js +1 -2
- package/esm2015/lib/datasources/index.js +1 -2
- package/esm2015/lib/datasources/node-tree.datasource.js +6 -7
- package/esm2015/lib/directives/dialogTrigger.directive.js +1 -2
- package/esm2015/lib/directives/directives.module.js +1 -2
- package/esm2015/lib/directives/dnd.directive.js +1 -2
- package/esm2015/lib/models/asset-file.model.js +1 -2
- package/esm2015/lib/models/asset.model.js +1 -2
- package/esm2015/lib/models/file-type.enum.js +3 -4
- package/esm2015/lib/models/file.model.js +1 -2
- package/esm2015/lib/models/index.js +1 -2
- package/esm2015/lib/models/node-tree.model.js +1 -2
- package/esm2015/lib/models/sort.enum.js +1 -2
- package/esm2015/lib/pipes/datetime.pipe.js +1 -2
- package/esm2015/lib/pipes/file-size.pipe.js +1 -2
- package/esm2015/lib/services/asset.service.js +1 -2
- package/esm2015/lib/services/base.service.js +1 -2
- package/esm2015/lib/services/env-config.service.js +1 -2
- package/esm2015/lib/services/file.service.js +1 -2
- package/esm2015/lib/services/index.js +1 -2
- package/esm2015/lib/services/node-tree.service.js +8 -9
- package/esm2015/lib/services/upload-assets.service.js +17 -13
- package/esm2015/lib/store/actions.action.js +10 -11
- package/esm2015/lib/store/index.js +1 -2
- package/esm2015/lib/store/reducer.js +10 -11
- package/esm2015/public-api.js +1 -8
- package/esm2015/rs-pk-asset-management.js +10 -5
- package/esm5/lib/asset-management.component.js +1 -2
- package/esm5/lib/asset-management.module.js +16 -6
- package/esm5/lib/asset-management.service.js +2 -3
- package/esm5/lib/components/partial/add-folder-dialog/add-folder-dialog.component.js +1 -2
- package/esm5/lib/components/partial/asset-dialog/asset-dialog.component.js +1 -2
- package/esm5/lib/components/partial/asset-item/asset-item.component.js +1 -2
- package/esm5/lib/components/partial/asset-list/asset-list.component.js +100 -36
- package/esm5/lib/components/partial/asset-management-dialog/asset-management-dialog.component.js +2 -3
- package/esm5/lib/components/partial/asset-wrapper/asset-wrapper.component.js +2 -3
- package/esm5/lib/components/partial/breadcrumb/breadcrumb.component.js +6 -6
- package/esm5/lib/components/partial/delete-dialog/delete-dialog.component.js +1 -2
- package/esm5/lib/components/partial/edit-folder-dialog/edit-folder-dialog.component.js +1 -2
- package/esm5/lib/components/partial/file-item/file-item.component.js +13 -4
- package/esm5/lib/components/partial/file-list/file-list.component.js +3 -4
- package/esm5/lib/components/partial/folder-item/folder-item.component.js +1 -2
- package/esm5/lib/components/partial/folder-list/folder-list.component.js +3 -4
- package/esm5/lib/components/partial/node-details/node-details.component.js +7 -5
- package/esm5/lib/components/partial/node-tree/node-tree.component.js +16 -17
- package/esm5/lib/components/partial/search-box/search-box.component.js +6 -5
- package/esm5/lib/components/partial/sort-items/sort-items.component.js +1 -2
- package/esm5/lib/components/partial/upload-dialog/upload-dialog.component.js +136 -7
- package/esm5/lib/components/partial/upload-file/upload-file.component.js +3 -4
- package/esm5/lib/components/ui/drag-to-resize/drag-to-resize.component.js +1 -2
- package/esm5/lib/components/ui/input-file/input-file.component.js +1 -2
- package/esm5/lib/components/ui/modal/modal.component.js +1 -2
- package/esm5/lib/components/ui/search-not-found/search-not-found.component.js +1 -2
- package/esm5/lib/configs/admin.config.js +1 -2
- package/esm5/lib/contanst/data-image.js +1 -2
- package/esm5/lib/contanst/index.js +1 -2
- package/esm5/lib/datasources/index.js +1 -2
- package/esm5/lib/datasources/node-tree.datasource.js +12 -15
- package/esm5/lib/directives/dialogTrigger.directive.js +1 -2
- package/esm5/lib/directives/directives.module.js +4 -5
- package/esm5/lib/directives/dnd.directive.js +1 -2
- package/esm5/lib/models/asset-file.model.js +1 -2
- package/esm5/lib/models/asset.model.js +3 -4
- package/esm5/lib/models/file-type.enum.js +3 -4
- package/esm5/lib/models/file.model.js +1 -2
- package/esm5/lib/models/index.js +1 -2
- package/esm5/lib/models/node-tree.model.js +1 -2
- package/esm5/lib/models/sort.enum.js +1 -2
- package/esm5/lib/pipes/datetime.pipe.js +1 -2
- package/esm5/lib/pipes/file-size.pipe.js +1 -2
- package/esm5/lib/services/asset.service.js +1 -2
- package/esm5/lib/services/base.service.js +3 -4
- package/esm5/lib/services/env-config.service.js +1 -2
- package/esm5/lib/services/file.service.js +1 -2
- package/esm5/lib/services/index.js +1 -2
- package/esm5/lib/services/node-tree.service.js +15 -16
- package/esm5/lib/services/upload-assets.service.js +23 -15
- package/esm5/lib/store/actions.action.js +10 -11
- package/esm5/lib/store/index.js +1 -2
- package/esm5/lib/store/reducer.js +11 -12
- package/esm5/public-api.js +1 -8
- package/esm5/rs-pk-asset-management.js +10 -5
- package/fesm2015/rs-pk-asset-management.js +266 -144
- package/fesm2015/rs-pk-asset-management.js.map +1 -1
- package/fesm5/rs-pk-asset-management.js +321 -149
- package/fesm5/rs-pk-asset-management.js.map +1 -1
- package/lib/asset-management.module.d.ts +1 -1
- package/lib/components/partial/add-folder-dialog/add-folder-dialog.component.d.ts +1 -1
- package/lib/components/partial/asset-dialog/asset-dialog.component.d.ts +1 -1
- package/lib/components/partial/asset-item/asset-item.component.d.ts +1 -1
- package/lib/components/partial/asset-list/asset-list.component.d.ts +7 -1
- package/lib/components/partial/asset-management-dialog/asset-management-dialog.component.d.ts +1 -1
- package/lib/components/partial/asset-wrapper/asset-wrapper.component.d.ts +1 -1
- package/lib/components/partial/edit-folder-dialog/edit-folder-dialog.component.d.ts +1 -1
- package/lib/components/partial/file-item/file-item.component.d.ts +4 -3
- package/lib/components/partial/file-list/file-list.component.d.ts +1 -1
- package/lib/components/partial/folder-list/folder-list.component.d.ts +1 -1
- package/lib/components/partial/node-details/node-details.component.d.ts +3 -3
- package/lib/components/partial/node-tree/node-tree.component.d.ts +1 -1
- package/lib/components/partial/upload-dialog/upload-dialog.component.d.ts +7 -1
- package/lib/components/partial/upload-file/upload-file.component.d.ts +1 -1
- package/lib/components/ui/drag-to-resize/drag-to-resize.component.d.ts +1 -1
- package/lib/datasources/node-tree.datasource.d.ts +1 -2
- package/lib/services/asset.service.d.ts +1 -1
- package/lib/services/node-tree.service.d.ts +2 -3
- package/lib/services/upload-assets.service.d.ts +6 -4
- package/package.json +9 -9
- package/public-api.d.ts +0 -6
- package/rs-pk-asset-management.d.ts +8 -2
- package/rs-pk-asset-management.metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AMConfig } from './services/env-config.service';
|
|
2
|
-
export declare function AMFactory(config: AMConfig): () => Promise<
|
|
2
|
+
export declare function AMFactory(config: AMConfig): () => Promise<{}>;
|
|
3
3
|
export declare class AssetManagementModule {
|
|
4
4
|
constructor();
|
|
5
5
|
}
|
|
@@ -18,7 +18,7 @@ export declare class AddFolderDialogComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
form: FormControl;
|
|
19
19
|
constructor(fb: FormBuilder, data: IData, dialogRef: MatDialogRef<AddFolderDialogComponent>, fileService: FileService);
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
-
|
|
21
|
+
readonly disabled: boolean;
|
|
22
22
|
onChange(_event: Event): void;
|
|
23
23
|
addFolder(): void;
|
|
24
24
|
closeDialog(res?: boolean): void;
|
|
@@ -49,7 +49,7 @@ export declare class AssetDialogComponent implements OnInit, OnDestroy {
|
|
|
49
49
|
fileType: typeof FileTypeEnum;
|
|
50
50
|
constructor(_env: any, dialog: MatDialog, data: IData, dialogRef: MatDialogRef<AssetDialogComponent>, fileSize: FileSizePipe, uploadAssetsService: UploadAssetsService, assetsService: AssetService, fileService: FileService, domSanitizer: DomSanitizer, svc: AssetManagementService);
|
|
51
51
|
ngOnInit(): void;
|
|
52
|
-
|
|
52
|
+
readonly disabled: boolean;
|
|
53
53
|
closeDialog(res?: boolean): void;
|
|
54
54
|
getAssetDetail(): void;
|
|
55
55
|
updateAsset(): void;
|
|
@@ -30,7 +30,7 @@ export declare class AssetItemComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
backgroundProcessingNum: typeof BackgroudProcessingStatus;
|
|
31
31
|
private destroy$;
|
|
32
32
|
ngOnInit(): void;
|
|
33
|
-
|
|
33
|
+
readonly checkSelectedAsset: boolean;
|
|
34
34
|
onChange(): void;
|
|
35
35
|
editAsset(): void;
|
|
36
36
|
onUploadAgain(asset: AssetModel): void;
|
|
@@ -14,6 +14,9 @@ export declare class AssetListComponent implements OnInit, OnChanges, OnDestroy
|
|
|
14
14
|
paginator: MatPaginator;
|
|
15
15
|
assets: AssetModel[];
|
|
16
16
|
backgroundProcessingNum: typeof BackgroudProcessingStatus;
|
|
17
|
+
private readonly processingCheckDelay;
|
|
18
|
+
private processingCheckTimer;
|
|
19
|
+
private processingCheckRequest;
|
|
17
20
|
private unsubscribe$;
|
|
18
21
|
private currentFolderId;
|
|
19
22
|
private selectedAssets;
|
|
@@ -23,6 +26,9 @@ export declare class AssetListComponent implements OnInit, OnChanges, OnDestroy
|
|
|
23
26
|
private bindSubscriber;
|
|
24
27
|
pageChange(event?: PageEvent): void;
|
|
25
28
|
private fetchChildrenAssets;
|
|
26
|
-
private
|
|
29
|
+
private setAssetList;
|
|
30
|
+
private checkProcessingAssets;
|
|
31
|
+
private reloadProcessingAssets;
|
|
32
|
+
private stopProcessingCheck;
|
|
27
33
|
ngOnDestroy(): void;
|
|
28
34
|
}
|
package/lib/components/partial/asset-management-dialog/asset-management-dialog.component.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class AssetManagementDialogComponent implements OnInit, OnDestroy
|
|
|
10
10
|
private destroy$;
|
|
11
11
|
selectedAssets: Array<AssetModel>;
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
-
|
|
13
|
+
readonly disabled: boolean;
|
|
14
14
|
selectAssets(): void;
|
|
15
15
|
initDialogConfig(data: DialogConfig): void;
|
|
16
16
|
ngOnDestroy(): void;
|
|
@@ -19,7 +19,7 @@ export declare class EditFolderDialogComponent implements OnInit, OnDestroy {
|
|
|
19
19
|
form: FormControl;
|
|
20
20
|
constructor(fb: FormBuilder, data: IData, dialogRef: MatDialogRef<EditFolderDialogComponent>, fileService: FileService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
|
-
|
|
22
|
+
readonly disabled: boolean;
|
|
23
23
|
onChange(_event: Event): void;
|
|
24
24
|
editFolder(): void;
|
|
25
25
|
closeDialog(res?: boolean): void;
|
|
@@ -11,9 +11,9 @@ export declare class FileItemComponent implements OnInit {
|
|
|
11
11
|
csv: import("@angular/platform-browser").SafeUrl;
|
|
12
12
|
};
|
|
13
13
|
file: File;
|
|
14
|
-
checkError: EventEmitter<
|
|
15
|
-
fileChange: EventEmitter<
|
|
16
|
-
fileRemove: EventEmitter<
|
|
14
|
+
checkError: EventEmitter<{}>;
|
|
15
|
+
fileChange: EventEmitter<{}>;
|
|
16
|
+
fileRemove: EventEmitter<{}>;
|
|
17
17
|
dataFile: {
|
|
18
18
|
name: string;
|
|
19
19
|
size: number;
|
|
@@ -27,6 +27,7 @@ export declare class FileItemComponent implements OnInit {
|
|
|
27
27
|
};
|
|
28
28
|
constructor(domSanitizer: DomSanitizer, uploadAssetService: UploadAssetsService);
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
+
readonly uploadErrors: string[];
|
|
30
31
|
private initDataFile;
|
|
31
32
|
private setDetailsFile;
|
|
32
33
|
private setErrorFile;
|
|
@@ -2,7 +2,7 @@ import { OnInit, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { UploadAssetsService } from '../../../services/upload-assets.service';
|
|
3
3
|
export declare class FileListComponent implements OnInit {
|
|
4
4
|
uploadAssetsService: UploadAssetsService;
|
|
5
|
-
revalidate: EventEmitter<
|
|
5
|
+
revalidate: EventEmitter<{}>;
|
|
6
6
|
constructor(uploadAssetsService: UploadAssetsService);
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
onFileChange(newFiles: File[]): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AssetModel } from '../../../models';
|
|
3
|
-
import { MatPaginator, PageEvent } from '@angular/material
|
|
3
|
+
import { MatPaginator, PageEvent } from '@angular/material';
|
|
4
4
|
export declare class FolderListComponent implements OnInit, OnDestroy, OnChanges {
|
|
5
5
|
hasModifyPermission?: boolean;
|
|
6
6
|
hasAccessPermission?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject';
|
|
4
4
|
import { AssetManagementService } from '../../../asset-management.service';
|
|
5
5
|
import { AssetModel, FolderTreeModel } from '../../../models';
|
|
6
6
|
import { AssetService } from '../../../services/asset.service';
|
|
7
7
|
import { NodeTreeService } from '../../../services/node-tree.service';
|
|
8
|
-
import { PageEvent } from '@angular/material
|
|
8
|
+
import { PageEvent } from '@angular/material';
|
|
9
9
|
export declare class NodeDetailsComponent implements OnInit, OnDestroy {
|
|
10
10
|
dialog: MatDialog;
|
|
11
11
|
assetService: AssetService;
|
|
@@ -38,6 +38,6 @@ export declare class NodeDetailsComponent implements OnInit, OnDestroy {
|
|
|
38
38
|
};
|
|
39
39
|
onFolderPageChange(event: PageEvent): void;
|
|
40
40
|
private setFolderPagination;
|
|
41
|
-
|
|
41
|
+
readonly noResults: boolean;
|
|
42
42
|
ngOnDestroy(): void;
|
|
43
43
|
}
|
|
@@ -22,7 +22,7 @@ export declare class NodeTreeComponent implements OnInit, OnDestroy {
|
|
|
22
22
|
dataSource: NodeTreeDataSource;
|
|
23
23
|
folderChildrenMap: Map<string, Map<string, DynamicFlatNode>>;
|
|
24
24
|
private unsubscribe$;
|
|
25
|
-
|
|
25
|
+
readonly folderTreeMeta: {
|
|
26
26
|
length: number;
|
|
27
27
|
total: string | number;
|
|
28
28
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { UploadAssetsService } from '../../../services/upload-assets.service';
|
|
5
5
|
interface IData {
|
|
@@ -14,11 +14,17 @@ export declare class UploadDialogComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
uploadAssetsService: UploadAssetsService;
|
|
15
15
|
isLoading: boolean;
|
|
16
16
|
disabled: boolean;
|
|
17
|
+
errorMessages: string[];
|
|
18
|
+
private readonly defaultErrorMessage;
|
|
17
19
|
private destroy$;
|
|
18
20
|
constructor(data: IData, dialogRef: MatDialogRef<UploadDialogComponent>, changeDetectorRef: ChangeDetectorRef, uploadAssetsService: UploadAssetsService);
|
|
19
21
|
ngOnInit(): void;
|
|
20
22
|
onValidate(hasError: boolean): void;
|
|
21
23
|
uploadFiles(): void;
|
|
24
|
+
private stopLoading;
|
|
25
|
+
private clearErrors;
|
|
26
|
+
private setUploadErrors;
|
|
27
|
+
private getErrorMessages;
|
|
22
28
|
closeDialog(res?: boolean): void;
|
|
23
29
|
ngOnDestroy(): void;
|
|
24
30
|
}
|
|
@@ -5,7 +5,7 @@ export declare class UploadFileComponent implements OnInit {
|
|
|
5
5
|
private domSanitizer;
|
|
6
6
|
uploadAssetsService: UploadAssetsService;
|
|
7
7
|
base64Image: import("@angular/platform-browser").SafeUrl;
|
|
8
|
-
revalidate: EventEmitter<
|
|
8
|
+
revalidate: EventEmitter<{}>;
|
|
9
9
|
isDragging: boolean;
|
|
10
10
|
constructor(domSanitizer: DomSanitizer, uploadAssetsService: UploadAssetsService);
|
|
11
11
|
ngOnInit(): void;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
export declare class DragToResizeComponent implements OnInit {
|
|
3
3
|
minWidth: number;
|
|
4
4
|
maxWidth: number;
|
|
5
|
-
resizeCompleted: EventEmitter<
|
|
5
|
+
resizeCompleted: EventEmitter<{}>;
|
|
6
6
|
width: number;
|
|
7
7
|
grabber: boolean;
|
|
8
8
|
private oldX;
|
|
@@ -7,8 +7,7 @@ export declare class NodeTreeDataSource implements DataSource<DynamicFlatNode> {
|
|
|
7
7
|
private _treeControl;
|
|
8
8
|
private _database;
|
|
9
9
|
dataChange: BehaviorSubject<DynamicFlatNode[]>;
|
|
10
|
-
|
|
11
|
-
set data(value: DynamicFlatNode[]);
|
|
10
|
+
data: DynamicFlatNode[];
|
|
12
11
|
constructor(_treeControl: FlatTreeControl<DynamicFlatNode>, _database: NodeTreeService);
|
|
13
12
|
connect(collectionViewer: CollectionViewer): Observable<DynamicFlatNode[]>;
|
|
14
13
|
disconnect(collectionViewer: CollectionViewer): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
1
|
+
import { BehaviorSubject } from "rxjs/internal/BehaviorSubject";
|
|
2
2
|
import { AssetManagementService } from "../asset-management.service";
|
|
3
3
|
import { AssetModel, DynamicFlatNode, FolderTreeModel, IInitialFolderTreeOptions } from "../models";
|
|
4
4
|
import { AssetService } from "./asset.service";
|
|
@@ -10,8 +10,7 @@ export declare class NodeTreeService {
|
|
|
10
10
|
loading$: BehaviorSubject<boolean>;
|
|
11
11
|
initialData$: BehaviorSubject<DynamicFlatNode[]>;
|
|
12
12
|
rootFolder: AssetModel;
|
|
13
|
-
|
|
14
|
-
set data(values: AssetModel[]);
|
|
13
|
+
data: AssetModel[];
|
|
15
14
|
private fetchChildrenFolder;
|
|
16
15
|
/** Initial data from database */
|
|
17
16
|
initialData({ dispatchRootId, pageSize, }: IInitialFolderTreeOptions): Promise<DynamicFlatNode[]>;
|
|
@@ -9,6 +9,7 @@ export declare class UploadAssetsService {
|
|
|
9
9
|
fileNames: {
|
|
10
10
|
[key: string]: string | boolean;
|
|
11
11
|
}[];
|
|
12
|
+
uploadErrors: Map<File, string[]>;
|
|
12
13
|
supportedSize: number;
|
|
13
14
|
readonly documentExtension: string[];
|
|
14
15
|
readonly compressedExtension: string[];
|
|
@@ -25,10 +26,11 @@ export declare class UploadAssetsService {
|
|
|
25
26
|
constructor(_env: any, dialog: MatDialog, _api: BaseHttpClient);
|
|
26
27
|
getErrorObs(): Observable<any>;
|
|
27
28
|
setErrorObs(error: boolean): void;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
readonly getFiles: File[];
|
|
30
|
+
setFiles: File[];
|
|
31
|
+
readonly errorFiles: boolean;
|
|
32
|
+
readonly errorLength: number;
|
|
32
33
|
deleteFile(index: number): void;
|
|
34
|
+
getUploadName(index: number): string;
|
|
33
35
|
uploadMultipleAssets(parentAssetId: string): Observable<any>;
|
|
34
36
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rs-pk/asset-management",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/platform-browser": "
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/core": "
|
|
8
|
-
"@angular/forms": "
|
|
9
|
-
"@angular/material": "
|
|
10
|
-
"@angular/animations": "
|
|
11
|
-
"@angular/cdk": "
|
|
5
|
+
"@angular/platform-browser": "8.2.14",
|
|
6
|
+
"@angular/common": "8.2.14",
|
|
7
|
+
"@angular/core": "8.2.14",
|
|
8
|
+
"@angular/forms": "8.2.14",
|
|
9
|
+
"@angular/material": "8.2.3",
|
|
10
|
+
"@angular/animations": "~8.2.14",
|
|
11
|
+
"@angular/cdk": "8.2.3",
|
|
12
12
|
"rxjs": "^6.4.0"
|
|
13
13
|
},
|
|
14
14
|
"main": "bundles/rs-pk-asset-management.umd.js",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"metadata": "rs-pk-asset-management.metadata.json",
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"tslib": "
|
|
25
|
+
"tslib": "1.11.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -23,10 +23,4 @@ export * from './lib/components/partial/node-details/node-details.component';
|
|
|
23
23
|
export * from './lib/components/ui/input-file/input-file.component';
|
|
24
24
|
export * from './lib/components/ui/modal/modal.component';
|
|
25
25
|
export * from './lib/components/ui/search-not-found/search-not-found.component';
|
|
26
|
-
export * from './lib/components/partial/sort-items/sort-items.component';
|
|
27
|
-
export * from './lib/components/ui/drag-to-resize/drag-to-resize.component';
|
|
28
|
-
export * from './lib/pipes/file-size.pipe';
|
|
29
|
-
export * from './lib/pipes/datetime.pipe';
|
|
30
|
-
export * from './lib/directives/directives.module';
|
|
31
26
|
export * from './lib/directives/dialogTrigger.directive';
|
|
32
|
-
export * from './lib/directives/dnd.directive';
|
|
@@ -2,5 +2,11 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
export { AssetManagementService as
|
|
6
|
-
export {
|
|
5
|
+
export { AssetManagementService as ɵc } from './lib/asset-management.service';
|
|
6
|
+
export { SortItemsComponent as ɵd } from './lib/components/partial/sort-items/sort-items.component';
|
|
7
|
+
export { DragToResizeComponent as ɵa } from './lib/components/ui/drag-to-resize/drag-to-resize.component';
|
|
8
|
+
export { DIRECTIVES as ɵh, DirectivesModule as ɵi } from './lib/directives/directives.module';
|
|
9
|
+
export { DndDirective as ɵj } from './lib/directives/dnd.directive';
|
|
10
|
+
export { DialogConfig as ɵe } from './lib/models';
|
|
11
|
+
export { LocalDatePipe as ɵg, LocalDateTimePipe as ɵf } from './lib/pipes/datetime.pipe';
|
|
12
|
+
export { FileSizePipe as ɵb } from './lib/pipes/file-size.pipe';
|