@titaui/pc 1.12.22-beta.13 → 1.12.22-beta.16
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/lib/components/dynamic/dynamic-item/components/header/index.js +47 -42
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/guide-img.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +12 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +41 -27
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +49 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +27 -19
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +3 -2
- package/lib/components/dynamic/dynamic-item/index.js +2 -2
- package/lib/components/guide-tip/index.css +21 -0
- package/lib/components/guide-tip/index.js +103 -0
- package/lib/components/upvote/selector.js +2 -3
- package/lib/index.js +8 -0
- package/package.json +2 -2
|
@@ -58,6 +58,8 @@ var prefix = "titaui-dynamic-item-header";
|
|
|
58
58
|
var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
59
59
|
var _ref$onDeleteFeed = _ref.onDeleteFeed,
|
|
60
60
|
onDeleteFeed = _ref$onDeleteFeed === void 0 ? function () {} : _ref$onDeleteFeed,
|
|
61
|
+
_ref$showCollect = _ref.showCollect,
|
|
62
|
+
showCollect = _ref$showCollect === void 0 ? true : _ref$showCollect,
|
|
61
63
|
_ref$showDelete = _ref.showDelete,
|
|
62
64
|
showDelete = _ref$showDelete === void 0 ? false : _ref$showDelete,
|
|
63
65
|
_ref$showTopping = _ref.showTopping,
|
|
@@ -99,45 +101,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
99
101
|
|
|
100
102
|
var url = "";
|
|
101
103
|
|
|
102
|
-
var onChangeHandler = function onChangeHandler(name) {
|
|
103
|
-
if (name === "collect") {
|
|
104
|
-
if (nowIsCollect) {
|
|
105
|
-
(0, _requestApi.cancelCollectDynamic)({
|
|
106
|
-
feedId: feedId
|
|
107
|
-
}).then(function (resp) {
|
|
108
|
-
if (resp.Code === 1) {
|
|
109
|
-
setNowIsCollect(!nowIsCollect);
|
|
110
|
-
setSelectVisible(false);
|
|
111
|
-
|
|
112
|
-
_toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"), {
|
|
113
|
-
canClose: false
|
|
114
|
-
});
|
|
115
|
-
} else {
|
|
116
|
-
_toast["default"].Error(resp.Message, {
|
|
117
|
-
canClose: false
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
} else {
|
|
122
|
-
(0, _requestApi.collectDynamic)({
|
|
123
|
-
feedId: feedId
|
|
124
|
-
}).then(function (resp) {
|
|
125
|
-
if (resp.Code === 1) {
|
|
126
|
-
setNowIsCollect(!nowIsCollect);
|
|
127
|
-
setSelectVisible(false);
|
|
128
|
-
|
|
129
|
-
_toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"), {
|
|
130
|
-
canClose: false
|
|
131
|
-
});
|
|
132
|
-
} else {
|
|
133
|
-
_toast["default"].Error(resp.Message, {
|
|
134
|
-
canClose: false
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
};
|
|
104
|
+
var onChangeHandler = function onChangeHandler(name) {};
|
|
141
105
|
|
|
142
106
|
var handleTopOperateClick = function handleTopOperateClick() {
|
|
143
107
|
if (nowIsTop) {
|
|
@@ -187,6 +151,44 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
187
151
|
setSelectVisible(false);
|
|
188
152
|
};
|
|
189
153
|
|
|
154
|
+
var handleCollectClick = function handleCollectClick() {
|
|
155
|
+
if (nowIsCollect) {
|
|
156
|
+
(0, _requestApi.cancelCollectDynamic)({
|
|
157
|
+
feedId: feedId
|
|
158
|
+
}).then(function (resp) {
|
|
159
|
+
if (resp.Code === 1) {
|
|
160
|
+
setNowIsCollect(!nowIsCollect);
|
|
161
|
+
setSelectVisible(false);
|
|
162
|
+
|
|
163
|
+
_toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"), {
|
|
164
|
+
canClose: false
|
|
165
|
+
});
|
|
166
|
+
} else {
|
|
167
|
+
_toast["default"].Error(resp.Message, {
|
|
168
|
+
canClose: false
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
} else {
|
|
173
|
+
(0, _requestApi.collectDynamic)({
|
|
174
|
+
feedId: feedId
|
|
175
|
+
}).then(function (resp) {
|
|
176
|
+
if (resp.Code === 1) {
|
|
177
|
+
setNowIsCollect(!nowIsCollect);
|
|
178
|
+
setSelectVisible(false);
|
|
179
|
+
|
|
180
|
+
_toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"), {
|
|
181
|
+
canClose: false
|
|
182
|
+
});
|
|
183
|
+
} else {
|
|
184
|
+
_toast["default"].Error(resp.Message, {
|
|
185
|
+
canClose: false
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
|
|
190
192
|
var enSureDeleteDynamic = function enSureDeleteDynamic() {
|
|
191
193
|
(0, _requestApi.deleteDynamic)({
|
|
192
194
|
feedId: feedId
|
|
@@ -266,7 +268,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
266
268
|
name: user.name,
|
|
267
269
|
id: user.userId
|
|
268
270
|
})
|
|
269
|
-
})), desc, suffixContent),
|
|
271
|
+
})), desc, suffixContent), (showCollect || showTopping || showDelete) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
270
272
|
className: "".concat(prefix, "__more-operate")
|
|
271
273
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector["default"], {
|
|
272
274
|
popupPlacement: "bottomRight",
|
|
@@ -278,13 +280,16 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
278
280
|
className: (0, _classnames["default"])("".concat(prefix, "-right"), "tu-icon-more1"),
|
|
279
281
|
onClick: handleShowDropSelector
|
|
280
282
|
})
|
|
283
|
+
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
284
|
+
condition: showCollect
|
|
281
285
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
282
|
-
name: "collect"
|
|
286
|
+
name: "collect",
|
|
287
|
+
onClick: handleCollectClick
|
|
283
288
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
284
289
|
className: "".concat(prefix, "__more-operate-selection")
|
|
285
290
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
286
291
|
className: (0, _classnames["default"])("tu-icon-APP-shoucang", "".concat(prefix, "__more-operate-selection-icon"))
|
|
287
|
-
}), nowIsCollect ? (0, _getLocale.getLocale)("Mod_CancCollection") : (0, _getLocale.getLocale)("Mod_Collection"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
292
|
+
}), nowIsCollect ? (0, _getLocale.getLocale)("Mod_CancCollection") : (0, _getLocale.getLocale)("Mod_Collection")))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
288
293
|
condition: showTopping
|
|
289
294
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
290
295
|
name: "top",
|
|
Binary file
|
|
@@ -134,6 +134,18 @@
|
|
|
134
134
|
margin-right: 4px;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
.titaui-dynamic-new-summary-header__guide {
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
color: #FFFFFF;
|
|
140
|
+
line-height: 22px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.titaui-dynamic-new-summary-header__guide-img {
|
|
144
|
+
width: 18px;
|
|
145
|
+
height: 18px;
|
|
146
|
+
margin-right: 2px;
|
|
147
|
+
}
|
|
148
|
+
|
|
137
149
|
.titaui-dynamic-new-summary__operate .drawer-content-wrapper {
|
|
138
150
|
width: 372px !important;
|
|
139
151
|
}
|
|
@@ -27,6 +27,8 @@ var _conditionRender = _interopRequireDefault(require("../../../../condition-ren
|
|
|
27
27
|
|
|
28
28
|
var _tooltip = _interopRequireDefault(require("../../../../tooltip"));
|
|
29
29
|
|
|
30
|
+
var _guideTip = _interopRequireDefault(require("../../../../guide-tip"));
|
|
31
|
+
|
|
30
32
|
var _commentsDialog = _interopRequireDefault(require("../../../components/comments-dialog"));
|
|
31
33
|
|
|
32
34
|
var _getLocale = require("../../../../../utils/getLocale");
|
|
@@ -39,6 +41,8 @@ var _bsGlobal = require("../../../../../utils/bs-global");
|
|
|
39
41
|
|
|
40
42
|
var _evalute = _interopRequireDefault(require("./img/evalute.png"));
|
|
41
43
|
|
|
44
|
+
var _guideImg = _interopRequireDefault(require("./img/guide-img.png"));
|
|
45
|
+
|
|
42
46
|
require("./index.css");
|
|
43
47
|
|
|
44
48
|
var _requestApi2 = require("./request-api");
|
|
@@ -71,7 +75,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
71
75
|
|
|
72
76
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
73
77
|
|
|
74
|
-
var prefix =
|
|
78
|
+
var prefix = 'titaui-dynamic-new-summary-header';
|
|
75
79
|
|
|
76
80
|
var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
77
81
|
var _ref$onDeleteFeed = _ref.onDeleteFeed,
|
|
@@ -86,10 +90,10 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
86
90
|
showOperateRecord = _ref$showOperateRecor === void 0 ? false : _ref$showOperateRecor,
|
|
87
91
|
data = _ref.data,
|
|
88
92
|
_ref$desc = _ref.desc,
|
|
89
|
-
desc = _ref$desc === void 0 ?
|
|
93
|
+
desc = _ref$desc === void 0 ? '' : _ref$desc,
|
|
90
94
|
user = _ref.user,
|
|
91
95
|
_ref$suffixContent = _ref.suffixContent,
|
|
92
|
-
suffixContent = _ref$suffixContent === void 0 ?
|
|
96
|
+
suffixContent = _ref$suffixContent === void 0 ? '' : _ref$suffixContent,
|
|
93
97
|
canEvaluate = _ref.canEvaluate,
|
|
94
98
|
_ref$setEvaluates = _ref.setEvaluates,
|
|
95
99
|
setEvaluates = _ref$setEvaluates === void 0 ? function () {} : _ref$setEvaluates;
|
|
@@ -121,7 +125,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
121
125
|
evaluateVisible = _useState8[0],
|
|
122
126
|
setEvaluateVisible = _useState8[1];
|
|
123
127
|
|
|
124
|
-
var _useState9 = (0, _react.useState)(
|
|
128
|
+
var _useState9 = (0, _react.useState)(''),
|
|
125
129
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
126
130
|
mindImg = _useState10[0],
|
|
127
131
|
setMindImg = _useState10[1];
|
|
@@ -131,7 +135,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
131
135
|
operateVisible = _useState12[0],
|
|
132
136
|
setOperateVisible = _useState12[1];
|
|
133
137
|
|
|
134
|
-
var url =
|
|
138
|
+
var url = '';
|
|
135
139
|
var loginUserId = (0, _bsGlobal.getUserInfo)().Id;
|
|
136
140
|
|
|
137
141
|
var handleCloseOperateDrawer = function handleCloseOperateDrawer() {
|
|
@@ -154,7 +158,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
154
158
|
setNowIsCollect(!nowIsCollect);
|
|
155
159
|
setSelectVisible(false);
|
|
156
160
|
|
|
157
|
-
_toast["default"].Success((0, _getLocale.getLocale)(
|
|
161
|
+
_toast["default"].Success((0, _getLocale.getLocale)('Mod_Successfuloperat'), {
|
|
158
162
|
canClose: false
|
|
159
163
|
});
|
|
160
164
|
} else {
|
|
@@ -171,7 +175,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
171
175
|
setNowIsCollect(!nowIsCollect);
|
|
172
176
|
setSelectVisible(false);
|
|
173
177
|
|
|
174
|
-
_toast["default"].Success((0, _getLocale.getLocale)(
|
|
178
|
+
_toast["default"].Success((0, _getLocale.getLocale)('Mod_Successfuloperat'), {
|
|
175
179
|
canClose: false
|
|
176
180
|
});
|
|
177
181
|
} else {
|
|
@@ -210,7 +214,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
210
214
|
|
|
211
215
|
var handleOpenUserPage = function handleOpenUserPage() {
|
|
212
216
|
if (!url) return;
|
|
213
|
-
window.open(url,
|
|
217
|
+
window.open(url, '_blank');
|
|
214
218
|
};
|
|
215
219
|
|
|
216
220
|
var handleClickEvaluate = function handleClickEvaluate() {
|
|
@@ -218,7 +222,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
218
222
|
};
|
|
219
223
|
|
|
220
224
|
var handleClickEdit = function handleClickEdit() {
|
|
221
|
-
window.open("#/summary/template?isCreate=false&hideNavTop=true&reportType=".concat(reportType, "¤tTime=").concat(dailyDate),
|
|
225
|
+
window.open("#/summary/template?isCreate=false&hideNavTop=true&reportType=".concat(reportType, "¤tTime=").concat(dailyDate), '_blank');
|
|
222
226
|
};
|
|
223
227
|
|
|
224
228
|
var handleCloseEvaluateDialog = /*#__PURE__*/function () {
|
|
@@ -265,23 +269,23 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
265
269
|
type: "warning"
|
|
266
270
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
267
271
|
type: "title"
|
|
268
|
-
}, (0, _getLocale.getLocale)(
|
|
272
|
+
}, (0, _getLocale.getLocale)('OKR_MyO_Pleasenote')), /*#__PURE__*/_react["default"].createElement("span", {
|
|
269
273
|
type: "content"
|
|
270
|
-
}, (0, _getLocale.getLocale)(
|
|
274
|
+
}, (0, _getLocale.getLocale)('Mod_cannotberecovered')), /*#__PURE__*/_react["default"].createElement(_dialogConfirm.CancelButton, {
|
|
271
275
|
type: "button",
|
|
272
276
|
onClick: cancelDeleteDynamic
|
|
273
|
-
}, (0, _getLocale.getLocale)(
|
|
277
|
+
}, (0, _getLocale.getLocale)('Mod_Cancel')), /*#__PURE__*/_react["default"].createElement(_dialogConfirm.WarningButton, {
|
|
274
278
|
type: "button",
|
|
275
279
|
onClick: enSureDeleteDynamic
|
|
276
|
-
}, (0, _getLocale.getLocale)(
|
|
280
|
+
}, (0, _getLocale.getLocale)('Mod_Delete')));
|
|
277
281
|
}, [showDialogConfirm]);
|
|
278
282
|
(0, _react.useEffect)(function () {
|
|
279
283
|
if (dailyContent) {
|
|
280
284
|
var mindData = dailyContent.filter(function (item) {
|
|
281
|
-
return item.title ===
|
|
285
|
+
return item.title === '心情';
|
|
282
286
|
}); // 暂时用title
|
|
283
287
|
|
|
284
|
-
if (typeof mindData[0].content ===
|
|
288
|
+
if (typeof mindData[0].content === 'string' && mindData[0].content !== '') {
|
|
285
289
|
setMindImg(_constant.Motion.filter(function (item) {
|
|
286
290
|
return item.id === JSON.parse(mindData[0].content).SelectedValues[0];
|
|
287
291
|
})[0].img);
|
|
@@ -324,23 +328,33 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
324
328
|
name: user.name,
|
|
325
329
|
id: user.userId
|
|
326
330
|
})
|
|
327
|
-
})), desc, suffixContent), canEvaluate && /*#__PURE__*/_react["default"].createElement("
|
|
331
|
+
})), desc, suffixContent), canEvaluate && /*#__PURE__*/_react["default"].createElement(_guideTip["default"], {
|
|
332
|
+
type: "button",
|
|
333
|
+
width: 304,
|
|
334
|
+
content: /*#__PURE__*/_react["default"].createElement("div", {
|
|
335
|
+
className: "".concat(prefix, "__guide")
|
|
336
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
337
|
+
src: _guideImg["default"],
|
|
338
|
+
alt: "",
|
|
339
|
+
className: "".concat(prefix, "__guide-img")
|
|
340
|
+
}), (0, _getLocale.getLocale)('Rep_NewS_GrowTogether'))
|
|
341
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
328
342
|
className: "".concat(prefix, "__evalute"),
|
|
329
343
|
onClick: handleClickEvaluate
|
|
330
344
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
331
345
|
src: _evalute["default"],
|
|
332
346
|
className: "".concat(prefix, "__evalute-img"),
|
|
333
347
|
alt: "\u8BC4\u4EF7"
|
|
334
|
-
}), (0, _getLocale.getLocale)(
|
|
348
|
+
}), (0, _getLocale.getLocale)('Per_MyRe_button_Toevaluate'))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
335
349
|
className: "".concat(prefix, "__more-operate")
|
|
336
350
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector["default"], {
|
|
337
351
|
popupPlacement: "bottomRight",
|
|
338
|
-
checked: [
|
|
352
|
+
checked: ['collect'],
|
|
339
353
|
onChange: onChangeHandler,
|
|
340
354
|
multi: false,
|
|
341
355
|
visible: selectVisible,
|
|
342
356
|
trigger: /*#__PURE__*/_react["default"].createElement("span", {
|
|
343
|
-
className: (0, _classnames["default"])("".concat(prefix, "-right"),
|
|
357
|
+
className: (0, _classnames["default"])("".concat(prefix, "-right"), 'tu-icon-more1'),
|
|
344
358
|
onClick: handleShowDropSelector
|
|
345
359
|
})
|
|
346
360
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
@@ -351,8 +365,8 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
351
365
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
352
366
|
className: "".concat(prefix, "__more-operate-selection")
|
|
353
367
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
354
|
-
className: (0, _classnames["default"])(
|
|
355
|
-
}), nowIsCollect ? (0, _getLocale.getLocale)(
|
|
368
|
+
className: (0, _classnames["default"])('tu-icon-APP-shoucang', "".concat(prefix, "__more-operate-selection-icon"))
|
|
369
|
+
}), nowIsCollect ? (0, _getLocale.getLocale)('Mod_CancCollection') : (0, _getLocale.getLocale)('Mod_Collection')))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
356
370
|
condition: showEdit && data.isEdit
|
|
357
371
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
358
372
|
name: "edit",
|
|
@@ -360,8 +374,8 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
360
374
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
361
375
|
className: "".concat(prefix, "__more-operate-selection")
|
|
362
376
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
363
|
-
className: (0, _classnames["default"])(
|
|
364
|
-
}), (0, _getLocale.getLocale)(
|
|
377
|
+
className: (0, _classnames["default"])('tu-icon-bianji3', "".concat(prefix, "__more-operate-selection-icon"))
|
|
378
|
+
}), (0, _getLocale.getLocale)('Mod_Editor')))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
365
379
|
condition: showOperateRecord
|
|
366
380
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
367
381
|
name: "record",
|
|
@@ -369,8 +383,8 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
369
383
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
370
384
|
className: "".concat(prefix, "__more-operate-selection")
|
|
371
385
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
372
|
-
className: (0, _classnames["default"])(
|
|
373
|
-
}), (0, _getLocale.getLocale)(
|
|
386
|
+
className: (0, _classnames["default"])('tu-icon-jinzhan-s', "".concat(prefix, "__more-operate-selection-icon"))
|
|
387
|
+
}), (0, _getLocale.getLocale)('Per_details_OperationRecord')))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
374
388
|
condition: showDelete && data.isEdit
|
|
375
389
|
}, /*#__PURE__*/_react["default"].createElement(_dropSelector.Item, {
|
|
376
390
|
name: "delete",
|
|
@@ -378,8 +392,8 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
|
|
|
378
392
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
379
393
|
className: "".concat(prefix, "__more-operate-selection")
|
|
380
394
|
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
381
|
-
className: (0, _classnames["default"])(
|
|
382
|
-
}), (0, _getLocale.getLocale)(
|
|
395
|
+
className: (0, _classnames["default"])('tu-icon-del', "".concat(prefix, "__more-operate-selection-icon"))
|
|
396
|
+
}), (0, _getLocale.getLocale)('Mod_Delete'))))))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
383
397
|
className: "".concat(prefix, "-desc-time")
|
|
384
398
|
}, createDate))), renderDialogConfirm, /*#__PURE__*/_react["default"].createElement(_commentsDialog["default"], {
|
|
385
399
|
visible: evaluateVisible,
|
|
@@ -36,6 +36,55 @@
|
|
|
36
36
|
margin-top: 12px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
.titaui-dynamic-summary-task-progress__table-row-title {
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
color: #141c28;
|
|
42
|
+
padding: 8px 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.titaui-dynamic-summary-task-progress__table-row-title-remain {
|
|
46
|
+
background: rgba(240, 94, 94, 0.16);
|
|
47
|
+
border-radius: 12px;
|
|
48
|
+
padding: 0 8px;
|
|
49
|
+
height: 20px;
|
|
50
|
+
display: inline-flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
font-size: 12px;
|
|
53
|
+
color: #3f4755;
|
|
54
|
+
line-height: 18px;
|
|
55
|
+
margin-left: 4px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.titaui-dynamic-summary-task-progress__table-row-title-worktime {
|
|
59
|
+
margin-left: 4px;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
height: 20px;
|
|
63
|
+
padding: 0 8px;
|
|
64
|
+
border-radius: 12px;
|
|
65
|
+
background: rgba(240, 163, 38, 0.16);
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
color: #3f4755;
|
|
68
|
+
line-height: 18px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.titaui-dynamic-summary-task-progress__table-row-title-icon {
|
|
72
|
+
margin-right: 4px;
|
|
73
|
+
vertical-align: middle;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.titaui-dynamic-summary-task-progress__table-row-title-text {
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
color: #141c28;
|
|
80
|
+
line-height: 22px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.titaui-dynamic-summary-task-progress__table-row-title-text:hover {
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
color: #2879ff;
|
|
86
|
+
}
|
|
87
|
+
|
|
39
88
|
.titaui-dynamic-summary-task-progress__table table {
|
|
40
89
|
width: 100%;
|
|
41
90
|
}
|
|
@@ -31,15 +31,19 @@ var formatTaskData = function formatTaskData(data) {
|
|
|
31
31
|
2: [],
|
|
32
32
|
3: []
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
|
|
35
|
+
if (data && data.length !== 0) {
|
|
36
|
+
data.forEach(function (item) {
|
|
37
|
+
if (item.Status === 2) {
|
|
38
|
+
result[1].push(item);
|
|
39
|
+
} else if (item.Status === 1) {
|
|
40
|
+
result[2].push(item);
|
|
41
|
+
} else if (item.Status === 3) {
|
|
42
|
+
result[3].push(item);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
43
47
|
return result;
|
|
44
48
|
};
|
|
45
49
|
|
|
@@ -51,16 +55,20 @@ var getStatusStatistic = function getStatusStatistic(data) {
|
|
|
51
55
|
doing: 0,
|
|
52
56
|
overDue: 0
|
|
53
57
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
|
|
59
|
+
if (data && data.length !== 0) {
|
|
60
|
+
data.forEach(function (items) {
|
|
61
|
+
// 1 进行中 2 已完成 3已延期
|
|
62
|
+
if (items.Status === 3) {
|
|
63
|
+
result.overDue = result.overDue + 1;
|
|
64
|
+
} else if (items.Status === 1) {
|
|
65
|
+
result.doing = result.doing + 1;
|
|
66
|
+
} else if (items.Status === 2) {
|
|
67
|
+
result.done = result.done + 1;
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
64
72
|
return result;
|
|
65
73
|
};
|
|
66
74
|
|
|
@@ -66,7 +66,8 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
|
|
|
66
66
|
_data$okrStatus = data.okrStatus,
|
|
67
67
|
okrStatus = _data$okrStatus === void 0 ? 1 : _data$okrStatus,
|
|
68
68
|
_data$okrProgress = data.okrProgress,
|
|
69
|
-
okrProgress = _data$okrProgress === void 0 ? 0 : _data$okrProgress
|
|
69
|
+
okrProgress = _data$okrProgress === void 0 ? 0 : _data$okrProgress,
|
|
70
|
+
publishUser = data.publishUser;
|
|
70
71
|
|
|
71
72
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
72
73
|
searchKeyWord = _useContext.searchKeyWord;
|
|
@@ -128,7 +129,7 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
|
|
|
128
129
|
data: data
|
|
129
130
|
}, restProps, {
|
|
130
131
|
desc: renderDesc,
|
|
131
|
-
user: principalUser
|
|
132
|
+
user: principalUser || publishUser
|
|
132
133
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
133
134
|
className: "".concat(prefix, "__content")
|
|
134
135
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -54,7 +54,8 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
54
54
|
startDate = data.startDate,
|
|
55
55
|
endDate = data.endDate,
|
|
56
56
|
obj = data.obj,
|
|
57
|
-
principalUser = data.principalUser
|
|
57
|
+
principalUser = data.principalUser,
|
|
58
|
+
publishUser = data.publishUser;
|
|
58
59
|
|
|
59
60
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
60
61
|
searchKeyWord = _useContext.searchKeyWord;
|
|
@@ -106,7 +107,7 @@ var DynamicMilestone = function DynamicMilestone(_ref) {
|
|
|
106
107
|
data: data
|
|
107
108
|
}, restProps, {
|
|
108
109
|
desc: renderDesc,
|
|
109
|
-
user: principalUser
|
|
110
|
+
user: principalUser || publishUser
|
|
110
111
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
111
112
|
className: "".concat(prefix, "__content")
|
|
112
113
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -59,7 +59,8 @@ var DynamicTask = function DynamicTask(_ref) {
|
|
|
59
59
|
deadline = data.deadline,
|
|
60
60
|
obj = data.obj,
|
|
61
61
|
principalUser = data.principalUser,
|
|
62
|
-
workId = data.workId
|
|
62
|
+
workId = data.workId,
|
|
63
|
+
publishUser = data.publishUser;
|
|
63
64
|
|
|
64
65
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
65
66
|
searchKeyWord = _useContext.searchKeyWord;
|
|
@@ -135,7 +136,7 @@ var DynamicTask = function DynamicTask(_ref) {
|
|
|
135
136
|
data: data
|
|
136
137
|
}, restProps, {
|
|
137
138
|
desc: renderDesc,
|
|
138
|
-
user: principalUser
|
|
139
|
+
user: principalUser || publishUser
|
|
139
140
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
140
141
|
className: "".concat(prefix, "__content")
|
|
141
142
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -295,10 +295,10 @@ var DynamicItem = function DynamicItem(_ref) {
|
|
|
295
295
|
}, restProps));
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
return /*#__PURE__*/_react["default"].createElement(_dynamicReport["default"], {
|
|
298
|
+
return /*#__PURE__*/_react["default"].createElement(_dynamicReport["default"], _extends({
|
|
299
299
|
data: data,
|
|
300
300
|
onDeleteFeed: onDeleteFeed
|
|
301
|
-
});
|
|
301
|
+
}, restProps));
|
|
302
302
|
|
|
303
303
|
case _constant.EFeedType.Reply:
|
|
304
304
|
return /*#__PURE__*/_react["default"].createElement(_dynamicReply["default"], {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.titaui-pc__guide-tip__popup {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
background: #5C8EFF;
|
|
5
|
+
box-shadow: 0px -4px 12px 0px rgba(127, 145, 180, 0.2);
|
|
6
|
+
border: 1px solid #FFFFFF;
|
|
7
|
+
padding: 16px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border-radius: 24px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.titaui-pc__guide-tip__popup--button {
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.titaui-pc__guide-tip__popup-close {
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
color: #fff;
|
|
19
|
+
margin-left: 10px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
14
|
+
var _popup = _interopRequireDefault(require("../popup"));
|
|
15
|
+
|
|
16
|
+
var _button = _interopRequireDefault(require("../button"));
|
|
17
|
+
|
|
18
|
+
require("./index.css");
|
|
19
|
+
|
|
20
|
+
var _excluded = ["type", "width", "time", "children", "placement", "classnames", "content", "onClickClose", "buttonTitle"];
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
29
|
+
|
|
30
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
31
|
+
|
|
32
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
33
|
+
|
|
34
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
35
|
+
|
|
36
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
37
|
+
|
|
38
|
+
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."); }
|
|
39
|
+
|
|
40
|
+
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); }
|
|
41
|
+
|
|
42
|
+
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; }
|
|
43
|
+
|
|
44
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
45
|
+
|
|
46
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
|
+
|
|
48
|
+
var preCls = 'titaui-pc__guide-tip';
|
|
49
|
+
|
|
50
|
+
var GuideTip = function GuideTip(props) {
|
|
51
|
+
var _useState = (0, _react.useState)(true),
|
|
52
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
53
|
+
popupVisible = _useState2[0],
|
|
54
|
+
setPopupVisible = _useState2[1];
|
|
55
|
+
|
|
56
|
+
var _props$type = props.type,
|
|
57
|
+
type = _props$type === void 0 ? 'default' : _props$type,
|
|
58
|
+
_props$width = props.width,
|
|
59
|
+
width = _props$width === void 0 ? 304 : _props$width,
|
|
60
|
+
_props$time = props.time,
|
|
61
|
+
time = _props$time === void 0 ? 3000 : _props$time,
|
|
62
|
+
children = props.children,
|
|
63
|
+
_props$placement = props.placement,
|
|
64
|
+
placement = _props$placement === void 0 ? 'top' : _props$placement,
|
|
65
|
+
_props$classnames = props.classnames,
|
|
66
|
+
classnames = _props$classnames === void 0 ? "".concat(preCls, "__popup") : _props$classnames,
|
|
67
|
+
content = props.content,
|
|
68
|
+
onClickClose = props.onClickClose,
|
|
69
|
+
_props$buttonTitle = props.buttonTitle,
|
|
70
|
+
buttonTitle = _props$buttonTitle === void 0 ? '好哒' : _props$buttonTitle,
|
|
71
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
72
|
+
|
|
73
|
+
var renderPopupContent = function renderPopupContent() {
|
|
74
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
|
+
className: (0, _classnames["default"])("".concat(preCls, "__popup"), _defineProperty({}, classnames, classnames), _defineProperty({}, "".concat(preCls, "__popup--button"), type === 'button')),
|
|
76
|
+
style: {
|
|
77
|
+
width: "".concat(width, "px")
|
|
78
|
+
}
|
|
79
|
+
}, content, type === 'default' && /*#__PURE__*/_react["default"].createElement("i", {
|
|
80
|
+
className: (0, _classnames["default"])('tu-icon-close', "".concat(preCls, "__popup-close")),
|
|
81
|
+
onClick: onClickClose
|
|
82
|
+
}), type === 'button' && /*#__PURE__*/_react["default"].createElement(_button["default"].Rect, {
|
|
83
|
+
text: buttonTitle,
|
|
84
|
+
size: "small"
|
|
85
|
+
}));
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
(0, _react.useEffect)(function () {
|
|
89
|
+
if (type === 'time') {
|
|
90
|
+
setTimeout(function () {
|
|
91
|
+
setPopupVisible(false);
|
|
92
|
+
}, time);
|
|
93
|
+
}
|
|
94
|
+
}, []);
|
|
95
|
+
return /*#__PURE__*/_react["default"].createElement(_popup["default"], _extends({
|
|
96
|
+
placement: placement,
|
|
97
|
+
popup: renderPopupContent(),
|
|
98
|
+
popupVisible: popupVisible
|
|
99
|
+
}, restProps), children);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
var _default = GuideTip;
|
|
103
|
+
exports["default"] = _default;
|
|
@@ -9,7 +9,7 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _popup = _interopRequireDefault(require("../popup"));
|
|
13
13
|
|
|
14
14
|
var _rcQueueAnim = _interopRequireDefault(require("rc-queue-anim"));
|
|
15
15
|
|
|
@@ -118,11 +118,10 @@ var VoteSelector = function VoteSelector(_ref) {
|
|
|
118
118
|
}
|
|
119
119
|
}, [arrowPosition]);
|
|
120
120
|
if (!children || !_react["default"].Children.only(children)) throw "only support single child";
|
|
121
|
-
return /*#__PURE__*/_react["default"].createElement(
|
|
121
|
+
return /*#__PURE__*/_react["default"].createElement(_popup["default"], {
|
|
122
122
|
zIndex: 1500,
|
|
123
123
|
popupVisible: popVisible,
|
|
124
124
|
popupAlign: getAlignPostion(align, offset),
|
|
125
|
-
getPopupContainer: getPopupContainer,
|
|
126
125
|
onPopupAlign: handlePopAlign,
|
|
127
126
|
popup: /*#__PURE__*/_react["default"].createElement("div", {
|
|
128
127
|
className: "pull-screen-ignore document-mouse-event-ignore"
|
package/lib/index.js
CHANGED
|
@@ -207,6 +207,12 @@ Object.defineProperty(exports, "GroupManagementPage", {
|
|
|
207
207
|
return _groupManagement["default"];
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
|
+
Object.defineProperty(exports, "GuideTip", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function get() {
|
|
213
|
+
return _guideTip["default"];
|
|
214
|
+
}
|
|
215
|
+
});
|
|
210
216
|
Object.defineProperty(exports, "HelpCard", {
|
|
211
217
|
enumerable: true,
|
|
212
218
|
get: function get() {
|
|
@@ -746,6 +752,8 @@ var _gridLayout = _interopRequireDefault(require("./components/grid-layout"));
|
|
|
746
752
|
|
|
747
753
|
var _groupManagement = _interopRequireDefault(require("./pages/group-management"));
|
|
748
754
|
|
|
755
|
+
var _guideTip = _interopRequireDefault(require("./components/guide-tip"));
|
|
756
|
+
|
|
749
757
|
var _home = _interopRequireDefault(require("./pages/home"));
|
|
750
758
|
|
|
751
759
|
var _homePageDataList = _interopRequireDefault(require("./pages/home-page-data-list"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@titaui/pc",
|
|
3
|
-
"version": "1.12.22-beta.
|
|
3
|
+
"version": "1.12.22-beta.16",
|
|
4
4
|
"nameCN": "",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@titaui/rc-trigger": "5.2.5",
|
|
79
79
|
"@titaui/react-flow-renderer": "9.5.4",
|
|
80
80
|
"@titaui/request": "^1.0.1",
|
|
81
|
-
"@titaui/rich-editor": "^0.1.50",
|
|
81
|
+
"@titaui/rich-editor": "^0.1.50-beta.14",
|
|
82
82
|
"@titaui/toast": "1.0.0",
|
|
83
83
|
"@types/color": "3.0.3",
|
|
84
84
|
"@types/prosemirror-commands": "1.0.4",
|