ngx-vector-components 2.5.0 → 2.7.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.
@@ -2,10 +2,12 @@ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class PercentageFieldComponent {
4
4
  control: any;
5
+ min: number;
6
+ max: number;
5
7
  blurEvent: EventEmitter<any>;
6
8
  enterKeyPress: EventEmitter<any>;
7
9
  focusEvent: EventEmitter<any>;
8
10
  readonly percentageRegex = "^(100(\\.0{1,2})?|[1-9]?\\d(\\.\\d{1,2})?)$";
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PercentageFieldComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<PercentageFieldComponent, "vector-percentage-field", never, { "control": "control"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; }, never, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<PercentageFieldComponent, "vector-percentage-field", never, { "control": "control"; "min": "min"; "max": "max"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; }, never, never>;
11
13
  }
@@ -9,6 +9,7 @@ export declare class TextFieldComponent implements OnInit, OnDestroy {
9
9
  numeric: boolean;
10
10
  decimal: boolean;
11
11
  onlyText: boolean;
12
+ alphaNumeric: boolean;
12
13
  mask: string | undefined;
13
14
  autoClear: boolean;
14
15
  rightIcon: string;
@@ -23,7 +24,7 @@ export declare class TextFieldComponent implements OnInit, OnDestroy {
23
24
  isPasswordVisible: boolean;
24
25
  validateOnly: boolean;
25
26
  get placeholder(): string;
26
- get keyfilter(): RegExp | "int";
27
+ get keyfilter(): RegExp | "int" | "alpha";
27
28
  get control(): any;
28
29
  get showPasswordIcon(): "fas fa-eye" | "fas fa-eye-slash";
29
30
  documentTypes: ListItem[];
@@ -43,5 +44,5 @@ export declare class TextFieldComponent implements OnInit, OnDestroy {
43
44
  private handleInitialDocumentTypeState;
44
45
  private setDocumentType;
45
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "vector-text-field", never, { "isRequired": "isRequired"; "label": "label"; "maxlength": "maxlength"; "isPassword": "isPassword"; "numeric": "numeric"; "decimal": "decimal"; "onlyText": "onlyText"; "mask": "mask"; "autoClear": "autoClear"; "rightIcon": "rightIcon"; "centered": "centered"; "enableDocumentTypeChoice": "enableDocumentTypeChoice"; "hiddenErrorMessage": "hiddenErrorMessage"; "control": "control"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; "onDocumentTypeChange": "onDocumentTypeChange"; }, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "vector-text-field", never, { "isRequired": "isRequired"; "label": "label"; "maxlength": "maxlength"; "isPassword": "isPassword"; "numeric": "numeric"; "decimal": "decimal"; "onlyText": "onlyText"; "alphaNumeric": "alphaNumeric"; "mask": "mask"; "autoClear": "autoClear"; "rightIcon": "rightIcon"; "centered": "centered"; "enableDocumentTypeChoice": "enableDocumentTypeChoice"; "hiddenErrorMessage": "hiddenErrorMessage"; "control": "control"; }, { "blurEvent": "blurEvent"; "enterKeyPress": "enterKeyPress"; "focusEvent": "focusEvent"; "onDocumentTypeChange": "onDocumentTypeChange"; }, never, never>;
47
48
  }
@@ -11,4 +11,6 @@ export declare class ValidationUtil {
11
11
  static cellphone(control: AbstractControl): ValidationErrors | null;
12
12
  static lowerThanOrEqualTo(greaterControlName: string): ValidatorFn;
13
13
  static greaterThanOrEqualTo(lowerControlName: string): ValidatorFn;
14
+ static notSequentialNumbers(length: number): ValidatorFn;
15
+ static firstLetterIsUppercase(control: AbstractControl): ValidationErrors | null;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.3",
6
6
  "@angular/core": "^13.2.3",