@zgfe/modules-dm 1.0.56-zhongyuan.12 → 1.0.56-zhongyuan.14
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/CutsModal.d.ts +17 -0
- package/es/modules/dataManage/components/tablePlus.js +16 -25
- package/es/modules/dataManage/demo/index.js +1 -2
- package/es/modules/dataMap/component/leftTree.d.ts +1 -0
- package/es/modules/dataMap/component/leftTree.js +37 -14
- package/es/modules/dataMap/component/rightDetail.d.ts +2 -1
- package/es/modules/dataMap/component/rightDetail.js +115 -141
- package/es/modules/dataMap/component/rightDetail1.d.ts +7 -0
- package/es/modules/dataMap/component/rightDetail1.js +643 -0
- package/es/modules/dataMap/component/viewMapSetting.d.ts +24 -0
- package/es/modules/dataMap/component/viewMapSetting.js +161 -0
- package/es/modules/dataMap/css/index.css +193 -163
- package/es/modules/dataMap/css/index.less +210 -177
- package/es/modules/dataMap/mapDetail.js +11 -2
- package/es/modules/dataMap/mapSetting.js +15 -3
- package/es/modules/dataReal/index1.js +13 -0
- package/package.json +64 -64
|
@@ -1,177 +1,210 @@
|
|
|
1
|
-
.maidianMapIndex {
|
|
2
|
-
height: 100%;
|
|
3
|
-
.info-upload-tip {
|
|
4
|
-
color: var(--io-N4-, #9aa1a9);
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
.mapSetting {
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
1
|
+
.maidianMapIndex {
|
|
2
|
+
height: 100%;
|
|
3
|
+
.info-upload-tip {
|
|
4
|
+
color: var(--io-N4-, #9aa1a9);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
.mapSetting {
|
|
8
|
+
.ant-input[disabled] {
|
|
9
|
+
background-color: #fafafb !important;
|
|
10
|
+
}
|
|
11
|
+
&_search {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 1fr 100px;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
margin-bottom: 16px;
|
|
16
|
+
&_input {
|
|
17
|
+
width: 320px;
|
|
18
|
+
margin: 0px 10px 0px 0px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.ant-page-header {
|
|
22
|
+
padding-top: 0px;
|
|
23
|
+
padding-left: 0px;
|
|
24
|
+
}
|
|
25
|
+
&_addMap {
|
|
26
|
+
&_tip {
|
|
27
|
+
padding: 0px 0px 0px 16px;
|
|
28
|
+
color: #67727f;
|
|
29
|
+
line-height: 44px;
|
|
30
|
+
background: #f2f3f4;
|
|
31
|
+
}
|
|
32
|
+
&_propTitle {
|
|
33
|
+
padding: 0px 0px 0px 16px;
|
|
34
|
+
color: #67727f;
|
|
35
|
+
color: #354354;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
line-height: 32px;
|
|
38
|
+
background: #f2f3f4;
|
|
39
|
+
}
|
|
40
|
+
&_propTitleLeft {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
width: 58%;
|
|
43
|
+
text-align: left;
|
|
44
|
+
}
|
|
45
|
+
&_propTitleRight {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
width: 42%;
|
|
48
|
+
text-align: left;
|
|
49
|
+
}
|
|
50
|
+
&_propContent {
|
|
51
|
+
padding: 0px 0px 0px 0px;
|
|
52
|
+
color: #67727f;
|
|
53
|
+
color: #354354;
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
line-height: 32px;
|
|
56
|
+
}
|
|
57
|
+
&_propContentLeft {
|
|
58
|
+
display: inline-block;
|
|
59
|
+
width: 50%;
|
|
60
|
+
text-align: left;
|
|
61
|
+
}
|
|
62
|
+
&_propContentRight {
|
|
63
|
+
display: inline-block;
|
|
64
|
+
width: 40%;
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
&_propContentC {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
width: 10%;
|
|
70
|
+
text-align: center;
|
|
71
|
+
}
|
|
72
|
+
&_propValueList {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
width: 100%;
|
|
76
|
+
margin-top: 8px;
|
|
77
|
+
.ant-form-item {
|
|
78
|
+
margin: 0px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
&_propValueflag {
|
|
82
|
+
display: inline-block;
|
|
83
|
+
margin: 0px 8px;
|
|
84
|
+
}
|
|
85
|
+
&_content {
|
|
86
|
+
display: grid;
|
|
87
|
+
grid-template-columns: 1fr 30px 1fr;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&_footer {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: flex-end;
|
|
94
|
+
}
|
|
95
|
+
&_closeIco {
|
|
96
|
+
margin: '0px 8px ';
|
|
97
|
+
color: '#9aa1a9';
|
|
98
|
+
vertical-align: 'middle';
|
|
99
|
+
&:hover {
|
|
100
|
+
color: red;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.leftTreePage {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
background-color: white;
|
|
109
|
+
&-top {
|
|
110
|
+
flex: 1;
|
|
111
|
+
}
|
|
112
|
+
&-tree {
|
|
113
|
+
// max-height: 100%;
|
|
114
|
+
}
|
|
115
|
+
&_selectMap {
|
|
116
|
+
display: grid;
|
|
117
|
+
grid-gap: 10px;
|
|
118
|
+
grid-template-columns: 75px 1fr 60px;
|
|
119
|
+
align-items: center;
|
|
120
|
+
margin: 0px 0px 24px;
|
|
121
|
+
}
|
|
122
|
+
&_selectMap_setting {
|
|
123
|
+
margin-left: 10px;
|
|
124
|
+
color: #165dff;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
}
|
|
127
|
+
&_searchBtn {
|
|
128
|
+
width: 100%;
|
|
129
|
+
padding: 6px 0px;
|
|
130
|
+
background-color: transparent;
|
|
131
|
+
border: 1px solid #ddd;
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
}
|
|
134
|
+
&_searchBtn:hover {
|
|
135
|
+
color: #165dff;
|
|
136
|
+
border: 1px solid #165dff;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.dataMapDetail_echartDiv {
|
|
141
|
+
display: grid;
|
|
142
|
+
flex-wrap: wrap;
|
|
143
|
+
grid-gap: 20px;
|
|
144
|
+
grid-template-columns: repeat(2, 1fr);
|
|
145
|
+
align-items: center;
|
|
146
|
+
margin-top: 24px;
|
|
147
|
+
&_item {
|
|
148
|
+
display: grid;
|
|
149
|
+
grid-template-columns: 1fr 60px;
|
|
150
|
+
align-items: center;
|
|
151
|
+
padding: 20px;
|
|
152
|
+
background-color: #fafafb;
|
|
153
|
+
border: 1px solid #eee;
|
|
154
|
+
}
|
|
155
|
+
&_leftText {
|
|
156
|
+
display: inline-block;
|
|
157
|
+
margin-left: 8px;
|
|
158
|
+
color: #354354;
|
|
159
|
+
}
|
|
160
|
+
&_view {
|
|
161
|
+
color: #165dff;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.biz-attr-select-handle {
|
|
165
|
+
width: 100%;
|
|
166
|
+
max-width: 100%;
|
|
167
|
+
margin-bottom: 2px;
|
|
168
|
+
padding: 0;
|
|
169
|
+
}
|
|
170
|
+
.empty {
|
|
171
|
+
height: 100%;
|
|
172
|
+
color: #67727f;
|
|
173
|
+
text-align: center;
|
|
174
|
+
.empty-img {
|
|
175
|
+
display: block;
|
|
176
|
+
width: 200px;
|
|
177
|
+
margin: 0px auto;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.mapSetting_addMap_form {
|
|
182
|
+
.biz-attr-condition-group-handle {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
.ziBackground {
|
|
187
|
+
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
|
188
|
+
padding: 2px 3px;
|
|
189
|
+
background-color: #bad8ff7d;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mapSetting {
|
|
194
|
+
.ant-dropdown-trigger.biz-select-handle.biz-condition-item-single-select {
|
|
195
|
+
position: relative;
|
|
196
|
+
background-color: transparent;
|
|
197
|
+
&::after {
|
|
198
|
+
position: absolute;
|
|
199
|
+
top: 0px;
|
|
200
|
+
left: 0;
|
|
201
|
+
display: inline-block;
|
|
202
|
+
width: 100%;
|
|
203
|
+
padding-top: 8px;
|
|
204
|
+
text-align: center;
|
|
205
|
+
vertical-align: middle;
|
|
206
|
+
background-color: white;
|
|
207
|
+
content: '是';
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -23,6 +23,13 @@ var MapDetail = function MapDetail() {
|
|
|
23
23
|
var onCurrentMap = function onCurrentMap(value) {
|
|
24
24
|
setCurrentMap(value);
|
|
25
25
|
};
|
|
26
|
+
var _useState5 = useState(),
|
|
27
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
28
|
+
filterValue = _useState6[0],
|
|
29
|
+
setFilterValue = _useState6[1];
|
|
30
|
+
var onFilterValue = function onFilterValue(searchValue) {
|
|
31
|
+
setFilterValue(searchValue);
|
|
32
|
+
};
|
|
26
33
|
return /*#__PURE__*/React.createElement(Row, {
|
|
27
34
|
gutter: 24
|
|
28
35
|
}, /*#__PURE__*/React.createElement(Col, {
|
|
@@ -33,12 +40,14 @@ var MapDetail = function MapDetail() {
|
|
|
33
40
|
}
|
|
34
41
|
}, /*#__PURE__*/React.createElement(LeftTree, {
|
|
35
42
|
onChangeTree: onChangeTree,
|
|
36
|
-
onCurrentMap: onCurrentMap
|
|
43
|
+
onCurrentMap: onCurrentMap,
|
|
44
|
+
onFilterValue: onFilterValue
|
|
37
45
|
})), /*#__PURE__*/React.createElement(Col, {
|
|
38
46
|
span: 16
|
|
39
47
|
}, /*#__PURE__*/React.createElement(RightDetail, {
|
|
40
48
|
currentTreeData: currentTreeData && JSON.stringify(currentTreeData) != '{}' && currentTreeData,
|
|
41
|
-
currentMap: currentMap
|
|
49
|
+
currentMap: currentMap,
|
|
50
|
+
filterValue: filterValue
|
|
42
51
|
})));
|
|
43
52
|
};
|
|
44
53
|
export default MapDetail;
|
|
@@ -9,6 +9,7 @@ import { LeftOutlined, SearchOutlined } from '@ant-design/icons';
|
|
|
9
9
|
import React, { useEffect, useState, useRef, useContext } from 'react';
|
|
10
10
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
11
11
|
import DrawerAdd from './component/drawerAdd';
|
|
12
|
+
import ViewMapSetting from './component/viewMapSetting';
|
|
12
13
|
import './css/index.less';
|
|
13
14
|
import apis from '../../constants/api';
|
|
14
15
|
import request from '../../utils/ajax';
|
|
@@ -29,9 +30,7 @@ var MapSetting = function MapSetting(props) {
|
|
|
29
30
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
30
31
|
openMapAdd = _useState4[0],
|
|
31
32
|
setOpenMapAdd = _useState4[1];
|
|
32
|
-
var currentMap = useRef(
|
|
33
|
-
id: 0
|
|
34
|
-
});
|
|
33
|
+
var currentMap = useRef(undefined);
|
|
35
34
|
var onChange = function onChange(e) {
|
|
36
35
|
setSearchName(e.currentTarget.value);
|
|
37
36
|
};
|
|
@@ -90,6 +89,7 @@ var MapSetting = function MapSetting(props) {
|
|
|
90
89
|
}, [searchName]);
|
|
91
90
|
var handleClose = function handleClose() {
|
|
92
91
|
setOpenMapAdd(false);
|
|
92
|
+
currentMap.current = undefined;
|
|
93
93
|
props.getList(searchName);
|
|
94
94
|
};
|
|
95
95
|
// 删除
|
|
@@ -110,6 +110,14 @@ var MapSetting = function MapSetting(props) {
|
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
};
|
|
113
|
+
var _useState5 = useState(false),
|
|
114
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
115
|
+
openMapView = _useState6[0],
|
|
116
|
+
setOpenMapView = _useState6[1];
|
|
117
|
+
var handleViewClose = function handleViewClose() {
|
|
118
|
+
setOpenMapView(false);
|
|
119
|
+
currentMap.current = undefined;
|
|
120
|
+
};
|
|
113
121
|
return /*#__PURE__*/React.createElement("div", {
|
|
114
122
|
className: pageClassName
|
|
115
123
|
}, /*#__PURE__*/React.createElement(PageHeader, {
|
|
@@ -151,6 +159,10 @@ var MapSetting = function MapSetting(props) {
|
|
|
151
159
|
}), /*#__PURE__*/React.createElement(DrawerAdd, {
|
|
152
160
|
open: openMapAdd,
|
|
153
161
|
handleClose: handleClose
|
|
162
|
+
}), /*#__PURE__*/React.createElement(ViewMapSetting, {
|
|
163
|
+
open: openMapView,
|
|
164
|
+
handleClose: handleViewClose,
|
|
165
|
+
currentMap: currentMap.current
|
|
154
166
|
}));
|
|
155
167
|
};
|
|
156
168
|
export default MapSetting;
|
|
@@ -179,6 +179,19 @@ var DataRealView = function DataRealView() {
|
|
|
179
179
|
return _ref.apply(this, arguments);
|
|
180
180
|
};
|
|
181
181
|
}();
|
|
182
|
+
useEffect(function () {
|
|
183
|
+
// 组件挂载时执行的操作
|
|
184
|
+
console.log('组件挂载');
|
|
185
|
+
// 返回一个清理函数,在组件卸载时执行
|
|
186
|
+
return function () {
|
|
187
|
+
if (textStatus) {
|
|
188
|
+
setTextStatus(false);
|
|
189
|
+
ws === null || ws === void 0 ? void 0 : ws.close(); // 停止刷新 关闭链接
|
|
190
|
+
setWs(null);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
}, []);
|
|
182
195
|
useMemo(function () {
|
|
183
196
|
if (currentMessageObj) {
|
|
184
197
|
var _currentMessageObj$ev, _currentMessageObj$us, _currentMessageObj$us2;
|
package/package.json
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.56-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.56-zhongyuan.14",
|
|
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": "e721bdffa17795e757afb2127814661d403da45a",
|
|
61
|
+
"gitHooks": {
|
|
62
|
+
"pre-commit": "lint-staged"
|
|
63
|
+
}
|
|
64
|
+
}
|