@ieeesa-npm/presentation 0.25.7 → 0.25.8
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.
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +14 -5
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/tabs/tabs.component.mjs +7 -2
- package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/components/time-picker/time-picker.component.mjs +3 -3
- package/fesm2022/ieeesa-npm-presentation.mjs +39 -25
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +9 -3
- package/lib/components/tabs/tabs.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { FormArray, FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { FormModel } from '../../models/form.model';
|
|
4
4
|
import { FieldConfig } from '../../models/field-config.model';
|
|
@@ -22,8 +22,9 @@ import * as i0 from "@angular/core";
|
|
|
22
22
|
* @implements {OnInit}
|
|
23
23
|
* @implements {AfterContentInit}
|
|
24
24
|
*/
|
|
25
|
-
export declare class DynamicFormComponent implements OnInit, AfterContentInit {
|
|
25
|
+
export declare class DynamicFormComponent implements OnInit, AfterContentInit, AfterViewInit {
|
|
26
26
|
private fb;
|
|
27
|
+
private elementRef;
|
|
27
28
|
formFields: QueryList<DynamicFormFieldDirective>;
|
|
28
29
|
private _formGroups;
|
|
29
30
|
/**
|
|
@@ -94,7 +95,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
|
|
|
94
95
|
formGroupArray: FormGroup[];
|
|
95
96
|
formControlArray: any[];
|
|
96
97
|
legendsArray: string[];
|
|
97
|
-
constructor(fb: FormBuilder);
|
|
98
|
+
constructor(fb: FormBuilder, elementRef: ElementRef);
|
|
98
99
|
/**
|
|
99
100
|
* Implementation of ngOnInit lifecycle hook method to create form group
|
|
100
101
|
* @memberof DynamicFormComponent
|
|
@@ -105,6 +106,11 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
|
|
|
105
106
|
* @memberof DynamicFormComponent
|
|
106
107
|
*/
|
|
107
108
|
ngAfterContentInit(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Sets the focus to the first field.
|
|
111
|
+
* @memberof DynamicFormComponent
|
|
112
|
+
*/
|
|
113
|
+
ngAfterViewInit(): void;
|
|
108
114
|
/**
|
|
109
115
|
* Creates form group on the basis of formGroups configuration input
|
|
110
116
|
* @return {void}
|
|
@@ -28,6 +28,7 @@ export declare class TabsComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
constants: any;
|
|
29
29
|
modalConfigTexts: any;
|
|
30
30
|
isViewOnly: string | boolean;
|
|
31
|
+
isMemberOfGroup: string | boolean;
|
|
31
32
|
eventId: string;
|
|
32
33
|
meetingId: string;
|
|
33
34
|
actionType: any;
|
|
@@ -73,5 +74,5 @@ export declare class TabsComponent implements OnInit, OnDestroy {
|
|
|
73
74
|
*/
|
|
74
75
|
ngOnDestroy(): void;
|
|
75
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ieeesa-tabs", never, { "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "isFormChanged": { "alias": "isFormChanged"; "required": false; }; "confirmationModalConfig": { "alias": "confirmationModalConfig"; "required": false; }; "isViewOnly": { "alias": "isViewOnly"; "required": false; }; "eventId": { "alias": "eventId"; "required": false; }; "meetingId": { "alias": "meetingId"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "routePaths": { "alias": "routePaths"; "required": false; }; "apiBaseURL": { "alias": "apiBaseURL"; "required": false; }; "userPermissions": { "alias": "userPermissions"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ieeesa-tabs", never, { "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "isFormChanged": { "alias": "isFormChanged"; "required": false; }; "confirmationModalConfig": { "alias": "confirmationModalConfig"; "required": false; }; "isViewOnly": { "alias": "isViewOnly"; "required": false; }; "isMemberOfGroup": { "alias": "isMemberOfGroup"; "required": false; }; "eventId": { "alias": "eventId"; "required": false; }; "meetingId": { "alias": "meetingId"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "routePaths": { "alias": "routePaths"; "required": false; }; "apiBaseURL": { "alias": "apiBaseURL"; "required": false; }; "userPermissions": { "alias": "userPermissions"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, true, never>;
|
|
77
78
|
}
|