@gsp-svc/formdoc-upload 0.2.20 → 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.
Files changed (127) hide show
  1. package/bundles/gsp-svc-formdoc-upload.umd.js +2743 -2632
  2. package/bundles/gsp-svc-formdoc-upload.umd.js.map +1 -1
  3. package/bundles/gsp-svc-formdoc-upload.umd.min.js +1 -1
  4. package/bundles/gsp-svc-formdoc-upload.umd.min.js.map +1 -1
  5. package/esm2015/gsp-svc-formdoc-upload.js +9 -9
  6. package/esm2015/lib/formdoc-upload.component.js +21 -21
  7. package/esm2015/lib/formdoc-upload.module.js +23 -23
  8. package/esm2015/lib/formdoc-upload.service.js +17 -17
  9. package/esm2015/lib/i18n/language.resource.js +156 -148
  10. package/esm2015/lib/local.pipe.js +48 -48
  11. package/esm2015/lib/upload/download.service.js +153 -153
  12. package/esm2015/lib/upload/entity/changeinstancerequest.js +13 -13
  13. package/esm2015/lib/upload/entity/completemultiuploadrequest.js +21 -21
  14. package/esm2015/lib/upload/entity/copyfilerequest.js +15 -15
  15. package/esm2015/lib/upload/entity/doctype.js +25 -23
  16. package/esm2015/lib/upload/entity/droplistentity.js +13 -13
  17. package/esm2015/lib/upload/entity/expropertyrequest.js +15 -15
  18. package/esm2015/lib/upload/entity/extensionstoragefileinfo.js +13 -13
  19. package/esm2015/lib/upload/entity/fileinfo.js +49 -47
  20. package/esm2015/lib/upload/entity/filestate.js +13 -13
  21. package/esm2015/lib/upload/entity/gspdocmetaproperty.js +19 -19
  22. package/esm2015/lib/upload/entity/gspdocsecuritybaseinfo.js +15 -15
  23. package/esm2015/lib/upload/entity/gspformdocinfo.js +25 -25
  24. package/esm2015/lib/upload/entity/gspformdocoperateentity.js +13 -13
  25. package/esm2015/lib/upload/entity/gspformremovelistentity.js +15 -15
  26. package/esm2015/lib/upload/entity/gspformstreamentity.js +25 -25
  27. package/esm2015/lib/upload/entity/gspformuploadentity.js +17 -17
  28. package/esm2015/lib/upload/entity/gspformuploadlistentity.js +17 -17
  29. package/esm2015/lib/upload/entity/initmultiuploadrequest.js +19 -19
  30. package/esm2015/lib/upload/entity/multiuploadrequest.js +21 -21
  31. package/esm2015/lib/upload/entity/multiuploadresult.js +13 -13
  32. package/esm2015/lib/upload/entity/operatingmodes.js +13 -13
  33. package/esm2015/lib/upload/entity/securityentity.js +17 -17
  34. package/esm2015/lib/upload/entity/storageextension.js +17 -17
  35. package/esm2015/lib/upload/entity/uploadfileinfo.js +21 -19
  36. package/esm2015/lib/upload/entity/uploadlimit.js +23 -23
  37. package/esm2015/lib/upload/file-upload/file-upload.component.js +1508 -1402
  38. package/esm2015/lib/upload/upload.module.js +50 -48
  39. package/esm2015/lib/upload/upload.service.js +341 -341
  40. package/esm2015/lib/uploaddialog/uploaddialog/uploaddialog.component.js +82 -82
  41. package/esm2015/lib/uploaddialog/uploaddialog.module.js +35 -35
  42. package/esm2015/lib/uploaddialog.service.js +207 -207
  43. package/esm2015/public-api.js +32 -32
  44. package/esm5/gsp-svc-formdoc-upload.js +9 -9
  45. package/esm5/lib/formdoc-upload.component.js +27 -27
  46. package/esm5/lib/formdoc-upload.module.js +27 -27
  47. package/esm5/lib/formdoc-upload.service.js +20 -20
  48. package/esm5/lib/i18n/language.resource.js +156 -148
  49. package/esm5/lib/local.pipe.js +51 -51
  50. package/esm5/lib/upload/download.service.js +202 -202
  51. package/esm5/lib/upload/entity/changeinstancerequest.js +17 -17
  52. package/esm5/lib/upload/entity/completemultiuploadrequest.js +25 -25
  53. package/esm5/lib/upload/entity/copyfilerequest.js +19 -19
  54. package/esm5/lib/upload/entity/doctype.js +25 -23
  55. package/esm5/lib/upload/entity/droplistentity.js +17 -17
  56. package/esm5/lib/upload/entity/expropertyrequest.js +19 -19
  57. package/esm5/lib/upload/entity/extensionstoragefileinfo.js +17 -17
  58. package/esm5/lib/upload/entity/fileinfo.js +53 -51
  59. package/esm5/lib/upload/entity/filestate.js +13 -13
  60. package/esm5/lib/upload/entity/gspdocmetaproperty.js +23 -23
  61. package/esm5/lib/upload/entity/gspdocsecuritybaseinfo.js +19 -19
  62. package/esm5/lib/upload/entity/gspformdocinfo.js +29 -29
  63. package/esm5/lib/upload/entity/gspformdocoperateentity.js +17 -17
  64. package/esm5/lib/upload/entity/gspformremovelistentity.js +19 -19
  65. package/esm5/lib/upload/entity/gspformstreamentity.js +29 -29
  66. package/esm5/lib/upload/entity/gspformuploadentity.js +21 -21
  67. package/esm5/lib/upload/entity/gspformuploadlistentity.js +21 -21
  68. package/esm5/lib/upload/entity/initmultiuploadrequest.js +23 -23
  69. package/esm5/lib/upload/entity/multiuploadrequest.js +25 -25
  70. package/esm5/lib/upload/entity/multiuploadresult.js +17 -17
  71. package/esm5/lib/upload/entity/operatingmodes.js +13 -13
  72. package/esm5/lib/upload/entity/securityentity.js +21 -21
  73. package/esm5/lib/upload/entity/storageextension.js +21 -21
  74. package/esm5/lib/upload/entity/uploadfileinfo.js +25 -23
  75. package/esm5/lib/upload/entity/uploadlimit.js +25 -25
  76. package/esm5/lib/upload/file-upload/file-upload.component.js +1657 -1544
  77. package/esm5/lib/upload/upload.module.js +54 -52
  78. package/esm5/lib/upload/upload.service.js +404 -404
  79. package/esm5/lib/uploaddialog/uploaddialog/uploaddialog.component.js +88 -88
  80. package/esm5/lib/uploaddialog/uploaddialog.module.js +39 -39
  81. package/esm5/lib/uploaddialog.service.js +226 -226
  82. package/esm5/public-api.js +32 -32
  83. package/fesm2015/gsp-svc-formdoc-upload.js +2470 -2356
  84. package/fesm2015/gsp-svc-formdoc-upload.js.map +1 -1
  85. package/fesm5/gsp-svc-formdoc-upload.js +2820 -2699
  86. package/fesm5/gsp-svc-formdoc-upload.js.map +1 -1
  87. package/gsp-svc-formdoc-upload.d.ts +5 -5
  88. package/gsp-svc-formdoc-upload.metadata.json +1 -1
  89. package/lib/formdoc-upload.component.d.ts +5 -5
  90. package/lib/formdoc-upload.module.d.ts +2 -2
  91. package/lib/formdoc-upload.service.d.ts +3 -3
  92. package/lib/i18n/language.resource.d.ts +150 -142
  93. package/lib/local.pipe.d.ts +8 -8
  94. package/lib/upload/download.service.d.ts +11 -11
  95. package/lib/upload/entity/changeinstancerequest.d.ts +5 -5
  96. package/lib/upload/entity/completemultiuploadrequest.d.ts +9 -9
  97. package/lib/upload/entity/copyfilerequest.d.ts +5 -5
  98. package/lib/upload/entity/doctype.d.ts +10 -9
  99. package/lib/upload/entity/droplistentity.d.ts +4 -4
  100. package/lib/upload/entity/expropertyrequest.d.ts +5 -5
  101. package/lib/upload/entity/extensionstoragefileinfo.d.ts +4 -4
  102. package/lib/upload/entity/fileinfo.d.ts +23 -22
  103. package/lib/upload/entity/filestate.d.ts +4 -4
  104. package/lib/upload/entity/gspdocmetaproperty.d.ts +7 -7
  105. package/lib/upload/entity/gspdocsecuritybaseinfo.d.ts +5 -5
  106. package/lib/upload/entity/gspformdocinfo.d.ts +11 -11
  107. package/lib/upload/entity/gspformdocoperateentity.d.ts +4 -4
  108. package/lib/upload/entity/gspformremovelistentity.d.ts +6 -6
  109. package/lib/upload/entity/gspformstreamentity.d.ts +12 -12
  110. package/lib/upload/entity/gspformuploadentity.d.ts +8 -8
  111. package/lib/upload/entity/gspformuploadlistentity.d.ts +8 -8
  112. package/lib/upload/entity/initmultiuploadrequest.d.ts +7 -7
  113. package/lib/upload/entity/multiuploadrequest.d.ts +8 -8
  114. package/lib/upload/entity/multiuploadresult.d.ts +4 -4
  115. package/lib/upload/entity/operatingmodes.d.ts +4 -4
  116. package/lib/upload/entity/securityentity.d.ts +6 -6
  117. package/lib/upload/entity/storageextension.d.ts +6 -6
  118. package/lib/upload/entity/uploadfileinfo.d.ts +10 -9
  119. package/lib/upload/entity/uploadlimit.d.ts +7 -7
  120. package/lib/upload/file-upload/file-upload.component.d.ts +133 -129
  121. package/lib/upload/upload.module.d.ts +3 -3
  122. package/lib/upload/upload.service.d.ts +27 -27
  123. package/lib/uploaddialog/uploaddialog/uploaddialog.component.d.ts +13 -13
  124. package/lib/uploaddialog/uploaddialog.module.d.ts +2 -2
  125. package/lib/uploaddialog.service.d.ts +18 -18
  126. package/package.json +1 -1
  127. package/public-api.d.ts +25 -25
@@ -1,129 +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
- uploadIconAddress: string;
46
- uploadLittleIconAddress: string;
47
- hasSelectedFile: boolean;
48
- fileAllSelected: boolean;
49
- uploadProcess: {
50
- width: string;
51
- };
52
- fileTotalChunk: {
53
- [key: string]: number;
54
- };
55
- requestArray: Array<Observable<any>>;
56
- requestBodyArray: Array<GspFormUploadEntity>;
57
- uploadedChunk: {
58
- [key: string]: number;
59
- };
60
- uploadedProcess: {
61
- [key: string]: number;
62
- };
63
- storageExtension: StorageExtension;
64
- defaultPropertyName: string;
65
- propertiesNames: DropListEntity[];
66
- securityInfoList: SecurityEntity[];
67
- queueListStyle: {
68
- width: string;
69
- };
70
- dropListValue: string;
71
- uploadedFileTotal: number;
72
- allowedMultiUpload: boolean;
73
- haveExtensionProperty: boolean;
74
- haveSecurityInfo: boolean;
75
- uploadedFileInfoList: any[];
76
- oldUploadedFileList: any[];
77
- sameNameAllowed: boolean;
78
- maxFileSize: number;
79
- localeid: string;
80
- localepipe: LocalLangPipe;
81
- httpclient: HttpClient;
82
- checkboxPos: {
83
- top: string;
84
- };
85
- constructor(msgService: MessagerService, uploadService: UploadService, loadService: LoadingService, injector?: Injector);
86
- formId: string;
87
- rootId: string;
88
- fileType: string;
89
- fileCount: number;
90
- oldIdList: string[];
91
- securityInfo: GspDocSecurityBaseInfo;
92
- fileNameLength: number;
93
- opCell: TemplateRef<any>;
94
- ngOnInit(): void;
95
- totalLoad: any;
96
- showLoading(): void;
97
- findInvalidCharacter(name: string): string[];
98
- hasFileType(file: any): any;
99
- fileSelected($event: any): void;
100
- showErrorMessage(file: any): void;
101
- handleFileInfo(uuid: string, selectedFile: any, fileName: string): any;
102
- uploadFile(uuid: string, selectedFile: any, fileName: string, state?: FileState): void;
103
- uploadSingleFile(formdata: FormData): Observable<any>;
104
- uploadSliceFile(formdata: FormData): Observable<any>;
105
- initMultiUpload(request: InitMultiUploadRequest): Observable<any>;
106
- multiUpload(formdata: FormData): Observable<any>;
107
- completeMultiUpload(request: CompleteMultiUploadRequest): Observable<any>;
108
- selectAllFile(): void;
109
- checkoutSelectFile(file: FileInfo): void;
110
- listDeleteFile(fileInfo: FileInfo): void;
111
- listMultipleDeleteFile(): void;
112
- getPicListDisplayName(fileName: string): string;
113
- getQueueDisplayName(fileName: string): string;
114
- addDocInfo(selectdFile: any, fileInfo: FileInfo, docType: DocType): void;
115
- listToString(strList: string[]): string;
116
- securityChange($event: any, file: FileInfo): void;
117
- exStorageFileList: ExStorageFileInfo[];
118
- typeChange($event: any, file: FileInfo): void;
119
- upload(): Observable<any>;
120
- cancel(): void;
121
- getUploadFileInfoList(): UploadFileInfo[];
122
- delete(file: any): void;
123
- getFileSize(size: number): string;
124
- showByGroup(): void;
125
- showByList(): void;
126
- mouseOver(file: any): void;
127
- mouseOut(file: any): void;
128
- createBaseUrl(oldUrl: string): string;
129
- }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gsp-svc/formdoc-upload",
3
- "version": "0.2.20",
3
+ "version": "1.1.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^7.2.0",
6
6
  "@angular/core": "^7.2.0"
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';