@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.
@@ -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<File | FileList>;
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<File | FileList>;
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 if uploaded successfully to AWS and mapped in the server.
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
- * Display selected file names length in UI.
505
+ * Returns the count of files selected for the upload.
506
506
  * @return {number}
507
507
  * @memberof FileUploadComponent
508
508
  */
509
- displaySelectedFileNamesLength(): number;
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<File | FileList>;
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<File | FileList>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.29.3",
3
+ "version": "0.29.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
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
- }