@ieeesa-npm/presentation 0.29.3 → 0.29.5
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/esm2022/lib/components/file-upload/file-upload.component.mjs +6 -7
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/ieeesa-npm-presentation.mjs +5 -6
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/lib/components/file-upload/file-upload.component.d.ts +4 -4
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +1 -1
- package/lib/directives/file-upload/file-upload.directive.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/lib/models/agenda-file-attachment.model.mjs +0 -2
- package/lib/models/agenda-file-attachment.model.d.ts +0 -21
|
@@ -91,7 +91,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit, A
|
|
|
91
91
|
formTimeSelected: EventEmitter<SelectedTime>;
|
|
92
92
|
supportTextLinkClick: EventEmitter<LinkEventEmitType>;
|
|
93
93
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
94
|
-
formFileUpload: EventEmitter<
|
|
94
|
+
formFileUpload: EventEmitter<FileList | File>;
|
|
95
95
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
96
96
|
formColorPickerChange: EventEmitter<string>;
|
|
97
97
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
@@ -391,7 +391,7 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
391
391
|
private _fileDownloadAndDeleteConfig;
|
|
392
392
|
set fileDownloadAndDeleteConfig(value: FileDownloadAndDeleteConfig);
|
|
393
393
|
get fileDownloadAndDeleteConfig(): FileDownloadAndDeleteConfig;
|
|
394
|
-
uploadSelectedFiles: EventEmitter<
|
|
394
|
+
uploadSelectedFiles: EventEmitter<FileList | File>;
|
|
395
395
|
downloadSelectedFile: EventEmitter<File | DownloadAttachment>;
|
|
396
396
|
apiBaseUrl: string;
|
|
397
397
|
constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
|
|
@@ -496,17 +496,17 @@ export declare class FileUploadComponent implements OnInit {
|
|
|
496
496
|
*/
|
|
497
497
|
setEmptyValue(event: Event): void;
|
|
498
498
|
/**
|
|
499
|
-
* Removes file from selectedFiles
|
|
499
|
+
* Removes the file from selectedFiles once the file uploaded successfully to AWS S3.
|
|
500
500
|
* @param {File} file
|
|
501
501
|
* @memberof FileUploadComponent
|
|
502
502
|
*/
|
|
503
503
|
removeSelectedFileInUploadedFiles(fileName: string): void;
|
|
504
504
|
/**
|
|
505
|
-
*
|
|
505
|
+
* Returns the count of files selected for the upload.
|
|
506
506
|
* @return {number}
|
|
507
507
|
* @memberof FileUploadComponent
|
|
508
508
|
*/
|
|
509
|
-
|
|
509
|
+
getSelectedFileCount(): number;
|
|
510
510
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
511
511
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ieeesa-file-upload", never, { "maxFileSizeErrorMessage": { "alias": "maxFileSizeErrorMessage"; "required": false; }; "actionButtonAlign": { "alias": "actionButtonAlign"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "isFileSelected": { "alias": "isFileSelected"; "required": false; }; "supportMessage": { "alias": "supportMessage"; "required": false; }; "allowedFileTypes": { "alias": "allowedFileTypes"; "required": false; }; "isMultiFileUpload": { "alias": "isMultiFileUpload"; "required": false; }; "isUploadInProgress": { "alias": "isUploadInProgress"; "required": false; }; "fileUploadHeading": { "alias": "fileUploadHeading"; "required": false; }; "isAllowAnyFileType": { "alias": "isAllowAnyFileType"; "required": false; }; "alignBrowsedFiles": { "alias": "alignBrowsedFiles"; "required": false; }; "isUploadButtonNeeded": { "alias": "isUploadButtonNeeded"; "required": false; }; "maxUploadFileSize": { "alias": "maxUploadFileSize"; "required": false; }; "alignFileUploadErrorMessageTo": { "alias": "alignFileUploadErrorMessageTo"; "required": false; }; "maxFilesUploadedOnce": { "alias": "maxFilesUploadedOnce"; "required": false; }; "maxFilesUploadLimitErrorMessage": { "alias": "maxFilesUploadLimitErrorMessage"; "required": false; }; "fileUploadStatus": { "alias": "fileUploadStatus"; "required": false; }; "uploadedSize": { "alias": "uploadedSize"; "required": false; }; "fileDownloadAndDeleteConfig": { "alias": "fileDownloadAndDeleteConfig"; "required": false; }; }, { "uploadSelectedFiles": "uploadSelectedFiles"; "downloadSelectedFile": "downloadSelectedFile"; }, never, never, true, never>;
|
|
512
512
|
}
|
|
@@ -82,7 +82,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
|
|
|
82
82
|
formSlideToggleChange: EventEmitter<SlideToggleOption>;
|
|
83
83
|
dropdownOpenedChange: EventEmitter<SelectOpenedState>;
|
|
84
84
|
formColorPickerChange: EventEmitter<string>;
|
|
85
|
-
formFileUpload: EventEmitter<
|
|
85
|
+
formFileUpload: EventEmitter<FileList | File>;
|
|
86
86
|
formRadioOptionSelected: EventEmitter<RadioOption>;
|
|
87
87
|
ctaButtonClick: EventEmitter<IconButton>;
|
|
88
88
|
formMultiSelectAutoCompleteSearch: EventEmitter<string>;
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class FileUploadDirective {
|
|
9
9
|
allowedFileTypes: string[];
|
|
10
10
|
isMultiFileUpload: boolean;
|
|
11
|
-
fileDropped: EventEmitter<
|
|
11
|
+
fileDropped: EventEmitter<FileList | File>;
|
|
12
12
|
/**
|
|
13
13
|
* Binds the 'multiple' attribute based on the value of allowMultiple property.
|
|
14
14
|
* @readonly
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ export * from './lib/directives/text-truncated/text-truncated.directive';
|
|
|
46
46
|
export * from './lib/directives/file-upload/file-upload.directive';
|
|
47
47
|
export * from './lib/directives/observe-dom-change/observe-dom-change.directive';
|
|
48
48
|
export * from './lib/models/accordion-info.model';
|
|
49
|
-
export * from './lib/models/agenda-file-attachment.model';
|
|
50
49
|
export * from './lib/models/align-browsed-files.model';
|
|
51
50
|
export * from './lib/models/align-type.model';
|
|
52
51
|
export * from './lib/models/allowed-file-types.model';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLWZpbGUtYXR0YWNobWVudC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByZXNlbnRhdGlvbi9zcmMvbGliL21vZGVscy9hZ2VuZGEtZmlsZS1hdHRhY2htZW50Lm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFnZW5kYUZpbGVBdHRhY2htZW50IHtcclxuICBhZ2VuZGFJdGVtSWQ6IHN0cmluZztcclxuICBhZ2VuZGFJZDogc3RyaW5nO1xyXG4gIHMzRmlsZVBhdGg6IHN0cmluZztcclxuICBmaWxlTmFtZTogc3RyaW5nO1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgQWdlbmRhRmlsZUF0dGFjaG1lbnRQYXlsb2FkIHtcclxuICBwYXlsb2FkOiBBZ2VuZGFGaWxlQXR0YWNobWVudFtdO1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgQWdlbmRhSXRlbUF0dGFjaG1lbnQge1xyXG4gIGZpbGVOYW1lOiBzdHJpbmc7XHJcbiAgYWdlbmRhSXRlbUF0dGFjaG1lbnRJZDogc3RyaW5nO1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgQWdlbmRhRmlsZUF0dGFjaG1lbnRSZXNwb25zZSB7XHJcbiAgc3RhdHVzOiBib29sZWFuO1xyXG4gIG1lc3NhZ2U6IHN0cmluZztcclxuICBib2R5OiB7XHJcbiAgICB0b3RhbFJlY29yZHM6IG51bWJlcjtcclxuICAgIGFnZW5kYUl0ZW1BdHRhY2htZW50TGlzdDogQWdlbmRhSXRlbUF0dGFjaG1lbnRbXTtcclxuICB9O1xyXG59XHJcbiJdfQ==
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface AgendaFileAttachment {
|
|
2
|
-
agendaItemId: string;
|
|
3
|
-
agendaId: string;
|
|
4
|
-
s3FilePath: string;
|
|
5
|
-
fileName: string;
|
|
6
|
-
}
|
|
7
|
-
export interface AgendaFileAttachmentPayload {
|
|
8
|
-
payload: AgendaFileAttachment[];
|
|
9
|
-
}
|
|
10
|
-
export interface AgendaItemAttachment {
|
|
11
|
-
fileName: string;
|
|
12
|
-
agendaItemAttachmentId: string;
|
|
13
|
-
}
|
|
14
|
-
export interface AgendaFileAttachmentResponse {
|
|
15
|
-
status: boolean;
|
|
16
|
-
message: string;
|
|
17
|
-
body: {
|
|
18
|
-
totalRecords: number;
|
|
19
|
-
agendaItemAttachmentList: AgendaItemAttachment[];
|
|
20
|
-
};
|
|
21
|
-
}
|