@titaui/pc 1.7.88 → 1.7.92
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/create-okr-modal/fields/okr-case.js +1 -1
- package/lib/components/create-okr-modal/index.js +2 -1
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +4 -1
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +7 -2
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +4 -1
- package/lib/components/photo-card/components/card/index.js +6 -1
- package/lib/components/table/index.js +1 -1
- package/package.json +1 -1
- package/yarn-error.log +103 -0
|
@@ -66,7 +66,7 @@ var _default = function _default(_ref) {
|
|
|
66
66
|
return /*#__PURE__*/_react["default"].createElement(_style.Line, null, okrTemplateEnabled && !(0, _helpers.isLocal)() ? /*#__PURE__*/_react["default"].createElement(_style.CaseLink, {
|
|
67
67
|
onClick: okrCaseClickHandler,
|
|
68
68
|
className: "tu-icon-shoushi"
|
|
69
|
-
}, "\
|
|
69
|
+
}, "\u4ECE OKR \u6848\u4F8B\u5E93\u6DFB\u52A0") : null, okrTemplateEnabled && /*#__PURE__*/_react["default"].createElement(_dialog["default"], {
|
|
70
70
|
zIndex: 99999,
|
|
71
71
|
noHeadLine: true,
|
|
72
72
|
visible: visible,
|
|
@@ -818,7 +818,8 @@ function CreateOkrModal(_ref, ref) {
|
|
|
818
818
|
visible: isVisible,
|
|
819
819
|
onCancel: hideCreateOkrModal,
|
|
820
820
|
maskClosable: false,
|
|
821
|
-
footerLeftContent: renderFooterTeachWriteOKr
|
|
821
|
+
footerLeftContent: renderFooterTeachWriteOKr,
|
|
822
|
+
zIndex: 1200
|
|
822
823
|
}, /*#__PURE__*/_react["default"].createElement(_style.Wrapper, {
|
|
823
824
|
ref: wrapperRef
|
|
824
825
|
}, /*#__PURE__*/_react["default"].createElement(_oNewName["default"], {
|
|
@@ -219,7 +219,10 @@ var Inform = function Inform(props) {
|
|
|
219
219
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-name"))
|
|
220
220
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
221
221
|
overlayClassName: "".concat(preCls, "__item-right-name-tooltip"),
|
|
222
|
-
text:
|
|
222
|
+
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
223
|
+
id: item.user.userId,
|
|
224
|
+
name: item.user.name
|
|
225
|
+
}),
|
|
223
226
|
maxWidth: 100,
|
|
224
227
|
mouseEnterDelay: 0.8
|
|
225
228
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -13,6 +13,8 @@ var _avatar = _interopRequireDefault(require("../../../../../../components/avata
|
|
|
13
13
|
|
|
14
14
|
var _tooltipText = _interopRequireDefault(require("../../../../../tooltip/tooltip-text"));
|
|
15
15
|
|
|
16
|
+
var _openData = require("../../../../../../utils/open-data");
|
|
17
|
+
|
|
16
18
|
var _constant = require("../../constant");
|
|
17
19
|
|
|
18
20
|
var _utils = require("../../utils");
|
|
@@ -82,7 +84,10 @@ var Reply = function Reply(props) {
|
|
|
82
84
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-name"))
|
|
83
85
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
84
86
|
overlayClassName: "".concat(preCls, "__item-right-header-name-tooltip"),
|
|
85
|
-
text:
|
|
87
|
+
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
88
|
+
id: item.user.userId,
|
|
89
|
+
name: item.user.name
|
|
90
|
+
}),
|
|
86
91
|
maxWidth: 100,
|
|
87
92
|
mouseEnterDelay: 0.8
|
|
88
93
|
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -91,7 +96,7 @@ var Reply = function Reply(props) {
|
|
|
91
96
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
92
97
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
93
98
|
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
94
|
-
text: feedText(),
|
|
99
|
+
text: (0, _openData.parseString)(feedText()),
|
|
95
100
|
isPercent: true,
|
|
96
101
|
mouseEnterDelay: 0.8
|
|
97
102
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -66,7 +66,10 @@ var TodoItem = function TodoItem(props) {
|
|
|
66
66
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-name"))
|
|
67
67
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
68
68
|
overlayClassName: "".concat(preCls, "__item-right-header-name-tooltip"),
|
|
69
|
-
text:
|
|
69
|
+
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
70
|
+
id: item.User.userId,
|
|
71
|
+
name: item.User.name
|
|
72
|
+
}),
|
|
70
73
|
maxWidth: 100,
|
|
71
74
|
mouseEnterDelay: 0.8
|
|
72
75
|
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -17,6 +17,8 @@ var _tooltipText = _interopRequireDefault(require("../../../tooltip/tooltip-text
|
|
|
17
17
|
|
|
18
18
|
var _conditionRender = _interopRequireDefault(require("../../../condition-render"));
|
|
19
19
|
|
|
20
|
+
var _openData = require("../../../../utils/open-data");
|
|
21
|
+
|
|
20
22
|
var _request = require("../../request.apis");
|
|
21
23
|
|
|
22
24
|
var _add13x = _interopRequireDefault(require("../../images/add1@3x.png"));
|
|
@@ -134,7 +136,10 @@ var Card = function Card(props) {
|
|
|
134
136
|
className: (0, _classnames["default"])("".concat(preCls, "__header-name"))
|
|
135
137
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
136
138
|
overlayClassName: "".concat(preCls, "__header-name-tooltip"),
|
|
137
|
-
text:
|
|
139
|
+
text: /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
140
|
+
name: userInfo.name,
|
|
141
|
+
id: userInfo.userId
|
|
142
|
+
}),
|
|
138
143
|
maxWidth: 228,
|
|
139
144
|
mouseEnterDelay: 0.8
|
|
140
145
|
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -246,7 +246,7 @@ var _default = function _default(props) {
|
|
|
246
246
|
onClick: function onClick() {
|
|
247
247
|
return setRowSelected([]);
|
|
248
248
|
}
|
|
249
|
-
}, "\u6E05\u7A7A\u6240\u9009"))), /*#__PURE__*/_react["default"].createElement(_pagination["default"], {
|
|
249
|
+
}, "\u6E05\u7A7A\u6240\u9009"))), !!total && /*#__PURE__*/_react["default"].createElement(_pagination["default"], {
|
|
250
250
|
pageSize: pageSize,
|
|
251
251
|
total: total,
|
|
252
252
|
current: pageNum,
|
package/package.json
CHANGED
package/yarn-error.log
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/usr/local/bin/node /usr/local/bin/yarn
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/homebrew/bin:/opt/homebrew/sbin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.22.10
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
12.22.1
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
darwin x64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
SyntaxError: /Users/yang/tita/titaui-pc/package.json: Unexpected token < in JSON at position 26
|
|
18
|
+
at JSON.parse (<anonymous>)
|
|
19
|
+
at /usr/local/lib/node_modules/yarn/lib/cli.js:1625:59
|
|
20
|
+
at Generator.next (<anonymous>)
|
|
21
|
+
at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30)
|
|
22
|
+
at /usr/local/lib/node_modules/yarn/lib/cli.js:321:13
|
|
23
|
+
|
|
24
|
+
npm manifest:
|
|
25
|
+
{
|
|
26
|
+
"name": "@titaui/pc",
|
|
27
|
+
<<<<<<< HEAD
|
|
28
|
+
"version": "1.2.22",
|
|
29
|
+
=======
|
|
30
|
+
"version": "1.2.13",
|
|
31
|
+
>>>>>>> master
|
|
32
|
+
"nameCN": "",
|
|
33
|
+
"description": "",
|
|
34
|
+
"main": "src/index.js",
|
|
35
|
+
"scripts": {
|
|
36
|
+
"storybook": "start-storybook -p 6006 --no-dll",
|
|
37
|
+
"start": "dev_server=on webpack-dev-server --disableHostCheck=true --progress --colors --config webpack-stories.config.js",
|
|
38
|
+
"build-storybook": "build-storybook --docs --no-dll",
|
|
39
|
+
"build:es": "babel src -d es --ignore **/__tests__",
|
|
40
|
+
"build:lib": "cross-env OUTPUT_MODULE=commonjs babel src -d lib --ignore **/__tests__",
|
|
41
|
+
"build:umd": "webpack --config ./.scripts/webpack.umd.js",
|
|
42
|
+
"build": "npm run build:lib && npm run build:es && npm run build:umd"
|
|
43
|
+
},
|
|
44
|
+
"author": "",
|
|
45
|
+
"license": "ISC",
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"del": "^6.0.0",
|
|
48
|
+
"gulp": "^3.x",
|
|
49
|
+
"gulp-autoprefixer": "^7.0.1",
|
|
50
|
+
"gulp-babel": "^8.0.0",
|
|
51
|
+
"gulp-concat": "^2.6.1",
|
|
52
|
+
"gulp-cssbeautify": "^3.0.0",
|
|
53
|
+
"gulp-cssnano": "^2.1.3",
|
|
54
|
+
"gulp-filesize": "0.0.6",
|
|
55
|
+
"gulp-postcss": "^9.0.0",
|
|
56
|
+
"gulp-rename": "^2.0.0",
|
|
57
|
+
"gulp-replace": "^1.0.0",
|
|
58
|
+
"gulp-sass": "^4.1.0",
|
|
59
|
+
"gulp-sourcemaps": "^2.6.5",
|
|
60
|
+
"sass-resources-loader": "^2.2.1"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@titaui/dagre": "^0.8.8-pre",
|
|
64
|
+
"@titaui/rc-tree2": "^4.1.15",
|
|
65
|
+
"@titaui/rc-trigger": "^5.2.5",
|
|
66
|
+
"@titaui/react-flow-renderer": "9.5.4",
|
|
67
|
+
"@titaui/toast": "^1.0.0",
|
|
68
|
+
"axios": "^0.21.1",
|
|
69
|
+
"classnames": "^2.2.6",
|
|
70
|
+
"clone-deep": "^4.0.1",
|
|
71
|
+
"d3-cloud": "^1.2.5",
|
|
72
|
+
"dayjs": "^1.10.4",
|
|
73
|
+
"html2canvas": "^1.0.0-rc.7",
|
|
74
|
+
"moment": "^2.29.1",
|
|
75
|
+
"qs": "^6.10.1",
|
|
76
|
+
"rc-checkbox": "^2.3.2",
|
|
77
|
+
"rc-dialog": "8.5.2",
|
|
78
|
+
"rc-drawer": "^4.3.1",
|
|
79
|
+
"rc-input-number": "^5.0.0",
|
|
80
|
+
"rc-pagination": "^3.1.6",
|
|
81
|
+
"rc-queue-anim": "1.4.1",
|
|
82
|
+
"rc-select": "^12.1.7",
|
|
83
|
+
"rc-switch": "^3.2.2",
|
|
84
|
+
"rc-table": "^7.13.2",
|
|
85
|
+
"rc-tabs": "^11.7.3",
|
|
86
|
+
"rc-tooltip": "^5.1.1",
|
|
87
|
+
"rc-tree": "^4.1.5",
|
|
88
|
+
"rc-trigger": "^5.2.3",
|
|
89
|
+
"rc-upload": "^4.2.0-alpha.0",
|
|
90
|
+
"rc-util": "^5.13.1",
|
|
91
|
+
"react-collapse": "^5.1.0",
|
|
92
|
+
"react-perfect-scrollbar": "^1.5.2",
|
|
93
|
+
"url-parse": "^1.5.1",
|
|
94
|
+
"uuid": "^3.1.0",
|
|
95
|
+
"wordcloud": "^1.2.2"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
yarn manifest:
|
|
100
|
+
No manifest
|
|
101
|
+
|
|
102
|
+
Lockfile:
|
|
103
|
+
No lockfile
|