@ieeesa-npm/presentation 0.15.8 → 0.16.0

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.
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ImagePreviewComponent implements OnInit {
4
4
  isSvg: boolean;
5
- private imageURL;
5
+ imageURL: string;
6
6
  imageName: string;
7
7
  set imageUrl(value: string);
8
8
  ngOnInit(): void;
@@ -0,0 +1,21 @@
1
+ import { InactiveTenantDisplay } from '../../models/inactive-tenant.model';
2
+ import { AppConfigInfo } from '../../models/app-config-info.model';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Provides reusable implementation to Inactive tenant error page by getting the application config and display contents information as an input to the component.
6
+ * @export
7
+ * @class InactiveTenantComponent
8
+ */
9
+ export declare class InactiveTenantComponent {
10
+ /**
11
+ * AppConfigInfo data can be passed as input while calling this component using selector.
12
+ * @usage <nesc-inactive-tenant [appConfigInfo]="appConfigInfo" [inactiveTenantDisplay]="inactiveTenantDisplay"></nesc-inactive-tenant> or routes: Route[]=[{ path: 'landing', component: InactiveTenantComponent, data:{appConfigInfo:appConfigInfo} }]
13
+ * @type {AppConfigInfo}
14
+ * @type {InactiveTenantDisplay}
15
+ * @memberof InactiveTenantComponent
16
+ */
17
+ appConfigInfo: AppConfigInfo;
18
+ inactiveTenantDisplay: InactiveTenantDisplay;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<InactiveTenantComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<InactiveTenantComponent, "ieeesa-inactive-tenant", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; "inactiveTenantDisplay": { "alias": "inactiveTenantDisplay"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -13,4 +13,6 @@ export interface AppConfigInfo {
13
13
  signOutRedirectionCookie: string;
14
14
  createAccountRouteUrl?: string;
15
15
  createAccountUrl?: string;
16
+ helpLink?: string;
17
+ logoUrl?: string;
16
18
  }
@@ -0,0 +1,5 @@
1
+ export interface InactiveTenantDisplay {
2
+ errorMessage: string;
3
+ helpLink: string;
4
+ supportText: string;
5
+ }
@@ -182,7 +182,12 @@ export declare class FileUploadService implements OnDestroy {
182
182
  };
183
183
  colorPicker: {
184
184
  selectLabel: string;
185
- cancelLabel: string;
185
+ cancelLabel: string; /**
186
+ * Retrieves presigned URL for downloading files to Amazon S3 bucket.
187
+ * @param {(File | FileList)} file
188
+ * @return {Observable<string>}
189
+ * @memberof FileUploadService
190
+ */
186
191
  defaultColor: string;
187
192
  ariaLabel: string;
188
193
  ariaDescription: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.15.8",
3
+ "version": "0.16.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
package/public-api.d.ts CHANGED
@@ -35,6 +35,7 @@ export * from './lib/components/card/card.component';
35
35
  export * from './lib/components/color-picker/color-picker.component';
36
36
  export * from './lib/components/file-upload/file-upload.component';
37
37
  export * from './lib/components/accordion/accordion.component';
38
+ export * from './lib/components/inactive-tenant/inactive-tenant.component';
38
39
  export * from './lib/components/image-preview/image-preview.component';
39
40
  export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
40
41
  export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
@@ -86,6 +87,7 @@ export * from './lib/models/color-format.model';
86
87
  export * from './lib/models/allowed-file-types.model';
87
88
  export * from './lib/models/file-upload-presigned-url-res.model';
88
89
  export * from './lib/models/accordion-info.model';
90
+ export * from './lib/models/inactive-tenant.model';
89
91
  export * from './lib/services/datepicker.service';
90
92
  export * from './lib/services/form-utility.service';
91
93
  export * from './lib/services/file-upload.service';