@titaui/pc 1.11.61 → 1.11.62
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/index.js +3 -1
- package/lib/components/dynamic/dynamic-list/index.js +14 -7
- package/lib/components/dynamic/index.js +9 -12
- package/lib/components/dynamic/request-api.js +7 -68
- package/lib/components/nav-top/index.js +2 -2
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +16 -10
- package/lib/components/task-relation-modal/tree/okr-tree/index.css +1 -1
- package/package.json +2 -2
- package/lib/components/dynamic/advertise/components/next-btn/index.css +0 -27
- package/lib/components/dynamic/advertise/components/next-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/components/pre-btn/index.css +0 -26
- package/lib/components/dynamic/advertise/components/pre-btn/index.js +0 -32
- package/lib/components/dynamic/advertise/index.css +0 -21
- package/lib/components/dynamic/advertise/index.js +0 -126
- package/lib/components/dynamic/advertise/interface.js +0 -5
- package/lib/components/dynamic/advertise/util.js +0 -28
- package/lib/components/dynamic/components/dynamic-search-input/index.css +0 -81
- package/lib/components/dynamic/components/dynamic-search-input/index.js +0 -203
- package/lib/components/dynamic/components/first-level-tabs/index.css +0 -101
- package/lib/components/dynamic/components/first-level-tabs/index.js +0 -131
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +0 -23
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.css +0 -146
- package/lib/components/dynamic/dynamic-like-ranking/index.js +0 -180
- package/lib/components/dynamic/dynamic-like-ranking/item.js +0 -105
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +0 -84
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +0 -30
- package/lib/components/dynamic/dynamic-liking/index.css +0 -81
- package/lib/components/dynamic/dynamic-liking/index.js +0 -79
- package/lib/components/dynamic/dynamic-liking/item.js +0 -75
- package/lib/components/dynamic/dynamic-liking/mock.js +0 -83
- package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +0 -16
- package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +0 -30
- package/lib/components/dynamic/dynamic-topping/index.css +0 -141
- package/lib/components/dynamic/dynamic-topping/index.js +0 -82
- package/lib/components/dynamic/dynamic-topping/interface.js +0 -5
- package/lib/components/dynamic/dynamic-topping/item.js +0 -153
- package/lib/components/dynamic/dynamic-topping/request-api.js +0 -36
- package/lib/components/dynamic/dynamic.css +0 -173
- package/lib/components/dynamic/dynamic.js +0 -428
- package/lib/components/dynamic/export-module/index.js +0 -37
- package/lib/components/dynamic/img/dynamic-top.svg +0 -14
- package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
- package/lib/components/dynamic/my-team/img/line.png +0 -0
- package/lib/components/dynamic/my-team/img/team.png +0 -0
- package/lib/components/dynamic/my-team/index.css +0 -184
- package/lib/components/dynamic/my-team/index.js +0 -263
- package/lib/components/dynamic/my-team/request-api.js +0 -52
- package/lib/components/dynamic/my-team/util.js +0 -20
- package/lib/components/dynamic/new-ui.css +0 -192
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +0 -58
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +0 -68
- package/lib/components/dynamic/online-broadcast/data.js +0 -95
- package/lib/components/dynamic/online-broadcast/img/broadcast.svg +0 -14
- package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
- package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
- package/lib/components/dynamic/online-broadcast/index.css +0 -46
- package/lib/components/dynamic/online-broadcast/index.js +0 -61
- package/lib/components/dynamic/online-broadcast/interfact.js +0 -5
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +0 -39
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +0 -44
- package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
- package/lib/components/dynamic/quick-operation/index.css +0 -51
- package/lib/components/dynamic/quick-operation/index.js +0 -120
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.onlineBroadcastData = exports["default"] = void 0;
|
|
7
|
-
// import { getBSGlobal } from "../../../utils/bs-global";
|
|
8
|
-
// 上线预报定义1
|
|
9
|
-
// const source = getBSGlobal("tenantInfo").Source;
|
|
10
|
-
// let href = "";
|
|
11
|
-
// if (source === 860) {
|
|
12
|
-
// href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697696";
|
|
13
|
-
// } else if (source === 861) {
|
|
14
|
-
// href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697725";
|
|
15
|
-
// } else if (source === 862) {
|
|
16
|
-
// href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697712";
|
|
17
|
-
// } else {
|
|
18
|
-
// href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697741";
|
|
19
|
-
// }
|
|
20
|
-
var onlineBroadcastData = [{
|
|
21
|
-
hasOnline: true,
|
|
22
|
-
preContent: "「OKR」支持上级审批,管理更规范",
|
|
23
|
-
preHref: "https://wiki.tita.com/x/F4SeAQ",
|
|
24
|
-
isNew: true,
|
|
25
|
-
date: "5/05"
|
|
26
|
-
}, {
|
|
27
|
-
hasOnline: true,
|
|
28
|
-
preContent: "「考核」更多位置支持离职人员筛选啦",
|
|
29
|
-
preHref: "https://wiki.tita.com/x/pwDQAQ",
|
|
30
|
-
isNew: true,
|
|
31
|
-
date: "4/29"
|
|
32
|
-
}, {
|
|
33
|
-
hasOnline: true,
|
|
34
|
-
preContent: "「1 on 1」面谈全新上线",
|
|
35
|
-
preHref: "https://wiki.tita.com/pages/viewpage.action?pageId=27165723",
|
|
36
|
-
isNew: true,
|
|
37
|
-
date: "4/27"
|
|
38
|
-
}, {
|
|
39
|
-
hasOnline: true,
|
|
40
|
-
preContent: "「考核」OKR 维度支持按 KR 评分啦",
|
|
41
|
-
preHref: "https://wiki.tita.com/x/JYOeAQ",
|
|
42
|
-
isNew: false,
|
|
43
|
-
date: "4/11"
|
|
44
|
-
}, {
|
|
45
|
-
hasOnline: true,
|
|
46
|
-
preContent: "「OKR 工作法」体验优化 ",
|
|
47
|
-
preHref: "https://wiki.tita.com/x/jIOeAQ",
|
|
48
|
-
isNew: false,
|
|
49
|
-
date: "3/29"
|
|
50
|
-
}, {
|
|
51
|
-
hasOnline: true,
|
|
52
|
-
preContent: "「考核」支持建立企业指标库",
|
|
53
|
-
preHref: "https://wiki.tita.com/x/vYGeAQ",
|
|
54
|
-
isNew: false,
|
|
55
|
-
date: "2/17"
|
|
56
|
-
}, {
|
|
57
|
-
hasOnline: true,
|
|
58
|
-
preContent: "「OKR」支持手动进行目标打分",
|
|
59
|
-
preHref: "https://wiki.tita.com/x/GYCeAQ",
|
|
60
|
-
isNew: false,
|
|
61
|
-
date: "1/12"
|
|
62
|
-
}, {
|
|
63
|
-
hasOnline: true,
|
|
64
|
-
preContent: "「考核」支持批量公布考核结果 ",
|
|
65
|
-
preHref: "https://wiki.tita.com/x/L4CeAQ",
|
|
66
|
-
isNew: false,
|
|
67
|
-
date: "1/11"
|
|
68
|
-
}, {
|
|
69
|
-
hasOnline: true,
|
|
70
|
-
preContent: "Tita「Learning」 全新上线",
|
|
71
|
-
preHref: "https://wiki.tita.com/x/doNrAQ",
|
|
72
|
-
isNew: false,
|
|
73
|
-
date: "12/26"
|
|
74
|
-
}, {
|
|
75
|
-
hasOnline: true,
|
|
76
|
-
preContent: "「OKR」支持设置子目标权重",
|
|
77
|
-
preHref: "https://wiki.tita.com/x/mIFrAQ",
|
|
78
|
-
isNew: false,
|
|
79
|
-
date: "12/18"
|
|
80
|
-
}, {
|
|
81
|
-
hasOnline: true,
|
|
82
|
-
preContent: "「OKR 」每周工作小结推送",
|
|
83
|
-
preHref: "https://wiki.tita.com/x/F4FrAQ",
|
|
84
|
-
isNew: false,
|
|
85
|
-
date: "12/8"
|
|
86
|
-
}, {
|
|
87
|
-
hasOnline: true,
|
|
88
|
-
preContent: "「OKR」新增管理规定,开启全员提醒",
|
|
89
|
-
preHref: "https://wiki.tita.com/x/6YBrAQ",
|
|
90
|
-
isNew: false,
|
|
91
|
-
date: "12/7"
|
|
92
|
-
}];
|
|
93
|
-
exports.onlineBroadcastData = onlineBroadcastData;
|
|
94
|
-
var _default = onlineBroadcastData;
|
|
95
|
-
exports["default"] = _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>上线</title>
|
|
4
|
-
<g id="动态" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g transform="translate(-922.000000, -729.000000)" id="编组-7">
|
|
6
|
-
<g transform="translate(906.000000, 711.000000)">
|
|
7
|
-
<g id="上线" transform="translate(16.000000, 18.000000)">
|
|
8
|
-
<circle id="椭圆形" fill="#F56868" cx="10" cy="10" r="10"></circle>
|
|
9
|
-
<path d="M11.8409601,5.02039481 C12.0607062,5.06789152 12.2513045,5.19521898 12.3708171,5.37436084 C12.4551761,5.50081575 12.5,5.64709197 12.5,5.79637754 L12.5,14.2038355 C12.5,14.4933736 12.3323006,14.7601176 12.0619452,14.9004804 C11.7915897,15.0408432 11.4612064,15.0327093 11.199096,14.8792372 L7.07387659,12.8671576 L6.19040457,12.8671576 C5.53296228,12.8671576 5,12.3679353 5,11.7521134 L5,8.24809964 C5,7.63227776 5.53296228,7.13305548 6.19040457,7.13305548 L7.07387659,7.13305548 L11.199096,5.1211008 C11.3903249,5.00912372 11.621214,4.9728981 11.8409601,5.02039481 Z M14.098818,7.2775841 C15.2999064,9.00639215 15.3004375,11.3014434 14.1001492,13.0308092 C13.9844061,13.1916195 13.7614463,13.2299439 13.598824,13.1169815 C13.4362017,13.0040191 13.3938229,12.7813824 13.5035352,12.616383 C14.5312451,11.1363956 14.5307622,9.17185423 13.502325,7.69237405 C13.3880073,7.52734138 13.4288592,7.30070687 13.5935719,7.18616299 C13.7582899,7.07162698 13.9844924,7.1125569 14.098818,7.2775841 Z" id="形状结合" fill="#FFFFFF" fill-rule="nonzero"></path>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.dynamic-online-broadcast__container {
|
|
2
|
-
width: 278px;
|
|
3
|
-
border-radius: 12px;
|
|
4
|
-
box-shadow: 0px 2px 12px 0px rgba(127, 145, 180, 0.2);
|
|
5
|
-
background: #ffffff;
|
|
6
|
-
padding: 16px 16px 24px 16px;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
margin-top: 10px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dynamic-online-broadcast__header {
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
align-items: center;
|
|
15
|
-
padding-bottom: 10px;
|
|
16
|
-
border-bottom: 1px solid #e9ecf0;
|
|
17
|
-
margin-bottom: 4px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.dynamic-online-broadcast__header-left {
|
|
21
|
-
display: inline-flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.dynamic-online-broadcast__header-left-icon {
|
|
26
|
-
width: 20px;
|
|
27
|
-
height: 20px;
|
|
28
|
-
margin-right: 4px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.dynamic-online-broadcast__header-left-text {
|
|
32
|
-
font-size: 16px;
|
|
33
|
-
font-weight: 600;
|
|
34
|
-
color: #3f4755;
|
|
35
|
-
line-height: 24px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.dynamic-online-broadcast__header-right {
|
|
39
|
-
font-size: 14px;
|
|
40
|
-
color: #2879ff;
|
|
41
|
-
line-height: 24px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.dynamic-online-broadcast__header-right:hover {
|
|
45
|
-
color: #5c8eff;
|
|
46
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
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 _bsGlobal = require("../../../utils/bs-global");
|
|
11
|
-
|
|
12
|
-
var _broadcast = _interopRequireDefault(require("./img/broadcast.svg"));
|
|
13
|
-
|
|
14
|
-
var _data = require("./data");
|
|
15
|
-
|
|
16
|
-
var _broadcastItem = _interopRequireDefault(require("./components/broadcast-item"));
|
|
17
|
-
|
|
18
|
-
var _getLocale = require("../../../utils/getLocale");
|
|
19
|
-
|
|
20
|
-
require("./index.css");
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
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); }
|
|
25
|
-
|
|
26
|
-
var prefix = "dynamic-online-broadcast";
|
|
27
|
-
var titaHost = (0, _bsGlobal.getBSGlobal)("titaHost"); // 飞书端不显示
|
|
28
|
-
|
|
29
|
-
var onlinePreHandler = titaHost.indexOf("tita") > -1 && window.BSGlobal.tenantInfo.Source != 862;
|
|
30
|
-
|
|
31
|
-
var OnlineBroadcast = function OnlineBroadcast() {
|
|
32
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
-
className: prefix
|
|
34
|
-
}, onlinePreHandler && _data.onlineBroadcastData.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
|
-
className: "".concat(prefix, "__container")
|
|
36
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
37
|
-
className: "".concat(prefix, "__header")
|
|
38
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
39
|
-
className: "".concat(prefix, "__header-left")
|
|
40
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
41
|
-
className: "".concat(prefix, "__header-left-icon"),
|
|
42
|
-
src: _broadcast["default"]
|
|
43
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
44
|
-
className: "".concat(prefix, "__header-left-text")
|
|
45
|
-
}, (0, _getLocale.getLocale)("Feed_Title_Onlinebroadcast"))), /*#__PURE__*/_react["default"].createElement("a", {
|
|
46
|
-
className: "".concat(prefix, "__header-right"),
|
|
47
|
-
href: "https://wiki.tita.com/pages/viewpage.action?pageId=15696164",
|
|
48
|
-
target: "_blank",
|
|
49
|
-
rel: "noreferrer"
|
|
50
|
-
}, (0, _getLocale.getLocale)("Feed_Set_Pop_Butt_More"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
51
|
-
className: "".concat(prefix, "__content")
|
|
52
|
-
}, _data.onlineBroadcastData.slice(0, 5).map(function (data, index) {
|
|
53
|
-
return /*#__PURE__*/_react["default"].createElement(_broadcastItem["default"], _extends({}, data, {
|
|
54
|
-
index: index + 1,
|
|
55
|
-
key: index
|
|
56
|
-
}));
|
|
57
|
-
}))));
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
var _default = OnlineBroadcast;
|
|
61
|
-
exports["default"] = _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.titaui-pc-create-announcement {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.titaui-pc-create-announcement__img {
|
|
10
|
-
width: 44px;
|
|
11
|
-
height: 44px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.titaui-pc-create-announcement__text {
|
|
15
|
-
margin-top: 5px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.titaui-pc-create-announcement:hover {
|
|
19
|
-
color: #2879ff;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.titaui-pc-create-announcement:hover img {
|
|
24
|
-
animation: dynamicQuickOperationRubberBand 1s;
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 _newAnnouncement = _interopRequireDefault(require("../../img/new-announcement.png"));
|
|
11
|
-
|
|
12
|
-
var _getLocale = require("../../../../../utils/getLocale");
|
|
13
|
-
|
|
14
|
-
require("./index.css");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
var prefix = "titaui-pc-create-announcement";
|
|
19
|
-
|
|
20
|
-
var CreateAnnouncement = function CreateAnnouncement(_ref) {
|
|
21
|
-
var onClick = _ref.onClick;
|
|
22
|
-
|
|
23
|
-
var handleCreateAnnouncementClick = function handleCreateAnnouncementClick() {
|
|
24
|
-
onClick && onClick();
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
-
className: prefix,
|
|
29
|
-
onClick: handleCreateAnnouncementClick
|
|
30
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
31
|
-
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
32
|
-
src: _newAnnouncement["default"]
|
|
33
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
34
|
-
className: "".concat(prefix, "__text")
|
|
35
|
-
}, (0, _getLocale.getLocale)("Feed_Set_Pop_Butt_Announcement")));
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var _default = CreateAnnouncement;
|
|
39
|
-
exports["default"] = _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.titaui-pc-create-okr {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.titaui-pc-create-okr__img {
|
|
10
|
-
width: 44px;
|
|
11
|
-
height: 44px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.titaui-pc-create-okr__text {
|
|
15
|
-
margin-top: 5px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.titaui-pc-create-okr:hover {
|
|
19
|
-
color: #2879ff;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.titaui-pc-create-okr:hover img {
|
|
24
|
-
animation: dynamicQuickOperationRubberBand 1s;
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 _newOkr = _interopRequireDefault(require("../../img/new-okr.png"));
|
|
11
|
-
|
|
12
|
-
var _getLocale = require("../../../../../utils/getLocale");
|
|
13
|
-
|
|
14
|
-
require("./index.css");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
var prefix = "titaui-pc-create-okr";
|
|
19
|
-
|
|
20
|
-
var CreateOKr = function CreateOKr(_ref) {
|
|
21
|
-
var onClick = _ref.onClick;
|
|
22
|
-
|
|
23
|
-
var handleCreateOKrClick = function handleCreateOKrClick() {
|
|
24
|
-
onClick && onClick();
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
-
className: prefix,
|
|
29
|
-
onClick: handleCreateOKrClick
|
|
30
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
31
|
-
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
32
|
-
src: _newOkr["default"]
|
|
33
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
34
|
-
className: "".concat(prefix, "__text")
|
|
35
|
-
}, (0, _getLocale.getLocale)("Feed_Set_Pop_Butt_NewOKR")));
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var _default = CreateOKr;
|
|
39
|
-
exports["default"] = _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.titaui-pc-create-share {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.titaui-pc-create-share__img {
|
|
10
|
-
width: 44px;
|
|
11
|
-
height: 44px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.titaui-pc-create-share__text {
|
|
15
|
-
margin-top: 5px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.titaui-pc-create-share:hover {
|
|
19
|
-
color: #2879ff;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.titaui-pc-create-share:hover img {
|
|
24
|
-
animation: dynamicQuickOperationRubberBand 1s;
|
|
25
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 _newShare = _interopRequireDefault(require("../../img/new-share.png"));
|
|
11
|
-
|
|
12
|
-
var _getLocale = require("../../../../../utils/getLocale");
|
|
13
|
-
|
|
14
|
-
require("./index.css");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
var prefix = "titaui-pc-create-share";
|
|
19
|
-
|
|
20
|
-
var CreateShare = function CreateShare(_ref) {
|
|
21
|
-
var onClick = _ref.onClick;
|
|
22
|
-
|
|
23
|
-
var handleCreateShareClick = function handleCreateShareClick() {
|
|
24
|
-
onClick && onClick();
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
-
className: prefix,
|
|
29
|
-
onClick: handleCreateShareClick
|
|
30
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
31
|
-
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
32
|
-
src: _newShare["default"]
|
|
33
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
34
|
-
className: "".concat(prefix, "__text")
|
|
35
|
-
}, (0, _getLocale.getLocale)("Feed_Set_Pop_Butt_Sendshare")));
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var _default = CreateShare;
|
|
39
|
-
exports["default"] = _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.titaui-pc-create-task {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.titaui-pc-create-task__img {
|
|
10
|
-
width: 44px;
|
|
11
|
-
height: 44px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.titaui-pc-create-task__text {
|
|
15
|
-
margin-top: 5px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.titaui-pc-create-task:hover {
|
|
19
|
-
color: #2879ff;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.titaui-pc-create-task:hover img {
|
|
24
|
-
animation: dynamicQuickOperationRubberBand 1s;
|
|
25
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 _newTask = _interopRequireDefault(require("../../img/new-task.png"));
|
|
13
|
-
|
|
14
|
-
var _getLocale = require("../../../../../utils/getLocale");
|
|
15
|
-
|
|
16
|
-
require("./index.css");
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
20
|
-
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); }
|
|
21
|
-
|
|
22
|
-
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; }
|
|
23
|
-
|
|
24
|
-
var prefix = "titaui-pc-create-task";
|
|
25
|
-
var CreateTask = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
26
|
-
var onClick = _ref.onClick;
|
|
27
|
-
|
|
28
|
-
var handleCreateTaskClick = function handleCreateTaskClick() {
|
|
29
|
-
onClick && onClick();
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
-
className: prefix,
|
|
34
|
-
onClick: handleCreateTaskClick,
|
|
35
|
-
ref: ref
|
|
36
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
37
|
-
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
38
|
-
src: _newTask["default"]
|
|
39
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
40
|
-
className: "".concat(prefix, "__text")
|
|
41
|
-
}, (0, _getLocale.getLocale)("Feed_Set_Pop_Butt_Newtask")));
|
|
42
|
-
});
|
|
43
|
-
var _default = CreateTask;
|
|
44
|
-
exports["default"] = _default;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
.titaui-pc-dynamic-quick-operation {
|
|
2
|
-
width: 278px;
|
|
3
|
-
height: 126px;
|
|
4
|
-
padding: 0 5px;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background: #ffffff;
|
|
9
|
-
box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
|
|
10
|
-
border-radius: 12px;
|
|
11
|
-
font-size: 12px;
|
|
12
|
-
color: #3f4755;
|
|
13
|
-
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@keyframes dynamicQuickOperationRubberBand {
|
|
17
|
-
0% {
|
|
18
|
-
-webkit-transform: scaleX(1);
|
|
19
|
-
transform: scaleX(1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
30% {
|
|
23
|
-
-webkit-transform: scale3d(1.25, 0.75, 1);
|
|
24
|
-
transform: scale3d(1.25, 0.75, 1);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
40% {
|
|
28
|
-
-webkit-transform: scale3d(0.75, 1.25, 1);
|
|
29
|
-
transform: scale3d(0.75, 1.25, 1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
50% {
|
|
33
|
-
-webkit-transform: scale3d(1.15, 0.85, 1);
|
|
34
|
-
transform: scale3d(1.15, 0.85, 1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
65% {
|
|
38
|
-
-webkit-transform: scale3d(0.95, 1.05, 1);
|
|
39
|
-
transform: scale3d(0.95, 1.05, 1);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
75% {
|
|
43
|
-
-webkit-transform: scale3d(1.05, 0.95, 1);
|
|
44
|
-
transform: scale3d(1.05, 0.95, 1);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
to {
|
|
48
|
-
-webkit-transform: scaleX(1);
|
|
49
|
-
transform: scaleX(1);
|
|
50
|
-
}
|
|
51
|
-
}
|