@zgfe/modules-interval 1.0.9 → 1.0.10-qirui.0
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/dist/esm/components/common/styles/index.less +3 -3
- package/dist/esm/components/eventFilter/index.js +17 -21
- package/dist/esm/components/eventFilter/types.d.ts +4 -3
- package/dist/esm/components/searchPanel/index.js +3 -4
- package/dist/esm/components/table/index.js +5 -4
- package/dist/esm/components/topBar/index.js +4 -4
- package/dist/esm/components/topBar/types.d.ts +3 -2
- package/dist/esm/constants/apis.d.ts +1 -5
- package/dist/esm/constants/apis.js +15 -4
- package/dist/esm/modules/chart/index.js +4 -3
- package/dist/esm/modules/chart/intervalChart.js +1 -1
- package/dist/esm/modules/chart/types.d.ts +1 -0
- package/dist/esm/modules/content/index.js +27 -42
- package/dist/esm/modules/content/types.d.ts +4 -3
- package/dist/esm/modules/content/utils.d.ts +2 -0
- package/dist/esm/modules/content/utils.js +4 -2
- package/dist/esm/modules/home/demo/edit.js +1 -1
- package/dist/esm/modules/home/demo/index.js +200 -15
- package/dist/esm/modules/home/demo/scene.js +1 -1
- package/dist/esm/modules/home/index.d.ts +2 -2
- package/dist/esm/modules/home/index.js +59 -46
- package/dist/esm/modules/home/styles/index.less +6 -0
- package/dist/esm/modules/home/types.d.ts +7 -4
- package/dist/esm/modules/home/types.js +2 -2
- package/dist/esm/modules/topPanel/index.js +244 -127
- package/dist/esm/modules/topPanel/styles/index.less +29 -2
- package/dist/esm/modules/topPanel/types.d.ts +6 -9
- package/dist/esm/modules/topPanel/types.js +5 -1
- package/dist/esm/style/index.less +14 -0
- package/dist/esm/types.d.ts +25 -28
- package/dist/esm/types.js +1 -1
- package/dist/esm/utils/formData.d.ts +7 -2
- package/dist/esm/utils/formData.js +64 -12
- package/package.json +9 -4
- package/dist/esm/assets/business/demo.css +0 -539
- package/dist/esm/assets/business/demo_index.html +0 -3316
- package/dist/esm/assets/business/iconfont.css +0 -559
- package/dist/esm/assets/business/iconfont.js +0 -43
- package/dist/esm/assets/business/iconfont.json +0 -961
- package/dist/esm/assets/business/iconfont.ttf +0 -0
- package/dist/esm/assets/business/iconfont.woff +0 -0
- package/dist/esm/assets/business/iconfont.woff2 +0 -0
- package/dist/esm/assets/icons/demo.css +0 -539
- package/dist/esm/assets/icons/demo_index.html +0 -9618
- package/dist/esm/assets/icons/iconfont.css +0 -1655
- package/dist/esm/assets/icons/iconfont.js +0 -43
- package/dist/esm/assets/icons/iconfont.json +0 -2879
- package/dist/esm/assets/icons/iconfont.ttf +0 -0
- package/dist/esm/assets/icons/iconfont.woff +0 -0
- package/dist/esm/assets/icons/iconfont.woff2 +0 -0
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AttrConditionTypes } from '@zgfe/business-lib';
|
|
2
2
|
import { DatePickerTypes } from '@zgfe/business-lib/es/datePicker/types';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import { FormDataProps, start } from './modules/topPanel/types';
|
|
4
|
+
import { AnalysisMode, FormDataProps, start } from './modules/topPanel/types';
|
|
5
5
|
/**
|
|
6
6
|
* 属性选择器 默认值
|
|
7
7
|
*/
|
|
@@ -117,36 +117,19 @@ export interface SearchValue {
|
|
|
117
117
|
* @description 分类
|
|
118
118
|
*/
|
|
119
119
|
module?: string;
|
|
120
|
-
}
|
|
121
|
-
export interface UserDrillParamsProp {
|
|
122
|
-
/**
|
|
123
|
-
* @description 应用id
|
|
124
|
-
*/
|
|
125
|
-
appId: number;
|
|
126
|
-
/**
|
|
127
|
-
* @description 平台
|
|
128
|
-
*/
|
|
129
|
-
platform: number;
|
|
130
|
-
/**
|
|
131
|
-
* @description 用户数量
|
|
132
|
-
*/
|
|
133
|
-
count: number;
|
|
134
|
-
/**
|
|
135
|
-
* @description 模型类型 整体|事件|漏斗|留存|获取|粘性|崩溃|微信生态-整体|微信生态-小程序
|
|
136
|
-
*/
|
|
137
|
-
source: string;
|
|
138
|
-
/**
|
|
139
|
-
* @description 查询接口
|
|
140
|
-
*/
|
|
141
|
-
url: string;
|
|
142
120
|
/**
|
|
143
|
-
*
|
|
121
|
+
* 分析模型
|
|
144
122
|
*/
|
|
145
|
-
|
|
123
|
+
analysisModel?: AnalysisMode;
|
|
146
124
|
/**
|
|
147
|
-
*
|
|
125
|
+
* 分析主体
|
|
148
126
|
*/
|
|
149
|
-
|
|
127
|
+
analysisSubject?: {
|
|
128
|
+
subjectId: number;
|
|
129
|
+
subjectName: string;
|
|
130
|
+
subjectAlias?: string;
|
|
131
|
+
unit: string;
|
|
132
|
+
};
|
|
150
133
|
}
|
|
151
134
|
export type EventChartTypes = 'line' | 'bar' | 'pie' | 'map' | 'boxplot';
|
|
152
135
|
/**
|
|
@@ -190,4 +173,18 @@ export interface TableChildrenProps {
|
|
|
190
173
|
name: string;
|
|
191
174
|
values: number[];
|
|
192
175
|
}
|
|
193
|
-
export declare const
|
|
176
|
+
export declare const IntervalContext: import("react").Context<any>;
|
|
177
|
+
export interface IntervalDrillParams {
|
|
178
|
+
/**
|
|
179
|
+
* @description 用户数量
|
|
180
|
+
*/
|
|
181
|
+
count: number;
|
|
182
|
+
/**
|
|
183
|
+
* @description 查询接口
|
|
184
|
+
*/
|
|
185
|
+
url: string;
|
|
186
|
+
/**
|
|
187
|
+
* @description 查询对象
|
|
188
|
+
*/
|
|
189
|
+
params?: Record<string, any>;
|
|
190
|
+
}
|
package/dist/esm/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ColumnsType } from 'antd/es/table';
|
|
2
2
|
import { EventGroup, UserProp, EnvProp } from '@zgfe/business-lib/es/attributeSelector/types';
|
|
3
3
|
import { ResponseDataProps, SearchValue, SeriesProps } from '../types';
|
|
4
|
-
import {
|
|
4
|
+
import { IntervalProps } from '../modules/home/types';
|
|
5
5
|
import '../style/index.less';
|
|
6
6
|
import { DisplaySetup } from '../components/searchPanel/types';
|
|
7
7
|
/**
|
|
@@ -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[]): ColumnsType<
|
|
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>;
|
|
13
13
|
/**
|
|
14
14
|
* 获取属性的label
|
|
15
15
|
* @param attrData 当前属性
|
|
@@ -35,7 +35,9 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
35
35
|
Q3: number;
|
|
36
36
|
min: number;
|
|
37
37
|
perValue: number;
|
|
38
|
+
total: number;
|
|
38
39
|
peopleNum: number;
|
|
40
|
+
names: string[];
|
|
39
41
|
}[] | {
|
|
40
42
|
key: number;
|
|
41
43
|
time: string;
|
|
@@ -45,6 +47,7 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
45
47
|
Q3: number;
|
|
46
48
|
min: number;
|
|
47
49
|
perValue: number;
|
|
50
|
+
total: number;
|
|
48
51
|
peopleNum: number;
|
|
49
52
|
children: {
|
|
50
53
|
key: string;
|
|
@@ -55,7 +58,9 @@ export declare function formTableData(originalData: ChartData): {
|
|
|
55
58
|
Q3: number;
|
|
56
59
|
min: number;
|
|
57
60
|
perValue: number;
|
|
61
|
+
total: number;
|
|
58
62
|
peopleNum: number;
|
|
63
|
+
names: string[];
|
|
59
64
|
}[];
|
|
60
65
|
}[] | undefined;
|
|
61
66
|
type ChartData = {
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
3
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
9
4
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
10
5
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
6
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
12
7
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
13
8
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
9
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
13
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import { chartColors } from "../constants/color";
|
|
16
16
|
import "../style/index.less";
|
|
17
|
+
import { IconFont } from '@zgfe/business-lib';
|
|
18
|
+
import { Apis } from "../constants";
|
|
19
|
+
import { searchDataParams } from "../modules/content/utils";
|
|
17
20
|
var classPrefix = 'interval-form-data';
|
|
18
21
|
function convertToHMS(seconds) {
|
|
19
22
|
var hours = Math.floor(seconds / 3600);
|
|
@@ -29,7 +32,7 @@ function convertToHMS(seconds) {
|
|
|
29
32
|
* @param columnData xAxis
|
|
30
33
|
* @returns column fields
|
|
31
34
|
*/
|
|
32
|
-
export function getColumns(eventGroupList, userPropList, eventEnvList, columnData, dataSource, userGroup, searchData, showList
|
|
35
|
+
export function getColumns(eventGroupList, userPropList, eventEnvList, columnData, dataSource, userGroup, searchData, showList, onUserDrill
|
|
33
36
|
// onClickToDetailCallback: Function,
|
|
34
37
|
) {
|
|
35
38
|
var _dataSource$appData, _dataSource$appData$s, _searchData$dimension;
|
|
@@ -121,7 +124,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
121
124
|
return /*#__PURE__*/React.createElement("span", null, " ", convertToHMS(text));
|
|
122
125
|
}
|
|
123
126
|
}, {
|
|
124
|
-
title: '
|
|
127
|
+
title: '均值',
|
|
125
128
|
width: 148,
|
|
126
129
|
ellipsis: true,
|
|
127
130
|
align: 'right',
|
|
@@ -136,7 +139,22 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
136
139
|
return /*#__PURE__*/React.createElement("span", null, " ", convertToHMS(text));
|
|
137
140
|
}
|
|
138
141
|
}, {
|
|
139
|
-
title: '
|
|
142
|
+
title: '合计',
|
|
143
|
+
width: 148,
|
|
144
|
+
ellipsis: true,
|
|
145
|
+
align: 'right',
|
|
146
|
+
dataIndex: 'total',
|
|
147
|
+
key: 'total',
|
|
148
|
+
className: "".concat(classPrefix, "-table-td"),
|
|
149
|
+
sorter: function sorter(a, b) {
|
|
150
|
+
var _a$total, _b$total;
|
|
151
|
+
return ((_a$total = a === null || a === void 0 ? void 0 : a.total) !== null && _a$total !== void 0 ? _a$total : 0) - ((_b$total = b === null || b === void 0 ? void 0 : b.total) !== null && _b$total !== void 0 ? _b$total : 0);
|
|
152
|
+
},
|
|
153
|
+
render: function render(text, record) {
|
|
154
|
+
return /*#__PURE__*/React.createElement("span", null, " ", convertToHMS(text));
|
|
155
|
+
}
|
|
156
|
+
}, {
|
|
157
|
+
title: searchData.analysisSubject ? "".concat(searchData.analysisSubject.subjectAlias || searchData.analysisSubject.subjectName, "\u6570") : '人数',
|
|
140
158
|
width: 148,
|
|
141
159
|
ellipsis: true,
|
|
142
160
|
align: 'right',
|
|
@@ -148,7 +166,38 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
|
|
|
148
166
|
key: 'peopleNum',
|
|
149
167
|
className: "".concat(classPrefix, "-table-td"),
|
|
150
168
|
render: function render(text, record) {
|
|
151
|
-
return /*#__PURE__*/React.createElement("span",
|
|
169
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
170
|
+
className: "interval-drill",
|
|
171
|
+
onClick: function onClick() {
|
|
172
|
+
var params;
|
|
173
|
+
var searchParam = searchDataParams(searchData);
|
|
174
|
+
// 主体下钻
|
|
175
|
+
if (searchData.analysisSubject) {
|
|
176
|
+
params = {
|
|
177
|
+
url: Apis.subjectDrill,
|
|
178
|
+
count: Number(text),
|
|
179
|
+
params: _objectSpread({}, searchParam)
|
|
180
|
+
};
|
|
181
|
+
} else {
|
|
182
|
+
// 用户下钻
|
|
183
|
+
params = {
|
|
184
|
+
url: Apis.userDrill,
|
|
185
|
+
count: Number(text),
|
|
186
|
+
params: _objectSpread({}, searchParam)
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
if (searchParam.dimension) {
|
|
190
|
+
params.params.groupValue = /\d{4}-\d{2}-\d{2}/.test(record.time || '') ? record.names ? record.names[0] : undefined : record.time;
|
|
191
|
+
}
|
|
192
|
+
if (/\d{4}-\d{2}-\d{2}/.test(record.time || '')) {
|
|
193
|
+
params.params.time.begin = record.time.split('|')[0];
|
|
194
|
+
params.params.time.end = record.time.split('|')[1] || record.time.split('|')[0];
|
|
195
|
+
}
|
|
196
|
+
onUserDrill === null || onUserDrill === void 0 ? void 0 : onUserDrill(params, searchData.analysisSubject ? true : false);
|
|
197
|
+
}
|
|
198
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
199
|
+
type: "a-yanjingkai"
|
|
200
|
+
}), " ", text);
|
|
152
201
|
}
|
|
153
202
|
}];
|
|
154
203
|
return data;
|
|
@@ -192,7 +241,8 @@ function createNewArray(data) {
|
|
|
192
241
|
Q3: item.total[3] || 0,
|
|
193
242
|
min: item.total[4] || 0,
|
|
194
243
|
perValue: item.total[5] || 0,
|
|
195
|
-
|
|
244
|
+
total: item.total[6] || 0,
|
|
245
|
+
peopleNum: item.total[7] || 0,
|
|
196
246
|
children: getChildrenData(data, i)
|
|
197
247
|
};
|
|
198
248
|
});
|
|
@@ -221,7 +271,7 @@ export function convertDateArray(params, dateArray) {
|
|
|
221
271
|
var resultArray = dateArray.map(function (date) {
|
|
222
272
|
var dateObj = new Date(date);
|
|
223
273
|
var weekday = weekdays[dateObj.getDay()];
|
|
224
|
-
return "".concat(date
|
|
274
|
+
return "".concat(date).concat(weekday ? " (".concat(weekday, ")") : '');
|
|
225
275
|
});
|
|
226
276
|
return resultArray;
|
|
227
277
|
break;
|
|
@@ -245,7 +295,9 @@ function getChildrenData(data, index) {
|
|
|
245
295
|
Q3: values[i][3] || 0,
|
|
246
296
|
min: values[i][4] || 0,
|
|
247
297
|
perValue: values[i][5] || 0,
|
|
248
|
-
|
|
298
|
+
total: values[i][6] || 0,
|
|
299
|
+
peopleNum: values[i][7] || 0,
|
|
300
|
+
names: firstSeries.names
|
|
249
301
|
};
|
|
250
302
|
});
|
|
251
303
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-interval",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10-qirui.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -9,12 +9,16 @@
|
|
|
9
9
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
10
10
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
11
11
|
"test": "umi-test",
|
|
12
|
+
"pub": "lerna publish",
|
|
12
13
|
"test:coverage": "umi-test --coverage",
|
|
13
14
|
"prepublishOnly": "npm run build"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
17
|
"dist"
|
|
17
18
|
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
18
22
|
"module": "dist/esm/index.js",
|
|
19
23
|
"typings": "dist/esm/index.d.ts",
|
|
20
24
|
"gitHooks": {
|
|
@@ -43,7 +47,7 @@
|
|
|
43
47
|
"@types/uuid": "^9.0.2",
|
|
44
48
|
"@umijs/fabric": "^2.8.1",
|
|
45
49
|
"@umijs/test": "^3.0.5",
|
|
46
|
-
"@zgfe/business-lib": "1.1.
|
|
50
|
+
"@zgfe/business-lib": "1.1.96-qirui.0",
|
|
47
51
|
"@zgfe/modules-demo-manage": "^1.0.1",
|
|
48
52
|
"antd": "^4.22.6",
|
|
49
53
|
"dumi": "^1.1.0",
|
|
@@ -51,11 +55,12 @@
|
|
|
51
55
|
"echarts-for-react": "^3.0.2",
|
|
52
56
|
"father-build": "^1.17.2",
|
|
53
57
|
"gh-pages": "^3.0.0",
|
|
54
|
-
"lerna": "
|
|
58
|
+
"lerna": "5.1.8",
|
|
55
59
|
"lint-staged": "^10.0.7",
|
|
56
60
|
"lodash": "^4.17.21",
|
|
57
61
|
"prettier": "^2.2.1",
|
|
58
62
|
"umi-request": "^1.4.0",
|
|
59
63
|
"yorkie": "^2.0.0"
|
|
60
|
-
}
|
|
64
|
+
},
|
|
65
|
+
"gitHead": "ebdc05e78f9d6e1e0c3203270109485aa3919d56"
|
|
61
66
|
}
|