@stemy/ngx-dynamic-form 13.1.17 → 13.1.19

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.
@@ -1,9 +1,12 @@
1
- import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from "@angular/core";
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnDestroy } from "@angular/core";
2
2
  import { FormGroup } from "@angular/forms";
3
3
  import { Subscription } from "rxjs";
4
4
  import { DynamicFormControlComponent, DynamicFormControlLayout, DynamicFormControlModel, DynamicFormLayout, DynamicFormLayoutService, DynamicFormValidationService } from "@ng-dynamic-forms/core";
5
+ import { DynamicBaseFormComponent } from "./dynamic-base-form.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class DynamicBaseFormControlComponent<T extends DynamicFormControlModel> extends DynamicFormControlComponent implements AfterViewInit, OnDestroy {
8
+ readonly form: DynamicBaseFormComponent;
9
+ readonly injector: Injector;
7
10
  readonly cdr: ChangeDetectorRef;
8
11
  formLayout: DynamicFormLayout;
9
12
  group: FormGroup;
@@ -13,9 +16,10 @@ export declare class DynamicBaseFormControlComponent<T extends DynamicFormContro
13
16
  change: EventEmitter<any>;
14
17
  focus: EventEmitter<any>;
15
18
  protected subscription: Subscription;
16
- constructor(cdr: ChangeDetectorRef, layoutService: DynamicFormLayoutService, validationService: DynamicFormValidationService);
19
+ constructor(layoutService: DynamicFormLayoutService, validationService: DynamicFormValidationService, form: DynamicBaseFormComponent, injector: Injector, cdr: ChangeDetectorRef);
17
20
  ngAfterViewInit(): void;
18
21
  ngOnDestroy(): void;
22
+ submit(): void;
19
23
  protected onValueChanged(value: any): void;
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicBaseFormControlComponent<any>, never>;
21
25
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicBaseFormControlComponent<any>, "dynamic-base-form-control", never, { "formLayout": "formLayout"; "group": "group"; "layout": "layout"; "model": "model"; }, { "blur": "blur"; "change": "change"; "focus": "focus"; }, never, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-dynamic-form",
3
- "version": "13.1.17",
3
+ "version": "13.1.19",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-dynamic-form.git",