@ieeesa-npm/presentation 0.15.7 → 0.15.9

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.
@@ -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
+ }
@@ -162,11 +162,6 @@ export declare class FileUploadService implements OnDestroy {
162
162
  welcome: {
163
163
  buttons: {
164
164
  label: string;
165
- /**
166
- * Returns file upload status.
167
- * @return {boolean}
168
- * @memberof FileUploadService
169
- */
170
165
  ariaLabel: string;
171
166
  url: string;
172
167
  }[];
@@ -187,7 +182,12 @@ export declare class FileUploadService implements OnDestroy {
187
182
  };
188
183
  colorPicker: {
189
184
  selectLabel: string;
190
- 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
+ */
191
191
  defaultColor: string;
192
192
  ariaLabel: string;
193
193
  ariaDescription: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.15.7",
3
+ "version": "0.15.9",
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';