antd-management-fast-framework 2.11.178 → 2.11.179

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.
Files changed (49) hide show
  1. package/es/components/ApplicationWrapper/index.d.ts +6 -0
  2. package/es/components/Bootstrap/index.d.ts +6 -0
  3. package/es/components/DataPreviewDrawer/index.d.ts +8 -1
  4. package/es/components/MenuWrapper/index.d.ts +0 -2
  5. package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +10 -2
  6. package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +4 -1
  7. package/es/components/PageExtraWrapper/index.d.ts +0 -2
  8. package/es/framework/AuthorizationWrapper/index.d.ts +1 -0
  9. package/es/framework/Common/InternalBuild/index.d.ts +85 -21
  10. package/es/framework/Common/InternalFlow/index.d.ts +747 -155
  11. package/es/framework/Common/InternalLayout/index.d.ts +42 -3
  12. package/es/framework/Common/InternalSwitchoverFlow/index.d.ts +86 -5
  13. package/es/framework/Common/index.d.ts +6 -0
  14. package/es/framework/Core/index.d.ts +117 -35
  15. package/es/framework/CustomWrapper/Supplement/index.d.ts +1 -1
  16. package/es/framework/CustomWrapper/SupplementCore/index.d.ts +36 -5
  17. package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +14 -0
  18. package/es/framework/DataDrawer/Base/index.d.ts +128 -17
  19. package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +1 -1
  20. package/es/framework/DataDrawer/BaseFormDrawer/index.d.ts +20 -1
  21. package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +1 -9
  22. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -9
  23. package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -9
  24. package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +4 -1
  25. package/es/framework/DataForm/BaseAddForm/index.d.ts +50 -9
  26. package/es/framework/DataForm/BaseUpdateForm/index.d.ts +26 -6
  27. package/es/framework/DataListView/Base/index.d.ts +24 -18
  28. package/es/framework/DataMenuContainer/index.d.ts +6 -2
  29. package/es/framework/DataModal/Base/index.d.ts +48 -12
  30. package/es/framework/DataModal/BaseAddModal/index.d.ts +1 -9
  31. package/es/framework/DataModal/BaseDisplayModal/index.d.ts +1 -9
  32. package/es/framework/DataModal/BaseFormModal/index.d.ts +9 -2
  33. package/es/framework/DataModal/BaseImageSortModal/index.d.ts +5 -9
  34. package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -8
  35. package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -9
  36. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +5 -0
  37. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +43 -6
  38. package/es/framework/DataMultiPageView/MultiPageModal/index.d.ts +51 -9
  39. package/es/framework/DataOperation/Base/index.d.ts +1 -0
  40. package/es/framework/DataOperation/BaseWindow/index.d.ts +135 -36
  41. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +43 -6
  42. package/es/framework/DataSinglePageView/SinglePageModal/index.d.ts +47 -7
  43. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -2
  44. package/es/framework/DataSinglePageView/SinglePageSelectModal/index.d.ts +15 -3
  45. package/es/framework/DataSingleView/DataCore/index.d.ts +59 -12
  46. package/es/framework/DataSingleView/DataLoad/index.d.ts +35 -25
  47. package/es/framework/DataTabContainer/index.d.ts +1 -1
  48. package/es/index.js +2 -2
  49. package/package.json +20 -20
@@ -1,13 +1,52 @@
1
+ /**
2
+ * 构建布局相关。
3
+ * @namespace Common
4
+ * @class InternalLayout
5
+ * @extends InternalBuild
6
+ */
1
7
  export class InternalLayout extends InternalBuild {
2
- renderPresetSiderTopArea: () => React.JSX.Element | null;
3
- renderPresetSiderBottomArea: () => React.JSX.Element | null;
8
+ /**
9
+ * 渲染预设侧边栏上部。
10
+ * @function
11
+ */
12
+ renderPresetSiderTopArea: () => Object | null;
13
+ /**
14
+ * 渲染预设侧边栏下部。
15
+ * @function
16
+ */
17
+ renderPresetSiderBottomArea: () => Object | null;
18
+ /**
19
+ * 渲染预设内容区域,默认为空逻辑,可根据需要重载。
20
+ * @function
21
+ * @example
22
+ * renderPresetContentArea = () => {}
23
+ */
4
24
  renderPresetContentArea: () => null;
25
+ /**
26
+ * 渲染预设页面 Body 内容区域。
27
+ * @function
28
+ */
5
29
  renderPresetPageBodyContent: () => React.JSX.Element | null;
30
+ /**
31
+ * 渲染预设页面左侧内容区域。
32
+ * @function
33
+ */
6
34
  renderPresetPageLeftArea: () => null;
35
+ /**
36
+ * 渲染预设页面 Body 区域。
37
+ * @function
38
+ */
7
39
  renderPresetPageBody: () => React.JSX.Element;
40
+ /**
41
+ * 渲染预设页面 Footer 区域。
42
+ * @function
43
+ */
8
44
  renderPresetPageFooter: () => null;
45
+ /**
46
+ * 渲染预设悬浮按钮。
47
+ * @function
48
+ */
9
49
  renderPresetFloatButton: () => React.JSX.Element;
10
- renderFurther(): React.JSX.Element;
11
50
  }
12
51
  import { InternalBuild } from '../InternalBuild';
13
52
  import React from 'react';
@@ -1,21 +1,102 @@
1
+ /**
2
+ * 构建可切换相关。
3
+ * @namespace Common
4
+ * @class InternalSwitchoverFlow
5
+ * @extends InternalFlow
6
+ */
1
7
  export class InternalSwitchoverFlow extends InternalFlow {
8
+ /**
9
+ * 构造函数
10
+ * @param {Object} properties
11
+ */
12
+ constructor(properties: Object);
13
+ /**
14
+ * path 路径前缀。
15
+ * @member {string}
16
+ */
2
17
  pathPrefix: string;
18
+ /**
19
+ * Tab 页集合。
20
+ * @member {Array}
21
+ */
3
22
  tabList: any[];
23
+ /**
24
+ * Menu 页集合。
25
+ * @member {Array}
26
+ */
4
27
  menuList: any[];
5
- adjustMenuListAvailable: (menuListAvailable: any) => any;
6
- getMenuListAvailable: () => any;
28
+ /**
29
+ * 调整可用 Menu 页集合,默认为空逻辑,可根据需要重载。
30
+ * @function
31
+ * @param {Array} menuList 将要调整的 Menu 页集合
32
+ * @returns {Array} 经过调整的可用 Menu 页集合
33
+ * @example
34
+ * adjustMenuListAvailable = (menuListAvailable) => menuListAvailable
35
+ */
36
+ adjustMenuListAvailable: (menuList: any[]) => any[];
37
+ /**
38
+ * 获取可用 Menu 页集合。
39
+ * @function
40
+ * @returns {Array} 可用 Menu 页集合
41
+ */
42
+ getMenuListAvailable: () => any[];
43
+ /**
44
+ * Menu页切换回调处理。
45
+ * @function
46
+ * @param {Object} option 配置项。
47
+ * @param {string} option.key 显示页的 key。
48
+ */
7
49
  handleMenuChange: ({ key }: {
8
- key: any;
50
+ key: string;
9
51
  }) => void;
52
+ /**
53
+ * 构建 Tab Bar Extra Content 左侧区域配置,默认为空,可根据需要重载。
54
+ * @function
55
+ * @example
56
+ * establishTabBarExtraContentLeftConfig = () => null
57
+ */
10
58
  establishTabBarExtraContentLeftConfig: () => null;
59
+ /**
60
+ * 构建 Tab Bar Extra Content 右侧区域配置,默认为空,可根据需要重载。
61
+ * @function
62
+ * @example
63
+ * establishTabBarExtraContentRightConfig = () => null
64
+ */
11
65
  establishTabBarExtraContentRightConfig: () => null;
12
- adjustTabListAvailable: (tabListAvailable: any) => any;
13
- getTabListAvailable: () => any;
66
+ /**
67
+ * 调整可用 Tab 页集合,默认为空逻辑,可根据需要重载。
68
+ * @function
69
+ * @param {Array} menuList 将要调整的 Tab 页集合
70
+ * @returns {Array} 经过调整的可用 Tab 页集合
71
+ * @example
72
+ * adjustTabListAvailable = (tabList) => tabList
73
+ */
74
+ adjustTabListAvailable: (tabList: any) => any[];
75
+ /**
76
+ * 获取可用 Tab 页集合。
77
+ * @function
78
+ * @returns {Array} 可用 Tab 页集合
79
+ */
80
+ getTabListAvailable: () => any[];
81
+ /**
82
+ * Tab 页切换回调处理。
83
+ * @function
84
+ * @param {Object} option 配置项。
85
+ * @param {string} option.key 显示页的 key。
86
+ */
14
87
  handleTabChange: (key: any) => void;
88
+ /**
89
+ * 创建 Tab Bar Extra Content 部分。
90
+ * @function
91
+ */
15
92
  buildTabBarExtraContent: () => {
16
93
  left: React.JSX.Element;
17
94
  right: React.JSX.Element;
18
95
  };
96
+ /**
97
+ * 配置额外的 Tab 属性。
98
+ * @function
99
+ */
19
100
  buildOtherTabProps: () => {
20
101
  type: string;
21
102
  size: string;
@@ -1,3 +1,9 @@
1
+ /**
2
+ * 通用逻辑基类
3
+ * @namespace framework
4
+ * @class Common
5
+ * @extends InternalLayout
6
+ */
1
7
  export class Common extends InternalLayout {
2
8
  }
3
9
  import { InternalLayout } from './InternalLayout';
@@ -1,70 +1,70 @@
1
1
  /**
2
- * core
2
+ * 框架内核定义类。
3
3
  * @namespace framework
4
4
  * @class Core
5
- * @augments BaseComponent
5
+ * @extends BaseComponent
6
6
  */
7
7
  export class Core extends BaseComponent {
8
8
  /**
9
- * get derived state from props
9
+ * get derived state from props
10
10
  * @static
11
- * @param {Object} nextProperties
12
- * @param {Object} previousState
13
- * @returns {Object}
11
+ * @param {Object} nextProperties 即将更改的属性值
12
+ * @param {Object} previousState 之前的 state 值
13
+ * @returns {Object} 更新后的 state 值
14
14
  */
15
15
  static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
16
16
  /**
17
- * @constructs
17
+ * 构造函数
18
18
  * @param {Object} properties
19
19
  */
20
20
  constructor(properties: Object);
21
21
  /**
22
- * view loading flag
22
+ * 最近一次调用数据加载时候的传递参数。
23
23
  * @member {Object}
24
24
  */
25
25
  lastLoadParams: null;
26
26
  /**
27
- * view loading flag
27
+ * 加载中的标记符号变量,默认 ""。
28
28
  * @member {string}
29
29
  */
30
30
  viewLoadingFlag: string;
31
31
  /**
32
- * view searching flag
32
+ * 搜索中的标记符号变量,默认 ""。
33
33
  * @member {string}
34
34
  */
35
35
  viewSearchingFlag: string;
36
36
  /**
37
- * view resetting flag
37
+ * 重置中的标记符号变量,默认 ""。
38
38
  * @member {string}
39
39
  */
40
40
  viewResettingFlag: string;
41
41
  /**
42
- * view refreshing flag
42
+ * 刷新中的标记符号变量,默认 ""。
43
43
  * @member {string}
44
44
  */
45
45
  viewRefreshingFlag: string;
46
46
  /**
47
- * view reloading flag
47
+ * 重新载入中的标记符号变量,默认 ""。
48
48
  * @member {string}
49
49
  */
50
50
  viewReloadingFlag: string;
51
51
  /**
52
- * view processing flag
52
+ * 处理中的标记符号变量,默认 ""。
53
53
  * @member {string}
54
54
  */
55
55
  viewProcessingFlag: string;
56
56
  /**
57
- * view tab flag
57
+ * 标签页标记符号变量,默认 ""。
58
58
  * @member {string}
59
59
  */
60
60
  viewTabFlag: string;
61
61
  /**
62
- * view menu flag
62
+ * 菜单页标记符号变量,默认 ""。
63
63
  * @member {string}
64
64
  */
65
65
  viewMenuFlag: string;
66
66
  /**
67
- * view animal prompt flag
67
+ * 动画提示标记符号变量,默认 ""。
68
68
  * @member {string}
69
69
  */
70
70
  viewAnimalPromptFlag: string;
@@ -75,6 +75,10 @@ export class Core extends BaseComponent {
75
75
  urlParams: null;
76
76
  externalData: null;
77
77
  };
78
+ /**
79
+ * 获取标记变量集合。
80
+ * @function
81
+ */
78
82
  getViewFlagInfo(): {
79
83
  viewLoadingFlag: string;
80
84
  viewSearchingFlag: string;
@@ -86,32 +90,110 @@ export class Core extends BaseComponent {
86
90
  viewMenuFlag: string;
87
91
  viewAnimalPromptFlag: string;
88
92
  };
93
+ /**
94
+ * 获取当前激活的 Tab 页标记。
95
+ * @function
96
+ */
89
97
  getTabActiveKey: () => any;
90
- setTabActiveKey(key: any): void;
98
+ /**
99
+ * 设置当前激活的 Tab 页标记。
100
+ * @function
101
+ * @param {string} key Tab页标记值
102
+ */
103
+ setTabActiveKey(key: string): void;
104
+ /**
105
+ * 获取当前激活的 Menu 页标记。
106
+ * @function
107
+ */
91
108
  getMenuActiveKey: () => any;
92
- setMenuActiveKey(key: any): void;
93
- startLoading(...message: any[]): void;
94
- stopLoading(...message: any[]): void;
95
- startSearching(...message: any[]): void;
96
- stopSearching(...message: any[]): void;
97
- startResetting(...message: any[]): void;
98
- stopResetting(...message: any[]): void;
99
- startRefreshing(...message: any[]): void;
100
- stopRefreshing(...message: any[]): void;
101
- startReloading(...message: any[]): void;
102
- stopReloading(...message: any[]): void;
103
- startProcessing(...message: any[]): void;
104
- stopProcessing(...message: any[]): void;
105
- /**
106
- * check loading progress,if loading or load fail,return false,else return true
109
+ /**
110
+ * 设置当前激活的 Menu 页标记。
111
+ * @function
112
+ * @param {string} key Menu页标记值
113
+ */
114
+ setMenuActiveKey(key: string): void;
115
+ /**
116
+ * 开始加载,影响"加载中"效果。
117
+ * @function
118
+ * @param {Array} messages 消息或消息集合
119
+ */
120
+ startLoading(...messages: any[]): void;
121
+ /**
122
+ * 停止加载,影响"加载中"效果。
123
+ * @function
124
+ * @param {Array} messages 消息或消息集合
125
+ */
126
+ stopLoading(...messages: any[]): void;
127
+ /**
128
+ * 开始搜索,影响"搜索中"效果。
129
+ * @function
130
+ * @param {Array} messages 消息或消息集合
131
+ */
132
+ startSearching(...messages: any[]): void;
133
+ /**
134
+ * 停止搜索,影响"搜索中"效果。
135
+ * @function
136
+ * @param {Array} messages 消息或消息集合
137
+ */
138
+ stopSearching(...messages: any[]): void;
139
+ /**
140
+ * 开始重置,影响"重置中"效果。
141
+ * @function
142
+ * @param {Array} messages 消息或消息集合
143
+ */
144
+ startResetting(...messages: any[]): void;
145
+ /**
146
+ * 停止重置,影响"重置中"效果。
147
+ * @function
148
+ * @param {Array} messages 消息或消息集合
149
+ */
150
+ stopResetting(...messages: any[]): void;
151
+ /**
152
+ * 开始刷新,影响"刷新中"效果。
153
+ * @function
154
+ * @param {Array} messages 消息或消息集合
155
+ */
156
+ startRefreshing(...messages: any[]): void;
157
+ /**
158
+ * 停止刷新,影响"刷新中"效果。
159
+ * @function
160
+ * @param {Array} messages 消息或消息集合
161
+ */
162
+ stopRefreshing(...messages: any[]): void;
163
+ /**
164
+ * 开始重载,影响"重载中"效果。
165
+ * @function
166
+ * @param {Array} messages 消息或消息集合
167
+ */
168
+ startReloading(...messages: any[]): void;
169
+ /**
170
+ * 停止重载,影响"重载中"效果。
171
+ * @function
172
+ * @param {Array} messages 消息或消息集合
173
+ */
174
+ stopReloading(...messages: any[]): void;
175
+ /**
176
+ * 开始处理,影响"处理中"效果。
177
+ * @function
178
+ * @param {Array} messages 消息或消息集合
179
+ */
180
+ startProcessing(...messages: any[]): void;
181
+ /**
182
+ * 停止处理,影响"处理中"效果。
183
+ * @function
184
+ * @param {Array} messages 消息或消息集合
185
+ */
186
+ stopProcessing(...messages: any[]): void;
187
+ /**
188
+ * 检查加载进度,如果加载或加载失败,返回false,否则返回true。
107
189
  */
108
190
  checkLoadingProgress(): boolean;
109
191
  /**
110
- * check operability,if loading or or processing or load fail,return false,else return true
192
+ * 检查可操作性,如果加载或处理或加载失败,返回false,否则返回true
111
193
  */
112
194
  checkOperability(): boolean;
113
195
  /**
114
- * check in progress,if loading or or processing,return false,else return true
196
+ * 检查是否在加载或处理中,如果正在加载或正在处理,返回false,否则返回true
115
197
  */
116
198
  checkInProgress(): any;
117
199
  }
@@ -2,7 +2,7 @@
2
2
  * 该类作为特有项目的补充,视具体项目进行增部方法
3
3
  * @namespace CustomWrapper
4
4
  * @class Supplement
5
- * @augments SupplementCore
5
+ * @extends SupplementCore
6
6
  */
7
7
  export class Supplement extends SupplementCore {
8
8
  static getDerivedStateFromProps(nextProperties: any, previousState: any): any;
@@ -1,21 +1,52 @@
1
+ /**
2
+ * 该类作为特有项目的补充,视具体项目进行增部方法
3
+ * @namespace CustomWrapper
4
+ * @class SupplementCore
5
+ * @extends Common
6
+ */
1
7
  export class SupplementCore extends Common {
2
- pretreatmentImageUploadRemoteResponse: (response: any) => {
8
+ /**
9
+ * 预处理图片上传结果。
10
+ * @function
11
+ * @param {Object} response 上传结果。
12
+ */
13
+ pretreatmentImageUploadRemoteResponse: (response: Object) => {
3
14
  image: string;
4
15
  data: {};
5
16
  };
6
- pretreatmentFileBase64UploadRemoteResponse: (response: any) => {
17
+ /**
18
+ * 预处理文件Base64上传结果。
19
+ * @function
20
+ * @param {Object} response 上传结果。
21
+ */
22
+ pretreatmentFileBase64UploadRemoteResponse: (response: Object) => {
7
23
  image: string;
8
24
  data: {};
9
25
  };
10
- pretreatmentVideoUploadRemoteResponse: (response: any) => {
26
+ /**
27
+ * 预处理视频上传结果。
28
+ * @function
29
+ * @param {Object} response 上传结果。
30
+ */
31
+ pretreatmentVideoUploadRemoteResponse: (response: Object) => {
11
32
  video: string;
12
33
  data: {};
13
34
  };
14
- pretreatmentAudioUploadRemoteResponse: (response: any) => {
35
+ /**
36
+ * 预处理音频上传结果。
37
+ * @function
38
+ * @param {Object} response 上传结果。
39
+ */
40
+ pretreatmentAudioUploadRemoteResponse: (response: Object) => {
15
41
  audio: string;
16
42
  data: {};
17
43
  };
18
- pretreatmentFileUploadRemoteResponse: (response: any) => {
44
+ /**
45
+ * 预处理文件上传结果。
46
+ * @function
47
+ * @param {Object} response 上传结果。
48
+ */
49
+ pretreatmentFileUploadRemoteResponse: (response: Object) => {
19
50
  file: string;
20
51
  data: {};
21
52
  };
@@ -1,3 +1,17 @@
1
+ /**
2
+ * 该类作为特有项目的补充,视具体项目进行增部方法
3
+ * @namespace CustomWrapper
4
+ * @class SupplementWrapper
5
+ * @extends Supplement
6
+ */
1
7
  export class SupplementWrapper extends Supplement {
8
+ /**
9
+ * get derived state from props。
10
+ * @static
11
+ * @param {Object} nextProperties 即将更改的属性值
12
+ * @param {Object} previousState 之前的 state 值
13
+ * @returns {Object} 更新后的 state 值
14
+ */
15
+ static getDerivedStateFromProps(nextProperties: Object, previousState: Object): Object;
2
16
  }
3
17
  import { Supplement } from '../Supplement';
@@ -1,5 +1,16 @@
1
+ /**
2
+ * Drawer 操作基类
3
+ * @namespace DataDrawer
4
+ * @class DataDrawer.Base
5
+ * @extends BaseWindow
6
+ */
1
7
  export class Base extends BaseWindow {
2
- constructor(properties: any, visibleFlag: any);
8
+ /**
9
+ * 构造函数
10
+ * @param {Object} properties 属性值集合。
11
+ * @param {string} visibleFlag 可见性标记。
12
+ */
13
+ constructor(properties: Object, visibleFlag: string);
3
14
  state: {
4
15
  title: string;
5
16
  width: number;
@@ -24,25 +35,126 @@ export class Base extends BaseWindow {
24
35
  urlParams: null;
25
36
  externalData: null;
26
37
  };
27
- adjustHeaderStyle: () => {};
38
+ /**
39
+ * 调整头部样式。
40
+ * @function
41
+ * @returns {Object} style
42
+ * @example
43
+ * adjustHeaderStyle = () => { return {}; }
44
+ */
45
+ adjustHeaderStyle: () => Object;
46
+ /**
47
+ * 创建标题前缀文字,默认为空,可根据需要重载。
48
+ * @function
49
+ * @returns {string} 标题前缀文本
50
+ * @example
51
+ * buildTitlePrevText = () => ""
52
+ */
28
53
  buildTitlePrevText: () => string;
54
+ /**
55
+ * 创建标题文字。
56
+ * @function
57
+ * @returns {string} 标题文本
58
+ */
29
59
  buildTitleText: () => string;
60
+ /**
61
+ * 创建副标题文字,默认为空,可根据需要重载。
62
+ * @function
63
+ * @returns {string} 副标题文本
64
+ * @example
65
+ * buildTitleSubText = () => ""
66
+ */
30
67
  buildTitleSubText: () => string;
31
- renderPresetTitleIcon: () => null;
32
- renderPresetContentContainorInner: () => null;
33
- renderPresetContentContainor: () => React.JSX.Element;
34
- renderPresetCloseButton: (option: any) => React.JSX.Element;
35
- buildBottomBarInnerExtraConfigList: () => never[];
36
- buildBottomBarInnerDefaultConfigList: () => {
37
- buildType: string;
38
- }[];
39
- buildBottomBarInnerLeftItemConfigList: () => never[];
68
+ /**
69
+ * 渲染标题图标,默认为空,可根据需要重载。
70
+ * @function
71
+ * @returns {Object} 标题图标
72
+ * @example
73
+ * renderPresetTitleIcon = () => null
74
+ */
75
+ renderPresetTitleIcon: () => Object;
76
+ /**
77
+ * 渲染内容容器内部。
78
+ * @function
79
+ * @returns {Object} 渲染结果
80
+ * @example
81
+ * renderPresetContentContainorInner = () => null
82
+ */
83
+ renderPresetContentContainorInner: () => Object;
84
+ /**
85
+ * 渲染内容容器。
86
+ * @function
87
+ * @returns {Object} 渲染结果
88
+ */
89
+ renderPresetContentContainor: () => Object;
90
+ /**
91
+ * 渲染关闭按钮。
92
+ * @function
93
+ * @param {Object} option 配置项
94
+ * @returns {Object} 渲染结果
95
+ */
96
+ renderPresetCloseButton: (option: Object) => Object;
97
+ /**
98
+ * 构造底部栏内部Extra区域配置集合。
99
+ * @function
100
+ * @returns {Array} 配置集合
101
+ * @example
102
+ * buildBottomBarInnerExtraConfigList = () => []
103
+ */
104
+ buildBottomBarInnerExtraConfigList: () => any[];
105
+ /**
106
+ * 构造底部栏内部默认配置集合。
107
+ * @function
108
+ * @returns {Array} 配置集合
109
+ */
110
+ buildBottomBarInnerDefaultConfigList: () => any[];
111
+ /**
112
+ * 构造底部栏内部左侧项配置集合。
113
+ * @function
114
+ * @returns {Array} 配置集合
115
+ * @example
116
+ * buildBottomBarInnerLeftItemConfigList = () => []
117
+ */
118
+ buildBottomBarInnerLeftItemConfigList: () => any[];
119
+ /**
120
+ * 构造底部栏内部右侧项配置集合。
121
+ * @function
122
+ * @returns {Array} 配置集合
123
+ */
40
124
  buildBottomBarInnerRightItemConfigList: () => any[];
41
- renderPresetBottomBarRightBox: () => React.JSX.Element[] | null;
42
- renderPresetBottomBarLeftBox: () => React.JSX.Element[] | null;
43
- renderPresetBottomBarInnerBox: (configList: any) => React.JSX.Element[] | null;
44
- renderPresetBottomBar: () => React.JSX.Element;
45
- renderOverlayContent: () => null;
125
+ /**
126
+ * 渲染底部栏右侧部份。
127
+ * @function
128
+ * @returns {Object} 渲染结果
129
+ */
130
+ renderPresetBottomBarRightBox: () => Object;
131
+ /**
132
+ * 渲染底部栏左侧部份。
133
+ * @function
134
+ * @returns {Object} 渲染结果
135
+ */
136
+ renderPresetBottomBarLeftBox: () => Object;
137
+ /**
138
+ * 渲染底部栏内部部份。
139
+ * @function
140
+ * @param {Array} configList 配置项集合
141
+ * @returns {Object} 渲染结果
142
+ */
143
+ renderPresetBottomBarInnerBox: (configList: any[]) => Object;
144
+ /**
145
+ * 渲染底部栏。
146
+ * @function
147
+ * @returns {Object} 渲染结果
148
+ */
149
+ renderPresetBottomBar: () => Object;
150
+ /**
151
+ * 渲染遮罩层内容区域,默认为空,可根据需要重载。
152
+ * @function
153
+ * @returns {Object} 渲染结果
154
+ * @example
155
+ * renderOverlayContent = () => null
156
+ */
157
+ renderOverlayContent: () => Object;
46
158
  }
47
159
  export namespace Base {
48
160
  namespace defaultProps {
@@ -50,4 +162,3 @@ export namespace Base {
50
162
  }
51
163
  }
52
164
  import { BaseWindow } from '../../DataOperation/BaseWindow';
53
- import React from 'react';
@@ -2,7 +2,7 @@
2
2
  * base add drawer
3
3
  * @namespace framework.DataDrawer
4
4
  * @class BaseAddDrawer
5
- * @augments BaseNeedlessLoadDrawer
5
+ * @extends BaseNeedlessLoadDrawer
6
6
  */
7
7
  export class BaseAddDrawer extends BaseNeedlessLoadDrawer {
8
8
  adjustWhenDidMount: () => void;
@@ -1,7 +1,26 @@
1
1
  export class BaseFormDrawer extends Base {
2
+ /**
3
+ * 构造 Card 配置集合。
4
+ * @function
5
+ * @example
6
+ * establishCardCollectionConfig = () => null
7
+ */
2
8
  establishCardCollectionConfig: () => null;
9
+ /**
10
+ * 配置表单布局。
11
+ * @function
12
+ * @returns {string} 'vertical'
13
+ */
3
14
  buildFormLayout: () => string;
4
- renderPresetFormContent: () => React.JSX.Element | null;
15
+ /**
16
+ * 渲染表单内容。
17
+ * @function
18
+ */
19
+ renderPresetFormContent: () => Object;
20
+ /**
21
+ * 渲染表单。
22
+ * @function
23
+ */
5
24
  renderPresetForm: () => React.JSX.Element;
6
25
  renderPresetContentContainorInner: () => React.JSX.Element;
7
26
  }