@transferwise/components 0.0.0-experimental-1a3a746 → 0.0.0-experimental-3b2f02f
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/build/index.js +242 -110
- package/build/index.js.map +1 -1
- package/build/index.mjs +242 -110
- package/build/index.mjs.map +1 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -1
- package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -1
- package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -1
- package/build/types/dateLookup/DateLookup.d.ts +28 -80
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/dateLookup/DateLookup.messages.d.ts +63 -42
- package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts +22 -9
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/dateLookup/dateHeader/index.d.ts +1 -1
- package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +31 -13
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts +1 -1
- package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +2 -19
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts +1 -1
- package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +2 -12
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts +1 -1
- package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts +1 -1
- package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts +1 -1
- package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -1
- package/build/types/dateLookup/index.d.ts +1 -2
- package/build/types/dateLookup/index.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +2 -17
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts +1 -1
- package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +26 -10
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts +1 -1
- package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +2 -15
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts +1 -1
- package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +26 -10
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts +1 -1
- package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -1
- package/build/types/index.d.ts +0 -1
- package/build/types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/common/dateUtils/isWithinRange/isWithinRange.spec.ts +0 -21
- package/src/common/dateUtils/isWithinRange/isWithinRange.ts +2 -2
- package/src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts +2 -11
- package/src/dateLookup/{DateLookup.tsx → DateLookup.js} +69 -114
- package/src/dateLookup/DateLookup.state.spec.js +0 -7
- package/src/dateLookup/{DateLookup.story.tsx → DateLookup.story.js} +14 -13
- package/src/dateLookup/dateHeader/{DateHeader.tsx → DateHeader.js} +15 -15
- package/src/dateLookup/dateTrigger/{DateTrigger.tsx → DateTrigger.js} +32 -15
- package/src/dateLookup/dateTrigger/DateTrigger.spec.js +22 -0
- package/src/dateLookup/dayCalendar/{DayCalendar.tsx → DayCalendar.js} +21 -14
- package/src/dateLookup/dayCalendar/table/{DayCalendarTable.tsx → DayCalendarTable.js} +37 -26
- package/src/dateLookup/getStartOfDay/{getStartOfDay.tsx → getStartOfDay.js} +1 -1
- package/src/dateLookup/index.js +1 -0
- package/src/dateLookup/monthCalendar/{MonthCalendar.tsx → MonthCalendar.js} +22 -19
- package/src/dateLookup/monthCalendar/table/{MonthCalendarTable.tsx → MonthCalendarTable.js} +30 -31
- package/src/dateLookup/yearCalendar/{YearCalendar.tsx → YearCalendar.js} +21 -18
- package/src/dateLookup/yearCalendar/table/{YearCalendarTable.tsx → YearCalendarTable.js} +28 -26
- package/src/index.ts +0 -1
- package/src/inputs/InputGroup.tsx +3 -3
- package/src/dateLookup/DateLookup.tests.story.tsx +0 -71
- package/src/dateLookup/index.ts +0 -2
- /package/src/dateLookup/{DateLookup.messages.ts → DateLookup.messages.js} +0 -0
- /package/src/dateLookup/dateHeader/{index.ts → index.js} +0 -0
- /package/src/dateLookup/dateTrigger/{index.ts → index.js} +0 -0
- /package/src/dateLookup/dayCalendar/{index.ts → index.js} +0 -0
- /package/src/dateLookup/dayCalendar/table/{index.ts → index.js} +0 -0
- /package/src/dateLookup/getStartOfDay/{index.ts → index.js} +0 -0
- /package/src/dateLookup/monthCalendar/{index.ts → index.js} +0 -0
- /package/src/dateLookup/monthCalendar/table/{index.ts → index.js} +0 -0
- /package/src/dateLookup/yearCalendar/{index.ts → index.js} +0 -0
- /package/src/dateLookup/yearCalendar/table/{index.ts → index.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function isWithinRange(date: Date, min: Date
|
|
1
|
+
export declare function isWithinRange(date: Date, min: Date, max: Date): boolean;
|
|
2
2
|
//# sourceMappingURL=isWithinRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"isWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/isWithinRange/isWithinRange.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,WAE7D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function moveToWithinRange(date: Date, min: Date
|
|
1
|
+
export declare function moveToWithinRange(date: Date, min: Date, max: Date): Date;
|
|
2
2
|
//# sourceMappingURL=moveToWithinRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"moveToWithinRange.d.ts","sourceRoot":"","sources":["../../../../../src/common/dateUtils/moveToWithinRange/moveToWithinRange.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,QAEjE"}
|
|
@@ -1,80 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
viewMonth: number;
|
|
30
|
-
viewYear: number;
|
|
31
|
-
open: boolean;
|
|
32
|
-
mode: (typeof MODE)[keyof typeof MODE];
|
|
33
|
-
isMobile: boolean;
|
|
34
|
-
}
|
|
35
|
-
declare class DateLookup extends PureComponent<DateLookupProps, DateLookupState> {
|
|
36
|
-
props: DateLookupProps & Required<Pick<DateLookupProps, keyof typeof DateLookup.defaultProps>>;
|
|
37
|
-
static defaultProps: {
|
|
38
|
-
value: null;
|
|
39
|
-
min: null;
|
|
40
|
-
max: null;
|
|
41
|
-
size: Size.MEDIUM;
|
|
42
|
-
placeholder: string;
|
|
43
|
-
label: string;
|
|
44
|
-
monthFormat: MonthFormat.LONG;
|
|
45
|
-
disabled: false;
|
|
46
|
-
clearable: false;
|
|
47
|
-
};
|
|
48
|
-
element: import("react").RefObject<HTMLDivElement>;
|
|
49
|
-
dropdown: import("react").RefObject<HTMLDivElement>;
|
|
50
|
-
constructor(props: DateLookupProps);
|
|
51
|
-
static getDerivedStateFromProps(props: DateLookupProps, state: DateLookupState): {
|
|
52
|
-
selectedDate: Date | null;
|
|
53
|
-
min: Date | null;
|
|
54
|
-
max: Date | null;
|
|
55
|
-
viewMonth: number;
|
|
56
|
-
viewYear: number;
|
|
57
|
-
} | null;
|
|
58
|
-
componentDidUpdate(previousProps: DateLookupProps): void;
|
|
59
|
-
componentWillUnmount(): void;
|
|
60
|
-
open: () => void;
|
|
61
|
-
discard: () => void;
|
|
62
|
-
close: () => void;
|
|
63
|
-
handleKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
64
|
-
adjustDate: (daysToAdd: number, monthsToAdd: number, yearsToAdd: number) => void;
|
|
65
|
-
focusOn: (preferredElement: string, fallbackElement?: string) => void;
|
|
66
|
-
switchMode: (mode: string) => void;
|
|
67
|
-
switchToDays: () => void;
|
|
68
|
-
switchToMonths: () => void;
|
|
69
|
-
switchToYears: () => void;
|
|
70
|
-
handleSelectedDateUpdate: (selectedDate: Date) => void;
|
|
71
|
-
handleViewDateUpdate: ({ month, year }: {
|
|
72
|
-
month?: number | undefined;
|
|
73
|
-
year?: number | undefined;
|
|
74
|
-
}) => void;
|
|
75
|
-
getCalendar: () => import("react").JSX.Element;
|
|
76
|
-
handleClear: () => void;
|
|
77
|
-
render(): import("react").JSX.Element;
|
|
78
|
-
}
|
|
79
|
-
export default DateLookup;
|
|
80
|
-
//# sourceMappingURL=DateLookup.d.ts.map
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export type DateLookupSize = "sm" | "md" | "lg";
|
|
4
|
+
|
|
5
|
+
export type DateLookupMonthFormat = "long" | "short";
|
|
6
|
+
|
|
7
|
+
export interface DateLookupProps {
|
|
8
|
+
id?: string;
|
|
9
|
+
value?: Date;
|
|
10
|
+
min?: Date;
|
|
11
|
+
max?: Date;
|
|
12
|
+
size?: DateLookupSize;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
"aria-labelledby"?: string;
|
|
16
|
+
monthFormat?: DateLookupMonthFormat;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
onChange: (...args: any[])=>any;
|
|
19
|
+
onFocus?: (...args: any[])=>any;
|
|
20
|
+
onBlur?: (...args: any[])=>any;
|
|
21
|
+
clearable?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default class DateLookup extends React.PureComponent<DateLookupProps, any> {
|
|
25
|
+
render(): JSX.Element;
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateLookup.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/DateLookup.
|
|
1
|
+
{"version":3,"file":"DateLookup.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/DateLookup.js"],"names":[],"mappings":";AAoBA;IAoBE;;;;;;aAqBC;IApCD,wBAaC;IAjBD,wCAAsB;IAEtB,yCAAuB;IAIrB;;;;;;;;;;MAUC;IA0BH,6CAMC;IAFC,uCAAyE;IAI3E,6BAGC;IAED,iBAOE;IAEF,oBAME;IAEF,kBAME;IAEF,oCA6CE;IAEF,wEAmBE;IAEF,+DAOE;IAEF,gCAIE;IAEF,yBAA+C;IAE/C,2BAAmD;IAEnD,0BAAiD;IAEjD,sDAME;IAEF;;;eAEE;IAEF,+CA8BE;IAEF,wBAGE;IAEF,sCAqCC;CACF"}
|
|
@@ -1,44 +1,65 @@
|
|
|
1
|
-
declare
|
|
2
|
-
next
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
}
|
|
7
|
-
previous
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
defaultMessage
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
id
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace next {
|
|
3
|
+
const id: string;
|
|
4
|
+
const defaultMessage: string;
|
|
5
|
+
const description: string;
|
|
6
|
+
}
|
|
7
|
+
namespace previous {
|
|
8
|
+
const id_1: string;
|
|
9
|
+
export { id_1 as id };
|
|
10
|
+
const defaultMessage_1: string;
|
|
11
|
+
export { defaultMessage_1 as defaultMessage };
|
|
12
|
+
const description_1: string;
|
|
13
|
+
export { description_1 as description };
|
|
14
|
+
}
|
|
15
|
+
namespace day {
|
|
16
|
+
const id_2: string;
|
|
17
|
+
export { id_2 as id };
|
|
18
|
+
const defaultMessage_2: string;
|
|
19
|
+
export { defaultMessage_2 as defaultMessage };
|
|
20
|
+
const description_2: string;
|
|
21
|
+
export { description_2 as description };
|
|
22
|
+
}
|
|
23
|
+
namespace month {
|
|
24
|
+
const id_3: string;
|
|
25
|
+
export { id_3 as id };
|
|
26
|
+
const defaultMessage_3: string;
|
|
27
|
+
export { defaultMessage_3 as defaultMessage };
|
|
28
|
+
const description_3: string;
|
|
29
|
+
export { description_3 as description };
|
|
30
|
+
}
|
|
31
|
+
namespace year {
|
|
32
|
+
const id_4: string;
|
|
33
|
+
export { id_4 as id };
|
|
34
|
+
const defaultMessage_4: string;
|
|
35
|
+
export { defaultMessage_4 as defaultMessage };
|
|
36
|
+
const description_4: string;
|
|
37
|
+
export { description_4 as description };
|
|
38
|
+
}
|
|
39
|
+
namespace twentyYears {
|
|
40
|
+
const id_5: string;
|
|
41
|
+
export { id_5 as id };
|
|
42
|
+
const defaultMessage_5: string;
|
|
43
|
+
export { defaultMessage_5 as defaultMessage };
|
|
44
|
+
const description_5: string;
|
|
45
|
+
export { description_5 as description };
|
|
46
|
+
}
|
|
47
|
+
namespace selected {
|
|
48
|
+
const id_6: string;
|
|
49
|
+
export { id_6 as id };
|
|
50
|
+
const defaultMessage_6: string;
|
|
51
|
+
export { defaultMessage_6 as defaultMessage };
|
|
52
|
+
const description_6: string;
|
|
53
|
+
export { description_6 as description };
|
|
54
|
+
}
|
|
55
|
+
namespace goTo20YearView {
|
|
56
|
+
const id_7: string;
|
|
57
|
+
export { id_7 as id };
|
|
58
|
+
const defaultMessage_7: string;
|
|
59
|
+
export { defaultMessage_7 as defaultMessage };
|
|
60
|
+
const description_7: string;
|
|
61
|
+
export { description_7 as description };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
43
64
|
export default _default;
|
|
44
65
|
//# sourceMappingURL=DateLookup.messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateLookup.messages.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/DateLookup.messages.
|
|
1
|
+
{"version":3,"file":"DateLookup.messages.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/DateLookup.messages.js"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface DateHeaderProps {
|
|
3
|
-
label?: string;
|
|
4
|
-
onLabelClick?: () => void;
|
|
5
|
-
onPreviousClick: () => void;
|
|
6
|
-
onNextClick: () => void;
|
|
7
|
-
dateMode: string;
|
|
8
|
-
}
|
|
9
|
-
declare const DateHeader: React.FC<DateHeaderProps>;
|
|
10
1
|
export default DateHeader;
|
|
2
|
+
declare function DateHeader({ label, onLabelClick, onPreviousClick, onNextClick, dateMode }: {
|
|
3
|
+
label: any;
|
|
4
|
+
onLabelClick: any;
|
|
5
|
+
onPreviousClick: any;
|
|
6
|
+
onNextClick: any;
|
|
7
|
+
dateMode: any;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
declare namespace DateHeader {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
const label: any;
|
|
12
|
+
const onLabelClick: any;
|
|
13
|
+
const onPreviousClick: any;
|
|
14
|
+
const onNextClick: any;
|
|
15
|
+
const dateMode: any;
|
|
16
|
+
}
|
|
17
|
+
namespace defaultProps {
|
|
18
|
+
const label_1: null;
|
|
19
|
+
export { label_1 as label };
|
|
20
|
+
export function onLabelClick_1(): void;
|
|
21
|
+
export { onLabelClick_1 as onLabelClick };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
11
24
|
//# sourceMappingURL=DateHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateHeader.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateHeader/DateHeader.
|
|
1
|
+
{"version":3,"file":"DateHeader.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateHeader/DateHeader.js"],"names":[],"mappings":";AAYA;;;;;;gCA+CC;;;;;;;;;;;;QAYe,uCAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./DateHeader";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateHeader/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateHeader/index.js"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SizeSmall, SizeMedium, SizeLarge } from '../../common';
|
|
3
|
-
interface DateTriggerProps {
|
|
4
|
-
selectedDate: Date | null;
|
|
5
|
-
size: SizeSmall | SizeMedium | SizeLarge;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
label: string;
|
|
8
|
-
monthFormat: 'short' | 'long';
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
onClear?: () => void;
|
|
12
|
-
}
|
|
13
|
-
declare const DateTrigger: React.FC<DateTriggerProps>;
|
|
14
1
|
export default DateTrigger;
|
|
2
|
+
declare function DateTrigger({ selectedDate, size, placeholder, label, monthFormat, disabled, onClick, onClear, }: {
|
|
3
|
+
selectedDate: any;
|
|
4
|
+
size: any;
|
|
5
|
+
placeholder: any;
|
|
6
|
+
label: any;
|
|
7
|
+
monthFormat: any;
|
|
8
|
+
disabled: any;
|
|
9
|
+
onClick: any;
|
|
10
|
+
onClear: any;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
declare namespace DateTrigger {
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
const selectedDate: any;
|
|
15
|
+
const size: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const label: any;
|
|
18
|
+
const monthFormat: any;
|
|
19
|
+
const disabled: any;
|
|
20
|
+
const onClick: any;
|
|
21
|
+
const onClear: any;
|
|
22
|
+
}
|
|
23
|
+
namespace defaultProps {
|
|
24
|
+
const selectedDate_1: null;
|
|
25
|
+
export { selectedDate_1 as selectedDate };
|
|
26
|
+
const size_1: Size;
|
|
27
|
+
export { size_1 as size };
|
|
28
|
+
const onClear_1: undefined;
|
|
29
|
+
export { onClear_1 as onClear };
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
import { Size } from "../../common/propsValues/size";
|
|
15
33
|
//# sourceMappingURL=DateTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTrigger.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/DateTrigger.
|
|
1
|
+
{"version":3,"file":"DateTrigger.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/DateTrigger.js"],"names":[],"mappings":";AAWA;;;;;;;;;gCAmEC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./DateTrigger";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/index.js"],"names":[],"mappings":""}
|
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { MonthFormat } from '../../common';
|
|
4
|
-
interface DayCalendarProps extends WrappedComponentProps {
|
|
5
|
-
selectedDate: Date | null;
|
|
6
|
-
min: Date | null;
|
|
7
|
-
max: Date | null;
|
|
8
|
-
viewMonth: number;
|
|
9
|
-
viewYear: number;
|
|
10
|
-
monthFormat: `${MonthFormat}`;
|
|
11
|
-
onSelect: (date: Date) => void;
|
|
12
|
-
onLabelClick: () => void;
|
|
13
|
-
onViewDateUpdate: (date: {
|
|
14
|
-
month: number;
|
|
15
|
-
year: number;
|
|
16
|
-
}) => void;
|
|
17
|
-
}
|
|
18
|
-
declare const _default: import("react").FC<import("react-intl").WithIntlProps<DayCalendarProps>> & {
|
|
19
|
-
WrappedComponent: import("react").ComponentType<DayCalendarProps>;
|
|
1
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
2
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
20
3
|
};
|
|
21
4
|
export default _default;
|
|
22
5
|
//# sourceMappingURL=DayCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DayCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dayCalendar/DayCalendar.
|
|
1
|
+
{"version":3,"file":"DayCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dayCalendar/DayCalendar.js"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./DayCalendar";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dayCalendar/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dayCalendar/index.js"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
interface DayCalendarTableProps extends WrappedComponentProps {
|
|
4
|
-
selectedDate: Date | null;
|
|
5
|
-
min: Date | null;
|
|
6
|
-
max: Date | null;
|
|
7
|
-
viewMonth: number;
|
|
8
|
-
viewYear: number;
|
|
9
|
-
onSelect: (date: Date) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import("react").FC<import("react-intl").WithIntlProps<DayCalendarTableProps>> & {
|
|
12
|
-
WrappedComponent: import("react").ComponentType<DayCalendarTableProps>;
|
|
1
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
2
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
13
3
|
};
|
|
14
4
|
export default _default;
|
|
15
5
|
//# sourceMappingURL=DayCalendarTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DayCalendarTable.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/dayCalendar/table/DayCalendarTable.
|
|
1
|
+
{"version":3,"file":"DayCalendarTable.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/dayCalendar/table/DayCalendarTable.js"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./DayCalendarTable";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/dayCalendar/table/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/dayCalendar/table/index.js"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function getStartOfDay(date: any): Date | null;
|
|
2
2
|
//# sourceMappingURL=getStartOfDay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStartOfDay.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/getStartOfDay/getStartOfDay.
|
|
1
|
+
{"version":3,"file":"getStartOfDay.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/getStartOfDay/getStartOfDay.js"],"names":[],"mappings":"AAIA,sDAKC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { getStartOfDay } from
|
|
1
|
+
export { getStartOfDay } from "./getStartOfDay";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/getStartOfDay/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/getStartOfDay/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dateLookup/index.js"],"names":[],"mappings":""}
|
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
interface MonthCalendarProps extends WrappedComponentProps {
|
|
4
|
-
selectedDate: Date | null;
|
|
5
|
-
min: Date | null;
|
|
6
|
-
max: Date | null;
|
|
7
|
-
viewYear: number;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
onSelect: () => void;
|
|
10
|
-
onLabelClick: () => void;
|
|
11
|
-
onViewDateUpdate: (date: {
|
|
12
|
-
year?: number;
|
|
13
|
-
month?: number;
|
|
14
|
-
}) => void;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import("react").FC<import("react-intl").WithIntlProps<MonthCalendarProps>> & {
|
|
17
|
-
WrappedComponent: import("react").ComponentType<MonthCalendarProps>;
|
|
1
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
2
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
18
3
|
};
|
|
19
4
|
export default _default;
|
|
20
5
|
//# sourceMappingURL=MonthCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonthCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/monthCalendar/MonthCalendar.
|
|
1
|
+
{"version":3,"file":"MonthCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/monthCalendar/MonthCalendar.js"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./MonthCalendar";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/monthCalendar/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/monthCalendar/index.js"],"names":[],"mappings":""}
|
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface MonthCalendarTableProps {
|
|
3
|
-
selectedDate: Date | null;
|
|
4
|
-
min: Date | null;
|
|
5
|
-
max: Date | null;
|
|
6
|
-
viewYear: number;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
onSelect: (date: number) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const MonthCalendarTable: ({ selectedDate, min, max, viewYear, placeholder, onSelect, }: MonthCalendarTableProps) => import("react").JSX.Element;
|
|
11
1
|
export default MonthCalendarTable;
|
|
2
|
+
declare function MonthCalendarTable({ selectedDate, min, max, viewYear, placeholder, onSelect }: {
|
|
3
|
+
selectedDate: any;
|
|
4
|
+
min: any;
|
|
5
|
+
max: any;
|
|
6
|
+
viewYear: any;
|
|
7
|
+
placeholder: any;
|
|
8
|
+
onSelect: any;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
declare namespace MonthCalendarTable {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const selectedDate: any;
|
|
13
|
+
const min: any;
|
|
14
|
+
const max: any;
|
|
15
|
+
const viewYear: any;
|
|
16
|
+
const placeholder: any;
|
|
17
|
+
const onSelect: any;
|
|
18
|
+
}
|
|
19
|
+
namespace defaultProps {
|
|
20
|
+
const selectedDate_1: null;
|
|
21
|
+
export { selectedDate_1 as selectedDate };
|
|
22
|
+
const min_1: null;
|
|
23
|
+
export { min_1 as min };
|
|
24
|
+
const max_1: null;
|
|
25
|
+
export { max_1 as max };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
12
28
|
//# sourceMappingURL=MonthCalendarTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonthCalendarTable.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/monthCalendar/table/MonthCalendarTable.
|
|
1
|
+
{"version":3,"file":"MonthCalendarTable.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/monthCalendar/table/MonthCalendarTable.js"],"names":[],"mappings":";AAWA;;;;;;;gCA4DC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./MonthCalendarTable";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/monthCalendar/table/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/dateLookup/monthCalendar/table/index.js"],"names":[],"mappings":""}
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
interface YearCalendarProps extends WrappedComponentProps {
|
|
4
|
-
selectedDate: Date | null;
|
|
5
|
-
min: Date | null;
|
|
6
|
-
max: Date | null;
|
|
7
|
-
viewYear: number;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
onSelect: () => void;
|
|
10
|
-
onViewDateUpdate: (date: {
|
|
11
|
-
year: number;
|
|
12
|
-
}) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import("react").FC<import("react-intl").WithIntlProps<YearCalendarProps>> & {
|
|
15
|
-
WrappedComponent: import("react").ComponentType<YearCalendarProps>;
|
|
1
|
+
declare const _default: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
2
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
16
3
|
};
|
|
17
4
|
export default _default;
|
|
18
5
|
//# sourceMappingURL=YearCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YearCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/yearCalendar/YearCalendar.
|
|
1
|
+
{"version":3,"file":"YearCalendar.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/yearCalendar/YearCalendar.js"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./YearCalendar";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/yearCalendar/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/yearCalendar/index.js"],"names":[],"mappings":""}
|