antd-management-fast-framework 2.11.178 → 2.11.180
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 +42 -0
- package/es/components/ApplicationWrapper/index.d.ts +6 -0
- package/es/components/Bootstrap/index.d.ts +6 -0
- package/es/components/DataPreviewDrawer/index.d.ts +8 -1
- package/es/components/MenuWrapper/index.d.ts +0 -2
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +10 -2
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +4 -1
- package/es/components/PageExtraWrapper/index.d.ts +0 -2
- package/es/framework/AuthorizationWrapper/index.d.ts +1 -0
- package/es/framework/Common/InternalBuild/index.d.ts +85 -21
- package/es/framework/Common/InternalFlow/index.d.ts +747 -155
- package/es/framework/Common/InternalLayout/index.d.ts +42 -3
- package/es/framework/Common/InternalSwitchoverFlow/index.d.ts +86 -5
- package/es/framework/Common/index.d.ts +6 -0
- package/es/framework/Core/index.d.ts +117 -35
- package/es/framework/CustomWrapper/Supplement/index.d.ts +2 -2
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +36 -5
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +14 -0
- package/es/framework/DataDrawer/Base/index.d.ts +128 -17
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +1 -1
- package/es/framework/DataDrawer/BaseFormDrawer/index.d.ts +20 -1
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +1 -9
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +1 -9
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -9
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +4 -1
- package/es/framework/DataForm/BaseAddForm/index.d.ts +50 -9
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +26 -6
- package/es/framework/DataListView/Base/index.d.ts +24 -18
- package/es/framework/DataMenuContainer/index.d.ts +6 -2
- package/es/framework/DataModal/Base/index.d.ts +48 -12
- package/es/framework/DataModal/BaseAddModal/index.d.ts +1 -9
- package/es/framework/DataModal/BaseDisplayModal/index.d.ts +1 -9
- package/es/framework/DataModal/BaseFormModal/index.d.ts +9 -2
- package/es/framework/DataModal/BaseImageSortModal/index.d.ts +5 -9
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -8
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -9
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +5 -0
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +43 -6
- package/es/framework/DataMultiPageView/MultiPageModal/index.d.ts +51 -9
- package/es/framework/DataOperation/Base/index.d.ts +1 -0
- package/es/framework/DataOperation/BaseWindow/index.d.ts +135 -36
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +43 -6
- package/es/framework/DataSinglePageView/SinglePageModal/index.d.ts +47 -7
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -2
- package/es/framework/DataSinglePageView/SinglePageSelectModal/index.d.ts +15 -3
- package/es/framework/DataSingleView/DataCore/index.d.ts +59 -12
- package/es/framework/DataSingleView/DataLoad/index.d.ts +35 -25
- package/es/framework/DataTabContainer/index.d.ts +1 -1
- package/es/framework/Wrapper/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/package.json +40 -40
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# antd-management-fast-common
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Instruction
|
|
6
|
+
|
|
7
|
+
Github项目README.md模板
|
|
8
|
+
(项目背景/作用介绍)
|
|
9
|
+
|
|
10
|
+
### 示例
|
|
11
|
+
|
|
12
|
+
把使用了该项目的案例放在这里。可以放APK下载链接,或者简单放几张截图, 使用相对路径插入图片。 格式是! 【】 (相对路径)(示例一开始就放出来,方便浏览者一眼就看出是不是想找的东西)
|
|
13
|
+
|
|
14
|
+
### 特性(可选)
|
|
15
|
+
|
|
16
|
+
- 特性A
|
|
17
|
+
|
|
18
|
+
- 特性B
|
|
19
|
+
|
|
20
|
+
### 原理说明(可选)阐述项目是基于什么思路设计的
|
|
21
|
+
|
|
22
|
+
### 下载安装
|
|
23
|
+
|
|
24
|
+
Gradle:
|
|
25
|
+
|
|
26
|
+
```xml
|
|
27
|
+
compile 'xxx'
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
(说明项目的配置方法,android开源库多用Gradle导入)
|
|
31
|
+
|
|
32
|
+
### 使用方法怎么使用,有哪些步骤哪些接口。
|
|
33
|
+
|
|
34
|
+
### 注意事项
|
|
35
|
+
|
|
36
|
+
比如混淆方法等
|
|
37
|
+
|
|
38
|
+
### TODO(可选)接下来的开发/维护计划。
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
遵守的协议
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
export class DataPreviewDrawer extends BaseFormDrawer {
|
|
2
2
|
static open(): void;
|
|
3
3
|
constructor(properties: any);
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* 获取页面标题。
|
|
6
|
+
* @function
|
|
7
|
+
*/
|
|
5
8
|
getPresetPageTitle: () => any;
|
|
9
|
+
/**
|
|
10
|
+
* 构造 Card 配置集合。
|
|
11
|
+
* @function
|
|
12
|
+
*/
|
|
6
13
|
establishCardCollectionConfig: () => {
|
|
7
14
|
list: {
|
|
8
15
|
title: {
|
|
@@ -2,7 +2,5 @@ export class MenuWrapper extends BaseComponent {
|
|
|
2
2
|
getUsableKey: () => string;
|
|
3
3
|
checkActiveKey: () => any;
|
|
4
4
|
getActiveKey: () => any;
|
|
5
|
-
renderFurther(): React.JSX.Element;
|
|
6
5
|
}
|
|
7
6
|
import { BaseComponent } from 'antd-management-fast-component';
|
|
8
|
-
import React from 'react';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export class MobilePreviewArea extends Base {
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 构造函数
|
|
4
|
+
* @param {Object} properties 属性值集合。
|
|
5
|
+
* @param {string} visibleFlag 可见性标记。
|
|
6
|
+
*/
|
|
7
|
+
constructor(properties: Object, visibleFlag: string);
|
|
3
8
|
state: {
|
|
4
9
|
placement: string;
|
|
5
10
|
height: string;
|
|
@@ -19,6 +24,10 @@ export class MobilePreviewArea extends Base {
|
|
|
19
24
|
externalData: null;
|
|
20
25
|
};
|
|
21
26
|
buildMobileTypeArray: () => (typeof mobileTypeCollection.noneSketch)[];
|
|
27
|
+
/**
|
|
28
|
+
* 构造 Card 配置集合。
|
|
29
|
+
* @function
|
|
30
|
+
*/
|
|
22
31
|
establishCardCollectionConfig: () => {
|
|
23
32
|
list: {
|
|
24
33
|
title: {
|
|
@@ -56,7 +65,6 @@ export class MobilePreviewArea extends Base {
|
|
|
56
65
|
};
|
|
57
66
|
renderPresetInnerView: () => null;
|
|
58
67
|
renderPresetInnerViewWrapper: () => null;
|
|
59
|
-
renderFurther(): React.JSX.Element | null;
|
|
60
68
|
}
|
|
61
69
|
export namespace MobilePreviewArea {
|
|
62
70
|
namespace defaultProps {
|
|
@@ -24,7 +24,6 @@ export class MobilePreviewDrawer extends BaseNeedlessLoadDrawer {
|
|
|
24
24
|
urlParams: null;
|
|
25
25
|
externalData: null;
|
|
26
26
|
};
|
|
27
|
-
renderPresetTitleIcon: () => React.JSX.Element;
|
|
28
27
|
renderPresetTitle: () => string;
|
|
29
28
|
establishExtraActionConfig: () => {
|
|
30
29
|
list: {
|
|
@@ -43,6 +42,10 @@ export class MobilePreviewDrawer extends BaseNeedlessLoadDrawer {
|
|
|
43
42
|
onChange: (v: any) => void;
|
|
44
43
|
}[];
|
|
45
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* 构造 Card 配置集合。
|
|
47
|
+
* @function
|
|
48
|
+
*/
|
|
46
49
|
establishCardCollectionConfig: () => {
|
|
47
50
|
list: {
|
|
48
51
|
items: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export class AuthorizationWrapper extends SupplementWrapper {
|
|
2
|
+
static getDerivedStateFromProps(nextProperties: any, previousState: any): Object;
|
|
2
3
|
getCurrentOperator: () => any;
|
|
3
4
|
reloadCurrentOperator: ({ successCallback, failCallback }: {
|
|
4
5
|
successCallback?: null | undefined;
|
|
@@ -1,28 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Common.
|
|
3
|
+
* @namespace Common
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 基础内部构建器
|
|
7
|
+
* @class InternalBuild
|
|
8
|
+
* @extends InternalSwitchoverFlow
|
|
9
|
+
*/
|
|
1
10
|
export class InternalBuild extends InternalSwitchoverFlow {
|
|
2
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 构建卡片集合区域。
|
|
13
|
+
* @function
|
|
14
|
+
* @param {Object} config 配置项。
|
|
15
|
+
* @returns {Object} 构建结果。
|
|
16
|
+
*/
|
|
17
|
+
buildCardCollectionArea: (config?: Object) => Object;
|
|
18
|
+
/**
|
|
19
|
+
* 构建卡片项。
|
|
20
|
+
* @function
|
|
21
|
+
* @param {Object} option 配置项。
|
|
22
|
+
* @param {Object} option.config 卡片项配置。
|
|
23
|
+
* @param {string} option.key 卡片标记。
|
|
24
|
+
* @param {string} option.mode 卡片显示模式。
|
|
25
|
+
* @param {string} option.justify 卡片垂直对齐方式。
|
|
26
|
+
* @param {string} option.align 卡片水平对齐方式。
|
|
27
|
+
* @param {Object} option.style 卡片样式配置。
|
|
28
|
+
* @returns {Object} 构建结果。
|
|
29
|
+
*/
|
|
3
30
|
buildCardCollectionItem: ({ config: cardItemConfig, key: cardItemKey, mode, justify: justifyGeneral, align: alignGeneral, style: cardStyle, }: {
|
|
4
|
-
config:
|
|
5
|
-
key:
|
|
6
|
-
mode
|
|
7
|
-
justify
|
|
8
|
-
align
|
|
9
|
-
style
|
|
10
|
-
}) =>
|
|
31
|
+
config: Object;
|
|
32
|
+
key: string;
|
|
33
|
+
mode: string;
|
|
34
|
+
justify: string;
|
|
35
|
+
align: string;
|
|
36
|
+
style: Object;
|
|
37
|
+
}) => Object;
|
|
38
|
+
/**
|
|
39
|
+
* 构建卡片项内部内容。
|
|
40
|
+
* @function
|
|
41
|
+
* @param {Object} option 配置项。
|
|
42
|
+
* @param {string} option.mode 卡片显示模式。
|
|
43
|
+
* @param {string} option.justify 卡片垂直对齐方式。
|
|
44
|
+
* @param {string} option.align 卡片水平对齐方式。
|
|
45
|
+
* @param {Number} option.gutter 卡片间距。
|
|
46
|
+
* @param {Array} option.items 卡片内容集合。
|
|
47
|
+
* @param {string} option.index 卡片序列值。
|
|
48
|
+
* @returns {Object} 构建结果。
|
|
49
|
+
*/
|
|
11
50
|
buildCardCollectionItemContent: ({ mode, justify, align, gutter, items: contentItems, index: contentIndex, }: {
|
|
12
|
-
mode:
|
|
13
|
-
justify:
|
|
14
|
-
align:
|
|
15
|
-
gutter
|
|
16
|
-
items: any;
|
|
17
|
-
index:
|
|
18
|
-
}) =>
|
|
51
|
+
mode: string;
|
|
52
|
+
justify: string;
|
|
53
|
+
align: string;
|
|
54
|
+
gutter: number;
|
|
55
|
+
items: any[];
|
|
56
|
+
index: string;
|
|
57
|
+
}) => Object;
|
|
58
|
+
/**
|
|
59
|
+
* 构建卡片Extra部分。
|
|
60
|
+
* @function
|
|
61
|
+
* @param {Object} option 配置项。
|
|
62
|
+
* @param {string} option.keyPrefix 序列值前缀。
|
|
63
|
+
* @param {Array} option.configList 项配置集合。
|
|
64
|
+
* @returns {Object} 构建结果。
|
|
65
|
+
*/
|
|
19
66
|
buildByExtraBuildType: ({ keyPrefix, configList }: {
|
|
20
|
-
keyPrefix
|
|
21
|
-
configList
|
|
22
|
-
}) =>
|
|
67
|
+
keyPrefix: string;
|
|
68
|
+
configList: any[];
|
|
69
|
+
}) => Object;
|
|
70
|
+
/**
|
|
71
|
+
* 构建卡片Extra部分的返回动作,默认空逻辑,可根据需要重载。
|
|
72
|
+
* @function
|
|
73
|
+
* @example
|
|
74
|
+
* buildExtraBackAction = () => null
|
|
75
|
+
*/
|
|
23
76
|
buildExtraBackAction: () => null;
|
|
24
|
-
|
|
25
|
-
|
|
77
|
+
/**
|
|
78
|
+
* 构建返回动作。
|
|
79
|
+
* @function
|
|
80
|
+
* @returns {Object} 构建结果。
|
|
81
|
+
*/
|
|
82
|
+
buildExtraAction: () => Object;
|
|
83
|
+
/**
|
|
84
|
+
* 构建页头部子标题,默认为空,可根据需要重载。
|
|
85
|
+
* @function
|
|
86
|
+
* @example
|
|
87
|
+
* buildPageHeaderSubTitle = () => null
|
|
88
|
+
* @returns {Object|string} 构建结果。
|
|
89
|
+
*/
|
|
90
|
+
buildPageHeaderSubTitle: () => Object | string;
|
|
26
91
|
}
|
|
27
92
|
import { InternalSwitchoverFlow } from '../InternalSwitchoverFlow';
|
|
28
|
-
import React from 'react';
|