@zgfe/modules-interval 1.0.11-zhongbang.8 → 1.0.23-zhongyuan.1
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 +35 -33
- package/dist/esm/components/common/styles/index.less +40 -40
- package/dist/esm/components/eventFilter/index.js +5 -3
- package/dist/esm/components/eventFilter/styles/index.less +39 -39
- package/dist/esm/components/renderContent/index.js +6 -5
- package/dist/esm/components/renderContent/styles/index.less +36 -36
- package/dist/esm/components/searchPanel/index.js +19 -9
- package/dist/esm/components/searchPanel/styles/index.less +71 -64
- package/dist/esm/components/searchPanel/types.d.ts +1 -0
- package/dist/esm/components/table/index.js +1 -1
- package/dist/esm/components/table/styles/index.less +138 -138
- package/dist/esm/components/topBar/index.js +8 -12
- package/dist/esm/components/topBar/styles/index.less +16 -50
- package/dist/esm/constants/apis.js +4 -4
- package/dist/esm/constants/fields.js +4 -4
- package/dist/esm/modules/chart/index.js +23 -4
- package/dist/esm/modules/chart/index.less +58 -58
- package/dist/esm/modules/content/index.js +48 -20
- package/dist/esm/modules/content/styles/index.less +25 -7
- package/dist/esm/modules/content/utils.d.ts +1 -0
- package/dist/esm/modules/content/utils.js +4 -3
- package/dist/esm/modules/home/demo/create.js +1 -1
- package/dist/esm/modules/home/demo/edit.js +1 -1
- package/dist/esm/modules/home/demo/index.js +2 -1
- package/dist/esm/modules/home/demo/styles/index.less +33 -33
- package/dist/esm/modules/home/index.js +52 -33
- package/dist/esm/modules/home/styles/index.less +69 -66
- package/dist/esm/modules/home/types.d.ts +1 -0
- package/dist/esm/modules/topPanel/index.js +88 -23
- package/dist/esm/modules/topPanel/styles/index.less +219 -213
- package/dist/esm/style/image/empty.png +0 -0
- package/dist/esm/style/image/ring.svg +9 -9
- package/dist/esm/style/index.less +67 -67
- package/dist/esm/types.js +6 -6
- package/dist/esm/utils/ajaxConfig.js +5 -5
- package/dist/esm/utils/formData.d.ts +6 -2
- package/dist/esm/utils/formData.js +9 -5
- package/dist/esm/utils/util.js +28 -28
- package/package.json +22 -22
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: rgb(255, 255, 255); display: block; shape-rendering: auto;" width="80px" height="80px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
|
3
|
-
<circle cx="50" cy="50" r="32" stroke-width="4" stroke="#165dff" stroke-dasharray="50.26548245743669 50.26548245743669" fill="none" stroke-linecap="round">
|
|
4
|
-
<animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;360 50 50"></animateTransform>
|
|
5
|
-
</circle>
|
|
6
|
-
<circle cx="50" cy="50" r="27" stroke-width="4" stroke="#85adfc" stroke-dasharray="42.411500823462205 42.411500823462205" stroke-dashoffset="42.411500823462205" fill="none" stroke-linecap="round">
|
|
7
|
-
<animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;-360 50 50"></animateTransform>
|
|
8
|
-
</circle>
|
|
9
|
-
<!-- [ldio] generated by https://loading.io/ --></svg>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: rgb(255, 255, 255); display: block; shape-rendering: auto;" width="80px" height="80px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
|
3
|
+
<circle cx="50" cy="50" r="32" stroke-width="4" stroke="#165dff" stroke-dasharray="50.26548245743669 50.26548245743669" fill="none" stroke-linecap="round">
|
|
4
|
+
<animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;360 50 50"></animateTransform>
|
|
5
|
+
</circle>
|
|
6
|
+
<circle cx="50" cy="50" r="27" stroke-width="4" stroke="#85adfc" stroke-dasharray="42.411500823462205 42.411500823462205" stroke-dashoffset="42.411500823462205" fill="none" stroke-linecap="round">
|
|
7
|
+
<animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;-360 50 50"></animateTransform>
|
|
8
|
+
</circle>
|
|
9
|
+
<!-- [ldio] generated by https://loading.io/ --></svg>
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
.interval-form-data {
|
|
2
|
-
&-table-td {
|
|
3
|
-
padding: 0 !important;
|
|
4
|
-
|
|
5
|
-
.ant-table-column-sorters {
|
|
6
|
-
justify-content: end !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-show {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
min-width: 60px;
|
|
14
|
-
height: 48px;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
span {
|
|
18
|
-
width: 10px;
|
|
19
|
-
height: 10px;
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-name {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
.bsicon {
|
|
30
|
-
margin-right: 4px;
|
|
31
|
-
color: #fd9f41;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-content {
|
|
35
|
-
display: inline-block;
|
|
36
|
-
max-width: 300px;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
white-space: nowrap;
|
|
39
|
-
text-overflow: ellipsis;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-link {
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
|
|
47
|
-
&:hover {
|
|
48
|
-
color: #165dff;
|
|
49
|
-
text-decoration: underline;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.interval-drill {
|
|
55
|
-
display: block;
|
|
56
|
-
.bsicon {
|
|
57
|
-
display: none;
|
|
58
|
-
margin-right: 4px;
|
|
59
|
-
}
|
|
60
|
-
&:hover {
|
|
61
|
-
color: @primary-color;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
.bsicon {
|
|
64
|
-
display: inline;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
.interval-form-data {
|
|
2
|
+
&-table-td {
|
|
3
|
+
padding: 0 !important;
|
|
4
|
+
|
|
5
|
+
.ant-table-column-sorters {
|
|
6
|
+
justify-content: end !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&-show {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
min-width: 60px;
|
|
14
|
+
height: 48px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
|
|
17
|
+
span {
|
|
18
|
+
width: 10px;
|
|
19
|
+
height: 10px;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-name {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
.bsicon {
|
|
30
|
+
margin-right: 4px;
|
|
31
|
+
color: #fd9f41;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-content {
|
|
35
|
+
display: inline-block;
|
|
36
|
+
max-width: 300px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-link {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
color: #165dff;
|
|
49
|
+
text-decoration: underline;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.interval-drill {
|
|
55
|
+
display: block;
|
|
56
|
+
.bsicon {
|
|
57
|
+
display: none;
|
|
58
|
+
margin-right: 4px;
|
|
59
|
+
}
|
|
60
|
+
&:hover {
|
|
61
|
+
color: @primary-color;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
.bsicon {
|
|
64
|
+
display: inline;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
package/dist/esm/types.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* 接口option封装
|
|
5
|
-
* @param url url
|
|
6
|
-
* @param options 操作
|
|
7
|
-
* @returns
|
|
3
|
+
/**
|
|
4
|
+
* 接口option封装
|
|
5
|
+
* @param url url
|
|
6
|
+
* @param options 操作
|
|
7
|
+
* @returns
|
|
8
8
|
*/
|
|
9
9
|
function setOptionWapper(url, options) {
|
|
10
10
|
var reqOption = _.cloneDeep(options);
|
|
@@ -9,7 +9,7 @@ import { DisplaySetup } from '../components/searchPanel/types';
|
|
|
9
9
|
* @param columnData xAxis
|
|
10
10
|
* @returns column fields
|
|
11
11
|
*/
|
|
12
|
-
export declare function getColumns(eventGroupList: EventGroup[] | undefined, userPropList: UserProp[] | undefined, eventEnvList: EnvProp[] | undefined, columnData: string[], dataSource: ResponseDataProps, userGroup: number[], searchData: SearchValue, showList: string[], onUserDrill: IntervalProps.Props['onUserDrill']): ColumnsType<IntervalProps.ColumnsDataType>;
|
|
12
|
+
export declare function getColumns(eventGroupList: EventGroup[] | undefined, userPropList: UserProp[] | undefined, eventEnvList: EnvProp[] | undefined, columnData: string[], dataSource: ResponseDataProps, userGroup: number[], searchData: SearchValue, showList: string[], onUserDrill: IntervalProps.Props['onUserDrill'], currentApp?: any): ColumnsType<IntervalProps.ColumnsDataType>;
|
|
13
13
|
/**
|
|
14
14
|
* 获取属性的label
|
|
15
15
|
* @param attrData 当前属性
|
|
@@ -38,9 +38,11 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
38
38
|
total: number;
|
|
39
39
|
peopleNum: number;
|
|
40
40
|
names: string[];
|
|
41
|
+
originalNames: string[];
|
|
41
42
|
}[] | {
|
|
42
43
|
key: number;
|
|
43
44
|
time: string;
|
|
45
|
+
originalNames: string[];
|
|
44
46
|
max: number;
|
|
45
47
|
Q1: number;
|
|
46
48
|
median: number;
|
|
@@ -48,7 +50,7 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
48
50
|
min: number;
|
|
49
51
|
perValue: number;
|
|
50
52
|
total: number;
|
|
51
|
-
peopleNum:
|
|
53
|
+
peopleNum: string;
|
|
52
54
|
children: {
|
|
53
55
|
key: string;
|
|
54
56
|
time: string;
|
|
@@ -61,12 +63,14 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
61
63
|
total: number;
|
|
62
64
|
peopleNum: number;
|
|
63
65
|
names: string[];
|
|
66
|
+
originalNames: string[];
|
|
64
67
|
}[];
|
|
65
68
|
}[] | undefined;
|
|
66
69
|
type ChartData = {
|
|
67
70
|
appData: {
|
|
68
71
|
series?: {
|
|
69
72
|
names: string[];
|
|
73
|
+
originalNames: string[];
|
|
70
74
|
values: number[][];
|
|
71
75
|
total: number[];
|
|
72
76
|
}[];
|
|
@@ -32,7 +32,7 @@ function convertToHMS(seconds) {
|
|
|
32
32
|
* @param columnData xAxis
|
|
33
33
|
* @returns column fields
|
|
34
34
|
*/
|
|
35
|
-
export function getColumns(eventGroupList, userPropList, eventEnvList, columnData, dataSource, userGroup, searchData, showList, onUserDrill
|
|
35
|
+
export function getColumns(eventGroupList, userPropList, eventEnvList, columnData, dataSource, userGroup, searchData, showList, onUserDrill, currentApp
|
|
36
36
|
// onClickToDetailCallback: Function,
|
|
37
37
|
) {
|
|
38
38
|
var _dataSource$appData, _dataSource$appData$s, _searchData$dimension;
|
|
@@ -154,7 +154,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
154
154
|
return /*#__PURE__*/React.createElement("span", null, " ", convertToHMS(text));
|
|
155
155
|
}
|
|
156
156
|
}, {
|
|
157
|
-
title: searchData.analysisSubject ? "".concat(searchData.analysisSubject.subjectAlias || searchData.analysisSubject.subjectName, "\u6570") : '
|
|
157
|
+
title: searchData.analysisSubject ? "".concat(searchData.analysisSubject.subjectAlias || searchData.analysisSubject.subjectName, "\u6570") : "".concat(currentApp.type != 'user' ? currentApp.unit : '人', "\u6570"),
|
|
158
158
|
width: 148,
|
|
159
159
|
ellipsis: true,
|
|
160
160
|
align: 'right',
|
|
@@ -166,6 +166,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
166
166
|
key: 'peopleNum',
|
|
167
167
|
className: "".concat(classPrefix, "-table-td"),
|
|
168
168
|
render: function render(text, record) {
|
|
169
|
+
if (text == '-') return text;
|
|
169
170
|
return /*#__PURE__*/React.createElement("span", {
|
|
170
171
|
className: "interval-drill",
|
|
171
172
|
onClick: function onClick() {
|
|
@@ -187,7 +188,8 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
190
|
if (searchParam.dimension) {
|
|
190
|
-
params.params.groupValue =
|
|
191
|
+
params.params.groupValue = record.originalNames ? record.originalNames[0] : undefined;
|
|
192
|
+
params.params.groupValueEncry = searchParam.dimension.encryptionType > 0;
|
|
191
193
|
}
|
|
192
194
|
if (/\d{4}-\d{2}-\d{2}/.test(record.time || '')) {
|
|
193
195
|
params.params.time.begin = record.time.split('|')[0];
|
|
@@ -235,6 +237,7 @@ function createNewArray(data) {
|
|
|
235
237
|
return {
|
|
236
238
|
key: i + 1,
|
|
237
239
|
time: item.names[0],
|
|
240
|
+
originalNames: item.originalNames,
|
|
238
241
|
max: item.total[0] || 0,
|
|
239
242
|
Q1: item.total[1] || 0,
|
|
240
243
|
median: item.total[2] || 0,
|
|
@@ -242,7 +245,7 @@ function createNewArray(data) {
|
|
|
242
245
|
min: item.total[4] || 0,
|
|
243
246
|
perValue: item.total[5] || 0,
|
|
244
247
|
total: item.total[6] || 0,
|
|
245
|
-
peopleNum:
|
|
248
|
+
peopleNum: '-',
|
|
246
249
|
children: getChildrenData(data, i)
|
|
247
250
|
};
|
|
248
251
|
});
|
|
@@ -297,7 +300,8 @@ function getChildrenData(data, index) {
|
|
|
297
300
|
perValue: values[i][5] || 0,
|
|
298
301
|
total: values[i][6] || 0,
|
|
299
302
|
peopleNum: values[i][7] || 0,
|
|
300
|
-
names: firstSeries.names
|
|
303
|
+
names: firstSeries.names,
|
|
304
|
+
originalNames: firstSeries.originalNames
|
|
301
305
|
};
|
|
302
306
|
});
|
|
303
307
|
}
|
package/dist/esm/utils/util.js
CHANGED
|
@@ -29,11 +29,11 @@ var util = {
|
|
|
29
29
|
equal: function equal(a, b) {
|
|
30
30
|
return JSON.stringify(a) === JSON.stringify(b);
|
|
31
31
|
},
|
|
32
|
-
/**
|
|
33
|
-
* 获取指定范围的随机数
|
|
34
|
-
* @param min
|
|
35
|
-
* @param max
|
|
36
|
-
* @returns {*}
|
|
32
|
+
/**
|
|
33
|
+
* 获取指定范围的随机数
|
|
34
|
+
* @param min
|
|
35
|
+
* @param max
|
|
36
|
+
* @returns {*}
|
|
37
37
|
*/
|
|
38
38
|
random: function random(min, max) {
|
|
39
39
|
return Math.round(Math.random() * (max - min)) + min;
|
|
@@ -68,42 +68,42 @@ var util = {
|
|
|
68
68
|
}
|
|
69
69
|
return option;
|
|
70
70
|
},
|
|
71
|
-
/**
|
|
72
|
-
* 将数字转为千分位分割格式
|
|
73
|
-
* @param num
|
|
74
|
-
* @returns {string}
|
|
71
|
+
/**
|
|
72
|
+
* 将数字转为千分位分割格式
|
|
73
|
+
* @param num
|
|
74
|
+
* @returns {string}
|
|
75
75
|
*/
|
|
76
76
|
toThousands: function toThousands(num) {
|
|
77
77
|
var source = String(num).split('.'); // 按小数点分成2部分
|
|
78
78
|
source[0] = source[0].replace(new RegExp('(\\d)(?=(\\d{3})+$)', 'ig'), '$1,'); // 只将整数部分进行都好分割
|
|
79
79
|
return source.join('.'); // 再将小数部分合并进来
|
|
80
80
|
},
|
|
81
|
-
/**
|
|
82
|
-
* 为单数前补0
|
|
83
|
-
* @param num
|
|
84
|
-
* @returns {string}
|
|
81
|
+
/**
|
|
82
|
+
* 为单数前补0
|
|
83
|
+
* @param num
|
|
84
|
+
* @returns {string}
|
|
85
85
|
*/
|
|
86
86
|
toDoubleNumber: function toDoubleNumber(num) {
|
|
87
87
|
// num += ''
|
|
88
88
|
var num2 = num.toString();
|
|
89
89
|
return num > 9 ? num2 : '0' + num2;
|
|
90
90
|
},
|
|
91
|
-
/**
|
|
92
|
-
* 日期格式化
|
|
93
|
-
* @param date
|
|
94
|
-
* @param formatter
|
|
95
|
-
* @returns {string}
|
|
91
|
+
/**
|
|
92
|
+
* 日期格式化
|
|
93
|
+
* @param date
|
|
94
|
+
* @param formatter
|
|
95
|
+
* @returns {string}
|
|
96
96
|
*/
|
|
97
97
|
dateFormat: function dateFormat() {
|
|
98
98
|
var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
|
|
99
99
|
var formatter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
|
|
100
100
|
return formatter.replace('yyyy', date.getFullYear()).replace('mm', this.toDoubleNumber(date.getMonth() + 1)).replace('dd', this.toDoubleNumber(date.getDate()));
|
|
101
101
|
},
|
|
102
|
-
/**
|
|
103
|
-
* 日期格式化
|
|
104
|
-
* @param date
|
|
105
|
-
* @param formatter
|
|
106
|
-
* @returns {string}
|
|
102
|
+
/**
|
|
103
|
+
* 日期格式化
|
|
104
|
+
* @param date
|
|
105
|
+
* @param formatter
|
|
106
|
+
* @returns {string}
|
|
107
107
|
*/
|
|
108
108
|
timeFormat: function timeFormat() {
|
|
109
109
|
var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
|
|
@@ -128,11 +128,11 @@ var util = {
|
|
|
128
128
|
return formatter.replace('hh', this.toDoubleNumber(h)).replace('mm', this.toDoubleNumber(m)).replace('ss', this.toDoubleNumber(s));
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
|
-
/**
|
|
132
|
-
* 从中间拆分字符串,长度超出的话,解析为xxx...xxx
|
|
133
|
-
* @param str
|
|
134
|
-
* @param config
|
|
135
|
-
* @returns {string}
|
|
131
|
+
/**
|
|
132
|
+
* 从中间拆分字符串,长度超出的话,解析为xxx...xxx
|
|
133
|
+
* @param str
|
|
134
|
+
* @param config
|
|
135
|
+
* @returns {string}
|
|
136
136
|
*/
|
|
137
137
|
strMiddleSplit: function strMiddleSplit(str) {
|
|
138
138
|
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
package/package.json
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-interval",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23-zhongyuan.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/esm/index.js",
|
|
6
|
+
"typings": "dist/esm/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
4
10
|
"scripts": {
|
|
5
|
-
"start": "dumi dev",
|
|
6
|
-
"docs:build": "dumi build",
|
|
7
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
8
11
|
"build": "father build",
|
|
9
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",
|
|
10
16
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
11
|
-
"test": "umi-test",
|
|
12
17
|
"pub": "lerna publish",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"publishConfig": {
|
|
20
|
-
"access": "public"
|
|
21
|
-
},
|
|
22
|
-
"module": "dist/esm/index.js",
|
|
23
|
-
"typings": "dist/esm/index.d.ts",
|
|
24
|
-
"gitHooks": {
|
|
25
|
-
"pre-commit": "lint-staged"
|
|
18
|
+
"start": "dumi dev",
|
|
19
|
+
"test": "umi-test",
|
|
20
|
+
"test:coverage": "umi-test --coverage"
|
|
26
21
|
},
|
|
27
22
|
"lint-staged": {
|
|
28
23
|
"*.{js,jsx,less,md,json}": [
|
|
@@ -47,20 +42,25 @@
|
|
|
47
42
|
"@types/uuid": "^9.0.2",
|
|
48
43
|
"@umijs/fabric": "^2.8.1",
|
|
49
44
|
"@umijs/test": "^3.0.5",
|
|
50
|
-
"@zgfe/business-lib": "1.2.
|
|
51
|
-
"@zgfe/modules-demo-manage": "^1.0.1",
|
|
45
|
+
"@zgfe/business-lib": "1.2.70-hxd.10",
|
|
52
46
|
"antd": "^4.22.6",
|
|
53
47
|
"dumi": "^1.1.0",
|
|
54
48
|
"echarts": "^5.3.2",
|
|
55
49
|
"echarts-for-react": "^3.0.2",
|
|
56
50
|
"father-build": "^1.17.2",
|
|
57
51
|
"gh-pages": "^3.0.0",
|
|
58
|
-
"lerna": "5.1.8",
|
|
52
|
+
"lerna": "^5.1.8",
|
|
59
53
|
"lint-staged": "^10.0.7",
|
|
60
54
|
"lodash": "^4.17.21",
|
|
61
55
|
"prettier": "^2.2.1",
|
|
62
56
|
"umi-request": "^1.4.0",
|
|
63
57
|
"yorkie": "^2.0.0"
|
|
64
58
|
},
|
|
65
|
-
"
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"gitHead": "e0ab09536ecccea2965d6c3e0e73ba24b31fea65",
|
|
63
|
+
"gitHooks": {
|
|
64
|
+
"pre-commit": "lint-staged"
|
|
65
|
+
}
|
|
66
66
|
}
|