@3kles/kles-material-dynamicforms 21.7.5 → 21.7.6
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, Type, PipeTransform, ViewContainerRef, Provider, StaticProvider, Signal, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges, ComponentRef, Injector, AfterViewInit, ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, Type, PipeTransform, ViewContainerRef, Provider, StaticProvider, Signal, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges, ComponentRef, Injector, ApplicationRef, AfterViewInit, ElementRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i2$1 from '@angular/forms';
|
|
4
4
|
import { UntypedFormGroup, ValidatorFn, AsyncValidatorFn, ɵGetProperty as _GetProperty, ɵTypedOrUntyped as _TypedOrUntyped, UntypedFormBuilder, FormGroup, ControlValueAccessor, Validators, AsyncValidator, UntypedFormArray, FormControl, UntypedFormControl, FormGroupDirective, NgForm, AbstractControl } from '@angular/forms';
|
|
5
5
|
import { Subject, Observable } from 'rxjs';
|
|
@@ -351,6 +351,7 @@ declare class KlesComponentDirective implements OnInit, OnChanges {
|
|
|
351
351
|
declare class KlesDynamicFieldDirective<T extends IKlesFieldConfig = IKlesFieldConfig> implements OnInit, OnChanges, OnDestroy {
|
|
352
352
|
protected container: ViewContainerRef;
|
|
353
353
|
protected injector: Injector;
|
|
354
|
+
private applicationRef;
|
|
354
355
|
field: T;
|
|
355
356
|
group: UntypedFormGroup;
|
|
356
357
|
ui: GroupUiState;
|
|
@@ -358,7 +359,8 @@ declare class KlesDynamicFieldDirective<T extends IKlesFieldConfig = IKlesFieldC
|
|
|
358
359
|
context: Signal<unknown | null> | null;
|
|
359
360
|
componentRef: ComponentRef<any> | undefined;
|
|
360
361
|
subComponents: ComponentRef<any>[];
|
|
361
|
-
|
|
362
|
+
private subComponentViews;
|
|
363
|
+
constructor(container: ViewContainerRef, injector: Injector, applicationRef: ApplicationRef);
|
|
362
364
|
ngOnDestroy(): void;
|
|
363
365
|
ngOnInit(): void;
|
|
364
366
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -366,6 +368,7 @@ declare class KlesDynamicFieldDirective<T extends IKlesFieldConfig = IKlesFieldC
|
|
|
366
368
|
protected createComponentRef(injector: Injector): ComponentRef<any> | undefined;
|
|
367
369
|
protected findComponent(): Type<any> | undefined;
|
|
368
370
|
private createSubComponent;
|
|
371
|
+
private destroyComponents;
|
|
369
372
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFieldDirective<any>, never>;
|
|
370
373
|
static ɵdir: i0.ɵɵDirectiveDeclaration<KlesDynamicFieldDirective<any>, "[klesDynamicField]", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "ui": { "alias": "ui"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
371
374
|
}
|