ados-rcm 1.0.594 → 1.0.595
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/ADatePicker/ADateRangePicker.d.ts +12 -0
- package/dist/index.cjs.js +30 -30
- package/dist/index.es.js +4000 -4017
- package/package.json +1 -1
@@ -51,3 +51,15 @@ export interface IADateRangePickerProps extends Omit<IADatePickerProps, 'useDate
|
|
51
51
|
*
|
52
52
|
*/
|
53
53
|
export declare const ADateRangePicker: (props: IADateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
54
|
+
/**
|
55
|
+
* getMonthsOptions : (year: number, minDate?: Date, maxDate?: Date) => number[]
|
56
|
+
*
|
57
|
+
* Description : get months options. returns months for given year that are between minDate and maxDate
|
58
|
+
*/
|
59
|
+
export declare function getMonthsOptions(year: number, minDate?: Date, maxDate?: Date): number[];
|
60
|
+
/**
|
61
|
+
* getYearsOptions : (year: number, minDate?: Date, maxDate?: Date, size? : number) => number[]
|
62
|
+
*
|
63
|
+
* Description : returns max {size} years with the current year in the middle. If minDate and maxDate are provided, the years will be within the range.
|
64
|
+
*/
|
65
|
+
export declare function getYearsOptions(year: number, minDate?: Date, maxDate?: Date, size?: number): number[];
|