wargerm 0.6.24 → 0.6.25
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/AutoScroll/index.d.ts +1 -1
- package/dist/components/Calendar/example/demo1.d.ts +2 -2
- package/dist/components/Calendar/example/demo2.d.ts +2 -2
- package/dist/components/Calendar/index.d.ts +1 -1
- package/dist/components/Card/example/demo1.d.ts +2 -2
- package/dist/components/Card/example/demo2.d.ts +2 -2
- package/dist/components/Card/example/demo3.d.ts +2 -2
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Cascader/index.d.ts +3 -3
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +2 -2
- package/dist/components/DragBox/index.d.ts +2 -2
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Modal/dialog.d.ts +2 -2
- package/dist/components/Modal/index.d.ts +6 -5
- package/dist/components/ModalForm/index.d.ts +1 -1
- package/dist/components/ModalTips/dialog.d.ts +2 -2
- package/dist/components/ModalTips/index.d.ts +5 -5
- package/dist/components/NtTable/FrameBox/index.d.ts +3 -3
- package/dist/components/NtTable/index.d.ts +3 -9
- package/dist/components/NumericInput/index.d.ts +2 -2
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/ReactECharts/RAF.d.ts +2 -2
- package/dist/components/ReactECharts/index.d.ts +2 -2
- package/dist/components/RequestRenderDom/example/demo1.d.ts +2 -2
- package/dist/components/RequestRenderDom/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/TabelCard/example/InputGroup.d.ts +2 -2
- package/dist/components/TabelCard/example/demo1.d.ts +2 -2
- package/dist/components/TabelCard/example/demo2.d.ts +2 -2
- package/dist/components/TabelCard/example/demo3.d.ts +2 -2
- package/dist/components/TabelCard/index.d.ts +1 -1
- package/dist/components/Table/FrameBox/index.d.ts +3 -3
- package/dist/components/Table/example/demo1.d.ts +2 -2
- package/dist/components/Table/example/demo2.d.ts +2 -2
- package/dist/components/Table/example/demo3.d.ts +2 -2
- package/dist/components/Table/example/demo4.d.ts +2 -2
- package/dist/components/Table/example/demo5.d.ts +2 -2
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/TreeSelect/index.d.ts +1 -1
- package/dist/components/Upload/example/demo1.d.ts +2 -2
- package/dist/components/Upload/example/demo2.d.ts +2 -2
- package/dist/components/Upload/index.d.ts +1 -1
- package/dist/components/Video/example/VideoDemo/demo1.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo2.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo3.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo4.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo5.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo6.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo7.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo8.d.ts +2 -2
- package/dist/components/Video/example/VideoDemo/demo9.d.ts +2 -2
- package/dist/components/Video/index.d.ts +2 -2
- package/dist/components/VideoPlayer/example/demo1.d.ts +2 -2
- package/dist/components/VideoPlayer/example/demo2.d.ts +2 -2
- package/dist/components/VideoPlayer/index.d.ts +1 -1
- package/dist/components/VideoPlayer/xgplayer.d.ts +1 -1
- package/dist/components/WDatePicker/index.d.ts +1 -1
- package/dist/components/WForm/example/demo1.d.ts +2 -2
- package/dist/components/WForm/example/demo2.d.ts +2 -2
- package/dist/components/WForm/example/demo3.d.ts +2 -2
- package/dist/components/WForm/index.d.ts +3 -3
- package/dist/components/Wcharts/LineEcharts/index.d.ts +3 -3
- package/dist/components/Wcharts/WaterLevelCharts/index.d.ts +3 -3
- package/dist/components/useEventEmitter/example/demo1.d.ts +2 -2
- package/dist/components/useStateWithCall/example/demo1.d.ts +2 -2
- package/dist/components/wTracing/example/demo1.d.ts +2 -2
- package/dist/components/whox/example/demo1.d.ts +2 -2
- package/dist/components/wmox/example/demo1.d.ts +2 -2
- package/dist/hooks/useCallbackRef.d.ts +6 -0
- package/dist/hooks/useForceUpdate.d.ts +3 -0
- package/dist/hooks/whox.d.ts +3 -3
- package/dist/hooks/wmox.d.ts +2 -2
- package/dist/index.css +125 -168
- package/dist/index.esm.css +125 -168
- package/dist/index.esm.js +27945 -2723
- package/dist/index.js +27954 -2733
- package/dist/utils/event.d.ts +3 -3
- package/dist/utils/useModelPlugin/Provider.d.ts +4 -0
- package/dist/utils/useModelPlugin/composeRootApp.d.ts +2 -0
- package/dist/utils/useModelPlugin/helpers/dispatcher.d.ts +5 -0
- package/dist/utils/useModelPlugin/helpers/executor.d.ts +7 -0
- package/dist/utils/useModelPlugin/helpers/storeContext.d.ts +3 -0
- package/dist/utils/useModelPlugin/index.d.ts +5 -0
- package/dist/utils/useModelPlugin/useModel.d.ts +1 -0
- package/package.json +1 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export default function Tab4(): JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export default function Tab4(): React.JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export default function Tab4(): JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export default function Tab4(): React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import 'moment/locale/zh-cn';
|
3
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
3
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
4
4
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { FC } from 'react';
|
2
2
|
import { CascaderProps } from 'antd/lib/Cascader';
|
3
|
-
export
|
3
|
+
export type ICascader = {
|
4
4
|
request?: () => Promise<any>;
|
5
|
-
onLoad?: (options
|
5
|
+
onLoad?: (options?: Record<string, any>[]) => void;
|
6
6
|
params?: Record<string, any>;
|
7
|
-
}
|
7
|
+
} & CascaderProps<any>;
|
8
8
|
declare const WCascader: FC<ICascader>;
|
9
9
|
export default WCascader;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { CheckboxProps, CheckboxGroupProps } from 'antd/lib/Checkbox';
|
3
3
|
export interface ICheckbox extends CheckboxProps {
|
4
4
|
}
|
5
|
-
export
|
5
|
+
export type IndexComponent = React.FC<ICheckbox> & {
|
6
6
|
Group: React.FC<CheckboxGroupProps>;
|
7
7
|
};
|
8
8
|
declare const Index: IndexComponent;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { DatePickerProps, RangePickerProps } from 'antd/lib/date-picker';
|
3
3
|
import 'moment/locale/zh-cn';
|
4
|
-
export
|
4
|
+
export type IRangePickerProps = RangePickerProps & {
|
5
5
|
getRangePickerValue?: (value: any) => void;
|
6
6
|
panelType?: string;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type IndexComponent = React.FC<DatePickerProps> & {
|
9
9
|
RangePicker: React.FC<IRangePickerProps>;
|
10
10
|
};
|
11
11
|
declare const Index: IndexComponent;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
title?: string | ReactNode;
|
4
4
|
children?: string | ReactNode;
|
5
5
|
closeIcon?: ReactNode;
|
@@ -10,5 +10,5 @@ declare type Props = {
|
|
10
10
|
className?: string;
|
11
11
|
style?: React.CSSProperties;
|
12
12
|
};
|
13
|
-
export default function DragBox({ title, children, closeIcon, onClose, visible, isDrag, isResize, className, style, }: Props): JSX.Element;
|
13
|
+
export default function DragBox({ title, children, closeIcon, onClose, visible, isDrag, isResize, className, style, }: Props): React.JSX.Element;
|
14
14
|
export {};
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { InputProps, TextAreaProps } from 'antd/lib/input';
|
3
3
|
export interface IInputProps extends InputProps {
|
4
4
|
}
|
5
|
-
export
|
5
|
+
export type IndexComponent = React.FC<IInputProps> & {
|
6
6
|
TextArea: React.FC<TextAreaProps>;
|
7
7
|
Button: React.FC<any>;
|
8
8
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
title?: string | ReactNode;
|
4
4
|
onOk?: (e: any) => void;
|
5
5
|
onCancel?: (e: any) => void;
|
@@ -19,5 +19,5 @@ declare type Props = {
|
|
19
19
|
children?: ReactNode;
|
20
20
|
ref?: any;
|
21
21
|
};
|
22
|
-
declare const _default: React.ForwardRefExoticComponent<
|
22
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<unknown>>;
|
23
23
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
title?: string | ReactNode;
|
4
4
|
onOk?: (e: any) => void;
|
5
5
|
onCancel?: (e: any) => void;
|
@@ -19,6 +19,7 @@ declare type Props = {
|
|
19
19
|
className?: string;
|
20
20
|
ref?: any;
|
21
21
|
style?: React.CSSProperties;
|
22
|
+
children?: ReactNode;
|
22
23
|
};
|
23
24
|
declare class Modal extends React.PureComponent<Props> {
|
24
25
|
static show: (config: any) => {
|
@@ -29,12 +30,12 @@ declare class Modal extends React.PureComponent<Props> {
|
|
29
30
|
} | undefined;
|
30
31
|
static hidden: () => void;
|
31
32
|
static destory: () => void;
|
32
|
-
renderFooter: () => JSX.Element | null;
|
33
|
+
renderFooter: () => React.JSX.Element | null;
|
33
34
|
containerRef: React.RefObject<any>;
|
34
35
|
titleRef: React.RefObject<any>;
|
35
|
-
renderTop: () => JSX.Element;
|
36
|
+
renderTop: () => React.JSX.Element;
|
36
37
|
componentDidMount(): void;
|
37
|
-
renderContent: () =>
|
38
|
-
render(): JSX.Element;
|
38
|
+
renderContent: () => any;
|
39
|
+
render(): React.JSX.Element;
|
39
40
|
}
|
40
41
|
export default Modal;
|
@@ -5,5 +5,5 @@ export interface IFormInstance extends MutableRefObject<FormInstance> {
|
|
5
5
|
resetFields?: () => void;
|
6
6
|
setFieldsValue?: (record: Record<string, any>) => void;
|
7
7
|
}
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Record<string, any>, "ref"> & React.RefAttributes<unknown>>;
|
9
9
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
title?: string | ReactNode;
|
4
4
|
onOk?: (e: any) => void;
|
5
5
|
onCancel?: (e: any) => void;
|
@@ -15,5 +15,5 @@ declare type Props = {
|
|
15
15
|
style?: React.CSSProperties;
|
16
16
|
children?: ReactNode;
|
17
17
|
};
|
18
|
-
export default function DialogModel(props: Props):
|
18
|
+
export default function DialogModel(props: Props): any;
|
19
19
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
title?: string | ReactNode;
|
4
4
|
onOk?: (e: any) => void;
|
5
5
|
onCancel?: (e: any) => void;
|
@@ -24,9 +24,9 @@ declare class Modal extends React.PureComponent<Props> {
|
|
24
24
|
destory(): void;
|
25
25
|
} | undefined;
|
26
26
|
static hidden: () => void;
|
27
|
-
renderFooter: () => JSX.Element | null;
|
28
|
-
renderTop: () => JSX.Element;
|
29
|
-
renderContent: () =>
|
30
|
-
render(): JSX.Element;
|
27
|
+
renderFooter: () => React.JSX.Element | null;
|
28
|
+
renderTop: () => React.JSX.Element;
|
29
|
+
renderContent: () => any;
|
30
|
+
render(): React.JSX.Element;
|
31
31
|
}
|
32
32
|
export default Modal;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
import './index.less';
|
3
|
-
|
3
|
+
type Props = {
|
4
4
|
className?: string;
|
5
5
|
frameStyle?: Record<string, any>;
|
6
6
|
style?: Record<string, any>;
|
7
7
|
children: ReactNode;
|
8
8
|
direction?: 'in' | 'out';
|
9
9
|
};
|
10
|
-
export default function FrameBox({ className, frameStyle, style, direction, children, ...props }: Props): JSX.Element;
|
10
|
+
export default function FrameBox({ className, frameStyle, style, direction, children, ...props }: Props): React.JSX.Element;
|
11
11
|
export {};
|
@@ -25,7 +25,7 @@ interface ColumnProps {
|
|
25
25
|
colSize?: number;
|
26
26
|
initialValue?: any;
|
27
27
|
request?: () => Promise<any>;
|
28
|
-
render?: (text: string, record: Record<string, any>, index: number) => ReactNode;
|
28
|
+
render?: (text: string, record: Record<string, any>, index: number, rIndex: number) => ReactNode;
|
29
29
|
}
|
30
30
|
interface IRowSelection {
|
31
31
|
type: 'checkbox' | 'radio';
|
@@ -58,7 +58,7 @@ interface Iscroll {
|
|
58
58
|
*/
|
59
59
|
y?: string | number;
|
60
60
|
}
|
61
|
-
|
61
|
+
type Props = {
|
62
62
|
className?: string;
|
63
63
|
rowClassName?: (record: Record<string, any>, index: number) => string;
|
64
64
|
style?: React.CSSProperties;
|
@@ -88,11 +88,5 @@ declare type Props = {
|
|
88
88
|
frameBoxDirection?: 'in' | 'out';
|
89
89
|
none?: ReactNode;
|
90
90
|
};
|
91
|
-
declare
|
92
|
-
declare namespace NtTable {
|
93
|
-
var defaultProps: {
|
94
|
-
rowKey: string;
|
95
|
-
};
|
96
|
-
}
|
97
|
-
declare const _default: React.MemoExoticComponent<typeof NtTable>;
|
91
|
+
declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
|
98
92
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
onChange?: (value: string) => void;
|
4
4
|
onBlur?: () => void;
|
5
5
|
disabled?: boolean;
|
@@ -13,6 +13,6 @@ export default class NumericInput extends React.Component<Props> {
|
|
13
13
|
};
|
14
14
|
}) => void;
|
15
15
|
onBlur: () => void;
|
16
|
-
render(): JSX.Element;
|
16
|
+
render(): React.JSX.Element;
|
17
17
|
}
|
18
18
|
export {};
|
@@ -3,7 +3,7 @@ import { RadioProps, RadioGroupProps } from 'antd/lib/Radio';
|
|
3
3
|
export interface IRadio extends RadioProps {
|
4
4
|
sideButtonStyle?: string;
|
5
5
|
}
|
6
|
-
export
|
6
|
+
export type IndexComponent = React.FC<IRadio> & {
|
7
7
|
Group: React.FC<RadioGroupProps>;
|
8
8
|
Button: React.FC<any>;
|
9
9
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
type Props = {
|
3
3
|
option: Record<string, any>;
|
4
4
|
style?: Record<string, any>;
|
5
5
|
onChartReady?: (echarts: any, option: any) => void;
|
@@ -12,5 +12,5 @@ declare type Props = {
|
|
12
12
|
seriesIndex?: number;
|
13
13
|
data?: Array<any>;
|
14
14
|
};
|
15
|
-
declare const _default: React.MemoExoticComponent<({ option, onChartReady, EventsDict, style, ref, autoLoop, duration, seriesIndex, opts, otherProps, }: Props) => JSX.Element>;
|
15
|
+
declare const _default: React.MemoExoticComponent<({ option, onChartReady, EventsDict, style, ref, autoLoop, duration, seriesIndex, opts, otherProps, }: Props) => React.JSX.Element>;
|
16
16
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
3
3
|
export default _default;
|
@@ -9,7 +9,7 @@ export interface ISelect extends SelectProps<any> {
|
|
9
9
|
onLoad?: (options: Record<string, any>[]) => void;
|
10
10
|
children?: ReactNode;
|
11
11
|
}
|
12
|
-
export
|
12
|
+
export type IWSelectComponent = React.FC<ISelect> & {
|
13
13
|
Option?: React.FC<IOptionProps>;
|
14
14
|
};
|
15
15
|
declare const _default: React.NamedExoticComponent<ISelect>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
export default function InputGroup({ value, onChange, onClick, ...props }: any): JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
export default function InputGroup({ value, onChange, onClick, ...props }: any): React.JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Record<string, any>, "ref"> & React.RefAttributes<unknown>>;
|
3
3
|
export default _default;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
import './index.less';
|
3
|
-
|
3
|
+
type Props = {
|
4
4
|
className?: string;
|
5
5
|
frameStyle?: Record<string, any>;
|
6
6
|
style?: Record<string, any>;
|
7
7
|
children: ReactNode;
|
8
8
|
direction?: 'in' | 'out';
|
9
9
|
};
|
10
|
-
export default function FrameBox({ className, frameStyle, style, direction, children, ...props }: Props): JSX.Element;
|
10
|
+
export default function FrameBox({ className, frameStyle, style, direction, children, ...props }: Props): React.JSX.Element;
|
11
11
|
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -25,7 +25,7 @@ interface ColumnProps {
|
|
25
25
|
colSize?: number;
|
26
26
|
initialValue?: any;
|
27
27
|
request?: () => Promise<any>;
|
28
|
-
render?: (text: string, record: Record<string, any>, index: number) => ReactNode;
|
28
|
+
render?: (text: string, record: Record<string, any>, index: number, rowIndex: number) => ReactNode;
|
29
29
|
}
|
30
30
|
interface IRowSelection {
|
31
31
|
type: 'checkbox' | 'radio';
|
@@ -58,7 +58,7 @@ interface Iscroll {
|
|
58
58
|
*/
|
59
59
|
y?: string | number;
|
60
60
|
}
|
61
|
-
|
61
|
+
type Props = {
|
62
62
|
className?: string;
|
63
63
|
rowClassName?: (record: Record<string, any>, index: number) => string;
|
64
64
|
style?: React.CSSProperties;
|
@@ -88,7 +88,7 @@ declare type Props = {
|
|
88
88
|
frameBoxDirection?: 'in' | 'out';
|
89
89
|
none?: ReactNode;
|
90
90
|
};
|
91
|
-
declare function Table({ columns, dataSource: tableList, request, onLoad, params, onSubmit, rowKey, onRow, className, rowClassName, rowSelection, style, tbodyStyle, thStyle, border, scroll, pagination, search, frameBoxTable, frameBoxDirection, formRef, none, ...props }: Props): JSX.Element;
|
91
|
+
declare function Table({ columns, dataSource: tableList, request, onLoad, params, onSubmit, rowKey, onRow, className, rowClassName, rowSelection, style, tbodyStyle, thStyle, border, scroll, pagination, search, frameBoxTable, frameBoxDirection, formRef, none, ...props }: Props): React.JSX.Element;
|
92
92
|
declare namespace Table {
|
93
93
|
var defaultProps: {
|
94
94
|
rowKey: string;
|
@@ -10,7 +10,7 @@ interface TreeSelectProps<T> extends Props<T> {
|
|
10
10
|
params?: Record<string, any>;
|
11
11
|
children?: ReactNode;
|
12
12
|
}
|
13
|
-
export
|
13
|
+
export type IndexComponent = React.FC<TreeSelectProps<any>> & {
|
14
14
|
TreeNode?: React.FC<any>;
|
15
15
|
};
|
16
16
|
declare let Index: IndexComponent;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
1
|
+
import React, { CSSProperties } from 'react';
|
2
2
|
import { IPlayerOptions } from 'xgplayer';
|
3
3
|
/** 清晰度视频项目,name 为清晰度,url 为视频源 */
|
4
4
|
export interface DefinitionItemProps {
|
@@ -31,5 +31,5 @@ interface VideoProps extends Omit<IPlayerOptions, 'url' | 'loop'> {
|
|
31
31
|
style?: CSSProperties;
|
32
32
|
className?: string;
|
33
33
|
}
|
34
|
-
declare const _default: ({ id, videoUrls, definitionList, isLoop, muted, currentIndex: parentIndex, setCurrentIndex: setParentIndex, className, style, visible, autoplay, videoInit, enableMemory, lastPlayTimeHideDelay, ...props }: VideoProps) => JSX.Element;
|
34
|
+
declare const _default: ({ id, videoUrls, definitionList, isLoop, muted, currentIndex: parentIndex, setCurrentIndex: setParentIndex, className, style, visible, autoplay, videoInit, enableMemory, lastPlayTimeHideDelay, ...props }: VideoProps) => React.JSX.Element;
|
35
35
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
3
3
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { DatePickerProps, RangePickerProps } from 'antd/lib/date-picker';
|
3
3
|
import 'moment/locale/zh-cn';
|
4
|
-
export
|
4
|
+
export type IndexComponent = React.FC<DatePickerProps> & {
|
5
5
|
RangePicker: React.FC<RangePickerProps>;
|
6
6
|
showTime: Object | boolean;
|
7
7
|
};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
declare const _default: () => JSX.Element;
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: () => React.JSX.Element;
|
3
3
|
export default _default;
|