@titaui/pc 1.10.57 → 1.10.59-beta.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/.eslintrc.js CHANGED
@@ -62,7 +62,7 @@ module.exports = {
62
62
  "react/jsx-filename-extension": 0,
63
63
  "react/prop-types": 2,
64
64
  "react/function-component-definition": 0,
65
- "react/no-danger": 2,
65
+ "react/no-danger": 0,
66
66
  "react/self-closing-comp": 2,
67
67
  "no-useless-escape": 2,
68
68
  "curly": 2,
@@ -98,7 +98,7 @@ module.exports = {
98
98
  "max-len": ["error", { "code": 200 }],
99
99
  "lines-between-class-members": 2,
100
100
  "no-tabs": 2,
101
- "react/jsx-indent": 2,
101
+ "react/jsx-indent": 0,
102
102
  "react/jsx-closing-tag-location": 2,
103
103
  "react/jsx-tag-spacing": 2,
104
104
  "react/jsx-indent-props": 2,
@@ -143,6 +143,12 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
143
143
  (0, _requestV.taker)(url, "DELETE").then(function (res) {
144
144
  if (res.Code === 1) {
145
145
  isShowAllCommunicationRecord ? _this.getFeedInfo(feedId, communicationTrackTotal - 1) : _this.getFeedInfo(feedId, commentCount);
146
+
147
+ if (_this.props.onReplyChange) {
148
+ _this.props.onReplyChange({
149
+ submitType: 'delete'
150
+ });
151
+ }
146
152
  }
147
153
  });
148
154
  } else if (actionType === "reply") {
@@ -227,7 +233,8 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
227
233
  feedId = _this$props4.feedId,
228
234
  commentCount = _this$props4.commentCount,
229
235
  commentType = _this$props4.commentType,
230
- okrFeedParams = _this$props4.okrFeedParams;
236
+ okrFeedParams = _this$props4.okrFeedParams,
237
+ onReplyChange = _this$props4.onReplyChange;
231
238
  var _this$state3 = _this.state,
232
239
  isShowReplyToUser = _this$state3.isShowReplyToUser,
233
240
  replyUserCommentId = _this$state3.replyUserCommentId,
@@ -272,6 +279,12 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
272
279
  submitStatus: 0
273
280
  });
274
281
  }
282
+
283
+ if (onReplyChange) {
284
+ onReplyChange({
285
+ submitType: submitType
286
+ });
287
+ }
275
288
  };
276
289
 
277
290
  _this.handlerCancelReplyUser = function () {
@@ -0,0 +1,70 @@
1
+ .titaui-dynamic-operation__operate {
2
+ margin: 14px 24px 12px 88px;
3
+ }
4
+
5
+ .titaui-dynamic-operation__operate-item {
6
+ display: flex;
7
+ font-size: 12px;
8
+ line-height: 18px;
9
+ margin-top: 12px;
10
+ position: relative;
11
+ }
12
+
13
+ .titaui-dynamic-operation__operate-item::before {
14
+ content: '';
15
+ position: absolute;
16
+ width: 1px;
17
+ height: 100%;
18
+ background: rgba(164, 172, 185, 0.2);
19
+ top: 16px;
20
+ left: 8px;
21
+ }
22
+
23
+ .titaui-dynamic-operation__operate-item:last-child::before {
24
+ display: none;
25
+ }
26
+
27
+ .titaui-dynamic-operation__operate-item-total {
28
+ font-size: 12px;
29
+ color: #89919f;
30
+ line-height: 18px;
31
+ display: flex;
32
+ align-items: center;
33
+ }
34
+
35
+ .titaui-dynamic-operation__operate-item-total-num {
36
+ margin: 0 4px;
37
+ }
38
+
39
+ .titaui-dynamic-operation__operate-item-total:hover {
40
+ color: #2879ff;
41
+ cursor: pointer;
42
+ }
43
+
44
+ .titaui-dynamic-operation__operate-item-left {
45
+ margin-right: 16px;
46
+ }
47
+
48
+ .titaui-dynamic-operation__operate-item-right {
49
+ flex: 1;
50
+ }
51
+
52
+ .titaui-dynamic-operation__operate-icon {
53
+ width: 18px;
54
+ height: 18px;
55
+ margin-right: 8px;
56
+ }
57
+
58
+ .titaui-dynamic-operation__operate-time {
59
+ color: #89919f;
60
+ }
61
+
62
+ .titaui-dynamic-operation__operate-user {
63
+ color: #3f4755;
64
+ margin-right: 8px;
65
+ }
66
+
67
+ .titaui-dynamic-operation__operate-content {
68
+ color: #6f7886;
69
+ white-space: pre-wrap;
70
+ }
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _classnames = _interopRequireDefault(require("classnames"));
11
+
12
+ var _tooltip = _interopRequireDefault(require("../../../../tooltip"));
13
+
14
+ var _openData = require("../../../../../utils/open-data");
15
+
16
+ var _dynamicOperate = _interopRequireDefault(require("../../../img/dynamic-operate.png"));
17
+
18
+ var _drawerManager = _interopRequireDefault(require("../../../../drawer-manager"));
19
+
20
+ var _constant = require("../../../constant");
21
+
22
+ require("./index.css");
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
+
26
+ var prefix = "titaui-dynamic-operation";
27
+
28
+ var DynamicOperation = function DynamicOperation(_ref) {
29
+ var feedOperations = _ref.feedOperations,
30
+ data = _ref.data;
31
+ var feedType = data.feedType,
32
+ krId = data.krId,
33
+ okrId = data.okrId,
34
+ taskId = data.taskId,
35
+ workId = data.workId,
36
+ mileStoneId = data.mileStoneId;
37
+
38
+ if (!(feedType === _constant.EFeedType.O || feedType === _constant.EFeedType.Kr || feedType === _constant.EFeedType.MileStone || feedType === _constant.EFeedType.Project || feedType === _constant.EFeedType.Task)) {
39
+ return /*#__PURE__*/_react["default"].createElement("span", null);
40
+ }
41
+
42
+ var handleClickShowAll = function handleClickShowAll() {
43
+ if (feedType === _constant.EFeedType.Kr) {
44
+ _drawerManager["default"].open("krDetail", {
45
+ krId: krId
46
+ });
47
+ } else if (feedType === _constant.EFeedType.O) {
48
+ _drawerManager["default"].open("okrDetail", {
49
+ okrId: okrId,
50
+ activeTabKey: "cooperation"
51
+ });
52
+ } else if (feedType === _constant.EFeedType.Task) {
53
+ window.Talent.app.vent.trigger("global-pull-screen", taskId, "task");
54
+ } else if (feedType === _constant.EFeedType.Project) {
55
+ window.open(window.location.href.replace(window.location.hash, "#work?iTalentNavCode=tita-work&work_id=".concat(workId)));
56
+ } else if (feedType === _constant.EFeedType.MileStone) {
57
+ window.Talent.app.vent.trigger("global-pull-screen", mileStoneId, "milestone", new window.Talent.Model(data), {
58
+ option: true,
59
+ width: 465,
60
+ React: _react["default"],
61
+ ReactDom: window.ReactDom,
62
+ ReactComponents: window.ReactComponents
63
+ });
64
+ }
65
+ };
66
+
67
+ return /*#__PURE__*/_react["default"].createElement("div", {
68
+ className: "".concat(prefix, "__operate")
69
+ }, feedOperations.comments.map(function (comment, index) {
70
+ var createTime = comment.createTime,
71
+ content = comment.content; // 超过三个操作记录
72
+
73
+ if (index < 2 || index === 2 && feedOperations.total === 3) {
74
+ return /*#__PURE__*/_react["default"].createElement("div", {
75
+ className: "".concat(prefix, "__operate-item")
76
+ }, /*#__PURE__*/_react["default"].createElement("div", {
77
+ className: "".concat(prefix, "__operate-item-left")
78
+ }, /*#__PURE__*/_react["default"].createElement("img", {
79
+ className: "".concat(prefix, "__operate-icon"),
80
+ src: _dynamicOperate["default"],
81
+ alt: ""
82
+ }), /*#__PURE__*/_react["default"].createElement("span", {
83
+ className: "".concat(prefix, "__operate-time")
84
+ }, createTime)), /*#__PURE__*/_react["default"].createElement("div", {
85
+ className: "".concat(prefix, "__operate-item-right")
86
+ }, /*#__PURE__*/_react["default"].createElement("span", {
87
+ className: "".concat(prefix, "__operate-user")
88
+ }, /*#__PURE__*/_react["default"].createElement(_tooltip["default"].Text, {
89
+ maxWidth: 98,
90
+ text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
91
+ name: comment.publishUser.name,
92
+ id: comment.publishUser.userId
93
+ })
94
+ })), /*#__PURE__*/_react["default"].createElement("span", {
95
+ className: "".concat(prefix, "__operate-content")
96
+ }, content)));
97
+ }
98
+
99
+ if (index === 2 && feedOperations.total > 3) {
100
+ return /*#__PURE__*/_react["default"].createElement("div", {
101
+ className: "".concat(prefix, "__operate-item")
102
+ }, /*#__PURE__*/_react["default"].createElement("img", {
103
+ className: "".concat(prefix, "__operate-icon"),
104
+ src: _dynamicOperate["default"],
105
+ alt: ""
106
+ }), /*#__PURE__*/_react["default"].createElement("span", {
107
+ className: "".concat(prefix, "__operate-item-total"),
108
+ onClick: handleClickShowAll
109
+ }, "\u5168\u90E8\u64CD\u4F5C", /*#__PURE__*/_react["default"].createElement("span", {
110
+ className: "".concat(prefix, "__operate-item-total-num")
111
+ }, feedOperations.total), /*#__PURE__*/_react["default"].createElement("i", {
112
+ className: (0, _classnames["default"])("tu-icon-APP-xi")
113
+ })));
114
+ }
115
+
116
+ return null;
117
+ }));
118
+ };
119
+
120
+ var _default = DynamicOperation;
121
+ exports["default"] = _default;
@@ -17,7 +17,7 @@ var _dynamicLeftQuoto = _interopRequireDefault(require("../../img/dynamic-left-q
17
17
 
18
18
  var _dynamicRightQuoto = _interopRequireDefault(require("../../img/dynamic-right-quoto.svg"));
19
19
 
20
- var _dangerousHtml = _interopRequireDefault(require("../../components/dangerous-html"));
20
+ var _dangerousHtml = _interopRequireDefault(require("../../../dangerous-html"));
21
21
 
22
22
  var _context = require("../../context");
23
23
 
@@ -15,7 +15,7 @@ var _context = require("../../context");
15
15
 
16
16
  var _header = _interopRequireDefault(require("../components/header"));
17
17
 
18
- var _dangerousHtml = _interopRequireDefault(require("../../components/dangerous-html"));
18
+ var _dangerousHtml = _interopRequireDefault(require("../../../dangerous-html"));
19
19
 
20
20
  var _tools = require("../../../../utils/tools");
21
21
 
@@ -15,7 +15,7 @@ var _context = require("../../context");
15
15
 
16
16
  var _header = _interopRequireDefault(require("../components/header"));
17
17
 
18
- var _dangerousHtml = _interopRequireDefault(require("../../components/dangerous-html"));
18
+ var _dangerousHtml = _interopRequireDefault(require("../../../dangerous-html"));
19
19
 
20
20
  var _tools = require("../../../../utils/tools");
21
21
 
@@ -65,6 +65,8 @@ var _getLocale = require("../../../utils/getLocale");
65
65
 
66
66
  var _tooltip = _interopRequireDefault(require("../../tooltip"));
67
67
 
68
+ var _feedOperate = _interopRequireDefault(require("./components/feed-operate"));
69
+
68
70
  require("./index.css");
69
71
 
70
72
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -112,7 +114,8 @@ var DynamicItem = function DynamicItem(_ref) {
112
114
  praiseType = data.praiseType,
113
115
  praiseUsers = data.praiseUsers,
114
116
  feedType = data.feedType,
115
- publishUser = data.publishUser;
117
+ publishUser = data.publishUser,
118
+ feedOperations = data.feedOperations;
116
119
 
117
120
  var _useState = (0, _react.useState)(feedComments.total > 0),
118
121
  _useState2 = _slicedToArray(_useState, 2),
@@ -186,6 +189,8 @@ var DynamicItem = function DynamicItem(_ref) {
186
189
  return Number("".concat(item.userId)) !== Number("".concat(Id));
187
190
  });
188
191
 
192
+ var actionName = "";
193
+
189
194
  if (type) {
190
195
  var avatar = (0, _bsGlobal.getBSGlobal)("loginUserInfo").UserAvatar;
191
196
  var name = (0, _bsGlobal.getBSGlobal)("loginUserInfo").Name;
@@ -198,8 +203,19 @@ var DynamicItem = function DynamicItem(_ref) {
198
203
  praiseType: type
199
204
  };
200
205
  setPraiseData([parseUser].concat(_toConsumableArray(data)));
206
+ actionName = "点赞日报";
201
207
  } else {
202
208
  setPraiseData(data);
209
+ actionName = "取消日报点赞";
210
+ }
211
+
212
+ if (window.titaTracker) {
213
+ window.titaTracker("planAction").record({
214
+ actionName: actionName,
215
+ actionGroup: "动态-日报",
216
+ productName: "动态",
217
+ feedId: feedId
218
+ });
203
219
  }
204
220
  };
205
221
 
@@ -337,12 +353,35 @@ var DynamicItem = function DynamicItem(_ref) {
337
353
  };
338
354
 
339
355
  if (window.util) {
356
+ if (window.titaTracker) {
357
+ window.titaTracker("planAction").record({
358
+ actionName: "打开打赏弹层",
359
+ actionGroup: "动态-日报",
360
+ productName: "动态",
361
+ feedId: feedId
362
+ });
363
+ }
364
+
340
365
  window.util.rewardGetFile(function (myReward) {
341
366
  myReward.renderPayReward(data);
342
367
  });
343
368
  }
344
369
  };
345
370
 
371
+ var handleReply = function handleReply(_ref2) {
372
+ var submitType = _ref2.submitType;
373
+ var actionName = submitType === "delete" ? "删除日报评论" : "评论日报";
374
+
375
+ if (window.titaTracker) {
376
+ window.titaTracker("planAction").record({
377
+ actionName: actionName,
378
+ actionGroup: "动态-日报",
379
+ productName: "动态",
380
+ feedId: feedId
381
+ });
382
+ }
383
+ };
384
+
346
385
  (0, _react.useEffect)(function () {
347
386
  setTimeout(function () {
348
387
  if (dynamicContentRef.current && dynamicContentRef.current.offsetHeight > 334) {
@@ -368,7 +407,10 @@ var DynamicItem = function DynamicItem(_ref) {
368
407
  onClick: handleShowMore
369
408
  }, (0, _getLocale.getLocale)("Tasks_Tab_MyS_Butt_Seemoral"), /*#__PURE__*/_react["default"].createElement("i", {
370
409
  className: (0, _classnames["default"])("tu-icon-arrow-down", "".concat(prefix, "__icon"))
371
- })))), /*#__PURE__*/_react["default"].createElement("div", {
410
+ })))), feedOperations.total > 0 && /*#__PURE__*/_react["default"].createElement(_feedOperate["default"], {
411
+ feedOperations: feedOperations,
412
+ data: data
413
+ }), /*#__PURE__*/_react["default"].createElement("div", {
372
414
  className: (0, _classnames["default"])("".concat(prefix, "__footer"))
373
415
  }, /*#__PURE__*/_react["default"].createElement("div", {
374
416
  className: "".concat(prefix, "__footer-left")
@@ -452,6 +494,7 @@ var DynamicItem = function DynamicItem(_ref) {
452
494
  usePropsComment: usePropsComment,
453
495
  communication: feedComments.comments,
454
496
  totalCommunicationNum: feedComments.total,
497
+ onReplyChange: handleReply,
455
498
  showUser: true,
456
499
  showDefaultInput: true
457
500
  }))));
@@ -21,10 +21,12 @@ var _auth = require("../../../utils/auth");
21
21
 
22
22
  var _toast = _interopRequireDefault(require("../../toast"));
23
23
 
24
- var _dangerousHtml = _interopRequireDefault(require("../components/dangerous-html"));
24
+ var _dangerousHtml = _interopRequireDefault(require("../../dangerous-html"));
25
25
 
26
26
  var _getLocale = require("../../../utils/getLocale");
27
27
 
28
+ var _quotationMark = _interopRequireDefault(require("./image/quotation-mark.svg"));
29
+
28
30
  require("./index.css");
29
31
 
30
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -68,11 +70,13 @@ var Item = function Item(_ref) {
68
70
 
69
71
  var onHandlerCancel = function onHandlerCancel(userId) {
70
72
  (0, _requestApi.delDynamicTop)(userId).then(function (res) {
71
- if (res.Code == 1) {
73
+ if (res.Code === 1) {
72
74
  _toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"));
73
75
 
74
76
  setTimeout(function () {
75
- refresh && refresh();
77
+ if (refresh) {
78
+ refresh();
79
+ }
76
80
  }, 1000);
77
81
  } else {
78
82
  _toast["default"].Error(res.Message);
@@ -136,7 +140,7 @@ var Item = function Item(_ref) {
136
140
  className: (0, _classnames["default"])("tu-icon-diot ".concat(preCls, "-header-right-diot"))
137
141
  })))), /*#__PURE__*/_react["default"].createElement("img", {
138
142
  className: (0, _classnames["default"])("".concat(preCls, "-mark")),
139
- src: require("./image/quotation-mark.svg"),
143
+ src: _quotationMark["default"],
140
144
  alt: ""
141
145
  }), /*#__PURE__*/_react["default"].createElement("div", {
142
146
  className: (0, _classnames["default"])("".concat(preCls, "-content"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.57",
3
+ "version": "1.10.59-beta.1",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -18,135 +18,135 @@
18
18
  "author": "",
19
19
  "license": "ISC",
20
20
  "devDependencies": {
21
- "@babel/cli": "^7.10.5",
22
- "@babel/core": "^7.11.1",
23
- "@babel/plugin-proposal-class-properties": "^7.10.4",
24
- "@babel/plugin-proposal-decorators": "^7.10.5",
25
- "@babel/plugin-proposal-numeric-separator": "^7.16.7",
26
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
27
- "@babel/plugin-transform-modules-commonjs": "^7.10.4",
28
- "@babel/plugin-transform-runtime": "^7.11.0",
29
- "@babel/preset-env": "^7.11.0",
30
- "@babel/preset-react": "^7.10.4",
21
+ "@babel/cli": "7.10.5",
22
+ "@babel/core": "7.11.1",
23
+ "@babel/plugin-proposal-class-properties": "7.10.4",
24
+ "@babel/plugin-proposal-decorators": "7.10.5",
25
+ "@babel/plugin-proposal-numeric-separator": "7.16.7",
26
+ "@babel/plugin-proposal-object-rest-spread": "7.11.0",
27
+ "@babel/plugin-transform-modules-commonjs": "7.10.4",
28
+ "@babel/plugin-transform-runtime": "7.11.0",
29
+ "@babel/preset-env": "7.11.0",
30
+ "@babel/preset-react": "7.10.4",
31
31
  "@storybook/addon-actions": "6.0.10",
32
- "@storybook/addon-controls": "^6.2.7",
32
+ "@storybook/addon-controls": "6.2.7",
33
33
  "@storybook/addon-essentials": "6.0.10",
34
- "@storybook/addon-knobs": "^6.0.10",
34
+ "@storybook/addon-knobs": "6.0.10",
35
35
  "@storybook/addon-links": "6.0.10",
36
36
  "@storybook/react": "6.0.10",
37
- "@types/prosemirror-state": "^1.2.8",
38
- "@types/styled-components": "^5.1.2",
39
- "@typescript-eslint/eslint-plugin": "^5.10.0",
40
- "@typescript-eslint/parser": "^5.10.0",
41
- "babel-loader": "^8.1.0",
42
- "babel-plugin-import": "^1.13.3",
43
- "babel-plugin-module-resolver": "^4.1.0",
44
- "babel-plugin-transform-class-properties": "^6.24.1",
45
- "babel-plugin-transform-function-bind": "^6.22.0",
46
- "cross-env": "^7.0.2",
47
- "del": "^6.0.0",
48
- "eslint": "^8.7.0",
49
- "eslint-config-airbnb": "^19.0.4",
50
- "eslint-plugin-import": "^2.25.4",
51
- "eslint-plugin-jsx-a11y": "^6.5.1",
52
- "eslint-plugin-react": "^7.28.0",
53
- "eslint-plugin-react-hooks": "^4.3.0",
54
- "gulp": "^4.0.2",
55
- "gulp-autoprefixer": "^7.0.1",
56
- "gulp-babel": "^8.0.0",
57
- "gulp-concat": "^2.6.1",
58
- "gulp-cssbeautify": "^3.0.0",
59
- "gulp-cssnano": "^2.1.3",
37
+ "@types/prosemirror-state": "1.2.8",
38
+ "@types/styled-components": "5.1.2",
39
+ "@typescript-eslint/eslint-plugin": "5.10.0",
40
+ "@typescript-eslint/parser": "5.10.0",
41
+ "babel-loader": "8.1.0",
42
+ "babel-plugin-import": "1.13.3",
43
+ "babel-plugin-module-resolver": "4.1.0",
44
+ "babel-plugin-transform-class-properties": "6.24.1",
45
+ "babel-plugin-transform-function-bind": "6.22.0",
46
+ "cross-env": "7.0.2",
47
+ "del": "6.0.0",
48
+ "eslint": "8.7.0",
49
+ "eslint-config-airbnb": "19.0.4",
50
+ "eslint-plugin-import": "2.25.4",
51
+ "eslint-plugin-jsx-a11y": "6.5.1",
52
+ "eslint-plugin-react": "7.28.0",
53
+ "eslint-plugin-react-hooks": "4.3.0",
54
+ "gulp": "4.0.2",
55
+ "gulp-autoprefixer": "7.0.1",
56
+ "gulp-babel": "8.0.0",
57
+ "gulp-concat": "2.6.1",
58
+ "gulp-cssbeautify": "3.0.0",
59
+ "gulp-cssnano": "2.1.3",
60
60
  "gulp-filesize": "0.0.6",
61
- "gulp-postcss": "^9.0.0",
62
- "gulp-rename": "^2.0.0",
63
- "gulp-replace": "^1.0.0",
64
- "gulp-sass": "^4.1.0",
65
- "gulp-sourcemaps": "^2.6.5",
66
- "gulp-util": "^3.0.8",
67
- "husky": "^7.0.4",
68
- "lint-staged": "^12.2.0",
69
- "pretty-quick": "^3.1.3",
70
- "sass-resources-loader": "^2.2.1",
71
- "typescript": "^4.5.4"
61
+ "gulp-postcss": "9.0.0",
62
+ "gulp-rename": "2.0.0",
63
+ "gulp-replace": "1.0.0",
64
+ "gulp-sass": "4.1.0",
65
+ "gulp-sourcemaps": "2.6.5",
66
+ "gulp-util": "3.0.8",
67
+ "husky": "7.0.4",
68
+ "lint-staged": "12.2.0",
69
+ "pretty-quick": "3.1.3",
70
+ "sass-resources-loader": "2.2.1",
71
+ "typescript": "4.5.4"
72
72
  },
73
73
  "dependencies": {
74
- "@antv/g2plot": "^2.4.8",
75
- "@juggle/resize-observer": "^3.3.1",
76
- "@titaui/dagre": "^0.8.8-pre",
77
- "@titaui/rc-tree2": "^4.1.23",
78
- "@titaui/rc-trigger": "^5.2.5",
74
+ "@antv/g2plot": "2.4.8",
75
+ "@juggle/resize-observer": "3.3.1",
76
+ "@titaui/dagre": "0.8.8-pre",
77
+ "@titaui/rc-tree2": "4.1.23",
78
+ "@titaui/rc-trigger": "5.2.5",
79
79
  "@titaui/react-flow-renderer": "9.5.4",
80
- "@titaui/toast": "^1.0.0",
81
- "@types/color": "^3.0.3",
82
- "@types/prosemirror-commands": "^1.0.4",
83
- "@types/prosemirror-schema-basic": "^1.0.2",
84
- "axios": "^0.21.1",
85
- "bowser": "^2.11.0",
86
- "can-use-dom": "^0.1.0",
87
- "classnames": "^2.2.6",
88
- "clone-deep": "^4.0.1",
89
- "color": "^4.2.1",
90
- "cos-js-sdk-v5": "^1.3.3",
91
- "dayjs": "^1.10.4",
80
+ "@titaui/toast": "1.0.0",
81
+ "@types/color": "3.0.3",
82
+ "@types/prosemirror-commands": "1.0.4",
83
+ "@types/prosemirror-schema-basic": "1.0.2",
84
+ "axios": "0.21.1",
85
+ "bowser": "2.11.0",
86
+ "can-use-dom": "0.1.0",
87
+ "classnames": "2.2.6",
88
+ "clone-deep": "4.0.1",
89
+ "color": "4.2.1",
90
+ "cos-js-sdk-v5": "1.3.3",
91
+ "dayjs": "1.10.4",
92
92
  "html2canvas": "1.3.2",
93
- "less": "^4.1.2",
94
- "less-loader": "^6.0.0",
95
- "lodash.debounce": "^4.0.8",
96
- "lodash.memoize": "^4.1.2",
97
- "lodash.throttle": "^4.1.1",
98
- "lottie-web": "^5.7.12",
99
- "moment": "^2.29.1",
100
- "prosemirror-commands": "^1.2.1",
101
- "prosemirror-example-setup": "^1.1.2",
102
- "prosemirror-history": "^1.2.0",
103
- "prosemirror-inputrules": "^1.1.3",
104
- "prosemirror-keymap": "^1.1.5",
105
- "prosemirror-model": "^1.16.1",
106
- "prosemirror-schema-basic": "^1.1.2",
107
- "prosemirror-schema-list": "^1.1.6",
108
- "prosemirror-state": "^1.3.4",
109
- "prosemirror-tables": "^1.1.1",
110
- "prosemirror-transform": "^1.3.4",
111
- "prosemirror-utils": "^0.9.6",
112
- "prosemirror-view": "^1.23.6",
113
- "qs": "^6.10.1",
114
- "raf-schd": "^4.0.3",
115
- "rc-cascader": "^2.2.0",
116
- "rc-checkbox": "^2.3.2",
117
- "rc-color-picker": "^1.2.6",
118
- "rc-cropper": "^1.3.1",
93
+ "less": "4.1.2",
94
+ "less-loader": "6.0.0",
95
+ "lodash.debounce": "4.0.8",
96
+ "lodash.memoize": "4.1.2",
97
+ "lodash.throttle": "4.1.1",
98
+ "lottie-web": "5.7.12",
99
+ "moment": "2.29.1",
100
+ "prosemirror-commands": "1.2.1",
101
+ "prosemirror-example-setup": "1.1.2",
102
+ "prosemirror-history": "1.2.0",
103
+ "prosemirror-inputrules": "1.1.3",
104
+ "prosemirror-keymap": "1.1.5",
105
+ "prosemirror-model": "1.16.1",
106
+ "prosemirror-schema-basic": "1.1.2",
107
+ "prosemirror-schema-list": "1.1.6",
108
+ "prosemirror-state": "1.3.4",
109
+ "prosemirror-tables": "1.1.1",
110
+ "prosemirror-transform": "1.3.4",
111
+ "prosemirror-utils": "0.9.6",
112
+ "prosemirror-view": "1.23.6",
113
+ "qs": "6.10.1",
114
+ "raf-schd": "4.0.3",
115
+ "rc-cascader": "2.2.0",
116
+ "rc-checkbox": "2.3.2",
117
+ "rc-color-picker": "1.2.6",
118
+ "rc-cropper": "1.3.1",
119
119
  "rc-dialog": "8.5.2",
120
- "rc-drawer": "^4.3.1",
121
- "rc-input-number": "^5.0.0",
122
- "rc-overflow": "^1.2.2",
123
- "rc-pagination": "^3.1.6",
124
- "rc-queue-anim": "^1.4.1",
125
- "rc-select": "^12.1.13",
126
- "rc-switch": "^3.2.2",
127
- "rc-table": "^7.13.2",
128
- "rc-tabs": "^11.7.3",
129
- "rc-tooltip": "^5.1.1",
130
- "rc-trigger": "^5.2.3",
131
- "rc-upload": "^4.2.0-alpha.0",
132
- "rc-util": "^5.13.1",
133
- "react-collapse": "^5.1.0",
134
- "react-content-loader": "^6.0.3",
135
- "react-cropper": "^2.1.8",
136
- "react-custom-scrollbars": "^4.2.1",
137
- "react-grid-layout": "^1.2.5",
138
- "react-perfect-scrollbar": "^1.5.8",
139
- "react-sizeme": "^3.0.1",
140
- "react-slick": "^0.28.1",
141
- "react-spring": "^9.2.4",
142
- "react-transition-group": "^4.4.2",
143
- "resize-observer-polyfill": "^1.5.1",
144
- "slick-carousel": "^1.8.1",
145
- "tita-ui": "^1.2.52",
146
- "url-parse": "^1.5.1",
147
- "uuid": "^3.1.0",
148
- "viewerjs": "^1.10.1",
149
- "wordcloud": "^1.2.2"
120
+ "rc-drawer": "4.3.1",
121
+ "rc-input-number": "5.0.0",
122
+ "rc-overflow": "1.2.2",
123
+ "rc-pagination": "3.1.6",
124
+ "rc-queue-anim": "1.4.1",
125
+ "rc-select": "12.1.13",
126
+ "rc-switch": "3.2.2",
127
+ "rc-table": "7.13.2",
128
+ "rc-tabs": "11.7.3",
129
+ "rc-tooltip": "5.1.1",
130
+ "rc-trigger": "5.2.3",
131
+ "rc-upload": "4.2.0-alpha.0",
132
+ "rc-util": "5.13.1",
133
+ "react-collapse": "5.1.0",
134
+ "react-content-loader": "6.0.3",
135
+ "react-cropper": "2.1.8",
136
+ "react-custom-scrollbars": "4.2.1",
137
+ "react-grid-layout": "1.2.5",
138
+ "react-perfect-scrollbar": "1.5.8",
139
+ "react-sizeme": "3.0.1",
140
+ "react-slick": "0.28.1",
141
+ "react-spring": "9.2.4",
142
+ "react-transition-group": "4.4.2",
143
+ "resize-observer-polyfill": "1.5.1",
144
+ "slick-carousel": "1.8.1",
145
+ "tita-ui": "1.2.52",
146
+ "url-parse": "1.5.1",
147
+ "uuid": "3.1.0",
148
+ "viewerjs": "1.10.1",
149
+ "wordcloud": "1.2.2"
150
150
  },
151
151
  "lint-staged": {
152
152
  "src/**/*.{js,ts,tsx,jsx,css,scss}": [