@ieeesa-npm/presentation 0.28.1 → 0.28.3

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.
@@ -5,6 +5,7 @@ import { FileDownloadConfig } from '../../models/file-download-config.model';
5
5
  import { DownloadAttachment } from '../../models/download-file.model';
6
6
  import { Subject } from 'rxjs';
7
7
  import { SharedService } from '@ieeesa-npm/shared';
8
+ import { AlignType } from '../../models/align-type.model';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class FileDownloadComponent implements OnInit, OnDestroy {
10
11
  formUtilityService: FormUtilityService;
@@ -132,12 +133,7 @@ export declare class FileDownloadComponent implements OnInit, OnDestroy {
132
133
  };
133
134
  ariaLabel: {
134
135
  helpLink: string;
135
- hamburgerMenu: string; /**
136
- * Emits deleteSelectedFile event or deletes the selected file by calling deleteFile() if the file can be deleted internally.
137
- * @param {number} index
138
- * @param {File } file
139
- * @memberof FileDownloadedComponent
140
- */
136
+ hamburgerMenu: string;
141
137
  };
142
138
  label: {
143
139
  signOut: string;
@@ -314,6 +310,7 @@ export declare class FileDownloadComponent implements OnInit, OnDestroy {
314
310
  destroy$: Subject<boolean>;
315
311
  preSignedUrl: string;
316
312
  fileName: string;
313
+ alignType: typeof AlignType;
317
314
  downloadFiles: File | FileList | any | DownloadAttachment[];
318
315
  fileDownloadConfig: FileDownloadConfig;
319
316
  isPublicAPI?: boolean;
@@ -2,5 +2,7 @@ export declare enum AlignType {
2
2
  LEFT = "Left",
3
3
  MIDDLE = "Middle",
4
4
  RIGHT = "Right",
5
- BOTTOM = "Bottom"
5
+ BOTTOM = "Bottom",
6
+ VERTICAL = "vertical",
7
+ HORIZONTAL = "Horizontal"
6
8
  }
@@ -1,7 +1,7 @@
1
1
  export interface FileDownloadConfig {
2
2
  isDownloadNeeded?: boolean;
3
3
  isDeleteNeeded?: boolean;
4
- isAlignedVertical?: boolean;
4
+ alignType?: string;
5
5
  downloadFileAPIUrl?: string;
6
6
  deleteFileAPIUrl?: string;
7
7
  canDownloadFileInternally?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.28.1",
3
+ "version": "0.28.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",