ngx-vector-components 2.7.0 → 2.9.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/CHANGELOG.md +29 -0
- package/assets/styles/_primeng-custom-theme.scss +30 -20
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +11 -3
- package/esm2020/lib/components/fields/filters/filters.component.mjs +1 -1
- package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +6 -3
- package/esm2020/lib/components/fields/text-field/text-field.component.mjs +4 -4
- package/esm2020/lib/components/menu/menu.component.mjs +4 -7
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +3 -3
- package/esm2020/lib/utils/mask.util.mjs +17 -3
- package/esm2020/lib/utils/validation.util.mjs +12 -1
- package/fesm2015/ngx-vector-components.mjs +53 -20
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +53 -20
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +4 -1
- package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +2 -1
- package/lib/components/fields/text-field/text-field.component.d.ts +1 -1
- package/lib/components/menu/menu.component.d.ts +1 -1
- package/lib/utils/mask.util.d.ts +1 -0
- package/lib/utils/validation.util.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@ export declare class CurrencyFieldComponent implements OnDestroy {
|
|
|
6
6
|
placeholder: string;
|
|
7
7
|
set control(_control: any);
|
|
8
8
|
outlined: boolean;
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
label?: string;
|
|
9
11
|
get control(): any;
|
|
10
12
|
private _control;
|
|
11
13
|
private lastInvertedIndexTyped;
|
|
@@ -13,6 +15,7 @@ export declare class CurrencyFieldComponent implements OnDestroy {
|
|
|
13
15
|
ngOnDestroy(): void;
|
|
14
16
|
focusLastIndex($event: Event): void;
|
|
15
17
|
inputNextChar($event: KeyboardEvent): void;
|
|
18
|
+
clearValue(): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyFieldComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyFieldComponent, "vector-currency-field", never, { "minValue": "minValue"; "maxValue": "maxValue"; "placeholder": "placeholder"; "control": "control"; "outlined": "outlined"; }, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyFieldComponent, "vector-currency-field", never, { "minValue": "minValue"; "maxValue": "maxValue"; "placeholder": "placeholder"; "control": "control"; "outlined": "outlined"; "rounded": "rounded"; "label": "label"; }, {}, never, never>;
|
|
18
21
|
}
|
|
@@ -9,6 +9,7 @@ export declare class RadioButtonFieldComponent implements OnInit {
|
|
|
9
9
|
options: RadioButtonOption[];
|
|
10
10
|
control: any;
|
|
11
11
|
layout: 'vertical' | 'horizontal';
|
|
12
|
+
justifySpaceBetween: boolean;
|
|
12
13
|
constructor();
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
get layoutClass(): {
|
|
@@ -16,5 +17,5 @@ export declare class RadioButtonFieldComponent implements OnInit {
|
|
|
16
17
|
vertical: boolean;
|
|
17
18
|
};
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonFieldComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonFieldComponent, "vector-radio-button-field", never, { "groupName": "groupName"; "options": "options"; "control": "control"; "layout": "layout"; }, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonFieldComponent, "vector-radio-button-field", never, { "groupName": "groupName"; "options": "options"; "control": "control"; "layout": "layout"; "justifySpaceBetween": "justifySpaceBetween"; }, {}, never, never>;
|
|
20
21
|
}
|
|
@@ -24,7 +24,7 @@ export declare class TextFieldComponent implements OnInit, OnDestroy {
|
|
|
24
24
|
isPasswordVisible: boolean;
|
|
25
25
|
validateOnly: boolean;
|
|
26
26
|
get placeholder(): string;
|
|
27
|
-
get keyfilter(): RegExp | "int" | "
|
|
27
|
+
get keyfilter(): RegExp | "int" | "alphanum";
|
|
28
28
|
get control(): any;
|
|
29
29
|
get showPasswordIcon(): "fas fa-eye" | "fas fa-eye-slash";
|
|
30
30
|
documentTypes: ListItem[];
|
|
@@ -20,6 +20,7 @@ export declare class MenuComponent implements OnInit, OnDestroy {
|
|
|
20
20
|
appNameLabel: any;
|
|
21
21
|
adminOption: MenuItem | undefined;
|
|
22
22
|
apps: typeof AppName;
|
|
23
|
+
production: any;
|
|
23
24
|
onFinishMenuOptionsConfig: EventEmitter<any>;
|
|
24
25
|
set opened(opened: boolean);
|
|
25
26
|
get opened(): boolean;
|
|
@@ -47,7 +48,6 @@ export declare class MenuComponent implements OnInit, OnDestroy {
|
|
|
47
48
|
getMenuNotificationsCount(menu: MenuItem): number;
|
|
48
49
|
private clearAndCloseMenu;
|
|
49
50
|
private resizeMenu;
|
|
50
|
-
resetMenus(clear?: boolean): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
52
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "vector-menu", never, {}, { "onFinishMenuOptionsConfig": "onFinishMenuOptionsConfig"; }, never, never>;
|
|
53
53
|
}
|
package/lib/utils/mask.util.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export declare class MaskUtil {
|
|
|
8
8
|
static formatDocument(stringValue: string): string;
|
|
9
9
|
static formatPostalCode(stringValue: string): string;
|
|
10
10
|
static formatBoleto(stringValue: string): string;
|
|
11
|
+
static formatPhone(stringValue: string): string;
|
|
11
12
|
private static doMaskString;
|
|
12
13
|
}
|
|
@@ -13,4 +13,5 @@ export declare class ValidationUtil {
|
|
|
13
13
|
static greaterThanOrEqualTo(lowerControlName: string): ValidatorFn;
|
|
14
14
|
static notSequentialNumbers(length: number): ValidatorFn;
|
|
15
15
|
static firstLetterIsUppercase(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
static containsLettersAndNumbers(control: AbstractControl): ValidationErrors | null;
|
|
16
17
|
}
|