@webilix/ngx-form-m3 0.0.1 → 0.0.3
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/webilix-ngx-form-m3.mjs +83 -160
- package/fesm2022/webilix-ngx-form-m3.mjs.map +1 -1
- package/lib/inputs/color/input-color.component.d.ts +11 -0
- package/lib/inputs/color/input-color.interface.d.ts +9 -0
- package/lib/inputs/email/input-email.component.d.ts +3 -5
- package/lib/inputs/index.d.ts +2 -0
- package/lib/inputs/input.component.d.ts +5 -0
- package/lib/inputs/input.interface.d.ts +4 -0
- package/lib/inputs/mobile/input-mobile.component.d.ts +3 -5
- package/lib/inputs/name/input-name.component.d.ts +3 -4
- package/lib/inputs/password/input-password.component.d.ts +3 -5
- package/lib/inputs/select/input-select.component.d.ts +3 -5
- package/lib/inputs/text/input-text.component.d.ts +3 -5
- package/lib/inputs/textarea/input-textarea.component.d.ts +3 -4
- package/lib/ngx-form.interface.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,12 +3,10 @@ import { IInputConfig } from '../input.interface';
|
|
|
3
3
|
import { IInputMobile } from './input-mobile.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputMobileComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
focused: boolean;
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
input: IInputMobile;
|
|
8
|
+
config: IInputConfig;
|
|
10
9
|
inputTransformFn: (value: any) => string;
|
|
11
|
-
constructor(formControl: FormControl, input: IInputMobile, config: IInputConfig);
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputMobileComponent, never>;
|
|
13
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputMobileComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -4,12 +4,11 @@ import { IInputConfig } from '../input.interface';
|
|
|
4
4
|
import { IInputName } from './input-name.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class InputNameComponent implements OnInit {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
formControl: FormControl;
|
|
8
|
+
input: IInputName;
|
|
9
|
+
config: IInputConfig;
|
|
10
10
|
firstFormControl: FormControl;
|
|
11
11
|
lastFormControl: FormControl;
|
|
12
|
-
constructor(formControl: FormControl, input: IInputName, config: IInputConfig);
|
|
13
12
|
ngOnInit(): void;
|
|
14
13
|
setName(): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNameComponent, never>;
|
|
@@ -3,12 +3,10 @@ import { IInputConfig } from '../input.interface';
|
|
|
3
3
|
import { IInputPassword } from './input-password.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputPasswordComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
focused: boolean;
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
input: IInputPassword;
|
|
8
|
+
config: IInputConfig;
|
|
10
9
|
showPassword: boolean;
|
|
11
|
-
constructor(formControl: FormControl, input: IInputPassword, config: IInputConfig);
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordComponent, never>;
|
|
13
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -3,11 +3,9 @@ import { IInputConfig } from '../input.interface';
|
|
|
3
3
|
import { IInputSelect } from './input-select.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputSelectComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
focused: boolean;
|
|
10
|
-
constructor(formControl: FormControl, input: IInputSelect, config: IInputConfig);
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
input: IInputSelect;
|
|
8
|
+
config: IInputConfig;
|
|
11
9
|
getTitle(): string;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
13
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -3,11 +3,9 @@ import { IInputConfig } from '../input.interface';
|
|
|
3
3
|
import { IInputText } from './input-text.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputTextComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
focused: boolean;
|
|
10
|
-
constructor(formControl: FormControl, input: IInputText, config: IInputConfig);
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
input: IInputText;
|
|
8
|
+
config: IInputConfig;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
@@ -3,11 +3,10 @@ import { IInputConfig } from '../input.interface';
|
|
|
3
3
|
import { IInputTextarea } from './input-textarea.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class InputTextareaComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
input: IInputTextarea;
|
|
8
|
+
config: IInputConfig;
|
|
9
9
|
focused: boolean;
|
|
10
|
-
constructor(formControl: FormControl, input: IInputTextarea, config: IInputConfig);
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
13
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormGroup, NgForm } from '@angular/forms';
|
|
2
2
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
|
-
import { IInputEmail, IInputMobile, IInputName, IInputPassword, IInputSelect, IInputText, IInputTextarea } from './inputs';
|
|
4
|
-
export type NgxFormInputs = IInputEmail | IInputMobile | IInputName | IInputPassword | IInputSelect | IInputText | IInputTextarea;
|
|
3
|
+
import { IInputColor, IInputEmail, IInputMobile, IInputName, IInputPassword, IInputSelect, IInputText, IInputTextarea } from './inputs';
|
|
4
|
+
export type NgxFormInputs = IInputColor | IInputEmail | IInputMobile | IInputName | IInputPassword | IInputSelect | IInputText | IInputTextarea;
|
|
5
5
|
type Inputs = NgxFormInputs | {
|
|
6
6
|
readonly header: string;
|
|
7
7
|
readonly input: NgxFormInputs;
|