doui-react 2.0.6 → 2.0.7
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/es/api/component/global-style.js +1 -1
- package/es/form/component/utils.d.ts +13 -13
- package/es/grid/component/pagination.d.ts +12 -12
- package/es/icon/hook/index.d.ts +95 -95
- package/es/open-modal/component/modal.js +5 -15
- package/es/open-modal/style/index.js +1 -1
- package/es/open-modal/style/wrap.js +1 -1
- package/es/radio/component/abstract-box.d.ts +37 -37
- package/es/table/component/table.js +3 -2
- package/es/tabs/component/utils.d.ts +6 -6
- package/es/tooltip/component/index.d.ts +13 -14
- package/lib/api/component/global-style.js +1 -1
- package/lib/form/component/utils.d.ts +13 -13
- package/lib/grid/component/pagination.d.ts +12 -12
- package/lib/icon/hook/index.d.ts +95 -95
- package/lib/open-modal/component/modal.js +3 -13
- package/lib/open-modal/style/index.js +1 -1
- package/lib/open-modal/style/wrap.js +1 -1
- package/lib/radio/component/abstract-box.d.ts +37 -37
- package/lib/table/component/table.js +2 -1
- package/lib/tabs/component/utils.d.ts +6 -6
- package/lib/tooltip/component/index.d.ts +13 -14
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
8
8
|
color?: string | undefined;
|
|
9
9
|
title?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
10
10
|
overlay?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
11
|
-
styles?: Partial<Record<"
|
|
12
|
-
classNames?: Partial<Record<"
|
|
11
|
+
styles?: Partial<Record<"root" | "body", import("react").CSSProperties>> | undefined;
|
|
12
|
+
classNames?: Partial<Record<"root" | "body", string>> | undefined;
|
|
13
13
|
style?: import("react").CSSProperties | undefined;
|
|
14
14
|
className?: string | undefined;
|
|
15
15
|
rootClassName?: string | undefined;
|
|
@@ -36,22 +36,22 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
36
36
|
defaultVisible?: boolean | undefined;
|
|
37
37
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
38
38
|
afterVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
39
|
-
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
40
|
-
id?: string | undefined;
|
|
41
|
-
prefixCls?: string | undefined;
|
|
42
39
|
zIndex?: number | undefined;
|
|
43
40
|
animation?: string | undefined;
|
|
44
41
|
motion?: import("rc-motion").CSSMotionProps | undefined;
|
|
45
42
|
transitionName?: string | undefined;
|
|
46
|
-
|
|
47
|
-
mouseLeaveDelay?: number | undefined;
|
|
48
|
-
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
49
|
-
overlayClassName?: string | undefined;
|
|
50
|
-
overlayStyle?: import("react").CSSProperties | undefined;
|
|
51
|
-
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
52
|
-
popupVisible?: boolean | undefined;
|
|
43
|
+
prefixCls?: string | undefined;
|
|
53
44
|
forceRender?: boolean | undefined;
|
|
45
|
+
id?: string | undefined;
|
|
46
|
+
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
47
|
+
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
54
48
|
fresh?: boolean | undefined;
|
|
49
|
+
mouseLeaveDelay?: number | undefined;
|
|
50
|
+
mouseEnterDelay?: number | undefined;
|
|
51
|
+
popupVisible?: boolean | undefined;
|
|
52
|
+
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
53
|
+
overlayStyle?: import("react").CSSProperties | undefined;
|
|
54
|
+
overlayClassName?: string | undefined;
|
|
55
55
|
getTooltipContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
56
56
|
showArrow?: boolean | import("@rc-component/trigger").ArrowType | undefined;
|
|
57
57
|
arrowContent?: import("react").ReactNode;
|
|
@@ -65,49 +65,50 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
65
65
|
value?: any;
|
|
66
66
|
boxTooltip?: import("react").ReactNode | import("antd").TooltipProps;
|
|
67
67
|
inGroup?: boolean | undefined;
|
|
68
|
-
title?: string | undefined;
|
|
69
68
|
className?: string | undefined;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
style?: import("react").CSSProperties | undefined;
|
|
70
|
+
title?: string | undefined;
|
|
71
|
+
prefixCls?: string | undefined;
|
|
72
|
+
rootClassName?: string | undefined;
|
|
73
73
|
name?: string | undefined;
|
|
74
|
-
required?: boolean | undefined;
|
|
75
74
|
defaultChecked?: boolean | undefined;
|
|
76
75
|
autoFocus?: boolean | undefined;
|
|
77
76
|
id?: string | undefined;
|
|
78
|
-
style?: import("react").CSSProperties | undefined;
|
|
79
77
|
tabIndex?: number | undefined;
|
|
80
78
|
onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
81
79
|
onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
82
80
|
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
83
81
|
onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
84
82
|
onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
disabled?: boolean | undefined;
|
|
84
|
+
type?: string | undefined;
|
|
85
|
+
checked?: boolean | undefined;
|
|
86
|
+
required?: boolean | undefined;
|
|
87
87
|
indeterminate?: boolean | undefined;
|
|
88
88
|
skipGroup?: boolean | undefined;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
color?: string | undefined;
|
|
90
|
+
content?: string | undefined;
|
|
91
|
+
direction?: import("antd/es/config-provider").DirectionType;
|
|
92
|
+
translate?: "yes" | "no" | undefined;
|
|
93
|
+
onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
92
94
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
93
95
|
suppressContentEditableWarning?: boolean | undefined;
|
|
94
96
|
suppressHydrationWarning?: boolean | undefined;
|
|
95
97
|
accessKey?: string | undefined;
|
|
96
98
|
autoCapitalize?: (string & {}) | "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
97
|
-
contentEditable?:
|
|
99
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
98
100
|
contextMenu?: string | undefined;
|
|
99
101
|
dir?: string | undefined;
|
|
100
102
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
101
|
-
enterKeyHint?: "
|
|
103
|
+
enterKeyHint?: "done" | "enter" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
104
|
+
hidden?: boolean | undefined;
|
|
102
105
|
lang?: string | undefined;
|
|
103
106
|
nonce?: string | undefined;
|
|
104
107
|
slot?: string | undefined;
|
|
105
108
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
106
|
-
translate?: "yes" | "no" | undefined;
|
|
107
109
|
radioGroup?: string | undefined;
|
|
108
110
|
role?: import("react").AriaRole | undefined;
|
|
109
111
|
about?: string | undefined;
|
|
110
|
-
content?: string | undefined;
|
|
111
112
|
datatype?: string | undefined;
|
|
112
113
|
inlist?: any;
|
|
113
114
|
prefix?: string | undefined;
|
|
@@ -119,7 +120,6 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
119
120
|
vocab?: string | undefined;
|
|
120
121
|
autoCorrect?: string | undefined;
|
|
121
122
|
autoSave?: string | undefined;
|
|
122
|
-
color?: string | undefined;
|
|
123
123
|
itemProp?: string | undefined;
|
|
124
124
|
itemScope?: boolean | undefined;
|
|
125
125
|
itemType?: string | undefined;
|
|
@@ -128,13 +128,13 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
128
128
|
results?: number | undefined;
|
|
129
129
|
security?: string | undefined;
|
|
130
130
|
unselectable?: "off" | "on" | undefined;
|
|
131
|
-
inputMode?: "
|
|
131
|
+
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
132
132
|
is?: string | undefined;
|
|
133
133
|
exportparts?: string | undefined;
|
|
134
134
|
part?: string | undefined;
|
|
135
135
|
"aria-activedescendant"?: string | undefined;
|
|
136
136
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
137
|
-
"aria-autocomplete"?: "
|
|
137
|
+
"aria-autocomplete"?: "inline" | "none" | "list" | "both" | undefined;
|
|
138
138
|
"aria-braillelabel"?: string | undefined;
|
|
139
139
|
"aria-brailleroledescription"?: string | undefined;
|
|
140
140
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -144,17 +144,17 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
144
144
|
"aria-colindextext"?: string | undefined;
|
|
145
145
|
"aria-colspan"?: number | undefined;
|
|
146
146
|
"aria-controls"?: string | undefined;
|
|
147
|
-
"aria-current"?: boolean | "
|
|
147
|
+
"aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
|
|
148
148
|
"aria-describedby"?: string | undefined;
|
|
149
149
|
"aria-description"?: string | undefined;
|
|
150
150
|
"aria-details"?: string | undefined;
|
|
151
151
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
152
|
-
"aria-dropeffect"?: "
|
|
152
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
153
153
|
"aria-errormessage"?: string | undefined;
|
|
154
154
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
155
155
|
"aria-flowto"?: string | undefined;
|
|
156
156
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
157
|
-
"aria-haspopup"?: boolean | "
|
|
157
|
+
"aria-haspopup"?: boolean | "grid" | "true" | "false" | "dialog" | "listbox" | "menu" | "tree" | undefined;
|
|
158
158
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
159
159
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
160
160
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -165,13 +165,13 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
165
165
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
166
166
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
167
167
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
168
|
-
"aria-orientation"?: "
|
|
168
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
169
169
|
"aria-owns"?: string | undefined;
|
|
170
170
|
"aria-placeholder"?: string | undefined;
|
|
171
171
|
"aria-posinset"?: number | undefined;
|
|
172
172
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
173
173
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
174
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "
|
|
174
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
175
175
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
176
176
|
"aria-roledescription"?: string | undefined;
|
|
177
177
|
"aria-rowcount"?: number | undefined;
|
|
@@ -209,7 +209,6 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
209
209
|
onInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
210
210
|
onReset?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
211
211
|
onResetCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
212
|
-
onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
213
212
|
onSubmitCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
214
213
|
onInvalid?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
215
214
|
onInvalidCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
@@ -298,6 +297,7 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
298
297
|
onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
299
298
|
onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
300
299
|
onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
300
|
+
onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
301
301
|
onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
302
302
|
onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
303
303
|
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
@@ -337,8 +337,8 @@ export declare function useAbstractBox({ refs, boxTooltip, value, onChange, inGr
|
|
|
337
337
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
338
338
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
339
339
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
340
|
-
direction?: import("antd/es/config-provider").DirectionType;
|
|
341
340
|
tooltip?: import("react").ReactNode | import("antd").TooltipProps;
|
|
341
|
+
rows?: number | false | undefined;
|
|
342
342
|
autoShowTooltip?: boolean | undefined;
|
|
343
343
|
refs?: import("../../api").Refs | undefined;
|
|
344
344
|
ref: import("../../api").Refs | undefined;
|
|
@@ -7,11 +7,12 @@ var _excluded = ["rowKey", "loading", "columns", "dataSource", "editorValueKey"]
|
|
|
7
7
|
_excluded2 = ["onlyLoading"],
|
|
8
8
|
_excluded3 = ["onRowClick", "width", "emptyText"],
|
|
9
9
|
_excluded4 = ["useFormWrapper", "context", "maxHeight"];
|
|
10
|
-
import { executeFunction, includesNonStrictMode } from "../../api";
|
|
10
|
+
import { executeFunction, getClassName, includesNonStrictMode } from "../../api";
|
|
11
11
|
import { Empty } from "../../empty";
|
|
12
12
|
import { Form, useFormContext } from "../../form";
|
|
13
13
|
import { useListOperation } from "../../hooks";
|
|
14
14
|
import { TableProvider, useSearchColumn } from "./..";
|
|
15
|
+
import { cx } from '@emotion/css';
|
|
15
16
|
import _ from 'lodash';
|
|
16
17
|
import { useEffect, useState } from 'react';
|
|
17
18
|
import { useSetState } from 'react-use';
|
|
@@ -233,7 +234,7 @@ export function Table(props) {
|
|
|
233
234
|
}
|
|
234
235
|
return _jsx("div", {
|
|
235
236
|
css: styles.wrapper(maxHeight),
|
|
236
|
-
className: formProps.className,
|
|
237
|
+
className: cx(getClassName('table-wrapper'), formProps.className),
|
|
237
238
|
style: formProps.style,
|
|
238
239
|
children: _jsx(TableBody, _objectSpread({}, restProps))
|
|
239
240
|
});
|
|
@@ -6,17 +6,17 @@ export declare function getRenderTabBar({ type, items, size, tabBarGutter, tabBa
|
|
|
6
6
|
export declare function generateTabItems({ items }: TabsProps): {
|
|
7
7
|
label: import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
8
|
key: string;
|
|
9
|
+
children?: import("react").ReactNode;
|
|
9
10
|
className?: string | undefined;
|
|
10
|
-
disabled?: boolean | undefined;
|
|
11
|
-
id?: string | undefined;
|
|
12
11
|
style?: import("react").CSSProperties | undefined;
|
|
13
|
-
children?: import("react").ReactNode;
|
|
14
|
-
prefixCls?: string | undefined;
|
|
15
12
|
closable?: boolean | undefined;
|
|
13
|
+
prefixCls?: string | undefined;
|
|
16
14
|
closeIcon?: import("react").ReactNode;
|
|
17
|
-
active?: boolean | undefined;
|
|
18
|
-
icon?: import("react").ReactNode;
|
|
19
15
|
forceRender?: boolean | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
icon?: import("react").ReactNode;
|
|
19
|
+
active?: boolean | undefined;
|
|
20
20
|
destroyInactiveTabPane?: boolean | undefined;
|
|
21
21
|
animated?: boolean | undefined;
|
|
22
22
|
tabKey?: string | undefined;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { getPopupContainer } from "../../api";
|
|
3
2
|
import { TooltipProps } from "..";
|
|
4
3
|
export declare const tooltipOverlayClassName: string;
|
|
5
4
|
export declare function getTooltipProps(props: TooltipProps): {
|
|
6
5
|
color?: string | undefined;
|
|
7
6
|
title?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
8
7
|
overlay?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
9
|
-
styles?: Partial<Record<"
|
|
10
|
-
classNames: Partial<Record<"
|
|
8
|
+
styles?: Partial<Record<"root" | "body", import("react").CSSProperties>> | undefined;
|
|
9
|
+
classNames: Partial<Record<"root" | "body", string>>;
|
|
11
10
|
style?: import("react").CSSProperties | undefined;
|
|
12
11
|
className?: string | undefined;
|
|
13
12
|
rootClassName?: string | undefined;
|
|
@@ -20,7 +19,7 @@ export declare function getTooltipProps(props: TooltipProps): {
|
|
|
20
19
|
pointAtCenter?: boolean | undefined;
|
|
21
20
|
};
|
|
22
21
|
autoAdjustOverflow?: boolean | import("antd/es/tooltip").AdjustOverflow | undefined;
|
|
23
|
-
getPopupContainer:
|
|
22
|
+
getPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
|
|
24
23
|
children?: import("react").ReactNode;
|
|
25
24
|
destroyTooltipOnHide?: boolean | {
|
|
26
25
|
keepParent?: boolean | undefined;
|
|
@@ -34,22 +33,22 @@ export declare function getTooltipProps(props: TooltipProps): {
|
|
|
34
33
|
defaultVisible?: boolean | undefined;
|
|
35
34
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
36
35
|
afterVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
37
|
-
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
prefixCls?: string | undefined;
|
|
40
36
|
zIndex?: number | undefined;
|
|
41
37
|
animation?: string | undefined;
|
|
42
38
|
motion?: import("rc-motion").CSSMotionProps | undefined;
|
|
43
39
|
transitionName?: string | undefined;
|
|
44
|
-
|
|
45
|
-
mouseLeaveDelay?: number | undefined;
|
|
46
|
-
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
47
|
-
overlayClassName?: string | undefined;
|
|
48
|
-
overlayStyle?: import("react").CSSProperties | undefined;
|
|
49
|
-
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
50
|
-
popupVisible?: boolean | undefined;
|
|
40
|
+
prefixCls?: string | undefined;
|
|
51
41
|
forceRender?: boolean | undefined;
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
44
|
+
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
52
45
|
fresh?: boolean | undefined;
|
|
46
|
+
mouseLeaveDelay?: number | undefined;
|
|
47
|
+
mouseEnterDelay?: number | undefined;
|
|
48
|
+
popupVisible?: boolean | undefined;
|
|
49
|
+
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
50
|
+
overlayStyle?: import("react").CSSProperties | undefined;
|
|
51
|
+
overlayClassName?: string | undefined;
|
|
53
52
|
getTooltipContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
54
53
|
showArrow?: boolean | import("@rc-component/trigger").ArrowType | undefined;
|
|
55
54
|
arrowContent?: import("react").ReactNode;
|
|
@@ -11,7 +11,7 @@ var _css = require("@emotion/css");
|
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
12
|
var _templateObject, _templateObject2, _templateObject3;
|
|
13
13
|
var commonStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n &.do-hide-scroll {\n overflow: hidden !important;\n }\n"])));
|
|
14
|
-
(0, _css.injectGlobal)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n body {\n ", "\n }\n"])), commonStyle);
|
|
14
|
+
(0, _css.injectGlobal)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n body {\n ", "\n }\n\n [class*='do-'] {\n * {\n box-sizing: border-box;\n }\n }\n"])), commonStyle);
|
|
15
15
|
var flexStyle = exports.flexStyle = function flexStyle(_ref) {
|
|
16
16
|
var vertical = _ref.vertical,
|
|
17
17
|
_ref$gap = _ref.gap,
|
|
@@ -12,8 +12,8 @@ export declare function getFormItemProps(props: any): {
|
|
|
12
12
|
color?: string | undefined;
|
|
13
13
|
title?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
14
14
|
overlay?: import("react").ReactNode | import("antd/es/_util/getRenderPropValue").RenderFunction;
|
|
15
|
-
styles?: Partial<Record<"
|
|
16
|
-
classNames: Partial<Record<"
|
|
15
|
+
styles?: Partial<Record<"root" | "body", import("react").CSSProperties>> | undefined;
|
|
16
|
+
classNames: Partial<Record<"root" | "body", string>>;
|
|
17
17
|
rootClassName?: string | undefined;
|
|
18
18
|
placement?: import("antd/es/tooltip").TooltipPlacement | undefined;
|
|
19
19
|
builtinPlacements?: import("@rc-component/trigger").BuildInPlacements | undefined;
|
|
@@ -24,7 +24,7 @@ export declare function getFormItemProps(props: any): {
|
|
|
24
24
|
pointAtCenter?: boolean | undefined;
|
|
25
25
|
};
|
|
26
26
|
autoAdjustOverflow?: boolean | import("antd/es/tooltip").AdjustOverflow | undefined;
|
|
27
|
-
getPopupContainer:
|
|
27
|
+
getPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
|
|
28
28
|
children?: import("react").ReactNode;
|
|
29
29
|
destroyTooltipOnHide?: boolean | {
|
|
30
30
|
keepParent?: boolean | undefined;
|
|
@@ -38,22 +38,22 @@ export declare function getFormItemProps(props: any): {
|
|
|
38
38
|
defaultVisible?: boolean | undefined;
|
|
39
39
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
40
40
|
afterVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
41
|
-
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
42
|
-
id?: string | undefined;
|
|
43
|
-
prefixCls?: string | undefined;
|
|
44
41
|
zIndex?: number | undefined;
|
|
45
42
|
animation?: string | undefined;
|
|
46
43
|
motion?: import("rc-motion").CSSMotionProps | undefined;
|
|
47
44
|
transitionName?: string | undefined;
|
|
48
|
-
|
|
49
|
-
mouseLeaveDelay?: number | undefined;
|
|
50
|
-
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
51
|
-
overlayClassName?: string | undefined;
|
|
52
|
-
overlayStyle?: import("react").CSSProperties | undefined;
|
|
53
|
-
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
54
|
-
popupVisible?: boolean | undefined;
|
|
45
|
+
prefixCls?: string | undefined;
|
|
55
46
|
forceRender?: boolean | undefined;
|
|
47
|
+
id?: string | undefined;
|
|
48
|
+
align?: import("@rc-component/trigger").AlignType | undefined;
|
|
49
|
+
onPopupAlign?: ((element: HTMLElement, align: import("@rc-component/trigger").AlignType) => void) | undefined;
|
|
56
50
|
fresh?: boolean | undefined;
|
|
51
|
+
mouseLeaveDelay?: number | undefined;
|
|
52
|
+
mouseEnterDelay?: number | undefined;
|
|
53
|
+
popupVisible?: boolean | undefined;
|
|
54
|
+
trigger?: import("@rc-component/trigger").ActionType | import("@rc-component/trigger").ActionType[] | undefined;
|
|
55
|
+
overlayStyle?: import("react").CSSProperties | undefined;
|
|
56
|
+
overlayClassName?: string | undefined;
|
|
57
57
|
getTooltipContainer?: ((node: HTMLElement) => HTMLElement) | undefined;
|
|
58
58
|
showArrow?: boolean | import("@rc-component/trigger").ArrowType | undefined;
|
|
59
59
|
arrowContent?: import("react").ReactNode;
|
|
@@ -11,11 +11,11 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
11
11
|
current: number;
|
|
12
12
|
total: number;
|
|
13
13
|
onChange: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
14
|
-
position?: ("none" | "
|
|
14
|
+
position?: ("none" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter")[] | undefined;
|
|
15
15
|
showQuickJumper?: boolean | {
|
|
16
16
|
goButton?: import("react").ReactNode;
|
|
17
17
|
} | undefined;
|
|
18
|
-
size?: "
|
|
18
|
+
size?: "small" | "default" | undefined;
|
|
19
19
|
responsive?: boolean | undefined;
|
|
20
20
|
role?: string | undefined;
|
|
21
21
|
totalBoundaryShowSizeChanger?: number | undefined;
|
|
@@ -24,12 +24,11 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
24
24
|
selectComponentClass?: any;
|
|
25
25
|
pageSizeOptions?: (string | number)[] | undefined;
|
|
26
26
|
className?: string | undefined;
|
|
27
|
-
align?: "start" | "end" | "center" | undefined;
|
|
28
|
-
disabled?: boolean | undefined;
|
|
29
27
|
style?: import("react").CSSProperties | undefined;
|
|
28
|
+
prefixCls?: string | undefined;
|
|
30
29
|
"aria-activedescendant"?: string | undefined;
|
|
31
30
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
32
|
-
"aria-autocomplete"?: "
|
|
31
|
+
"aria-autocomplete"?: "inline" | "none" | "list" | "both" | undefined;
|
|
33
32
|
"aria-braillelabel"?: string | undefined;
|
|
34
33
|
"aria-brailleroledescription"?: string | undefined;
|
|
35
34
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -39,17 +38,17 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
39
38
|
"aria-colindextext"?: string | undefined;
|
|
40
39
|
"aria-colspan"?: number | undefined;
|
|
41
40
|
"aria-controls"?: string | undefined;
|
|
42
|
-
"aria-current"?: boolean | "
|
|
41
|
+
"aria-current"?: boolean | "page" | "true" | "false" | "step" | "location" | "date" | "time" | undefined;
|
|
43
42
|
"aria-describedby"?: string | undefined;
|
|
44
43
|
"aria-description"?: string | undefined;
|
|
45
44
|
"aria-details"?: string | undefined;
|
|
46
45
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
47
|
-
"aria-dropeffect"?: "
|
|
46
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
48
47
|
"aria-errormessage"?: string | undefined;
|
|
49
48
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
50
49
|
"aria-flowto"?: string | undefined;
|
|
51
50
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
52
|
-
"aria-haspopup"?: boolean | "
|
|
51
|
+
"aria-haspopup"?: boolean | "grid" | "true" | "false" | "dialog" | "listbox" | "menu" | "tree" | undefined;
|
|
53
52
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
54
53
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
55
54
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -60,13 +59,13 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
60
59
|
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
61
60
|
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
62
61
|
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-orientation"?: "
|
|
62
|
+
"aria-orientation"?: "vertical" | "horizontal" | undefined;
|
|
64
63
|
"aria-owns"?: string | undefined;
|
|
65
64
|
"aria-placeholder"?: string | undefined;
|
|
66
65
|
"aria-posinset"?: number | undefined;
|
|
67
66
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
68
67
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
69
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "
|
|
68
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
70
69
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
71
70
|
"aria-roledescription"?: string | undefined;
|
|
72
71
|
"aria-rowcount"?: number | undefined;
|
|
@@ -80,7 +79,8 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
80
79
|
"aria-valuemin"?: number | undefined;
|
|
81
80
|
"aria-valuenow"?: number | undefined;
|
|
82
81
|
"aria-valuetext"?: string | undefined;
|
|
83
|
-
|
|
82
|
+
disabled?: boolean | undefined;
|
|
83
|
+
align?: "start" | "end" | "center" | undefined;
|
|
84
84
|
locale?: import("rc-pagination").PaginationLocale | undefined;
|
|
85
85
|
prevIcon?: import("react").ReactNode | import("react").ComponentType<{}>;
|
|
86
86
|
nextIcon?: import("react").ReactNode | import("react").ComponentType<{}>;
|
|
@@ -98,7 +98,7 @@ export declare function usePagination({ data, rows, column, pagination }: Pagina
|
|
|
98
98
|
jumpPrevIcon?: import("react").ReactNode | import("react").ComponentType<{}>;
|
|
99
99
|
jumpNextIcon?: import("react").ReactNode | import("react").ComponentType<{}>;
|
|
100
100
|
onShowSizeChange?: ((current: number, size: number) => void) | undefined;
|
|
101
|
-
itemRender?: ((page: number, type: "
|
|
101
|
+
itemRender?: ((page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: import("react").ReactNode) => import("react").ReactNode) | undefined;
|
|
102
102
|
showTotal?: ((total: number, range: [number, number]) => import("react").ReactNode) | undefined;
|
|
103
103
|
justify?: "left" | "right" | "center" | "between" | undefined;
|
|
104
104
|
};
|