@titaui/pc 1.12.62 → 1.12.64

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 (322) hide show
  1. package/lib/components/avatar/default.js +2 -5
  2. package/lib/components/avatar/index.css +0 -2
  3. package/lib/components/dialog-confirm/index.css +0 -1
  4. package/lib/components/dialog-confirm/index.js +4 -8
  5. package/lib/components/drawer/index.css +5 -5
  6. package/lib/components/drawer/index.js +7 -7
  7. package/lib/components/drop-selector/index.js +4 -7
  8. package/lib/components/dynamic/constant.js +1 -5
  9. package/lib/components/dynamic/dynamic-item/components/header/index.js +47 -49
  10. package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +1 -1
  11. package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +2 -3
  12. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +2 -3
  13. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +2 -3
  14. package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +2 -3
  15. package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +21 -4
  16. package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +5 -3
  17. package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +2 -3
  18. package/lib/components/dynamic/dynamic-item/index.css +2 -3
  19. package/lib/components/dynamic/dynamic-item/index.js +33 -52
  20. package/lib/components/dynamic/dynamic-list/index.js +8 -8
  21. package/lib/components/dynamic/img/dynamic-submit-delay.svg +16 -0
  22. package/lib/components/dynamic/img/dynamic-submit-normal.svg +18 -0
  23. package/lib/components/form/form-fields/date/index.js +8 -9
  24. package/lib/components/menus/components/menu-tree/tree-node/index.css +0 -120
  25. package/lib/components/menus/components/menu-tree/tree-node/index.js +2 -22
  26. package/lib/components/menus/components/menu-tree/tree-node/menu-item.js +1 -5
  27. package/lib/components/menus/components/search-colleague/index.js +1 -3
  28. package/lib/components/menus/export-modules/appraisal-menus/index.js +6 -6
  29. package/lib/components/menus/export-modules/appraisal-menus/menus.js +69 -69
  30. package/lib/components/menus/export-modules/demo-menus/menus.js +4 -5
  31. package/lib/components/menus/export-modules/interview-menus/constant.js +12 -12
  32. package/lib/components/menus/export-modules/okr-menus/index.js +6 -6
  33. package/lib/components/menus/export-modules/okr-menus/menus.js +60 -60
  34. package/lib/components/menus/export-modules/okr-menus/okr-front-menus.js +2 -2
  35. package/lib/components/menus/i18n.js +0 -8
  36. package/lib/components/menus/index.js +0 -6
  37. package/lib/components/menus/request-apis.js +2 -22
  38. package/lib/components/nav-top/components/app-center/index.css +1 -24
  39. package/lib/components/nav-top/components/app-center/index.js +10 -18
  40. package/lib/components/nav-top/components/menu/index.css +0 -11
  41. package/lib/components/nav-top/components/menu/index.js +53 -49
  42. package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +17 -28
  43. package/lib/components/nav-top/components/user-message/index.js +19 -19
  44. package/lib/components/nav-top/index.css +0 -5
  45. package/lib/components/nav-top/index.js +2 -39
  46. package/lib/components/okr-detail/components/header/index.js +1 -1
  47. package/lib/components/okr-detail/components/header/o-avatar.js +6 -6
  48. package/lib/components/okr-flow/export-modal/index.css +3 -3
  49. package/lib/components/okr-flow/export-modal/index.js +1 -1
  50. package/lib/components/okr-flow/okr-map/index.js +1 -3
  51. package/lib/components/order-have-award/index.js +6 -6
  52. package/lib/components/period-selector/components/button/style.js +5 -5
  53. package/lib/components/picker/components/panels/date-panel/date-body.js +19 -31
  54. package/lib/components/picker/components/panels/date-panel/date-head.js +8 -8
  55. package/lib/components/picker/components/panels/date-panel/index.js +1 -1
  56. package/lib/components/picker/components/panels/month-panel/index.css +0 -5
  57. package/lib/components/picker/components/panels/month-panel/index.js +4 -35
  58. package/lib/components/picker/components/panels/month-panel/month-body.js +5 -4
  59. package/lib/components/picker/components/panels/month-panel/month-head.js +1 -1
  60. package/lib/components/picker/components/panels/year-panel/index.css +0 -5
  61. package/lib/components/picker/components/panels/year-panel/index.js +1 -1
  62. package/lib/components/picker/components/panels/year-panel/year-body.js +3 -10
  63. package/lib/components/picker/components/picker-trigger/index.css +1 -6
  64. package/lib/components/picker/components/picker-trigger/index.js +11 -16
  65. package/lib/components/picker/context.js +2 -17
  66. package/lib/components/picker/index.css +1 -29
  67. package/lib/components/picker/index.js +0 -3
  68. package/lib/components/picker/picker-panels.js +60 -106
  69. package/lib/components/picker/picker.js +30 -44
  70. package/lib/components/picker/utils.js +11 -168
  71. package/lib/components/rich-editor/schemas/list.js +1 -0
  72. package/lib/components/rich-editor/ui/editor/index.css +32 -32
  73. package/lib/components/rich-editor/ui/editor/index.js +1 -1
  74. package/lib/components/search-input/index.js +0 -5
  75. package/lib/components/select-tags/index.js +2 -12
  76. package/lib/components/task-relation-modal/helper.js +6 -6
  77. package/lib/components/task-relation-modal/request-api.js +9 -9
  78. package/lib/components/task-relation-modal/tree/work-tree/search-form.js +4 -4
  79. package/lib/components/task-relation-modal/tree-node/work-node/index.js +5 -5
  80. package/lib/components/textarea/index.css +66 -61
  81. package/lib/components/textarea/index.js +18 -23
  82. package/lib/components/toast/index.js +1 -1
  83. package/lib/components/tooltip/tooltip.js +2 -2
  84. package/lib/components/upvote/index.js +4 -10
  85. package/lib/components/upvote/selector.js +3 -2
  86. package/lib/components/user-selector/category-selector-panel/depart-tree.js +1 -1
  87. package/lib/components/user-selector/export-modules/field-tree-selector/index.js +1 -1
  88. package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.css +3 -3
  89. package/lib/components/user-selector/request-apis.js +13 -13
  90. package/lib/components-v1/radio/style/index.css +1 -1
  91. package/lib/index.js +0 -64
  92. package/lib/pages/aha2021/index.css +17 -0
  93. package/lib/pages/aha2021/index.js +28 -3
  94. package/lib/pages/aha2021/new-menu-switcher/index.js +4 -4
  95. package/lib/pages/aha2021/request-api.js +1 -1
  96. package/lib/utils/auth.js +0 -10
  97. package/lib/utils/bs-global.js +1 -1
  98. package/lib/utils/constant.js +2 -14
  99. package/lib/utils/helpers.js +12 -112
  100. package/lib/utils/open-data.js +42 -41
  101. package/package.json +2 -3
  102. package/lib/components/attachments-preview/index.css +0 -9
  103. package/lib/components/attachments-preview/index.js +0 -116
  104. package/lib/components/auto-save/img/failed.svg +0 -17
  105. package/lib/components/auto-save/img/success.svg +0 -16
  106. package/lib/components/auto-save/index.css +0 -39
  107. package/lib/components/auto-save/index.js +0 -78
  108. package/lib/components/auto-save/interface.js +0 -5
  109. package/lib/components/color-date-picker/index.css +0 -69
  110. package/lib/components/color-date-picker/index.js +0 -129
  111. package/lib/components/color-date-picker/interface.js +0 -14
  112. package/lib/components/dialog-upload/img/doc.svg +0 -1
  113. package/lib/components/dialog-upload/img/other.svg +0 -1
  114. package/lib/components/dialog-upload/img/pdf.svg +0 -1
  115. package/lib/components/dialog-upload/img/ppt.svg +0 -1
  116. package/lib/components/dialog-upload/img/radio.svg +0 -1
  117. package/lib/components/dialog-upload/img/video.svg +0 -1
  118. package/lib/components/dialog-upload/img/xls.svg +0 -1
  119. package/lib/components/dialog-upload/index.css +0 -77
  120. package/lib/components/dialog-upload/index.js +0 -332
  121. package/lib/components/dialog-upload/type.js +0 -35
  122. package/lib/components/dialog-upload/uploaded-preview.css +0 -80
  123. package/lib/components/dialog-upload/uploaded-preview.js +0 -134
  124. package/lib/components/dialog-upload/util.js +0 -131
  125. package/lib/components/dynamic/components/comments-dialog/api.js +0 -27
  126. package/lib/components/dynamic/components/comments-dialog/encourage.js +0 -127
  127. package/lib/components/dynamic/components/comments-dialog/img/APP-shoucang-m.png +0 -0
  128. package/lib/components/dynamic/components/comments-dialog/img/ascore.png +0 -0
  129. package/lib/components/dynamic/components/comments-dialog/img/curEfforts.png +0 -0
  130. package/lib/components/dynamic/components/comments-dialog/img/curGood.png +0 -0
  131. package/lib/components/dynamic/components/comments-dialog/img/curGreat.png +0 -0
  132. package/lib/components/dynamic/components/comments-dialog/img/efforts.png +0 -0
  133. package/lib/components/dynamic/components/comments-dialog/img/good.png +0 -0
  134. package/lib/components/dynamic/components/comments-dialog/img/great.png +0 -0
  135. package/lib/components/dynamic/components/comments-dialog/img/halfscore.png +0 -0
  136. package/lib/components/dynamic/components/comments-dialog/img/loading.gif +0 -0
  137. package/lib/components/dynamic/components/comments-dialog/img/score.png +0 -0
  138. package/lib/components/dynamic/components/comments-dialog/img/top.svg +0 -14
  139. package/lib/components/dynamic/components/comments-dialog/index.css +0 -116
  140. package/lib/components/dynamic/components/comments-dialog/index.js +0 -208
  141. package/lib/components/dynamic/components/comments-dialog/rate.js +0 -143
  142. package/lib/components/dynamic/dynamic-item/components/header/img/evalute.png +0 -0
  143. package/lib/components/dynamic/dynamic-item/components/header/img/fighting.png +0 -0
  144. package/lib/components/dynamic/dynamic-item/components/header/img/happy.png +0 -0
  145. package/lib/components/dynamic/dynamic-item/components/header/img/long-story.png +0 -0
  146. package/lib/components/dynamic/dynamic-item/components/header/img/pressure.png +0 -0
  147. package/lib/components/dynamic/dynamic-item/components/okr-progress/constant.js +0 -31
  148. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +0 -217
  149. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +0 -176
  150. package/lib/components/dynamic/dynamic-item/components/okr-progress/interface.js +0 -5
  151. package/lib/components/dynamic/dynamic-item/components/okr-progress/request-api.js +0 -10
  152. package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +0 -27
  153. package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.css +0 -8
  154. package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.js +0 -26
  155. package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.css +0 -8
  156. package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.js +0 -26
  157. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.css +0 -197
  158. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +0 -222
  159. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/request-api.js +0 -20
  160. package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/util.js +0 -134
  161. package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.css +0 -10
  162. package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.js +0 -60
  163. package/lib/components/dynamic/dynamic-item/components/progress/index.css +0 -25
  164. package/lib/components/dynamic/dynamic-item/components/progress/index.js +0 -71
  165. package/lib/components/dynamic/dynamic-item/components/progress/interface.js +0 -5
  166. package/lib/components/dynamic/dynamic-item/components/schedule/index.css +0 -36
  167. package/lib/components/dynamic/dynamic-item/components/schedule/index.js +0 -31
  168. package/lib/components/dynamic/dynamic-item/components/schedule/interface.js +0 -5
  169. package/lib/components/dynamic/dynamic-item/components/summary-header/constant.js +0 -45
  170. package/lib/components/dynamic/dynamic-item/components/summary-header/img/evalute.png +0 -0
  171. package/lib/components/dynamic/dynamic-item/components/summary-header/img/fighting.png +0 -0
  172. package/lib/components/dynamic/dynamic-item/components/summary-header/img/guide-img.png +0 -0
  173. package/lib/components/dynamic/dynamic-item/components/summary-header/img/happy.png +0 -0
  174. package/lib/components/dynamic/dynamic-item/components/summary-header/img/long-story.png +0 -0
  175. package/lib/components/dynamic/dynamic-item/components/summary-header/img/pressure.png +0 -0
  176. package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +0 -187
  177. package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +0 -426
  178. package/lib/components/dynamic/dynamic-item/components/summary-header/operate-record.js +0 -49
  179. package/lib/components/dynamic/dynamic-item/components/summary-header/request-api.js +0 -23
  180. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +0 -30
  181. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +0 -57
  182. package/lib/components/dynamic/dynamic-item/components/table-row-o-project/interface.js +0 -5
  183. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +0 -50
  184. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +0 -67
  185. package/lib/components/dynamic/dynamic-item/components/table-row-okr/interface.js +0 -5
  186. package/lib/components/dynamic/dynamic-item/components/task-progress/constant.js +0 -29
  187. package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +0 -310
  188. package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +0 -193
  189. package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +0 -22
  190. package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +0 -80
  191. package/lib/components/dynamic/dynamic-item/components/task-progress/request-api.js +0 -16
  192. package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +0 -158
  193. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-big.png +0 -0
  194. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-small.png +0 -0
  195. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-write.png +0 -0
  196. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/evaluate-big.png +0 -0
  197. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png +0 -0
  198. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png +0 -0
  199. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-write.png +0 -0
  200. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-big.png +0 -0
  201. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-small.png +0 -0
  202. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-write.png +0 -0
  203. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +0 -115
  204. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +0 -212
  205. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +0 -43
  206. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +0 -49
  207. package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +0 -61
  208. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/evalute.png +0 -0
  209. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/fighting.png +0 -0
  210. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/happy.png +0 -0
  211. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/long-story.png +0 -0
  212. package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/pressure.png +0 -0
  213. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +0 -152
  214. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +0 -254
  215. package/lib/components/dynamic/dynamic-item/dynamic-new-report/util.js +0 -67
  216. package/lib/components/guide-tip/index.css +0 -68
  217. package/lib/components/guide-tip/index.js +0 -115
  218. package/lib/components/import-modal/helper.js +0 -170
  219. package/lib/components/import-modal/image/loading.gif +0 -0
  220. package/lib/components/import-modal/import-okr-modal/index.css +0 -18
  221. package/lib/components/import-modal/import-okr-modal/index.js +0 -146
  222. package/lib/components/import-modal/import-task-modal/index.css +0 -18
  223. package/lib/components/import-modal/import-task-modal/index.js +0 -251
  224. package/lib/components/import-modal/import-task-modal/search-form.js +0 -142
  225. package/lib/components/import-modal/index.css +0 -30
  226. package/lib/components/import-modal/index.js +0 -20
  227. package/lib/components/import-modal/radio.js +0 -62
  228. package/lib/components/import-modal/request-api.js +0 -206
  229. package/lib/components/import-modal/search/category-select.js +0 -74
  230. package/lib/components/import-modal/search/okr-classify-select.js +0 -74
  231. package/lib/components/import-modal/search/okr-status-select.js +0 -74
  232. package/lib/components/import-modal/search/okr-type-select.js +0 -87
  233. package/lib/components/import-modal/search/principal.js +0 -135
  234. package/lib/components/import-modal/search/relation.js +0 -89
  235. package/lib/components/import-modal/search/search-dropdown/index.css +0 -50
  236. package/lib/components/import-modal/search/search-dropdown/index.js +0 -32
  237. package/lib/components/import-modal/search/task-relation.js +0 -84
  238. package/lib/components/import-modal/search/task-status-select.js +0 -87
  239. package/lib/components/import-modal/search/work-relation.js +0 -83
  240. package/lib/components/import-modal/search/work-status-select.js +0 -74
  241. package/lib/components/import-modal/tree/okr-tree/index.css +0 -61
  242. package/lib/components/import-modal/tree/okr-tree/index.js +0 -269
  243. package/lib/components/import-modal/tree/okr-tree/search-form.js +0 -169
  244. package/lib/components/import-modal/tree/task-work-tree/index.css +0 -124
  245. package/lib/components/import-modal/tree/task-work-tree/index.js +0 -190
  246. package/lib/components/import-modal/tree-node/index.css +0 -0
  247. package/lib/components/import-modal/tree-node/index.js +0 -51
  248. package/lib/components/import-modal/tree-node/kr-node/index.css +0 -65
  249. package/lib/components/import-modal/tree-node/kr-node/index.js +0 -112
  250. package/lib/components/import-modal/tree-node/milestone-node/index.css +0 -61
  251. package/lib/components/import-modal/tree-node/milestone-node/index.js +0 -118
  252. package/lib/components/import-modal/tree-node/o-node/index.css +0 -53
  253. package/lib/components/import-modal/tree-node/o-node/index.js +0 -142
  254. package/lib/components/import-modal/tree-node/work-node/index.css +0 -51
  255. package/lib/components/import-modal/tree-node/work-node/index.js +0 -108
  256. package/lib/components/menus/components/menu-tree/images/summary-menu/caidan-enjoy.svg +0 -14
  257. package/lib/components/menus/components/menu-tree/images/summary-menu/my-setup.svg +0 -18
  258. package/lib/components/menus/components/menu-tree/images/summary-menu/my-zongjie.svg +0 -15
  259. package/lib/components/menus/components/menu-tree/images/summary-menu/zongjie-s.svg +0 -15
  260. package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +0 -78
  261. package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +0 -78
  262. package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +0 -56
  263. package/lib/components/menus/export-modules/summary-menus/depart-menus/index.css +0 -32
  264. package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +0 -243
  265. package/lib/components/menus/export-modules/summary-menus/index.css +0 -9
  266. package/lib/components/menus/export-modules/summary-menus/index.js +0 -136
  267. package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +0 -76
  268. package/lib/components/menus/export-modules/summary-menus/menus.js +0 -251
  269. package/lib/components/menus/export-modules/summary-menus/request-api.js +0 -17
  270. package/lib/components/menus/export-modules/summary-menus/subordinate-menus/helper.js +0 -28
  271. package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.css +0 -14
  272. package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +0 -201
  273. package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +0 -250
  274. package/lib/components/nav-top/components/app-center/images/demo.png +0 -0
  275. package/lib/components/nav-top/components/app-center/images/new.svg +0 -30
  276. package/lib/components/new-confidence/constant.js +0 -53
  277. package/lib/components/new-confidence/img/1.svg +0 -40
  278. package/lib/components/new-confidence/img/10.svg +0 -33
  279. package/lib/components/new-confidence/img/2.svg +0 -40
  280. package/lib/components/new-confidence/img/3.svg +0 -40
  281. package/lib/components/new-confidence/img/4.svg +0 -40
  282. package/lib/components/new-confidence/img/5.svg +0 -40
  283. package/lib/components/new-confidence/img/6.svg +0 -40
  284. package/lib/components/new-confidence/img/7.svg +0 -40
  285. package/lib/components/new-confidence/img/8.svg +0 -40
  286. package/lib/components/new-confidence/img/9.svg +0 -40
  287. package/lib/components/new-confidence/index.css +0 -62
  288. package/lib/components/new-confidence/index.js +0 -120
  289. package/lib/components/new-confidence/interface.js +0 -5
  290. package/lib/components/picker/components/cross.svg +0 -17
  291. package/lib/components/picker/components/panels/week-panel/index.css +0 -51
  292. package/lib/components/picker/components/panels/week-panel/index.js +0 -63
  293. package/lib/components/picker/components/panels/week-panel/utils.js +0 -153
  294. package/lib/components/picker/components/panels/week-panel/week-body.js +0 -79
  295. package/lib/components/picker/components/panels/week-panel/week-head.js +0 -80
  296. package/lib/components/picker/range-picker/components/picker-trigger/index.css +0 -97
  297. package/lib/components/picker/range-picker/components/picker-trigger/index.js +0 -109
  298. package/lib/components/picker/range-picker/components/placeholder/index.js +0 -91
  299. package/lib/components/picker/range-picker/components/select-input/index.js +0 -79
  300. package/lib/components/picker/range-picker/components/shortcuts/index.js +0 -45
  301. package/lib/components/picker/range-picker/index.css +0 -158
  302. package/lib/components/picker/range-picker/index.js +0 -263
  303. package/lib/components/promise-confirm/index.css +0 -0
  304. package/lib/components/promise-confirm/index.js +0 -117
  305. package/lib/components/promise-confirm/interface.js +0 -5
  306. package/lib/components/rate/index.css +0 -111
  307. package/lib/components/rate/index.js +0 -79
  308. package/lib/components/regulation-setting-item/index.css +0 -33
  309. package/lib/components/regulation-setting-item/index.js +0 -37
  310. package/lib/components/rich-editor-at/components/index.css +0 -67
  311. package/lib/components/rich-editor-at/components/index.js +0 -189
  312. package/lib/components/rich-editor-at/index.css +0 -40
  313. package/lib/components/rich-editor-at/index.js +0 -113
  314. package/lib/components/rich-editor-upload/index.css +0 -11
  315. package/lib/components/rich-editor-upload/index.js +0 -87
  316. package/lib/components/write-summary-modal/constants.js +0 -21
  317. package/lib/components/write-summary-modal/index.css +0 -80
  318. package/lib/components/write-summary-modal/index.js +0 -167
  319. package/lib/components/write-summary-modal/interface.js +0 -19
  320. package/lib/components/write-summary-modal/request-api.js +0 -18
  321. package/lib/components/write-summary-modal/utils.js +0 -32
  322. package/lib/utils/planDataJson.js +0 -1
@@ -1,4 +1,4 @@
1
- .titaui-pc-textArea-content {
1
+ .titaui-textArea {
2
2
  box-sizing: border-box;
3
3
  position: relative;
4
4
  min-height: 36px;
@@ -11,127 +11,132 @@
11
11
  transition: border 0.2s ease 0.2s, box-shadow 0.2s ease 0.2s;
12
12
  }
13
13
 
14
- .titaui-pc-textArea-content-inner {
15
- overflow: auto;
16
- display: flex;
17
- flex: 1;
18
- width: 0;
14
+ .titaui-textArea.has-error {
15
+ border: 1px solid #f05e5e !important;
19
16
  }
20
17
 
21
- .titaui-pc-textArea-content-inner textarea {
22
- flex: 1;
23
- line-height: 20px;
24
- min-height: 20px;
18
+ .titaui-textArea:hover {
19
+ border: 1px solid #2879ff;
20
+ }
21
+
22
+ .titaui-textArea > input {
23
+ flex-grow: 1;
25
24
  border: none;
26
- padding: 0;
25
+ padding: 0 12px;
27
26
  margin: 0;
28
27
  outline: none;
29
- resize: none;
30
- padding: 0 12px;
31
- width: 100%;
28
+ width: 0;
32
29
  box-sizing: border-box;
33
30
  background-color: transparent;
34
31
  color: #3f4755;
35
- word-break: break-all;
36
32
  }
37
33
 
38
- .titaui-pc-textArea-content-inner textarea ::-webkit-input-placeholder {
34
+ .titaui-textArea > input ::-webkit-input-placeholder {
39
35
  color: #bfc7d5;
40
36
  }
41
37
 
42
- .titaui-pc-textArea-content-inner textarea :-ms-input-placeholder {
38
+ .titaui-textArea > input :-ms-input-placeholder {
43
39
  color: #bfc7d5;
44
40
  }
45
41
 
46
- .titaui-pc-textArea-content-inner textarea :-moz-input-placeholder {
42
+ .titaui-textArea > input :-moz-input-placeholder {
47
43
  color: #bfc7d5;
48
44
  }
49
45
 
50
- .titaui-pc-textArea-content-top-shadow::before {
51
- content: '';
52
- border-radius: 8px;
53
- height: 30px;
54
- background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
55
- position: absolute;
56
- top: 0;
57
- width: 100%;
58
- z-index: 2;
59
- }
60
-
61
- .titaui-pc-textArea-content-bottom-shadow::after {
62
- content: '';
63
- border-radius: 8px;
64
- height: 30px;
65
- background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
66
- position: absolute;
67
- bottom: 0;
68
- width: 100%;
69
- z-index: 2;
70
- }
71
-
72
- .titaui-pc-textArea-content > input {
73
- flex-grow: 1;
46
+ .titaui-textArea textarea {
47
+ flex: 1;
48
+ line-height: 20px;
49
+ min-height: 20px;
74
50
  border: none;
75
- padding: 0 12px;
51
+ padding: 0;
76
52
  margin: 0;
77
53
  outline: none;
78
- width: 0;
54
+ resize: none;
55
+ padding: 0 12px;
56
+ width: 100%;
79
57
  box-sizing: border-box;
80
58
  background-color: transparent;
81
59
  color: #3f4755;
60
+ word-break: break-all;
82
61
  }
83
62
 
84
- .titaui-pc-textArea-content > input ::-webkit-input-placeholder {
63
+ .titaui-textArea textarea ::-webkit-input-placeholder {
85
64
  color: #bfc7d5;
86
65
  }
87
66
 
88
- .titaui-pc-textArea-content > input :-ms-input-placeholder {
67
+ .titaui-textArea textarea :-ms-input-placeholder {
89
68
  color: #bfc7d5;
90
69
  }
91
70
 
92
- .titaui-pc-textArea-content > input :-moz-input-placeholder {
71
+ .titaui-textArea textarea :-moz-input-placeholder {
93
72
  color: #bfc7d5;
94
73
  }
95
74
 
96
- .titaui-pc-textArea-content.disabled {
75
+ .titaui-textArea.disabled {
97
76
  background-color: rgba(240, 242, 245, 0.4);
98
77
  border-color: #f0f2f5;
99
78
  color: #bfc7d5;
100
79
  cursor: default;
101
80
  }
102
81
 
103
- .titaui-pc-textArea-content.disabled > input,
104
- .titaui-pc-textArea-content.disabled textarea,
105
- .titaui-pc-textArea-content.disabled .tail-wrapper {
82
+ .titaui-textArea.disabled > input,
83
+ .titaui-textArea.disabled textarea,
84
+ .titaui-textArea.disabled .tail-wrapper {
106
85
  color: #bfc7d5;
107
86
  }
108
87
 
109
- .titaui-pc-textArea-content.disabled:hover {
88
+ .titaui-textArea.disabled:hover {
110
89
  border-color: #f0f2f5;
111
90
  }
112
91
 
113
- .titaui-pc-textArea-area-error {
92
+ .area-error {
114
93
  border: 1px solid #f05e5e !important;
115
- box-shadow: inset 0px 0px 6px 0px rgba(240, 94, 94, 0.3);
116
- width: 100%;
94
+ box-shadow: 0px 0px 6px 0px rgba(240, 94, 94, 0.3);
117
95
  }
118
96
 
119
- .titaui-pc-textArea-area-focus {
97
+ .area-focus {
120
98
  border: 1px solid #2879ff !important;
121
- box-shadow: inset 0px 0px 6px 0px rgba(40, 121, 255, 0.3);
122
- width: 100%;
99
+ box-shadow: 0px 0px 6px 0px rgba(40, 121, 255, 0.3);
123
100
  }
124
101
 
125
- .titaui-pc-textArea-area-normal {
102
+ .area-normal {
126
103
  border: 1px solid #e9ecf0 !important;
127
104
  box-shadow: none;
128
- width: 100%;
129
105
  }
130
106
 
131
- .titaui-pc-textArea-err-color {
107
+ .inner {
108
+ overflow: auto;
109
+ display: flex;
110
+ flex: 1;
111
+ width: 0;
112
+ }
113
+
114
+ .err-color {
132
115
  font-size: 12px;
133
116
  font-weight: 400;
134
117
  color: #f05e5e;
135
118
  line-height: 18px;
136
119
  padding-left: 12px;
137
120
  }
121
+
122
+ .commonTextAreaWrapperTopShadow::before {
123
+ content: '';
124
+ border-radius: 8px;
125
+ height: 30px;
126
+ background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
127
+ position: absolute;
128
+ top: 0;
129
+ width: 100%;
130
+ z-index: 2;
131
+ }
132
+
133
+ .commonTextAreaWrapperBottomShadow::after {
134
+ content: '';
135
+ border-radius: 8px;
136
+ height: 30px;
137
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
138
+ position: absolute;
139
+ bottom: 0;
140
+ width: 100%;
141
+ z-index: 2;
142
+ }
@@ -9,11 +9,11 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _classnames2 = _interopRequireDefault(require("classnames"));
12
+ var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
14
  require("./index.css");
15
15
 
16
- var _excluded = ["disabled", "onFocus", "onBlur", "inputRef", "onChange", "className", "value", "placeholder", "maxLine", "line", "changeEditStatus", "maxLength", "initValue", "onErrorChange", "validator", "onKeyDown"];
16
+ var _excluded = ["disabled", "onFocus", "onBlur", "inputRef", "onChange", "className", "value", "placeholder", "maxLine", "isShowApproval", "maxLength", "initValue", "onErrorChange", "validator", "onKeyDown"];
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
19
 
@@ -23,8 +23,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
 
24
24
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
25
 
26
- 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; }
27
-
28
26
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
29
27
 
30
28
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -42,8 +40,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
42
40
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
43
41
 
44
42
  var Textarea = function Textarea(p) {
45
- var _classnames;
46
-
47
43
  var disabled = p.disabled,
48
44
  _onFocus = p.onFocus,
49
45
  _onBlur = p.onBlur,
@@ -54,8 +50,7 @@ var Textarea = function Textarea(p) {
54
50
  placeholder = p.placeholder,
55
51
  _p$maxLine = p.maxLine,
56
52
  maxLine = _p$maxLine === void 0 ? 4 : _p$maxLine,
57
- line = p.line,
58
- changeEditStatus = p.changeEditStatus,
53
+ isShowApproval = p.isShowApproval,
59
54
  maxLength = p.maxLength,
60
55
  initValue = p.initValue,
61
56
  onErrorChange = p.onErrorChange,
@@ -63,7 +58,7 @@ var Textarea = function Textarea(p) {
63
58
  _onKeyDown = p.onKeyDown,
64
59
  others = _objectWithoutProperties(p, _excluded);
65
60
 
66
- var prefixCls = "titaui-pc-textArea";
61
+ var prefixCls = "titaui-textArea";
67
62
 
68
63
  var _useState = (0, _react.useState)(false),
69
64
  _useState2 = _slicedToArray(_useState, 2),
@@ -78,7 +73,7 @@ var Textarea = function Textarea(p) {
78
73
  var selfInputRef = (0, _react.useRef)();
79
74
  var realInputRef = inputRef || selfInputRef;
80
75
  var isControlled = ("value" in p);
81
- var realValue = isControlled ? value || '' : selfValue || '';
76
+ var realValue = isControlled ? value : selfValue;
82
77
 
83
78
  var _useState5 = (0, _react.useState)(false),
84
79
  _useState6 = _slicedToArray(_useState5, 2),
@@ -102,7 +97,7 @@ var Textarea = function Textarea(p) {
102
97
  isTrue = _useState12[0],
103
98
  setIsTrue = _useState12[1];
104
99
 
105
- var _useState13 = (0, _react.useState)(line || 1),
100
+ var _useState13 = (0, _react.useState)(1),
106
101
  _useState14 = _slicedToArray(_useState13, 2),
107
102
  textAreaRows = _useState14[0],
108
103
  setTextAreaRows = _useState14[1];
@@ -159,9 +154,9 @@ var Textarea = function Textarea(p) {
159
154
  setIsTrue(false);
160
155
  };
161
156
 
162
- var areaNormal = isTrue ? "".concat(prefixCls, "-area-focus") : "".concat(prefixCls, "-area-normal");
163
- var areaFocus = active ? "".concat(prefixCls, "-area-focus") : areaNormal;
164
- var areaError = error ? "".concat(prefixCls, "-area-error") : areaFocus;
157
+ var areaNormal = isTrue ? "area-focus" : "area-normal";
158
+ var areaFocus = active ? "area-focus" : areaNormal;
159
+ var areaError = error ? "area-error" : areaFocus;
165
160
  (0, _react.useEffect)(function () {
166
161
  if (!validateEnable) return;
167
162
  var hasError = false;
@@ -197,11 +192,9 @@ var Textarea = function Textarea(p) {
197
192
  }, [realValue]);
198
193
  (0, _react.useEffect)(function () {
199
194
  resetTextareaHeight();
200
- }, [changeEditStatus]);
201
- return /*#__PURE__*/_react["default"].createElement("div", {
202
- className: "".concat(prefixCls)
203
- }, /*#__PURE__*/_react["default"].createElement("div", {
204
- className: "".concat(prefixCls, "-content ").concat(areaError, " ").concat(disabled ? " disabled" : ""),
195
+ }, [isShowApproval]);
196
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
197
+ className: "\n ".concat(prefixCls, "\n ").concat(areaError, "\n ").concat(disabled ? " disabled" : "", "\n "),
205
198
  onFocus: function onFocus() {},
206
199
  onBlur: function onBlur() {},
207
200
  onMouseOver: changeMoveOver,
@@ -213,14 +206,16 @@ var Textarea = function Textarea(p) {
213
206
  (_realInputRef$current = realInputRef.current) === null || _realInputRef$current === void 0 ? void 0 : _realInputRef$current.focus();
214
207
  }
215
208
  }, /*#__PURE__*/_react["default"].createElement("div", {
216
- className: (0, _classnames2["default"])("".concat(prefixCls, "-content-inner scrollbar-size-sm"), (_classnames = {}, _defineProperty(_classnames, "".concat(prefixCls, "-content-top-shadow"), showTopShadow), _defineProperty(_classnames, "".concat(prefixCls, "-content-bottom-shadow"), showBottomShadow), _classnames))
209
+ className: (0, _classnames["default"])("inner scrollbar-size-sm", {
210
+ commonTextAreaWrapperTopShadow: showTopShadow,
211
+ commonTextAreaWrapperBottomShadow: showBottomShadow
212
+ })
217
213
  }, /*#__PURE__*/_react["default"].createElement("textarea", _extends({
218
214
  className: "".concat(className, " scrollbar-size-sm"),
219
215
  disabled: disabled,
220
216
  ref: realInputRef,
221
217
  value: realValue,
222
- rows: textAreaRows // rows={4}
223
- ,
218
+ rows: textAreaRows,
224
219
  placeholder: placeholder,
225
220
  onScroll: handleShadowVisible,
226
221
  onChange: function onChange(e) {
@@ -259,7 +254,7 @@ var Textarea = function Textarea(p) {
259
254
  }
260
255
  }
261
256
  }, others)))), error && /*#__PURE__*/_react["default"].createElement("div", {
262
- className: "".concat(prefixCls, "-err-color")
257
+ className: "err-color"
263
258
  }, errorText));
264
259
  };
265
260
 
@@ -52,7 +52,7 @@ function _getInstance() {
52
52
  top: "36px",
53
53
  left: "50%",
54
54
  position: "fixed",
55
- 'transform': 'translate(-50%, 0)',
55
+ // 'transform': 'translate(-50%, 0)',
56
56
  borderRadius: 12
57
57
  },
58
58
  maxCount: 1,
@@ -21,7 +21,7 @@ function _default(props) {
21
21
  var align = props.align,
22
22
  placement = props.placement;
23
23
 
24
- if (placement === 'top' && !align) {
24
+ if (placement === "top" && !align) {
25
25
  align = {
26
26
  offset: [0, 5]
27
27
  };
@@ -29,6 +29,6 @@ function _default(props) {
29
29
 
30
30
  return /*#__PURE__*/_react["default"].createElement(_rcTooltip["default"], _extends({}, props, {
31
31
  align: align,
32
- transitionName: props.transitionName || 'tita-common-fade'
32
+ transitionName: props.transitionName || "tita-common-fade"
33
33
  }));
34
34
  }
@@ -90,8 +90,7 @@ function UpvoteButton(_ref) {
90
90
  _ref$buttonType = _ref.buttonType,
91
91
  buttonType = _ref$buttonType === void 0 ? "" : _ref$buttonType,
92
92
  _ref$customUpvoteBtnC = _ref.customUpvoteBtnCls,
93
- customUpvoteBtnCls = _ref$customUpvoteBtnC === void 0 ? "" : _ref$customUpvoteBtnC,
94
- getPopupContainer = _ref.getPopupContainer;
93
+ customUpvoteBtnCls = _ref$customUpvoteBtnC === void 0 ? "" : _ref$customUpvoteBtnC;
95
94
 
96
95
  var _useState = (0, _react.useState)({
97
96
  type: type,
@@ -108,7 +107,6 @@ function UpvoteButton(_ref) {
108
107
  modalVisible = _useState4[0],
109
108
  setModalVisible = _useState4[1];
110
109
 
111
- var wrapperRef = (0, _react.useRef)(document.createElement('div'));
112
110
  (0, _react.useEffect)(function () {
113
111
  setUpvoteState({
114
112
  type: type,
@@ -130,13 +128,9 @@ function UpvoteButton(_ref) {
130
128
  }, []);
131
129
  return /*#__PURE__*/_react["default"].createElement("div", {
132
130
  className: "feed-upvote pull-screen-click-through pull-screen-ignore",
133
- style: style,
134
- ref: wrapperRef
135
- }, /*#__PURE__*/_react["default"].createElement(_selector["default"], {
136
- getPopupContainer: function getPopupContainer() {
137
- return wrapperRef.current || document.body;
138
- } // visible={selectorVisible}
139
- ,
131
+ style: style
132
+ }, /*#__PURE__*/_react["default"].createElement(_selector["default"] // visible={selectorVisible}
133
+ , {
140
134
  align: popAlign,
141
135
  onSelect: /*#__PURE__*/function () {
142
136
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(type) {
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _popup = _interopRequireDefault(require("../popup"));
12
+ var _rcTrigger = _interopRequireDefault(require("rc-trigger"));
13
13
 
14
14
  var _rcQueueAnim = _interopRequireDefault(require("rc-queue-anim"));
15
15
 
@@ -118,10 +118,11 @@ var VoteSelector = function VoteSelector(_ref) {
118
118
  }
119
119
  }, [arrowPosition]);
120
120
  if (!children || !_react["default"].Children.only(children)) throw "only support single child";
121
- return /*#__PURE__*/_react["default"].createElement(_popup["default"], {
121
+ return /*#__PURE__*/_react["default"].createElement(_rcTrigger["default"], {
122
122
  zIndex: 1500,
123
123
  popupVisible: popVisible,
124
124
  popupAlign: getAlignPostion(align, offset),
125
+ getPopupContainer: getPopupContainer,
125
126
  onPopupAlign: handlePopAlign,
126
127
  popup: /*#__PURE__*/_react["default"].createElement("div", {
127
128
  className: "pull-screen-ignore document-mouse-event-ignore"
@@ -32,7 +32,7 @@ function _default(props) {
32
32
 
33
33
  var _useContext = (0, _react.useContext)(_context.CommonContext),
34
34
  _useContext$departId = _useContext.departId,
35
- departId = _useContext$departId === void 0 ? '-1' : _useContext$departId,
35
+ departId = _useContext$departId === void 0 ? "-1" : _useContext$departId,
36
36
  departOnly = _useContext.departOnly,
37
37
  sourceFrom = _useContext.sourceFrom,
38
38
  auth = _useContext.auth,
@@ -69,7 +69,7 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
69
69
  searchUserOnly = props.searchUserOnly,
70
70
  isVerify = props.isVerify,
71
71
  _props$departId = props.departId,
72
- departId = _props$departId === void 0 ? '-1' : _props$departId,
72
+ departId = _props$departId === void 0 ? "-1" : _props$departId,
73
73
  _props$auth = props.auth,
74
74
  auth = _props$auth === void 0 ? false : _props$auth,
75
75
  _props$placeholder = props.placeholder,
@@ -3,9 +3,9 @@
3
3
  min-width: 120px;
4
4
  height: 36px;
5
5
  line-height: 36px;
6
- background: #ffffff;
6
+ background: #FFFFFF;
7
7
  border-radius: 18px;
8
- border: 1px solid #e9ecf0;
8
+ border: 1px solid #E9ECF0;
9
9
  padding: 8px 12px;
10
10
  box-sizing: border-box;
11
11
  cursor: pointer;
@@ -27,7 +27,7 @@
27
27
  box-sizing: border-box;
28
28
  font-size: 14px;
29
29
  font-weight: 400;
30
- color: #3f4755;
30
+ color: #3F4755;
31
31
  line-height: 20px;
32
32
  vertical-align: top;
33
33
  border: none;
@@ -29,7 +29,7 @@ var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
29
29
  var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
30
30
 
31
31
  var requestDomain = function requestDomain() {
32
- if (!window.location.hostname.match(/dev/)) return '';
32
+ if (!window.location.hostname.match(/dev/)) return "";
33
33
  return "".concat(location.protocol, "//www.tita.gift");
34
34
  };
35
35
 
@@ -44,16 +44,16 @@ var getDepartments = function getDepartments(_ref) {
44
44
  isLoadNodes = _ref.isLoadNodes;
45
45
  // 根据权限类型使用不同的objtype
46
46
  var authTypeId;
47
- if (auth && !authType) authType = 'okr';
48
- if (authType == 'okr') authTypeId = '62';
49
- if (authType == 'performance') authTypeId = '31';
50
- if (authType == 'total') authTypeId = '0'; // 获取根节点
47
+ if (auth && !authType) authType = "okr";
48
+ if (authType == "okr") authTypeId = "62";
49
+ if (authType == "performance") authTypeId = "31";
50
+ if (authType == "total") authTypeId = "0"; // 获取根节点
51
51
  // 第一次获取根部门 nodeId == -1
52
52
 
53
53
  var isGetRootNode = isGetRoot && !isLoadNodes;
54
54
  var prevPath = "".concat(requestDomain(), "/api/v2/").concat(tenantId, "/").concat(userId, "/department/sub"); // 请求参数
55
55
 
56
- var urlParams = "departmentId=".concat(nodeId, "&isGetUser=").concat(isGetUser).concat(isGetRootNode ? '&isRoot=true' : '');
56
+ var urlParams = "departmentId=".concat(nodeId, "&isGetUser=").concat(isGetUser).concat(isGetRootNode ? "&isRoot=true" : "");
57
57
  return _axios["default"].get(auth ? "".concat(prevPath, "/depsAndUsersByPrivilege?").concat(urlParams, "&objtype=").concat(authTypeId) : "".concat(prevPath, "/depsAndUsers?").concat(urlParams)).then(function (departs) {
58
58
  if (isGetRootNode) {
59
59
  // 第一次获取根节点
@@ -67,7 +67,7 @@ var getDepartments = function getDepartments(_ref) {
67
67
  for (var i = 0; i < departments.length; i++) {
68
68
  var it = departments[i];
69
69
 
70
- if (it.id == '-1') {
70
+ if (it.id == "-1") {
71
71
  hasGetRootNode = true;
72
72
  firstRootNodes.push(it);
73
73
  break;
@@ -89,7 +89,7 @@ var getDepartments = function getDepartments(_ref) {
89
89
 
90
90
  var getGourps = function getGourps(_ref2) {
91
91
  var _ref2$sourceFrom = _ref2.sourceFrom,
92
- sourceFrom = _ref2$sourceFrom === void 0 ? '' : _ref2$sourceFrom,
92
+ sourceFrom = _ref2$sourceFrom === void 0 ? "" : _ref2$sourceFrom,
93
93
  getUsedGroups = _ref2.getUsedGroups;
94
94
 
95
95
  // 获取有OKR的群组
@@ -99,7 +99,7 @@ var getGourps = function getGourps(_ref2) {
99
99
  });
100
100
  }
101
101
 
102
- return _axios["default"].get("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/Group/getAll").concat(sourceFrom ? "?sourceFrom=".concat(sourceFrom) : '')).then(function (groups) {
102
+ return _axios["default"].get("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/Group/getAll").concat(sourceFrom ? "?sourceFrom=".concat(sourceFrom) : "")).then(function (groups) {
103
103
  return groups.data;
104
104
  });
105
105
  };
@@ -141,10 +141,10 @@ var getSubordinateData = function getSubordinateData(_ref3) {
141
141
  var auth = _ref3.auth,
142
142
  authType = _ref3.authType;
143
143
  var authTypeId;
144
- if (auth && !authType) authType = 'okr';
145
- if (authType == 'okr') authTypeId = '62';
146
- if (authType == 'performance') authTypeId = '31';
147
- if (authType == 'total') authTypeId = '0';
144
+ if (auth && !authType) authType = "okr";
145
+ if (authType == "okr") authTypeId = "62";
146
+ if (authType == "performance") authTypeId = "31";
147
+ if (authType == "total") authTypeId = "0";
148
148
  return _axios["default"].get("".concat(requestDomain(), "/api/v2/").concat(tenantId, "/").concat(userId, "/org/subordinate?to_userId=").concat(userId)).then(function (res) {
149
149
  // const { users = [] } = res.data.Data;
150
150
  var data = res.data.Data;
@@ -30,7 +30,7 @@
30
30
  bottom: 0;
31
31
  border-radius: 100px;
32
32
  background-color: #fff;
33
- border: 1px solid #BFC7D5;
33
+ border: 1px solid #dfe3ea;
34
34
  transition: all 300ms;
35
35
  }
36
36
 
package/lib/index.js CHANGED
@@ -9,12 +9,6 @@ Object.defineProperty(exports, "Aha2021Page", {
9
9
  return _aha["default"];
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "AutoSave", {
13
- enumerable: true,
14
- get: function get() {
15
- return _autoSave["default"];
16
- }
17
- });
18
12
  Object.defineProperty(exports, "Avatar", {
19
13
  enumerable: true,
20
14
  get: function get() {
@@ -51,12 +45,6 @@ Object.defineProperty(exports, "Checkbox", {
51
45
  return _checkbox["default"];
52
46
  }
53
47
  });
54
- Object.defineProperty(exports, "ColorDatePicker", {
55
- enumerable: true,
56
- get: function get() {
57
- return _colorDatePicker["default"];
58
- }
59
- });
60
48
  Object.defineProperty(exports, "Communication", {
61
49
  enumerable: true,
62
50
  get: function get() {
@@ -207,12 +195,6 @@ Object.defineProperty(exports, "GroupManagementPage", {
207
195
  return _groupManagement["default"];
208
196
  }
209
197
  });
210
- Object.defineProperty(exports, "GuideTip", {
211
- enumerable: true,
212
- get: function get() {
213
- return _guideTip["default"];
214
- }
215
- });
216
198
  Object.defineProperty(exports, "HelpCard", {
217
199
  enumerable: true,
218
200
  get: function get() {
@@ -279,12 +261,6 @@ Object.defineProperty(exports, "NavTop", {
279
261
  return _navTop["default"];
280
262
  }
281
263
  });
282
- Object.defineProperty(exports, "NewConfidence", {
283
- enumerable: true,
284
- get: function get() {
285
- return _newConfidence["default"];
286
- }
287
- });
288
264
  Object.defineProperty(exports, "NewOkrListPage", {
289
265
  enumerable: true,
290
266
  get: function get() {
@@ -429,12 +405,6 @@ Object.defineProperty(exports, "Progress", {
429
405
  return _progress["default"];
430
406
  }
431
407
  });
432
- Object.defineProperty(exports, "PromiseConfirm", {
433
- enumerable: true,
434
- get: function get() {
435
- return _promiseConfirm["default"];
436
- }
437
- });
438
408
  Object.defineProperty(exports, "PublishDynamicModal", {
439
409
  enumerable: true,
440
410
  get: function get() {
@@ -459,18 +429,6 @@ Object.defineProperty(exports, "RichEditor", {
459
429
  return _richEditor["default"];
460
430
  }
461
431
  });
462
- Object.defineProperty(exports, "RichEditorAt", {
463
- enumerable: true,
464
- get: function get() {
465
- return _richEditorAt["default"];
466
- }
467
- });
468
- Object.defineProperty(exports, "RichEditorUpload", {
469
- enumerable: true,
470
- get: function get() {
471
- return _richEditorUpload["default"];
472
- }
473
- });
474
432
  Object.defineProperty(exports, "ScrollContainer", {
475
433
  enumerable: true,
476
434
  get: function get() {
@@ -645,12 +603,6 @@ Object.defineProperty(exports, "WordCloud", {
645
603
  return _wordCloud["default"];
646
604
  }
647
605
  });
648
- Object.defineProperty(exports, "WriteSummaryModal", {
649
- enumerable: true,
650
- get: function get() {
651
- return _writeSummaryModal["default"];
652
- }
653
- });
654
606
  Object.defineProperty(exports, "drawerManager", {
655
607
  enumerable: true,
656
608
  get: function get() {
@@ -752,8 +704,6 @@ var _gridLayout = _interopRequireDefault(require("./components/grid-layout"));
752
704
 
753
705
  var _groupManagement = _interopRequireDefault(require("./pages/group-management"));
754
706
 
755
- var _guideTip = _interopRequireDefault(require("./components/guide-tip"));
756
-
757
707
  var _home = _interopRequireDefault(require("./pages/home"));
758
708
 
759
709
  var _homePageDataList = _interopRequireDefault(require("./pages/home-page-data-list"));
@@ -834,10 +784,6 @@ var _radio = _interopRequireDefault(require("./components/radio"));
834
784
 
835
785
  var _richEditor = _interopRequireDefault(require("./components/rich-editor"));
836
786
 
837
- var _richEditorUpload = _interopRequireDefault(require("./components/rich-editor-upload"));
838
-
839
- var _richEditorAt = _interopRequireDefault(require("./components/rich-editor-at"));
840
-
841
787
  var _request = _interopRequireDefault(require("./utils/request"));
842
788
 
843
789
  var _searchDropdown = _interopRequireDefault(require("./components/search-dropdown"));
@@ -900,14 +846,4 @@ var _weeklyReport = _interopRequireDefault(require("./components/weekly-report")
900
846
 
901
847
  var _wechatBtn = _interopRequireDefault(require("./components/wechat-btn"));
902
848
 
903
- var _autoSave = _interopRequireDefault(require("./components/auto-save"));
904
-
905
- var _newConfidence = _interopRequireDefault(require("./components/new-confidence"));
906
-
907
- var _colorDatePicker = _interopRequireDefault(require("./components/color-date-picker"));
908
-
909
- var _writeSummaryModal = _interopRequireDefault(require("./components/write-summary-modal"));
910
-
911
- var _promiseConfirm = _interopRequireDefault(require("./components/promise-confirm"));
912
-
913
849
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }