dt-shared-front 2.2.8-alpha.0 → 2.2.8-alpha.1
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,5 +1,51 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
|
-
|
2
|
+
declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
3
|
+
status?: "" | "error" | "warning";
|
4
|
+
dropdownClassName?: string;
|
5
|
+
popupClassName?: string;
|
6
|
+
}, unknown> & {
|
7
|
+
WeekPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
8
|
+
status?: "" | "error" | "warning";
|
9
|
+
dropdownClassName?: string;
|
10
|
+
popupClassName?: string;
|
11
|
+
}, "picker">, unknown>;
|
12
|
+
MonthPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
13
|
+
status?: "" | "error" | "warning";
|
14
|
+
dropdownClassName?: string;
|
15
|
+
popupClassName?: string;
|
16
|
+
}, "picker">, unknown>;
|
17
|
+
YearPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
|
18
|
+
status?: "" | "error" | "warning";
|
19
|
+
dropdownClassName?: string;
|
20
|
+
popupClassName?: string;
|
21
|
+
}, "picker">, unknown>;
|
22
|
+
RangePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<import("antd/lib/date-picker/generatePicker").RangePickerProps<Date> & {
|
23
|
+
dropdownClassName?: string;
|
24
|
+
popupClassName?: string;
|
25
|
+
}, unknown>;
|
26
|
+
TimePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<Omit<import("rc-picker/lib/Picker").PickerTimeProps<Date>, "locale" | "generateConfig" | "hideHeader" | "components"> & {
|
27
|
+
locale?: import("antd/lib/date-picker/generatePicker").PickerLocale;
|
28
|
+
size?: import("antd/lib/button").ButtonSize;
|
29
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
30
|
+
bordered?: boolean;
|
31
|
+
status?: "" | "error" | "warning";
|
32
|
+
} & {
|
33
|
+
status?: "" | "error" | "warning";
|
34
|
+
dropdownClassName?: string;
|
35
|
+
popupClassName?: string;
|
36
|
+
}, "picker">, unknown>;
|
37
|
+
QuarterPicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<Omit<Omit<import("rc-picker/lib/Picker").PickerTimeProps<Date>, "locale" | "generateConfig" | "hideHeader" | "components"> & {
|
38
|
+
locale?: import("antd/lib/date-picker/generatePicker").PickerLocale;
|
39
|
+
size?: import("antd/lib/button").ButtonSize;
|
40
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
41
|
+
bordered?: boolean;
|
42
|
+
status?: "" | "error" | "warning";
|
43
|
+
} & {
|
44
|
+
status?: "" | "error" | "warning";
|
45
|
+
dropdownClassName?: string;
|
46
|
+
popupClassName?: string;
|
47
|
+
}, "picker">, unknown>;
|
48
|
+
};
|
3
49
|
declare type IDatePickerProps = {
|
4
50
|
error?: boolean;
|
5
51
|
onClear?: (e: any) => void;
|
@@ -62,4 +62,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
|
|
62
62
|
onPointerUp?: (e: any) => void;
|
63
63
|
onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
|
64
64
|
onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
|
65
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
65
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLInputElement>>;
|
@@ -26,4 +26,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
|
|
26
26
|
onClear?: () => void;
|
27
27
|
onSearch?: (e: any) => void;
|
28
28
|
onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
|
29
|
-
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
29
|
+
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "variant" | "size" | "onChange"> & React.RefAttributes<HTMLTextAreaElement>>;
|