@acorex/components 16.19.1 → 16.19.2
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.
@@ -6,6 +6,7 @@ import { AXCalendarBoxComponent } from '../calendar/calendar-box/calendar-box.co
|
|
6
6
|
import { AXDropdownComponent } from '../dropdown/dropdown.component';
|
7
7
|
import { AXTextBoxComponent } from '../textbox/textbox.component';
|
8
8
|
import { AXValidation } from '../validation/validation.component';
|
9
|
+
import moment from 'jalali-moment';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export declare class AXDataPickerChangeEvent extends AXValueEvent<Date> {
|
11
12
|
isUserChange: boolean;
|
@@ -18,9 +19,19 @@ export declare class AXDatePickerComponent extends AXValidatableComponent implem
|
|
18
19
|
input: AXTextBoxComponent;
|
19
20
|
dayStyle: any[];
|
20
21
|
dayMinMaxResoan: string;
|
21
|
-
yyyyMMdd:
|
22
|
-
ddMMyyyy:
|
23
|
-
|
22
|
+
yyyyMMdd: string;
|
23
|
+
ddMMyyyy: string;
|
24
|
+
MMddyyyy: string;
|
25
|
+
convertToAXFormatDate: {
|
26
|
+
DDMMYYYY: string;
|
27
|
+
MMDDYYYY: string;
|
28
|
+
YYYYMMDD: string;
|
29
|
+
};
|
30
|
+
calendarValue: Date;
|
31
|
+
isTypeDate: boolean;
|
32
|
+
setLoading: boolean;
|
33
|
+
private textChangeSubject;
|
34
|
+
private destroy$;
|
24
35
|
private _contentValidation;
|
25
36
|
private _validation;
|
26
37
|
get validation(): AXValidation;
|
@@ -52,11 +63,16 @@ export declare class AXDatePickerComponent extends AXValidatableComponent implem
|
|
52
63
|
convertMaskToDate(text: string): Date;
|
53
64
|
convertMask(date: string): {
|
54
65
|
year: any;
|
55
|
-
|
66
|
+
month: any;
|
56
67
|
day: any;
|
57
68
|
};
|
58
69
|
textChange(e: any): void;
|
70
|
+
isValidDate(year: number, month: number, day: number): boolean | moment.Moment;
|
71
|
+
isValidGregorianDate(year: number, month: number, day: number): boolean;
|
72
|
+
isValidJalaliDate(year: number, month: number, day: number): false | moment.Moment;
|
73
|
+
clearTextBox(): void;
|
59
74
|
ngOnInit(): void;
|
75
|
+
handleDebouncedChange(text: string): void;
|
60
76
|
ngAfterViewInit(): void;
|
61
77
|
ngAfterContentInit(): void;
|
62
78
|
clear(): void;
|
@@ -79,6 +95,7 @@ export declare class AXDatePickerComponent extends AXValidatableComponent implem
|
|
79
95
|
setCaretPosition(ctrl: any, pos: any): void;
|
80
96
|
setCaret(): void;
|
81
97
|
navigate(value: number | AXDateTime): void;
|
98
|
+
ngOnDestroy(): void;
|
82
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
83
100
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "dayStyle": { "alias": "dayStyle"; "required": false; }; "dayMinMaxResoan": { "alias": "dayMinMaxResoan"; "required": false; }; "validation": { "alias": "validation"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "showToday": { "alias": "showToday"; "required": false; }; "selectableHoliday": { "alias": "selectableHoliday"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "openByClick": { "alias": "openByClick"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "typeChange": "typeChange"; "onValueChanged": "onValueChanged"; "valueChange": "valueChange"; }, ["_contentValidation"], ["[start]", "[end]"], false, never>;
|
84
101
|
}
|
@@ -10,7 +10,8 @@ export declare class AXTextBoxComponent extends AXBaseTextComponent {
|
|
10
10
|
maskGuid: boolean;
|
11
11
|
maskPlaceholder: string;
|
12
12
|
maskKeepCharPositions: boolean;
|
13
|
+
leadZeroDateTime: boolean;
|
13
14
|
constructor(cdr: ChangeDetectorRef, ref: ElementRef);
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "mask": { "alias": "mask"; "required": false; }; "showMask": { "alias": "showMask"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "maskGuid": { "alias": "maskGuid"; "required": false; }; "maskPlaceholder": { "alias": "maskPlaceholder"; "required": false; }; "maskKeepCharPositions": { "alias": "maskKeepCharPositions"; "required": false; }; }, {}, never, ["[start]", "[end]"], false, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "mask": { "alias": "mask"; "required": false; }; "showMask": { "alias": "showMask"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "maskGuid": { "alias": "maskGuid"; "required": false; }; "maskPlaceholder": { "alias": "maskPlaceholder"; "required": false; }; "maskKeepCharPositions": { "alias": "maskKeepCharPositions"; "required": false; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; }; }, {}, never, ["[start]", "[end]"], false, never>;
|
16
17
|
}
|