dt-shared-front 2.2.8-alpha.0 → 2.2.8-alpha.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.
- package/dist/components/date-picker/date-picker.d.ts +1 -12
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/range-picker/range-picker.d.ts +2 -54
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +30 -30
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
import { DatePicker as AntDatePicker } from 'antd';
|
3
|
-
declare type IDatePickerProps = {
|
4
|
-
error?: boolean;
|
5
|
-
onClear?: (e: any) => void;
|
6
|
-
onTouchStart?: (e: any) => void;
|
7
|
-
format?: string;
|
8
|
-
mask?: string;
|
9
|
-
labelPlaceholder?: string;
|
10
|
-
} & ComponentProps<typeof AntDatePicker>;
|
11
|
-
export declare const DatePicker: ({ error, onClear, format, mask, labelPlaceholder, onClick, ...props }: IDatePickerProps) => JSX.Element;
|
12
|
-
export {};
|
1
|
+
export declare const DatePicker: (props: any) => JSX.Element;
|
@@ -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>, "onChange" | "
|
65
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLInputElement>>;
|
@@ -1,54 +1,2 @@
|
|
1
|
-
import React
|
2
|
-
declare const
|
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
|
-
};
|
49
|
-
declare type IRangePickerProps = {
|
50
|
-
isFromToday?: boolean;
|
51
|
-
onClear?: (e: any) => void;
|
52
|
-
} & ComponentProps<typeof AntDatePicker.RangePicker>;
|
53
|
-
export declare const RangePicker: React.ForwardRefExoticComponent<IRangePickerProps & React.RefAttributes<unknown>>;
|
54
|
-
export {};
|
1
|
+
import React from 'react';
|
2
|
+
export declare const RangePicker: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
@@ -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>, "onChange" | "
|
29
|
+
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLTextAreaElement>>;
|