@gsp-svc/formdoc-upload 1.1.0 → 1.1.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.
- package/bundles/gsp-svc-formdoc-upload.umd.js +2743 -2721
- package/bundles/gsp-svc-formdoc-upload.umd.js.map +1 -1
- package/bundles/gsp-svc-formdoc-upload.umd.min.js +1 -1
- package/bundles/gsp-svc-formdoc-upload.umd.min.js.map +1 -1
- package/esm2015/gsp-svc-formdoc-upload.js +9 -9
- package/esm2015/lib/formdoc-upload.component.js +21 -21
- package/esm2015/lib/formdoc-upload.module.js +23 -23
- package/esm2015/lib/formdoc-upload.service.js +17 -17
- package/esm2015/lib/i18n/language.resource.js +156 -148
- package/esm2015/lib/local.pipe.js +48 -48
- package/esm2015/lib/upload/download.service.js +153 -153
- package/esm2015/lib/upload/entity/changeinstancerequest.js +13 -13
- package/esm2015/lib/upload/entity/completemultiuploadrequest.js +21 -21
- package/esm2015/lib/upload/entity/copyfilerequest.js +15 -15
- package/esm2015/lib/upload/entity/doctype.js +25 -25
- package/esm2015/lib/upload/entity/droplistentity.js +13 -13
- package/esm2015/lib/upload/entity/expropertyrequest.js +15 -15
- package/esm2015/lib/upload/entity/extensionstoragefileinfo.js +13 -13
- package/esm2015/lib/upload/entity/fileinfo.js +49 -49
- package/esm2015/lib/upload/entity/filestate.js +13 -13
- package/esm2015/lib/upload/entity/gspdocmetaproperty.js +19 -19
- package/esm2015/lib/upload/entity/gspdocsecuritybaseinfo.js +15 -15
- package/esm2015/lib/upload/entity/gspformdocinfo.js +25 -25
- package/esm2015/lib/upload/entity/gspformdocoperateentity.js +13 -13
- package/esm2015/lib/upload/entity/gspformremovelistentity.js +15 -15
- package/esm2015/lib/upload/entity/gspformstreamentity.js +25 -25
- package/esm2015/lib/upload/entity/gspformuploadentity.js +17 -17
- package/esm2015/lib/upload/entity/gspformuploadlistentity.js +17 -17
- package/esm2015/lib/upload/entity/initmultiuploadrequest.js +19 -19
- package/esm2015/lib/upload/entity/multiuploadrequest.js +21 -21
- package/esm2015/lib/upload/entity/multiuploadresult.js +13 -13
- package/esm2015/lib/upload/entity/operatingmodes.js +13 -13
- package/esm2015/lib/upload/entity/securityentity.js +17 -17
- package/esm2015/lib/upload/entity/storageextension.js +17 -17
- package/esm2015/lib/upload/entity/uploadfileinfo.js +21 -21
- package/esm2015/lib/upload/entity/uploadlimit.js +23 -23
- package/esm2015/lib/upload/file-upload/file-upload.component.js +1508 -1491
- package/esm2015/lib/upload/upload.module.js +50 -48
- package/esm2015/lib/upload/upload.service.js +341 -341
- package/esm2015/lib/uploaddialog/uploaddialog/uploaddialog.component.js +82 -82
- package/esm2015/lib/uploaddialog/uploaddialog.module.js +35 -35
- package/esm2015/lib/uploaddialog.service.js +207 -207
- package/esm2015/public-api.js +32 -32
- package/esm5/gsp-svc-formdoc-upload.js +9 -9
- package/esm5/lib/formdoc-upload.component.js +27 -27
- package/esm5/lib/formdoc-upload.module.js +27 -27
- package/esm5/lib/formdoc-upload.service.js +20 -20
- package/esm5/lib/i18n/language.resource.js +156 -148
- package/esm5/lib/local.pipe.js +51 -51
- package/esm5/lib/upload/download.service.js +202 -202
- package/esm5/lib/upload/entity/changeinstancerequest.js +17 -17
- package/esm5/lib/upload/entity/completemultiuploadrequest.js +25 -25
- package/esm5/lib/upload/entity/copyfilerequest.js +19 -19
- package/esm5/lib/upload/entity/doctype.js +25 -25
- package/esm5/lib/upload/entity/droplistentity.js +17 -17
- package/esm5/lib/upload/entity/expropertyrequest.js +19 -19
- package/esm5/lib/upload/entity/extensionstoragefileinfo.js +17 -17
- package/esm5/lib/upload/entity/fileinfo.js +53 -53
- package/esm5/lib/upload/entity/filestate.js +13 -13
- package/esm5/lib/upload/entity/gspdocmetaproperty.js +23 -23
- package/esm5/lib/upload/entity/gspdocsecuritybaseinfo.js +19 -19
- package/esm5/lib/upload/entity/gspformdocinfo.js +29 -29
- package/esm5/lib/upload/entity/gspformdocoperateentity.js +17 -17
- package/esm5/lib/upload/entity/gspformremovelistentity.js +19 -19
- package/esm5/lib/upload/entity/gspformstreamentity.js +29 -29
- package/esm5/lib/upload/entity/gspformuploadentity.js +21 -21
- package/esm5/lib/upload/entity/gspformuploadlistentity.js +21 -21
- package/esm5/lib/upload/entity/initmultiuploadrequest.js +23 -23
- package/esm5/lib/upload/entity/multiuploadrequest.js +25 -25
- package/esm5/lib/upload/entity/multiuploadresult.js +17 -17
- package/esm5/lib/upload/entity/operatingmodes.js +13 -13
- package/esm5/lib/upload/entity/securityentity.js +21 -21
- package/esm5/lib/upload/entity/storageextension.js +21 -21
- package/esm5/lib/upload/entity/uploadfileinfo.js +25 -25
- package/esm5/lib/upload/entity/uploadlimit.js +25 -25
- package/esm5/lib/upload/file-upload/file-upload.component.js +1657 -1640
- package/esm5/lib/upload/upload.module.js +54 -52
- package/esm5/lib/upload/upload.service.js +404 -404
- package/esm5/lib/uploaddialog/uploaddialog/uploaddialog.component.js +88 -88
- package/esm5/lib/uploaddialog/uploaddialog.module.js +39 -39
- package/esm5/lib/uploaddialog.service.js +226 -226
- package/esm5/public-api.js +32 -32
- package/fesm2015/gsp-svc-formdoc-upload.js +2470 -2443
- package/fesm2015/gsp-svc-formdoc-upload.js.map +1 -1
- package/fesm5/gsp-svc-formdoc-upload.js +2820 -2793
- package/fesm5/gsp-svc-formdoc-upload.js.map +1 -1
- package/gsp-svc-formdoc-upload.d.ts +5 -5
- package/gsp-svc-formdoc-upload.metadata.json +1 -1
- package/lib/formdoc-upload.component.d.ts +5 -5
- package/lib/formdoc-upload.module.d.ts +2 -2
- package/lib/formdoc-upload.service.d.ts +3 -3
- package/lib/i18n/language.resource.d.ts +150 -142
- package/lib/local.pipe.d.ts +8 -8
- package/lib/upload/download.service.d.ts +11 -11
- package/lib/upload/entity/changeinstancerequest.d.ts +5 -5
- package/lib/upload/entity/completemultiuploadrequest.d.ts +9 -9
- package/lib/upload/entity/copyfilerequest.d.ts +5 -5
- package/lib/upload/entity/doctype.d.ts +10 -10
- package/lib/upload/entity/droplistentity.d.ts +4 -4
- package/lib/upload/entity/expropertyrequest.d.ts +5 -5
- package/lib/upload/entity/extensionstoragefileinfo.d.ts +4 -4
- package/lib/upload/entity/fileinfo.d.ts +23 -23
- package/lib/upload/entity/filestate.d.ts +4 -4
- package/lib/upload/entity/gspdocmetaproperty.d.ts +7 -7
- package/lib/upload/entity/gspdocsecuritybaseinfo.d.ts +5 -5
- package/lib/upload/entity/gspformdocinfo.d.ts +11 -11
- package/lib/upload/entity/gspformdocoperateentity.d.ts +4 -4
- package/lib/upload/entity/gspformremovelistentity.d.ts +6 -6
- package/lib/upload/entity/gspformstreamentity.d.ts +12 -12
- package/lib/upload/entity/gspformuploadentity.d.ts +8 -8
- package/lib/upload/entity/gspformuploadlistentity.d.ts +8 -8
- package/lib/upload/entity/initmultiuploadrequest.d.ts +7 -7
- package/lib/upload/entity/multiuploadrequest.d.ts +8 -8
- package/lib/upload/entity/multiuploadresult.d.ts +4 -4
- package/lib/upload/entity/operatingmodes.d.ts +4 -4
- package/lib/upload/entity/securityentity.d.ts +6 -6
- package/lib/upload/entity/storageextension.d.ts +6 -6
- package/lib/upload/entity/uploadfileinfo.d.ts +10 -10
- package/lib/upload/entity/uploadlimit.d.ts +7 -7
- package/lib/upload/file-upload/file-upload.component.d.ts +133 -133
- package/lib/upload/upload.module.d.ts +3 -3
- package/lib/upload/upload.service.d.ts +27 -27
- package/lib/uploaddialog/uploaddialog/uploaddialog.component.d.ts +13 -13
- package/lib/uploaddialog/uploaddialog.module.d.ts +2 -2
- package/lib/uploaddialog.service.d.ts +18 -18
- package/package.json +1 -1
- package/public-api.d.ts +25 -25
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
import { OnInit, TemplateRef, Injector } from '@angular/core';
|
|
2
|
-
import { FileInfo } from '../entity/fileinfo';
|
|
3
|
-
import { DocType } from '../entity/doctype';
|
|
4
|
-
import { UploadService } from '../upload.service';
|
|
5
|
-
import { UploadFileInfo } from '../entity/uploadfileinfo';
|
|
6
|
-
import { MessagerService } from '@farris/ui-messager';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import { GspFormUploadEntity } from '../entity/gspformuploadentity';
|
|
9
|
-
import { StorageExtension } from '../entity/storageextension';
|
|
10
|
-
import { ExStorageFileInfo } from '../entity/extensionstoragefileinfo';
|
|
11
|
-
import { DropListEntity } from '../entity/droplistentity';
|
|
12
|
-
import { LoadingService } from '@farris/ui-loading';
|
|
13
|
-
import { FileState } from '../entity/filestate';
|
|
14
|
-
import { LocalLangPipe } from '../../local.pipe';
|
|
15
|
-
import { GspDocSecurityBaseInfo } from '../entity/gspdocsecuritybaseinfo';
|
|
16
|
-
import { SecurityEntity } from '../entity/securityentity';
|
|
17
|
-
import { HttpClient } from '@angular/common/http';
|
|
18
|
-
import { InitMultiUploadRequest } from '../entity/initmultiuploadrequest';
|
|
19
|
-
import { CompleteMultiUploadRequest } from '../entity/completemultiuploadrequest';
|
|
20
|
-
export declare class FileUploadComponent implements OnInit {
|
|
21
|
-
private msgService;
|
|
22
|
-
private uploadService;
|
|
23
|
-
private loadService;
|
|
24
|
-
private injector?;
|
|
25
|
-
files: FileInfo[];
|
|
26
|
-
metadataIdList: string[];
|
|
27
|
-
uploadFileInfoList: UploadFileInfo[];
|
|
28
|
-
errFileList: string[];
|
|
29
|
-
errTypeList: string[];
|
|
30
|
-
nullFileList: string[];
|
|
31
|
-
beyondFileList: string[];
|
|
32
|
-
fileNameOversizeList: string[];
|
|
33
|
-
invalidCharactersFileList: string[];
|
|
34
|
-
invalidExtNamesFileList: string[];
|
|
35
|
-
unrecognizedTypeFileList: string[];
|
|
36
|
-
invalidCharacters: string;
|
|
37
|
-
invalidExtNames: string;
|
|
38
|
-
showType: number;
|
|
39
|
-
mouseOn: boolean;
|
|
40
|
-
isWhiteList: boolean;
|
|
41
|
-
bufferSize: number;
|
|
42
|
-
selectedFiles: any;
|
|
43
|
-
radioButtonGroupValue: any;
|
|
44
|
-
selectedFileCount: number;
|
|
45
|
-
uploadBtnDisabled: boolean;
|
|
46
|
-
uploadIconAddress: string;
|
|
47
|
-
uploadLittleIconAddress: string;
|
|
48
|
-
hasSelectedFile: boolean;
|
|
49
|
-
fileAllSelected: boolean;
|
|
50
|
-
uploadProcess: {
|
|
51
|
-
width: string;
|
|
52
|
-
};
|
|
53
|
-
fileTotalChunk: {
|
|
54
|
-
[key: string]: number;
|
|
55
|
-
};
|
|
56
|
-
requestArray: Array<Observable<any>>;
|
|
57
|
-
requestBodyArray: Array<GspFormUploadEntity>;
|
|
58
|
-
uploadedChunk: {
|
|
59
|
-
[key: string]: number;
|
|
60
|
-
};
|
|
61
|
-
uploadedProcess: {
|
|
62
|
-
[key: string]: number;
|
|
63
|
-
};
|
|
64
|
-
storageExtension: StorageExtension;
|
|
65
|
-
defaultPropertyName: string;
|
|
66
|
-
propertiesNames: DropListEntity[];
|
|
67
|
-
securityInfoList: SecurityEntity[];
|
|
68
|
-
queueListStyle: {
|
|
69
|
-
width: string;
|
|
70
|
-
};
|
|
71
|
-
dropListValue: string;
|
|
72
|
-
uploadedFileTotal: number;
|
|
73
|
-
allowedMultiUpload: boolean;
|
|
74
|
-
haveExtensionProperty: boolean;
|
|
75
|
-
haveSecurityInfo: boolean;
|
|
76
|
-
uploadedFileInfoList: any[];
|
|
77
|
-
oldUploadedFileList: any[];
|
|
78
|
-
uploadInfoErrorMessage: string;
|
|
79
|
-
sameNameAllowed: boolean;
|
|
80
|
-
maxFileSize: number;
|
|
81
|
-
localeid: string;
|
|
82
|
-
localepipe: LocalLangPipe;
|
|
83
|
-
httpclient: HttpClient;
|
|
84
|
-
checkboxPos: {
|
|
85
|
-
top: string;
|
|
86
|
-
};
|
|
87
|
-
constructor(msgService: MessagerService, uploadService: UploadService, loadService: LoadingService, injector?: Injector);
|
|
88
|
-
formId: string;
|
|
89
|
-
rootId: string;
|
|
90
|
-
fileType: string;
|
|
91
|
-
fileCount: number;
|
|
92
|
-
oldIdList: string[];
|
|
93
|
-
securityInfo: GspDocSecurityBaseInfo;
|
|
94
|
-
fileNameLength: number;
|
|
95
|
-
opCell: TemplateRef<any>;
|
|
96
|
-
ngOnInit(): void;
|
|
97
|
-
totalLoad: any;
|
|
98
|
-
showLoading(): void;
|
|
99
|
-
getRightClass(): "btn btn-primary btn-lg disabled" | "btn btn-primary btn-lg";
|
|
100
|
-
findInvalidCharacter(name: string): string[];
|
|
101
|
-
hasFileType(file: any): any;
|
|
102
|
-
fileSelected($event: any): void;
|
|
103
|
-
showErrorMessage(file: any): void;
|
|
104
|
-
handleFileInfo(uuid: string, selectedFile: any, fileName: string): any;
|
|
105
|
-
uploadFile(uuid: string, selectedFile: any, fileName: string, state?: FileState): void;
|
|
106
|
-
getUploadProcess(metadataId: string): Observable<any>;
|
|
107
|
-
uploadSingleFile(formdata: FormData): Observable<any>;
|
|
108
|
-
uploadSliceFile(formdata: FormData): Observable<any>;
|
|
109
|
-
initMultiUpload(request: InitMultiUploadRequest): Observable<any>;
|
|
110
|
-
multiUpload(formdata: FormData): Observable<any>;
|
|
111
|
-
completeMultiUpload(request: CompleteMultiUploadRequest): Observable<any>;
|
|
112
|
-
selectAllFile(): void;
|
|
113
|
-
checkoutSelectFile(file: FileInfo): void;
|
|
114
|
-
listDeleteFile(fileInfo: FileInfo): void;
|
|
115
|
-
listMultipleDeleteFile(): void;
|
|
116
|
-
getPicListDisplayName(fileName: string): string;
|
|
117
|
-
getQueueDisplayName(fileName: string): string;
|
|
118
|
-
addDocInfo(selectdFile: any, fileInfo: FileInfo, docType: DocType): void;
|
|
119
|
-
listToString(strList: string[]): string;
|
|
120
|
-
securityChange($event: any, file: FileInfo): void;
|
|
121
|
-
exStorageFileList: ExStorageFileInfo[];
|
|
122
|
-
typeChange($event: any, file: FileInfo): void;
|
|
123
|
-
upload(): Observable<any>;
|
|
124
|
-
cancel(): void;
|
|
125
|
-
getUploadFileInfoList(): UploadFileInfo[];
|
|
126
|
-
delete(file: any): void;
|
|
127
|
-
getFileSize(size: number): string;
|
|
128
|
-
showByGroup(): void;
|
|
129
|
-
showByList(): void;
|
|
130
|
-
mouseOver(file: any): void;
|
|
131
|
-
mouseOut(file: any): void;
|
|
132
|
-
createBaseUrl(oldUrl: string): string;
|
|
133
|
-
}
|
|
1
|
+
import { OnInit, TemplateRef, Injector } from '@angular/core';
|
|
2
|
+
import { FileInfo } from '../entity/fileinfo';
|
|
3
|
+
import { DocType } from '../entity/doctype';
|
|
4
|
+
import { UploadService } from '../upload.service';
|
|
5
|
+
import { UploadFileInfo } from '../entity/uploadfileinfo';
|
|
6
|
+
import { MessagerService } from '@farris/ui-messager';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { GspFormUploadEntity } from '../entity/gspformuploadentity';
|
|
9
|
+
import { StorageExtension } from '../entity/storageextension';
|
|
10
|
+
import { ExStorageFileInfo } from '../entity/extensionstoragefileinfo';
|
|
11
|
+
import { DropListEntity } from '../entity/droplistentity';
|
|
12
|
+
import { LoadingService } from '@farris/ui-loading';
|
|
13
|
+
import { FileState } from '../entity/filestate';
|
|
14
|
+
import { LocalLangPipe } from '../../local.pipe';
|
|
15
|
+
import { GspDocSecurityBaseInfo } from '../entity/gspdocsecuritybaseinfo';
|
|
16
|
+
import { SecurityEntity } from '../entity/securityentity';
|
|
17
|
+
import { HttpClient } from '@angular/common/http';
|
|
18
|
+
import { InitMultiUploadRequest } from '../entity/initmultiuploadrequest';
|
|
19
|
+
import { CompleteMultiUploadRequest } from '../entity/completemultiuploadrequest';
|
|
20
|
+
export declare class FileUploadComponent implements OnInit {
|
|
21
|
+
private msgService;
|
|
22
|
+
private uploadService;
|
|
23
|
+
private loadService;
|
|
24
|
+
private injector?;
|
|
25
|
+
files: FileInfo[];
|
|
26
|
+
metadataIdList: string[];
|
|
27
|
+
uploadFileInfoList: UploadFileInfo[];
|
|
28
|
+
errFileList: string[];
|
|
29
|
+
errTypeList: string[];
|
|
30
|
+
nullFileList: string[];
|
|
31
|
+
beyondFileList: string[];
|
|
32
|
+
fileNameOversizeList: string[];
|
|
33
|
+
invalidCharactersFileList: string[];
|
|
34
|
+
invalidExtNamesFileList: string[];
|
|
35
|
+
unrecognizedTypeFileList: string[];
|
|
36
|
+
invalidCharacters: string;
|
|
37
|
+
invalidExtNames: string;
|
|
38
|
+
showType: number;
|
|
39
|
+
mouseOn: boolean;
|
|
40
|
+
isWhiteList: boolean;
|
|
41
|
+
bufferSize: number;
|
|
42
|
+
selectedFiles: any;
|
|
43
|
+
radioButtonGroupValue: any;
|
|
44
|
+
selectedFileCount: number;
|
|
45
|
+
uploadBtnDisabled: boolean;
|
|
46
|
+
uploadIconAddress: string;
|
|
47
|
+
uploadLittleIconAddress: string;
|
|
48
|
+
hasSelectedFile: boolean;
|
|
49
|
+
fileAllSelected: boolean;
|
|
50
|
+
uploadProcess: {
|
|
51
|
+
width: string;
|
|
52
|
+
};
|
|
53
|
+
fileTotalChunk: {
|
|
54
|
+
[key: string]: number;
|
|
55
|
+
};
|
|
56
|
+
requestArray: Array<Observable<any>>;
|
|
57
|
+
requestBodyArray: Array<GspFormUploadEntity>;
|
|
58
|
+
uploadedChunk: {
|
|
59
|
+
[key: string]: number;
|
|
60
|
+
};
|
|
61
|
+
uploadedProcess: {
|
|
62
|
+
[key: string]: number;
|
|
63
|
+
};
|
|
64
|
+
storageExtension: StorageExtension;
|
|
65
|
+
defaultPropertyName: string;
|
|
66
|
+
propertiesNames: DropListEntity[];
|
|
67
|
+
securityInfoList: SecurityEntity[];
|
|
68
|
+
queueListStyle: {
|
|
69
|
+
width: string;
|
|
70
|
+
};
|
|
71
|
+
dropListValue: string;
|
|
72
|
+
uploadedFileTotal: number;
|
|
73
|
+
allowedMultiUpload: boolean;
|
|
74
|
+
haveExtensionProperty: boolean;
|
|
75
|
+
haveSecurityInfo: boolean;
|
|
76
|
+
uploadedFileInfoList: any[];
|
|
77
|
+
oldUploadedFileList: any[];
|
|
78
|
+
uploadInfoErrorMessage: string;
|
|
79
|
+
sameNameAllowed: boolean;
|
|
80
|
+
maxFileSize: number;
|
|
81
|
+
localeid: string;
|
|
82
|
+
localepipe: LocalLangPipe;
|
|
83
|
+
httpclient: HttpClient;
|
|
84
|
+
checkboxPos: {
|
|
85
|
+
top: string;
|
|
86
|
+
};
|
|
87
|
+
constructor(msgService: MessagerService, uploadService: UploadService, loadService: LoadingService, injector?: Injector);
|
|
88
|
+
formId: string;
|
|
89
|
+
rootId: string;
|
|
90
|
+
fileType: string;
|
|
91
|
+
fileCount: number;
|
|
92
|
+
oldIdList: string[];
|
|
93
|
+
securityInfo: GspDocSecurityBaseInfo;
|
|
94
|
+
fileNameLength: number;
|
|
95
|
+
opCell: TemplateRef<any>;
|
|
96
|
+
ngOnInit(): void;
|
|
97
|
+
totalLoad: any;
|
|
98
|
+
showLoading(): void;
|
|
99
|
+
getRightClass(): "btn btn-primary btn-lg disabled" | "btn btn-primary btn-lg";
|
|
100
|
+
findInvalidCharacter(name: string): string[];
|
|
101
|
+
hasFileType(file: any): any;
|
|
102
|
+
fileSelected($event: any): void;
|
|
103
|
+
showErrorMessage(file: any): void;
|
|
104
|
+
handleFileInfo(uuid: string, selectedFile: any, fileName: string): any;
|
|
105
|
+
uploadFile(uuid: string, selectedFile: any, fileName: string, state?: FileState): void;
|
|
106
|
+
getUploadProcess(metadataId: string): Observable<any>;
|
|
107
|
+
uploadSingleFile(formdata: FormData): Observable<any>;
|
|
108
|
+
uploadSliceFile(formdata: FormData): Observable<any>;
|
|
109
|
+
initMultiUpload(request: InitMultiUploadRequest): Observable<any>;
|
|
110
|
+
multiUpload(formdata: FormData): Observable<any>;
|
|
111
|
+
completeMultiUpload(request: CompleteMultiUploadRequest): Observable<any>;
|
|
112
|
+
selectAllFile(): void;
|
|
113
|
+
checkoutSelectFile(file: FileInfo): void;
|
|
114
|
+
listDeleteFile(fileInfo: FileInfo): void;
|
|
115
|
+
listMultipleDeleteFile(): void;
|
|
116
|
+
getPicListDisplayName(fileName: string): string;
|
|
117
|
+
getQueueDisplayName(fileName: string): string;
|
|
118
|
+
addDocInfo(selectdFile: any, fileInfo: FileInfo, docType: DocType): void;
|
|
119
|
+
listToString(strList: string[]): string;
|
|
120
|
+
securityChange($event: any, file: FileInfo): void;
|
|
121
|
+
exStorageFileList: ExStorageFileInfo[];
|
|
122
|
+
typeChange($event: any, file: FileInfo): void;
|
|
123
|
+
upload(): Observable<any>;
|
|
124
|
+
cancel(): void;
|
|
125
|
+
getUploadFileInfoList(): UploadFileInfo[];
|
|
126
|
+
delete(file: any): void;
|
|
127
|
+
getFileSize(size: number): string;
|
|
128
|
+
showByGroup(): void;
|
|
129
|
+
showByList(): void;
|
|
130
|
+
mouseOver(file: any): void;
|
|
131
|
+
mouseOut(file: any): void;
|
|
132
|
+
createBaseUrl(oldUrl: string): string;
|
|
133
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare class UploadModule {
|
|
2
|
-
}
|
|
3
|
-
export declare const ɵa: typeof UploadModule;
|
|
1
|
+
export declare class UploadModule {
|
|
2
|
+
}
|
|
3
|
+
export declare const ɵa: typeof UploadModule;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { GspFormUploadListEntity } from './entity/gspformuploadlistentity';
|
|
3
|
-
import { HttpService } from '@ecp-caf/caf-common';
|
|
4
|
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
|
5
|
-
import { GspFormUploadEntity } from './entity/gspformuploadentity';
|
|
6
|
-
import { ExStorageFileInfo } from './entity/extensionstoragefileinfo';
|
|
7
|
-
import { GspDocSecurityBaseInfo } from './entity/gspdocsecuritybaseinfo';
|
|
8
|
-
import { UploadFileInfo } from './entity/uploadfileinfo';
|
|
9
|
-
export declare class UploadService {
|
|
10
|
-
private http;
|
|
11
|
-
private httpclient;
|
|
12
|
-
constructor(http: HttpService, httpclient: HttpClient);
|
|
13
|
-
uploadList(docListInfo: GspFormUploadListEntity, rootId: string): Observable<any>;
|
|
14
|
-
commit(metadataIdList: string[], rootId: string): Observable<any>;
|
|
15
|
-
cancel(metadataIdList: string[], rootId: string): Observable<any>;
|
|
16
|
-
removeList(idList: string[], rootId: string): Observable<ArrayBuffer>;
|
|
17
|
-
getFile(metadataId: string, rootId: string): Observable<ArrayBuffer | HttpErrorResponse>;
|
|
18
|
-
uploadFile(docInfo: GspFormUploadEntity): Observable<any>;
|
|
19
|
-
uploadSliceFile(formdata: FormData): Observable<any>;
|
|
20
|
-
getStorageExtensionInfo(): Observable<any>;
|
|
21
|
-
getSecurityInfoList(baseInfo: GspDocSecurityBaseInfo): Observable<any>;
|
|
22
|
-
changeStorageInstance(storageInfoList: ExStorageFileInfo[], rootId: string): Observable<any>;
|
|
23
|
-
copyFile(metadataId: string, rootId: string, path: string): Observable<any>;
|
|
24
|
-
saveSecurityInfo(uploadFileInfoList: UploadFileInfo[], rootId: string): Observable<any>;
|
|
25
|
-
getUploadedFileInfoList(formId: string, rootId: string): Observable<any>;
|
|
26
|
-
getUploadInfo(rootId: string): Observable<any>;
|
|
27
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { GspFormUploadListEntity } from './entity/gspformuploadlistentity';
|
|
3
|
+
import { HttpService } from '@ecp-caf/caf-common';
|
|
4
|
+
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
|
5
|
+
import { GspFormUploadEntity } from './entity/gspformuploadentity';
|
|
6
|
+
import { ExStorageFileInfo } from './entity/extensionstoragefileinfo';
|
|
7
|
+
import { GspDocSecurityBaseInfo } from './entity/gspdocsecuritybaseinfo';
|
|
8
|
+
import { UploadFileInfo } from './entity/uploadfileinfo';
|
|
9
|
+
export declare class UploadService {
|
|
10
|
+
private http;
|
|
11
|
+
private httpclient;
|
|
12
|
+
constructor(http: HttpService, httpclient: HttpClient);
|
|
13
|
+
uploadList(docListInfo: GspFormUploadListEntity, rootId: string): Observable<any>;
|
|
14
|
+
commit(metadataIdList: string[], rootId: string): Observable<any>;
|
|
15
|
+
cancel(metadataIdList: string[], rootId: string): Observable<any>;
|
|
16
|
+
removeList(idList: string[], rootId: string): Observable<ArrayBuffer>;
|
|
17
|
+
getFile(metadataId: string, rootId: string): Observable<ArrayBuffer | HttpErrorResponse>;
|
|
18
|
+
uploadFile(docInfo: GspFormUploadEntity): Observable<any>;
|
|
19
|
+
uploadSliceFile(formdata: FormData): Observable<any>;
|
|
20
|
+
getStorageExtensionInfo(): Observable<any>;
|
|
21
|
+
getSecurityInfoList(baseInfo: GspDocSecurityBaseInfo): Observable<any>;
|
|
22
|
+
changeStorageInstance(storageInfoList: ExStorageFileInfo[], rootId: string): Observable<any>;
|
|
23
|
+
copyFile(metadataId: string, rootId: string, path: string): Observable<any>;
|
|
24
|
+
saveSecurityInfo(uploadFileInfoList: UploadFileInfo[], rootId: string): Observable<any>;
|
|
25
|
+
getUploadedFileInfoList(formId: string, rootId: string): Observable<any>;
|
|
26
|
+
getUploadInfo(rootId: string): Observable<any>;
|
|
27
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { BsModalRef, BsModalService } from '@farris/ui-modal';
|
|
3
|
-
import { FileUploadComponent } from '../../upload/file-upload/file-upload.component';
|
|
4
|
-
export declare class UploadDialogComponent implements OnInit {
|
|
5
|
-
private modalService;
|
|
6
|
-
dlg: BsModalRef;
|
|
7
|
-
metadataIdList: string[];
|
|
8
|
-
formId: string;
|
|
9
|
-
constructor(modalService: BsModalService);
|
|
10
|
-
fileUpload: FileUploadComponent;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
showDialog(): void;
|
|
13
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BsModalRef, BsModalService } from '@farris/ui-modal';
|
|
3
|
+
import { FileUploadComponent } from '../../upload/file-upload/file-upload.component';
|
|
4
|
+
export declare class UploadDialogComponent implements OnInit {
|
|
5
|
+
private modalService;
|
|
6
|
+
dlg: BsModalRef;
|
|
7
|
+
metadataIdList: string[];
|
|
8
|
+
formId: string;
|
|
9
|
+
constructor(modalService: BsModalService);
|
|
10
|
+
fileUpload: FileUploadComponent;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
showDialog(): void;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class UploadDialogMoudle {
|
|
2
|
-
}
|
|
1
|
+
export declare class UploadDialogMoudle {
|
|
2
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Injector, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
-
import { BsModalService, BsModalRef } from '@farris/ui-modal';
|
|
3
|
-
import { UploadFileInfo } from './upload/entity/uploadfileinfo';
|
|
4
|
-
import { UploadLimit } from './upload/entity/uploadlimit';
|
|
5
|
-
import { LocalLangPipe } from './local.pipe';
|
|
6
|
-
export declare class UploadDialogService {
|
|
7
|
-
private modalService;
|
|
8
|
-
private componentFactoryResolver;
|
|
9
|
-
private injector;
|
|
10
|
-
localeid: string;
|
|
11
|
-
localpipe: LocalLangPipe;
|
|
12
|
-
constructor(modalService: BsModalService, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
13
|
-
dlg: BsModalRef;
|
|
14
|
-
fileInfoList: UploadFileInfo[];
|
|
15
|
-
showDialog(formId: string, rootId: string): Promise<{}>;
|
|
16
|
-
uploadFile(formId: string, rootId: string, oldIdList?: string[]): Promise<{}>;
|
|
17
|
-
uploadFileWithLimit(formId: string, rootId: string, limit: UploadLimit, oldIdList?: string[]): Promise<{}>;
|
|
18
|
-
}
|
|
1
|
+
import { Injector, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
+
import { BsModalService, BsModalRef } from '@farris/ui-modal';
|
|
3
|
+
import { UploadFileInfo } from './upload/entity/uploadfileinfo';
|
|
4
|
+
import { UploadLimit } from './upload/entity/uploadlimit';
|
|
5
|
+
import { LocalLangPipe } from './local.pipe';
|
|
6
|
+
export declare class UploadDialogService {
|
|
7
|
+
private modalService;
|
|
8
|
+
private componentFactoryResolver;
|
|
9
|
+
private injector;
|
|
10
|
+
localeid: string;
|
|
11
|
+
localpipe: LocalLangPipe;
|
|
12
|
+
constructor(modalService: BsModalService, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
13
|
+
dlg: BsModalRef;
|
|
14
|
+
fileInfoList: UploadFileInfo[];
|
|
15
|
+
showDialog(formId: string, rootId: string): Promise<{}>;
|
|
16
|
+
uploadFile(formId: string, rootId: string, oldIdList?: string[]): Promise<{}>;
|
|
17
|
+
uploadFileWithLimit(formId: string, rootId: string, limit: UploadLimit, oldIdList?: string[]): Promise<{}>;
|
|
18
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export * from './lib/formdoc-upload.service';
|
|
2
|
-
export * from './lib/formdoc-upload.component';
|
|
3
|
-
export * from './lib/formdoc-upload.module';
|
|
4
|
-
export * from './lib/uploaddialog/uploaddialog.module';
|
|
5
|
-
export * from './lib/uploaddialog/uploaddialog/uploaddialog.component';
|
|
6
|
-
export * from './lib/uploaddialog.service';
|
|
7
|
-
export * from './lib/upload/upload.service';
|
|
8
|
-
export * from './lib/upload/download.service';
|
|
9
|
-
export * from './lib/upload/file-upload/file-upload.component';
|
|
10
|
-
export * from './lib/upload/entity/uploadfileinfo';
|
|
11
|
-
export * from './lib/upload/upload.module';
|
|
12
|
-
export * from './lib/upload/entity/uploadlimit';
|
|
13
|
-
export * from './lib/upload/entity/gspformdocoperateentity';
|
|
14
|
-
export * from './lib/upload/entity/gspformremovelistentity';
|
|
15
|
-
export * from './lib/upload/entity/gspformuploadlistentity';
|
|
16
|
-
export * from './lib/upload/entity/gspformdocinfo';
|
|
17
|
-
export * from './lib/upload/entity/gspdocmetaproperty';
|
|
18
|
-
export * from './lib/upload/entity/gspformuploadentity';
|
|
19
|
-
export * from './lib/upload/entity/fileinfo';
|
|
20
|
-
export * from './lib/upload/entity/operatingmodes';
|
|
21
|
-
export * from './lib/upload/entity/filestate';
|
|
22
|
-
export * from './lib/upload/entity/gspdocsecuritybaseinfo';
|
|
23
|
-
export * from './lib/upload/entity/securityentity';
|
|
24
|
-
export * from './lib/upload/entity/extensionstoragefileinfo';
|
|
25
|
-
export * from './lib/upload/entity/copyfilerequest';
|
|
1
|
+
export * from './lib/formdoc-upload.service';
|
|
2
|
+
export * from './lib/formdoc-upload.component';
|
|
3
|
+
export * from './lib/formdoc-upload.module';
|
|
4
|
+
export * from './lib/uploaddialog/uploaddialog.module';
|
|
5
|
+
export * from './lib/uploaddialog/uploaddialog/uploaddialog.component';
|
|
6
|
+
export * from './lib/uploaddialog.service';
|
|
7
|
+
export * from './lib/upload/upload.service';
|
|
8
|
+
export * from './lib/upload/download.service';
|
|
9
|
+
export * from './lib/upload/file-upload/file-upload.component';
|
|
10
|
+
export * from './lib/upload/entity/uploadfileinfo';
|
|
11
|
+
export * from './lib/upload/upload.module';
|
|
12
|
+
export * from './lib/upload/entity/uploadlimit';
|
|
13
|
+
export * from './lib/upload/entity/gspformdocoperateentity';
|
|
14
|
+
export * from './lib/upload/entity/gspformremovelistentity';
|
|
15
|
+
export * from './lib/upload/entity/gspformuploadlistentity';
|
|
16
|
+
export * from './lib/upload/entity/gspformdocinfo';
|
|
17
|
+
export * from './lib/upload/entity/gspdocmetaproperty';
|
|
18
|
+
export * from './lib/upload/entity/gspformuploadentity';
|
|
19
|
+
export * from './lib/upload/entity/fileinfo';
|
|
20
|
+
export * from './lib/upload/entity/operatingmodes';
|
|
21
|
+
export * from './lib/upload/entity/filestate';
|
|
22
|
+
export * from './lib/upload/entity/gspdocsecuritybaseinfo';
|
|
23
|
+
export * from './lib/upload/entity/securityentity';
|
|
24
|
+
export * from './lib/upload/entity/extensionstoragefileinfo';
|
|
25
|
+
export * from './lib/upload/entity/copyfilerequest';
|