@spacego/fe-components 0.3.1 → 0.3.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/README.md +37 -37
- package/lib/fe-form/fe-form/index.js +25 -27
- package/lib/index.css +1 -1
- package/lib/index.js +101 -103
- package/lib/types/fe-auto-complete/auto-complete.d.ts +1 -3
- package/lib/types/fe-button/button.d.ts +13 -15
- package/lib/types/fe-cascader/cascader.d.ts +6 -8
- package/lib/types/fe-checkbox/checkbox.d.ts +4 -6
- package/lib/types/fe-checkbox-group/checkbox-group.d.ts +4 -6
- package/lib/types/fe-date-picker/date-picker.d.ts +2 -4
- package/lib/types/fe-description-render/description-render.d.ts +30 -32
- package/lib/types/fe-descriptions/descriptions.d.ts +1 -3
- package/lib/types/fe-empty/empty.d.ts +1 -3
- package/lib/types/fe-error-block/error-block.d.ts +5 -7
- package/lib/types/fe-form/fe-form/form.d.ts +279 -338
- package/lib/types/fe-form/fe-form-item/form-item.d.ts +64 -66
- package/lib/types/fe-form/fe-form-label/form-label.d.ts +42 -44
- package/lib/types/fe-form/index.d.ts +0 -1
- package/lib/types/fe-input/input.d.ts +10 -12
- package/lib/types/fe-input-number/input-number.d.ts +1 -3
- package/lib/types/fe-layouts/context/global-context.d.ts +238 -240
- package/lib/types/fe-link/link.d.ts +4 -6
- package/lib/types/fe-map/map.d.ts +73 -73
- package/lib/types/fe-modal/modal.d.ts +18 -20
- package/lib/types/fe-pagination/pagination.d.ts +1 -3
- package/lib/types/fe-panel/panel-toolbar.d.ts +3 -5
- package/lib/types/fe-panel/panel.d.ts +58 -60
- package/lib/types/fe-permission/permission.d.ts +9 -11
- package/lib/types/fe-permission-provider/permission-provider.d.ts +6 -8
- package/lib/types/fe-radio/radio.d.ts +1 -3
- package/lib/types/fe-radio-group/radio-group.d.ts +1 -3
- package/lib/types/fe-rich-text/rich-text.d.ts +165 -167
- package/lib/types/fe-select/select.d.ts +7 -9
- package/lib/types/fe-switch/switch.d.ts +1 -3
- package/lib/types/fe-table/fe-table-link/table-link.d.ts +8 -10
- package/lib/types/fe-table/fe-table-render/table-render.d.ts +10 -12
- package/lib/types/fe-table/fe-table-toolbar/table-toolbar.d.ts +14 -16
- package/lib/types/fe-table/fe-table-utils/index.d.ts +4 -4
- package/lib/types/fe-table/type/table-context.d.ts +60 -60
- package/lib/types/fe-table/type/table.d.ts +787 -789
- package/lib/types/fe-text-area/text-area.d.ts +3 -5
- package/lib/types/fe-time-picker/time-picker.d.ts +2 -4
- package/lib/types/fe-upload/upload.d.ts +81 -83
- package/lib/types/fe-upload-atomic/upload-atomic.d.ts +1 -3
- package/lib/types/hooks/use-descriptions.hook/use-descriptions.d.ts +149 -151
- package/lib/types/hooks/use-form.hook/use-form.d.ts +11 -13
- package/lib/types/hooks/use-permission.hook/use-permission.d.ts +10 -10
- package/lib/types/typings/index.d.ts +98 -98
- package/lib/types/typings/shims-axios.d.ts +38 -38
- package/package.json +3 -3
- package/lib/fe-form/fe-form-input-input/index.js +0 -63
- package/lib/types/fe-form/fe-form-input-input/index.d.ts +0 -3
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import { ModalProps } from 'antd';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
onClose?: (e: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
22
|
-
}
|
|
3
|
+
export interface FeModalProps extends ModalProps {
|
|
4
|
+
/**
|
|
5
|
+
* @name 是否可见
|
|
6
|
+
*/
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* @name 内容区域样式
|
|
10
|
+
*/
|
|
11
|
+
bodyStyle?: React.CSSProperties;
|
|
12
|
+
/**
|
|
13
|
+
* @name 设置是否可见
|
|
14
|
+
*/
|
|
15
|
+
setIsVisible: (isVisible: boolean) => void;
|
|
16
|
+
/**
|
|
17
|
+
* @name 关闭回调
|
|
18
|
+
*/
|
|
19
|
+
onClose?: (e: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
20
|
+
}
|
|
@@ -1,63 +1,61 @@
|
|
|
1
1
|
import { ButtonProps, TooltipProps } from 'antd';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { IPermissionProps } from '../typings';
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
declare const FePanel: React.ForwardRefExoticComponent<FePanelProps>;
|
|
4
|
+
export interface IToolBarConfig extends Pick<IPermissionProps, 'btnPermission'> {
|
|
5
|
+
/**
|
|
6
|
+
* @name 按钮类型
|
|
7
|
+
* @default primary
|
|
8
|
+
*/
|
|
9
|
+
type?: 'primary' | 'default';
|
|
10
|
+
/**
|
|
11
|
+
* @name 按钮文案
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* @name 按钮禁用文案
|
|
16
|
+
*/
|
|
17
|
+
disabledText?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @name 是否需要二次确认
|
|
20
|
+
*/
|
|
21
|
+
needConfirm?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @name 确认文案
|
|
24
|
+
* @default 确定{$label}吗?
|
|
25
|
+
*/
|
|
26
|
+
confirmText?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @name 工具栏属性
|
|
29
|
+
*/
|
|
30
|
+
tooltipAttributes?: Partial<TooltipProps>;
|
|
31
|
+
/**
|
|
32
|
+
* @name 按钮属性
|
|
33
|
+
*/
|
|
34
|
+
btnAttributes?: Partial<ButtonProps>;
|
|
35
|
+
/**
|
|
36
|
+
* @name 按钮点击事件
|
|
37
|
+
*/
|
|
38
|
+
onClick: () => void;
|
|
39
|
+
/**
|
|
40
|
+
* @name 是否禁用
|
|
41
|
+
*/
|
|
42
|
+
disabled?: () => boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @name 是否隐藏
|
|
45
|
+
*/
|
|
46
|
+
hidden?: () => boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface FePanelProps {
|
|
50
|
+
isSticky?: boolean;
|
|
51
|
+
wrapperClassName?: string;
|
|
52
|
+
children?: React.ReactNode;
|
|
53
|
+
title?: React.ReactNode;
|
|
54
|
+
subTitle?: React.ReactNode;
|
|
55
|
+
toolBarRender?: React.ReactNode;
|
|
56
|
+
toolBarConfig?: IToolBarConfig[];
|
|
57
|
+
wrapperStyle?: React.CSSProperties;
|
|
58
|
+
type?: 'default' | 'search';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const FePanel: React.ForwardRefExoticComponent<FePanelProps>;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { IBasicProps, IPermissionProps } from '../typings';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
permission?: string;
|
|
12
|
-
}
|
|
2
|
+
/**
|
|
3
|
+
* 权限控制组件属性
|
|
4
|
+
*/
|
|
5
|
+
export interface FePermissionProps extends IPermissionProps, Pick<IBasicProps, 'children'> {
|
|
6
|
+
/**
|
|
7
|
+
* @name 权限字符串
|
|
8
|
+
*/
|
|
9
|
+
permission?: string;
|
|
10
|
+
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { IPermissionStore } from '../hooks/use-permission.hook/use-permission.d';
|
|
2
2
|
import { IBasicProps } from '../typings';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
btnPermissionList?: IPermissionStore['btnPermissionList'];
|
|
10
|
-
}
|
|
3
|
+
export interface FePermissionProviderProps extends Pick<IBasicProps, 'children'> {
|
|
4
|
+
/**
|
|
5
|
+
* @name 按钮权限字符串
|
|
6
|
+
*/
|
|
7
|
+
btnPermissionList?: IPermissionStore['btnPermissionList'];
|
|
8
|
+
}
|
|
@@ -1,169 +1,167 @@
|
|
|
1
1
|
import { default as Quill, BoundsStatic, DeltaStatic, RangeStatic, Sources } from 'quill';
|
|
2
2
|
import { CSSProperties, ReactElement } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
declare const FeRichText: React.FC<FeRichTextProps>;
|
|
3
|
+
export type Value = string | DeltaStatic;
|
|
4
|
+
export type Range = RangeStatic | null;
|
|
5
|
+
|
|
6
|
+
export interface FeRichTextRef {
|
|
7
|
+
focus: () => void;
|
|
8
|
+
blur: () => void;
|
|
9
|
+
getEditor: () => Quill | null;
|
|
10
|
+
getUnprivilegedEditor: () => UnprivilegedEditor | null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface UnprivilegedEditor {
|
|
14
|
+
getLength(): number;
|
|
15
|
+
getText(index?: number, length?: number): string;
|
|
16
|
+
getHTML(): string;
|
|
17
|
+
getDisplayHTML(): string;
|
|
18
|
+
getBounds(index: number, length?: number): BoundsStatic;
|
|
19
|
+
getSelection(focus?: boolean): RangeStatic;
|
|
20
|
+
getContents(index?: number, length?: number): DeltaStatic;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type uploadToolConfig = {
|
|
24
|
+
imageConfig?: any;
|
|
25
|
+
uploadFn: any;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export interface FeRichTextProps {
|
|
29
|
+
/**
|
|
30
|
+
* 编辑器的内容
|
|
31
|
+
*/
|
|
32
|
+
value?: Value;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 非受控模式的默认值
|
|
36
|
+
*/
|
|
37
|
+
defaultValue?: Value;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 内容变化时的回调函数
|
|
41
|
+
*/
|
|
42
|
+
onChange?: (value: string, delta: DeltaStatic, source: Sources, editor: UnprivilegedEditor) => void;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 选择变化时的回调函数
|
|
46
|
+
*/
|
|
47
|
+
onChangeSelection?: (selection: Range, source: Sources, editor: UnprivilegedEditor) => void;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* 编辑器获取焦点回调
|
|
51
|
+
*/
|
|
52
|
+
onFocus?: (selection: Range, source: Sources, editor: UnprivilegedEditor) => void;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 编辑器失去焦点回调
|
|
56
|
+
*/
|
|
57
|
+
onBlur?: (previousSelection: Range, source: Sources, editor: UnprivilegedEditor) => void;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* 编辑器高度
|
|
61
|
+
*/
|
|
62
|
+
height?: number | string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* 是否只读
|
|
66
|
+
*/
|
|
67
|
+
readOnly?: boolean;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 占位符文本
|
|
71
|
+
*/
|
|
72
|
+
placeholder?: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* 编辑区域边界
|
|
76
|
+
*/
|
|
77
|
+
bounds?: string | HTMLElement;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 格式白名单
|
|
81
|
+
*/
|
|
82
|
+
formats?: string[];
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 自定义模块配置
|
|
86
|
+
*/
|
|
87
|
+
modules?: Record<string, any>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* 自定义样式
|
|
91
|
+
*/
|
|
92
|
+
style?: CSSProperties;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 自定义类名
|
|
96
|
+
*/
|
|
97
|
+
className?: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* HTML ID
|
|
101
|
+
*/
|
|
102
|
+
id?: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Tab索引
|
|
106
|
+
*/
|
|
107
|
+
tabIndex?: number;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Tab键对应的空格数量
|
|
111
|
+
*/
|
|
112
|
+
tabSize?: number;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 自定义主题
|
|
116
|
+
*/
|
|
117
|
+
theme?: 'snow' | 'bubble' | string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* 滚动容器
|
|
121
|
+
*/
|
|
122
|
+
scrollingContainer?: string | HTMLElement;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 键盘事件
|
|
126
|
+
*/
|
|
127
|
+
onKeyPress?: React.KeyboardEventHandler;
|
|
128
|
+
onKeyDown?: React.KeyboardEventHandler;
|
|
129
|
+
onKeyUp?: React.KeyboardEventHandler;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* 保留空白符
|
|
133
|
+
*/
|
|
134
|
+
preserveWhitespace?: boolean;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* 自定义子元素
|
|
138
|
+
*/
|
|
139
|
+
children?: ReactElement;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 上传配置
|
|
143
|
+
*/
|
|
144
|
+
uploadToolConfig?: uploadToolConfig;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Quill Delta格式类型
|
|
149
|
+
*/
|
|
150
|
+
export interface Delta {
|
|
151
|
+
ops?: {
|
|
152
|
+
insert?: any;
|
|
153
|
+
delete?: number;
|
|
154
|
+
retain?: number;
|
|
155
|
+
attributes?: Record<string, any>;
|
|
156
|
+
}[];
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* 工具栏配置选项
|
|
161
|
+
*/
|
|
162
|
+
export interface ToolbarOptions {
|
|
163
|
+
container?: string | string[][] | HTMLElement;
|
|
164
|
+
handlers?: Record<string, any>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare const FeRichText: React.FC<FeRichTextProps>;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { SelectProps } from 'antd';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
minWidth?: string;
|
|
10
|
-
}
|
|
2
|
+
export interface FeSelectProps extends SelectProps {
|
|
3
|
+
/**
|
|
4
|
+
* @name minWidth 最小宽度
|
|
5
|
+
* @default `200px`
|
|
6
|
+
*/
|
|
7
|
+
minWidth?: string;
|
|
8
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IColumnsHandleConfig } from '../type/table.d';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
}
|
|
3
|
+
export type TFeTableLinkConfig<T> = IColumnsHandleConfig & { record: T; index: number };
|
|
4
|
+
|
|
5
|
+
export interface FeTableLinkProps<T> {
|
|
6
|
+
config: Array<TFeTableLinkConfig<T>>;
|
|
7
|
+
modal?: {
|
|
8
|
+
confirm: (config: { title?: string; content?: React.ReactNode; onOk?: () => void; onCancel?: () => void }) => void;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ITableColumns, TRenderType } from '../type/table.d';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
thousandsParams?: ITableColumns<DataType>['thousandsParams'];
|
|
13
|
-
}
|
|
2
|
+
export interface FeTableRenderProps<DataType extends Record<string, any>> {
|
|
3
|
+
value: any;
|
|
4
|
+
width: ITableColumns<DataType>['width'];
|
|
5
|
+
record: DataType;
|
|
6
|
+
column: ITableColumns<DataType>;
|
|
7
|
+
renderType: TRenderType;
|
|
8
|
+
renderParams: ITableColumns<DataType>['renderParams'];
|
|
9
|
+
tagRenderParams: ITableColumns<DataType>['tagRenderParams'];
|
|
10
|
+
thousandsParams?: ITableColumns<DataType>['thousandsParams'];
|
|
11
|
+
}
|