@titaui/pc 1.9.45 → 1.9.49

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 (1655) hide show
  1. package/.eslintrc.js +221 -0
  2. package/.husky/pre-commit +5 -0
  3. package/.prettierignore +31 -0
  4. package/.prettierrc.js +90 -0
  5. package/lib/components/avatar/default.js +26 -23
  6. package/lib/components/avatar/name-avatar/index.js +27 -24
  7. package/lib/components/avatar/text-avatar/index.js +9 -9
  8. package/lib/components/button/default-button/index.js +5 -11
  9. package/lib/components/button/icon-btn/index.js +10 -10
  10. package/lib/components/button/rect-btn/index.js +8 -8
  11. package/lib/components/button/text-btn/index.js +8 -8
  12. package/lib/components/cascader/index.js +5 -5
  13. package/lib/components/cascader/time.js +6 -6
  14. package/lib/components/change-okr-modal/Filter.js +61 -61
  15. package/lib/components/change-okr-modal/Item.js +20 -20
  16. package/lib/components/change-okr-modal/constant.js +7 -7
  17. package/lib/components/change-okr-modal/filterTab.js +6 -6
  18. package/lib/components/change-okr-modal/index.js +60 -64
  19. package/lib/components/change-okr-modal/styledComponents.js +8 -8
  20. package/lib/components/checkbox/index.js +4 -6
  21. package/lib/components/common-share/index.js +5 -5
  22. package/lib/components/common-share/publishMblog.js +9 -9
  23. package/lib/components/common-share/request-apis.js +4 -4
  24. package/lib/components/communication/CommunicationAttachments.js +23 -20
  25. package/lib/components/communication/CommunicationRecord.js +13 -13
  26. package/lib/components/communication/ConvertUserName.js +3 -3
  27. package/lib/components/communication/index.js +12 -12
  28. package/lib/components/confidence/heart.js +3 -5
  29. package/lib/components/confidence/index.js +9 -9
  30. package/lib/components/create-okr-modal/animation/check-animation.js +2515 -2515
  31. package/lib/components/create-okr-modal/constant.js +4 -4
  32. package/lib/components/create-okr-modal/createCycle.js +22 -19
  33. package/lib/components/create-okr-modal/createSuccessCmp.js +37 -34
  34. package/lib/components/create-okr-modal/fields/date-cycle.js +8 -10
  35. package/lib/components/create-okr-modal/fields/input-with-err-popup.js +2 -8
  36. package/lib/components/create-okr-modal/fields/o-new-name.js +11 -13
  37. package/lib/components/create-okr-modal/fields/okr-case.js +5 -6
  38. package/lib/components/create-okr-modal/fields/okr-classify.js +7 -9
  39. package/lib/components/create-okr-modal/fields/okr-create-suggest.js +4 -4
  40. package/lib/components/create-okr-modal/fields/okr-new-user-selector.js +1 -1
  41. package/lib/components/create-okr-modal/fields/okr-parent.js +8 -10
  42. package/lib/components/create-okr-modal/fields/okr-type-detail.js +11 -13
  43. package/lib/components/create-okr-modal/fields/okr-type.js +10 -12
  44. package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +13 -15
  45. package/lib/components/create-okr-modal/fields/okr-visibility.js +16 -18
  46. package/lib/components/create-okr-modal/index.js +33 -30
  47. package/lib/components/create-okr-modal/kr-items/kr-item-weight.js +9 -9
  48. package/lib/components/create-okr-modal/kr-items/krDatas.js +6 -6
  49. package/lib/components/create-okr-modal/kr-items/krItem.js +4 -4
  50. package/lib/components/create-okr-modal/objectType.js +19 -25
  51. package/lib/components/create-okr-modal/request-api.js +2 -2
  52. package/lib/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +47 -17
  53. package/lib/components/create-okr-modal/utils/helper.js +3 -3
  54. package/lib/components/date-picker/BodyItem.js +14 -14
  55. package/lib/components/date-picker/CalendarBody.js +13 -13
  56. package/lib/components/date-picker/CalendarHeader.js +20 -17
  57. package/lib/components/date-picker/index.js +15 -14
  58. package/lib/components/date-range-picker/index.js +29 -33
  59. package/lib/components/delete-confirm-pop/ConfirmPop.js +10 -10
  60. package/lib/components/dialog/index.js +8 -10
  61. package/lib/components/dialog-confirm/index.js +15 -19
  62. package/lib/components/drawer/headerAction.js +5 -5
  63. package/lib/components/drawer/headerDrop.js +6 -6
  64. package/lib/components/drawer/index.js +5 -5
  65. package/lib/components/drawer/utils/dom.js +2 -2
  66. package/lib/components/drawer/utils/useForceUpdate.js +1 -1
  67. package/lib/components/drawer-manager/drawerWrapper.js +12 -12
  68. package/lib/components/drawer-manager/index.js +4 -4
  69. package/lib/components/drawer-manager/utils/dom.js +2 -2
  70. package/lib/components/drawer-manager/utils/useForceUpdate.js +1 -1
  71. package/lib/components/drop-selector/icon-item.js +4 -6
  72. package/lib/components/drop-selector/index.css +2 -2
  73. package/lib/components/drop-selector/index.js +21 -22
  74. package/lib/components/dynamic/advertise/index.js +3 -3
  75. package/lib/components/dynamic/advertise/util.js +2 -2
  76. package/lib/components/dynamic/components/dynamic-search-input/index.js +18 -18
  77. package/lib/components/dynamic/components/first-level-tabs/index.js +2 -2
  78. package/lib/components/dynamic/components/percent/index.js +1 -1
  79. package/lib/components/dynamic/components/title/index.js +1 -1
  80. package/lib/components/dynamic/constant.js +16 -16
  81. package/lib/components/dynamic/context/index.js +1 -1
  82. package/lib/components/dynamic/dynamic-item/components/header/index.js +35 -35
  83. package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +22 -22
  84. package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +9 -9
  85. package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +12 -12
  86. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +11 -11
  87. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +10 -10
  88. package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +4 -4
  89. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +16 -16
  90. package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.js +7 -7
  91. package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.js +7 -7
  92. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +21 -21
  93. package/lib/components/dynamic/dynamic-item/dynamic-project/constant.js +7 -7
  94. package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +13 -13
  95. package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +25 -25
  96. package/lib/components/dynamic/dynamic-item/dynamic-replay/index.js +24 -24
  97. package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +15 -15
  98. package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +20 -20
  99. package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +9 -9
  100. package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.js +10 -10
  101. package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +7 -7
  102. package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +17 -17
  103. package/lib/components/dynamic/dynamic-item/index.js +24 -23
  104. package/lib/components/dynamic/dynamic-like-ranking/index.js +3 -3
  105. package/lib/components/dynamic/dynamic-like-ranking/item.js +12 -14
  106. package/lib/components/dynamic/dynamic-like-ranking/mock.js +36 -36
  107. package/lib/components/dynamic/dynamic-liking/index.js +2 -2
  108. package/lib/components/dynamic/dynamic-liking/item.js +1 -1
  109. package/lib/components/dynamic/dynamic-liking/mock.js +15 -15
  110. package/lib/components/dynamic/dynamic-list/index.js +5 -5
  111. package/lib/components/dynamic/dynamic-topping/index.js +2 -2
  112. package/lib/components/dynamic/dynamic-topping/item.js +3 -3
  113. package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
  114. package/lib/components/dynamic/dynamic.js +17 -17
  115. package/lib/components/dynamic/index.js +1 -1
  116. package/lib/components/dynamic/my-team/index.js +10 -10
  117. package/lib/components/dynamic/my-team/request-api.js +4 -4
  118. package/lib/components/dynamic/online-broadcast/data.js +69 -69
  119. package/lib/components/dynamic/online-broadcast/index.js +4 -3
  120. package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +2 -2
  121. package/lib/components/dynamic/quick-operation/components/create-okr/index.js +2 -2
  122. package/lib/components/dynamic/quick-operation/components/create-share/index.js +2 -2
  123. package/lib/components/dynamic/quick-operation/components/create-task/index.js +3 -3
  124. package/lib/components/dynamic/quick-operation/index.js +8 -8
  125. package/lib/components/dynamic/request-api.js +2 -2
  126. package/lib/components/dynamic/util.js +17 -17
  127. package/lib/components/e-priority/index.js +13 -15
  128. package/lib/components/eReport/eReportListEmpty.js +4 -4
  129. package/lib/components/eReport/eReportLists/reportList.js +40 -40
  130. package/lib/components/eReport/eReportShare/index.js +15 -15
  131. package/lib/components/eReport/eReportShare/toast/index.js +5 -5
  132. package/lib/components/edit-kr-wight/EditKrWightModal.js +38 -38
  133. package/lib/components/edit-kr-wight/FormItemV2.js +7 -9
  134. package/lib/components/edit-kr-wight/style/index.js +2 -2
  135. package/lib/components/edit-kr-wight/utils.js +6 -6
  136. package/lib/components/emotions-selector/mockData.js +276 -276
  137. package/lib/components/emotions-selector/selector-content.js +17 -17
  138. package/lib/components/emotions-selector/selector-pop.js +6 -6
  139. package/lib/components/ereport-list/index.js +40 -40
  140. package/lib/components/error-boundary/index.js +4 -4
  141. package/lib/components/file-list/components/single-file/index.js +18 -17
  142. package/lib/components/file-list/index.js +1 -1
  143. package/lib/components/file-list/util.js +8 -8
  144. package/lib/components/firework/firework.js +5 -5
  145. package/lib/components/firework/index.js +5 -5
  146. package/lib/components/follower-visitor/index.js +3 -3
  147. package/lib/components/follower-visitor/request-api.js +1 -1
  148. package/lib/components/form/form-fields/department/department-input.js +7 -11
  149. package/lib/components/form/form-fields/department/index.js +11 -11
  150. package/lib/components/form/form-fields/dropdown/index.js +1 -1
  151. package/lib/components/form/form-fields/duties/duties-input.js +7 -11
  152. package/lib/components/form/form-fields/duties/index.js +10 -10
  153. package/lib/components/form/form-fields/group/index.js +3 -3
  154. package/lib/components/form/form-fields/input/index.js +14 -14
  155. package/lib/components/form/form-fields/input-verification-code/index.js +3 -3
  156. package/lib/components/form/form-fields/password/index.js +8 -10
  157. package/lib/components/form/form-fields/radios/index.js +1 -1
  158. package/lib/components/form/form-fields/textarea/index.js +13 -13
  159. package/lib/components/form/form-fields/user/index.js +20 -20
  160. package/lib/components/form/form-fields/user/user-input.js +5 -7
  161. package/lib/components/form/index.js +4 -4
  162. package/lib/components/form/layout/index.js +4 -6
  163. package/lib/components/grid-layout/commen-components/advize.js +2 -1
  164. package/lib/components/grid-layout/commen-components/card-title.js +1 -1
  165. package/lib/components/grid-layout/commen-components/data-item.js +4 -4
  166. package/lib/components/grid-layout/commen-components/empty-backgrounds.js +29 -30
  167. package/lib/components/grid-layout/commen-components/scroll-tips.js +8 -10
  168. package/lib/components/grid-layout/essay-component/essay-item.js +12 -12
  169. package/lib/components/grid-layout/essay-component/index.js +4 -4
  170. package/lib/components/grid-layout/image/could.js +1 -1
  171. package/lib/components/grid-layout/image/lv.js +1 -1
  172. package/lib/components/grid-layout/image/tita-mask.js +1 -1
  173. package/lib/components/grid-layout/near-visitors/index.js +7 -7
  174. package/lib/components/grid-layout/near-visitors/visitor.js +1 -1
  175. package/lib/components/grid-layout/okr-align/index.js +15 -15
  176. package/lib/components/grid-layout/okr-progress/index.js +17 -17
  177. package/lib/components/grid-layout/okr-target/index.js +23 -23
  178. package/lib/components/grid-layout/over-view/index.js +14 -14
  179. package/lib/components/grid-layout/personal-info/index.js +35 -35
  180. package/lib/components/grid-layout/sub-employee-okr/index.js +19 -19
  181. package/lib/components/grid-layout/sub-employee-okr/person-okr.js +4 -4
  182. package/lib/components/grid-layout/util/click-link.js +5 -5
  183. package/lib/components/grid-layout/util/network.js +16 -16
  184. package/lib/components/grid-layout/week-task/index.js +12 -12
  185. package/lib/components/grid-layout/words-cloud/index.js +10 -10
  186. package/lib/components/grid-page/commen-components/scroll-tips.js +8 -10
  187. package/lib/components/grid-page/near-visitors/visitor.js +1 -1
  188. package/lib/components/grid-page/personal-info/index.js +35 -35
  189. package/lib/components/help-card/index.js +12 -12
  190. package/lib/components/help-card/request-api.js +1 -1
  191. package/lib/components/hr-header/index.js +30 -30
  192. package/lib/components/icon-button-list/index.js +6 -8
  193. package/lib/components/img-viewer/icon/enlarge.js +6 -8
  194. package/lib/components/img-viewer/icon/left-rotate.js +6 -8
  195. package/lib/components/img-viewer/icon/right-rotate.js +6 -8
  196. package/lib/components/img-viewer/icon/shrink.js +6 -8
  197. package/lib/components/img-viewer/index.js +24 -24
  198. package/lib/components/invite-people/index.js +1 -1
  199. package/lib/components/keyword-search/index.js +10 -11
  200. package/lib/components/mblog/common/index.js +19 -19
  201. package/lib/components/mblog/components/ConfirmPop.js +6 -6
  202. package/lib/components/mblog/components/MblogAction.js +19 -19
  203. package/lib/components/mblog/components/MblogContent.js +14 -14
  204. package/lib/components/mblog/index.js +38 -38
  205. package/lib/components/menus/components/drag-resize/index.js +12 -14
  206. package/lib/components/menus/components/flip-menu-card/flip-back-header.js +4 -6
  207. package/lib/components/menus/components/flip-menu-card/index.js +4 -4
  208. package/lib/components/menus/components/flip-menu-card/precls.js +1 -1
  209. package/lib/components/menus/components/menu-card/index.js +7 -9
  210. package/lib/components/menus/components/menu-close-btn/index.js +4 -6
  211. package/lib/components/menus/components/menu-tree/index.js +3 -5
  212. package/lib/components/menus/components/menu-tree/precls.js +1 -1
  213. package/lib/components/menus/components/menu-tree/tree-node/assess-manage.js +4 -6
  214. package/lib/components/menus/components/menu-tree/tree-node/assess-template.js +4 -6
  215. package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +8 -10
  216. package/lib/components/menus/components/menu-tree/tree-node/company-all.js +6 -8
  217. package/lib/components/menus/components/menu-tree/tree-node/compony/index.js +4 -4
  218. package/lib/components/menus/components/menu-tree/tree-node/depart/index.js +6 -8
  219. package/lib/components/menus/components/menu-tree/tree-node/follower/index.js +7 -9
  220. package/lib/components/menus/components/menu-tree/tree-node/group-name.js +4 -6
  221. package/lib/components/menus/components/menu-tree/tree-node/index.js +19 -20
  222. package/lib/components/menus/components/menu-tree/tree-node/loading.js +3 -5
  223. package/lib/components/menus/components/menu-tree/tree-node/menu-item.js +4 -6
  224. package/lib/components/menus/components/menu-tree/tree-node/no-follower.js +4 -6
  225. package/lib/components/menus/components/menu-tree/tree-node/no-subordinates.js +3 -5
  226. package/lib/components/menus/components/menu-tree/tree-node/parent-menu.js +4 -6
  227. package/lib/components/menus/components/menu-tree/tree-node/sub-menu-item.js +4 -6
  228. package/lib/components/menus/components/menu-tree/tree-node/user/index.js +9 -11
  229. package/lib/components/menus/components/menu-tree/tree-node/user-concern.js +7 -9
  230. package/lib/components/menus/components/search-colleague/index.js +12 -14
  231. package/lib/components/menus/export-modules/appraisal-menus/index.js +9 -9
  232. package/lib/components/menus/export-modules/appraisal-menus/menu-highlight.js +1 -1
  233. package/lib/components/menus/export-modules/appraisal-menus/menus.js +1 -1
  234. package/lib/components/menus/export-modules/manage-menus/handle-highlight.js +23 -13
  235. package/lib/components/menus/export-modules/manage-menus/index.js +4 -4
  236. package/lib/components/menus/export-modules/okr-menus/depart-menus/helper.js +17 -17
  237. package/lib/components/menus/export-modules/okr-menus/depart-menus/index.js +21 -24
  238. package/lib/components/menus/export-modules/okr-menus/index.js +5 -5
  239. package/lib/components/menus/export-modules/okr-menus/menu-highlight.js +1 -1
  240. package/lib/components/menus/export-modules/okr-menus/menus.js +133 -133
  241. package/lib/components/menus/export-modules/okr-menus/okr-front-menus.js +4 -4
  242. package/lib/components/menus/export-modules/okr-menus/subordinate-menus/helper.js +8 -8
  243. package/lib/components/menus/export-modules/okr-menus/subordinate-menus/index.js +14 -15
  244. package/lib/components/menus/i18n.js +3 -7
  245. package/lib/components/menus/index.js +10 -8
  246. package/lib/components/menus/precls.js +1 -1
  247. package/lib/components/menus/request-apis.js +36 -36
  248. package/lib/components/menus/utils.js +2 -2
  249. package/lib/components/nav-top/components/menu/index.js +11 -11
  250. package/lib/components/nav-top/components/user-message/components/empty/index.js +7 -6
  251. package/lib/components/nav-top/components/user-message/components/inform/index.js +5 -4
  252. package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +66 -48
  253. package/lib/components/nav-top/components/user-message/components/red-pack/index.js +1 -1
  254. package/lib/components/nav-top/components/user-message/components/red-pack/request-api.js +1 -1
  255. package/lib/components/nav-top/components/user-message/components/remind/index.js +4 -4
  256. package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +7 -6
  257. package/lib/components/nav-top/components/user-message/components/reply/index.js +5 -4
  258. package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +12 -11
  259. package/lib/components/nav-top/components/user-message/components/tab-title/index.js +2 -2
  260. package/lib/components/nav-top/components/user-message/components/todos/index.js +5 -4
  261. package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +2 -2
  262. package/lib/components/nav-top/components/user-message/constant.js +14 -14
  263. package/lib/components/nav-top/components/user-message/index.js +21 -21
  264. package/lib/components/nav-top/components/user-message/msg/index.js +9 -9
  265. package/lib/components/nav-top/components/user-message/utils.js +8 -8
  266. package/lib/components/nav-top/components/user-own-menu/components/own-menu/index.js +3 -3
  267. package/lib/components/nav-top/components/user-own-menu/index.js +3 -3
  268. package/lib/components/nav-top/components/user-own-menu/utils.js +9 -9
  269. package/lib/components/nav-top/components/version/index.js +1 -1
  270. package/lib/components/nav-top/constant.js +1 -1
  271. package/lib/components/nav-top/index.js +8 -8
  272. package/lib/components/nav-top/request.apis.js +2 -2
  273. package/lib/components/okr-detail/auth.js +5 -5
  274. package/lib/components/okr-detail/base-info/base-info.js +4 -3
  275. package/lib/components/okr-detail/base-info/o-desc/index.js +7 -7
  276. package/lib/components/okr-detail/base-info/other-infos/classify/index.js +5 -5
  277. package/lib/components/okr-detail/base-info/other-infos/common/border-wrapper/index.js +2 -2
  278. package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +5 -5
  279. package/lib/components/okr-detail/base-info/other-infos/okr-type/index.js +6 -6
  280. package/lib/components/okr-detail/base-info/other-infos/other-infos.js +3 -3
  281. package/lib/components/okr-detail/base-info/other-infos/principal/index.js +9 -9
  282. package/lib/components/okr-detail/base-info/other-infos/visibility/index.js +17 -17
  283. package/lib/components/okr-detail/base-info/person/index.js +6 -6
  284. package/lib/components/okr-detail/base-info/util.js +2 -2
  285. package/lib/components/okr-detail/base-info/utils/setting.js +3 -2
  286. package/lib/components/okr-detail/components/ao-nice/index.js +11 -13
  287. package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +11 -11
  288. package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +9 -9
  289. package/lib/components/okr-detail/components/base-okr-type/index.js +5 -7
  290. package/lib/components/okr-detail/components/base-okr-type/object-type.js +28 -34
  291. package/lib/components/okr-detail/components/block-line/index.js +3 -5
  292. package/lib/components/okr-detail/components/editable-input/index.js +9 -11
  293. package/lib/components/okr-detail/components/header/edit-name.js +6 -6
  294. package/lib/components/okr-detail/components/header/index.js +23 -18
  295. package/lib/components/okr-detail/components/header/o-avatar.js +6 -6
  296. package/lib/components/okr-detail/components/header/o-cycle.js +4 -4
  297. package/lib/components/okr-detail/components/header/o-name.js +3 -3
  298. package/lib/components/okr-detail/components/header/o-score.js +9 -9
  299. package/lib/components/okr-detail/components/icon-text/index.js +5 -5
  300. package/lib/components/okr-detail/components/o-classify.js +17 -17
  301. package/lib/components/okr-detail/components/o-progress-update/index.js +7 -7
  302. package/lib/components/okr-detail/components/okr-tree/index.js +3 -5
  303. package/lib/components/okr-detail/components/okr-tree/precls.js +1 -1
  304. package/lib/components/okr-detail/components/okr-tree/tree-node/default-node.js +3 -5
  305. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +29 -31
  306. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +20 -20
  307. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +4 -6
  308. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +12 -14
  309. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +14 -16
  310. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +18 -20
  311. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +18 -20
  312. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +18 -20
  313. package/lib/components/okr-detail/components/okr-tree/tree-node/get-process-color.js +30 -30
  314. package/lib/components/okr-detail/components/okr-tree/tree-node/index.js +13 -16
  315. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +20 -20
  316. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +42 -44
  317. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +43 -43
  318. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +5 -7
  319. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +41 -41
  320. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +6 -8
  321. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +28 -30
  322. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +13 -12
  323. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +8 -10
  324. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/weight-input.js +6 -6
  325. package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +21 -23
  326. package/lib/components/okr-detail/components/okr-type.js +11 -10
  327. package/lib/components/okr-detail/components/padding-layout.js +4 -6
  328. package/lib/components/okr-detail/components/score/index.js +6 -6
  329. package/lib/components/okr-detail/components/tab-panel-content/index.js +3 -5
  330. package/lib/components/okr-detail/context.js +1 -1
  331. package/lib/components/okr-detail/cooperation/index.js +2 -2
  332. package/lib/components/okr-detail/detail-footer/index.js +12 -12
  333. package/lib/components/okr-detail/detail-header/actions.js +30 -30
  334. package/lib/components/okr-detail/detail-header/confirm.js +9 -9
  335. package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +12 -12
  336. package/lib/components/okr-detail/detail-header/delete-confirm/style.js +1 -1
  337. package/lib/components/okr-detail/detail-header/index.js +30 -30
  338. package/lib/components/okr-detail/e-list/constant.js +19 -19
  339. package/lib/components/okr-detail/e-list/index.js +7 -9
  340. package/lib/components/okr-detail/e-list/precls.js +1 -1
  341. package/lib/components/okr-detail/e-list/search-form/fields/e-order.js +23 -25
  342. package/lib/components/okr-detail/e-list/search-form/fields/e-status.js +20 -21
  343. package/lib/components/okr-detail/e-list/search-form/fields/e-user.js +9 -11
  344. package/lib/components/okr-detail/e-list/search-form/index.js +8 -10
  345. package/lib/components/okr-detail/e-list/util.js +90 -87
  346. package/lib/components/okr-detail/error-page/index.js +2 -2
  347. package/lib/components/okr-detail/index.js +54 -54
  348. package/lib/components/okr-detail/loading/index.js +6 -8
  349. package/lib/components/okr-detail/okr-list/add-parent-okr.js +8 -10
  350. package/lib/components/okr-detail/okr-list/create-kr-item/dom.js +2 -2
  351. package/lib/components/okr-detail/okr-list/create-kr-item/heart.js +6 -8
  352. package/lib/components/okr-detail/okr-list/create-kr-item/index.js +35 -35
  353. package/lib/components/okr-detail/okr-list/create-kr-item/style.js +5 -5
  354. package/lib/components/okr-detail/okr-list/drag-order-kr.js +2 -2
  355. package/lib/components/okr-detail/okr-list/empty/index.js +9 -10
  356. package/lib/components/okr-detail/okr-list/index.js +14 -14
  357. package/lib/components/okr-detail/okr-list/warp-parent-okr.js +6 -6
  358. package/lib/components/okr-detail/request-apis.js +67 -67
  359. package/lib/components/okr-detail/schedule/components/kr-progress/index.js +3 -3
  360. package/lib/components/okr-detail/schedule/components/o-progress/index.js +39 -38
  361. package/lib/components/okr-detail/schedule/components/sub-o-progress/index.js +1 -1
  362. package/lib/components/okr-detail/schedule/components/title/index.js +1 -1
  363. package/lib/components/okr-detail/schedule/schedule.js +2 -2
  364. package/lib/components/okr-detail/schedule/util.js +3 -3
  365. package/lib/components/okr-filter-drawer/filter-form.js +26 -26
  366. package/lib/components/okr-filter-drawer/index.js +4 -10
  367. package/lib/components/okr-flow/child-node/fields/creator.js +3 -3
  368. package/lib/components/okr-flow/child-node/fields/okrClassify.js +3 -3
  369. package/lib/components/okr-flow/child-node/fields/okrType.js +3 -3
  370. package/lib/components/okr-flow/child-node/helper.js +14 -14
  371. package/lib/components/okr-flow/child-node/index.js +9 -9
  372. package/lib/components/okr-flow/child-node/kr-node.js +7 -7
  373. package/lib/components/okr-flow/child-node/work-node.js +20 -20
  374. package/lib/components/okr-flow/empty/index.js +6 -6
  375. package/lib/components/okr-flow/export-modal/index.js +22 -22
  376. package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +5 -5
  377. package/lib/components/okr-flow/mini-map/index.js +6 -6
  378. package/lib/components/okr-flow/mini-map/map.js +9 -9
  379. package/lib/components/okr-flow/mini-map/mini-node.js +4 -4
  380. package/lib/components/okr-flow/mini-map/utils.js +2 -2
  381. package/lib/components/okr-flow/okr-map/index.js +4 -4
  382. package/lib/components/okr-flow/open-data/index.js +26 -26
  383. package/lib/components/okr-flow/precls.js +1 -1
  384. package/lib/components/okr-flow/request-apis.js +15 -14
  385. package/lib/components/okr-flow/root-node/index.js +15 -13
  386. package/lib/components/okr-flow/utils/config.js +3 -3
  387. package/lib/components/okr-flow/utils/helper.js +2 -1
  388. package/lib/components/okr-flow/utils/index.js +5 -5
  389. package/lib/components/okr-flow/utils/tree-handler.js +29 -31
  390. package/lib/components/okr-period-selector/index.js +8 -10
  391. package/lib/components/okr-period-selector/request-apis.js +2 -2
  392. package/lib/components/okr-period-selector/select-cycle.js +6 -6
  393. package/lib/components/okr-progress/components/kr-progress/index.js +3 -3
  394. package/lib/components/okr-progress/components/o-progress/index.js +38 -38
  395. package/lib/components/okr-progress/components/o-progress-update/index.js +7 -7
  396. package/lib/components/okr-progress/components/sub-o-progress/index.js +1 -1
  397. package/lib/components/okr-progress/components/title/index.js +1 -1
  398. package/lib/components/okr-progress/okr-progress/index.js +3 -3
  399. package/lib/components/okr-progress/request-apis.js +16 -16
  400. package/lib/components/okr-progress/util.js +3 -3
  401. package/lib/components/okr-progress-detail/constant.js +7 -7
  402. package/lib/components/okr-progress-detail/index.js +1 -1
  403. package/lib/components/okr-progress-detail/utils.js +13 -13
  404. package/lib/components/okr-progress-modal/helper.js +41 -41
  405. package/lib/components/okr-progress-modal/index.js +37 -36
  406. package/lib/components/okr-progress-modal/request-apis.js +1 -1
  407. package/lib/components/okr-progress-modal/textarea/index.js +2 -2
  408. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +75 -77
  409. package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
  410. package/lib/components/okr-review/ReviewPop/components/Toast/index.js +3 -3
  411. package/lib/components/okr-review/ReviewPop/index.js +33 -33
  412. package/lib/components/okr-review/common.js +7 -7
  413. package/lib/components/okr-review/components/ReviewItem/index.js +7 -7
  414. package/lib/components/okr-review/components/ReviewItem/style.js +4 -4
  415. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +10 -10
  416. package/lib/components/okr-review/index.js +34 -33
  417. package/lib/components/okr-review/style.js +9 -9
  418. package/lib/components/okr-share/common-painter/darwAvatar.js +4 -4
  419. package/lib/components/okr-share/common-painter/openDataPainter.js +3 -3
  420. package/lib/components/okr-share/common-painter/setSize.js +3 -3
  421. package/lib/components/okr-share/common-painter/utils.js +3 -3
  422. package/lib/components/okr-share/index.js +5 -5
  423. package/lib/components/okr-share/pink-card/card.js +3 -3
  424. package/lib/components/okr-share/pink-card/drawDepartmentName.js +2 -2
  425. package/lib/components/okr-share/pink-card/drawKrs.js +2 -2
  426. package/lib/components/okr-share/pink-card/drawOKrName.js +2 -2
  427. package/lib/components/okr-share/pink-card/drawQuote.js +1 -1
  428. package/lib/components/okr-share/pink-card/drawUserName.js +6 -6
  429. package/lib/components/okr-share/pink-card/images.js +4 -4
  430. package/lib/components/okr-share/pink-card/index.js +7 -7
  431. package/lib/components/okr-share/publishMblog.js +8 -8
  432. package/lib/components/okr-share/request-apis.js +4 -4
  433. package/lib/components/okr-share/shareCardSelector.js +12 -12
  434. package/lib/components/okrcase-library/index.js +58 -58
  435. package/lib/components/okrcase-library/okrcases-components/caseLibrary-cardList/index.js +13 -13
  436. package/lib/components/okrcase-library/okrcases-components/caseLibrary-cardList/okrcase-card.js +20 -20
  437. package/lib/components/okrcase-library/okrcases-components/caseLibrary-main.js +11 -17
  438. package/lib/components/okrcase-library/okrcases-components/caseLibrary-nav.js +13 -13
  439. package/lib/components/okrcase-library/okrcases-components/caseLibray-header.js +3 -3
  440. package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +56 -57
  441. package/lib/components/okrcase-library/server/network.js +36 -36
  442. package/lib/components/okrcase-library-card/index.js +21 -21
  443. package/lib/components/open-data-painter/index.js +13 -13
  444. package/lib/components/operation-records/OperationRecordItem.js +6 -6
  445. package/lib/components/operation-records/index.js +19 -19
  446. package/lib/components/operation-records/mockData.js +313 -313
  447. package/lib/components/pagination/locale/en_US.js +11 -11
  448. package/lib/components/pagination/locale/zh_CN.js +11 -11
  449. package/lib/components/pagination/pagination.js +9 -11
  450. package/lib/components/password-input/icon/close-eye.js +6 -8
  451. package/lib/components/password-input/icon/open-eye.js +6 -8
  452. package/lib/components/password-input/index.js +10 -10
  453. package/lib/components/period-selector/common.js +36 -30
  454. package/lib/components/period-selector/components/button/index.js +4 -4
  455. package/lib/components/period-selector/components/selector/index.js +4 -4
  456. package/lib/components/period-selector/components/selector/style.js +2 -2
  457. package/lib/components/period-selector/helper/index.js +12 -12
  458. package/lib/components/period-selector/index.js +9 -11
  459. package/lib/components/photo-card/components/card/index.js +13 -13
  460. package/lib/components/photo-card/index.js +8 -8
  461. package/lib/components/point-demo/constant.js +1 -1
  462. package/lib/components/point-demo/drop-down-box/index.js +8 -8
  463. package/lib/components/point-demo/index.js +94 -96
  464. package/lib/components/point-demo/input/index.js +11 -11
  465. package/lib/components/point-demo/point-demo.js +7 -9
  466. package/lib/components/point-demo/popup/index.js +3 -3
  467. package/lib/components/point-demo/popup/placement.js +21 -21
  468. package/lib/components/popup/index.js +4 -4
  469. package/lib/components/popup/placement.js +21 -21
  470. package/lib/components/praise-record/PraiseRecordItem.js +9 -9
  471. package/lib/components/praise-record/index.js +9 -9
  472. package/lib/components/progress/circle-progress/index.js +10 -10
  473. package/lib/components/progress/line-progress/index.js +7 -7
  474. package/lib/components/progress/utils.js +20 -20
  475. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +11 -11
  476. package/lib/components/publish-dynamic-modal/requist-api.js +10 -10
  477. package/lib/components/radio/radio.js +5 -4
  478. package/lib/components/radio/radioGroup.js +10 -7
  479. package/lib/components/range-picker-pop/index.js +25 -25
  480. package/lib/components/range-selector-pop/RangeList.js +9 -9
  481. package/lib/components/range-selector-pop/RangeSelectorPop.js +5 -5
  482. package/lib/components/scrollbar/index.js +4 -6
  483. package/lib/components/scrollbar/simplebar/helpers.js +2 -2
  484. package/lib/components/scrollbar/simplebar/index.js +13 -13
  485. package/lib/components/scrollbar/simplebar/scrollbar-width.js +4 -4
  486. package/lib/components/scrollbar/simplebar/simplebar.js +128 -129
  487. package/lib/components/scrollbar/simplebar-react.js +9 -9
  488. package/lib/components/search-dropdown/index.js +3 -3
  489. package/lib/components/search-input/index.js +10 -12
  490. package/lib/components/search-key-handle/index.js +5 -9
  491. package/lib/components/select/Option.js +6 -6
  492. package/lib/components/select/index.js +34 -34
  493. package/lib/components/select-layer/index.js +4 -4
  494. package/lib/components/select-tags/index.js +2 -2
  495. package/lib/components/selector-input/debounce.js +2 -1
  496. package/lib/components/selector-input/index.js +10 -12
  497. package/lib/components/slider-input/index.js +8 -10
  498. package/lib/components/stateless-dropdown/stateless-dropdown.js +5 -5
  499. package/lib/components/status-time/index.js +10 -10
  500. package/lib/components/stop-taking-modal/index.js +6 -6
  501. package/lib/components/switch/index.js +6 -8
  502. package/lib/components/table/index.js +14 -16
  503. package/lib/components/tabs/index.js +8 -8
  504. package/lib/components/task-relation-modal/helper.js +5 -5
  505. package/lib/components/task-relation-modal/index.js +16 -16
  506. package/lib/components/task-relation-modal/radio.js +4 -6
  507. package/lib/components/task-relation-modal/request-api.js +10 -10
  508. package/lib/components/task-relation-modal/search/category-select.js +7 -7
  509. package/lib/components/task-relation-modal/search/okr-status-select.js +7 -7
  510. package/lib/components/task-relation-modal/search/okr-type-select.js +9 -9
  511. package/lib/components/task-relation-modal/search/principal.js +9 -9
  512. package/lib/components/task-relation-modal/search/relation.js +9 -9
  513. package/lib/components/task-relation-modal/search/search-dropdown/index.js +2 -2
  514. package/lib/components/task-relation-modal/tree/category-tree/index.js +11 -11
  515. package/lib/components/task-relation-modal/tree/category-tree/search-form.js +4 -4
  516. package/lib/components/task-relation-modal/tree/okr-tree/index.js +12 -12
  517. package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +7 -7
  518. package/lib/components/task-relation-modal/tree/work-tree/index.js +13 -13
  519. package/lib/components/task-relation-modal/tree/work-tree/search-form.js +4 -4
  520. package/lib/components/task-relation-modal/tree-node/category-node/index.js +3 -3
  521. package/lib/components/task-relation-modal/tree-node/index.js +2 -3
  522. package/lib/components/task-relation-modal/tree-node/kr-node/index.js +3 -3
  523. package/lib/components/task-relation-modal/tree-node/milestone-node/index.js +7 -7
  524. package/lib/components/task-relation-modal/tree-node/o-node/index.js +3 -3
  525. package/lib/components/task-relation-modal/tree-node/work-node/index.js +5 -5
  526. package/lib/components/tita-chart/charts/img/could.js +1 -1
  527. package/lib/components/tita-chart/charts/liquid-ball.js +15 -15
  528. package/lib/components/tita-chart/charts/pie.js +35 -37
  529. package/lib/components/tita-chart/charts/words-cloud.js +28 -28
  530. package/lib/components/tita-chart/errorBoundary/index.js +7 -9
  531. package/lib/components/tita-chart/hooks/useChart.js +33 -33
  532. package/lib/components/tita-chart/plots/liquid/index.js +2 -2
  533. package/lib/components/tita-chart/plots/pie/index.js +2 -2
  534. package/lib/components/tita-chart/plots/wordscloud/index.js +2 -2
  535. package/lib/components/tita-chart/util/createLoading.js +9 -9
  536. package/lib/components/tita-chart/util/createNode.js +3 -3
  537. package/lib/components/tita-chart/util/utils.js +1 -1
  538. package/lib/components/toast/index.js +9 -9
  539. package/lib/components/tooltip/error-tip.js +3 -5
  540. package/lib/components/tooltip/tooltip-text/index.js +6 -6
  541. package/lib/components/tooltip/tooltip.js +4 -6
  542. package/lib/components/tree/index.js +15 -16
  543. package/lib/components/tree/precls.js +1 -1
  544. package/lib/components/update-modal/index.js +7 -6
  545. package/lib/components/update-modal/request-api.js +3 -3
  546. package/lib/components/upload/components/uploadedPreview.js +63 -55
  547. package/lib/components/upload/index.js +34 -34
  548. package/lib/components/upload/util.js +34 -20
  549. package/lib/components/upload-photo-modal/constant.js +12 -12
  550. package/lib/components/upload-photo-modal/index.js +38 -42
  551. package/lib/components/upload-photo-modal/request-api.js +5 -5
  552. package/lib/components/upvote/attitude.js +6 -6
  553. package/lib/components/upvote/index.js +14 -15
  554. package/lib/components/upvote/request-apis.js +3 -3
  555. package/lib/components/upvote/selector.js +11 -11
  556. package/lib/components/upvote/upvoteListModal.js +3 -3
  557. package/lib/components/user-selector/action-btns/btn-cancel.js +4 -6
  558. package/lib/components/user-selector/action-btns/btn-ok.js +4 -6
  559. package/lib/components/user-selector/action-btns/index.js +3 -5
  560. package/lib/components/user-selector/category-selector-panel/depart-tree.js +6 -8
  561. package/lib/components/user-selector/category-selector-panel/group-tree.js +14 -15
  562. package/lib/components/user-selector/category-selector-panel/index.js +13 -13
  563. package/lib/components/user-selector/constant.js +6 -6
  564. package/lib/components/user-selector/empty/group.js +9 -10
  565. package/lib/components/user-selector/empty/index.js +5 -7
  566. package/lib/components/user-selector/export-modules/depart-search-selector/index.js +13 -13
  567. package/lib/components/user-selector/export-modules/depart-search-selector/result-part.js +3 -5
  568. package/lib/components/user-selector/export-modules/duties-selector/index.js +19 -19
  569. package/lib/components/user-selector/export-modules/field-tree-selector/index.js +10 -10
  570. package/lib/components/user-selector/export-modules/field-tree-selector/multiple-selector/index.js +5 -7
  571. package/lib/components/user-selector/export-modules/field-tree-selector/selector-generater.js +5 -7
  572. package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/index.js +7 -9
  573. package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/precls.js +1 -1
  574. package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/user-list.js +6 -8
  575. package/lib/components/user-selector/export-modules/group-selector/index.js +5 -5
  576. package/lib/components/user-selector/export-modules/group-selector/searched-panel.js +4 -6
  577. package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.js +10 -10
  578. package/lib/components/user-selector/export-modules/single-selector/index.js +4 -6
  579. package/lib/components/user-selector/layout/index.js +3 -5
  580. package/lib/components/user-selector/loading/index.js +3 -5
  581. package/lib/components/user-selector/request-apis.js +21 -21
  582. package/lib/components/user-selector/searched-panel/index.js +7 -9
  583. package/lib/components/user-selector/searched-panel/result-part.js +3 -5
  584. package/lib/components/user-selector/select-tree/choose-tree/index.js +22 -20
  585. package/lib/components/user-selector/select-tree/selected-tree/index.js +9 -11
  586. package/lib/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +5 -7
  587. package/lib/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +3 -5
  588. package/lib/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +7 -9
  589. package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +15 -17
  590. package/lib/components/user-selector/selected-panel/index.js +14 -16
  591. package/lib/components/user-selector/utils.js +34 -34
  592. package/lib/components/version-change-modal/constant.js +6 -6
  593. package/lib/components/version-change-modal/index.js +4 -4
  594. package/lib/components/version-change-modal/request-api.js +2 -2
  595. package/lib/components/viewer/ImageListRender.js +10 -10
  596. package/lib/components/viewer/index.js +14 -14
  597. package/lib/components/weekly-report/board.js +8 -8
  598. package/lib/components/weekly-report/card.js +46 -49
  599. package/lib/components/weekly-report/common-painter/darwAvatar.js +9 -9
  600. package/lib/components/weekly-report/common-painter/drawName.js +5 -5
  601. package/lib/components/weekly-report/common-painter/openDataPainter.js +3 -3
  602. package/lib/components/weekly-report/common-painter/setSize.js +3 -3
  603. package/lib/components/weekly-report/common-painter/utils.js +3 -3
  604. package/lib/components/weekly-report/index.js +22 -22
  605. package/lib/components/weekly-report/statistics.js +13 -13
  606. package/lib/components/word-cloud/index.js +22 -24
  607. package/lib/components/word-cloud/request-apis.js +2 -2
  608. package/lib/components-v1/animate/AnimateChild.js +6 -6
  609. package/lib/components-v1/animate/animate.js +8 -8
  610. package/lib/components-v1/avatar/index.js +30 -25
  611. package/lib/components-v1/buttonv2/ButtonLinked.js +1 -1
  612. package/lib/components-v1/buttonv2/ButtonOutlined.js +4 -4
  613. package/lib/components-v1/buttonv2/ButtonRounded.js +6 -6
  614. package/lib/components-v1/buttonv2/DefaultButton.js +3 -3
  615. package/lib/components-v1/buttonv2/style/style.js +10 -10
  616. package/lib/components-v1/confirm/index.js +11 -11
  617. package/lib/components-v1/dom/index.js +3 -3
  618. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +9 -9
  619. package/lib/components-v1/dropDownSelector/dropDownSelector.js +16 -16
  620. package/lib/components-v1/input/Input.js +9 -8
  621. package/lib/components-v1/input/InputNumber.js +10 -9
  622. package/lib/components-v1/placement/placement.js +8 -8
  623. package/lib/components-v1/placement/placementInner.js +15 -15
  624. package/lib/components-v1/pop/Pop.js +21 -20
  625. package/lib/components-v1/pop/PopInner.js +38 -38
  626. package/lib/components-v1/popConfirm/index.js +24 -24
  627. package/lib/components-v1/popConfirm/style.js +4 -4
  628. package/lib/components-v1/portals/Portals.js +5 -5
  629. package/lib/components-v1/progress/CircleProgress.js +14 -14
  630. package/lib/components-v1/progress/LineProgress.js +8 -8
  631. package/lib/components-v1/progress/index.js +7 -7
  632. package/lib/components-v1/radio/radio.js +3 -3
  633. package/lib/components-v1/radio/radioGroup.js +11 -8
  634. package/lib/components-v1/search/cache.js +6 -6
  635. package/lib/components-v1/search/index.js +13 -13
  636. package/lib/components-v1/select/Option.js +6 -6
  637. package/lib/components-v1/select/index.js +34 -34
  638. package/lib/components-v1/tabs/index.js +4 -4
  639. package/lib/components-v1/tabs/style.js +5 -5
  640. package/lib/components-v1/textarea/index.js +14 -14
  641. package/lib/components-v1/transition/index.js +14 -14
  642. package/lib/components-v1/userSelector/UserSelectorPop.js +14 -15
  643. package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +10 -10
  644. package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +8 -8
  645. package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +7 -7
  646. package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +7 -7
  647. package/lib/components-v1/userSelector/components/MultiMode/index.js +15 -15
  648. package/lib/components-v1/userSelector/components/SearchBar.js +10 -10
  649. package/lib/components-v1/userSelector/components/SingleMode.js +10 -10
  650. package/lib/components-v1/userSelector/components/UserItem.js +8 -8
  651. package/lib/components-v1/userSelector/index.js +15 -15
  652. package/lib/components-v1/userSelector/style.js +8 -8
  653. package/lib/components-v1/utils/animate/animate.js +9 -9
  654. package/lib/components-v1/utils/animate/event.js +7 -7
  655. package/lib/components-v1/utils/common/tools.js +6 -6
  656. package/lib/components-v1/utils/dom/index.js +3 -3
  657. package/lib/components-v1/utils/placement/autoAdjustPlacement.js +30 -30
  658. package/lib/components-v1/utils/placement/getContainerVisibleArea.js +3 -3
  659. package/lib/components-v1/utils/placement/getExpectPlacement.js +4 -4
  660. package/lib/components-v1/utils/placement/getPlacementInContainer.js +6 -6
  661. package/lib/components-v1/utils/placement/placement.js +14 -16
  662. package/lib/hooks/useLocalStorage.js +2 -2
  663. package/lib/index.js +2 -2
  664. package/lib/pages/aha2021/index.js +6 -6
  665. package/lib/pages/appointment-demo/drop-down-box/index.js +8 -8
  666. package/lib/pages/appointment-demo/index.js +85 -85
  667. package/lib/pages/appointment-demo/input/index.js +11 -11
  668. package/lib/pages/appointment-demo/popup/index.js +3 -3
  669. package/lib/pages/appointment-demo/popup/placement.js +21 -21
  670. package/lib/pages/dynamic/index.js +3 -3
  671. package/lib/pages/group-management/components/checkbox/index.js +4 -6
  672. package/lib/pages/group-management/components/input-form/index.js +9 -9
  673. package/lib/pages/group-management/components/openData/index.js +46 -43
  674. package/lib/pages/group-management/components/radio/index.js +3 -5
  675. package/lib/pages/group-management/components/table/index.js +9 -11
  676. package/lib/pages/group-management/groupInterface.js +29 -32
  677. package/lib/pages/group-management/page-view/empty.js +10 -12
  678. package/lib/pages/group-management/page-view/group-empty.js +5 -7
  679. package/lib/pages/group-management/page-view/importGroupStaff/index.js +20 -22
  680. package/lib/pages/group-management/page-view/index.js +21 -23
  681. package/lib/pages/group-management/page-view/loading/index.js +5 -7
  682. package/lib/pages/group-management/table/index.js +21 -22
  683. package/lib/pages/group-management/tree/add-group-dialog/index.js +21 -27
  684. package/lib/pages/group-management/tree/delete-group-dialog/index.js +10 -12
  685. package/lib/pages/group-management/tree/edit-group-dialog/index.js +23 -29
  686. package/lib/pages/group-management/tree/group-form/index.js +18 -18
  687. package/lib/pages/group-management/tree/index.js +19 -21
  688. package/lib/pages/group-management/tree/operation-panel.js +7 -9
  689. package/lib/pages/group-management/tree/trigger-render.js +9 -11
  690. package/lib/pages/home/components/data-list/index.js +29 -29
  691. package/lib/pages/home/components/data-list/nav-selector/index.js +2 -2
  692. package/lib/pages/home/components/data-list/table/columns/createDate.js +2 -2
  693. package/lib/pages/home/components/data-list/table/columns/index.js +39 -39
  694. package/lib/pages/home/components/data-list/table/columns/krName.js +2 -2
  695. package/lib/pages/home/components/data-list/table/columns/okrName.js +7 -11
  696. package/lib/pages/home/components/data-list/table/columns/progressAndRisk.js +12 -12
  697. package/lib/pages/home/components/data-list/table/columns/tag.js +1 -1
  698. package/lib/pages/home/components/data-list/table/columns/updateTime.js +2 -2
  699. package/lib/pages/home/components/data-list/table/columns/user.js +1 -1
  700. package/lib/pages/home/components/data-list/table/empty-table.js +3 -3
  701. package/lib/pages/home/components/data-list/table/index.js +11 -11
  702. package/lib/pages/home/components/data-list/table/utils-function.js +24 -24
  703. package/lib/pages/home/components/guide/index.js +23 -22
  704. package/lib/pages/home/components/guide/stepItem.js +8 -8
  705. package/lib/pages/home/components/header/index.js +2 -2
  706. package/lib/pages/home/index.js +1 -1
  707. package/lib/pages/home-page-data-list/index.js +29 -29
  708. package/lib/pages/like-ranking/column.js +16 -12
  709. package/lib/pages/like-ranking/filter-buttons/department.js +3 -3
  710. package/lib/pages/like-ranking/filter-buttons/group.js +2 -2
  711. package/lib/pages/like-ranking/filter-buttons/modular.js +17 -17
  712. package/lib/pages/like-ranking/filter-buttons/name.js +5 -5
  713. package/lib/pages/like-ranking/filter-buttons/search-dropdown/index.js +2 -2
  714. package/lib/pages/like-ranking/filter-buttons/timer.js +4 -11
  715. package/lib/pages/like-ranking/index.js +24 -24
  716. package/lib/pages/like-ranking/mock.js +286 -286
  717. package/lib/pages/new-okr-list/header/comments.js +9 -9
  718. package/lib/pages/new-okr-list/header/create-okr.js +4 -4
  719. package/lib/pages/new-okr-list/header/depart-title.js +4 -4
  720. package/lib/pages/new-okr-list/header/filter.js +6 -6
  721. package/lib/pages/new-okr-list/header/index.js +16 -10
  722. package/lib/pages/new-okr-list/header/relation-title.js +4 -4
  723. package/lib/pages/new-okr-list/header/user-title.js +2 -2
  724. package/lib/pages/new-okr-list/index.js +16 -18
  725. package/lib/pages/new-okr-list/init-cycle-setting.js +6 -6
  726. package/lib/pages/new-okr-list/keyword-search/index.js +10 -11
  727. package/lib/pages/new-okr-list/list/index.js +2 -2
  728. package/lib/pages/new-okr-list/loading.js +2 -2
  729. package/lib/pages/new-okr-list/precls.js +1 -1
  730. package/lib/pages/new-okr-list/request-api.js +2 -2
  731. package/lib/pages/okr-map/export-modules/okr-map/header/index.js +27 -29
  732. package/lib/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +8 -8
  733. package/lib/pages/okr-map/export-modules/okr-map/index.js +3 -5
  734. package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +56 -58
  735. package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +11 -13
  736. package/lib/pages/okr-map/export-modules/share-okr-page/index.js +3 -5
  737. package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +21 -24
  738. package/lib/pages/okr-map/hooks/useStorage.js +4 -4
  739. package/lib/pages/okr-map/level2-search/depart.js +3 -5
  740. package/lib/pages/okr-map/level2-search/group.js +8 -10
  741. package/lib/pages/okr-map/level2-search/index.js +7 -9
  742. package/lib/pages/okr-map/level2-search/level2-input.js +9 -9
  743. package/lib/pages/okr-map/level2-search/user.js +4 -6
  744. package/lib/pages/okr-map/no-okr/index.js +4 -6
  745. package/lib/pages/okr-map/number-select/index.js +4 -4
  746. package/lib/pages/okr-map/open-data/index.js +26 -26
  747. package/lib/pages/okr-map/precls.js +1 -1
  748. package/lib/pages/okr-map/request-apis.js +3 -3
  749. package/lib/pages/okr-map/share-dialog/index.js +15 -17
  750. package/lib/pages/okr-map/unsupport-ie/index.js +18 -15
  751. package/lib/pages/okr-map/utils.js +4 -1
  752. package/lib/pages/personal-info/components/base-info/index.js +7 -7
  753. package/lib/pages/personal-info/components/edit-base-info/index.js +19 -20
  754. package/lib/pages/personal-info/components/person-photo/index.js +8 -8
  755. package/lib/pages/personal-info/index.js +2 -2
  756. package/lib/pages/personal-info/request-api.js +2 -2
  757. package/lib/utils/auth.js +4 -4
  758. package/lib/utils/bs-global.js +11 -10
  759. package/lib/utils/date-test-change.js +7 -7
  760. package/lib/utils/format-time.js +20 -20
  761. package/lib/utils/getLocale.js +1 -1
  762. package/lib/utils/helpers.js +12 -12
  763. package/lib/utils/i18n-front-translate.js +4 -4
  764. package/lib/utils/local-storage.js +1 -1
  765. package/lib/utils/mblog.js +1 -1
  766. package/lib/utils/mock-bsglobal.js +1637 -1637
  767. package/lib/utils/open-data.js +39 -37
  768. package/lib/utils/platform.js +11 -12
  769. package/lib/utils/request-v1.js +13 -13
  770. package/lib/utils/request.js +11 -11
  771. package/lib/utils/roundWeight.js +16 -11
  772. package/lib/utils/tools.js +15 -8
  773. package/package.json +19 -3
  774. package/src/components/avatar/default.tsx +15 -15
  775. package/src/components/avatar/icon-avatar/index.tsx +15 -17
  776. package/src/components/avatar/index.tsx +5 -5
  777. package/src/components/avatar/name-avatar/index.tsx +33 -28
  778. package/src/components/avatar/num-avatar/index.tsx +5 -7
  779. package/src/components/avatar/text-avatar/index.tsx +42 -44
  780. package/src/components/button/default-button/index.tsx +16 -17
  781. package/src/components/button/icon-btn/index.tsx +14 -13
  782. package/src/components/button/index.tsx +4 -5
  783. package/src/components/button/interface.tsx +4 -4
  784. package/src/components/button/rect-btn/index.tsx +8 -8
  785. package/src/components/button/text-btn/index.tsx +8 -8
  786. package/src/components/button/types.ts +1 -1
  787. package/src/components/cascader/index.tsx +7 -7
  788. package/src/components/cascader/time.js +7 -7
  789. package/src/components/change-okr-modal/Filter.tsx +174 -145
  790. package/src/components/change-okr-modal/Item.tsx +91 -87
  791. package/src/components/change-okr-modal/constant.ts +52 -61
  792. package/src/components/change-okr-modal/filterTab.tsx +11 -7
  793. package/src/components/change-okr-modal/index.tsx +135 -96
  794. package/src/components/change-okr-modal/styledComponents.ts +10 -9
  795. package/src/components/change-okr-modal/types.ts +0 -1
  796. package/src/components/checkbox/index.tsx +2 -2
  797. package/src/components/common-share/index.tsx +37 -35
  798. package/src/components/common-share/publishMblog.tsx +5 -5
  799. package/src/components/common-share/request-apis.js +11 -27
  800. package/src/components/common-share/types.ts +1 -1
  801. package/src/components/communication/CommunicationAttachments.tsx +89 -87
  802. package/src/components/communication/CommunicationRecord.tsx +21 -21
  803. package/src/components/communication/ConvertUserName.tsx +2 -1
  804. package/src/components/communication/index.tsx +76 -73
  805. package/src/components/communication/style.ts +23 -23
  806. package/src/components/confidence/heart.js +10 -12
  807. package/src/components/confidence/index.tsx +21 -9
  808. package/src/components/create-okr-modal/animation/check-animation.ts +1081 -1
  809. package/src/components/create-okr-modal/constant.ts +12 -16
  810. package/src/components/create-okr-modal/createCycle.tsx +56 -45
  811. package/src/components/create-okr-modal/createSuccessCmp.tsx +39 -37
  812. package/src/components/create-okr-modal/createSuccessCmpWrapper.tsx +1 -3
  813. package/src/components/create-okr-modal/fields/date-cycle.tsx +16 -14
  814. package/src/components/create-okr-modal/fields/index.js +1 -1
  815. package/src/components/create-okr-modal/fields/input-with-err-popup.tsx +23 -27
  816. package/src/components/create-okr-modal/fields/o-new-name.tsx +26 -29
  817. package/src/components/create-okr-modal/fields/okr-case.tsx +5 -4
  818. package/src/components/create-okr-modal/fields/okr-classify.tsx +10 -12
  819. package/src/components/create-okr-modal/fields/okr-create-suggest.tsx +31 -34
  820. package/src/components/create-okr-modal/fields/okr-new-user-selector.tsx +6 -4
  821. package/src/components/create-okr-modal/fields/okr-parent.tsx +15 -13
  822. package/src/components/create-okr-modal/fields/okr-type-detail.tsx +23 -19
  823. package/src/components/create-okr-modal/fields/okr-type.tsx +15 -13
  824. package/src/components/create-okr-modal/fields/okr-visibility-detail.tsx +41 -38
  825. package/src/components/create-okr-modal/fields/okr-visibility.tsx +50 -52
  826. package/src/components/create-okr-modal/img/pack-up.tsx +9 -8
  827. package/src/components/create-okr-modal/index.tsx +93 -106
  828. package/src/components/create-okr-modal/kr-items/kr-item-weight.tsx +17 -19
  829. package/src/components/create-okr-modal/kr-items/krDatas.tsx +12 -11
  830. package/src/components/create-okr-modal/kr-items/krItem.tsx +15 -14
  831. package/src/components/create-okr-modal/objectType.tsx +53 -49
  832. package/src/components/create-okr-modal/request-api.ts +15 -20
  833. package/src/components/create-okr-modal/style.ts +7 -8
  834. package/src/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +18 -21
  835. package/src/components/create-okr-modal/utils/helper.ts +3 -3
  836. package/src/components/create-okr-modal/utils/index.tsx +2 -3
  837. package/src/components/date-picker/BodyItem.js +36 -30
  838. package/src/components/date-picker/CalendarBody.js +52 -47
  839. package/src/components/date-picker/CalendarHeader.js +31 -27
  840. package/src/components/date-picker/index.js +39 -36
  841. package/src/components/date-range-picker/index.js +71 -70
  842. package/src/components/delete-confirm-pop/ConfirmPop.tsx +25 -22
  843. package/src/components/delete-confirm-pop/style.ts +7 -7
  844. package/src/components/dialog/index.js +40 -38
  845. package/src/components/dialog-confirm/index.js +15 -14
  846. package/src/components/drawer/headerAction.tsx +6 -6
  847. package/src/components/drawer/headerDrop.tsx +25 -22
  848. package/src/components/drawer/index.tsx +25 -20
  849. package/src/components/drawer/utils/dom.ts +13 -13
  850. package/src/components/drawer/utils/index.ts +5 -5
  851. package/src/components/drawer/utils/useForceUpdate.ts +3 -3
  852. package/src/components/drawer-manager/context.ts +2 -1
  853. package/src/components/drawer-manager/drawerWrapper.tsx +14 -13
  854. package/src/components/drawer-manager/index.tsx +19 -11
  855. package/src/components/drawer-manager/utils/dom.ts +13 -13
  856. package/src/components/drawer-manager/utils/index.ts +5 -5
  857. package/src/components/drawer-manager/utils/useForceUpdate.ts +3 -3
  858. package/src/components/drop-selector/icon-item.js +23 -21
  859. package/src/components/drop-selector/index.js +68 -63
  860. package/src/components/drop-selector/index.scss +5 -5
  861. package/src/components/dynamic/advertise/components/next-btn/index.tsx +10 -12
  862. package/src/components/dynamic/advertise/components/pre-btn/index.tsx +10 -12
  863. package/src/components/dynamic/advertise/index.tsx +14 -16
  864. package/src/components/dynamic/components/dangerous-html/index.tsx +5 -8
  865. package/src/components/dynamic/components/dynamic-search-input/index.tsx +26 -25
  866. package/src/components/dynamic/components/first-level-tabs/index.tsx +17 -20
  867. package/src/components/dynamic/components/obj-status/index.tsx +3 -6
  868. package/src/components/dynamic/components/percent/index.tsx +20 -20
  869. package/src/components/dynamic/components/title/index.tsx +2 -2
  870. package/src/components/dynamic/constant.ts +21 -21
  871. package/src/components/dynamic/context/index.ts +3 -3
  872. package/src/components/dynamic/dynamic-item/components/header/index.tsx +70 -72
  873. package/src/components/dynamic/dynamic-item/dynamic-align/index.tsx +30 -28
  874. package/src/components/dynamic/dynamic-item/dynamic-announcement/index.tsx +23 -23
  875. package/src/components/dynamic/dynamic-item/dynamic-assessment/index.tsx +21 -23
  876. package/src/components/dynamic/dynamic-item/dynamic-create-o/index.tsx +53 -47
  877. package/src/components/dynamic/dynamic-item/dynamic-kr/index.tsx +33 -30
  878. package/src/components/dynamic/dynamic-item/dynamic-milestone/constant.ts +5 -5
  879. package/src/components/dynamic/dynamic-item/dynamic-milestone/index.tsx +54 -52
  880. package/src/components/dynamic/dynamic-item/dynamic-okrs-communication/index.tsx +22 -24
  881. package/src/components/dynamic/dynamic-item/dynamic-plan-communication/index.tsx +22 -24
  882. package/src/components/dynamic/dynamic-item/dynamic-progress/index.tsx +30 -27
  883. package/src/components/dynamic/dynamic-item/dynamic-project/constant.ts +8 -8
  884. package/src/components/dynamic/dynamic-item/dynamic-project/index.tsx +39 -34
  885. package/src/components/dynamic/dynamic-item/dynamic-relative/index.tsx +33 -31
  886. package/src/components/dynamic/dynamic-item/dynamic-replay/index.tsx +79 -79
  887. package/src/components/dynamic/dynamic-item/dynamic-report/index.tsx +35 -37
  888. package/src/components/dynamic/dynamic-item/dynamic-reward/index.tsx +40 -40
  889. package/src/components/dynamic/dynamic-item/dynamic-share/index.tsx +23 -23
  890. package/src/components/dynamic/dynamic-item/dynamic-share-to-dynamic/index.tsx +83 -83
  891. package/src/components/dynamic/dynamic-item/dynamic-task/constant.ts +8 -8
  892. package/src/components/dynamic/dynamic-item/dynamic-task/index.tsx +38 -35
  893. package/src/components/dynamic/dynamic-item/index.tsx +35 -36
  894. package/src/components/dynamic/dynamic-like-ranking/index.tsx +21 -26
  895. package/src/components/dynamic/dynamic-like-ranking/item.tsx +9 -7
  896. package/src/components/dynamic/dynamic-like-ranking/mock.js +38 -38
  897. package/src/components/dynamic/dynamic-liking/index.tsx +4 -3
  898. package/src/components/dynamic/dynamic-liking/item.tsx +4 -4
  899. package/src/components/dynamic/dynamic-liking/mock.js +32 -32
  900. package/src/components/dynamic/dynamic-list/index.tsx +12 -14
  901. package/src/components/dynamic/dynamic-topping/index.tsx +4 -3
  902. package/src/components/dynamic/dynamic-topping/interface.ts +1 -1
  903. package/src/components/dynamic/dynamic-topping/item.tsx +17 -15
  904. package/src/components/dynamic/dynamic-topping/request-api.js +7 -15
  905. package/src/components/dynamic/dynamic.tsx +49 -50
  906. package/src/components/dynamic/export-module/index.tsx +7 -7
  907. package/src/components/dynamic/index.tsx +1 -1
  908. package/src/components/dynamic/my-team/index.tsx +18 -16
  909. package/src/components/dynamic/my-team/request-api.ts +23 -29
  910. package/src/components/dynamic/online-broadcast/components/broadcast-item/index.tsx +1 -1
  911. package/src/components/dynamic/online-broadcast/data.ts +70 -70
  912. package/src/components/dynamic/online-broadcast/index.tsx +30 -34
  913. package/src/components/dynamic/quick-operation/components/create-announcement/index.tsx +1 -1
  914. package/src/components/dynamic/quick-operation/components/create-okr/index.tsx +1 -1
  915. package/src/components/dynamic/quick-operation/components/create-share/index.tsx +1 -1
  916. package/src/components/dynamic/quick-operation/components/create-task/index.tsx +1 -1
  917. package/src/components/dynamic/quick-operation/index.tsx +17 -17
  918. package/src/components/dynamic/request-api.ts +20 -38
  919. package/src/components/dynamic/util.ts +25 -32
  920. package/src/components/e-priority/index.js +38 -20
  921. package/src/components/eReport/eReportListEmpty.tsx +12 -7
  922. package/src/components/eReport/eReportLists/reportList.tsx +125 -104
  923. package/src/components/eReport/eReportLists/style.ts +6 -6
  924. package/src/components/eReport/eReportShare/index.tsx +46 -39
  925. package/src/components/eReport/eReportShare/style.ts +5 -5
  926. package/src/components/eReport/eReportShare/toast/index.tsx +12 -9
  927. package/src/components/eReport/eReportShare/toast/style.ts +5 -5
  928. package/src/components/edit-kr-wight/EditKrWightModal.tsx +58 -47
  929. package/src/components/edit-kr-wight/FormItemV2.tsx +13 -8
  930. package/src/components/edit-kr-wight/style/index.ts +4 -4
  931. package/src/components/edit-kr-wight/utils.ts +6 -7
  932. package/src/components/emotions-selector/index.tsx +2 -2
  933. package/src/components/emotions-selector/mockData.ts +284 -284
  934. package/src/components/emotions-selector/selector-content.tsx +63 -59
  935. package/src/components/emotions-selector/selector-pop.tsx +20 -18
  936. package/src/components/emotions-selector/style.ts +11 -11
  937. package/src/components/ereport-list/index.tsx +126 -105
  938. package/src/components/ereport-list/style.ts +6 -6
  939. package/src/components/error-boundary/index.tsx +1 -1
  940. package/src/components/file-list/components/single-file/index.tsx +23 -20
  941. package/src/components/file-list/index.tsx +3 -3
  942. package/src/components/file-list/interface.ts +1 -1
  943. package/src/components/file-list/util.ts +18 -18
  944. package/src/components/firework/firework.ts +61 -65
  945. package/src/components/firework/index.tsx +13 -13
  946. package/src/components/follower-visitor/index.tsx +22 -22
  947. package/src/components/follower-visitor/request-api.ts +1 -3
  948. package/src/components/form/form-fields/department/department-input.tsx +28 -23
  949. package/src/components/form/form-fields/department/index.tsx +18 -18
  950. package/src/components/form/form-fields/dropdown/index.tsx +1 -1
  951. package/src/components/form/form-fields/duties/duties-input.tsx +22 -20
  952. package/src/components/form/form-fields/duties/index.tsx +59 -54
  953. package/src/components/form/form-fields/group/index.tsx +4 -6
  954. package/src/components/form/form-fields/input/index.tsx +69 -63
  955. package/src/components/form/form-fields/input-verification-code/index.tsx +16 -16
  956. package/src/components/form/form-fields/password/index.tsx +7 -9
  957. package/src/components/form/form-fields/radios/index.tsx +4 -2
  958. package/src/components/form/form-fields/textarea/index.tsx +34 -31
  959. package/src/components/form/form-fields/user/index.tsx +65 -60
  960. package/src/components/form/form-fields/user/user-input.tsx +23 -22
  961. package/src/components/form/index.tsx +11 -11
  962. package/src/components/form/layout/index.tsx +11 -9
  963. package/src/components/grid-layout/commen-components/advize.tsx +11 -5
  964. package/src/components/grid-layout/commen-components/card-contain.tsx +8 -7
  965. package/src/components/grid-layout/commen-components/card-title.tsx +11 -10
  966. package/src/components/grid-layout/commen-components/carditem-flexcontent.tsx +8 -7
  967. package/src/components/grid-layout/commen-components/data-item.tsx +27 -20
  968. package/src/components/grid-layout/commen-components/empty-backgrounds.tsx +42 -28
  969. package/src/components/grid-layout/commen-components/gap.tsx +2 -2
  970. package/src/components/grid-layout/commen-components/index.js +4 -5
  971. package/src/components/grid-layout/commen-components/scroll-tips.tsx +20 -16
  972. package/src/components/grid-layout/essay-component/essay-item.tsx +20 -13
  973. package/src/components/grid-layout/essay-component/index.tsx +17 -15
  974. package/src/components/grid-layout/image/could.js +1 -1
  975. package/src/components/grid-layout/image/lv.js +1 -1
  976. package/src/components/grid-layout/image/tita-mask.js +1 -1
  977. package/src/components/grid-layout/index.tsx +38 -21
  978. package/src/components/grid-layout/near-visitors/index.tsx +33 -29
  979. package/src/components/grid-layout/near-visitors/visitor.tsx +8 -6
  980. package/src/components/grid-layout/okr-align/index.tsx +52 -49
  981. package/src/components/grid-layout/okr-progress/index.tsx +45 -46
  982. package/src/components/grid-layout/okr-target/index.tsx +64 -64
  983. package/src/components/grid-layout/over-view/index.tsx +53 -54
  984. package/src/components/grid-layout/personal-info/index.tsx +52 -47
  985. package/src/components/grid-layout/sub-employee-okr/index.tsx +55 -45
  986. package/src/components/grid-layout/sub-employee-okr/person-okr.tsx +15 -11
  987. package/src/components/grid-layout/util/click-link.tsx +15 -16
  988. package/src/components/grid-layout/util/network.ts +26 -31
  989. package/src/components/grid-layout/week-task/index.tsx +48 -43
  990. package/src/components/grid-layout/words-cloud/index.tsx +24 -25
  991. package/src/components/grid-page/commen-components/scroll-tips.tsx +20 -16
  992. package/src/components/grid-page/near-visitors/visitor.tsx +8 -6
  993. package/src/components/grid-page/personal-info/index.tsx +52 -47
  994. package/src/components/help-card/index.tsx +84 -90
  995. package/src/components/help-card/request-api.js +10 -12
  996. package/src/components/hr-header/index.tsx +49 -50
  997. package/src/components/icon-button-list/index.js +41 -32
  998. package/src/components/img-viewer/icon/enlarge.tsx +6 -6
  999. package/src/components/img-viewer/icon/left-rotate.tsx +12 -12
  1000. package/src/components/img-viewer/icon/right-rotate.tsx +8 -8
  1001. package/src/components/img-viewer/icon/shrink.tsx +7 -7
  1002. package/src/components/img-viewer/index.tsx +40 -42
  1003. package/src/components/img-viewer/interface.ts +1 -1
  1004. package/src/components/img-viewer/util.ts +1 -1
  1005. package/src/components/invite-people/index.tsx +2 -2
  1006. package/src/components/keyword-search/index.tsx +33 -35
  1007. package/src/components/mblog/common/index.ts +57 -57
  1008. package/src/components/mblog/components/ConfirmPop.tsx +12 -11
  1009. package/src/components/mblog/components/MblogAction.tsx +80 -68
  1010. package/src/components/mblog/components/MblogContent.tsx +83 -73
  1011. package/src/components/mblog/context.ts +3 -2
  1012. package/src/components/mblog/index.tsx +86 -76
  1013. package/src/components/mblog/style.ts +20 -20
  1014. package/src/components/menus/components/drag-resize/index.tsx +30 -28
  1015. package/src/components/menus/components/flip-menu-card/flip-back-header.tsx +4 -4
  1016. package/src/components/menus/components/flip-menu-card/index.tsx +21 -19
  1017. package/src/components/menus/components/flip-menu-card/precls.ts +1 -1
  1018. package/src/components/menus/components/menu-card/index.tsx +18 -16
  1019. package/src/components/menus/components/menu-close-btn/index.tsx +19 -17
  1020. package/src/components/menus/components/menu-tree/index.tsx +28 -26
  1021. package/src/components/menus/components/menu-tree/precls.ts +1 -1
  1022. package/src/components/menus/components/menu-tree/tree-node/assess-manage.tsx +17 -14
  1023. package/src/components/menus/components/menu-tree/tree-node/assess-template.tsx +17 -14
  1024. package/src/components/menus/components/menu-tree/tree-node/avatar/index.tsx +20 -20
  1025. package/src/components/menus/components/menu-tree/tree-node/company-all.tsx +19 -17
  1026. package/src/components/menus/components/menu-tree/tree-node/compony/index.tsx +5 -5
  1027. package/src/components/menus/components/menu-tree/tree-node/depart/index.tsx +6 -6
  1028. package/src/components/menus/components/menu-tree/tree-node/follower/index.tsx +31 -29
  1029. package/src/components/menus/components/menu-tree/tree-node/group-name.tsx +10 -8
  1030. package/src/components/menus/components/menu-tree/tree-node/index.tsx +40 -41
  1031. package/src/components/menus/components/menu-tree/tree-node/loading.tsx +10 -9
  1032. package/src/components/menus/components/menu-tree/tree-node/menu-item.tsx +13 -11
  1033. package/src/components/menus/components/menu-tree/tree-node/no-follower.tsx +12 -10
  1034. package/src/components/menus/components/menu-tree/tree-node/no-subordinates.tsx +11 -10
  1035. package/src/components/menus/components/menu-tree/tree-node/parent-menu.tsx +13 -11
  1036. package/src/components/menus/components/menu-tree/tree-node/sub-menu-item.tsx +13 -11
  1037. package/src/components/menus/components/menu-tree/tree-node/user/index.tsx +13 -11
  1038. package/src/components/menus/components/menu-tree/tree-node/user-concern.tsx +41 -38
  1039. package/src/components/menus/components/search-colleague/index.tsx +31 -30
  1040. package/src/components/menus/context.js +2 -2
  1041. package/src/components/menus/export-modules/appraisal-menus/index.tsx +25 -27
  1042. package/src/components/menus/export-modules/appraisal-menus/menu-highlight.ts +29 -22
  1043. package/src/components/menus/export-modules/appraisal-menus/menus.ts +9 -9
  1044. package/src/components/menus/export-modules/manage-menus/constant.ts +1 -1
  1045. package/src/components/menus/export-modules/manage-menus/handle-highlight.ts +19 -20
  1046. package/src/components/menus/export-modules/manage-menus/index.tsx +10 -10
  1047. package/src/components/menus/export-modules/okr-menus/depart-menus/helper.ts +22 -22
  1048. package/src/components/menus/export-modules/okr-menus/depart-menus/index.tsx +58 -54
  1049. package/src/components/menus/export-modules/okr-menus/index.tsx +17 -16
  1050. package/src/components/menus/export-modules/okr-menus/menu-highlight.ts +10 -4
  1051. package/src/components/menus/export-modules/okr-menus/menus.ts +154 -152
  1052. package/src/components/menus/export-modules/okr-menus/okr-front-menus.tsx +69 -75
  1053. package/src/components/menus/export-modules/okr-menus/subordinate-menus/helper.ts +13 -14
  1054. package/src/components/menus/export-modules/okr-menus/subordinate-menus/index.tsx +41 -39
  1055. package/src/components/menus/i18n.ts +70 -41
  1056. package/src/components/menus/index.tsx +20 -18
  1057. package/src/components/menus/precls.js +1 -1
  1058. package/src/components/menus/request-apis.ts +48 -55
  1059. package/src/components/menus/types.ts +9 -10
  1060. package/src/components/menus/utils.ts +7 -6
  1061. package/src/components/nav-top/components/menu/index.tsx +154 -158
  1062. package/src/components/nav-top/components/user-message/components/empty/index.tsx +21 -21
  1063. package/src/components/nav-top/components/user-message/components/inform/index.tsx +7 -7
  1064. package/src/components/nav-top/components/user-message/components/inform/inform-item.tsx +65 -65
  1065. package/src/components/nav-top/components/user-message/components/red-pack/index.tsx +23 -25
  1066. package/src/components/nav-top/components/user-message/components/red-pack/request-api.ts +1 -3
  1067. package/src/components/nav-top/components/user-message/components/remind/index.tsx +6 -9
  1068. package/src/components/nav-top/components/user-message/components/remind/remind-item.tsx +10 -8
  1069. package/src/components/nav-top/components/user-message/components/reply/index.tsx +8 -9
  1070. package/src/components/nav-top/components/user-message/components/reply/reply-item.tsx +18 -18
  1071. package/src/components/nav-top/components/user-message/components/tab-title/index.tsx +2 -2
  1072. package/src/components/nav-top/components/user-message/components/todos/index.tsx +15 -13
  1073. package/src/components/nav-top/components/user-message/components/todos/todo-item.tsx +11 -11
  1074. package/src/components/nav-top/components/user-message/constant.ts +9 -9
  1075. package/src/components/nav-top/components/user-message/index.tsx +123 -131
  1076. package/src/components/nav-top/components/user-message/msg/index.tsx +32 -34
  1077. package/src/components/nav-top/components/user-message/utils.ts +13 -13
  1078. package/src/components/nav-top/components/user-own-menu/components/own-menu/index.tsx +6 -7
  1079. package/src/components/nav-top/components/user-own-menu/index.tsx +11 -11
  1080. package/src/components/nav-top/components/user-own-menu/utils.ts +21 -22
  1081. package/src/components/nav-top/constant.ts +4 -4
  1082. package/src/components/nav-top/index.tsx +22 -22
  1083. package/src/components/nav-top/request.apis.ts +18 -34
  1084. package/src/components/nav-top/utils.ts +5 -8
  1085. package/src/components/okr-detail/auth.js +25 -23
  1086. package/src/components/okr-detail/base-info/base-info.tsx +55 -61
  1087. package/src/components/okr-detail/base-info/index.tsx +2 -2
  1088. package/src/components/okr-detail/base-info/o-desc/index.tsx +15 -13
  1089. package/src/components/okr-detail/base-info/other-infos/classify/index.tsx +15 -16
  1090. package/src/components/okr-detail/base-info/other-infos/common/border-wrapper/index.tsx +14 -14
  1091. package/src/components/okr-detail/base-info/other-infos/date-cycle/index.tsx +27 -19
  1092. package/src/components/okr-detail/base-info/other-infos/index.tsx +2 -2
  1093. package/src/components/okr-detail/base-info/other-infos/okr-type/index.tsx +22 -22
  1094. package/src/components/okr-detail/base-info/other-infos/other-infos.tsx +1 -1
  1095. package/src/components/okr-detail/base-info/other-infos/principal/index.tsx +18 -19
  1096. package/src/components/okr-detail/base-info/other-infos/visibility/index.tsx +45 -41
  1097. package/src/components/okr-detail/base-info/person/index.tsx +40 -39
  1098. package/src/components/okr-detail/base-info/util.tsx +19 -27
  1099. package/src/components/okr-detail/base-info/utils/setting.ts +3 -4
  1100. package/src/components/okr-detail/components/ao-nice/index.js +83 -76
  1101. package/src/components/okr-detail/components/base-okr-type/confirm/buttonv2.tsx +18 -14
  1102. package/src/components/okr-detail/components/base-okr-type/confirm/confirm.tsx +35 -28
  1103. package/src/components/okr-detail/components/base-okr-type/index.tsx +12 -7
  1104. package/src/components/okr-detail/components/base-okr-type/object-type.tsx +95 -66
  1105. package/src/components/okr-detail/components/block-line/index.js +2 -2
  1106. package/src/components/okr-detail/components/editable-input/index.tsx +29 -25
  1107. package/src/components/okr-detail/components/header/edit-name.tsx +11 -9
  1108. package/src/components/okr-detail/components/header/index.js +29 -26
  1109. package/src/components/okr-detail/components/header/o-avatar.tsx +24 -14
  1110. package/src/components/okr-detail/components/header/o-cycle.tsx +26 -28
  1111. package/src/components/okr-detail/components/header/o-name.tsx +7 -4
  1112. package/src/components/okr-detail/components/header/o-score.tsx +18 -14
  1113. package/src/components/okr-detail/components/icon-text/index.js +6 -5
  1114. package/src/components/okr-detail/components/o-classify.tsx +21 -23
  1115. package/src/components/okr-detail/components/o-progress-update/index.tsx +11 -8
  1116. package/src/components/okr-detail/components/okr-tree/index.js +20 -18
  1117. package/src/components/okr-detail/components/okr-tree/precls.js +1 -1
  1118. package/src/components/okr-detail/components/okr-tree/tree-node/default-node.js +10 -8
  1119. package/src/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +48 -47
  1120. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/constant.ts +23 -23
  1121. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +18 -14
  1122. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +37 -20
  1123. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +83 -77
  1124. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +31 -29
  1125. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +44 -45
  1126. package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +39 -40
  1127. package/src/components/okr-detail/components/okr-tree/tree-node/get-process-color.js +40 -40
  1128. package/src/components/okr-detail/components/okr-tree/tree-node/index.js +34 -34
  1129. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +27 -27
  1130. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +188 -172
  1131. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.tsx +120 -90
  1132. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +34 -29
  1133. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.tsx +162 -133
  1134. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +5 -6
  1135. package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +40 -35
  1136. package/src/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +125 -117
  1137. package/src/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.tsx +13 -10
  1138. package/src/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +15 -15
  1139. package/src/components/okr-detail/components/okr-tree/tree-node/o-child-node/weight-input.tsx +6 -6
  1140. package/src/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +95 -85
  1141. package/src/components/okr-detail/components/okr-type.tsx +19 -16
  1142. package/src/components/okr-detail/components/padding-layout.js +7 -5
  1143. package/src/components/okr-detail/components/score/index.tsx +20 -12
  1144. package/src/components/okr-detail/components/tab-panel-content/index.js +9 -7
  1145. package/src/components/okr-detail/context.js +3 -3
  1146. package/src/components/okr-detail/cooperation/index.tsx +9 -6
  1147. package/src/components/okr-detail/detail-footer/index.tsx +56 -49
  1148. package/src/components/okr-detail/detail-header/actions.tsx +75 -76
  1149. package/src/components/okr-detail/detail-header/confirm.tsx +16 -16
  1150. package/src/components/okr-detail/detail-header/delete-confirm/delete-confirm.tsx +22 -22
  1151. package/src/components/okr-detail/detail-header/delete-confirm/style.ts +7 -7
  1152. package/src/components/okr-detail/detail-header/enums.ts +1 -1
  1153. package/src/components/okr-detail/detail-header/index.tsx +48 -49
  1154. package/src/components/okr-detail/e-list/constant.ts +23 -23
  1155. package/src/components/okr-detail/e-list/index.js +28 -32
  1156. package/src/components/okr-detail/e-list/precls.js +1 -1
  1157. package/src/components/okr-detail/e-list/search-form/fields/e-order.js +61 -48
  1158. package/src/components/okr-detail/e-list/search-form/fields/e-status.js +41 -33
  1159. package/src/components/okr-detail/e-list/search-form/fields/e-user.js +25 -20
  1160. package/src/components/okr-detail/e-list/search-form/index.js +13 -13
  1161. package/src/components/okr-detail/e-list/util.ts +125 -128
  1162. package/src/components/okr-detail/error-page/index.js +10 -10
  1163. package/src/components/okr-detail/index.js +104 -96
  1164. package/src/components/okr-detail/interface.ts +1 -1
  1165. package/src/components/okr-detail/loading/index.js +11 -9
  1166. package/src/components/okr-detail/okr-list/add-parent-okr.js +9 -9
  1167. package/src/components/okr-detail/okr-list/create-kr-item/dom.ts +7 -7
  1168. package/src/components/okr-detail/okr-list/create-kr-item/heart.js +15 -9
  1169. package/src/components/okr-detail/okr-list/create-kr-item/index.tsx +71 -67
  1170. package/src/components/okr-detail/okr-list/create-kr-item/style.ts +12 -12
  1171. package/src/components/okr-detail/okr-list/drag-order-kr.js +10 -13
  1172. package/src/components/okr-detail/okr-list/empty/index.js +23 -21
  1173. package/src/components/okr-detail/okr-list/index.js +60 -60
  1174. package/src/components/okr-detail/okr-list/warp-parent-okr.js +11 -13
  1175. package/src/components/okr-detail/request-apis.ts +285 -371
  1176. package/src/components/okr-detail/schedule/components/detail-title/index.tsx +8 -6
  1177. package/src/components/okr-detail/schedule/components/kr-progress/index.tsx +26 -25
  1178. package/src/components/okr-detail/schedule/components/o-progress/index.tsx +145 -142
  1179. package/src/components/okr-detail/schedule/components/sub-o-progress/index.tsx +23 -28
  1180. package/src/components/okr-detail/schedule/components/title/index.tsx +6 -6
  1181. package/src/components/okr-detail/schedule/index.tsx +2 -2
  1182. package/src/components/okr-detail/schedule/schedule.tsx +30 -32
  1183. package/src/components/okr-detail/schedule/util.ts +4 -6
  1184. package/src/components/okr-filter-drawer/filter-form.tsx +37 -34
  1185. package/src/components/okr-filter-drawer/index.tsx +15 -17
  1186. package/src/components/okr-flow/child-node/fields/creator.js +4 -5
  1187. package/src/components/okr-flow/child-node/fields/okrClassify.js +7 -7
  1188. package/src/components/okr-flow/child-node/fields/okrType.js +6 -6
  1189. package/src/components/okr-flow/child-node/helper.js +14 -14
  1190. package/src/components/okr-flow/child-node/index.js +28 -24
  1191. package/src/components/okr-flow/child-node/kr-node.js +28 -20
  1192. package/src/components/okr-flow/child-node/work-node.js +49 -49
  1193. package/src/components/okr-flow/context.js +2 -1
  1194. package/src/components/okr-flow/empty/index.js +10 -7
  1195. package/src/components/okr-flow/export-modal/index.tsx +79 -77
  1196. package/src/components/okr-flow/export-modules/okr-search-panel/index.js +15 -15
  1197. package/src/components/okr-flow/index.js +2 -2
  1198. package/src/components/okr-flow/mini-map/index.js +19 -17
  1199. package/src/components/okr-flow/mini-map/map.js +24 -24
  1200. package/src/components/okr-flow/mini-map/mini-node.js +7 -8
  1201. package/src/components/okr-flow/mini-map/utils.js +11 -7
  1202. package/src/components/okr-flow/okr-map/index.js +9 -8
  1203. package/src/components/okr-flow/open-data/index.js +29 -37
  1204. package/src/components/okr-flow/precls.js +1 -1
  1205. package/src/components/okr-flow/request-apis.js +19 -26
  1206. package/src/components/okr-flow/root-node/index.js +24 -23
  1207. package/src/components/okr-flow/utils/config.js +3 -3
  1208. package/src/components/okr-flow/utils/helper.js +8 -7
  1209. package/src/components/okr-flow/utils/index.js +13 -15
  1210. package/src/components/okr-flow/utils/tree-handler.js +47 -50
  1211. package/src/components/okr-period-selector/index.tsx +6 -6
  1212. package/src/components/okr-period-selector/request-apis.ts +5 -8
  1213. package/src/components/okr-period-selector/select-cycle.tsx +16 -13
  1214. package/src/components/okr-progress/components/detail-title/index.tsx +9 -7
  1215. package/src/components/okr-progress/components/kr-progress/index.tsx +28 -27
  1216. package/src/components/okr-progress/components/o-progress/index.tsx +144 -140
  1217. package/src/components/okr-progress/components/o-progress-update/index.tsx +11 -9
  1218. package/src/components/okr-progress/components/sub-o-progress/index.tsx +24 -29
  1219. package/src/components/okr-progress/components/title/index.tsx +7 -7
  1220. package/src/components/okr-progress/interface.ts +1 -1
  1221. package/src/components/okr-progress/okr-progress/index.tsx +33 -35
  1222. package/src/components/okr-progress/request-apis.ts +27 -36
  1223. package/src/components/okr-progress/util.ts +5 -7
  1224. package/src/components/okr-progress-detail/constant.ts +8 -8
  1225. package/src/components/okr-progress-detail/index.tsx +10 -7
  1226. package/src/components/okr-progress-detail/utils.ts +16 -17
  1227. package/src/components/okr-progress-modal/helper.js +90 -88
  1228. package/src/components/okr-progress-modal/index.tsx +68 -61
  1229. package/src/components/okr-progress-modal/interface.ts +2 -2
  1230. package/src/components/okr-progress-modal/request-apis.js +7 -15
  1231. package/src/components/okr-progress-modal/style.ts +8 -8
  1232. package/src/components/okr-progress-modal/textarea/index.tsx +7 -5
  1233. package/src/components/okr-progress-modal/textarea/style.tsx +2 -2
  1234. package/src/components/okr-review/ReviewPop/components/ReviewBody/index.tsx +188 -222
  1235. package/src/components/okr-review/ReviewPop/components/ReviewBody/style.ts +2 -2
  1236. package/src/components/okr-review/ReviewPop/components/Toast/index.tsx +4 -4
  1237. package/src/components/okr-review/ReviewPop/components/Toast/style.ts +2 -2
  1238. package/src/components/okr-review/ReviewPop/index.tsx +57 -46
  1239. package/src/components/okr-review/ReviewPop/style.ts +9 -9
  1240. package/src/components/okr-review/common.ts +10 -10
  1241. package/src/components/okr-review/components/ReviewItem/index.tsx +28 -16
  1242. package/src/components/okr-review/components/ReviewItem/style.ts +12 -12
  1243. package/src/components/okr-review/components/confirm-pop/ConfirmPop.tsx +26 -23
  1244. package/src/components/okr-review/components/confirm-pop/style.ts +7 -7
  1245. package/src/components/okr-review/index.tsx +77 -69
  1246. package/src/components/okr-review/style.ts +20 -20
  1247. package/src/components/okr-share/common-painter/darwAvatar.ts +7 -8
  1248. package/src/components/okr-share/common-painter/openDataPainter.ts +20 -20
  1249. package/src/components/okr-share/common-painter/setSize.ts +4 -4
  1250. package/src/components/okr-share/common-painter/utils.ts +17 -19
  1251. package/src/components/okr-share/index.tsx +28 -30
  1252. package/src/components/okr-share/pink-card/card.tsx +17 -16
  1253. package/src/components/okr-share/pink-card/drawDepartmentName.ts +5 -5
  1254. package/src/components/okr-share/pink-card/drawKrs.ts +6 -6
  1255. package/src/components/okr-share/pink-card/drawOKrName.ts +4 -4
  1256. package/src/components/okr-share/pink-card/drawQuote.ts +5 -5
  1257. package/src/components/okr-share/pink-card/drawUserName.ts +10 -10
  1258. package/src/components/okr-share/pink-card/images.ts +4 -5
  1259. package/src/components/okr-share/pink-card/index.ts +23 -24
  1260. package/src/components/okr-share/publishMblog.tsx +6 -4
  1261. package/src/components/okr-share/request-apis.js +11 -27
  1262. package/src/components/okr-share/shareCardSelector.tsx +38 -30
  1263. package/src/components/okr-share/types.ts +1 -1
  1264. package/src/components/okrcase-library/index.tsx +169 -170
  1265. package/src/components/okrcase-library/okrcases-components/caseLibrary-cardList/index.tsx +45 -32
  1266. package/src/components/okrcase-library/okrcases-components/caseLibrary-cardList/okrcase-card.tsx +85 -60
  1267. package/src/components/okrcase-library/okrcases-components/caseLibrary-main.tsx +68 -40
  1268. package/src/components/okrcase-library/okrcases-components/caseLibrary-nav.tsx +53 -35
  1269. package/src/components/okrcase-library/okrcases-components/caseLibray-header.tsx +2 -2
  1270. package/src/components/okrcase-library/okrcases-components/submitOkr-dialog.tsx +107 -86
  1271. package/src/components/okrcase-library/server/network.js +73 -80
  1272. package/src/components/okrcase-library-card/index.tsx +59 -46
  1273. package/src/components/open-data-painter/index.ts +39 -40
  1274. package/src/components/operation-records/OperationRecordItem.tsx +16 -12
  1275. package/src/components/operation-records/index.tsx +83 -74
  1276. package/src/components/operation-records/mockData.ts +315 -315
  1277. package/src/components/operation-records/style.ts +17 -17
  1278. package/src/components/pagination/index.tsx +2 -2
  1279. package/src/components/pagination/locale/en_US.js +11 -11
  1280. package/src/components/pagination/locale/zh_CN.js +11 -11
  1281. package/src/components/pagination/pagination.tsx +21 -21
  1282. package/src/components/password-input/icon/close-eye.tsx +8 -8
  1283. package/src/components/password-input/icon/open-eye.tsx +8 -8
  1284. package/src/components/password-input/index.tsx +24 -18
  1285. package/src/components/password-input/interface.ts +1 -1
  1286. package/src/components/period-selector/common.ts +42 -43
  1287. package/src/components/period-selector/components/button/index.tsx +8 -6
  1288. package/src/components/period-selector/components/button/style.ts +3 -3
  1289. package/src/components/period-selector/components/selector/index.tsx +36 -40
  1290. package/src/components/period-selector/components/selector/style.tsx +10 -10
  1291. package/src/components/period-selector/helper/index.ts +13 -14
  1292. package/src/components/period-selector/index.tsx +13 -17
  1293. package/src/components/period-selector/style.tsx +2 -2
  1294. package/src/components/period-selector/type.ts +1 -1
  1295. package/src/components/photo-card/components/card/index.tsx +26 -24
  1296. package/src/components/photo-card/index.tsx +24 -24
  1297. package/src/components/photo-card/request.apis.ts +6 -16
  1298. package/src/components/photo-card/types/image.d.ts +1 -1
  1299. package/src/components/point-demo/constant.ts +22 -26
  1300. package/src/components/point-demo/drop-down-box/index.js +50 -52
  1301. package/src/components/point-demo/index.js +384 -339
  1302. package/src/components/point-demo/input/index.js +33 -31
  1303. package/src/components/point-demo/point-demo.js +23 -22
  1304. package/src/components/point-demo/popup/index.js +31 -27
  1305. package/src/components/point-demo/popup/placement.js +23 -23
  1306. package/src/components/popup/index.tsx +35 -31
  1307. package/src/components/popup/placement.tsx +23 -23
  1308. package/src/components/praise-record/PraiseRecordItem.tsx +32 -16
  1309. package/src/components/praise-record/index.tsx +51 -41
  1310. package/src/components/praise-record/style.ts +11 -11
  1311. package/src/components/progress/circle-progress/index.tsx +21 -21
  1312. package/src/components/progress/index.tsx +6 -8
  1313. package/src/components/progress/line-progress/index.tsx +33 -21
  1314. package/src/components/progress/utils.ts +26 -26
  1315. package/src/components/publish-dynamic-modal/index.tsx +3 -2
  1316. package/src/components/publish-dynamic-modal/interface.ts +1 -1
  1317. package/src/components/publish-dynamic-modal/publish-dynamic-modal.tsx +52 -52
  1318. package/src/components/publish-dynamic-modal/requist-api.ts +28 -26
  1319. package/src/components/radio/index.tsx +5 -4
  1320. package/src/components/radio/radio.tsx +14 -13
  1321. package/src/components/radio/radioGroup.tsx +11 -11
  1322. package/src/components/range-picker-pop/index.js +69 -65
  1323. package/src/components/range-selector-pop/RangeList.tsx +8 -9
  1324. package/src/components/range-selector-pop/RangeSelectorPop.tsx +20 -18
  1325. package/src/components/scrollbar/index.tsx +18 -16
  1326. package/src/components/scrollbar/simplebar/helpers.js +7 -7
  1327. package/src/components/scrollbar/simplebar/index.js +45 -47
  1328. package/src/components/scrollbar/simplebar/scrollbar-width.js +8 -9
  1329. package/src/components/scrollbar/simplebar/simplebar.js +233 -260
  1330. package/src/components/scrollbar/simplebar-react.js +23 -23
  1331. package/src/components/search-dropdown/index.js +19 -17
  1332. package/src/components/search-input/index.js +65 -64
  1333. package/src/components/search-key-handle/index.tsx +5 -5
  1334. package/src/components/select/Option.js +19 -18
  1335. package/src/components/select/index.js +65 -55
  1336. package/src/components/select-layer/index.tsx +20 -22
  1337. package/src/components/select-tags/index.tsx +9 -11
  1338. package/src/components/selector-input/debounce.js +9 -8
  1339. package/src/components/selector-input/index.js +38 -33
  1340. package/src/components/slider-input/index.js +31 -31
  1341. package/src/components/stateless-dropdown/dropdown-selector.tsx +1 -1
  1342. package/src/components/stateless-dropdown/index.tsx +4 -3
  1343. package/src/components/stateless-dropdown/stateless-dropdown.tsx +15 -15
  1344. package/src/components/status-time/index.tsx +33 -28
  1345. package/src/components/stop-taking-modal/index.tsx +21 -21
  1346. package/src/components/switch/index.js +18 -16
  1347. package/src/components/table/index.js +108 -100
  1348. package/src/components/tabs/index.js +25 -20
  1349. package/src/components/task-relation-modal/context.ts +2 -2
  1350. package/src/components/task-relation-modal/helper.ts +9 -9
  1351. package/src/components/task-relation-modal/index.tsx +78 -82
  1352. package/src/components/task-relation-modal/radio.tsx +3 -3
  1353. package/src/components/task-relation-modal/request-api.ts +17 -21
  1354. package/src/components/task-relation-modal/search/category-select.tsx +10 -10
  1355. package/src/components/task-relation-modal/search/okr-status-select.tsx +9 -9
  1356. package/src/components/task-relation-modal/search/okr-type-select.tsx +12 -14
  1357. package/src/components/task-relation-modal/search/principal.tsx +40 -38
  1358. package/src/components/task-relation-modal/search/relation.tsx +15 -16
  1359. package/src/components/task-relation-modal/search/search-dropdown/index.tsx +3 -3
  1360. package/src/components/task-relation-modal/tree/category-tree/index.tsx +17 -15
  1361. package/src/components/task-relation-modal/tree/category-tree/search-form.tsx +4 -3
  1362. package/src/components/task-relation-modal/tree/okr-tree/index.tsx +44 -47
  1363. package/src/components/task-relation-modal/tree/okr-tree/search-form.tsx +21 -21
  1364. package/src/components/task-relation-modal/tree/work-tree/index.tsx +44 -44
  1365. package/src/components/task-relation-modal/tree/work-tree/search-form.tsx +17 -19
  1366. package/src/components/task-relation-modal/tree-node/category-node/index.tsx +8 -6
  1367. package/src/components/task-relation-modal/tree-node/index.js +2 -3
  1368. package/src/components/task-relation-modal/tree-node/kr-node/index.tsx +18 -11
  1369. package/src/components/task-relation-modal/tree-node/milestone-node/index.tsx +18 -14
  1370. package/src/components/task-relation-modal/tree-node/o-node/index.tsx +11 -10
  1371. package/src/components/task-relation-modal/tree-node/work-node/index.tsx +10 -7
  1372. package/src/components/tita-chart/base/index.tsx +1 -1
  1373. package/src/components/tita-chart/charts/img/could.js +1 -1
  1374. package/src/components/tita-chart/charts/liquid-ball.tsx +46 -48
  1375. package/src/components/tita-chart/charts/pie.tsx +49 -46
  1376. package/src/components/tita-chart/charts/words-cloud.tsx +38 -34
  1377. package/src/components/tita-chart/errorBoundary/index.tsx +36 -33
  1378. package/src/components/tita-chart/hooks/useChart.ts +145 -147
  1379. package/src/components/tita-chart/index.ts +4 -4
  1380. package/src/components/tita-chart/interface.ts +13 -13
  1381. package/src/components/tita-chart/plots/liquid/index.tsx +31 -31
  1382. package/src/components/tita-chart/plots/pie/index.tsx +8 -8
  1383. package/src/components/tita-chart/plots/wordscloud/index.tsx +31 -31
  1384. package/src/components/tita-chart/util/createLoading.tsx +40 -40
  1385. package/src/components/tita-chart/util/createNode.ts +8 -8
  1386. package/src/components/tita-chart/util/getChart.ts +10 -10
  1387. package/src/components/tita-chart/util/index.ts +7 -3
  1388. package/src/components/tita-chart/util/utils.ts +45 -48
  1389. package/src/components/toast/components/SuccessRender.tsx +55 -39
  1390. package/src/components/toast/index.tsx +26 -26
  1391. package/src/components/toast/style/index.ts +1 -1
  1392. package/src/components/tooltip/error-tip.js +6 -6
  1393. package/src/components/tooltip/index.js +2 -2
  1394. package/src/components/tooltip/tooltip-text/index.tsx +16 -14
  1395. package/src/components/tooltip/tooltip.tsx +8 -8
  1396. package/src/components/tree/index.js +35 -32
  1397. package/src/components/tree/precls.js +1 -1
  1398. package/src/components/update-modal/index.tsx +13 -10
  1399. package/src/components/update-modal/request-api.ts +9 -11
  1400. package/src/components/upload/components/uploadedPreview.tsx +98 -90
  1401. package/src/components/upload/index.tsx +95 -98
  1402. package/src/components/upload/style.ts +11 -11
  1403. package/src/components/upload/type.ts +3 -3
  1404. package/src/components/upload/util.ts +42 -45
  1405. package/src/components/upload-photo-modal/constant.ts +23 -22
  1406. package/src/components/upload-photo-modal/index.tsx +182 -181
  1407. package/src/components/upload-photo-modal/request-api.ts +14 -25
  1408. package/src/components/upvote/attitude.ts +32 -34
  1409. package/src/components/upvote/index.tsx +13 -13
  1410. package/src/components/upvote/request-apis.js +10 -20
  1411. package/src/components/upvote/selector.tsx +38 -34
  1412. package/src/components/upvote/upvoteListModal.tsx +48 -40
  1413. package/src/components/user-selector/action-btns/btn-cancel.js +10 -8
  1414. package/src/components/user-selector/action-btns/btn-ok.js +10 -8
  1415. package/src/components/user-selector/action-btns/index.js +12 -10
  1416. package/src/components/user-selector/category-selector-panel/depart-tree.tsx +34 -32
  1417. package/src/components/user-selector/category-selector-panel/group-tree.tsx +29 -28
  1418. package/src/components/user-selector/category-selector-panel/index.tsx +54 -49
  1419. package/src/components/user-selector/constant.ts +13 -15
  1420. package/src/components/user-selector/context.js +3 -2
  1421. package/src/components/user-selector/empty/group.js +14 -14
  1422. package/src/components/user-selector/empty/index.js +13 -13
  1423. package/src/components/user-selector/export-modules/depart-search-selector/index.tsx +63 -63
  1424. package/src/components/user-selector/export-modules/depart-search-selector/result-part.js +29 -25
  1425. package/src/components/user-selector/export-modules/duties-selector/index.tsx +84 -91
  1426. package/src/components/user-selector/export-modules/field-tree-selector/index.tsx +43 -42
  1427. package/src/components/user-selector/export-modules/field-tree-selector/multiple-selector/index.tsx +34 -32
  1428. package/src/components/user-selector/export-modules/field-tree-selector/selector-generater.tsx +18 -15
  1429. package/src/components/user-selector/export-modules/field-tree-selector/single-selector/index.tsx +48 -43
  1430. package/src/components/user-selector/export-modules/field-tree-selector/single-selector/precls.ts +1 -1
  1431. package/src/components/user-selector/export-modules/field-tree-selector/single-selector/user-list.tsx +31 -31
  1432. package/src/components/user-selector/export-modules/group-selector/index.js +82 -78
  1433. package/src/components/user-selector/export-modules/group-selector/searched-panel.js +23 -20
  1434. package/src/components/user-selector/export-modules/multiple-user-selector--bak/index.js +74 -65
  1435. package/src/components/user-selector/export-modules/single-selector/index.tsx +37 -39
  1436. package/src/components/user-selector/index.js +12 -14
  1437. package/src/components/user-selector/interface.ts +1 -1
  1438. package/src/components/user-selector/layout/index.js +10 -8
  1439. package/src/components/user-selector/loading/index.js +8 -6
  1440. package/src/components/user-selector/request-apis.js +55 -71
  1441. package/src/components/user-selector/searched-panel/index.js +38 -33
  1442. package/src/components/user-selector/searched-panel/result-part.js +30 -26
  1443. package/src/components/user-selector/select-tree/choose-tree/index.tsx +51 -50
  1444. package/src/components/user-selector/select-tree/selected-tree/index.js +28 -26
  1445. package/src/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +24 -19
  1446. package/src/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +13 -11
  1447. package/src/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +30 -23
  1448. package/src/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +50 -42
  1449. package/src/components/user-selector/selected-panel/index.tsx +35 -33
  1450. package/src/components/user-selector/utils.js +59 -59
  1451. package/src/components/version-change-modal/constant.ts +50 -52
  1452. package/src/components/version-change-modal/index.tsx +15 -17
  1453. package/src/components/version-change-modal/request-api.ts +4 -6
  1454. package/src/components/viewer/ImageListRender.js +55 -51
  1455. package/src/components/viewer/index.js +85 -85
  1456. package/src/components/weekly-report/board.tsx +12 -9
  1457. package/src/components/weekly-report/card.tsx +73 -71
  1458. package/src/components/weekly-report/common-painter/darwAvatar.ts +14 -15
  1459. package/src/components/weekly-report/common-painter/drawName.ts +9 -9
  1460. package/src/components/weekly-report/common-painter/openDataPainter.ts +20 -21
  1461. package/src/components/weekly-report/common-painter/setSize.ts +4 -4
  1462. package/src/components/weekly-report/common-painter/utils.ts +17 -19
  1463. package/src/components/weekly-report/index.tsx +56 -57
  1464. package/src/components/weekly-report/interface.ts +1 -2
  1465. package/src/components/weekly-report/statistics.tsx +23 -18
  1466. package/src/components/word-cloud/index.js +27 -27
  1467. package/src/components/word-cloud/request-apis.js +5 -9
  1468. package/src/components-v1/animate/AnimateChild.js +19 -16
  1469. package/src/components-v1/animate/animate.js +42 -35
  1470. package/src/components-v1/animate/index.js +3 -2
  1471. package/src/components-v1/avatar/index.tsx +30 -19
  1472. package/src/components-v1/avatar/styles.ts +2 -1
  1473. package/src/components-v1/buttonv2/ButtonLinked.tsx +9 -6
  1474. package/src/components-v1/buttonv2/ButtonOutlined.tsx +4 -8
  1475. package/src/components-v1/buttonv2/ButtonRounded.tsx +10 -6
  1476. package/src/components-v1/buttonv2/DefaultButton.tsx +10 -5
  1477. package/src/components-v1/buttonv2/index.tsx +8 -5
  1478. package/src/components-v1/buttonv2/style/style.tsx +14 -13
  1479. package/src/components-v1/confirm/index.tsx +37 -29
  1480. package/src/components-v1/dom/index.js +11 -11
  1481. package/src/components-v1/dropDownSelector/StatelessDropdown.tsx +11 -11
  1482. package/src/components-v1/dropDownSelector/dropDownSelector.tsx +29 -20
  1483. package/src/components-v1/dropDownSelector/styles/index.tsx +2 -1
  1484. package/src/components-v1/input/Input.tsx +29 -20
  1485. package/src/components-v1/input/InputNumber.tsx +37 -22
  1486. package/src/components-v1/input/style/index.ts +1 -1
  1487. package/src/components-v1/placement/index.js +3 -2
  1488. package/src/components-v1/placement/placement.js +19 -14
  1489. package/src/components-v1/placement/placementInner.js +41 -31
  1490. package/src/components-v1/pop/Pop.js +42 -37
  1491. package/src/components-v1/pop/PopInner.js +74 -66
  1492. package/src/components-v1/pop/index.js +3 -2
  1493. package/src/components-v1/popConfirm/index.tsx +56 -42
  1494. package/src/components-v1/popConfirm/style.tsx +6 -6
  1495. package/src/components-v1/portals/Portals.tsx +13 -12
  1496. package/src/components-v1/progress/CircleProgress.js +37 -29
  1497. package/src/components-v1/progress/LineProgress.js +29 -20
  1498. package/src/components-v1/progress/index.js +12 -12
  1499. package/src/components-v1/radio/index.tsx +3 -2
  1500. package/src/components-v1/radio/radio.tsx +17 -9
  1501. package/src/components-v1/radio/radioGroup.tsx +11 -8
  1502. package/src/components-v1/search/cache.ts +21 -19
  1503. package/src/components-v1/search/index.tsx +25 -18
  1504. package/src/components-v1/select/Option.js +19 -18
  1505. package/src/components-v1/select/index.js +65 -55
  1506. package/src/components-v1/tabs/index.tsx +31 -26
  1507. package/src/components-v1/tabs/style.ts +12 -11
  1508. package/src/components-v1/textarea/index.tsx +60 -54
  1509. package/src/components-v1/textarea/style.ts +5 -5
  1510. package/src/components-v1/transition/index.tsx +81 -74
  1511. package/src/components-v1/userSelector/UserSelectorPop.tsx +43 -36
  1512. package/src/components-v1/userSelector/components/MultiMode/CommonList.tsx +81 -60
  1513. package/src/components-v1/userSelector/components/MultiMode/DepartmentList.tsx +24 -16
  1514. package/src/components-v1/userSelector/components/MultiMode/DepartmentTree.tsx +32 -19
  1515. package/src/components-v1/userSelector/components/MultiMode/SubsList.tsx +52 -32
  1516. package/src/components-v1/userSelector/components/MultiMode/index.tsx +43 -33
  1517. package/src/components-v1/userSelector/components/SearchBar.tsx +42 -37
  1518. package/src/components-v1/userSelector/components/SingleMode.tsx +88 -75
  1519. package/src/components-v1/userSelector/components/UserItem.tsx +24 -21
  1520. package/src/components-v1/userSelector/index.tsx +47 -24
  1521. package/src/components-v1/userSelector/style.ts +10 -9
  1522. package/src/components-v1/userSelector/types.ts +1 -1
  1523. package/src/components-v1/utils/animate/animate.js +41 -42
  1524. package/src/components-v1/utils/animate/event.js +39 -40
  1525. package/src/components-v1/utils/common/tools.ts +8 -10
  1526. package/src/components-v1/utils/dom/index.js +11 -11
  1527. package/src/components-v1/utils/placement/autoAdjustPlacement.js +52 -52
  1528. package/src/components-v1/utils/placement/getContainerVisibleArea.js +11 -12
  1529. package/src/components-v1/utils/placement/getExpectPlacement.js +18 -19
  1530. package/src/components-v1/utils/placement/getPlacementInContainer.js +10 -10
  1531. package/src/components-v1/utils/placement/placement.js +29 -31
  1532. package/src/hooks/useLocalStorage.ts +8 -9
  1533. package/src/index.d.ts +8 -8
  1534. package/src/index.js +7 -7
  1535. package/src/pages/aha2021/index.tsx +16 -15
  1536. package/src/pages/appointment-demo/drop-down-box/index.js +44 -46
  1537. package/src/pages/appointment-demo/index.js +419 -374
  1538. package/src/pages/appointment-demo/input/index.js +33 -31
  1539. package/src/pages/appointment-demo/popup/index.js +31 -27
  1540. package/src/pages/appointment-demo/popup/placement.js +23 -23
  1541. package/src/pages/dynamic/index.tsx +6 -6
  1542. package/src/pages/group-management/components/checkbox/index.js +10 -8
  1543. package/src/pages/group-management/components/input-form/index.js +32 -30
  1544. package/src/pages/group-management/components/openData/index.tsx +53 -56
  1545. package/src/pages/group-management/components/radio/index.js +5 -5
  1546. package/src/pages/group-management/components/table/index.js +68 -57
  1547. package/src/pages/group-management/groupInterface.js +71 -92
  1548. package/src/pages/group-management/index.js +3 -3
  1549. package/src/pages/group-management/page-view/empty.js +43 -40
  1550. package/src/pages/group-management/page-view/group-empty.js +22 -17
  1551. package/src/pages/group-management/page-view/importGroupStaff/index.js +90 -89
  1552. package/src/pages/group-management/page-view/index.js +175 -159
  1553. package/src/pages/group-management/page-view/loading/index.js +12 -11
  1554. package/src/pages/group-management/table/index.js +59 -53
  1555. package/src/pages/group-management/tree/add-group-dialog/index.js +73 -77
  1556. package/src/pages/group-management/tree/delete-group-dialog/index.js +40 -40
  1557. package/src/pages/group-management/tree/edit-group-dialog/index.js +70 -71
  1558. package/src/pages/group-management/tree/group-form/index.js +83 -68
  1559. package/src/pages/group-management/tree/index.js +82 -71
  1560. package/src/pages/group-management/tree/operation-panel.js +15 -13
  1561. package/src/pages/group-management/tree/trigger-render.js +45 -45
  1562. package/src/pages/home/components/data-list/index.tsx +40 -39
  1563. package/src/pages/home/components/data-list/nav-selector/index.tsx +18 -14
  1564. package/src/pages/home/components/data-list/table/columns/createDate.tsx +6 -7
  1565. package/src/pages/home/components/data-list/table/columns/cycleTime.tsx +3 -4
  1566. package/src/pages/home/components/data-list/table/columns/index.tsx +78 -73
  1567. package/src/pages/home/components/data-list/table/columns/krName.tsx +5 -5
  1568. package/src/pages/home/components/data-list/table/columns/link.tsx +7 -9
  1569. package/src/pages/home/components/data-list/table/columns/okrName.tsx +12 -12
  1570. package/src/pages/home/components/data-list/table/columns/progressAndRisk.tsx +28 -24
  1571. package/src/pages/home/components/data-list/table/columns/tag.tsx +10 -12
  1572. package/src/pages/home/components/data-list/table/columns/updateTime.tsx +12 -13
  1573. package/src/pages/home/components/data-list/table/columns/user.tsx +9 -7
  1574. package/src/pages/home/components/data-list/table/data-list-interface.ts +4 -4
  1575. package/src/pages/home/components/data-list/table/empty-table.tsx +11 -11
  1576. package/src/pages/home/components/data-list/table/index.tsx +49 -44
  1577. package/src/pages/home/components/data-list/table/utils-function.ts +43 -45
  1578. package/src/pages/home/components/guide/index.tsx +20 -19
  1579. package/src/pages/home/components/guide/stepItem.tsx +15 -13
  1580. package/src/pages/home/components/header/index.tsx +9 -9
  1581. package/src/pages/home/index.tsx +2 -2
  1582. package/src/pages/home-page-data-list/index.tsx +34 -34
  1583. package/src/pages/like-ranking/column.tsx +68 -68
  1584. package/src/pages/like-ranking/filter-buttons/department.tsx +4 -4
  1585. package/src/pages/like-ranking/filter-buttons/group.tsx +4 -4
  1586. package/src/pages/like-ranking/filter-buttons/index.tsx +10 -11
  1587. package/src/pages/like-ranking/filter-buttons/modular.tsx +37 -40
  1588. package/src/pages/like-ranking/filter-buttons/name.tsx +16 -18
  1589. package/src/pages/like-ranking/filter-buttons/search-dropdown/index.tsx +2 -2
  1590. package/src/pages/like-ranking/filter-buttons/timer.tsx +14 -17
  1591. package/src/pages/like-ranking/index.tsx +38 -40
  1592. package/src/pages/like-ranking/mock.js +321 -321
  1593. package/src/pages/like-ranking/request-api.tsx +5 -7
  1594. package/src/pages/new-okr-list/context.ts +1 -1
  1595. package/src/pages/new-okr-list/header/comments.tsx +14 -12
  1596. package/src/pages/new-okr-list/header/create-okr.tsx +3 -3
  1597. package/src/pages/new-okr-list/header/depart-title.tsx +9 -8
  1598. package/src/pages/new-okr-list/header/filter.tsx +36 -38
  1599. package/src/pages/new-okr-list/header/index.tsx +29 -29
  1600. package/src/pages/new-okr-list/header/relation-title.tsx +4 -4
  1601. package/src/pages/new-okr-list/header/user-title.tsx +3 -3
  1602. package/src/pages/new-okr-list/index.tsx +37 -38
  1603. package/src/pages/new-okr-list/init-cycle-setting.tsx +6 -7
  1604. package/src/pages/new-okr-list/interface.tsx +2 -2
  1605. package/src/pages/new-okr-list/keyword-search/index.tsx +33 -35
  1606. package/src/pages/new-okr-list/list/index.tsx +3 -3
  1607. package/src/pages/new-okr-list/loading.tsx +6 -6
  1608. package/src/pages/new-okr-list/precls.ts +1 -1
  1609. package/src/pages/new-okr-list/request-api.ts +7 -11
  1610. package/src/pages/okr-map/export-modules/okr-map/header/index.js +40 -38
  1611. package/src/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +26 -22
  1612. package/src/pages/okr-map/export-modules/okr-map/index.tsx +2 -2
  1613. package/src/pages/okr-map/export-modules/okr-map/okr-map.js +102 -99
  1614. package/src/pages/okr-map/export-modules/share-okr-page/header/index.js +32 -28
  1615. package/src/pages/okr-map/export-modules/share-okr-page/index.tsx +2 -2
  1616. package/src/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +36 -36
  1617. package/src/pages/okr-map/hooks/useStorage.js +11 -14
  1618. package/src/pages/okr-map/index.js +2 -2
  1619. package/src/pages/okr-map/level2-search/depart.js +27 -25
  1620. package/src/pages/okr-map/level2-search/group.js +30 -28
  1621. package/src/pages/okr-map/level2-search/index.js +22 -20
  1622. package/src/pages/okr-map/level2-search/level2-input.js +19 -18
  1623. package/src/pages/okr-map/level2-search/user.js +11 -8
  1624. package/src/pages/okr-map/no-okr/index.js +4 -4
  1625. package/src/pages/okr-map/number-select/index.js +30 -26
  1626. package/src/pages/okr-map/open-data/index.js +29 -38
  1627. package/src/pages/okr-map/precls.js +1 -1
  1628. package/src/pages/okr-map/request-apis.js +11 -19
  1629. package/src/pages/okr-map/share-dialog/index.js +50 -46
  1630. package/src/pages/okr-map/unsupport-ie/index.js +26 -20
  1631. package/src/pages/okr-map/utils.js +1 -1
  1632. package/src/pages/personal-info/components/base-info/index.tsx +5 -5
  1633. package/src/pages/personal-info/components/edit-base-info/index.tsx +21 -20
  1634. package/src/pages/personal-info/components/person-photo/index.tsx +42 -39
  1635. package/src/pages/personal-info/index.tsx +4 -4
  1636. package/src/pages/personal-info/request-api.ts +5 -9
  1637. package/src/utils/auth.js +31 -25
  1638. package/src/utils/bs-global.js +25 -40
  1639. package/src/utils/constant.ts +14 -16
  1640. package/src/utils/date-test-change.ts +41 -45
  1641. package/src/utils/error-level.ts +1 -1
  1642. package/src/utils/format-time.ts +51 -51
  1643. package/src/utils/getLocale.ts +2 -4
  1644. package/src/utils/helpers.ts +20 -25
  1645. package/src/utils/i18n-front-translate.ts +4 -5
  1646. package/src/utils/local-storage.js +9 -9
  1647. package/src/utils/mblog.js +20 -21
  1648. package/src/utils/mock-bsglobal.js +614 -1
  1649. package/src/utils/open-data.js +58 -69
  1650. package/src/utils/platform.tsx +12 -12
  1651. package/src/utils/request-v1.js +15 -15
  1652. package/src/utils/request.js +59 -67
  1653. package/src/utils/roundWeight.ts +30 -32
  1654. package/src/utils/tools.js +57 -62
  1655. package/yarn-error.log +0 -103
@@ -1,11 +1,11 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = void 0;
8
+ exports["default"] = _default;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -35,7 +35,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
35
35
 
36
36
  var pleCls = "titaui-checkbox";
37
37
 
38
- var _default = function _default(props) {
38
+ function _default(props) {
39
39
  var _classNames;
40
40
 
41
41
  var onChange = props.onChange,
@@ -69,6 +69,4 @@ var _default = function _default(props) {
69
69
  className: (0, _classnames["default"])(pleCls, (_classNames = {}, _defineProperty(_classNames, "".concat(pleCls, "--checked"), checked), _defineProperty(_classNames, "".concat(pleCls, "--disabled"), disabled), _classNames)),
70
70
  onClick: onClickHandle
71
71
  });
72
- };
73
-
74
- exports["default"] = _default;
72
+ }
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -11,10 +11,10 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _titaUi = require("tita-ui");
13
13
 
14
- var _publishMblog = _interopRequireDefault(require("./publishMblog"));
15
-
16
14
  var _rcQueueAnim = _interopRequireDefault(require("rc-queue-anim"));
17
15
 
16
+ var _publishMblog = _interopRequireDefault(require("./publishMblog"));
17
+
18
18
  require("./index.css");
19
19
 
20
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -80,7 +80,7 @@ var OkrShare = function OkrShare(_ref2) {
80
80
  setShareImage = _useState4[1];
81
81
 
82
82
  var modalRef = (0, _react.useRef)();
83
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_titaUi.Modal, {
83
+ return /*#__PURE__*/_react["default"].createElement(_titaUi.Modal, {
84
84
  visible: visible,
85
85
  className: "document-mouse-event-ignore",
86
86
  destroyOnClose: true,
@@ -101,7 +101,7 @@ var OkrShare = function OkrShare(_ref2) {
101
101
  shareImage: shareImage,
102
102
  defaultContent: defaultContent,
103
103
  shareComponent: shareComponent(setShareImage)
104
- }) : null));
104
+ }) : null);
105
105
  };
106
106
 
107
107
  var _default = OkrShare;
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -9,12 +9,12 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
+ var _reactDom = require("react-dom");
13
+
12
14
  var _mblog = _interopRequireDefault(require("../mblog"));
13
15
 
14
16
  var _context2 = _interopRequireDefault(require("../mblog/context"));
15
17
 
16
- var _reactDom = require("react-dom");
17
-
18
18
  var _requestApis = require("./request-apis");
19
19
 
20
20
  var _toast = _interopRequireDefault(require("../toast"));
@@ -29,9 +29,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
29
29
 
30
30
  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; }
31
31
 
32
- 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; }
32
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
33
33
 
34
- 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; }
34
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
35
35
 
36
36
  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; }
37
37
 
@@ -59,7 +59,7 @@ function PublishMblog(_ref) {
59
59
  closeModal = _ref.closeModal,
60
60
  uid = _ref.uid,
61
61
  _ref$defaultContent = _ref.defaultContent,
62
- defaultContent = _ref$defaultContent === void 0 ? (0, _getLocale.getLocale)('OKR_MyO_Popup_ShowmyOKR') : _ref$defaultContent;
62
+ defaultContent = _ref$defaultContent === void 0 ? (0, _getLocale.getLocale)("OKR_MyO_Popup_ShowmyOKR") : _ref$defaultContent;
63
63
 
64
64
  var _useState = (0, _react.useState)({
65
65
  url: "",
@@ -86,7 +86,7 @@ function PublishMblog(_ref) {
86
86
  className: "okr-share-mblog__container"
87
87
  }, /*#__PURE__*/_react["default"].createElement("div", {
88
88
  className: "okr-share-mblog__header"
89
- }, (0, _getLocale.getLocale)('OKR_MyO_Popup_PostNews'), /*#__PURE__*/_react["default"].createElement("i", {
89
+ }, (0, _getLocale.getLocale)("OKR_MyO_Popup_PostNews"), /*#__PURE__*/_react["default"].createElement("i", {
90
90
  className: "tu-icon-close",
91
91
  onClick: function onClick() {
92
92
  return closeModal();
@@ -101,7 +101,7 @@ function PublishMblog(_ref) {
101
101
  autoResizing: false,
102
102
  defaultContent: defaultContent,
103
103
  submitStatus: status,
104
- commentsTypeKey: "share-okr" + loginUserId + uid,
104
+ commentsTypeKey: "share-okr".concat(loginUserId).concat(uid),
105
105
  autoFocus: true,
106
106
  onMblogSubmit: /*#__PURE__*/function () {
107
107
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(type, data) {
@@ -126,7 +126,7 @@ function PublishMblog(_ref) {
126
126
  }));
127
127
 
128
128
  case 5:
129
- _toast["default"].Success((0, _getLocale.getLocale)('OKR_MyO_Popup_Sharedsuccee'));
129
+ _toast["default"].Success((0, _getLocale.getLocale)("OKR_MyO_Popup_Sharedsuccee"));
130
130
 
131
131
  setStatus(1);
132
132
  closeModal();
@@ -13,8 +13,8 @@ var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
13
13
  var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
14
14
 
15
15
  var requestDomain = function requestDomain() {
16
- if (!window.location.hostname.match(/dev/)) return '';
17
- return 'http://www.tita.gift';
16
+ if (!window.location.hostname.match(/dev/)) return "";
17
+ return "http://www.tita.gift";
18
18
  };
19
19
 
20
20
  var getImageBase64ByUrl = function getImageBase64ByUrl(toUserId) {
@@ -29,7 +29,7 @@ exports.getImageBase64ByUrl = getImageBase64ByUrl;
29
29
 
30
30
  var getBase64DownloadUrl = function getBase64DownloadUrl(base64) {
31
31
  return _axios["default"].post("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/okr/share/imageDownLoadDfs"), {
32
- 'SharePicLink': base64
32
+ SharePicLink: base64
33
33
  }).then(function (dfs) {
34
34
  return dfs.data;
35
35
  });
@@ -39,7 +39,7 @@ exports.getBase64DownloadUrl = getBase64DownloadUrl;
39
39
 
40
40
  var uploadBase64 = function uploadBase64(base64) {
41
41
  return _axios["default"].post("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/okr/share/imagedfs"), {
42
- 'SharePicLink': base64
42
+ SharePicLink: base64
43
43
  }).then(function (dfs) {
44
44
  return dfs.data;
45
45
  });
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -27,9 +27,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
27
27
 
28
28
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
29
29
 
30
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
30
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
31
31
 
32
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
32
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
33
33
 
34
34
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
35
35
 
@@ -44,7 +44,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
44
44
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
45
 
46
46
  var RVIewerOptions = {
47
- className: 'preview-image-container',
47
+ className: "preview-image-container",
48
48
  toolbar: {
49
49
  zoomIn: 4,
50
50
  zoomOut: 4,
@@ -89,7 +89,7 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
89
89
  src: item.smallImageUrl,
90
90
  alt: "",
91
91
  style: {
92
- cursor: 'pointer'
92
+ cursor: "pointer"
93
93
  },
94
94
  onMouseDown: function onMouseDown(event) {
95
95
  _this.RViewers.show(index);
@@ -112,8 +112,8 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
112
112
  // 图片文件
113
113
  return /*#__PURE__*/_react["default"].createElement("span", {
114
114
  style: {
115
- color: '#2879ff',
116
- cursor: 'pointer'
115
+ color: "#2879ff",
116
+ cursor: "pointer"
117
117
  },
118
118
  onMouseDown: function onMouseDown(event) {
119
119
  _this.RViewers.show(index);
@@ -121,29 +121,32 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
121
121
  event.stopPropagation();
122
122
  event.nativeEvent.stopImmediatePropagation();
123
123
  }
124
- }, _this.props.mode == 'column' ? (0, _getLocale.getLocale)('Mod_Preview') : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
125
- content: (0, _getLocale.getLocale)('Mod_Preview'),
124
+ }, _this.props.mode == "column" ? (0, _getLocale.getLocale)("Mod_Preview") : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
125
+ content: (0, _getLocale.getLocale)("Mod_Preview"),
126
126
  container: document.body
127
127
  }, /*#__PURE__*/_react["default"].createElement("span", {
128
128
  className: "tu-icon-magnifier-circle"
129
129
  })));
130
- } else if (item.documentSource == 1) {
130
+ }
131
+
132
+ if (item.documentSource == 1) {
131
133
  return /*#__PURE__*/_react["default"].createElement("a", {
132
134
  href: item.previewUrl,
133
135
  target: "_blank",
134
- "data-attachment": "preview"
135
- }, _this.props.mode == 'column' ? (0, _getLocale.getLocale)('Mod_Preview') : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
136
- content: (0, _getLocale.getLocale)('Mod_Preview'),
136
+ "data-attachment": "preview",
137
+ rel: "noreferrer"
138
+ }, _this.props.mode == "column" ? (0, _getLocale.getLocale)("Mod_Preview") : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
139
+ content: (0, _getLocale.getLocale)("Mod_Preview"),
137
140
  container: document.body
138
141
  }, /*#__PURE__*/_react["default"].createElement("span", {
139
142
  className: "tu-icon-magnifier-circle"
140
143
  })));
141
- } else {
142
- return /*#__PURE__*/_react["default"].createElement("span", null);
143
144
  }
144
- } else {
145
+
145
146
  return /*#__PURE__*/_react["default"].createElement("span", null);
146
147
  }
148
+
149
+ return /*#__PURE__*/_react["default"].createElement("span", null);
147
150
  };
148
151
 
149
152
  _this.state = {
@@ -189,7 +192,7 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
189
192
  }), attachments.length > 0 && attachments.map(function (item, index) {
190
193
  return /*#__PURE__*/_react["default"].createElement(_style.AttachmentItemWrapper, {
191
194
  style: itemStyle,
192
- className: "".concat(className, " ").concat(mode == 'column' ? '' : 'row-wrapper'),
195
+ className: "".concat(className, " ").concat(mode == "column" ? "" : "row-wrapper"),
193
196
  key: item.documentId
194
197
  }, _this2.renderAttachmentPreviewThumbnail(item, index), /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
195
198
  content: item.fileName,
@@ -201,8 +204,8 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
201
204
  }, /*#__PURE__*/_react["default"].createElement("a", {
202
205
  href: item.downloadUrl,
203
206
  "data-attachment": "dowload"
204
- }, mode == 'column' ? (0, _getLocale.getLocale)('Mod_Download') : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
205
- content: (0, _getLocale.getLocale)('Mod_Download'),
207
+ }, mode == "column" ? (0, _getLocale.getLocale)("Mod_Download") : /*#__PURE__*/_react["default"].createElement(_titaUi.Tooltip, {
208
+ content: (0, _getLocale.getLocale)("Mod_Download"),
206
209
  container: document.body
207
210
  }, /*#__PURE__*/_react["default"].createElement("span", {
208
211
  className: "tu-icon-download-circle"
@@ -216,5 +219,5 @@ var CommunicationAttachments = /*#__PURE__*/function (_PureComponent) {
216
219
 
217
220
  exports["default"] = CommunicationAttachments;
218
221
  CommunicationAttachments.defaultProps = {
219
- mode: 'column'
222
+ mode: "column"
220
223
  };
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -78,17 +78,17 @@ var CommunicationRecord = function CommunicationRecord(_ref) {
78
78
  userName: communicationTrack.publishUser.name,
79
79
  userId: communicationTrack.publishUser.userId
80
80
  }), /*#__PURE__*/_react["default"].createElement("span", {
81
- className: prefix + "__communication-colon"
81
+ className: "".concat(prefix, "__communication-colon")
82
82
  }, "\uFF1A")) : /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
83
83
  userName: communicationTrack.publishUser.name,
84
84
  userId: communicationTrack.publishUser.userId
85
85
  }), /*#__PURE__*/_react["default"].createElement("span", {
86
- className: prefix + "__communication-text"
87
- }, (0, _getLocale.getLocale)('Mod_Reply')), /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
86
+ className: "".concat(prefix, "__communication-text")
87
+ }, (0, _getLocale.getLocale)("Mod_Reply")), /*#__PURE__*/_react["default"].createElement(_ConvertUserName["default"], {
88
88
  userName: communicationTrack.parentUser.name,
89
89
  userId: communicationTrack.parentUser.userId
90
90
  }), /*#__PURE__*/_react["default"].createElement("span", {
91
- className: prefix + "__communication-colon"
91
+ className: "".concat(prefix, "__communication-colon")
92
92
  }, "\uFF1A"), /*#__PURE__*/_react["default"].createElement(_Portals["default"], null, /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {
93
93
  html: true,
94
94
  className: "tt-react-tooltip",
@@ -96,27 +96,27 @@ var CommunicationRecord = function CommunicationRecord(_ref) {
96
96
  type: "dark",
97
97
  effect: "solid"
98
98
  }))), /*#__PURE__*/_react["default"].createElement("span", {
99
- className: prefix + "__communication-content",
99
+ className: "".concat(prefix, "__communication-content"),
100
100
  ref: contentRef
101
101
  }, (0, _openData.parseTag)(communicationTrack.content.trim()))), communicationTrack.attachments && /*#__PURE__*/_react["default"].createElement("div", {
102
- className: prefix + "__communication-attachments"
102
+ className: "".concat(prefix, "__communication-attachments")
103
103
  }, /*#__PURE__*/_react["default"].createElement(_fileList["default"], {
104
104
  data: communicationTrack.attachments
105
105
  })), /*#__PURE__*/_react["default"].createElement("div", {
106
- className: prefix + "__communication-bottom"
106
+ className: "".concat(prefix, "__communication-bottom")
107
107
  }, /*#__PURE__*/_react["default"].createElement("span", {
108
- className: prefix + "__communication-time"
108
+ className: "".concat(prefix, "__communication-time")
109
109
  }, communicationTrack.createDate), /*#__PURE__*/_react["default"].createElement(_style.CommunicationActionbar, {
110
110
  className: "communication__actionbar"
111
111
  }, /*#__PURE__*/_react["default"].createElement(_style.ActionbarList, null, /*#__PURE__*/_react["default"].createElement(_style.ActionbarItem, {
112
112
  onMouseDown: function onMouseDown(event) {
113
113
  praiseStatus != 2 && onCommunicationRecordChange(event, "reply", index);
114
114
  }
115
- }, (0, _getLocale.getLocale)('Mod_Reply')), /*#__PURE__*/_react["default"].createElement(_style.ActionbarItem, {
115
+ }, (0, _getLocale.getLocale)("Mod_Reply")), /*#__PURE__*/_react["default"].createElement(_style.ActionbarItem, {
116
116
  onMouseDown: function onMouseDown(event) {
117
117
  praiseStatus != 2 && onCommunicationRecordChange(event, "praise", index);
118
118
  }
119
- }, communicationTrack.isPraise ? (0, _getLocale.getLocale)('Mod_Alreadyliked') : (0, _getLocale.getLocale)('Mod_Kudos')), communicationTrack.praiseTotal > 0 && /*#__PURE__*/_react["default"].createElement(_style.CommunicationPraiseTotal, {
119
+ }, communicationTrack.isPraise ? (0, _getLocale.getLocale)("Mod_Alreadyliked") : (0, _getLocale.getLocale)("Mod_Kudos")), communicationTrack.praiseTotal > 0 && /*#__PURE__*/_react["default"].createElement(_style.CommunicationPraiseTotal, {
120
120
  className: "communication__praise__total",
121
121
  onMouseDown: function onMouseDown(event) {
122
122
  onCommunicationRecordChange(event, "showPraiseRecord", index);
@@ -128,14 +128,14 @@ var CommunicationRecord = function CommunicationRecord(_ref) {
128
128
  event.nativeEvent.stopImmediatePropagation();
129
129
  },
130
130
  "data-for": "praise-record",
131
- "data-tip": !!communicationTrack.praiseTotal ? (0, _getLocale.getLocale)('Tasks_Tab_MyS_Clickrecord') : ""
131
+ "data-tip": communicationTrack.praiseTotal ? (0, _getLocale.getLocale)("Tasks_Tab_MyS_Clickrecord") : ""
132
132
  }, communicationTrack.praiseTotal) // </ToolTip>
133
133
  , communicationTrack.isEdit && /*#__PURE__*/_react["default"].createElement(_ConfirmPop["default"], {
134
134
  align: confirmPopAlign,
135
135
  onSubmit: function onSubmit(event) {
136
136
  return onCommunicationRecordChange(event, "delete", index);
137
137
  }
138
- }, /*#__PURE__*/_react["default"].createElement(_style.ActionbarItem, null, (0, _getLocale.getLocale)('Mod_Delete'))))))), /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {
138
+ }, /*#__PURE__*/_react["default"].createElement(_style.ActionbarItem, null, (0, _getLocale.getLocale)("Mod_Delete"))))))), /*#__PURE__*/_react["default"].createElement(_reactTooltip["default"], {
139
139
  id: "praise-record",
140
140
  className: "tt-react-tooltip",
141
141
  place: "top",
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
25
25
 
26
26
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
27
 
28
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
29
29
 
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
31
 
32
32
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
33
 
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -49,9 +49,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
49
49
 
50
50
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
51
51
 
52
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
52
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
53
53
 
54
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
54
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
55
55
 
56
56
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
57
57
 
@@ -232,7 +232,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
232
232
  sentData.CommentId = 0;
233
233
  sentData.ObjId = 0;
234
234
  sentData.ObjType = 0;
235
- sentData.Content = sentData.Content || ' ';
235
+ sentData.Content = sentData.Content || " ";
236
236
 
237
237
  if (isShowReplyToUser) {
238
238
  sentData.CommentId = replyUserCommentId;
@@ -352,25 +352,25 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
352
352
  commentCount = _this$props7.commentCount,
353
353
  useCustomMblog = _this$props7.useCustomMblog,
354
354
  _this$props7$submitTe = _this$props7.submitText,
355
- submitText = _this$props7$submitTe === void 0 ? (0, _getLocale.getLocale)('Mod_Reply') : _this$props7$submitTe,
355
+ submitText = _this$props7$submitTe === void 0 ? (0, _getLocale.getLocale)("Mod_Reply") : _this$props7$submitTe,
356
356
  _this$props7$highLigh = _this$props7.highLightKeyWord,
357
- highLightKeyWord = _this$props7$highLigh === void 0 ? '' : _this$props7$highLigh,
357
+ highLightKeyWord = _this$props7$highLigh === void 0 ? "" : _this$props7$highLigh,
358
358
  _this$props7$autoFocu = _this$props7.autoFocus,
359
359
  autoFocus = _this$props7$autoFocu === void 0 ? false : _this$props7$autoFocu;
360
360
  return /*#__PURE__*/_react["default"].createElement(_style.CommunicationWrapper, {
361
361
  className: "communcation-wrapper ".concat(className)
362
362
  }, /*#__PURE__*/_react["default"].createElement("div", null, communicationTrackTotal > 0 && /*#__PURE__*/_react["default"].createElement(_style.CommunicationRecordTotal, null, /*#__PURE__*/_react["default"].createElement("div", {
363
- className: prefix + "__communication-total",
363
+ className: "".concat(prefix, "__communication-total"),
364
364
  onMouseDown: function onMouseDown() {
365
365
  return _this2.handlerSwitchShowRecord();
366
366
  }
367
- }, (0, _getLocale.getLocale)('Mod_Allcommu'), "\xA0", /*#__PURE__*/_react["default"].createElement("span", null, communicationTrackTotal), communicationTrackTotal > commentCount && /*#__PURE__*/_react["default"].createElement("i", {
368
- className: (0, _classnames["default"])(prefix + "__communication-total-icon", {
367
+ }, (0, _getLocale.getLocale)("Mod_Allcommu"), "\xA0", /*#__PURE__*/_react["default"].createElement("span", null, communicationTrackTotal), communicationTrackTotal > commentCount && /*#__PURE__*/_react["default"].createElement("i", {
368
+ className: (0, _classnames["default"])("".concat(prefix, "__communication-total-icon"), {
369
369
  "tu-icon-APP-xi": isShowAllCommunicationRecord,
370
370
  "tu-icon-arrow-down1": !isShowAllCommunicationRecord
371
371
  })
372
372
  }))), /*#__PURE__*/_react["default"].createElement("div", {
373
- className: prefix + "__communication-list"
373
+ className: "".concat(prefix, "__communication-list")
374
374
  }, communicationTrackList.length > 0 && communicationTrackList.map(function (item, index) {
375
375
  var length = communicationTrackList.length;
376
376
 
@@ -399,7 +399,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
399
399
  position: "relative",
400
400
  top: "2px"
401
401
  }
402
- }, (0, _getLocale.getLocale)('Mod_Reply')), /*#__PURE__*/_react["default"].createElement(_style.ReplyUser, null, /*#__PURE__*/_react["default"].createElement("span", {
402
+ }, (0, _getLocale.getLocale)("Mod_Reply")), /*#__PURE__*/_react["default"].createElement(_style.ReplyUser, null, /*#__PURE__*/_react["default"].createElement("span", {
403
403
  className: "name"
404
404
  }, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
405
405
  name: replyUser,
@@ -410,7 +410,7 @@ var Communication = /*#__PURE__*/function (_PureComponent) {
410
410
  }))), /*#__PURE__*/_react["default"].createElement(_mblog["default"], {
411
411
  setTextareaRef: setTextareaRef || function () {},
412
412
  isHasPlaceholder: true,
413
- placeholderText: (0, _getLocale.getLocale)('Mod_contentofyour'),
413
+ placeholderText: (0, _getLocale.getLocale)("Mod_contentofyour"),
414
414
  isShowRange: false,
415
415
  isShowBtnCancel: false,
416
416
  isShowSendSms: isShowSendSms,
@@ -11,7 +11,7 @@ require("./index.css");
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
14
- var Heart = function Heart(_ref) {
14
+ function Heart(_ref) {
15
15
  var con = _ref.con,
16
16
  i = _ref.i,
17
17
  confidence = _ref.confidence;
@@ -33,9 +33,7 @@ var Heart = function Heart(_ref) {
33
33
  if (index < confidenceIndex) {
34
34
  fill = fill1;
35
35
  } else fill = fill2;
36
- } else {
37
- if (index < i && i != confidenceIndex) fill = fill2;else if (index < i && i == confidenceIndex) fill = fill1;else fill = fill3;
38
- }
36
+ } else if (index < i && i != confidenceIndex) fill = fill2;else if (index < i && i == confidenceIndex) fill = fill1;else fill = fill3;
39
37
 
40
38
  if (index % 2 == 0) {
41
39
  item.push( /*#__PURE__*/_react["default"].createElement("svg", {
@@ -62,7 +60,7 @@ var Heart = function Heart(_ref) {
62
60
  }
63
61
 
64
62
  return /*#__PURE__*/_react["default"].createElement("div", null, item);
65
- };
63
+ }
66
64
 
67
65
  var _default = Heart;
68
66
  exports["default"] = _default;
@@ -1,6 +1,6 @@
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); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
- var _tooltip = _interopRequireDefault(require("..//tooltip"));
14
+ var _tooltip = _interopRequireDefault(require("../tooltip"));
15
15
 
16
16
  var _popup = _interopRequireDefault(require("../popup"));
17
17
 
@@ -31,7 +31,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
31
31
 
32
32
  var popPrecls = "heart-selector-pop";
33
33
 
34
- var Confidence = function Confidence(props) {
34
+ function Confidence(props) {
35
35
  var _props$value = props.value,
36
36
  value = _props$value === void 0 ? 5 : _props$value,
37
37
  _props$editable = props.editable,
@@ -55,7 +55,7 @@ var Confidence = function Confidence(props) {
55
55
  className: "".concat(popPrecls)
56
56
  }, /*#__PURE__*/_react["default"].createElement("p", {
57
57
  className: "".concat(popPrecls, "-title")
58
- }, (0, _getLocale.getLocale)('OKR_MyO_Title_Plecore')), /*#__PURE__*/_react["default"].createElement("ul", {
58
+ }, (0, _getLocale.getLocale)("OKR_MyO_Title_Plecore")), /*#__PURE__*/_react["default"].createElement("ul", {
59
59
  className: "".concat(popPrecls, "-list")
60
60
  }, HEART_RANGE.map(function (i, j) {
61
61
  return /*#__PURE__*/_react["default"].createElement("li", {
@@ -71,7 +71,7 @@ var Confidence = function Confidence(props) {
71
71
  confidence: value
72
72
  })), /*#__PURE__*/_react["default"].createElement("span", {
73
73
  className: "".concat(popPrecls, "-score")
74
- }, i, " ", (0, _getLocale.getLocale)('Per_Set_Form_Quantifier_Points')));
74
+ }, i, " ", (0, _getLocale.getLocale)("Per_Set_Form_Quantifier_Points")));
75
75
  })));
76
76
 
77
77
  if (!editable) {
@@ -83,11 +83,11 @@ var Confidence = function Confidence(props) {
83
83
  className: "titaui-kr-heart-icon"
84
84
  }), /*#__PURE__*/_react["default"].createElement("span", {
85
85
  className: "titaui-kr-heart-text"
86
- }, value, " ", (0, _getLocale.getLocale)('Per_Set_Form_Quantifier_Points')));
86
+ }, value, " ", (0, _getLocale.getLocale)("Per_Set_Form_Quantifier_Points")));
87
87
  }
88
88
 
89
89
  return /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
90
- overlay: (0, _getLocale.getLocale)('OKR_MyO_Title_Changecindex'),
90
+ overlay: (0, _getLocale.getLocale)("OKR_MyO_Title_Changecindex"),
91
91
  placement: "top"
92
92
  }, /*#__PURE__*/_react["default"].createElement(_popup["default"], {
93
93
  popup: PopupContent,
@@ -101,8 +101,8 @@ var Confidence = function Confidence(props) {
101
101
  className: "titaui-kr-heart-icon"
102
102
  }), /*#__PURE__*/_react["default"].createElement("span", {
103
103
  className: "titaui-kr-heart-text"
104
- }, value, " ", (0, _getLocale.getLocale)('Per_Set_Form_Quantifier_Points')))));
105
- };
104
+ }, value, " ", (0, _getLocale.getLocale)("Per_Set_Form_Quantifier_Points")))));
105
+ }
106
106
 
107
107
  var _default = Confidence;
108
108
  exports["default"] = _default;