@titaui/pc 1.11.51 → 1.11.52-beta.11

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 (225) hide show
  1. package/lib/components/button/images/blue.svg +21 -0
  2. package/lib/components/button/images/red.svg +21 -0
  3. package/lib/components/button/images/white.svg +19 -0
  4. package/lib/components/button/rect-btn/index.js +3 -3
  5. package/lib/components/change-okr-modal/Item.js +19 -18
  6. package/lib/components/change-okr-modal/styledComponents.js +9 -9
  7. package/lib/components/checkbox/index.css +4 -0
  8. package/lib/components/contact-kefu/index.css +11 -1
  9. package/lib/components/contact-kefu/index.js +10 -4
  10. package/lib/components/create-okr-modal/createSuccessCmp.js +47 -19
  11. package/lib/components/create-okr-modal/fields/index.css +14 -3
  12. package/lib/components/create-okr-modal/fields/o-new-name.js +30 -19
  13. package/lib/components/create-okr-modal/fields/okr-parent.js +7 -5
  14. package/lib/components/create-okr-modal/index.js +200 -133
  15. package/lib/components/create-okr-modal/kr-items/index.css +23 -13
  16. package/lib/components/create-okr-modal/kr-items/krDatas.js +95 -76
  17. package/lib/components/create-okr-modal/kr-items/krItem.js +53 -56
  18. package/lib/components/create-okr-modal/style.js +5 -5
  19. package/lib/components/date-picker/BodyItem.js +3 -3
  20. package/lib/components/date-picker/CalendarHeader.js +3 -3
  21. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  22. package/lib/components/dynamic/constant.js +1 -1
  23. package/lib/components/dynamic/dynamic-item/components/feed-operate/index.js +8 -8
  24. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +8 -8
  25. package/lib/components/dynamic/dynamic-list/index.js +14 -7
  26. package/lib/components/dynamic/index.js +9 -12
  27. package/lib/components/dynamic/request-api.js +7 -68
  28. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  29. package/lib/components/emotions-selector/selector-pop.js +3 -3
  30. package/lib/components/ereport-list/index.js +3 -3
  31. package/lib/components/mblog/components/MblogAction.js +3 -3
  32. package/lib/components/menus/export-modules/appraisal-menus/menus.js +11 -9
  33. package/lib/components/nav-top/components/menu/index.js +18 -16
  34. package/lib/components/nav-top/index.js +2 -2
  35. package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +1 -1
  36. package/lib/components/okr-detail/components/header/edit-name.js +86 -40
  37. package/lib/components/okr-detail/components/header/index.css +120 -41
  38. package/lib/components/okr-detail/components/header/index.js +36 -46
  39. package/lib/components/okr-detail/components/header/o-classify.js +152 -0
  40. package/lib/components/okr-detail/components/header/o-name.js +7 -5
  41. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +3 -1
  42. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.css +58 -4
  43. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +159 -63
  44. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  45. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +9 -9
  46. package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +15 -13
  47. package/lib/components/okr-detail/detail-header/index.js +8 -4
  48. package/lib/components/okr-detail/e-list/index.js +2 -2
  49. package/lib/components/okr-detail/okr-list/create-kr-item/index.css +17 -0
  50. package/lib/components/okr-detail/okr-list/create-kr-item/index.js +75 -53
  51. package/lib/components/okr-detail/request-apis.js +73 -69
  52. package/lib/components/okr-detail/schedule/components/kr-progress/index.js +3 -1
  53. package/lib/components/okr-detail/schedule/components/o-progress/index.js +34 -32
  54. package/lib/components/okr-detail/schedule/components/sub-o-progress/index.js +3 -1
  55. package/lib/components/okr-flow/child-node/kr-node.js +3 -1
  56. package/lib/components/okr-flow/child-node/work-node.js +3 -1
  57. package/lib/components/okr-progress/components/kr-progress/index.js +5 -3
  58. package/lib/components/okr-progress/components/o-progress/index.js +3 -1
  59. package/lib/components/okr-progress/components/sub-o-progress/index.js +3 -1
  60. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +3 -3
  61. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  62. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  63. package/lib/components/okr-share/common-painter/openDataPainter.js +9 -6
  64. package/lib/components/okr-share/common-painter/utils.js +183 -36
  65. package/lib/components/okr-share/index.css +5 -4
  66. package/lib/components/okr-share/pink-card/card.js +3 -3
  67. package/lib/components/okr-share/pink-card/drawKrs.js +93 -18
  68. package/lib/components/okr-share/pink-card/index.js +20 -12
  69. package/lib/components/open-data-painter/index.js +6 -5
  70. package/lib/components/period-selector/interface.js +7 -0
  71. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +16 -10
  72. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  73. package/lib/components/rich-editor/models/schema.js +6 -6
  74. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  75. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  76. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  77. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  78. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  79. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  80. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  81. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  82. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  83. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  84. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  85. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  86. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  87. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  88. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  89. package/lib/components/search-input/index.css +1 -1
  90. package/lib/components/search-key-handle/index.js +9 -7
  91. package/lib/components/select/Option.js +3 -3
  92. package/lib/components/select-layer/index.css +1 -1
  93. package/lib/components/task-relation-modal/helper.js +139 -2
  94. package/lib/components/task-relation-modal/image/loading.gif +0 -0
  95. package/lib/components/task-relation-modal/index.js +9 -0
  96. package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.css +18 -0
  97. package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.js +262 -0
  98. package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +135 -0
  99. package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.css +0 -0
  100. package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.js +129 -0
  101. package/lib/components/task-relation-modal/okr-relation/request-api.js +106 -0
  102. package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.css +120 -0
  103. package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +185 -0
  104. package/lib/components/task-relation-modal/request-api.js +28 -2
  105. package/lib/components/task-relation-modal/search/okr-status-select.js +3 -3
  106. package/lib/components/task-relation-modal/search/principal.js +36 -19
  107. package/lib/components/task-relation-modal/search/search-dropdown/index.css +2 -1
  108. package/lib/components/task-relation-modal/search/search-dropdown/index.js +1 -1
  109. package/lib/components/{dynamic/dynamic-topping/index.js → task-relation-modal/search/task-relation.js} +45 -44
  110. package/lib/components/task-relation-modal/search/task-status-select.js +87 -0
  111. package/lib/components/{dynamic/dynamic-liking/index.js → task-relation-modal/search/work-relation.js} +43 -39
  112. package/lib/components/task-relation-modal/search/work-status-select.js +74 -0
  113. package/lib/components/task-relation-modal/tree/category-tree/index.css +3 -3
  114. package/lib/components/task-relation-modal/tree/okr-tree/index.css +1 -1
  115. package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +16 -2
  116. package/lib/components/task-relation-modal/tree/task-list/index.css +0 -0
  117. package/lib/components/task-relation-modal/tree/task-list/index.js +1 -0
  118. package/lib/components/task-relation-modal/tree/work-list/index.css +14 -0
  119. package/lib/components/task-relation-modal/tree/work-list/index.js +176 -0
  120. package/lib/components/task-relation-modal/tree/work-list/search-form.js +123 -0
  121. package/lib/components/task-relation-modal/tree/work-tree/index.css +1 -1
  122. package/lib/components/task-relation-modal/tree-node/category-node/index.css +1 -12
  123. package/lib/components/task-relation-modal/tree-node/category-node/index.js +1 -3
  124. package/lib/components/task-relation-modal/tree-node/kr-node/index.css +0 -16
  125. package/lib/components/task-relation-modal/tree-node/kr-node/index.js +4 -10
  126. package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +0 -16
  127. package/lib/components/task-relation-modal/tree-node/milestone-node/index.js +0 -4
  128. package/lib/components/task-relation-modal/tree-node/o-node/index.js +8 -8
  129. package/lib/components/task-relation-modal/tree-node/work-node/index.js +3 -1
  130. package/lib/components/task-relation-modal/work-relation/index.css +0 -0
  131. package/lib/components/task-relation-modal/work-relation/index.js +256 -0
  132. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  133. package/lib/components/tooltip/index.js +3 -0
  134. package/lib/components/tooltip/tooltip-rows/index.css +26 -0
  135. package/lib/components/{dynamic/advertise → tooltip/tooltip-rows}/index.js +65 -85
  136. package/lib/components/user-selector/category-selector-panel/index.js +6 -1
  137. package/lib/components/{dynamic/quick-operation/components/create-task/index.js → user-selector/category-selector-panel/subordinate-tree.js} +37 -20
  138. package/lib/components/user-selector/constant.js +10 -2
  139. package/lib/components/user-selector/empty/index.css +5 -0
  140. package/lib/components/user-selector/empty/index.js +9 -3
  141. package/lib/components/user-selector/export-modules/depart-search-selector/index.js +45 -17
  142. package/lib/components/user-selector/export-modules/field-tree-selector/index.js +3 -1
  143. package/lib/components/user-selector/images/no-auth.png +0 -0
  144. package/lib/components/user-selector/request-apis.js +28 -9
  145. package/lib/components/user-selector/searched-panel/index.js +21 -7
  146. package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +46 -18
  147. package/lib/components/wechat-btn/index.css +5 -1
  148. package/lib/components-v1/animate/AnimateChild.js +3 -3
  149. package/lib/components-v1/avatar/index.js +3 -3
  150. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  151. package/lib/components-v1/progress/CircleProgress.js +3 -3
  152. package/lib/components-v1/select/Option.js +3 -3
  153. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  154. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  155. package/lib/components-v1/userSelector/components/SingleMode.js +7 -5
  156. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  157. package/lib/pages/home/components/data-list/table/columns/krName.js +3 -1
  158. package/lib/pages/home/components/data-list/table/columns/okrName.js +4 -2
  159. package/lib/utils/open-data.js +213 -65
  160. package/lib/utils/planDataJson.js +11115 -0
  161. package/package.json +3 -2
  162. package/lib/components/dynamic/advertise/components/next-btn/index.css +0 -27
  163. package/lib/components/dynamic/advertise/components/next-btn/index.js +0 -32
  164. package/lib/components/dynamic/advertise/components/pre-btn/index.css +0 -26
  165. package/lib/components/dynamic/advertise/components/pre-btn/index.js +0 -32
  166. package/lib/components/dynamic/advertise/index.css +0 -21
  167. package/lib/components/dynamic/advertise/interface.js +0 -5
  168. package/lib/components/dynamic/advertise/util.js +0 -28
  169. package/lib/components/dynamic/components/dynamic-search-input/index.css +0 -81
  170. package/lib/components/dynamic/components/dynamic-search-input/index.js +0 -203
  171. package/lib/components/dynamic/components/first-level-tabs/index.css +0 -101
  172. package/lib/components/dynamic/components/first-level-tabs/index.js +0 -131
  173. package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +0 -23
  174. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
  175. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
  176. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
  177. package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
  178. package/lib/components/dynamic/dynamic-like-ranking/index.css +0 -146
  179. package/lib/components/dynamic/dynamic-like-ranking/index.js +0 -180
  180. package/lib/components/dynamic/dynamic-like-ranking/item.js +0 -105
  181. package/lib/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  182. package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +0 -30
  183. package/lib/components/dynamic/dynamic-liking/index.css +0 -81
  184. package/lib/components/dynamic/dynamic-liking/item.js +0 -75
  185. package/lib/components/dynamic/dynamic-liking/mock.js +0 -83
  186. package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +0 -16
  187. package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +0 -30
  188. package/lib/components/dynamic/dynamic-topping/index.css +0 -141
  189. package/lib/components/dynamic/dynamic-topping/interface.js +0 -5
  190. package/lib/components/dynamic/dynamic-topping/item.js +0 -153
  191. package/lib/components/dynamic/dynamic-topping/request-api.js +0 -36
  192. package/lib/components/dynamic/dynamic.css +0 -173
  193. package/lib/components/dynamic/dynamic.js +0 -428
  194. package/lib/components/dynamic/export-module/index.js +0 -37
  195. package/lib/components/dynamic/img/dynamic-top.svg +0 -14
  196. package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
  197. package/lib/components/dynamic/my-team/img/line.png +0 -0
  198. package/lib/components/dynamic/my-team/img/team.png +0 -0
  199. package/lib/components/dynamic/my-team/index.css +0 -184
  200. package/lib/components/dynamic/my-team/index.js +0 -263
  201. package/lib/components/dynamic/my-team/request-api.js +0 -52
  202. package/lib/components/dynamic/my-team/util.js +0 -20
  203. package/lib/components/dynamic/new-ui.css +0 -192
  204. package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +0 -58
  205. package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +0 -68
  206. package/lib/components/dynamic/online-broadcast/data.js +0 -95
  207. package/lib/components/dynamic/online-broadcast/img/broadcast.svg +0 -14
  208. package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
  209. package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
  210. package/lib/components/dynamic/online-broadcast/index.css +0 -46
  211. package/lib/components/dynamic/online-broadcast/index.js +0 -61
  212. package/lib/components/dynamic/online-broadcast/interfact.js +0 -5
  213. package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +0 -25
  214. package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +0 -39
  215. package/lib/components/dynamic/quick-operation/components/create-okr/index.css +0 -25
  216. package/lib/components/dynamic/quick-operation/components/create-okr/index.js +0 -39
  217. package/lib/components/dynamic/quick-operation/components/create-share/index.css +0 -25
  218. package/lib/components/dynamic/quick-operation/components/create-share/index.js +0 -39
  219. package/lib/components/dynamic/quick-operation/components/create-task/index.css +0 -25
  220. package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
  221. package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
  222. package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
  223. package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
  224. package/lib/components/dynamic/quick-operation/index.css +0 -51
  225. package/lib/components/dynamic/quick-operation/index.js +0 -120
@@ -47,7 +47,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
47
47
 
48
48
  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; }
49
49
 
50
- var prefix = "titaui-dynamic-create-o-item";
50
+ var prefix = 'titaui-dynamic-create-o-item';
51
51
 
52
52
  var DynamicCreateO = function DynamicCreateO(_ref) {
53
53
  var data = _ref.data,
@@ -72,26 +72,26 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
72
72
  searchKeyWord = _useContext.searchKeyWord;
73
73
 
74
74
  var handleClickOTitle = function handleClickOTitle() {
75
- _drawerManager["default"].open("okrDetail", {
75
+ _drawerManager["default"].open('okrDetail', {
76
76
  okrId: okrId
77
77
  });
78
78
  };
79
79
 
80
80
  var handleClickKrTitle = function handleClickKrTitle(id) {
81
- _drawerManager["default"].open("krDetail", {
81
+ _drawerManager["default"].open('krDetail', {
82
82
  krId: id
83
83
  });
84
84
  };
85
85
 
86
86
  var okrTypeMap = {
87
87
  1: {
88
- icon: "tu-icon-liebiao-geren",
89
- text: (0, _getLocale.getLocale)("OKR_MyO_Pop_Individual")
88
+ icon: 'tu-icon-liebiao-geren',
89
+ text: (0, _getLocale.getLocale)('OKR_MyO_Pop_Individual')
90
90
  },
91
91
  // 个人
92
92
  2: {
93
- icon: "tu-icon-liebiao-xiashu",
94
- text: okrTypeId === -1 ? "默认部门" : /*#__PURE__*/_react["default"].createElement(_openData.OpenDepartmentName, {
93
+ icon: 'tu-icon-liebiao-xiashu',
94
+ text: okrTypeId === -1 ? '默认部门' : /*#__PURE__*/_react["default"].createElement(_openData.OpenDepartmentName, {
95
95
  id: okrTypeId,
96
96
  name: okrTypeName
97
97
  })
@@ -179,7 +179,7 @@ var DynamicCreateO = function DynamicCreateO(_ref) {
179
179
  handleClickKrTitle(kr.krId);
180
180
  }
181
181
  }, /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
182
- str: (0, _tools.htmlDecodeByRegExp)(kr.krName),
182
+ str: (0, _openData.parseString)((0, _tools.htmlDecodeByRegExp)(kr.krName)),
183
183
  keyWord: searchKeyWord
184
184
  })));
185
185
  }))))));
@@ -17,11 +17,12 @@ var _conditionRender = _interopRequireDefault(require("../../condition-render"))
17
17
 
18
18
  var _getLocale = require("../../../utils/getLocale");
19
19
 
20
+ var _context = require("../context");
21
+
20
22
  require("./index.css");
21
23
 
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
25
 
24
- // @ts-ignore
25
26
  var prefix = 'titaui-dynamic-list';
26
27
 
27
28
  var DynamicList = function DynamicList(_ref) {
@@ -29,7 +30,9 @@ var DynamicList = function DynamicList(_ref) {
29
30
  dynamicShareIsShowToping = _ref.dynamicShareIsShowToping,
30
31
  onDeleteFeed = _ref.onDeleteFeed,
31
32
  _ref$height = _ref.height,
32
- height = _ref$height === void 0 ? -1 : _ref$height;
33
+ height = _ref$height === void 0 ? -1 : _ref$height,
34
+ _ref$searchKeyWord = _ref.searchKeyWord,
35
+ searchKeyWord = _ref$searchKeyWord === void 0 ? "" : _ref$searchKeyWord;
33
36
 
34
37
  var handleDeleteFeed = function handleDeleteFeed(feedId) {
35
38
  if (onDeleteFeed) {
@@ -37,10 +40,14 @@ var DynamicList = function DynamicList(_ref) {
37
40
  }
38
41
  };
39
42
 
40
- return /*#__PURE__*/_react["default"].createElement("div", {
43
+ return /*#__PURE__*/_react["default"].createElement(_context.SearchKeyContext.Provider, {
44
+ value: {
45
+ searchKeyWord: searchKeyWord
46
+ }
47
+ }, /*#__PURE__*/_react["default"].createElement("div", {
41
48
  className: prefix,
42
49
  style: {
43
- minHeight: height === -1 ? 'auto' : height
50
+ minHeight: height === -1 ? "auto" : height
44
51
  }
45
52
  }, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
46
53
  condition: data.length === 0
@@ -52,7 +59,7 @@ var DynamicList = function DynamicList(_ref) {
52
59
  alt: ""
53
60
  }), /*#__PURE__*/_react["default"].createElement("span", {
54
61
  className: "".concat(prefix, "__empty-text")
55
- }, (0, _getLocale.getLocale)('OKR_Noinformation')))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
62
+ }, (0, _getLocale.getLocale)("OKR_Noinformation")))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
56
63
  condition: data.length !== 0
57
64
  }, /*#__PURE__*/_react["default"].createElement(_rcQueueAnim["default"], {
58
65
  type: "bottom",
@@ -61,7 +68,7 @@ var DynamicList = function DynamicList(_ref) {
61
68
  animConfig: [{
62
69
  opacity: [1, 0]
63
70
  }, {
64
- display: 'none'
71
+ display: "none"
65
72
  }]
66
73
  }, data.map(function (item) {
67
74
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -72,7 +79,7 @@ var DynamicList = function DynamicList(_ref) {
72
79
  onDeleteFeed: handleDeleteFeed,
73
80
  dynamicShareIsShowToping: dynamicShareIsShowToping
74
81
  }));
75
- }))));
82
+ })))));
76
83
  };
77
84
 
78
85
  var _default = DynamicList;
@@ -1,23 +1,20 @@
1
1
  "use strict";
2
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
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports["default"] = void 0;
9
7
 
10
- var _exportModule = _interopRequireWildcard(require("./export-module"));
8
+ var _dynamicList = _interopRequireDefault(require("./dynamic-list"));
9
+
10
+ var _dynamicItem = _interopRequireDefault(require("./dynamic-item"));
11
11
 
12
- 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); }
12
+ var _context = require("./context");
13
13
 
14
- 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; }
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
 
16
- _exportModule["default"].List = _exportModule.DynamicList;
17
- _exportModule["default"].Item = _exportModule.DynamicItem;
18
- _exportModule["default"].LikeRanking = _exportModule.DynamicLikeRanking;
19
- _exportModule["default"].Liking = _exportModule.DynamicLiking;
20
- _exportModule["default"].QuickOperation = _exportModule.DynamicQuickOperation;
21
- _exportModule["default"].Topping = _exportModule.DynamicTopping;
22
- var _default = _exportModule["default"];
16
+ var Dynamic = _dynamicList["default"];
17
+ Dynamic.Item = _dynamicItem["default"];
18
+ Dynamic.SearchKeyContext = _context.SearchKeyContext;
19
+ var _default = Dynamic;
23
20
  exports["default"] = _default;
@@ -3,105 +3,44 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
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;
6
+ exports.topDynamic = 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
-
16
10
  // @ts-ignore
17
11
  var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
18
12
 
19
13
  var topDynamic = function topDynamic(_ref) {
20
14
  var feedId = _ref.feedId;
21
- return (0, _request.rget)("v2")("user/feednew/setTop?feedId=".concat(feedId));
15
+ return (0, _request.rget)('v2')("user/feednew/setTop?feedId=".concat(feedId));
22
16
  };
23
17
 
24
18
  exports.topDynamic = topDynamic;
25
19
 
26
20
  var cancelTopDynamic = function cancelTopDynamic(_ref2) {
27
21
  var feedId = _ref2.feedId;
28
- return (0, _request.rget)("v2")("user/feednew/cancelTop?feedId=".concat(feedId));
22
+ return (0, _request.rget)('v2')("user/feednew/cancelTop?feedId=".concat(feedId));
29
23
  };
30
24
 
31
25
  exports.cancelTopDynamic = cancelTopDynamic;
32
26
 
33
27
  var collectDynamic = function collectDynamic(_ref3) {
34
28
  var feedId = _ref3.feedId;
35
- return (0, _request.rput)("v2")("user/feed/Collect?feed_id=".concat(feedId));
29
+ return (0, _request.rput)('v2')("user/feed/Collect?feed_id=".concat(feedId));
36
30
  };
37
31
 
38
32
  exports.collectDynamic = collectDynamic;
39
33
 
40
34
  var cancelCollectDynamic = function cancelCollectDynamic(_ref4) {
41
35
  var feedId = _ref4.feedId;
42
- return (0, _request.rdelete)("v2")("user/feed/CancelCollect?feed_id=".concat(feedId));
36
+ return (0, _request.rdelete)('v2')("user/feed/CancelCollect?feed_id=".concat(feedId));
43
37
  };
44
38
 
45
39
  exports.cancelCollectDynamic = cancelCollectDynamic;
46
40
 
47
41
  var deleteDynamic = function deleteDynamic(_ref5) {
48
42
  var feedId = _ref5.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");
43
+ return (0, _request.rdelete)('v2')("user/feed/Delete?feed_id=".concat(feedId));
105
44
  };
106
45
 
107
- exports.getAdvertise = getAdvertise;
46
+ exports.deleteDynamic = deleteDynamic;
@@ -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, [{
@@ -28,7 +28,8 @@ exports.defaultRefObject = defaultRefObject;
28
28
  var _getBSGlobal = (0, _bsGlobal.getBSGlobal)("AssessAdvancedSetting"),
29
29
  _getBSGlobal$AssessFu = _getBSGlobal.AssessFunctionSetting,
30
30
  StartAssessByDepartmentLeader = _getBSGlobal$AssessFu.StartAssessByDepartmentLeader,
31
- StartAssessByUser = _getBSGlobal$AssessFu.StartAssessByUser;
31
+ StartAssessByUser = _getBSGlobal$AssessFu.StartAssessByUser,
32
+ StartAssessByHrbp = _getBSGlobal$AssessFu.StartAssessByHrbp;
32
33
 
33
34
  var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
34
35
  HasSub = _getUserInfo.HasSub,
@@ -36,10 +37,11 @@ var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
36
37
  IsLeader = _getUserInfo.IsLeader,
37
38
  IsBoss = _getUserInfo.IsBoss,
38
39
  IsRoot = _getUserInfo.IsRoot,
39
- Role = _getUserInfo.Role;
40
+ Role = _getUserInfo.Role,
41
+ IsHrbp = _getUserInfo.IsHrbp;
40
42
 
41
- var performanceManageAuthority = IsAssessManager || IsLeader && StartAssessByDepartmentLeader || StartAssessByUser;
42
- var performanceStatisticsAuthority = IsAssessManager || IsBoss || IsRoot && Role != 4 || IsLeader;
43
+ var performanceManageAuthority = IsAssessManager || IsLeader && StartAssessByDepartmentLeader || StartAssessByUser || IsHrbp && StartAssessByHrbp;
44
+ var performanceStatisticsAuthority = IsAssessManager || IsBoss || IsRoot && Role !== 4 || IsLeader || IsHrbp;
43
45
  var PAGE_MY_APPRAISAL = "my-appraisal";
44
46
  exports.PAGE_MY_APPRAISAL = PAGE_MY_APPRAISAL;
45
47
  var PAGE_EVALUATE_APPRAISAL = "evaluate-appraisal";
@@ -86,7 +88,7 @@ var AppraisalMenus = /*#__PURE__*/function () {
86
88
  label: _i18n.locale.menu_department_ass,
87
89
  key: PAGE_DEPART_APPRAISAL,
88
90
  href: "#/performance?reactRouterName=department",
89
- isShow: IsLeader
91
+ isShow: IsLeader || IsHrbp
90
92
  }, {
91
93
  icon: "",
92
94
  label: _i18n.locale.menu_management_ass,
@@ -151,16 +153,16 @@ var AppraisalMenus = /*#__PURE__*/function () {
151
153
  _createClass(AppraisalMenus, [{
152
154
  key: "getMenus",
153
155
  value: function getMenus() {
154
- var menus = this.formateToTreeNodeData(this.menus);
156
+ var menus = this.formateToTreeNodeData();
155
157
  return menus;
156
158
  }
157
159
  }, {
158
160
  key: "formateToTreeNodeData",
159
- value: function formateToTreeNodeData(menus) {
161
+ value: function formateToTreeNodeData() {
160
162
  var treeNodes = [];
161
163
 
162
- for (var i = 0; i < menus.length; i++) {
163
- var menu = menus[i];
164
+ for (var i = 0; i < this.menus.length; i += 1) {
165
+ var menu = this.menus[i];
164
166
 
165
167
  if (menu.isShow) {
166
168
  treeNodes.push({
@@ -45,7 +45,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
45
45
 
46
46
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
47
47
 
48
- var prefix = 'titaui-nav-top-menu';
48
+ var prefix = "titaui-nav-top-menu";
49
49
  var popupAlign = {
50
50
  offset: [0, 5],
51
51
  overflow: {
@@ -62,7 +62,7 @@ var NewFeatureGuidePopupAlign = {
62
62
  },
63
63
  targetOffset: [0, 0]
64
64
  };
65
- var NEWMENUS = '#/interview';
65
+ var NEWMENUS = "#/interview";
66
66
 
67
67
  var Menu = function Menu(_ref) {
68
68
  var menus = _ref.menus,
@@ -83,7 +83,7 @@ var Menu = function Menu(_ref) {
83
83
  feedNum = _useGlobalValue2[0];
84
84
 
85
85
  var containerRef = (0, _react.useRef)();
86
- var apiPath = (0, _bsGlobal.getBSGlobal)('apiPath');
86
+ var apiPath = (0, _bsGlobal.getBSGlobal)("apiPath");
87
87
  var userId = (0, _bsGlobal.getUserInfo)().Id;
88
88
 
89
89
  var handlePopupVisibleChange = function handlePopupVisibleChange(visible) {
@@ -92,10 +92,10 @@ var Menu = function Menu(_ref) {
92
92
 
93
93
  var handleTracker = function handleTracker(menu) {
94
94
  if (window.titaTracker) {
95
- window.titaTracker('action').record({
95
+ window.titaTracker("action").record({
96
96
  actionName: "\u5BFC\u822A\u83DC\u5355__".concat(menu.title),
97
- actionGroup: '导航菜单',
98
- productName: '导航菜单'
97
+ actionGroup: "导航菜单",
98
+ productName: "导航菜单"
99
99
  });
100
100
  }
101
101
  };
@@ -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
  }, []);
@@ -133,7 +133,7 @@ var Menu = function Menu(_ref) {
133
133
  var renderRawItem = function renderRawItem(menu) {
134
134
  var href = menu.href;
135
135
 
136
- if (menu.title === 'Learning') {
136
+ if (menu.title === "Learning") {
137
137
  href = "".concat(apiPath, "/").concat(userId, "/eLearningHome#/");
138
138
  }
139
139
 
@@ -145,8 +145,9 @@ var Menu = function Menu(_ref) {
145
145
  popupVisible: !isKnow,
146
146
  popup: menu.href === NEWMENUS ? popup : null,
147
147
  mask: false,
148
- action: ['focus'],
149
- popupAlign: NewFeatureGuidePopupAlign
148
+ action: ["focus"],
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,
@@ -154,10 +155,11 @@ var Menu = function Menu(_ref) {
154
155
  onClick: function onClick() {
155
156
  return handleTracker(menu);
156
157
  }
157
- }, menu.title, menu.href === '#dynamic' && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("div", {
158
- className: (0, _classnames["default"])("".concat(prefix, "__menu--hasNum"), _defineProperty({}, "".concat(prefix, "__menu--hasNum-active"), activeMenuId === menu.id && menu.href === '#dynamic'))
159
- }, feedNum > 100 ? '99+' : feedNum), menu.href === NEWMENUS && /*#__PURE__*/_react["default"].createElement("img", {
158
+ }, menu.title, menu.href === "#dynamic" && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("div", {
159
+ className: (0, _classnames["default"])("".concat(prefix, "__menu--hasNum"), _defineProperty({}, "".concat(prefix, "__menu--hasNum-active"), activeMenuId === menu.id && menu.href === "#dynamic"))
160
+ }, feedNum > 100 ? "99+" : feedNum), menu.href === NEWMENUS && /*#__PURE__*/_react["default"].createElement("img", {
160
161
  src: _new["default"],
162
+ alt: "",
161
163
  className: "".concat(prefix, "__tips-new")
162
164
  })))));
163
165
  };
@@ -173,7 +175,7 @@ var Menu = function Menu(_ref) {
173
175
  }, items.map(function (menu) {
174
176
  var href = menu.href;
175
177
 
176
- if (menu.title === 'Learning') {
178
+ if (menu.title === "Learning") {
177
179
  href = "".concat(apiPath, "/").concat(userId, "/eLearningHome#/");
178
180
  }
179
181
 
@@ -194,7 +196,7 @@ var Menu = function Menu(_ref) {
194
196
  popupPlacement: "bottomLeft",
195
197
  popupAlign: popupAlign
196
198
  }, /*#__PURE__*/_react["default"].createElement("span", {
197
- className: (0, _classnames["default"])('tu-icon-diot', "".concat(prefix, "__more-icon"), _defineProperty({}, "".concat(prefix, "__more-icon--active"), isActiveHideMeun))
199
+ className: (0, _classnames["default"])("tu-icon-diot", "".concat(prefix, "__more-icon"), _defineProperty({}, "".concat(prefix, "__more-icon--active"), isActiveHideMeun))
198
200
  }));
199
201
  };
200
202
 
@@ -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
-
32
30
  var _request = require("../../utils/request");
33
31
 
34
32
  var _toast = _interopRequireDefault(require("../toast"));
35
33
 
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); }
@@ -47,7 +47,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
47
47
 
48
48
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
49
49
 
50
- var ConfirmWrapper = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* TODO padding \u53EF\u52A8\u6001\u8C03\u6574 */\n width: 300px;\n max-height: 100px;\n border-radius: 5px;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n padding: 15px 12px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background-color: #fff;\n"])));
50
+ var ConfirmWrapper = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* TODO padding \u53EF\u52A8\u6001\u8C03\u6574 */\n width: 300px;\n // max-height: 100px;\n border-radius: 5px;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n padding: 15px 12px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background-color: #fff;\n"])));
51
51
 
52
52
  var FooterWrapper = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-top: 5px;\n button {\n padding: 2px 12px;\n font-size: 12px;\n }\n"])));
53
53