monkey-style-guide 2.0.133 → 2.0.136
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/assets/scss/partials/components/_date-range-picker.scss +36 -0
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +78 -4
- package/esm2020/lib/components/input/input-filter.component.mjs +13 -4
- package/esm2020/lib/components/input/input.component.mjs +6 -2
- package/esm2020/lib/core/utils/utils.mjs +6 -1
- package/fesm2015/monkey-style-guide.mjs +98 -7
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +97 -7
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +7 -0
- package/lib/components/input/input-filter.component.d.ts +2 -1
- package/lib/core/utils/utils.d.ts +1 -0
- package/monkey-style-guide-2.0.136.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-2.0.133.tgz +0 -0
|
@@ -16,7 +16,11 @@ export declare class MonkeyDateRangePickerComponent implements ControlValueAcces
|
|
|
16
16
|
actions: {
|
|
17
17
|
[s: string]: string;
|
|
18
18
|
};
|
|
19
|
+
from: string;
|
|
20
|
+
to: string;
|
|
21
|
+
of: string;
|
|
19
22
|
today: string;
|
|
23
|
+
select: string;
|
|
20
24
|
};
|
|
21
25
|
infoMessage: string;
|
|
22
26
|
errorMessage: string;
|
|
@@ -26,6 +30,7 @@ export declare class MonkeyDateRangePickerComponent implements ControlValueAcces
|
|
|
26
30
|
private today;
|
|
27
31
|
private onModelChange;
|
|
28
32
|
private onModelTouched;
|
|
33
|
+
private unsubscribeAll;
|
|
29
34
|
_dateFirst: any;
|
|
30
35
|
_dateSecond: any;
|
|
31
36
|
_id: string;
|
|
@@ -34,6 +39,8 @@ export declare class MonkeyDateRangePickerComponent implements ControlValueAcces
|
|
|
34
39
|
_dateForm: FormGroup;
|
|
35
40
|
_disabled: boolean;
|
|
36
41
|
_minDate: any;
|
|
42
|
+
_startDate: any;
|
|
43
|
+
_endDate: any;
|
|
37
44
|
constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
|
|
38
45
|
private initDateRange;
|
|
39
46
|
private createCalendar;
|
|
@@ -28,6 +28,7 @@ export declare class MonkeyInputFilterComponent implements ControlValueAccessor,
|
|
|
28
28
|
lowerCase: any;
|
|
29
29
|
capitalize: any;
|
|
30
30
|
currency: any;
|
|
31
|
+
iconPosition: string;
|
|
31
32
|
onChange: EventEmitter<any>;
|
|
32
33
|
private settings;
|
|
33
34
|
private handledValue;
|
|
@@ -50,5 +51,5 @@ export declare class MonkeyInputFilterComponent implements ControlValueAccessor,
|
|
|
50
51
|
onShowAndHidePassword(): void;
|
|
51
52
|
onClick(event: any): void;
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputFilterComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputFilterComponent, "monkey-input-filter", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputFilterComponent, "monkey-input-filter", never, { "name": "name"; "label": "label"; "helperMessage": "helperMessage"; "placeholder": "placeholder"; "icon": "icon"; "type": "type"; "infoMessage": "infoMessage"; "errorMessage": "errorMessage"; "mask": "mask"; "prefix": "prefix"; "onlyNumber": "onlyNumber"; "onlyAlphaNumeric": "onlyAlphaNumeric"; "upperCase": "upperCase"; "lowerCase": "lowerCase"; "capitalize": "capitalize"; "currency": "currency"; "iconPosition": "iconPosition"; "value": "value"; }, { "onChange": "onChange"; }, never, never>;
|
|
54
55
|
}
|
|
@@ -8,6 +8,7 @@ export declare class MonkeyUtils {
|
|
|
8
8
|
static isValidUrl(txt: string): boolean;
|
|
9
9
|
static isValidZipCode(zipCode: string): boolean;
|
|
10
10
|
static getRandomString(len: number, charSet?: string): string;
|
|
11
|
+
static handleOnlyNumbersCurrency(value: any): any;
|
|
11
12
|
static handleOnlyNumbers(value: any): any;
|
|
12
13
|
static handleOnlyAlphaNumeric(value: any): any;
|
|
13
14
|
static capitalize(value: string): string;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|