ados-rcm 1.1.778 → 1.1.779
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Resources } from '../AResource/AResource';
|
|
3
3
|
import { EDir12 } from '../ATypes/ATypes';
|
|
4
|
+
import { IDateRange } from './ADateRangePicker';
|
|
4
5
|
export interface ICalendarPage {
|
|
5
6
|
month: number;
|
|
6
7
|
year: number;
|
|
@@ -63,10 +64,6 @@ export declare function useDateRangeInputSync(localDr?: {
|
|
|
63
64
|
readonly endInputValue: string;
|
|
64
65
|
readonly setEndInputValue: React.Dispatch<React.SetStateAction<string>>;
|
|
65
66
|
};
|
|
66
|
-
export interface IDateRange {
|
|
67
|
-
eDate: Date;
|
|
68
|
-
sDate: Date;
|
|
69
|
-
}
|
|
70
67
|
interface IDateRangeInputHandlersConfig {
|
|
71
68
|
calculateDateRange: (newDate: Date, isStart: boolean) => {
|
|
72
69
|
e: Date;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { TUseValues } from '../../AHooks/useValues';
|
|
2
2
|
import { Resources } from '../AResource/AResource';
|
|
3
3
|
import { IADatePickerProps } from './ADatePicker';
|
|
4
|
-
|
|
4
|
+
export interface IDateRange {
|
|
5
|
+
eDate: Date;
|
|
6
|
+
sDate: Date;
|
|
7
|
+
}
|
|
5
8
|
export interface IADateRangePickerProps extends Omit<IADatePickerProps, 'useDate'> {
|
|
6
9
|
noDefaultChoices?: boolean;
|
|
7
10
|
resources?: Partial<typeof Resources.ADateRangePicker>;
|
|
@@ -21,10 +21,7 @@ export declare const tableF: {
|
|
|
21
21
|
getMultiFilterValues: <T extends IItem, K extends IItem = any>(filteration: TATableFilteration<T, K>) => Partial<K>;
|
|
22
22
|
getSelectFilterValue: <T extends IItem>(filteration: TATableFilteration<T>) => {
|
|
23
23
|
selectedKey: string | number | keyof T;
|
|
24
|
-
value:
|
|
25
|
-
} | {
|
|
26
|
-
selectedKey: string | number | keyof T;
|
|
27
|
-
value: string | number | Date | import('../AComponents/ADatePicker/ADatePickerUtil').IDateRange;
|
|
24
|
+
value: any;
|
|
28
25
|
} | undefined;
|
|
29
26
|
};
|
|
30
27
|
export {};
|