@ieeesa-npm/presentation 0.15.0 → 0.15.2

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.
@@ -79,7 +79,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
79
79
  formTimeSelected: EventEmitter<SelectedTime>;
80
80
  supportTextLinkClick: EventEmitter<LinkEventEmitType>;
81
81
  formSlideToggleChange: EventEmitter<SlideToggleOption>;
82
- formFileUpload: EventEmitter<File | FileList>;
82
+ formFileUpload: EventEmitter<FileList | File>;
83
83
  dropdownOpenedChange: EventEmitter<SelectOpenedState>;
84
84
  formColorPickerChange: EventEmitter<string>;
85
85
  formRadioOptionSelected: EventEmitter<RadioOption>;
@@ -288,8 +288,8 @@ export declare class FileUploadComponent implements OnInit {
288
288
  private uploadedSizeValue;
289
289
  get uploadedSize(): number;
290
290
  set uploadedSize(value: number);
291
- uploadSelectedFiles: EventEmitter<File | FileList>;
292
- downloadSelectedFile: EventEmitter<File | FileList>;
291
+ uploadSelectedFiles: EventEmitter<FileList | File>;
292
+ downloadSelectedFile: EventEmitter<FileList | File>;
293
293
  constructor(formUtilityService: FormUtilityService, fileUploadService: FileUploadService);
294
294
  /**
295
295
  * Initializes component properties and retrieves configuration.
@@ -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
+ }
@@ -72,7 +72,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
72
72
  formSlideToggleChange: EventEmitter<SlideToggleOption>;
73
73
  dropdownOpenedChange: EventEmitter<SelectOpenedState>;
74
74
  formColorPickerChange: EventEmitter<string>;
75
- formFileUpload: EventEmitter<File | FileList>;
75
+ formFileUpload: EventEmitter<FileList | File>;
76
76
  formRadioOptionSelected: EventEmitter<RadioOption>;
77
77
  component: ComponentRef<any>;
78
78
  constructor(container: ViewContainerRef);
@@ -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
@@ -0,0 +1,5 @@
1
+ export interface InactiveTenantDisplay {
2
+ errorMessage: string;
3
+ helpLink: string;
4
+ supportText: string;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
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/directives/dynamic-form-field/dynamic-form-field.directive';
39
40
  export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
40
41
  export * from './lib/directives/set-background/set-background.directive';
@@ -85,6 +86,7 @@ export * from './lib/models/color-format.model';
85
86
  export * from './lib/models/allowed-file-types.model';
86
87
  export * from './lib/models/file-upload-presigned-url-res.model';
87
88
  export * from './lib/models/accordion-info.model';
89
+ export * from './lib/models/inactive-tenant.model';
88
90
  export * from './lib/services/datepicker.service';
89
91
  export * from './lib/services/form-utility.service';
90
92
  export * from './lib/services/file-upload.service';