@wemake4u/form-player-se 1.0.16 → 1.0.17
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/dynamic-form/dynamic-form.component.mjs +11 -3
- package/esm2022/lib/utils/focusable.mjs +26 -22
- package/fesm2022/wemake4u-form-player-se.mjs +34 -23
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/dynamic-form/dynamic-form.component.d.ts +2 -1
- package/lib/utils/focusable.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, SimpleChanges, EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnChanges, OnDestroy, SimpleChanges, EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ProgrammabilityService } from '../services/programmability.service';
|
|
4
4
|
import { CommandEvent, EventService } from '../services/event.service';
|
|
@@ -26,6 +26,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
26
26
|
initialized: EventEmitter<FormGroup<any>>;
|
|
27
27
|
onCommand: EventEmitter<CommandEvent>;
|
|
28
28
|
activeNavChange: EventEmitter<any>;
|
|
29
|
+
formDiv: ElementRef<HTMLDivElement>;
|
|
29
30
|
constructor(fb: FormBuilder, programmability: ProgrammabilityService, events: EventService, registerService: RegisterService, metadata: MetadataService);
|
|
30
31
|
Texts: {
|
|
31
32
|
i18n: {
|
package/lib/utils/focusable.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getFocusables(el: HTMLElement): HTMLElement[];
|
|
1
|
+
export declare function getFocusables(el: HTMLElement, firstOnly?: boolean): HTMLElement[];
|
|
2
2
|
export declare function setFocus(el: HTMLElement): boolean;
|