@zgfe/business-lib 1.2.66-hxd.2 → 1.2.70-hxd.3

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.
Files changed (60) hide show
  1. package/README.md +1 -1
  2. package/es/assets/iconfont/demo.css +539 -539
  3. package/es/assets/iconfont/demo_index.html +5708 -5363
  4. package/es/assets/iconfont/iconfont.css +975 -915
  5. package/es/assets/iconfont/iconfont.js +8 -8
  6. package/es/assets/iconfont/iconfont.json +1689 -1584
  7. package/es/assets/iconfont/iconfont.ttf +0 -0
  8. package/es/assets/iconfont/iconfont.woff +0 -0
  9. package/es/assets/iconfont/iconfont.woff2 +0 -0
  10. package/es/assets/styles/resetAntd.less +20 -7
  11. package/es/attrConditions/components/operateList.js +4 -4
  12. package/es/attrConditions/components/valuesList.js +1 -1
  13. package/es/attributeSelector/index.js +3 -1
  14. package/es/attributeSelector/listPanel.js +2 -2
  15. package/es/attributeSelector/types.d.ts +1 -0
  16. package/es/attributeSelector/util.js +1 -0
  17. package/es/chart/demo/data/data7.d.ts +54 -0
  18. package/es/chart/demo/data/data7.js +1527 -0
  19. package/es/chart/demo/stack.d.ts +3 -0
  20. package/es/chart/demo/stack.js +31 -0
  21. package/es/chart/index.js +16 -6
  22. package/es/chart/types.d.ts +4 -1
  23. package/es/chart/util/chartOptionConfig.d.ts +4 -3
  24. package/es/chart/util/chartOptionConfig.js +84 -4
  25. package/es/chart/util/formatData.d.ts +1 -0
  26. package/es/chart/util/formatData.js +13 -0
  27. package/es/cycleTime/index.js +1 -1
  28. package/es/datePicker/index.js +6 -6
  29. package/es/datePickerV2/index.js +6 -3
  30. package/es/datePickerV2/popoverContent.d.ts +1 -0
  31. package/es/datePickerV2/popoverContent.js +3 -1
  32. package/es/datePickerV2/shortcut.d.ts +2 -0
  33. package/es/datePickerV2/shortcut.js +4 -3
  34. package/es/datePickerV2/types.d.ts +2 -0
  35. package/es/datePickerV2/utils.d.ts +1 -1
  36. package/es/datePickerV2/utils.js +5 -5
  37. package/es/hooks/useBizStore.js +5 -2
  38. package/es/index.d.ts +4 -1
  39. package/es/index.js +4 -1
  40. package/es/productCondition/conditions/order/runPeriodCondition.js +1 -1
  41. package/es/productCondition/conditions/periodCondition.js +1 -1
  42. package/es/productCondition/conditions/runTimesCondition.js +1 -1
  43. package/es/select/index.js +9 -1
  44. package/es/select/types.d.ts +3 -2
  45. package/es/subjectWrapper/demo/index.d.ts +3 -0
  46. package/es/subjectWrapper/demo/index.js +28 -0
  47. package/es/subjectWrapper/index.d.ts +5 -0
  48. package/es/subjectWrapper/index.js +98 -0
  49. package/es/subjectWrapper/index.less +12 -0
  50. package/es/subjectWrapper/types.d.ts +14 -0
  51. package/es/subjectWrapper/types.js +4 -0
  52. package/es/userCondition/conditions/cdpCshCondition.js +0 -1
  53. package/es/userCondition/conditions/order/runPeriodCondition.js +1 -1
  54. package/es/userCondition/conditions/periodCondition.js +1 -1
  55. package/es/userCondition/conditions/runTimesCondition.js +1 -1
  56. package/es/userGroup/index.js +2 -2
  57. package/es/userGroupHeader/demo/index.js +1 -1
  58. package/es/utils/util.d.ts +3 -0
  59. package/es/utils/util.js +10 -0
  60. package/package.json +62 -62
@@ -0,0 +1,28 @@
1
+ import React, { useContext } from 'react';
2
+ import { SubjectWrapper, BizGlobalDataContext, useChanged } from '@zgfe/business-lib';
3
+ function Test() {
4
+ var _useContext = useContext(BizGlobalDataContext),
5
+ currentApp = _useContext.currentApp,
6
+ currentProject = _useContext.currentProject;
7
+ useChanged(function () {
8
+ console.log('currentApp changed', currentApp);
9
+ }, currentApp);
10
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
11
+ style: {
12
+ margin: '20px',
13
+ padding: '20px 20px 10px 20px',
14
+ background: 'pink'
15
+ }
16
+ }, /*#__PURE__*/React.createElement("p", null, " \u5F53\u524D\u5E94\u7528\u540D\u79F0: ", currentProject === null || currentProject === void 0 ? void 0 : currentProject.projectName), /*#__PURE__*/React.createElement("p", null, " \u5F53\u524D\u5E94\u7528id: ", currentProject === null || currentProject === void 0 ? void 0 : currentProject.projectId)), /*#__PURE__*/React.createElement("div", {
17
+ style: {
18
+ margin: '20px',
19
+ padding: '20px 20px 10px 20px',
20
+ background: '#FFEB3B'
21
+ }
22
+ }, /*#__PURE__*/React.createElement("p", null, " \u5F53\u524D\u4E3B\u4F53\u540D\u79F0: ", currentApp === null || currentApp === void 0 ? void 0 : currentApp.appName), /*#__PURE__*/React.createElement("p", null, " \u5F53\u524D\u4E3B\u4F53id: ", currentApp === null || currentApp === void 0 ? void 0 : currentApp.id)));
23
+ }
24
+ export default (function () {
25
+ return /*#__PURE__*/React.createElement(SubjectWrapper, {
26
+ needMeta: true
27
+ }, /*#__PURE__*/React.createElement(Test, null));
28
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import DemoWrapperTypes from './types';
3
+ import './index.less';
4
+ declare const SubjectWrapper: React.FC<DemoWrapperTypes.Props>;
5
+ export default SubjectWrapper;
@@ -0,0 +1,98 @@
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
+ 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ 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); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
+ 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."); }
9
+ 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); }
10
+ 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; }
11
+ 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; } }
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { Spin } from 'antd';
14
+ import BizGlobalDataContext from '../context';
15
+ import React, { useEffect, useState, useContext, Fragment } from 'react';
16
+ import useBizStore from '../hooks/useBizStore';
17
+ import './index.less';
18
+ var SubjectWrapper = function SubjectWrapper(_ref) {
19
+ var children = _ref.children,
20
+ className = _ref.className,
21
+ defaultApp = _ref.defaultApp,
22
+ needMeta = _ref.needMeta,
23
+ contextProps = _ref.contextProps;
24
+ if (!needMeta || defaultApp === undefined) {
25
+ return /*#__PURE__*/React.createElement(Fragment, null, children);
26
+ }
27
+ var globalData = useContext(BizGlobalDataContext);
28
+ var _useState = useState(true),
29
+ _useState2 = _slicedToArray(_useState, 2),
30
+ loading = _useState2[0],
31
+ setLoading = _useState2[1];
32
+ var _useState3 = useState(globalData.currentApp),
33
+ _useState4 = _slicedToArray(_useState3, 2),
34
+ currentApp = _useState4[0],
35
+ setCurrentApp = _useState4[1];
36
+ var _useBizStore = useBizStore({
37
+ currentApp: currentApp
38
+ }),
39
+ useBizStoreLoading = _useBizStore.useBizStoreLoading,
40
+ eventGroupList = _useBizStore.eventGroupList,
41
+ userPropList = _useBizStore.userPropList,
42
+ envPropList = _useBizStore.envPropList,
43
+ eventNameMap = _useBizStore.eventNameMap,
44
+ eventIdMap = _useBizStore.eventIdMap,
45
+ userGroupList = _useBizStore.userGroupList,
46
+ groupLoading = _useBizStore.groupLoading,
47
+ setUserGroupList = _useBizStore.setUserGroupList,
48
+ tagList = _useBizStore.tagList,
49
+ tagLoading = _useBizStore.tagLoading,
50
+ setTagList = _useBizStore.setTagList,
51
+ queryGroups = _useBizStore.queryGroups,
52
+ queryTags = _useBizStore.queryTags;
53
+ useEffect(function () {
54
+ appInfo(globalData.projectList);
55
+ }, [defaultApp]);
56
+ var appInfo = function appInfo(data) {
57
+ var hasDefaultApp = false;
58
+ if (defaultApp) {
59
+ data.map(function (item) {
60
+ item.appList.map(function (_item) {
61
+ if (defaultApp === _item.id) {
62
+ hasDefaultApp = true;
63
+ setCurrentApp(_item);
64
+ }
65
+ });
66
+ });
67
+ } else {
68
+ setCurrentApp(data[0].appList[0]);
69
+ }
70
+ if (!hasDefaultApp) {
71
+ setCurrentApp(data[0].appList[0]);
72
+ }
73
+ setLoading(false);
74
+ };
75
+ return /*#__PURE__*/React.createElement("div", {
76
+ className: "lib-subjectWrapper ".concat(className, " ").concat(useBizStoreLoading ? 'lib-subjectWrapper-loading' : '')
77
+ }, (useBizStoreLoading || loading) && /*#__PURE__*/React.createElement(Spin, null), !(useBizStoreLoading || loading) && /*#__PURE__*/React.createElement(BizGlobalDataContext.Provider, {
78
+ value: _objectSpread(_objectSpread({}, globalData), {}, {
79
+ currentApp: _objectSpread(_objectSpread({}, currentApp), {}, {
80
+ appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.id
81
+ }),
82
+ eventGroupList: eventGroupList,
83
+ userPropList: userPropList,
84
+ eventEnvList: envPropList,
85
+ eventIdMap: eventIdMap,
86
+ eventNameMap: eventNameMap,
87
+ userGroupList: userGroupList,
88
+ groupLoading: groupLoading,
89
+ setUserGroupList: setUserGroupList,
90
+ tagList: tagList,
91
+ tagLoading: tagLoading,
92
+ setTagList: setTagList,
93
+ queryGroups: queryGroups,
94
+ queryTags: queryTags
95
+ }, contextProps)
96
+ }, children));
97
+ };
98
+ export default SubjectWrapper;
@@ -0,0 +1,12 @@
1
+ @import '~antd/dist/antd.less';
2
+ @import '../assets/iconfont/iconfont.css';
3
+ @import '../assets/styles/resetAntd.less';
4
+ .lib-subjectWrapper {
5
+ width: 100%;
6
+ height: 100%;
7
+ &-loading {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ }
12
+ }
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { GlobalContextProps } from '../context';
3
+ declare namespace DemoWrapperTypes {
4
+ interface Props {
5
+ className?: string;
6
+ defaultApp?: number;
7
+ needMeta?: boolean;
8
+ children?: ReactNode;
9
+ contextProps?: GlobalContextProps;
10
+ projectList?: any;
11
+ }
12
+ }
13
+ export declare const Props: React.FC<DemoWrapperTypes.Props>;
14
+ export default DemoWrapperTypes;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export var Props = function Props() {
3
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
4
+ };
@@ -506,7 +506,6 @@ var CdpCondition = function CdpCondition(props) {
506
506
  }
507
507
  }, []);
508
508
  var onChangeCondition = function onChangeCondition(condition, index) {
509
- console.log('onChangeCondition', condition, index);
510
509
  var resData = _.cloneDeep(cdpConditions);
511
510
  resData[index] = _objectSpread({}, condition);
512
511
  onChange(dataId, resData);
@@ -38,7 +38,7 @@ var RunPeriodCondition = function RunPeriodCondition(props) {
38
38
  }
39
39
  function onOperatorChange(option) {
40
40
  var newData = {
41
- operator: option.value
41
+ operator: option === null || option === void 0 ? void 0 : option.value
42
42
  };
43
43
  if (newData.operator === 'absolute') {
44
44
  var endDate = moment().format('YYYY-MM-DD');
@@ -47,7 +47,7 @@ var PeriodCondition = function PeriodCondition(props) {
47
47
  }
48
48
  function onOperatorChange(option) {
49
49
  var newData = {
50
- operator: option.value
50
+ operator: option === null || option === void 0 ? void 0 : option.value
51
51
  };
52
52
  if (newData.operator === 'absolute') {
53
53
  var endDate = moment().format('YYYY-MM-DD');
@@ -34,7 +34,7 @@ var RunTimesCondition = function RunTimesCondition(props) {
34
34
  onChange = props.onChange;
35
35
  function onOperatorChange(data) {
36
36
  onChange(_objectSpread(_objectSpread({}, runTimes), {}, {
37
- operator: data.value
37
+ operator: data === null || data === void 0 ? void 0 : data.value
38
38
  }));
39
39
  }
40
40
  function onValueChange(e) {
@@ -93,7 +93,7 @@ var BizUserGroup = function BizUserGroup(_ref) {
93
93
  }
94
94
  }, [groupLoading, tagLoading]);
95
95
  useEffect(function () {
96
- if (!onChange || groupLoading || tagLoading) return;
96
+ if (!onChange || groupLoading || tagLoading || open) return;
97
97
  if (!enableTags) {
98
98
  onChange(chosen === null || chosen === void 0 ? void 0 : chosen.id);
99
99
  return;
@@ -104,7 +104,7 @@ var BizUserGroup = function BizUserGroup(_ref) {
104
104
  layer = _item[2];
105
105
  return layer ? "".concat(tag.id, ":").concat(layer === null || layer === void 0 ? void 0 : layer.layerLabelId) : String(tag.id);
106
106
  }) : chosen === null || chosen === void 0 ? void 0 : chosen.id);
107
- }, [chosen]);
107
+ }, [chosen, open]);
108
108
  var _onClose = function onClose(e, index) {
109
109
  e.stopPropagation();
110
110
  setChosen(function (data) {
@@ -11,7 +11,7 @@ export default (function () {
11
11
  }, /*#__PURE__*/React.createElement(BizUserGroupHeader, {
12
12
  max: 3,
13
13
  enableTags: true,
14
- value: [['4077:685001635528704'], 836, 837],
14
+ value: [0],
15
15
  onChange: function onChange(value) {
16
16
  console.log('>>>>>>>>回传值', value);
17
17
  }
@@ -5,6 +5,8 @@ declare let util: {
5
5
  isArray(obj: any): boolean;
6
6
  isString(obj: any): boolean;
7
7
  isNumber(obj: any): boolean;
8
+ isFloatNumber(str: any): boolean;
9
+ formatNumberWithCommas(number: any): any;
8
10
  isDate(obj: any): boolean;
9
11
  isFunction(obj: any): boolean;
10
12
  isBlob(obj: any): boolean;
@@ -34,5 +36,6 @@ declare let util: {
34
36
  transformRequest(param: {
35
37
  [prop: string]: any;
36
38
  }): string;
39
+ isMobile(): boolean;
37
40
  };
38
41
  export default util;
package/es/utils/util.js CHANGED
@@ -16,6 +16,12 @@ var util = {
16
16
  isNumber: function isNumber(obj) {
17
17
  return this.type(obj) === '[object Number]';
18
18
  },
19
+ isFloatNumber: function isFloatNumber(str) {
20
+ return /^-?\d+(\.\d+)?$/.test(str);
21
+ },
22
+ formatNumberWithCommas: function formatNumberWithCommas(number) {
23
+ return number.toLocaleString();
24
+ },
19
25
  isDate: function isDate(obj) {
20
26
  return this.type(obj) === '[object Date]';
21
27
  },
@@ -173,6 +179,10 @@ var util = {
173
179
  arr.push("".concat(key, "=").concat(encodeURIComponent(param[key])));
174
180
  }
175
181
  return arr.join('&');
182
+ },
183
+ isMobile: function isMobile() {
184
+ var userAgent = navigator.userAgent || navigator.vendor;
185
+ return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent);
176
186
  }
177
187
  };
178
188
  export default util;
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
- {
2
- "name": "@zgfe/business-lib",
3
- "version": "1.2.66-hxd.2",
4
- "module": "es/index.js",
5
- "typings": "es/index.d.ts",
6
- "files": [
7
- "es",
8
- "config.js"
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/qs": "^6.9.7",
32
- "axios": "^0.26.1",
33
- "babel-plugin-import": "^1.13.3",
34
- "echarts": "^5.3.2",
35
- "echarts-for-react": "^3.0.2",
36
- "lerna": "^4.0.0",
37
- "rc-virtual-list": "^3.4.8",
38
- "react-infinite-scroll-component": "^6.1.0",
39
- "umi-request": "^1.4.0"
40
- },
41
- "devDependencies": {
42
- "@testing-library/jest-dom": "^5.15.1",
43
- "@testing-library/react": "^12.1.2",
44
- "@types/jest": "^27.0.3",
45
- "@types/lodash": "^4.14.182",
46
- "@umijs/fabric": "^2.8.1",
47
- "@umijs/test": "^3.0.5",
48
- "antd": "4.24.16",
49
- "dumi": "^1.1.0",
50
- "father-build": "^1.17.2",
51
- "gh-pages": "^3.0.0",
52
- "lint-staged": "^10.0.7",
53
- "lodash": "^4.17.21",
54
- "prettier": "^2.2.1",
55
- "react": "^16.12.0 || ^17.0.0",
56
- "yorkie": "^2.0.0"
57
- },
58
- "gitHead": "9608e92d175153d6375e3ae49f6649ff886175dc",
59
- "gitHooks": {
60
- "pre-commit": "lint-staged"
61
- }
62
- }
1
+ {
2
+ "name": "@zgfe/business-lib",
3
+ "version": "1.2.70-hxd.3",
4
+ "module": "es/index.js",
5
+ "typings": "es/index.d.ts",
6
+ "files": [
7
+ "es",
8
+ "config.js"
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/qs": "^6.9.7",
32
+ "axios": "^0.26.1",
33
+ "babel-plugin-import": "^1.13.3",
34
+ "lerna": "^4.0.0",
35
+ "rc-virtual-list": "^3.4.8",
36
+ "react-infinite-scroll-component": "^6.1.0",
37
+ "umi-request": "^1.4.0"
38
+ },
39
+ "devDependencies": {
40
+ "@testing-library/jest-dom": "^5.15.1",
41
+ "@testing-library/react": "^12.1.2",
42
+ "@types/jest": "^27.0.3",
43
+ "@types/lodash": "^4.14.182",
44
+ "@umijs/fabric": "^2.8.1",
45
+ "@umijs/test": "^3.0.5",
46
+ "antd": "4.24.16",
47
+ "dumi": "^1.1.0",
48
+ "echarts": "^5.3.2",
49
+ "echarts-for-react": "^3.0.2",
50
+ "father-build": "^1.17.2",
51
+ "gh-pages": "^3.0.0",
52
+ "lint-staged": "^10.0.7",
53
+ "lodash": "^4.17.21",
54
+ "prettier": "^2.2.1",
55
+ "react": "^16.12.0 || ^17.0.0",
56
+ "yorkie": "^2.0.0"
57
+ },
58
+ "gitHead": "eb8dd16ac367714d87e9e2a590d2bf2d46b8a25e",
59
+ "gitHooks": {
60
+ "pre-commit": "lint-staged"
61
+ }
62
+ }