@titaui/pc 1.10.90 → 1.11.0

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.
@@ -18,10 +18,16 @@ exports.onlineBroadcastData = exports["default"] = void 0;
18
18
  // href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697741";
19
19
  // }
20
20
  var onlineBroadcastData = [{
21
+ hasOnline: true,
22
+ preContent: "「考核」OKR 维度支持按 KR 评分啦",
23
+ preHref: "https://wiki.tita.com/x/JYOeAQ",
24
+ isNew: true,
25
+ date: "4/11"
26
+ }, {
21
27
  hasOnline: true,
22
28
  preContent: "「OKR 工作法」体验优化 ",
23
29
  preHref: "https://wiki.tita.com/x/jIOeAQ",
24
- isNew: true,
30
+ isNew: false,
25
31
  date: "3/29"
26
32
  }, {
27
33
  hasOnline: true,
@@ -13,27 +13,25 @@ var _essayComponent = _interopRequireDefault(require("../../grid-layout/essay-co
13
13
 
14
14
  var _helpers = require("../../../utils/helpers");
15
15
 
16
- var _getLocale = require("../../../utils/getLocale");
17
-
18
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
17
 
18
+ var pencil = require("../image/\u7B14.svg");
19
+
20
20
  function CaseLibraryMain(props) {
21
21
  var onApplyTpl = props.onApplyTpl,
22
22
  cardList = props.cardList,
23
23
  isUnlock = props.isUnlock,
24
- okrCasesNum = props.okrCasesNum,
25
24
  handleShowSubmitOkrWindow = props.handleShowSubmitOkrWindow,
26
25
  handleShowPayWindow = props.handleShowPayWindow,
27
26
  isfix = props.isfix,
28
27
  isLoading = props.isLoading,
29
28
  activeNavId = props.activeNavId,
30
- onClose = props.onClose,
31
29
  asideHeightRef = props.asideHeightRef,
32
30
  fixAsideTopScroll = props.fixAsideTopScroll; // @ts-ignore
33
31
 
34
- var DeadLine = BSGlobal.tenantAuthentication.DeadLine; // @ts-ignore
32
+ var DeadLine = window.BSGlobal.tenantAuthentication.DeadLine; // @ts-ignore
35
33
 
36
- var Name = BSGlobal.loginUserInfo.Name;
34
+ var Name = window.BSGlobal.loginUserInfo.Name;
37
35
  return /*#__PURE__*/_react["default"].createElement("div", {
38
36
  className: "okr-cases-library__mainContainer"
39
37
  }, /*#__PURE__*/_react["default"].createElement(_caseLibraryCardList["default"], {
@@ -60,14 +58,15 @@ function CaseLibraryMain(props) {
60
58
  return handleShowSubmitOkrWindow(true);
61
59
  }
62
60
  }, /*#__PURE__*/_react["default"].createElement("img", {
63
- src: require("../image/\u7B14.svg")
61
+ src: pencil,
62
+ alt: "pencil"
64
63
  }), "\u63D0\u4EA4\u6211\u60F3\u8981\u7684OKR\u7C7B\u578B"), /*#__PURE__*/_react["default"].createElement("div", {
65
64
  className: "okr-cases-library__aside__submitWant__libraryNum"
66
65
  }, "\u5168\u56FD\u6700\u5927 OKR \u6848\u4F8B\u5E93", /*#__PURE__*/_react["default"].createElement("span", {
67
66
  style: {
68
67
  color: "#F05E5E"
69
68
  }
70
- }, " ", okrCasesNum), " ", (0, _getLocale.getLocale)("OKR_MyO_E_Mumber"))), isUnlock ? /*#__PURE__*/_react["default"].createElement("div", {
69
+ }, " 1000+"), " ")), isUnlock ? /*#__PURE__*/_react["default"].createElement("div", {
71
70
  className: "okr-cases-library__aside__memberInfo"
72
71
  }, /*#__PURE__*/_react["default"].createElement("div", {
73
72
  className: "okr-cases-library__aside__memberInfo__name"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.10.90",
3
+ "version": "1.11.0",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",