@titaui/pc 1.10.58 → 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 +2 -2
- package/lib/components/{dynamic/components/dangerous-html → dangerous-html}/index.js +0 -0
- package/lib/components/dynamic/dynamic-item/components/feed-operate/index.css +70 -0
- package/lib/components/dynamic/dynamic-item/components/feed-operate/index.js +121 -0
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/index.js +8 -2
- package/lib/components/dynamic/dynamic-topping/item.js +8 -4
- package/lib/components/dynamic/img/dynamic-operate.png +0 -0
- package/package.json +120 -120
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":
|
|
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":
|
|
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,
|
|
File without changes
|
|
@@ -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("
|
|
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("
|
|
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("
|
|
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),
|
|
@@ -404,7 +407,10 @@ var DynamicItem = function DynamicItem(_ref) {
|
|
|
404
407
|
onClick: handleShowMore
|
|
405
408
|
}, (0, _getLocale.getLocale)("Tasks_Tab_MyS_Butt_Seemoral"), /*#__PURE__*/_react["default"].createElement("i", {
|
|
406
409
|
className: (0, _classnames["default"])("tu-icon-arrow-down", "".concat(prefix, "__icon"))
|
|
407
|
-
})))), /*#__PURE__*/_react["default"].createElement("
|
|
410
|
+
})))), feedOperations.total > 0 && /*#__PURE__*/_react["default"].createElement(_feedOperate["default"], {
|
|
411
|
+
feedOperations: feedOperations,
|
|
412
|
+
data: data
|
|
413
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
408
414
|
className: (0, _classnames["default"])("".concat(prefix, "__footer"))
|
|
409
415
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
410
416
|
className: "".concat(prefix, "__footer-left")
|
|
@@ -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("
|
|
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
|
|
73
|
+
if (res.Code === 1) {
|
|
72
74
|
_toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"));
|
|
73
75
|
|
|
74
76
|
setTimeout(function () {
|
|
75
|
-
|
|
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:
|
|
143
|
+
src: _quotationMark["default"],
|
|
140
144
|
alt: ""
|
|
141
145
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
142
146
|
className: (0, _classnames["default"])("".concat(preCls, "-content"))
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@titaui/pc",
|
|
3
|
-
"version": "1.10.
|
|
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": "
|
|
22
|
-
"@babel/core": "
|
|
23
|
-
"@babel/plugin-proposal-class-properties": "
|
|
24
|
-
"@babel/plugin-proposal-decorators": "
|
|
25
|
-
"@babel/plugin-proposal-numeric-separator": "
|
|
26
|
-
"@babel/plugin-proposal-object-rest-spread": "
|
|
27
|
-
"@babel/plugin-transform-modules-commonjs": "
|
|
28
|
-
"@babel/plugin-transform-runtime": "
|
|
29
|
-
"@babel/preset-env": "
|
|
30
|
-
"@babel/preset-react": "
|
|
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": "
|
|
32
|
+
"@storybook/addon-controls": "6.2.7",
|
|
33
33
|
"@storybook/addon-essentials": "6.0.10",
|
|
34
|
-
"@storybook/addon-knobs": "
|
|
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": "
|
|
38
|
-
"@types/styled-components": "
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "
|
|
40
|
-
"@typescript-eslint/parser": "
|
|
41
|
-
"babel-loader": "
|
|
42
|
-
"babel-plugin-import": "
|
|
43
|
-
"babel-plugin-module-resolver": "
|
|
44
|
-
"babel-plugin-transform-class-properties": "
|
|
45
|
-
"babel-plugin-transform-function-bind": "
|
|
46
|
-
"cross-env": "
|
|
47
|
-
"del": "
|
|
48
|
-
"eslint": "
|
|
49
|
-
"eslint-config-airbnb": "
|
|
50
|
-
"eslint-plugin-import": "
|
|
51
|
-
"eslint-plugin-jsx-a11y": "
|
|
52
|
-
"eslint-plugin-react": "
|
|
53
|
-
"eslint-plugin-react-hooks": "
|
|
54
|
-
"gulp": "
|
|
55
|
-
"gulp-autoprefixer": "
|
|
56
|
-
"gulp-babel": "
|
|
57
|
-
"gulp-concat": "
|
|
58
|
-
"gulp-cssbeautify": "
|
|
59
|
-
"gulp-cssnano": "
|
|
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": "
|
|
62
|
-
"gulp-rename": "
|
|
63
|
-
"gulp-replace": "
|
|
64
|
-
"gulp-sass": "
|
|
65
|
-
"gulp-sourcemaps": "
|
|
66
|
-
"gulp-util": "
|
|
67
|
-
"husky": "
|
|
68
|
-
"lint-staged": "
|
|
69
|
-
"pretty-quick": "
|
|
70
|
-
"sass-resources-loader": "
|
|
71
|
-
"typescript": "
|
|
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": "
|
|
75
|
-
"@juggle/resize-observer": "
|
|
76
|
-
"@titaui/dagre": "
|
|
77
|
-
"@titaui/rc-tree2": "
|
|
78
|
-
"@titaui/rc-trigger": "
|
|
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": "
|
|
81
|
-
"@types/color": "
|
|
82
|
-
"@types/prosemirror-commands": "
|
|
83
|
-
"@types/prosemirror-schema-basic": "
|
|
84
|
-
"axios": "
|
|
85
|
-
"bowser": "
|
|
86
|
-
"can-use-dom": "
|
|
87
|
-
"classnames": "
|
|
88
|
-
"clone-deep": "
|
|
89
|
-
"color": "
|
|
90
|
-
"cos-js-sdk-v5": "
|
|
91
|
-
"dayjs": "
|
|
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": "
|
|
94
|
-
"less-loader": "
|
|
95
|
-
"lodash.debounce": "
|
|
96
|
-
"lodash.memoize": "
|
|
97
|
-
"lodash.throttle": "
|
|
98
|
-
"lottie-web": "
|
|
99
|
-
"moment": "
|
|
100
|
-
"prosemirror-commands": "
|
|
101
|
-
"prosemirror-example-setup": "
|
|
102
|
-
"prosemirror-history": "
|
|
103
|
-
"prosemirror-inputrules": "
|
|
104
|
-
"prosemirror-keymap": "
|
|
105
|
-
"prosemirror-model": "
|
|
106
|
-
"prosemirror-schema-basic": "
|
|
107
|
-
"prosemirror-schema-list": "
|
|
108
|
-
"prosemirror-state": "
|
|
109
|
-
"prosemirror-tables": "
|
|
110
|
-
"prosemirror-transform": "
|
|
111
|
-
"prosemirror-utils": "
|
|
112
|
-
"prosemirror-view": "
|
|
113
|
-
"qs": "
|
|
114
|
-
"raf-schd": "
|
|
115
|
-
"rc-cascader": "
|
|
116
|
-
"rc-checkbox": "
|
|
117
|
-
"rc-color-picker": "
|
|
118
|
-
"rc-cropper": "
|
|
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": "
|
|
121
|
-
"rc-input-number": "
|
|
122
|
-
"rc-overflow": "
|
|
123
|
-
"rc-pagination": "
|
|
124
|
-
"rc-queue-anim": "
|
|
125
|
-
"rc-select": "
|
|
126
|
-
"rc-switch": "
|
|
127
|
-
"rc-table": "
|
|
128
|
-
"rc-tabs": "
|
|
129
|
-
"rc-tooltip": "
|
|
130
|
-
"rc-trigger": "
|
|
131
|
-
"rc-upload": "
|
|
132
|
-
"rc-util": "
|
|
133
|
-
"react-collapse": "
|
|
134
|
-
"react-content-loader": "
|
|
135
|
-
"react-cropper": "
|
|
136
|
-
"react-custom-scrollbars": "
|
|
137
|
-
"react-grid-layout": "
|
|
138
|
-
"react-perfect-scrollbar": "
|
|
139
|
-
"react-sizeme": "
|
|
140
|
-
"react-slick": "
|
|
141
|
-
"react-spring": "
|
|
142
|
-
"react-transition-group": "
|
|
143
|
-
"resize-observer-polyfill": "
|
|
144
|
-
"slick-carousel": "
|
|
145
|
-
"tita-ui": "
|
|
146
|
-
"url-parse": "
|
|
147
|
-
"uuid": "
|
|
148
|
-
"viewerjs": "
|
|
149
|
-
"wordcloud": "
|
|
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}": [
|