@3kles/kles-material-dynamicforms 19.1.0 → 19.2.0
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/fesm2022/3kles-kles-material-dynamicforms.mjs +211 -184
- package/fesm2022/3kles-kles-material-dynamicforms.mjs.map +1 -1
- package/lib/directive/mat-error-message.directive.d.ts +1 -2
- package/lib/fields/copy.component.d.ts +1 -1
- package/lib/fields/field.abstract.d.ts +1 -1
- package/lib/fields/{clear.component.d.ts → subfields/clear.component.d.ts} +3 -3
- package/lib/fields/{password-visibility.component.d.ts → subfields/password-visibility.component.d.ts} +3 -3
- package/lib/kles-material-dynamicforms.module.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, Injector } from "@angular/core";
|
|
2
2
|
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
3
|
-
import { MatInput } from "@angular/material/input";
|
|
4
3
|
import { IKlesValidator } from "../interfaces/validator.interface";
|
|
5
4
|
import { AsyncValidator, Validators } from "@angular/forms";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,7 +7,7 @@ export declare class MatErrorMessageDirective implements AfterViewInit {
|
|
|
8
7
|
private _inj;
|
|
9
8
|
validations: IKlesValidator<Validators>[];
|
|
10
9
|
asyncValidations: IKlesValidator<AsyncValidator>[];
|
|
11
|
-
inputRef: MatFormFieldControl<
|
|
10
|
+
inputRef: MatFormFieldControl<MatFormFieldControl<any>>;
|
|
12
11
|
constructor(_inj: Injector);
|
|
13
12
|
ngAfterViewInit(): void;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatErrorMessageDirective, never>;
|
|
@@ -16,5 +16,5 @@ export declare class KlesFormCopyComponent implements OnInit, IKlesField {
|
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
copy(event: any): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCopyComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCopyComponent, "kles-form-copy", never, {}, {}, never, never, true, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCopyComponent, "kles-form-copy", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -20,5 +20,5 @@ export declare abstract class KlesFieldAbstract implements IKlesField, OnInit, A
|
|
|
20
20
|
onFocus(): void;
|
|
21
21
|
onBlur(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFieldAbstract, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KlesFieldAbstract, never, never, {}, {}, never, never, true, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KlesFieldAbstract, never, never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UntypedFormGroup } from "@angular/forms";
|
|
2
|
-
import { IKlesClearControl } from "
|
|
3
|
-
import { IKlesFieldConfig } from "
|
|
2
|
+
import { IKlesClearControl } from "../../interfaces/clear-control.interface";
|
|
3
|
+
import { IKlesFieldConfig } from "../../interfaces/field.config.interface";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KlesFormClearComponent implements IKlesClearControl {
|
|
6
6
|
field: IKlesFieldConfig;
|
|
@@ -9,5 +9,5 @@ export declare class KlesFormClearComponent implements IKlesClearControl {
|
|
|
9
9
|
clear(event: any): void;
|
|
10
10
|
isDisable(): boolean;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormClearComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormClearComponent, "kles-form-clear", never, {}, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormClearComponent, "kles-form-clear", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
-
import { IKlesFieldConfig } from '
|
|
3
|
-
import { IKlesField } from '
|
|
2
|
+
import { IKlesFieldConfig } from '../../interfaces/field.config.interface';
|
|
3
|
+
import { IKlesField } from '../../interfaces/field.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class KlesFormPasswordVisibilityComponent implements IKlesField {
|
|
6
6
|
field: IKlesFieldConfig;
|
|
@@ -9,5 +9,5 @@ export declare class KlesFormPasswordVisibilityComponent implements IKlesField {
|
|
|
9
9
|
hide: boolean;
|
|
10
10
|
toggleVisibility(event: any): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormPasswordVisibilityComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormPasswordVisibilityComponent, "kles-form-password-visibility", never, {}, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormPasswordVisibilityComponent, "kles-form-password-visibility", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -8,7 +8,7 @@ import { KlesFormListFieldComponent } from './fields/list-field.component';
|
|
|
8
8
|
import { KlesTransformPipe } from './pipe/transform.pipe';
|
|
9
9
|
import { KlesFormSelectSearchComponent } from './fields/select.search.component';
|
|
10
10
|
import { ArrayFormatPipe } from './pipe/array.pipe';
|
|
11
|
-
import { KlesFormClearComponent } from './fields/clear.component';
|
|
11
|
+
import { KlesFormClearComponent } from './fields/subfields/clear.component';
|
|
12
12
|
import { KlesFabComponent } from './forms/fab-control.component';
|
|
13
13
|
import { MatErrorMessageDirective } from './directive/mat-error-message.directive';
|
|
14
14
|
import { MatErrorFormDirective } from './directive/mat-error-form.directive';
|
|
@@ -54,7 +54,7 @@ import * as i35 from "./fields/selection-list.component";
|
|
|
54
54
|
import * as i36 from "./fields/button-toogle-group.component";
|
|
55
55
|
import * as i37 from "./fields/array.component";
|
|
56
56
|
import * as i38 from "./fields/range.component";
|
|
57
|
-
import * as i39 from "./fields/clear.component";
|
|
57
|
+
import * as i39 from "./fields/subfields/clear.component";
|
|
58
58
|
import * as i40 from "./fields/select.lazy-search.component";
|
|
59
59
|
import * as i41 from "./fields/button-fab.component";
|
|
60
60
|
import * as i42 from "./forms/fab-control.component";
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -43,14 +43,14 @@ export * from './lib/fields/selection-list.component';
|
|
|
43
43
|
export * from './lib/fields/button-toogle-group.component';
|
|
44
44
|
export * from './lib/fields/array.component';
|
|
45
45
|
export * from './lib/fields/range.component';
|
|
46
|
-
export * from './lib/fields/clear.component';
|
|
46
|
+
export * from './lib/fields/subfields/clear.component';
|
|
47
47
|
export * from './lib/fields/select.lazy-search.component';
|
|
48
48
|
export * from './lib/fields/button-fab.component';
|
|
49
49
|
export * from './lib/fields/button-mini-fab.component';
|
|
50
50
|
export * from './lib/fields/button-icon.component';
|
|
51
51
|
export * from './lib/fields/selection-list.search.component';
|
|
52
52
|
export * from './lib/fields/copy.component';
|
|
53
|
-
export * from './lib/fields/password-visibility.component';
|
|
53
|
+
export * from './lib/fields/subfields/password-visibility.component';
|
|
54
54
|
/**ENUMS */
|
|
55
55
|
export * from './lib/enums/type.enum';
|
|
56
56
|
export * from './lib/enums/button-attribute.enum';
|