@webilix/ngx-form-m3 0.0.28 → 0.0.30

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,16 +1,18 @@
1
- import { Injector } from '@angular/core';
1
+ import { Injector, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { INgxFormValues } from '../../ngx-form.interface';
4
4
  import { IInputConfig } from '../input.interface';
5
5
  import { IInputComponent } from './input-component.interface';
6
6
  import * as i0 from "@angular/core";
7
- export declare class InputComponentComponent {
7
+ export declare class InputComponentComponent implements OnChanges {
8
+ paddig: string;
8
9
  formControl: FormControl;
9
10
  input: IInputComponent;
10
11
  config: IInputConfig;
11
12
  values: INgxFormValues;
12
13
  isButtonDisabled: boolean;
13
14
  injector: Injector;
15
+ ngOnChanges(changes: SimpleChanges): void;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponentComponent, never>;
15
17
  static ɵcmp: i0.ɵɵComponentDeclaration<InputComponentComponent, "ng-component", never, { "values": { "alias": "values"; "required": true; }; "isButtonDisabled": { "alias": "isButtonDisabled"; "required": true; }; }, {}, never, never, true, never>;
16
18
  }
@@ -8,6 +8,7 @@ export interface IInputComponent extends Omit<IInput, 'value' | 'english' | 'aut
8
8
  readonly componentInputs?: {
9
9
  [key: string]: any;
10
10
  };
11
+ readonly zeroPadding?: boolean;
11
12
  }
12
13
  export declare class InputComponentMethods extends InputMethods<IInputComponent, any> {
13
14
  control(input: IInputComponent, validators: ValidatorFn[]): FormControl<any>;
@@ -6,6 +6,7 @@ export interface IInputNumber extends Omit<IInput, 'value' | 'english'> {
6
6
  readonly value?: number | null;
7
7
  readonly minimum?: number;
8
8
  readonly maximum?: number;
9
+ readonly suffix?: string;
9
10
  readonly multiplyOf?: number;
10
11
  readonly allowNegatives?: boolean;
11
12
  readonly fractionDigits?: boolean | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webilix/ngx-form-m3",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "author": "Ali Amirnezhad",
5
5
  "description": "Persian form library for Angular and Material 3",
6
6
  "repository": {