@ieeesa-npm/presentation 0.2.1 → 0.2.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.
@@ -4,7 +4,7 @@ import { FormModel } from '../../models/form.model';
4
4
  import { FieldConfig } from '../../models/field-config.model';
5
5
  import { FormGrid } from '../../models/form-grid.model';
6
6
  import { DynamicFormFieldDirective } from '../../directives/dynamic-form-field/dynamic-form-field.directive';
7
- import { AlignmentType } from '../../models/alignment-types.model';
7
+ import { AlignType } from '../../models/align-type.model';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
10
  * Creates a reactive form dynamically based on the passed form field configuration and handles the form events.
@@ -44,8 +44,8 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
44
44
  isSubmitButtonDisabled: boolean;
45
45
  isLeftButtonDisabled: boolean;
46
46
  isLeftButtonNeeded: boolean;
47
- actionButtonAlignment: AlignmentType;
48
- alignmentType: typeof AlignmentType;
47
+ actionButtonAlign: AlignType;
48
+ alignmentType: typeof AlignType;
49
49
  formSubmit: EventEmitter<any>;
50
50
  formChange: EventEmitter<any>;
51
51
  formInput: EventEmitter<any>;
@@ -185,5 +185,5 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
185
185
  */
186
186
  getRowClassName(className: string): string;
187
187
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
188
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "ieeesa-dynamic-form", ["dynamicForm"], { "formGroups": { "alias": "formGroups"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; "colWidth": { "alias": "colWidth"; "required": false; }; "isLegendVisible": { "alias": "isLegendVisible"; "required": false; }; "rightButtonLabel": { "alias": "rightButtonLabel"; "required": false; }; "leftButtonLabel": { "alias": "leftButtonLabel"; "required": false; }; "isSubmitButtonDisabled": { "alias": "isSubmitButtonDisabled"; "required": false; }; "isLeftButtonDisabled": { "alias": "isLeftButtonDisabled"; "required": false; }; "isLeftButtonNeeded": { "alias": "isLeftButtonNeeded"; "required": false; }; "actionButtonAlignment": { "alias": "actionButtonAlignment"; "required": false; }; }, { "formSubmit": "formSubmit"; "formChange": "formChange"; "formInput": "formInput"; "formLeftButtonClicked": "formLeftButtonClicked"; "formSearchApply": "formSearchApply"; "formGroupsReference": "formGroupsReference"; "dropdownChange": "dropdownChange"; "formDateSelected": "formDateSelected"; "formSelectSearch": "formSelectSearch"; "formControlChange": "formControlChange"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formAfterContentInit": "formAfterContentInit"; "formSelectedDateRange": "formSelectedDateRange"; }, never, never, true, never>;
188
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "ieeesa-dynamic-form", ["dynamicForm"], { "formGroups": { "alias": "formGroups"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; "colWidth": { "alias": "colWidth"; "required": false; }; "isLegendVisible": { "alias": "isLegendVisible"; "required": false; }; "rightButtonLabel": { "alias": "rightButtonLabel"; "required": false; }; "leftButtonLabel": { "alias": "leftButtonLabel"; "required": false; }; "isSubmitButtonDisabled": { "alias": "isSubmitButtonDisabled"; "required": false; }; "isLeftButtonDisabled": { "alias": "isLeftButtonDisabled"; "required": false; }; "isLeftButtonNeeded": { "alias": "isLeftButtonNeeded"; "required": false; }; "actionButtonAlign": { "alias": "actionButtonAlign"; "required": false; }; }, { "formSubmit": "formSubmit"; "formChange": "formChange"; "formInput": "formInput"; "formLeftButtonClicked": "formLeftButtonClicked"; "formSearchApply": "formSearchApply"; "formGroupsReference": "formGroupsReference"; "dropdownChange": "dropdownChange"; "formDateSelected": "formDateSelected"; "formSelectSearch": "formSelectSearch"; "formControlChange": "formControlChange"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formAfterContentInit": "formAfterContentInit"; "formSelectedDateRange": "formSelectedDateRange"; }, never, never, true, never>;
189
189
  }
@@ -0,0 +1,9 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { FieldConfig } from '../../models/field-config.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormSupportTextComponent {
5
+ formGroup: FormGroup;
6
+ config: FieldConfig;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSupportTextComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormSupportTextComponent, "ieeesa-form-support-text", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
@@ -1,8 +1,8 @@
1
- import { ComponentRef, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { ModalType } from '@ieeesa-npm/utility';
4
- import { ToggleButton } from '../../models/toggle-button.model';
5
- import { Subscription, Subject } from 'rxjs';
1
+ import { ComponentRef, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from "@angular/core";
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import { ModalType } from "@ieeesa-npm/utility";
4
+ import { ToggleButton } from "../../models/toggle-button.model";
5
+ import { Subject } from "rxjs";
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * This component encapsulates the functionality of a modal dialog and implements reusable contents part of the modal components such as text content, loading another component into the modal and emitting modal events to consumed component.
@@ -20,8 +20,6 @@ export declare class ModalComponent implements OnInit, OnDestroy {
20
20
  formSubmit: EventEmitter<any>;
21
21
  submitFormResponse: EventEmitter<any>;
22
22
  formCancel: EventEmitter<any>;
23
- submitFormResponseSubscription: Subscription;
24
- formCancelSubscription: Subscription;
25
23
  toggleButtonClicked: EventEmitter<any>;
26
24
  isComponentLoaded: boolean;
27
25
  heading: string;
@@ -1,4 +1,4 @@
1
- export declare enum AlignmentType {
1
+ export declare enum AlignType {
2
2
  LEFT = "Left",
3
3
  MIDDLE = "Middle",
4
4
  RIGHT = "Right"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
package/public-api.d.ts CHANGED
@@ -16,9 +16,10 @@ export * from './lib/components/search/search.component';
16
16
  export * from './lib/components/select/select.component';
17
17
  export * from './lib/components/text-area/text-area.component';
18
18
  export * from './lib/components/toggle-button/toggle-button.component';
19
+ export * from './lib/components/form-support-text/form-support-text.component';
19
20
  export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
20
21
  export * from './lib/directives/focus-invalid-form-field/focus-invalid-form-field.directive';
21
- export * from './lib/models/alignment-types.model';
22
+ export * from './lib/models/align-type.model';
22
23
  export * from './lib/models/autocomplete-option.model';
23
24
  export * from './lib/models/calendar.model';
24
25
  export * from './lib/models/checkbox-option.model';
@@ -1,8 +0,0 @@
1
- /* eslint-disable no-unused-vars */
2
- export var AlignmentType;
3
- (function (AlignmentType) {
4
- AlignmentType["LEFT"] = "Left";
5
- AlignmentType["MIDDLE"] = "Middle";
6
- AlignmentType["RIGHT"] = "Right";
7
- })(AlignmentType || (AlignmentType = {}));
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpZ25tZW50LXR5cGVzLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJlc2VudGF0aW9uL3NyYy9saWIvbW9kZWxzL2FsaWdubWVudC10eXBlcy5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtQ0FBbUM7QUFDbkMsTUFBTSxDQUFOLElBQVksYUFJWDtBQUpELFdBQVksYUFBYTtJQUN2Qiw4QkFBYSxDQUFBO0lBQ2Isa0NBQWlCLENBQUE7SUFDakIsZ0NBQWUsQ0FBQTtBQUNqQixDQUFDLEVBSlcsYUFBYSxLQUFiLGFBQWEsUUFJeEIiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBuby11bnVzZWQtdmFycyAqL1xyXG5leHBvcnQgZW51bSBBbGlnbm1lbnRUeXBlIHtcclxuICBMRUZUID0gXCJMZWZ0XCIsXHJcbiAgTUlERExFID0gXCJNaWRkbGVcIixcclxuICBSSUdIVCA9IFwiUmlnaHRcIixcclxufSJdfQ==