@yilianjituan/yilian_dgerm 1.0.5-alpha.7 → 1.0.5-alpha.9
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/.eslintrc.js +0 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/business/Entry/index.d.ts +0 -0
- package/dist/business/Entry/index.interface.d.ts +0 -0
- package/dist/business/Entry/index.interface.js +0 -0
- package/dist/business/Entry/index.js +0 -0
- package/dist/business/Entry/index.scss +0 -0
- package/dist/business/TestBtn/index.d.ts +0 -0
- package/dist/business/TestBtn/index.interface.d.ts +0 -0
- package/dist/business/TestBtn/index.interface.js +0 -0
- package/dist/business/TestBtn/index.js +0 -0
- package/dist/commonAxios/Axios.d.ts +0 -0
- package/dist/commonAxios/Axios.js +0 -0
- package/dist/commonAxios/http.d.ts +0 -0
- package/dist/commonAxios/http.js +0 -0
- package/dist/commonAxios/index.d.ts +0 -0
- package/dist/commonAxios/index.js +0 -0
- package/dist/commonAxios/juicer.d.ts +0 -0
- package/dist/commonAxios/juicer.js +0 -0
- package/dist/commonData/address.d.ts +0 -0
- package/dist/commonData/address.js +0 -0
- package/dist/commonImg/ic_im_no_archives_new.png +0 -0
- package/dist/commonType/globalEnum.d.ts +0 -0
- package/dist/commonType/globalEnum.js +0 -0
- package/dist/commonType/globalFun.d.ts +0 -0
- package/dist/commonType/globalFun.js +0 -0
- package/dist/components/BigImage/index.d.ts +0 -0
- package/dist/components/BigImage/index.interface.d.ts +0 -0
- package/dist/components/BigImage/index.interface.js +0 -0
- package/dist/components/BigImage/index.js +0 -0
- package/dist/components/CustomButtonModal/index.d.ts +0 -0
- package/dist/components/CustomButtonModal/index.interface.d.ts +0 -0
- package/dist/components/CustomButtonModal/index.interface.js +0 -0
- package/dist/components/CustomButtonModal/index.js +0 -0
- package/dist/components/DateTimePicker/index.d.ts +0 -0
- package/dist/components/DateTimePicker/index.interface.d.ts +0 -0
- package/dist/components/DateTimePicker/index.interface.js +0 -0
- package/dist/components/DateTimePicker/index.js +0 -0
- package/dist/components/DropDownSelect/index.d.ts +0 -0
- package/dist/components/DropDownSelect/index.interface.d.ts +36 -32
- package/dist/components/DropDownSelect/index.interface.js +0 -0
- package/dist/components/DropDownSelect/index.js +4 -3
- package/dist/components/EmptyDom/index.d.ts +0 -0
- package/dist/components/EmptyDom/index.interface.d.ts +0 -0
- package/dist/components/EmptyDom/index.interface.js +0 -0
- package/dist/components/EmptyDom/index.js +0 -0
- package/dist/components/Entry/index.d.ts +0 -0
- package/dist/components/Entry/index.interface.d.ts +0 -0
- package/dist/components/Entry/index.interface.js +0 -0
- package/dist/components/Entry/index.js +0 -0
- package/dist/components/Entry/index.scss +0 -0
- package/dist/components/ExportExcels/ExportExcels.scss +0 -0
- package/dist/components/ExportExcels/index.d.ts +0 -0
- package/dist/components/ExportExcels/index.interface.d.ts +0 -0
- package/dist/components/ExportExcels/index.interface.js +0 -0
- package/dist/components/ExportExcels/index.js +0 -0
- package/dist/components/FileUpload/fileUtil.d.ts +0 -0
- package/dist/components/FileUpload/fileUtil.js +0 -0
- package/dist/components/FileUpload/index.d.ts +0 -0
- package/dist/components/FileUpload/index.interface.d.ts +0 -0
- package/dist/components/FileUpload/index.interface.js +0 -0
- package/dist/components/FileUpload/index.js +0 -0
- package/dist/components/FileUpload/index.scss +0 -0
- package/dist/components/FilterRadio/index.d.ts +0 -0
- package/dist/components/FilterRadio/index.interface.d.ts +0 -0
- package/dist/components/FilterRadio/index.interface.js +0 -0
- package/dist/components/FilterRadio/index.js +0 -0
- package/dist/components/FilterRadio/index.scss +0 -0
- package/dist/components/MyBtn/index.d.ts +0 -0
- package/dist/components/MyBtn/index.interface.d.ts +0 -0
- package/dist/components/MyBtn/index.interface.js +0 -0
- package/dist/components/MyBtn/index.js +0 -0
- package/dist/components/NumberInput/index.d.ts +0 -0
- package/dist/components/NumberInput/index.interface.d.ts +0 -0
- package/dist/components/NumberInput/index.interface.js +0 -0
- package/dist/components/NumberInput/index.js +0 -0
- package/dist/components/NumberInput/index.scss +0 -0
- package/dist/components/OcrCommon/index.config.d.ts +0 -0
- package/dist/components/OcrCommon/index.config.js +0 -0
- package/dist/components/OcrCommon/index.d.ts +0 -0
- package/dist/components/OcrCommon/index.interface.d.ts +0 -0
- package/dist/components/OcrCommon/index.interface.js +0 -0
- package/dist/components/OcrCommon/index.js +0 -0
- package/dist/components/OcrCommon/index.scss +0 -0
- package/dist/components/PageTemplate/index.d.ts +0 -0
- package/dist/components/PageTemplate/index.interface.d.ts +1 -1
- package/dist/components/PageTemplate/index.interface.js +0 -0
- package/dist/components/PageTemplate/index.js +4 -3
- package/dist/components/PageTemplate/index.scss +0 -0
- package/dist/components/PageTemplate/resizable/index.d.ts +0 -0
- package/dist/components/PageTemplate/resizable/index.js +3 -2
- package/dist/components/PageTemplate/resizable/index.scss +0 -0
- package/dist/components/ReactEcharts/index.d.ts +0 -0
- package/dist/components/ReactEcharts/index.interface.d.ts +0 -0
- package/dist/components/ReactEcharts/index.interface.js +0 -0
- package/dist/components/ReactEcharts/index.js +0 -0
- package/dist/components/SelectMax/index.d.ts +0 -0
- package/dist/components/SelectMax/index.interface.d.ts +0 -0
- package/dist/components/SelectMax/index.interface.js +0 -0
- package/dist/components/SelectMax/index.js +0 -0
- package/dist/components/SelectPosition/index.d.ts +0 -0
- package/dist/components/SelectPosition/index.interface.d.ts +0 -0
- package/dist/components/SelectPosition/index.interface.js +0 -0
- package/dist/components/SelectPosition/index.js +0 -0
- package/dist/components/SelectPosition/index.scss +0 -0
- package/dist/components/SuperCascader/index.d.ts +0 -0
- package/dist/components/SuperCascader/index.interface.d.ts +0 -0
- package/dist/components/SuperCascader/index.interface.js +0 -0
- package/dist/components/SuperCascader/index.js +0 -0
- package/dist/components/SuperInput/index.d.ts +0 -0
- package/dist/components/SuperInput/index.interface.d.ts +0 -0
- package/dist/components/SuperInput/index.interface.js +0 -0
- package/dist/components/SuperInput/index.js +0 -0
- package/dist/components/TabsMode/index.d.ts +0 -0
- package/dist/components/TabsMode/index.interface.d.ts +0 -0
- package/dist/components/TabsMode/index.interface.js +0 -0
- package/dist/components/TabsMode/index.js +0 -0
- package/dist/components/TypographyText/index.d.ts +0 -0
- package/dist/components/TypographyText/index.interface.d.ts +0 -0
- package/dist/components/TypographyText/index.interface.js +0 -0
- package/dist/components/TypographyText/index.js +0 -0
- package/dist/components/TypographyText/index.scss +0 -0
- package/dist/components/VideoProgressModal/index.d.ts +0 -0
- package/dist/components/VideoProgressModal/index.interface.d.ts +0 -0
- package/dist/components/VideoProgressModal/index.interface.js +0 -0
- package/dist/components/VideoProgressModal/index.js +0 -0
- package/dist/components/VideoProgressModal/index.scss +0 -0
- package/dist/components/YLModal/index.d.ts +0 -0
- package/dist/components/YLModal/index.interface.d.ts +0 -0
- package/dist/components/YLModal/index.interface.js +0 -0
- package/dist/components/YLModal/index.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/react-app-env.d.ts +0 -0
- package/dist/utils/common.d.ts +0 -0
- package/dist/utils/common.js +0 -0
- package/dist/utils/index.d.ts +0 -0
- package/dist/utils/index.js +0 -0
- package/dist/utils/notificationHelper.d.ts +0 -0
- package/dist/utils/notificationHelper.js +0 -0
- package/dist/utils/responseMessage.d.ts +0 -0
- package/dist/utils/responseMessage.js +0 -0
- package/dist/utils/userSessionActions.d.ts +0 -0
- package/dist/utils/userSessionActions.js +0 -0
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/commonAxios/http.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,76 +1,80 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SelectProps } from
|
|
2
|
+
import { SelectProps } from 'antd';
|
|
3
3
|
export interface OptionItem {
|
|
4
4
|
/**
|
|
5
5
|
* @description 用于key
|
|
6
6
|
*/
|
|
7
7
|
id: string;
|
|
8
8
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
* @description 获取或者回填的值结构
|
|
10
|
+
*/
|
|
11
11
|
value: (item: any) => string;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
* @description list展示项
|
|
14
|
+
*/
|
|
15
15
|
lable: (item: any) => string | React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* @description 选项的额外属性
|
|
18
|
+
*/
|
|
19
|
+
optionProps?: (item: any) => any;
|
|
16
20
|
}
|
|
17
21
|
export interface DropDownSelectProps extends SelectProps {
|
|
18
22
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
* @description http请求
|
|
24
|
+
*/
|
|
21
25
|
http: any;
|
|
22
26
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
* @description 需要查询的接口
|
|
28
|
+
*/
|
|
25
29
|
url: string;
|
|
26
30
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
* @description http方法
|
|
32
|
+
* @default get
|
|
33
|
+
*/
|
|
30
34
|
method?: string;
|
|
31
35
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
* @description 选择后的回调,参数是传入的value
|
|
37
|
+
*/
|
|
34
38
|
handleSelect?: (value: string, option?: any) => void;
|
|
35
39
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
* @description 需要展示的和传出去的值
|
|
41
|
+
*/
|
|
38
42
|
showValue: OptionItem;
|
|
39
43
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
* @description 是否开启搜索查询
|
|
45
|
+
*/
|
|
42
46
|
customInput?: boolean;
|
|
43
47
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
* @description 输入搜索时的参数名
|
|
49
|
+
*/
|
|
46
50
|
searchValue?: string;
|
|
47
51
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
* @description 选择模式
|
|
53
|
+
*/
|
|
50
54
|
mode?: 'multiple' | 'tags' | undefined;
|
|
51
55
|
/**
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
* @description 额外需要传入的字段
|
|
57
|
+
*/
|
|
54
58
|
additionalParameters?: any;
|
|
55
59
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
* @description 处理options的回调
|
|
61
|
+
*/
|
|
58
62
|
filterOptionsCallback?: (opt: any) => void;
|
|
59
63
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
* @description 选择变化的回调
|
|
65
|
+
*/
|
|
62
66
|
onChange?: (value: any) => void;
|
|
63
67
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
* @description 动态参数,执行查询需要执行之前处理的参数
|
|
69
|
+
*/
|
|
66
70
|
dynamicParameter?: any;
|
|
67
71
|
/**
|
|
68
72
|
* @description 动态参数,处理动态参数的方法
|
|
69
73
|
*/
|
|
70
74
|
beforeSearch?: (params: any) => void;
|
|
71
75
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
* @description 是否开启搜索查询
|
|
77
|
+
*/
|
|
74
78
|
changeNoSearch?: boolean;
|
|
75
79
|
/**
|
|
76
80
|
* @description 是否初始化搜索
|
|
File without changes
|
|
@@ -50,7 +50,8 @@ var Index = function Index(props) {
|
|
|
50
50
|
prop = _objectWithoutProperties(props, _excluded);
|
|
51
51
|
var id = showValue.id,
|
|
52
52
|
value = showValue.value,
|
|
53
|
-
lable = showValue.lable
|
|
53
|
+
lable = showValue.lable,
|
|
54
|
+
optionProps = showValue.optionProps;
|
|
54
55
|
var _useState = useState([]),
|
|
55
56
|
_useState2 = _slicedToArray(_useState, 2),
|
|
56
57
|
storeList = _useState2[0],
|
|
@@ -210,10 +211,10 @@ var Index = function Index(props) {
|
|
|
210
211
|
})));
|
|
211
212
|
};
|
|
212
213
|
var options = storeList.map(function (item) {
|
|
213
|
-
return /*#__PURE__*/React.createElement(Option, {
|
|
214
|
+
return /*#__PURE__*/React.createElement(Option, _extends({
|
|
214
215
|
key: item[id],
|
|
215
216
|
value: value(item)
|
|
216
|
-
}, lable(item));
|
|
217
|
+
}, optionProps === null || optionProps === void 0 ? void 0 : optionProps(item)), lable(item));
|
|
217
218
|
});
|
|
218
219
|
var commonProps = _objectSpread(_objectSpread({}, prop), {}, {
|
|
219
220
|
mode: mode,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -39,7 +39,7 @@ export interface IPageTemPropsData {
|
|
|
39
39
|
}
|
|
40
40
|
export interface IColumnsProps {
|
|
41
41
|
title: string;
|
|
42
|
-
dataIndex?:
|
|
42
|
+
dataIndex?: any;
|
|
43
43
|
render?: typeEmptyFunc | ((text: string | number, record: any, index: string | number) => any);
|
|
44
44
|
[name: string]: typeEmptyFunc | string | boolean | undefined | number | any;
|
|
45
45
|
}
|
|
File without changes
|
|
@@ -156,7 +156,7 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
156
156
|
key: 'rowIndex',
|
|
157
157
|
align: 'center',
|
|
158
158
|
fixed: 'left',
|
|
159
|
-
|
|
159
|
+
width: 70,
|
|
160
160
|
ellipsis: {
|
|
161
161
|
showTitle: false
|
|
162
162
|
},
|
|
@@ -168,8 +168,9 @@ var PageTemplate = function PageTemplate(props, ref) {
|
|
|
168
168
|
}
|
|
169
169
|
_columns = _columns.map(function (item) {
|
|
170
170
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
171
|
-
minWidth: item.minWidth || item.title.length * 20 + 20,
|
|
172
|
-
|
|
171
|
+
minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
|
|
172
|
+
width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
|
|
173
|
+
ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
|
|
173
174
|
align: item.align || 'center',
|
|
174
175
|
fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
|
|
175
176
|
});
|
|
File without changes
|
|
File without changes
|
|
@@ -188,8 +188,9 @@ var CustomTable = function CustomTable(props) {
|
|
|
188
188
|
var _columns = _toConsumableArray(columns);
|
|
189
189
|
_columns = _columns.map(function (item) {
|
|
190
190
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
191
|
-
minWidth: item.minWidth || item.title.length * 20 + 20,
|
|
192
|
-
|
|
191
|
+
minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
|
|
192
|
+
width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
|
|
193
|
+
ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
|
|
193
194
|
align: item.align || 'center',
|
|
194
195
|
fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
|
|
195
196
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/react-app-env.d.ts
CHANGED
|
File without changes
|
package/dist/utils/common.d.ts
CHANGED
|
File without changes
|
package/dist/utils/common.js
CHANGED
|
File without changes
|
package/dist/utils/index.d.ts
CHANGED
|
File without changes
|
package/dist/utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|