@zgfe/modules-dm 1.0.57-zhongyuan.53 → 1.0.57-zhongyuan.55
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/modules/clearRule/addRule.js +5 -16
- package/es/modules/clearRule/index.js +5 -26
- package/es/modules/dataManage/components/tablePlus.js +3 -3
- package/es/modules/formulateRule/addFormulate.js +8 -7
- package/es/modules/formulateRule/addRule.js +8 -3
- package/es/modules/formulateRule/index.js +7 -33
- package/package.json +64 -64
|
@@ -24,6 +24,7 @@ import { generateUniqueId } from '../../utils/index';
|
|
|
24
24
|
import apis from '../../constants/api';
|
|
25
25
|
var TextArea = Input.TextArea;
|
|
26
26
|
var AddRule = function AddRule(_ref) {
|
|
27
|
+
var _currentRuleDetail$ve;
|
|
27
28
|
var addruleShow = _ref.addruleShow,
|
|
28
29
|
onSetclose = _ref.onSetclose,
|
|
29
30
|
currentRuleDetail = _ref.currentRuleDetail,
|
|
@@ -72,7 +73,7 @@ var AddRule = function AddRule(_ref) {
|
|
|
72
73
|
message.error('请添加规则');
|
|
73
74
|
return;
|
|
74
75
|
}
|
|
75
|
-
if (hasEvent) {
|
|
76
|
+
if (!hasEvent) {
|
|
76
77
|
message.error('该属性的规则已存在,请重新选择属性!');
|
|
77
78
|
return;
|
|
78
79
|
}
|
|
@@ -264,15 +265,9 @@ var AddRule = function AddRule(_ref) {
|
|
|
264
265
|
attr: attr === null || attr === void 0 ? void 0 : attr.id
|
|
265
266
|
}
|
|
266
267
|
}).then(function (res) {
|
|
267
|
-
|
|
268
|
-
// // 判断属性是否已经存在
|
|
269
|
-
// const exists = res.data; // 假设后端返回的数据结构中有一个字段表示是否存在
|
|
270
|
-
// !exists && message.error('该属性的规则已存在,请重新选择属性!');
|
|
271
|
-
// return;
|
|
272
|
-
// }
|
|
268
|
+
setHasEvent((res === null || res === void 0 ? void 0 : res.code) == '100000' ? true : false);
|
|
273
269
|
if ((res === null || res === void 0 ? void 0 : res.code) != '100000') {
|
|
274
270
|
message.error(res.msg);
|
|
275
|
-
setHasEvent(true);
|
|
276
271
|
return;
|
|
277
272
|
}
|
|
278
273
|
});
|
|
@@ -318,12 +313,6 @@ var AddRule = function AddRule(_ref) {
|
|
|
318
313
|
description: currentRuleDetail === null || currentRuleDetail === void 0 ? void 0 : currentRuleDetail.ruleDescription,
|
|
319
314
|
status: (currentRuleDetail === null || currentRuleDetail === void 0 ? void 0 : currentRuleDetail.status) == 1 ? true : false
|
|
320
315
|
});
|
|
321
|
-
// setOptionsRule(currentRuleDetail.verifyDetailVo);
|
|
322
|
-
// setOptions(
|
|
323
|
-
// currentRuleDetail.verifyDetailVo[0] && currentRuleDetail.verifyDetailVo[0].content != '3'
|
|
324
|
-
// ? [...initOptions, { label: '字典校验', value: 6 }]
|
|
325
|
-
// : [...initOptions],
|
|
326
|
-
// );
|
|
327
316
|
var newarr = currentRuleDetail.verifyDetailVo.map(function (r) {
|
|
328
317
|
return _objectSpread(_objectSpread({}, r), {}, {
|
|
329
318
|
uniqueId: generateUniqueId()
|
|
@@ -442,9 +431,9 @@ var AddRule = function AddRule(_ref) {
|
|
|
442
431
|
value: 'eventProp'
|
|
443
432
|
}, "\u4E8B\u4EF6\u5C5E\u6027\u6821\u9A8C")), /*#__PURE__*/React.createElement("br", null), ruleRowView && (/*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
|
|
444
433
|
type: "link"
|
|
445
|
-
}, "\u4E8B\u4EF6\u5C5E\u6027\uFF1A
|
|
434
|
+
}, "\u4E8B\u4EF6\u5C5E\u6027\uFF1A", currentRuleDetail === null || currentRuleDetail === void 0 ? void 0 : (_currentRuleDetail$ve = currentRuleDetail.verifyObject) === null || _currentRuleDetail$ve === void 0 ? void 0 : _currentRuleDetail$ve.split('|||')[0]), /*#__PURE__*/React.createElement(Button, {
|
|
446
435
|
type: "link"
|
|
447
|
-
}, "\u7EC6\u5206\u5C5E\u6027\uFF1A
|
|
436
|
+
}, "\u7EC6\u5206\u5C5E\u6027\uFF1A", (bizAttributeSelectorValue === null || bizAttributeSelectorValue === void 0 ? void 0 : bizAttributeSelectorValue.label) || (bizAttributeSelectorValue === null || bizAttributeSelectorValue === void 0 ? void 0 : bizAttributeSelectorValue.name)))), !ruleRowView && (/*#__PURE__*/React.createElement("div", {
|
|
448
437
|
className: "selectVent"
|
|
449
438
|
}, selectType == 'eventProp' && (/*#__PURE__*/React.createElement(BizEventSelector, {
|
|
450
439
|
showAllEvent: true,
|
|
@@ -69,9 +69,10 @@ var ClearRule = function ClearRule() {
|
|
|
69
69
|
}, {
|
|
70
70
|
title: '操作',
|
|
71
71
|
key: 'action',
|
|
72
|
+
width: 240,
|
|
72
73
|
render: function render(_, record) {
|
|
73
74
|
return /*#__PURE__*/React.createElement(Space, {
|
|
74
|
-
size:
|
|
75
|
+
size: 4
|
|
75
76
|
}, authority[170928557414] && (/*#__PURE__*/React.createElement(Switch, {
|
|
76
77
|
checked: record.status == 0 ? false : true,
|
|
77
78
|
onChange: function onChange(e) {
|
|
@@ -154,30 +155,7 @@ var ClearRule = function ClearRule() {
|
|
|
154
155
|
};
|
|
155
156
|
var handleViewRule = function handleViewRule(ruleRow) {
|
|
156
157
|
setRuleRowEdit(ruleRow);
|
|
157
|
-
|
|
158
|
-
method: 'post',
|
|
159
|
-
data: {
|
|
160
|
-
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
161
|
-
ruleId: ruleRow.ruleId
|
|
162
|
-
}
|
|
163
|
-
}).then(function (res) {
|
|
164
|
-
if (!res) return;
|
|
165
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
166
|
-
// 1: 已清洗并且有正在执行的列表 2: 元事件已被删除的提示 3:校验通过
|
|
167
|
-
if (res.data.update == '2') {
|
|
168
|
-
UseModal({
|
|
169
|
-
onOk: function onOk() {
|
|
170
|
-
return getDetail(ruleRow.ruleId);
|
|
171
|
-
},
|
|
172
|
-
okText: '确定',
|
|
173
|
-
title: '校验对象已被删除',
|
|
174
|
-
content: "\u6821\u9A8C\u5BF9\u8C61\u5DF2\u88AB\u5220\u9664\uFF0C\u5C06\u4E0D\u4F1A\u8FDB\u884C\u4F7F\u7528\uFF0C\u8BF7\u8FDB\u884C\u4FEE\u6539"
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}).finally(function () {
|
|
179
|
-
getDetail(ruleRow.ruleId);
|
|
180
|
-
});
|
|
158
|
+
getDetail(ruleRow.ruleId);
|
|
181
159
|
};
|
|
182
160
|
var getDetail = function getDetail(ruleId) {
|
|
183
161
|
setEditStatus(true);
|
|
@@ -332,7 +310,8 @@ var ClearRule = function ClearRule() {
|
|
|
332
310
|
var _useState31 = useState({
|
|
333
311
|
current: 1,
|
|
334
312
|
pageSize: 10,
|
|
335
|
-
total: 0
|
|
313
|
+
total: 0,
|
|
314
|
+
showQuickJumper: true
|
|
336
315
|
}),
|
|
337
316
|
_useState32 = _slicedToArray(_useState31, 2),
|
|
338
317
|
tableParams = _useState32[0],
|
|
@@ -1171,9 +1171,9 @@ var TablePlus = function TablePlus(props) {
|
|
|
1171
1171
|
props.Refresh();
|
|
1172
1172
|
return;
|
|
1173
1173
|
}
|
|
1174
|
-
notification.error({
|
|
1175
|
-
|
|
1176
|
-
});
|
|
1174
|
+
// notification.error({
|
|
1175
|
+
// message: res?.msg,
|
|
1176
|
+
// });
|
|
1177
1177
|
});
|
|
1178
1178
|
};
|
|
1179
1179
|
var _useState57 = useState(''),
|
|
@@ -172,11 +172,11 @@ var AddFormulate = function AddFormulate(_ref) {
|
|
|
172
172
|
//类型转换
|
|
173
173
|
if (detailRow.ruleType == 3) {
|
|
174
174
|
var _shuzhiArr$find;
|
|
175
|
-
if (!detailRow.sourceValue || !detailRow.targetValue) {
|
|
176
|
-
|
|
177
|
-
}
|
|
175
|
+
// if (!detailRow.sourceValue || !detailRow.targetValue) {
|
|
176
|
+
// return str;
|
|
177
|
+
// }
|
|
178
178
|
str = (_shuzhiArr$find = shuzhiArr.find(function (o) {
|
|
179
|
-
return o.value == (tag == 1 ? detailRow.sourceValue : detailRow.targetValue);
|
|
179
|
+
return o.value == (tag == 1 ? detailRow === null || detailRow === void 0 ? void 0 : detailRow.sourceValue : detailRow === null || detailRow === void 0 ? void 0 : detailRow.targetValue);
|
|
180
180
|
})) === null || _shuzhiArr$find === void 0 ? void 0 : _shuzhiArr$find.label;
|
|
181
181
|
}
|
|
182
182
|
return str;
|
|
@@ -304,9 +304,10 @@ var AddFormulate = function AddFormulate(_ref) {
|
|
|
304
304
|
})) {
|
|
305
305
|
return true;
|
|
306
306
|
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
// 值类型也限制了
|
|
308
|
+
// if (isAllTypeIncluded(type, dataSource)) {
|
|
309
|
+
// return true;
|
|
310
|
+
// }
|
|
310
311
|
return false;
|
|
311
312
|
};
|
|
312
313
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -76,9 +76,9 @@ var AddRule = function AddRule(_ref) {
|
|
|
76
76
|
disabled: true
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
if (allDataSource === null || allDataSource === void 0 ? void 0 : allDataSource.find(function (k) {
|
|
79
|
+
if ((allDataSource === null || allDataSource === void 0 ? void 0 : allDataSource.find(function (k) {
|
|
80
80
|
return k.currentType == o.value;
|
|
81
|
-
})) {
|
|
81
|
+
})) && o.value != 1) {
|
|
82
82
|
return _objectSpread(_objectSpread({}, o), {}, {
|
|
83
83
|
disabled: true
|
|
84
84
|
});
|
|
@@ -501,6 +501,11 @@ var AddRule = function AddRule(_ref) {
|
|
|
501
501
|
// });
|
|
502
502
|
// setShuzhiArr1(arr);
|
|
503
503
|
// }, [shuzhisourceValueId]);
|
|
504
|
+
useEffect(function () {
|
|
505
|
+
shuzhiForm.setFieldsValue({
|
|
506
|
+
sourceValueId: currentBizAttributeSelectorValue === null || currentBizAttributeSelectorValue === void 0 ? void 0 : currentBizAttributeSelectorValue.type
|
|
507
|
+
});
|
|
508
|
+
}, []);
|
|
504
509
|
var component = null;
|
|
505
510
|
switch (currentType) {
|
|
506
511
|
case 1:
|
|
@@ -610,7 +615,7 @@ var AddRule = function AddRule(_ref) {
|
|
|
610
615
|
span: 19
|
|
611
616
|
},
|
|
612
617
|
initialValues: {
|
|
613
|
-
sourceValueId:
|
|
618
|
+
sourceValueId: currentBizAttributeSelectorValue === null || currentBizAttributeSelectorValue === void 0 ? void 0 : currentBizAttributeSelectorValue.type,
|
|
614
619
|
targetValueId: undefined
|
|
615
620
|
},
|
|
616
621
|
onFinish: onShuzhiFinish
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
10
10
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
|
-
import { Table, Input, Button, Space, Switch, Modal, message, Typography, Tooltip, DatePicker
|
|
13
|
+
import { Table, Input, Button, Space, Switch, Modal, message, Typography, Tooltip, DatePicker } from 'antd';
|
|
14
14
|
import { SearchOutlined, DiffOutlined, PlusOutlined, DownloadOutlined, LoadingOutlined } from '@ant-design/icons';
|
|
15
15
|
import React, { useContext, useEffect, useState } from 'react';
|
|
16
16
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
@@ -72,7 +72,7 @@ var FormulateRule = function FormulateRule() {
|
|
|
72
72
|
width: 240,
|
|
73
73
|
render: function render(_, record) {
|
|
74
74
|
return /*#__PURE__*/React.createElement(Space, {
|
|
75
|
-
size:
|
|
75
|
+
size: 4
|
|
76
76
|
}, authority[170928557425] && (/*#__PURE__*/React.createElement(Switch, {
|
|
77
77
|
checked: record.status == 0 ? false : true,
|
|
78
78
|
onChange: function onChange() {
|
|
@@ -219,28 +219,7 @@ var FormulateRule = function FormulateRule() {
|
|
|
219
219
|
};
|
|
220
220
|
var handleView = function handleView(ruleId) {
|
|
221
221
|
setRuleRowEdit(ruleId);
|
|
222
|
-
|
|
223
|
-
method: 'post',
|
|
224
|
-
data: {
|
|
225
|
-
ruleId: ruleId
|
|
226
|
-
}
|
|
227
|
-
}).then(function (res) {
|
|
228
|
-
if (!res) return;
|
|
229
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
230
|
-
if (res.data == 1) {
|
|
231
|
-
UseModal({
|
|
232
|
-
onOk: function onOk() {
|
|
233
|
-
getDetail(ruleId);
|
|
234
|
-
},
|
|
235
|
-
okText: '去修改',
|
|
236
|
-
title: '校验对象已被删除',
|
|
237
|
-
content: "\u6821\u9A8C\u5BF9\u8C61\u5DF2\u88AB\u5220\u9664\uFF0C\u5C06\u4E0D\u4F1A\u8FDB\u884C\u4F7F\u7528\uFF0C\u8BF7\u8FDB\u884C\u4FEE\u6539"
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}).finally(function () {
|
|
242
|
-
getDetail(ruleId);
|
|
243
|
-
});
|
|
222
|
+
getDetail(ruleId);
|
|
244
223
|
};
|
|
245
224
|
var handleDetale = function handleDetale(ruleId) {
|
|
246
225
|
setRuleRowEdit(undefined);
|
|
@@ -292,7 +271,8 @@ var FormulateRule = function FormulateRule() {
|
|
|
292
271
|
var _useState7 = useState({
|
|
293
272
|
current: 1,
|
|
294
273
|
pageSize: 10,
|
|
295
|
-
total: 0
|
|
274
|
+
total: 0,
|
|
275
|
+
showQuickJumper: true
|
|
296
276
|
}),
|
|
297
277
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
298
278
|
tableParams = _useState8[0],
|
|
@@ -438,13 +418,7 @@ var FormulateRule = function FormulateRule() {
|
|
|
438
418
|
onChange: searchChange,
|
|
439
419
|
onBlur: handleSearch,
|
|
440
420
|
value: ruleSearchName
|
|
441
|
-
}), /*#__PURE__*/React.createElement(Space, null, authority[
|
|
442
|
-
indicator: antIcon,
|
|
443
|
-
spinning: statusLoading
|
|
444
|
-
}, /*#__PURE__*/React.createElement(Switch, {
|
|
445
|
-
checked: allOpenRule,
|
|
446
|
-
onChange: handleAllOpenStatus
|
|
447
|
-
}))), authority[170928557426] && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
|
|
421
|
+
}), /*#__PURE__*/React.createElement(Space, null, authority[170928557426] && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
|
|
448
422
|
icon: /*#__PURE__*/React.createElement(DiffOutlined, {
|
|
449
423
|
onPointerEnterCapture: undefined,
|
|
450
424
|
onPointerLeaveCapture: undefined
|
|
@@ -458,7 +432,7 @@ var FormulateRule = function FormulateRule() {
|
|
|
458
432
|
onPointerLeaveCapture: undefined
|
|
459
433
|
}),
|
|
460
434
|
type: "primary",
|
|
461
|
-
|
|
435
|
+
disabled: !authority[170928557421],
|
|
462
436
|
onClick: function onClick() {
|
|
463
437
|
setOpenAddDraw(true);
|
|
464
438
|
setDetailData(null);
|
package/package.json
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
4
|
-
"license": "ISC",
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"typings": "es/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"es"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "father-build",
|
|
12
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
-
"docs:build": "dumi build",
|
|
14
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
-
"prepublishOnly": "npm run build",
|
|
16
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
-
"pub": "lerna publish",
|
|
18
|
-
"start": "dumi dev",
|
|
19
|
-
"test": "umi-test",
|
|
20
|
-
"test:coverage": "umi-test --coverage"
|
|
21
|
-
},
|
|
22
|
-
"lint-staged": {
|
|
23
|
-
"*.{js,jsx,less,md,json}": [
|
|
24
|
-
"prettier --write"
|
|
25
|
-
],
|
|
26
|
-
"*.ts?(x)": [
|
|
27
|
-
"prettier --parser=typescript --write"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@types/lodash-es": "^4.17.12",
|
|
32
|
-
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
-
"@visactor/vtable": "^1.12.0",
|
|
34
|
-
"array-move": "^4.0.0",
|
|
35
|
-
"echarts": "^5.6.0",
|
|
36
|
-
"echarts-for-react": "^3.0.2",
|
|
37
|
-
"lodash-es": "^4.17.21",
|
|
38
|
-
"moment": "^2.30.1",
|
|
39
|
-
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
-
"react-sortable-hoc": "^2.0.0"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
-
"@testing-library/react": "^12.1.2",
|
|
45
|
-
"@types/jest": "^27.0.3",
|
|
46
|
-
"@types/lodash": "^4.14.182",
|
|
47
|
-
"@umijs/fabric": "^2.8.1",
|
|
48
|
-
"@umijs/test": "^3.0.5",
|
|
49
|
-
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
-
"antd": "4.24.10",
|
|
51
|
-
"dumi": "^1.1.0",
|
|
52
|
-
"father-build": "^1.17.2",
|
|
53
|
-
"gh-pages": "^3.0.0",
|
|
54
|
-
"lerna": "^4.0.0",
|
|
55
|
-
"lint-staged": "^10.0.7",
|
|
56
|
-
"prettier": "^2.2.1",
|
|
57
|
-
"umi-request": "^1.4.0",
|
|
58
|
-
"yorkie": "^2.0.0"
|
|
59
|
-
},
|
|
60
|
-
"gitHead": "
|
|
61
|
-
"gitHooks": {
|
|
62
|
-
"pre-commit": "lint-staged"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zgfe/modules-dm",
|
|
3
|
+
"version": "1.0.57-zhongyuan.55",
|
|
4
|
+
"license": "ISC",
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"typings": "es/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"es"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "father-build",
|
|
12
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
+
"docs:build": "dumi build",
|
|
14
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
+
"pub": "lerna publish",
|
|
18
|
+
"start": "dumi dev",
|
|
19
|
+
"test": "umi-test",
|
|
20
|
+
"test:coverage": "umi-test --coverage"
|
|
21
|
+
},
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.{js,jsx,less,md,json}": [
|
|
24
|
+
"prettier --write"
|
|
25
|
+
],
|
|
26
|
+
"*.ts?(x)": [
|
|
27
|
+
"prettier --parser=typescript --write"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@types/lodash-es": "^4.17.12",
|
|
32
|
+
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
+
"@visactor/vtable": "^1.12.0",
|
|
34
|
+
"array-move": "^4.0.0",
|
|
35
|
+
"echarts": "^5.6.0",
|
|
36
|
+
"echarts-for-react": "^3.0.2",
|
|
37
|
+
"lodash-es": "^4.17.21",
|
|
38
|
+
"moment": "^2.30.1",
|
|
39
|
+
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
+
"react-sortable-hoc": "^2.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
+
"@testing-library/react": "^12.1.2",
|
|
45
|
+
"@types/jest": "^27.0.3",
|
|
46
|
+
"@types/lodash": "^4.14.182",
|
|
47
|
+
"@umijs/fabric": "^2.8.1",
|
|
48
|
+
"@umijs/test": "^3.0.5",
|
|
49
|
+
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
+
"antd": "4.24.10",
|
|
51
|
+
"dumi": "^1.1.0",
|
|
52
|
+
"father-build": "^1.17.2",
|
|
53
|
+
"gh-pages": "^3.0.0",
|
|
54
|
+
"lerna": "^4.0.0",
|
|
55
|
+
"lint-staged": "^10.0.7",
|
|
56
|
+
"prettier": "^2.2.1",
|
|
57
|
+
"umi-request": "^1.4.0",
|
|
58
|
+
"yorkie": "^2.0.0"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "536301f132b432e8a8814b07cddf610c9854e1b0",
|
|
61
|
+
"gitHooks": {
|
|
62
|
+
"pre-commit": "lint-staged"
|
|
63
|
+
}
|
|
64
|
+
}
|