@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.
@@ -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
- readonly formControl: FormControl;
7
- readonly input: IInputMobile;
8
- readonly config: IInputConfig;
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
- readonly formControl: FormControl;
8
- readonly input: IInputName;
9
- readonly config: IInputConfig;
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
- readonly formControl: FormControl;
7
- readonly input: IInputPassword;
8
- readonly config: IInputConfig;
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
- readonly formControl: FormControl;
7
- readonly input: IInputSelect;
8
- readonly config: IInputConfig;
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
- readonly formControl: FormControl;
7
- readonly input: IInputText;
8
- readonly config: IInputConfig;
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
- readonly formControl: FormControl;
7
- readonly input: IInputTextarea;
8
- readonly config: IInputConfig;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webilix/ngx-form-m3",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "author": "Ali Amirnezhad",
5
5
  "description": "Persian form library for Angular and Material 3",
6
6
  "repository": {