@titaui/pc 1.11.52-beta.3 → 1.11.52-beta.6

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.
Files changed (181) hide show
  1. package/lib/components/change-okr-modal/Item.js +19 -18
  2. package/lib/components/change-okr-modal/styledComponents.js +9 -9
  3. package/lib/components/create-okr-modal/createSuccessCmp.js +47 -19
  4. package/lib/components/create-okr-modal/fields/index.css +14 -3
  5. package/lib/components/create-okr-modal/fields/o-new-name.js +25 -19
  6. package/lib/components/create-okr-modal/index.js +75 -35
  7. package/lib/components/create-okr-modal/kr-items/index.css +12 -1
  8. package/lib/components/create-okr-modal/kr-items/krDatas.js +6 -5
  9. package/lib/components/create-okr-modal/kr-items/krItem.js +22 -12
  10. package/lib/components/date-picker/BodyItem.js +3 -3
  11. package/lib/components/date-picker/CalendarHeader.js +3 -3
  12. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  13. package/lib/components/dynamic/advertise/components/next-btn/index.css +27 -0
  14. package/lib/components/dynamic/advertise/components/next-btn/index.js +32 -0
  15. package/lib/components/dynamic/advertise/components/pre-btn/index.css +26 -0
  16. package/lib/components/dynamic/advertise/components/pre-btn/index.js +32 -0
  17. package/lib/components/dynamic/advertise/index.css +21 -0
  18. package/lib/components/dynamic/advertise/index.js +126 -0
  19. package/lib/components/dynamic/advertise/interface.js +5 -0
  20. package/lib/components/dynamic/advertise/util.js +28 -0
  21. package/lib/components/dynamic/components/dynamic-search-input/index.css +81 -0
  22. package/lib/components/dynamic/components/dynamic-search-input/index.js +203 -0
  23. package/lib/components/dynamic/components/first-level-tabs/index.css +101 -0
  24. package/lib/components/dynamic/components/first-level-tabs/index.js +131 -0
  25. package/lib/components/dynamic/dynamic-item/components/feed-operate/index.js +8 -8
  26. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +18 -18
  27. package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +23 -0
  28. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
  29. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
  30. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
  31. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
  32. package/lib/components/dynamic/dynamic-like-ranking/index.css +146 -0
  33. package/lib/components/dynamic/dynamic-like-ranking/index.js +180 -0
  34. package/lib/components/dynamic/dynamic-like-ranking/item.js +105 -0
  35. package/lib/components/dynamic/dynamic-like-ranking/mock.js +84 -0
  36. package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +30 -0
  37. package/lib/components/dynamic/dynamic-liking/index.css +81 -0
  38. package/lib/components/{contact-kefu → dynamic/dynamic-liking}/index.js +35 -58
  39. package/lib/components/dynamic/dynamic-liking/item.js +75 -0
  40. package/lib/components/dynamic/dynamic-liking/mock.js +83 -0
  41. package/lib/components/dynamic/dynamic-list/index.js +7 -14
  42. package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +16 -0
  43. package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +30 -0
  44. package/lib/components/dynamic/dynamic-topping/index.css +141 -0
  45. package/lib/components/dynamic/dynamic-topping/index.js +82 -0
  46. package/lib/components/dynamic/dynamic-topping/interface.js +5 -0
  47. package/lib/components/dynamic/dynamic-topping/item.js +153 -0
  48. package/lib/components/dynamic/dynamic-topping/request-api.js +36 -0
  49. package/lib/components/dynamic/dynamic.css +173 -0
  50. package/lib/components/dynamic/dynamic.js +428 -0
  51. package/lib/components/dynamic/export-module/index.js +37 -0
  52. package/lib/components/dynamic/img/dynamic-top.svg +14 -0
  53. package/lib/components/dynamic/index.js +12 -9
  54. package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
  55. package/lib/components/dynamic/my-team/img/line.png +0 -0
  56. package/lib/components/dynamic/my-team/img/team.png +0 -0
  57. package/lib/components/dynamic/my-team/index.css +184 -0
  58. package/lib/components/dynamic/my-team/index.js +263 -0
  59. package/lib/components/dynamic/my-team/request-api.js +52 -0
  60. package/lib/components/dynamic/my-team/util.js +20 -0
  61. package/lib/components/dynamic/new-ui.css +192 -0
  62. package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +58 -0
  63. package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +68 -0
  64. package/lib/components/dynamic/online-broadcast/data.js +95 -0
  65. package/lib/components/dynamic/online-broadcast/img/broadcast.svg +14 -0
  66. package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
  67. package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
  68. package/lib/components/dynamic/online-broadcast/index.css +46 -0
  69. package/lib/components/dynamic/online-broadcast/index.js +61 -0
  70. package/lib/components/dynamic/online-broadcast/interfact.js +5 -0
  71. package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +25 -0
  72. package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +39 -0
  73. package/lib/components/dynamic/quick-operation/components/create-okr/index.css +25 -0
  74. package/lib/components/dynamic/quick-operation/components/create-okr/index.js +39 -0
  75. package/lib/components/dynamic/quick-operation/components/create-share/index.css +25 -0
  76. package/lib/components/dynamic/quick-operation/components/create-share/index.js +39 -0
  77. package/lib/components/dynamic/quick-operation/components/create-task/index.css +25 -0
  78. package/lib/components/dynamic/quick-operation/components/create-task/index.js +44 -0
  79. package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
  80. package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
  81. package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
  82. package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
  83. package/lib/components/dynamic/quick-operation/index.css +51 -0
  84. package/lib/components/dynamic/quick-operation/index.js +120 -0
  85. package/lib/components/dynamic/request-api.js +68 -7
  86. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  87. package/lib/components/emotions-selector/selector-pop.js +3 -3
  88. package/lib/components/ereport-list/index.js +3 -3
  89. package/lib/components/mblog/components/MblogAction.js +3 -3
  90. package/lib/components/nav-top/components/menu/index.js +4 -3
  91. package/lib/components/nav-top/index.js +2 -2
  92. package/lib/components/okr-detail/components/base-okr-type/index.css +0 -4
  93. package/lib/components/okr-detail/components/base-okr-type/object-type.js +0 -1
  94. package/lib/components/okr-detail/components/header/edit-name.js +86 -40
  95. package/lib/components/okr-detail/components/header/index.css +120 -41
  96. package/lib/components/okr-detail/components/header/index.js +36 -46
  97. package/lib/components/okr-detail/components/header/o-classify.js +152 -0
  98. package/lib/components/okr-detail/components/header/o-name.js +7 -5
  99. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +3 -1
  100. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +54 -4
  101. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +106 -56
  102. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  103. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +9 -9
  104. package/lib/components/okr-detail/detail-header/delete-confirm/index.css +5 -9
  105. package/lib/components/okr-detail/detail-header/index.js +8 -4
  106. package/lib/components/okr-detail/okr-list/create-kr-item/index.css +17 -0
  107. package/lib/components/okr-detail/okr-list/create-kr-item/index.js +71 -53
  108. package/lib/components/okr-detail/request-apis.js +73 -69
  109. package/lib/components/okr-detail/schedule/components/kr-progress/index.js +3 -1
  110. package/lib/components/okr-detail/schedule/components/o-progress/index.js +3 -1
  111. package/lib/components/okr-detail/schedule/components/sub-o-progress/index.js +3 -1
  112. package/lib/components/okr-flow/child-node/kr-node.js +3 -1
  113. package/lib/components/okr-flow/child-node/work-node.js +3 -1
  114. package/lib/components/okr-progress/components/kr-progress/index.js +5 -3
  115. package/lib/components/okr-progress/components/o-progress/index.js +3 -1
  116. package/lib/components/okr-progress/components/sub-o-progress/index.js +3 -1
  117. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +3 -3
  118. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  119. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  120. package/lib/components/okr-share/common-painter/openDataPainter.js +9 -6
  121. package/lib/components/okr-share/common-painter/utils.js +183 -36
  122. package/lib/components/okr-share/index.css +5 -4
  123. package/lib/components/okr-share/pink-card/card.js +3 -3
  124. package/lib/components/okr-share/pink-card/drawKrs.js +93 -18
  125. package/lib/components/okr-share/pink-card/index.js +20 -12
  126. package/lib/components/open-data-painter/index.js +6 -5
  127. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +10 -16
  128. package/lib/components/radio/index.css +3 -3
  129. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  130. package/lib/components/rich-editor/models/schema.js +6 -6
  131. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  132. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  133. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  134. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  135. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  136. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  137. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  138. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  139. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  140. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  141. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  142. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  143. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  144. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  145. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  146. package/lib/components/search-key-handle/index.js +9 -7
  147. package/lib/components/select/Option.js +3 -3
  148. package/lib/components/task-relation-modal/tree/okr-tree/index.css +1 -1
  149. package/lib/components/task-relation-modal/tree-node/category-node/index.css +11 -0
  150. package/lib/components/task-relation-modal/tree-node/category-node/index.js +3 -1
  151. package/lib/components/task-relation-modal/tree-node/kr-node/index.css +16 -0
  152. package/lib/components/task-relation-modal/tree-node/kr-node/index.js +10 -4
  153. package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +16 -0
  154. package/lib/components/task-relation-modal/tree-node/milestone-node/index.js +4 -0
  155. package/lib/components/task-relation-modal/tree-node/o-node/index.js +8 -8
  156. package/lib/components/textarea/index.js +35 -38
  157. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  158. package/lib/components/wechat-btn/index.css +4 -1
  159. package/lib/components-v1/animate/AnimateChild.js +3 -3
  160. package/lib/components-v1/avatar/index.js +3 -3
  161. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  162. package/lib/components-v1/progress/CircleProgress.js +3 -3
  163. package/lib/components-v1/select/Option.js +3 -3
  164. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  165. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  166. package/lib/components-v1/userSelector/components/SingleMode.js +7 -5
  167. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  168. package/lib/index.js +0 -8
  169. package/lib/{components/contact-kefu → pages/aha2021}/img/canceled.svg +0 -0
  170. package/lib/{components/contact-kefu → pages/aha2021}/img/kefu.svg +0 -0
  171. package/lib/{components/contact-kefu → pages/aha2021}/img/not-try.png +0 -0
  172. package/lib/{components/contact-kefu → pages/aha2021}/img/try.png +0 -0
  173. package/lib/pages/aha2021/index.css +26 -1
  174. package/lib/pages/aha2021/index.js +82 -3
  175. package/lib/pages/home/components/data-list/table/columns/krName.js +3 -1
  176. package/lib/pages/home/components/data-list/table/columns/okrName.js +4 -2
  177. package/lib/pages/new-okr-list/header/index.css +1 -1
  178. package/lib/utils/open-data.js +213 -65
  179. package/package.json +3 -2
  180. package/lib/components/contact-kefu/img/notice.png +0 -0
  181. package/lib/components/contact-kefu/index.css +0 -85
@@ -0,0 +1,51 @@
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
+ }
@@ -0,0 +1,120 @@
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 _createOkr = _interopRequireDefault(require("./components/create-okr"));
13
+
14
+ var _createTask = _interopRequireDefault(require("./components/create-task"));
15
+
16
+ var _createShare = _interopRequireDefault(require("./components/create-share"));
17
+
18
+ var _createAnnouncement = _interopRequireDefault(require("./components/create-announcement"));
19
+
20
+ var _auth = require("../../../utils/auth");
21
+
22
+ var _createOkrModal = _interopRequireDefault(require("../../create-okr-modal"));
23
+
24
+ var _publishDynamicModal = _interopRequireDefault(require("../../publish-dynamic-modal/publish-dynamic-modal"));
25
+
26
+ var _toast = _interopRequireDefault(require("../../toast"));
27
+
28
+ var _bsGlobal = require("../../../utils/bs-global");
29
+
30
+ var _getLocale = require("../../../utils/getLocale");
31
+
32
+ require("./index.css");
33
+
34
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
35
+
36
+ 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); }
37
+
38
+ 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; }
39
+
40
+ var prefix = "titaui-pc-dynamic-quick-operation";
41
+
42
+ var DynamicQuickOperation = function DynamicQuickOperation(_ref) {
43
+ var _ref$showCreateOKr = _ref.showCreateOKr,
44
+ showCreateOKr = _ref$showCreateOKr === void 0 ? true : _ref$showCreateOKr,
45
+ _ref$showCreateTask = _ref.showCreateTask,
46
+ showCreateTask = _ref$showCreateTask === void 0 ? true : _ref$showCreateTask,
47
+ _ref$showCreateShare = _ref.showCreateShare,
48
+ showCreateShare = _ref$showCreateShare === void 0 ? true : _ref$showCreateShare,
49
+ _ref$showCreateAnnoun = _ref.showCreateAnnouncement,
50
+ showCreateAnnouncement = _ref$showCreateAnnoun === void 0 ? true : _ref$showCreateAnnoun;
51
+ var hasDynamicAnnouncementAuth = new _auth.DynamicManagerAuth().hasAuth();
52
+ var createTaskDivRef = (0, _react.useRef)(document.createElement("div"));
53
+ var isNewUI = (0, _bsGlobal.getBSGlobal)("tenantInfo").isNewIndex;
54
+ var newNavigation = (0, _bsGlobal.getBSGlobal)("newNavigation") || [];
55
+ var hasOKRApp = newNavigation.find(function (item) {
56
+ return item.appId === 113;
57
+ });
58
+
59
+ var handleShowCreateOKrModal = function handleShowCreateOKrModal() {
60
+ // @ts-ignore
61
+ window.showCreateOkrModal && window.showCreateOkrModal();
62
+ };
63
+
64
+ var handleShowCreateAnnouncement = function handleShowCreateAnnouncement() {
65
+ // @ts-ignore
66
+ window.showPublishAnnouncementDynamicModal && window.showPublishAnnouncementDynamicModal();
67
+ };
68
+
69
+ var handleShowCreatShare = function handleShowCreatShare() {
70
+ // @ts-ignore
71
+ window.showPublishShareDynamicModal && window.showPublishShareDynamicModal();
72
+ };
73
+
74
+ var handleCreateTaskClick = function handleCreateTaskClick() {
75
+ // @ts-ignore
76
+ window.openCreateTaskPop(createTaskDivRef.current, {
77
+ createParams: {
78
+ objId: "",
79
+ objType: 4,
80
+ AppId: 1,
81
+ AppType: 1,
82
+ TaskType: 0
83
+ }
84
+ }).then(function () {
85
+ _toast["default"].Success((0, _getLocale.getLocale)("Pro_tag_pop_Pubsuc"), {
86
+ canClose: false
87
+ });
88
+
89
+ setTimeout(function () {
90
+ // @ts-ignore 跳到我的发布页签
91
+ window.setTabsToPublish && window.setTabsToPublish();
92
+ }, 2000);
93
+ });
94
+ };
95
+
96
+ var handleAfterSuccess = function handleAfterSuccess() {
97
+ setTimeout(function () {
98
+ // @ts-ignore 跳到我的发布页签
99
+ window.setTabsToPublish && window.setTabsToPublish();
100
+ }, 2000);
101
+ };
102
+
103
+ return /*#__PURE__*/_react["default"].createElement("div", {
104
+ className: prefix
105
+ }, showCreateOKr && (isNewUI && hasOKRApp || !isNewUI && (0, _bsGlobal.hasWebHead)("okr")) && /*#__PURE__*/_react["default"].createElement(_createOkr["default"], {
106
+ onClick: handleShowCreateOKrModal
107
+ }), showCreateTask && /*#__PURE__*/_react["default"].createElement(_createTask["default"], {
108
+ onClick: handleCreateTaskClick,
109
+ ref: createTaskDivRef
110
+ }), showCreateShare && /*#__PURE__*/_react["default"].createElement(_createShare["default"], {
111
+ onClick: handleShowCreatShare
112
+ }), showCreateAnnouncement && hasDynamicAnnouncementAuth && /*#__PURE__*/_react["default"].createElement(_createAnnouncement["default"], {
113
+ onClick: handleShowCreateAnnouncement
114
+ }), /*#__PURE__*/_react["default"].createElement(_createOkrModal["default"], {
115
+ onSuccess: handleAfterSuccess
116
+ }), /*#__PURE__*/_react["default"].createElement(_publishDynamicModal["default"], null));
117
+ };
118
+
119
+ var _default = DynamicQuickOperation;
120
+ exports["default"] = _default;
@@ -3,44 +3,105 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.topDynamic = exports.deleteDynamic = exports.collectDynamic = exports.cancelTopDynamic = exports.cancelCollectDynamic = void 0;
6
+ exports.topDynamic = exports.getRanking = exports.getPraise = exports.getMenu = exports.getLeastPariseInfo = exports.getDynamicFeedList = exports.getAdvertise = exports.deleteDynamic = exports.collectDynamic = exports.cancelTopDynamic = exports.cancelCollectDynamic = void 0;
7
7
 
8
8
  var _request = require("../../utils/request");
9
9
 
10
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
+
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
13
+
14
+ 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; }
15
+
10
16
  // @ts-ignore
11
17
  var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
12
18
 
13
19
  var topDynamic = function topDynamic(_ref) {
14
20
  var feedId = _ref.feedId;
15
- return (0, _request.rget)('v2')("user/feednew/setTop?feedId=".concat(feedId));
21
+ return (0, _request.rget)("v2")("user/feednew/setTop?feedId=".concat(feedId));
16
22
  };
17
23
 
18
24
  exports.topDynamic = topDynamic;
19
25
 
20
26
  var cancelTopDynamic = function cancelTopDynamic(_ref2) {
21
27
  var feedId = _ref2.feedId;
22
- return (0, _request.rget)('v2')("user/feednew/cancelTop?feedId=".concat(feedId));
28
+ return (0, _request.rget)("v2")("user/feednew/cancelTop?feedId=".concat(feedId));
23
29
  };
24
30
 
25
31
  exports.cancelTopDynamic = cancelTopDynamic;
26
32
 
27
33
  var collectDynamic = function collectDynamic(_ref3) {
28
34
  var feedId = _ref3.feedId;
29
- return (0, _request.rput)('v2')("user/feed/Collect?feed_id=".concat(feedId));
35
+ return (0, _request.rput)("v2")("user/feed/Collect?feed_id=".concat(feedId));
30
36
  };
31
37
 
32
38
  exports.collectDynamic = collectDynamic;
33
39
 
34
40
  var cancelCollectDynamic = function cancelCollectDynamic(_ref4) {
35
41
  var feedId = _ref4.feedId;
36
- return (0, _request.rdelete)('v2')("user/feed/CancelCollect?feed_id=".concat(feedId));
42
+ return (0, _request.rdelete)("v2")("user/feed/CancelCollect?feed_id=".concat(feedId));
37
43
  };
38
44
 
39
45
  exports.cancelCollectDynamic = cancelCollectDynamic;
40
46
 
41
47
  var deleteDynamic = function deleteDynamic(_ref5) {
42
48
  var feedId = _ref5.feedId;
43
- return (0, _request.rdelete)('v2')("user/feed/Delete?feed_id=".concat(feedId));
49
+ return (0, _request.rdelete)("v2")("user/feed/Delete?feed_id=".concat(feedId));
50
+ };
51
+
52
+ exports.deleteDynamic = deleteDynamic;
53
+
54
+ var getPraise = function getPraise(_ref6) {
55
+ var objId = _ref6.objId,
56
+ _ref6$start = _ref6.start,
57
+ start = _ref6$start === void 0 ? "" : _ref6$start,
58
+ _ref6$count = _ref6.count,
59
+ count = _ref6$count === void 0 ? 5 : _ref6$count,
60
+ _ref6$objType = _ref6.objType,
61
+ objType = _ref6$objType === void 0 ? 10 : _ref6$objType;
62
+ return (0, _request.rget)("v1")("praise/get?objId=".concat(objId, "&start=&count=").concat(count, "&objType=").concat(objType));
63
+ };
64
+
65
+ exports.getPraise = getPraise;
66
+
67
+ var getRanking = function getRanking(data) {
68
+ return (0, _request.rpost)("v1")("praise/getRanking", data);
69
+ };
70
+
71
+ exports.getRanking = getRanking;
72
+
73
+ var getLeastPariseInfo = function getLeastPariseInfo() {
74
+ return (0, _request.rget)("v1")("praise/getLeastPariseInfo?count=10");
75
+ };
76
+
77
+ exports.getLeastPariseInfo = getLeastPariseInfo;
78
+
79
+ var getMenu = function getMenu() {
80
+ return (0, _request.rget)("v2")("feed/FeedTabMenus");
81
+ };
82
+
83
+ exports.getMenu = getMenu;
84
+
85
+ var getDynamicFeedList = function getDynamicFeedList() {
86
+ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
87
+ PageSize: 20,
88
+ PageNum: 1,
89
+ KeyWord: "",
90
+ ChannelIds: "",
91
+ Domain: "",
92
+ TitaHost: "",
93
+ RequestSource: 0,
94
+ CommentCount: 3
95
+ };
96
+ return (0, _request.rpost)("v2")("feed/feeds", _objectSpread(_objectSpread({}, data), {}, {
97
+ CommentCount: 3
98
+ }));
99
+ };
100
+
101
+ exports.getDynamicFeedList = getDynamicFeedList;
102
+
103
+ var getAdvertise = function getAdvertise() {
104
+ return (0, _request.rget)("v1")("operationAd/getByTerminalType?terminalType=1");
44
105
  };
45
106
 
46
- exports.deleteDynamic = deleteDynamic;
107
+ exports.getAdvertise = getAdvertise;
@@ -55,7 +55,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
55
55
  var _super = _createSuper(EReportList);
56
56
 
57
57
  function EReportList() {
58
- var _this;
58
+ var _temp, _this;
59
59
 
60
60
  _classCallCheck(this, EReportList);
61
61
 
@@ -63,7 +63,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
63
63
  args[_key] = arguments[_key];
64
64
  }
65
65
 
66
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
66
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
67
67
  selectedPeriodValue: "",
68
68
  showDatePick: false,
69
69
  eReportWeekList: [],
@@ -176,7 +176,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
176
176
  return _this.handlerEReportShareSubmit(submitStatus);
177
177
  }
178
178
  })));
179
- }, _assertThisInitialized(_this)));
179
+ }, _temp));
180
180
  }
181
181
 
182
182
  _createClass(EReportList, [{
@@ -47,7 +47,7 @@ var EmotionsSelectorPop = /*#__PURE__*/function (_PureComponent) {
47
47
  var _super = _createSuper(EmotionsSelectorPop);
48
48
 
49
49
  function EmotionsSelectorPop() {
50
- var _this;
50
+ var _temp, _this;
51
51
 
52
52
  _classCallCheck(this, EmotionsSelectorPop);
53
53
 
@@ -55,7 +55,7 @@ var EmotionsSelectorPop = /*#__PURE__*/function (_PureComponent) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
58
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
59
59
  setTimeout(function () {
60
60
  // @ts-ignore
61
61
  _this.refs.pop.show(_this.refs.trigger);
@@ -63,7 +63,7 @@ var EmotionsSelectorPop = /*#__PURE__*/function (_PureComponent) {
63
63
  }, _this.handleHide = function () {
64
64
  // @ts-ignore
65
65
  _this.refs.pop.hide();
66
- }, _assertThisInitialized(_this)));
66
+ }, _temp));
67
67
  }
68
68
 
69
69
  _createClass(EmotionsSelectorPop, [{
@@ -57,7 +57,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
57
57
  var _super = _createSuper(EReportList);
58
58
 
59
59
  function EReportList() {
60
- var _this;
60
+ var _temp, _this;
61
61
 
62
62
  _classCallCheck(this, EReportList);
63
63
 
@@ -65,7 +65,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
65
65
  args[_key] = arguments[_key];
66
66
  }
67
67
 
68
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
68
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
69
69
  selectedPeriodValue: "",
70
70
  showDatePick: false,
71
71
  eReportWeekList: [],
@@ -178,7 +178,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
178
178
  return _this.handlerEReportShareSubmit(submitStatus);
179
179
  }
180
180
  })));
181
- }, _assertThisInitialized(_this)));
181
+ }, _temp));
182
182
  }
183
183
 
184
184
  _createClass(EReportList, [{
@@ -83,7 +83,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
83
83
  var _super = _createSuper(MblogAction);
84
84
 
85
85
  function MblogAction() {
86
- var _this;
86
+ var _temp, _this;
87
87
 
88
88
  _classCallCheck(this, MblogAction);
89
89
 
@@ -91,7 +91,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
91
91
  args[_key] = arguments[_key];
92
92
  }
93
93
 
94
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
94
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
95
95
  isSendSms: false,
96
96
  // 是否短信通知
97
97
  isShowConfirmPop: false
@@ -121,7 +121,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
121
121
  isSendSms: false
122
122
  });
123
123
  }
124
- }, _assertThisInitialized(_this)));
124
+ }, _temp));
125
125
  }
126
126
 
127
127
  _createClass(MblogAction, [{
@@ -106,9 +106,9 @@ var Menu = function Menu(_ref) {
106
106
  };
107
107
 
108
108
  (0, _react.useEffect)(function () {
109
- var isKnow = localStorage.getItem("isNewMenuItem__".concat(userId));
109
+ var cacheIsKnow = localStorage.getItem("isNewMenuItem__".concat(userId));
110
110
 
111
- if (isKnow) {
111
+ if (cacheIsKnow) {
112
112
  setIsKonw(true);
113
113
  }
114
114
  }, []);
@@ -146,7 +146,8 @@ var Menu = function Menu(_ref) {
146
146
  popup: menu.href === NEWMENUS ? popup : null,
147
147
  mask: false,
148
148
  action: ['focus'],
149
- popupAlign: NewFeatureGuidePopupAlign
149
+ popupAlign: NewFeatureGuidePopupAlign,
150
+ zIndex: 1000
150
151
  }, /*#__PURE__*/_react["default"].createElement("a", {
151
152
  className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
152
153
  href: href,
@@ -27,12 +27,12 @@ var _version = _interopRequireDefault(require("./components/version"));
27
27
 
28
28
  var _utils = require("./utils");
29
29
 
30
+ require("./index.css");
31
+
30
32
  var _request = require("../../utils/request");
31
33
 
32
34
  var _toast = _interopRequireDefault(require("../toast"));
33
35
 
34
- require("./index.css");
35
-
36
36
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
37
37
 
38
38
  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); }
@@ -14,7 +14,3 @@
14
14
  justify-content: space-between;
15
15
  height: 17px;
16
16
  }
17
-
18
- .confim-radio {
19
- display: flex;
20
- }
@@ -248,7 +248,6 @@ var ObjectType = /*#__PURE__*/function (_Component) {
248
248
 
249
249
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_radio.RadioGroup, {
250
250
  name: "okrType",
251
- className: "confim-radio",
252
251
  labelText: (0, _getLocale.getLocale)("Mod_Type"),
253
252
  style: {
254
253
  marginBottom: 8
@@ -11,6 +11,8 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
+ var _richEditor = require("@titaui/rich-editor");
15
+
14
16
  var _toast = _interopRequireDefault(require("../../../toast"));
15
17
 
16
18
  var _requestApis = require("../../request-apis");
@@ -29,6 +31,12 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
29
31
 
30
32
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
31
33
 
34
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
35
+
36
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
37
+
38
+ 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; }
39
+
32
40
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
33
41
 
34
42
  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."); }
@@ -41,25 +49,42 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
41
49
 
42
50
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
43
51
 
52
+ var prefixCls = 'okr-drawer-header__edit';
53
+
44
54
  function EditNameCmp(props) {
45
- var okrName = props.okrName,
55
+ var _classNames;
56
+
57
+ var editable = props.editable,
58
+ okrName = props.okrName,
46
59
  okrId = props.okrId,
47
- setIsEdit = props.setIsEdit,
48
60
  setOkrName = props.setOkrName;
49
61
 
50
- var _useState = (0, _react.useState)(""),
62
+ var _useState = (0, _react.useState)(false),
51
63
  _useState2 = _slicedToArray(_useState, 2),
52
- errorTip = _useState2[0],
53
- setErrorTip = _useState2[1];
54
-
55
- var inputRef = (0, _react.useRef)();
56
- (0, _react.useEffect)(function () {
57
- inputRef.current.setSelectionRange(9999999, 9999999);
58
- }, []);
64
+ editing = _useState2[0],
65
+ setEditing = _useState2[1];
66
+
67
+ var _useState3 = (0, _react.useState)(''),
68
+ _useState4 = _slicedToArray(_useState3, 2),
69
+ errorTip = _useState4[0],
70
+ setErrorTip = _useState4[1];
71
+
72
+ var _useState5 = (0, _react.useState)({
73
+ mentionUsers: [],
74
+ pureText: '',
75
+ pureTextExcludeAt: '',
76
+ richText: okrName,
77
+ state: 'normal'
78
+ }),
79
+ _useState6 = _slicedToArray(_useState5, 2),
80
+ okrNameData = _useState6[0],
81
+ setOkrNameData = _useState6[1];
82
+
83
+ var mentionInputRef = (0, _react.useRef)();
59
84
 
60
85
  var checkError = function checkError(val) {
61
86
  if (val.length == 0) {
62
- setErrorTip((0, _getLocale.getLocale)("OKR_MyO_Pop_Targetname"));
87
+ setErrorTip((0, _getLocale.getLocale)('OKR_MyO_Pop_Targetname'));
63
88
  return;
64
89
  }
65
90
 
@@ -68,21 +93,37 @@ function EditNameCmp(props) {
68
93
  return;
69
94
  }
70
95
 
71
- setErrorTip("");
96
+ setErrorTip('');
97
+ };
98
+
99
+ var onChangeHandler = function onChangeHandler(data) {
100
+ setOkrNameData(function (prevData) {
101
+ return _objectSpread(_objectSpread({}, prevData), data);
102
+ });
103
+ checkError(data.pureTextExcludeAt);
72
104
  };
73
105
 
74
- var onTitleChangeHandler = function onTitleChangeHandler(e) {
75
- checkError(e.currentTarget.value);
106
+ var onFocusHandler = function onFocusHandler() {
107
+ return setEditing(true);
76
108
  };
77
109
 
78
110
  var cancelEditHandler = function cancelEditHandler() {
79
- setIsEdit(false);
80
- setErrorTip("");
111
+ setEditing(false);
112
+ setErrorTip('');
113
+ setOkrNameData(function (prevData) {
114
+ return {
115
+ mentionUsers: [],
116
+ pureText: okrName,
117
+ pureTextExcludeAt: okrName,
118
+ richText: (0, _richEditor.TitaRichEditorInitTextState)(okrName),
119
+ state: prevData.state === 'normal' ? 'reset' : 'normal'
120
+ };
121
+ });
81
122
  };
82
123
 
83
124
  var confiremEditHandle = /*#__PURE__*/function () {
84
125
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
85
- var editVal, data;
126
+ var mentionUsers, pureText, pureTextExcludeAt, richText, data;
86
127
  return regeneratorRuntime.wrap(function _callee$(_context) {
87
128
  while (1) {
88
129
  switch (_context.prev = _context.next) {
@@ -95,31 +136,35 @@ function EditNameCmp(props) {
95
136
  return _context.abrupt("return");
96
137
 
97
138
  case 2:
98
- editVal = inputRef.current.value;
139
+ mentionUsers = okrNameData.mentionUsers, pureText = okrNameData.pureText, pureTextExcludeAt = okrNameData.pureTextExcludeAt, richText = okrNameData.richText;
99
140
 
100
- if (!(okrName == editVal)) {
141
+ if (!(okrName == pureTextExcludeAt)) {
101
142
  _context.next = 6;
102
143
  break;
103
144
  }
104
145
 
105
- setIsEdit(false);
146
+ setEditing(false);
106
147
  return _context.abrupt("return");
107
148
 
108
149
  case 6:
109
150
  _context.next = 8;
110
151
  return (0, _requestApis.updateOkrName)({
111
152
  workId: okrId,
112
- workName: editVal
153
+ workName: pureText,
154
+ workNameRichText: richText,
155
+ aiteUsers: mentionUsers.map(function (user) {
156
+ return user.mentionId;
157
+ })
113
158
  });
114
159
 
115
160
  case 8:
116
161
  data = _context.sent;
117
162
 
118
163
  if (data.Code == 1) {
119
- setIsEdit(false);
120
- setOkrName(editVal);
164
+ setEditing(false);
165
+ setOkrName(okrNameData.richText);
121
166
 
122
- _toast["default"].Success("修改成功");
167
+ _toast["default"].Success('修改成功');
123
168
  } else {
124
169
  _toast["default"].Error(data.Message);
125
170
  }
@@ -138,27 +183,28 @@ function EditNameCmp(props) {
138
183
  }();
139
184
 
140
185
  return /*#__PURE__*/_react["default"].createElement("section", {
141
- className: "okr-drawer-header__edit"
186
+ className: prefixCls
142
187
  }, /*#__PURE__*/_react["default"].createElement("div", {
143
- className: (0, _classnames["default"])("okr-drawer-header__edit-input", {
144
- "okr-drawer-header__edit-input--error": errorTip.length > 0
145
- })
146
- }, /*#__PURE__*/_react["default"].createElement("textarea", {
147
- autoFocus: true,
148
- onChange: onTitleChangeHandler,
149
- ref: inputRef,
150
- defaultValue: okrName
151
- })), errorTip.length > 0 && /*#__PURE__*/_react["default"].createElement("span", {
152
- className: "okr-drawer-header__edit-error-tip"
188
+ className: (0, _classnames["default"])("".concat(prefixCls, "-input"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-input--editable"), editable), _defineProperty(_classNames, "".concat(prefixCls, "-input--editing"), editing), _defineProperty(_classNames, "".concat(prefixCls, "-input--error"), errorTip.length > 0), _classNames))
189
+ }, /*#__PURE__*/_react["default"].createElement(_richEditor.TitaInlineRichEditor, {
190
+ key: okrNameData.state,
191
+ editable: editable,
192
+ initialState: okrNameData.richText,
193
+ manualWrap: true,
194
+ onChange: onChangeHandler,
195
+ onFocus: onFocusHandler,
196
+ ref: mentionInputRef
197
+ })), /*#__PURE__*/_react["default"].createElement("span", {
198
+ className: (0, _classnames["default"])("".concat(prefixCls, "-error-tip"), _defineProperty({}, "".concat(prefixCls, "-error-tip--visible"), errorTip.length > 0))
153
199
  }, errorTip), /*#__PURE__*/_react["default"].createElement("div", {
154
- className: "okr-drawer-header__edit-btns"
200
+ className: (0, _classnames["default"])("".concat(prefixCls, "-btns"), _defineProperty({}, "".concat(prefixCls, "-btns--visible"), editing))
155
201
  }, /*#__PURE__*/_react["default"].createElement("span", {
156
- className: (0, _classnames["default"])("titaui-pc-button", "okr-drawer-header__edit-btns-cancel"),
202
+ className: (0, _classnames["default"])('titaui-pc-button', "".concat(prefixCls, "-btns-cancel")),
157
203
  onClick: cancelEditHandler
158
- }, (0, _getLocale.getLocale)("Mod_Cancel")), /*#__PURE__*/_react["default"].createElement("span", {
159
- className: (0, _classnames["default"])("titaui-pc-button", "okr-drawer-header__edit-btns-confirm"),
204
+ }, (0, _getLocale.getLocale)('Mod_Cancel')), /*#__PURE__*/_react["default"].createElement("span", {
205
+ className: (0, _classnames["default"])('titaui-pc-button', "".concat(prefixCls, "-btns-confirm"), _defineProperty({}, "".concat(prefixCls, "-btns-confirm--disabled"), errorTip.length > 0)),
160
206
  onClick: confiremEditHandle
161
- }, (0, _getLocale.getLocale)("OKR_MyO_Butt_Determine"))));
207
+ }, (0, _getLocale.getLocale)('OKR_MyO_Butt_Determine'))));
162
208
  }
163
209
 
164
210
  var _default = EditNameCmp;