@tft/crispr-forms 13.0.9 → 13.0.12
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/esm2020/lib/field.directive.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +6 -4
- package/esm2020/lib/form.helpers.mjs +6 -2
- package/fesm2015/tft-crispr-forms.mjs +12 -6
- package/fesm2015/tft-crispr-forms.mjs.map +1 -1
- package/fesm2020/tft-crispr-forms.mjs +12 -6
- package/fesm2020/tft-crispr-forms.mjs.map +1 -1
- package/lib/field.directive.d.ts +3 -3
- package/lib/form/form.component.d.ts +3 -3
- package/package.json +1 -1
- package/tft-crispr-forms-13.0.12.tgz +0 -0
- package/tft-crispr-forms-13.0.9.tgz +0 -0
package/lib/field.directive.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ViewContainerRef,
|
|
1
|
+
import { ViewContainerRef, Renderer2, ChangeDetectorRef, OnChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import type { AnyFieldConfig, ControlValue } from './models';
|
|
4
4
|
import { CrisprFieldComponent } from './field-component-map.const';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/common";
|
|
7
|
-
export declare class CrisprFieldDirective implements
|
|
7
|
+
export declare class CrisprFieldDirective implements OnChanges {
|
|
8
8
|
private container;
|
|
9
9
|
private renderer;
|
|
10
10
|
private cdr;
|
|
@@ -13,7 +13,7 @@ export declare class CrisprFieldDirective implements OnInit {
|
|
|
13
13
|
value: ControlValue | any[];
|
|
14
14
|
component: CrisprFieldComponent;
|
|
15
15
|
constructor(container: ViewContainerRef, renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
16
|
-
|
|
16
|
+
ngOnChanges(): Promise<void>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldDirective, never>;
|
|
18
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldDirective, "[crisprField]", never, { "config": "config"; "group": "group"; "value": "value"; }, {}, never>;
|
|
19
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ControlGroupValue, FormConfig } from '../models';
|
|
4
4
|
import { Subscription, Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CrisprFormComponent implements
|
|
6
|
+
export declare class CrisprFormComponent implements OnChanges {
|
|
7
7
|
config: FormConfig;
|
|
8
8
|
form: FormGroup;
|
|
9
9
|
value: ControlGroupValue;
|
|
@@ -12,7 +12,7 @@ export declare class CrisprFormComponent implements OnInit {
|
|
|
12
12
|
statusChanges: Observable<string>;
|
|
13
13
|
subs: Subscription[];
|
|
14
14
|
submitTrigger: ElementRef<HTMLButtonElement>;
|
|
15
|
-
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
16
|
handleSubmit(): void;
|
|
17
17
|
triggerSubmit(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormComponent, never>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|