@titaui/pc 1.11.4-1 → 1.11.4-2

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 (301) hide show
  1. package/lib/components/date-picker/BodyItem.js +3 -3
  2. package/lib/components/date-picker/CalendarHeader.js +3 -3
  3. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  4. package/lib/components/dynamic/constant.js +31 -30
  5. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.css +21 -6
  6. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.js +4 -4
  7. package/lib/components/dynamic/dynamic-item/dynamic-interview/interview-content.js +19 -7
  8. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/img/wifi.svg +24 -0
  9. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.css +61 -0
  10. package/{es/pages/group-management/page-view/loading → lib/components/dynamic/dynamic-item/dynamic-interview-share}/index.js +33 -11
  11. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/interview-content.js +69 -0
  12. package/lib/components/dynamic/dynamic-item/index.js +41 -32
  13. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  14. package/lib/components/emotions-selector/selector-pop.js +3 -3
  15. package/lib/components/ereport-list/index.js +3 -3
  16. package/lib/components/mblog/components/MblogAction.js +3 -3
  17. package/lib/components/menus/export-modules/interview-menus/constant.js +12 -12
  18. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  19. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  20. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  21. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  22. package/lib/components/rich-editor/models/schema.js +6 -6
  23. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  24. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  25. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  26. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  27. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  28. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  29. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  30. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  31. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  32. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  33. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  34. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  35. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  36. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  37. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  38. package/lib/components/select/Option.js +3 -3
  39. package/lib/components/task-tree/helper.js +61 -0
  40. package/lib/components/task-tree/images/P1.svg +15 -0
  41. package/lib/components/task-tree/images/P2.svg +15 -0
  42. package/lib/components/task-tree/images/P3.svg +15 -0
  43. package/lib/components/task-tree/images/P4.svg +15 -0
  44. package/lib/components/task-tree/images/P5.svg +15 -0
  45. package/lib/components/task-tree/images/arrow.svg +9 -0
  46. package/lib/components/task-tree/images/empty-131.png +0 -0
  47. package/lib/components/task-tree/images/followed.svg +33 -0
  48. package/lib/components/task-tree/images/nice.svg +108 -0
  49. package/lib/components/task-tree/images/struc12.png +0 -0
  50. package/lib/components/task-tree/images/struc2.png +0 -0
  51. package/lib/components/task-tree/images/xialat-s.svg +13 -0
  52. package/lib/components/task-tree/index.js +27 -0
  53. package/lib/components/task-tree/mock.js +944 -0
  54. package/{es/components/okr-detail/components/okr-tree → lib/components/task-tree}/precls.js +1 -1
  55. package/lib/components/task-tree/request-apis.js +88 -0
  56. package/lib/components/task-tree/task-item-node/constant.js +45 -0
  57. package/{es/components/okr-detail/components/okr-tree/tree-node/default-node.js → lib/components/task-tree/task-item-node/e-empty.js} +13 -6
  58. package/{es/components/okr-detail/components/okr-tree/tree-node/e-node → lib/components/task-tree/task-item-node}/e-project.js +29 -34
  59. package/{es/components/e-status-dropdown/index.js → lib/components/task-tree/task-item-node/e-status-dropdown.js} +3 -3
  60. package/{es/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js → lib/components/task-tree/task-item-node/e-task.js} +140 -121
  61. package/{es/components/okr-detail/components/okr-tree/tree-node → lib/components/task-tree/task-item-node}/get-process-color.js +3 -3
  62. package/lib/components/task-tree/task-item-node/index.css +290 -0
  63. package/lib/components/task-tree/task-item-node/task-node-render.js +43 -0
  64. package/lib/components/task-tree/task-tree.css +8 -0
  65. package/{es/components/okr-detail/components/okr-tree/index.js → lib/components/task-tree/task-tree.js} +17 -16
  66. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  67. package/lib/components-v1/animate/AnimateChild.js +3 -3
  68. package/lib/components-v1/avatar/index.js +3 -3
  69. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  70. package/lib/components-v1/progress/CircleProgress.js +3 -3
  71. package/lib/components-v1/select/Option.js +3 -3
  72. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  73. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  74. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  75. package/lib/index.js +8 -0
  76. package/package.json +1 -1
  77. package/yarn-error.log +6356 -5424
  78. package/es/components/cascader/time.js +0 -31
  79. package/es/components/common-share/request-apis.js +0 -56
  80. package/es/components/confidence/heart.js +0 -66
  81. package/es/components/create-okr-modal/fields/index.js +0 -17
  82. package/es/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +0 -154
  83. package/es/components/date-picker/BodyItem.js +0 -121
  84. package/es/components/date-picker/CalendarBody.js +0 -157
  85. package/es/components/date-picker/CalendarHeader.js +0 -187
  86. package/es/components/date-picker/index.js +0 -157
  87. package/es/components/date-range-picker/index.js +0 -210
  88. package/es/components/dialog/index.js +0 -119
  89. package/es/components/dialog-confirm/index.js +0 -154
  90. package/es/components/drop-selector/icon-item.js +0 -40
  91. package/es/components/drop-selector/index.js +0 -179
  92. package/es/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  93. package/es/components/dynamic/dynamic-liking/mock.js +0 -83
  94. package/es/components/dynamic/dynamic-topping/request-api.js +0 -36
  95. package/es/components/e-priority/index.js +0 -88
  96. package/es/components/grid-layout/commen-components/index.js +0 -73
  97. package/es/components/grid-layout/image/could.js +0 -8
  98. package/es/components/grid-layout/image/lv.js +0 -8
  99. package/es/components/grid-layout/image/tita-mask.js +0 -8
  100. package/es/components/help-card/request-api.js +0 -35
  101. package/es/components/icon-button-list/index.js +0 -65
  102. package/es/components/menus/context.js +0 -18
  103. package/es/components/menus/precls.js +0 -8
  104. package/es/components/okr-detail/auth.js +0 -197
  105. package/es/components/okr-detail/components/ao-nice/index.js +0 -245
  106. package/es/components/okr-detail/components/block-line/index.js +0 -20
  107. package/es/components/okr-detail/components/header/index.js +0 -211
  108. package/es/components/okr-detail/components/icon-text/index.js +0 -116
  109. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +0 -88
  110. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +0 -98
  111. package/es/components/okr-detail/components/okr-tree/tree-node/index.js +0 -90
  112. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +0 -46
  113. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +0 -421
  114. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +0 -54
  115. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +0 -62
  116. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +0 -94
  117. package/es/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +0 -273
  118. package/es/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +0 -207
  119. package/es/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +0 -236
  120. package/es/components/okr-detail/components/padding-layout.js +0 -22
  121. package/es/components/okr-detail/components/tab-panel-content/index.js +0 -27
  122. package/es/components/okr-detail/context.js +0 -30
  123. package/es/components/okr-detail/e-list/index.js +0 -243
  124. package/es/components/okr-detail/e-list/precls.js +0 -8
  125. package/es/components/okr-detail/e-list/search-form/fields/e-order.js +0 -172
  126. package/es/components/okr-detail/e-list/search-form/fields/e-status.js +0 -99
  127. package/es/components/okr-detail/e-list/search-form/fields/e-user.js +0 -49
  128. package/es/components/okr-detail/e-list/search-form/index.js +0 -143
  129. package/es/components/okr-detail/error-page/index.js +0 -33
  130. package/es/components/okr-detail/index.js +0 -428
  131. package/es/components/okr-detail/loading/index.js +0 -28
  132. package/es/components/okr-detail/okr-list/add-parent-okr.js +0 -37
  133. package/es/components/okr-detail/okr-list/create-kr-item/heart.js +0 -38
  134. package/es/components/okr-detail/okr-list/drag-order-kr.js +0 -62
  135. package/es/components/okr-detail/okr-list/empty/index.js +0 -48
  136. package/es/components/okr-detail/okr-list/index.js +0 -524
  137. package/es/components/okr-detail/okr-list/warp-parent-okr.js +0 -21
  138. package/es/components/okr-detail/store.js +0 -1
  139. package/es/components/okr-flow/child-node/fields/creator.js +0 -175
  140. package/es/components/okr-flow/child-node/fields/okrClassify.js +0 -31
  141. package/es/components/okr-flow/child-node/fields/okrType.js +0 -21
  142. package/es/components/okr-flow/child-node/helper.js +0 -35
  143. package/es/components/okr-flow/child-node/index.js +0 -110
  144. package/es/components/okr-flow/child-node/kr-node.js +0 -75
  145. package/es/components/okr-flow/child-node/work-node.js +0 -242
  146. package/es/components/okr-flow/context.js +0 -14
  147. package/es/components/okr-flow/empty/index.js +0 -29
  148. package/es/components/okr-flow/export-modules/okr-search-panel/index.js +0 -394
  149. package/es/components/okr-flow/index.js +0 -24
  150. package/es/components/okr-flow/mini-map/index.js +0 -112
  151. package/es/components/okr-flow/mini-map/map.js +0 -145
  152. package/es/components/okr-flow/mini-map/mini-node.js +0 -57
  153. package/es/components/okr-flow/mini-map/utils.js +0 -79
  154. package/es/components/okr-flow/okr-map/index.js +0 -192
  155. package/es/components/okr-flow/open-data/index.js +0 -115
  156. package/es/components/okr-flow/precls.js +0 -8
  157. package/es/components/okr-flow/request-apis.js +0 -118
  158. package/es/components/okr-flow/root-node/index.js +0 -229
  159. package/es/components/okr-flow/utils/config.js +0 -18
  160. package/es/components/okr-flow/utils/helper.js +0 -36
  161. package/es/components/okr-flow/utils/index.js +0 -66
  162. package/es/components/okr-flow/utils/tree-handler.js +0 -323
  163. package/es/components/okr-progress-modal/helper.js +0 -156
  164. package/es/components/okr-progress-modal/request-apis.js +0 -34
  165. package/es/components/okr-share/request-apis.js +0 -56
  166. package/es/components/okrcase-library/server/network.js +0 -407
  167. package/es/components/pagination/locale/en_US.js +0 -22
  168. package/es/components/pagination/locale/zh_CN.js +0 -22
  169. package/es/components/point-demo/drop-down-box/index.js +0 -159
  170. package/es/components/point-demo/index.js +0 -533
  171. package/es/components/point-demo/input/index.js +0 -176
  172. package/es/components/point-demo/point-demo.js +0 -75
  173. package/es/components/point-demo/popup/index.js +0 -113
  174. package/es/components/point-demo/popup/placement.js +0 -44
  175. package/es/components/range-picker-pop/index.js +0 -273
  176. package/es/components/scrollbar/simplebar/helpers.js +0 -59
  177. package/es/components/scrollbar/simplebar/index.js +0 -91
  178. package/es/components/scrollbar/simplebar/scrollbar-width.js +0 -47
  179. package/es/components/scrollbar/simplebar/simplebar.js +0 -852
  180. package/es/components/scrollbar/simplebar-react.js +0 -163
  181. package/es/components/search-dropdown/index.js +0 -40
  182. package/es/components/search-input/index.js +0 -126
  183. package/es/components/select/Option.js +0 -94
  184. package/es/components/select/index.js +0 -330
  185. package/es/components/selector-input/debounce.js +0 -36
  186. package/es/components/selector-input/index.js +0 -109
  187. package/es/components/slider-input/index.js +0 -119
  188. package/es/components/switch/index.js +0 -39
  189. package/es/components/table/index.js +0 -275
  190. package/es/components/tabs/index.js +0 -63
  191. package/es/components/task-relation-modal/tree-node/index.js +0 -58
  192. package/es/components/tita-chart/charts/img/could.js +0 -8
  193. package/es/components/tooltip/error-tip.js +0 -24
  194. package/es/components/tooltip/index.js +0 -21
  195. package/es/components/tree/index.js +0 -79
  196. package/es/components/tree/precls.js +0 -8
  197. package/es/components/upvote/request-apis.js +0 -45
  198. package/es/components/user-selector/action-btns/btn-cancel.js +0 -21
  199. package/es/components/user-selector/action-btns/btn-ok.js +0 -21
  200. package/es/components/user-selector/action-btns/index.js +0 -27
  201. package/es/components/user-selector/context.js +0 -18
  202. package/es/components/user-selector/empty/group.js +0 -55
  203. package/es/components/user-selector/empty/index.js +0 -28
  204. package/es/components/user-selector/export-modules/depart-search-selector/result-part.js +0 -41
  205. package/es/components/user-selector/export-modules/group-selector/index.js +0 -170
  206. package/es/components/user-selector/export-modules/group-selector/searched-panel.js +0 -68
  207. package/es/components/user-selector/export-modules/multiple-user-selector--bak/index.js +0 -246
  208. package/es/components/user-selector/index.js +0 -25
  209. package/es/components/user-selector/layout/index.js +0 -25
  210. package/es/components/user-selector/loading/index.js +0 -18
  211. package/es/components/user-selector/request-apis.js +0 -180
  212. package/es/components/user-selector/searched-panel/index.js +0 -139
  213. package/es/components/user-selector/searched-panel/result-part.js +0 -43
  214. package/es/components/user-selector/select-tree/selected-tree/index.js +0 -91
  215. package/es/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +0 -48
  216. package/es/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +0 -27
  217. package/es/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +0 -57
  218. package/es/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +0 -93
  219. package/es/components/user-selector/utils.js +0 -139
  220. package/es/components/viewer/ImageListRender.js +0 -143
  221. package/es/components/viewer/index.js +0 -168
  222. package/es/components/word-cloud/index.js +0 -109
  223. package/es/components/word-cloud/request-apis.js +0 -26
  224. package/es/components-v1/animate/AnimateChild.js +0 -76
  225. package/es/components-v1/animate/animate.js +0 -148
  226. package/es/components-v1/animate/index.js +0 -13
  227. package/es/components-v1/dom/index.js +0 -30
  228. package/es/components-v1/placement/index.js +0 -13
  229. package/es/components-v1/placement/placement.js +0 -111
  230. package/es/components-v1/placement/placementInner.js +0 -139
  231. package/es/components-v1/pop/Pop.js +0 -246
  232. package/es/components-v1/pop/PopInner.js +0 -163
  233. package/es/components-v1/pop/index.js +0 -13
  234. package/es/components-v1/progress/CircleProgress.js +0 -152
  235. package/es/components-v1/progress/LineProgress.js +0 -83
  236. package/es/components-v1/progress/index.js +0 -80
  237. package/es/components-v1/select/Option.js +0 -94
  238. package/es/components-v1/select/index.js +0 -330
  239. package/es/components-v1/utils/animate/animate.js +0 -103
  240. package/es/components-v1/utils/animate/event.js +0 -79
  241. package/es/components-v1/utils/dom/index.js +0 -30
  242. package/es/components-v1/utils/placement/autoAdjustPlacement.js +0 -93
  243. package/es/components-v1/utils/placement/getContainerVisibleArea.js +0 -22
  244. package/es/components-v1/utils/placement/getExpectPlacement.js +0 -49
  245. package/es/components-v1/utils/placement/getPlacementInContainer.js +0 -26
  246. package/es/components-v1/utils/placement/placement.js +0 -76
  247. package/es/index.js +0 -777
  248. package/es/pages/appointment-demo/drop-down-box/index.js +0 -159
  249. package/es/pages/appointment-demo/index.js +0 -649
  250. package/es/pages/appointment-demo/input/index.js +0 -176
  251. package/es/pages/appointment-demo/popup/index.js +0 -113
  252. package/es/pages/appointment-demo/popup/placement.js +0 -44
  253. package/es/pages/group-management/components/checkbox/index.js +0 -28
  254. package/es/pages/group-management/components/input-form/index.js +0 -174
  255. package/es/pages/group-management/components/radio/index.js +0 -21
  256. package/es/pages/group-management/components/table/index.js +0 -174
  257. package/es/pages/group-management/groupInterface.js +0 -293
  258. package/es/pages/group-management/index.js +0 -13
  259. package/es/pages/group-management/page-view/empty.js +0 -111
  260. package/es/pages/group-management/page-view/group-empty.js +0 -66
  261. package/es/pages/group-management/page-view/importGroupStaff/index.js +0 -208
  262. package/es/pages/group-management/page-view/index.js +0 -412
  263. package/es/pages/group-management/table/index.js +0 -104
  264. package/es/pages/group-management/tree/add-group-dialog/index.js +0 -153
  265. package/es/pages/group-management/tree/delete-group-dialog/index.js +0 -82
  266. package/es/pages/group-management/tree/edit-group-dialog/index.js +0 -155
  267. package/es/pages/group-management/tree/group-form/index.js +0 -207
  268. package/es/pages/group-management/tree/index.js +0 -168
  269. package/es/pages/group-management/tree/operation-panel.js +0 -41
  270. package/es/pages/group-management/tree/trigger-render.js +0 -99
  271. package/es/pages/like-ranking/mock.js +0 -366
  272. package/es/pages/okr-map/export-modules/index.js +0 -1
  273. package/es/pages/okr-map/export-modules/okr-map/header/index.js +0 -182
  274. package/es/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +0 -47
  275. package/es/pages/okr-map/export-modules/okr-map/okr-map.js +0 -497
  276. package/es/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -69
  277. package/es/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +0 -168
  278. package/es/pages/okr-map/hooks/useStorage.js +0 -96
  279. package/es/pages/okr-map/index.js +0 -18
  280. package/es/pages/okr-map/level2-search/depart.js +0 -53
  281. package/es/pages/okr-map/level2-search/group.js +0 -69
  282. package/es/pages/okr-map/level2-search/index.js +0 -51
  283. package/es/pages/okr-map/level2-search/level2-input.js +0 -46
  284. package/es/pages/okr-map/level2-search/user.js +0 -54
  285. package/es/pages/okr-map/no-okr/index.js +0 -24
  286. package/es/pages/okr-map/number-select/index.js +0 -81
  287. package/es/pages/okr-map/open-data/index.js +0 -115
  288. package/es/pages/okr-map/precls.js +0 -8
  289. package/es/pages/okr-map/request-apis.js +0 -76
  290. package/es/pages/okr-map/share-dialog/index.js +0 -122
  291. package/es/pages/okr-map/unsupport-ie/index.js +0 -83
  292. package/es/pages/okr-map/utils.js +0 -51
  293. package/es/utils/auth.js +0 -294
  294. package/es/utils/bs-global.js +0 -114
  295. package/es/utils/local-storage.js +0 -42
  296. package/es/utils/mblog.js +0 -33
  297. package/es/utils/mock-bsglobal.js +0 -1837
  298. package/es/utils/open-data.js +0 -341
  299. package/es/utils/request-v1.js +0 -115
  300. package/es/utils/request.js +0 -183
  301. package/es/utils/tools.js +0 -286
@@ -0,0 +1,290 @@
1
+ .titaui-task-tree__e-task-node {
2
+ display: flex;
3
+ align-items: center;
4
+ padding: 2px 0;
5
+ width: 100%;
6
+ }
7
+
8
+ .titaui-task-tree__e-task-node-prefix {
9
+ position: relative;
10
+ top: 2px;
11
+ display: inline-block;
12
+ width: 21px;
13
+ vertical-align: top;
14
+ }
15
+
16
+ .titaui-task-tree__e-task-node-prefix .tu-icon-jiantou-right:before {
17
+ color: #89919f;
18
+ }
19
+
20
+ .titaui-task-tree__e-task-node-title {
21
+ height: 22px;
22
+ font-size: 14px;
23
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
24
+ color: #3f4755;
25
+ line-height: 22px;
26
+ overflow: hidden;
27
+ white-space: nowrap;
28
+ word-break: keep-all;
29
+ padding-top: 1px;
30
+ flex: 1;
31
+ }
32
+
33
+ .titaui-task-tree__e-task-node-priority {
34
+ display: inline-block;
35
+ margin-right: 4px;
36
+ vertical-align: top;
37
+ }
38
+
39
+ .titaui-task-tree__e-task-node-priority > span {
40
+ position: relative;
41
+ top: 1px;
42
+ display: inline-block;
43
+ vertical-align: text-bottom;
44
+ height: 16px;
45
+ width: 16px;
46
+ }
47
+
48
+ .titaui-task-tree__e-task-node-priority-p1 {
49
+ background: url(../images/P1.svg) transparent no-repeat 50% 50%;
50
+ }
51
+
52
+ .titaui-task-tree__e-task-node-priority-p2 {
53
+ background: url(../images/P2.svg) transparent no-repeat 50% 50%;
54
+ }
55
+
56
+ .titaui-task-tree__e-task-node-priority-p3 {
57
+ background: url(../images/P3.svg) transparent no-repeat 50% 50%;
58
+ }
59
+
60
+ .titaui-task-tree__e-task-node-priority-p4 {
61
+ background: url(../images/P4.svg) transparent no-repeat 50% 50%;
62
+ }
63
+
64
+ .titaui-task-tree__e-task-node-priority-p5 {
65
+ background: url(../images/P5.svg) transparent no-repeat 50% 50%;
66
+ }
67
+
68
+ .titaui-task-tree__e-task-node-actions {
69
+ display: flex;
70
+ align-items: center;
71
+ float: right;
72
+ }
73
+
74
+ .titaui-task-tree__e-task-node-actions-user {
75
+ display: inline-block;
76
+ width: 64px;
77
+ margin-left: 16px;
78
+ }
79
+
80
+ .titaui-task-tree__e-task-node-actions-date {
81
+ font-size: 12px;
82
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
83
+ color: #89919f;
84
+ line-height: 18px;
85
+ display: inline-flex;
86
+ align-items: center;
87
+ justify-content: flex-end;
88
+ box-sizing: border-box;
89
+ width: 78px;
90
+ height: 26px;
91
+ padding: 4px;
92
+ text-align: left;
93
+ line-height: 26px;
94
+ }
95
+
96
+ .titaui-task-tree__e-task-node-actions-date > span {
97
+ vertical-align: text-bottom;
98
+ }
99
+
100
+ .titaui-task-tree__e-task-node-actions-progress {
101
+ position: relative;
102
+ top: 3px;
103
+ color: #89919f;
104
+ cursor: auto;
105
+ width: 64px;
106
+ margin-left: 16px;
107
+ margin-right: 4px;
108
+ }
109
+
110
+ .titaui-task-tree__e-task-node-actions-progress .tooltip-text-wrapper {
111
+ margin-left: 4px;
112
+ }
113
+
114
+ .titaui-task-tree__e-task-node-actions-connect {
115
+ display: inline-block;
116
+ color: #cccccc;
117
+ margin-left: 27px;
118
+ margin-right: 10px;
119
+ }
120
+
121
+ .titaui-task-tree__e-task-node-actions-connect:hover {
122
+ color: #2879ff;
123
+ }
124
+
125
+ .titaui-task-tree__e-task-node-select-priority {
126
+ display: inline-block;
127
+ width: 16px;
128
+ height: 16px;
129
+ margin-right: 10px;
130
+ vertical-align: text-bottom;
131
+ }
132
+
133
+ .titaui-task-tree__e-project-node {
134
+ position: relative;
135
+ display: flex;
136
+ align-items: center;
137
+ width: 100%;
138
+ padding: 2px 0;
139
+ }
140
+
141
+ .titaui-task-tree__e-project-node-prefix {
142
+ display: inline-block;
143
+ font-size: 14px;
144
+ width: 21px;
145
+ color: #89919f;
146
+ line-height: 1;
147
+ }
148
+
149
+ .titaui-task-tree__e-project-node-title {
150
+ display: inline-flex;
151
+ font-size: 14px;
152
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
153
+ color: #3f4755;
154
+ line-height: 22px;
155
+ overflow: hidden;
156
+ white-space: nowrap;
157
+ word-break: keep-all;
158
+ flex: 1;
159
+ }
160
+
161
+ .titaui-task-tree__e-project-node-title-name {
162
+ overflow: hidden;
163
+ }
164
+
165
+ .titaui-task-tree__e-project-node-title-approvaling {
166
+ display: inline-flex;
167
+ align-items: center;
168
+ justify-content: center;
169
+ min-width: 36px;
170
+ padding: 0 6px;
171
+ height: 20px;
172
+ font-size: 12px;
173
+ font-weight: 400;
174
+ color: #f05e5e;
175
+ background: rgba(240, 94, 94, 0.1);
176
+ border-radius: 10px;
177
+ margin-left: 8px;
178
+ }
179
+
180
+ .titaui-task-tree__e-project-node-gray {
181
+ color: #bfc7d5 !important;
182
+ }
183
+
184
+ .titaui-task-tree__e-project-node-priority {
185
+ display: inline-block;
186
+ margin-right: 4px;
187
+ vertical-align: top;
188
+ }
189
+
190
+ .titaui-task-tree__e-project-node-priority > span {
191
+ position: relative;
192
+ top: 1px;
193
+ display: inline-block;
194
+ vertical-align: text-bottom;
195
+ height: 16px;
196
+ width: 16px;
197
+ }
198
+
199
+ .titaui-task-tree__e-project-node-priority-p1 {
200
+ background: url(../images/P1.svg) transparent no-repeat 50% 50%;
201
+ }
202
+
203
+ .titaui-task-tree__e-project-node-priority-p2 {
204
+ background: url(../images/P2.svg) transparent no-repeat 50% 50%;
205
+ }
206
+
207
+ .titaui-task-tree__e-project-node-priority-p3 {
208
+ background: url(../images/P3.svg) transparent no-repeat 50% 50%;
209
+ }
210
+
211
+ .titaui-task-tree__e-project-node-priority-p4 {
212
+ background: url(../images/P4.svg) transparent no-repeat 50% 50%;
213
+ }
214
+
215
+ .titaui-task-tree__e-project-node-priority-p5 {
216
+ background: url(../images/P5.svg) transparent no-repeat 50% 50%;
217
+ }
218
+
219
+ .titaui-task-tree__e-project-node-actions {
220
+ display: flex;
221
+ align-items: center;
222
+ float: right;
223
+ }
224
+
225
+ .titaui-task-tree__e-project-node-actions-user {
226
+ display: inline-block;
227
+ width: 64px;
228
+ margin-left: 16px;
229
+ }
230
+
231
+ .titaui-task-tree__e-project-node-actions-date {
232
+ font-size: 12px;
233
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
234
+ color: #89919f;
235
+ line-height: 18px;
236
+ display: inline-flex;
237
+ align-items: center;
238
+ justify-content: flex-end;
239
+ box-sizing: border-box;
240
+ width: 78px;
241
+ height: 26px;
242
+ padding: 4px;
243
+ text-align: left;
244
+ line-height: 26px;
245
+ }
246
+
247
+ .titaui-task-tree__e-project-node-actions-date > span {
248
+ vertical-align: text-bottom;
249
+ }
250
+
251
+ .titaui-task-tree__e-project-node-actions-progress {
252
+ position: relative;
253
+ top: 3px;
254
+ color: #89919f;
255
+ cursor: auto;
256
+ width: 64px;
257
+ margin-left: 16px;
258
+ margin-right: 4px;
259
+ }
260
+
261
+ .titaui-task-tree__e-project-node-actions-progress .tooltip-text-wrapper {
262
+ margin-left: 4px;
263
+ }
264
+
265
+ .titaui-task-tree__e-project-node-actions-connect {
266
+ display: inline-block;
267
+ color: #cccccc;
268
+ margin-left: 27px;
269
+ margin-right: 10px;
270
+ }
271
+
272
+ .titaui-task-tree__e-project-node-actions-connect:hover {
273
+ color: #2879ff;
274
+ }
275
+
276
+ .titaui-task-tree__e-empty-node {
277
+ font-size: 12px;
278
+ font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
279
+ color: #a4acb9;
280
+ line-height: 18px;
281
+ padding-left: 12px;
282
+ }
283
+
284
+ .titaui-task-tree__e-empty-node:hover {
285
+ cursor: text;
286
+ }
287
+
288
+ .e-node-status-icon {
289
+ color: #89919f;
290
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _eTask = _interopRequireDefault(require("./e-task"));
11
+
12
+ var _eProject = _interopRequireDefault(require("./e-project"));
13
+
14
+ var _eEmpty = _interopRequireDefault(require("./e-empty"));
15
+
16
+ require("./index.css");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ function _extends() { _extends = Object.assign || 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); }
21
+
22
+ var _default = function _default(node, level) {
23
+ switch (node.nodeType) {
24
+ case "e-task":
25
+ return /*#__PURE__*/_react["default"].createElement(_eTask["default"], _extends({}, node, {
26
+ level: level
27
+ }));
28
+
29
+ case "e-project":
30
+ return /*#__PURE__*/_react["default"].createElement(_eProject["default"], _extends({}, node, {
31
+ level: level
32
+ }));
33
+
34
+ case "e-empty":
35
+ return /*#__PURE__*/_react["default"].createElement(_eEmpty["default"], _extends({}, node, {
36
+ level: level
37
+ }));
38
+
39
+ default:
40
+ }
41
+ };
42
+
43
+ exports["default"] = _default;
@@ -0,0 +1,8 @@
1
+ .titaui-task-tree {
2
+ position: relative;
3
+ overflow: hidden;
4
+ }
5
+
6
+ .titaui-task-tree .rc-tree-treenode-switcher-close:hover {
7
+ background: #F7F8FA;
8
+ }
@@ -3,21 +3,19 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = _default;
6
+ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _classnames = _interopRequireDefault(require("classnames"));
10
+ var _taskNodeRender = _interopRequireDefault(require("./task-item-node/task-node-render"));
11
11
 
12
- var _tree = _interopRequireDefault(require("../../../tree"));
13
-
14
- var _treeNode = _interopRequireDefault(require("./tree-node"));
12
+ var _tree = _interopRequireDefault(require("../tree"));
15
13
 
16
14
  var _precls = _interopRequireDefault(require("./precls"));
17
15
 
18
- require("./index.scss");
16
+ require("./task-tree.css");
19
17
 
20
- var _excluded = ["data", "defaultExpandedKeys", "draggable"];
18
+ var _excluded = ["dataSource", "defaultExpandedKeys", "draggable"];
21
19
 
22
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
21
 
@@ -27,22 +25,25 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
27
25
 
28
26
  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; }
29
27
 
30
- function _default(props) {
31
- var data = props.data,
28
+ var TaskTree = function TaskTree(props) {
29
+ var dataSource = props.dataSource,
32
30
  defaultExpandedKeys = props.defaultExpandedKeys,
33
- draggable = props.draggable,
31
+ _props$draggable = props.draggable,
32
+ draggable = _props$draggable === void 0 ? false : _props$draggable,
34
33
  restProps = _objectWithoutProperties(props, _excluded);
35
34
 
36
35
  return /*#__PURE__*/_react["default"].createElement("div", {
37
- className: (0, _classnames["default"])(_precls["default"])
36
+ className: _precls["default"]
38
37
  }, /*#__PURE__*/_react["default"].createElement(_tree["default"], _extends({
39
38
  draggable: draggable,
40
39
  defaultExpandedKeys: defaultExpandedKeys,
41
- treeData: data,
42
- titleRender: _treeNode["default"],
40
+ treeData: dataSource,
41
+ titleRender: _taskNodeRender["default"],
43
42
  allowDrop: function allowDrop() {
44
43
  return true;
45
- },
46
- className: "okr-list-tree"
44
+ }
47
45
  }, restProps)));
48
- }
46
+ };
47
+
48
+ var _default = TaskTree;
49
+ exports["default"] = _default;
@@ -37,7 +37,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
37
37
  var _super = _createSuper(ErrorBoundary);
38
38
 
39
39
  function ErrorBoundary() {
40
- var _temp, _this;
40
+ var _this;
41
41
 
42
42
  _classCallCheck(this, ErrorBoundary);
43
43
 
@@ -45,7 +45,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
45
45
  args[_key] = arguments[_key];
46
46
  }
47
47
 
48
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
48
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
49
49
  hasError: false
50
50
  }, _this.renderError = function (e) {
51
51
  var errorTemplate = _this.props.errorTemplate;
@@ -55,7 +55,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
55
55
  // fallback
56
56
  return errorTemplate && typeof errorTemplate === "function" ? errorTemplate(e) : /*#__PURE__*/_react["default"].createElement("h5", null, "\u7EC4\u4EF6\u51FA\u9519\u4E86\uFF0C\u8BF7\u6838\u67E5\u540E\u91CD\u8BD5\uFF1A", e.message);
57
57
  }
58
- }, _temp));
58
+ }, _assertThisInitialized(_this)));
59
59
  }
60
60
 
61
61
  _createClass(ErrorBoundary, [{
@@ -45,7 +45,7 @@ var AnimateChild = /*#__PURE__*/function (_Component) {
45
45
  var _super = _createSuper(AnimateChild);
46
46
 
47
47
  function AnimateChild() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, AnimateChild);
51
51
 
@@ -53,14 +53,14 @@ var AnimateChild = /*#__PURE__*/function (_Component) {
53
53
  args[_key] = arguments[_key];
54
54
  }
55
55
 
56
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.componentWillEnter = function (done) {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.componentWillEnter = function (done) {
57
57
  _this.transition("enter", done);
58
58
  }, _this.componentWillLeave = function (done) {
59
59
  _this.transition("leave", done);
60
60
  }, _this.transition = function (animationType, done) {
61
61
  var name = _typeof(_this.props.transitionName) === "object" ? _this.props.transitionName[animationType] : "".concat(_this.props.transitionName, "-").concat(animationType);
62
62
  (0, _animate["default"])((0, _reactDom.findDOMNode)(_assertThisInitialized(_this)), name, done);
63
- }, _temp));
63
+ }, _assertThisInitialized(_this)));
64
64
  }
65
65
 
66
66
  _createClass(AnimateChild, [{
@@ -45,7 +45,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
45
45
  var _super = _createSuper(Avatar);
46
46
 
47
47
  function Avatar() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, Avatar);
51
51
 
@@ -53,7 +53,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
53
53
  args[_key] = arguments[_key];
54
54
  }
55
55
 
56
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.renderImgAvatar = function () {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderImgAvatar = function () {
57
57
  var src = _this.props.src;
58
58
  return /*#__PURE__*/_react["default"].createElement("img", {
59
59
  style: {
@@ -103,7 +103,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
103
103
  height: size.width,
104
104
  background: color
105
105
  }, cuttedName);
106
- }, _temp));
106
+ }, _assertThisInitialized(_this)));
107
107
  }
108
108
 
109
109
  _createClass(Avatar, [{
@@ -47,7 +47,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(StatelessDropdown);
48
48
 
49
49
  function StatelessDropdown() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, StatelessDropdown);
53
53
 
@@ -55,7 +55,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
59
59
  if (_this.props.labelText) {
60
60
  return /*#__PURE__*/_react["default"].createElement("span", {
61
61
  className: "drop-down-label"
@@ -63,7 +63,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
63
63
  }
64
64
 
65
65
  return "";
66
- }, _temp));
66
+ }, _assertThisInitialized(_this)));
67
67
  }
68
68
 
69
69
  _createClass(StatelessDropdown, [{
@@ -41,7 +41,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
41
41
  var _super = _createSuper(CircleProgress);
42
42
 
43
43
  function CircleProgress() {
44
- var _temp, _this;
44
+ var _this;
45
45
 
46
46
  _classCallCheck(this, CircleProgress);
47
47
 
@@ -49,7 +49,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
49
49
  args[_key] = arguments[_key];
50
50
  }
51
51
 
52
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
52
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
53
53
  var _this$props = _this.props,
54
54
  formatText = _this$props.formatText,
55
55
  percent = _this$props.percent;
@@ -59,7 +59,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
59
59
  }
60
60
 
61
61
  return percent + getLocale("OKR_MyO_Pop_Upd_Percentage");
62
- }, _temp));
62
+ }, _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  _createClass(CircleProgress, [{
@@ -47,7 +47,7 @@ var Option = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(Option);
48
48
 
49
49
  function Option() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, Option);
53
53
 
@@ -55,7 +55,7 @@ var Option = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
59
59
  e.stopPropagation();
60
60
  e.nativeEvent.stopImmediatePropagation();
61
61
  var onSelect = _this.props.onSelect;
@@ -65,7 +65,7 @@ var Option = /*#__PURE__*/function (_Component) {
65
65
  height: _this.props.height,
66
66
  lineHeight: _this.props.height
67
67
  };
68
- }, _temp));
68
+ }, _assertThisInitialized(_this)));
69
69
  }
70
70
 
71
71
  _createClass(Option, [{
@@ -52,7 +52,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
52
52
  var _super = _createSuper(UserSelectorPop);
53
53
 
54
54
  function UserSelectorPop() {
55
- var _temp, _this;
55
+ var _this;
56
56
 
57
57
  _classCallCheck(this, UserSelectorPop);
58
58
 
@@ -60,7 +60,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
60
60
  args[_key] = arguments[_key];
61
61
  }
62
62
 
63
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
63
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
64
64
  if (_this.props.stopPropagation && !!e) {
65
65
  e.stopPropagation();
66
66
  e.nativeEvent.stopImmediatePropagation();
@@ -74,7 +74,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
74
74
  }, _this.show = function (el) {
75
75
  // @ts-ignore
76
76
  _this.refs.pop.show(el);
77
- }, _temp));
77
+ }, _assertThisInitialized(_this)));
78
78
  }
79
79
 
80
80
  _createClass(UserSelectorPop, [{
@@ -61,7 +61,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
61
61
  var _super = _createSuper(MutiMode);
62
62
 
63
63
  function MutiMode() {
64
- var _temp, _this;
64
+ var _this;
65
65
 
66
66
  _classCallCheck(this, MutiMode);
67
67
 
@@ -69,7 +69,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
69
69
  args[_key] = arguments[_key];
70
70
  }
71
71
 
72
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
72
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
73
73
  var _this$props = _this.props,
74
74
  selectedDept = _this$props.selectedDept,
75
75
  onSelectDept = _this$props.onSelectDept;
@@ -90,7 +90,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
90
90
  });
91
91
  if (!filterdUsers.length) return;
92
92
  onSelectUser(filterdUsers);
93
- }, _temp));
93
+ }, _assertThisInitialized(_this)));
94
94
  }
95
95
 
96
96
  _createClass(MutiMode, [{
@@ -47,7 +47,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
47
47
  var _super = _createSuper(UserItem);
48
48
 
49
49
  function UserItem() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, UserItem);
53
53
 
@@ -55,7 +55,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
59
59
  var _this$props = _this.props,
60
60
  onClick = _this$props.onClick,
61
61
  user = _this$props.user;
@@ -71,7 +71,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
71
71
  }
72
72
  }, keyword)];
73
73
  }));
74
- }, _temp));
74
+ }, _assertThisInitialized(_this)));
75
75
  }
76
76
 
77
77
  _createClass(UserItem, [{
package/lib/index.js CHANGED
@@ -471,6 +471,12 @@ Object.defineProperty(exports, "TaskRelationModal", {
471
471
  return _taskRelationModal["default"];
472
472
  }
473
473
  });
474
+ Object.defineProperty(exports, "TaskTree", {
475
+ enumerable: true,
476
+ get: function get() {
477
+ return _taskTree["default"];
478
+ }
479
+ });
474
480
  Object.defineProperty(exports, "TimePicker", {
475
481
  enumerable: true,
476
482
  get: function get() {
@@ -782,4 +788,6 @@ var _picker = _interopRequireDefault(require("./components/picker"));
782
788
 
783
789
  var _timePicker = _interopRequireDefault(require("./components/time-picker"));
784
790
 
791
+ var _taskTree = _interopRequireDefault(require("./components/task-tree"));
792
+
785
793
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.11.4-1",
3
+ "version": "1.11.4-2",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",