@titaui/pc 1.6.12 → 1.6.16

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 (309) hide show
  1. package/lib/components/avatar/index.js +1 -1
  2. package/lib/components/button/icon-btn/index.css +2 -0
  3. package/lib/components/button/index.js +1 -1
  4. package/lib/components/button/rect-btn/index.css +21 -0
  5. package/lib/components/button/rect-btn/index.js +8 -8
  6. package/lib/components/button/text-btn/index.css +33 -0
  7. package/lib/components/button/text-btn/index.js +52 -2
  8. package/lib/components/change-okr/styledComponents.js +1 -1
  9. package/lib/components/communication/style.js +1 -1
  10. package/lib/components/create-okr/constant.js +1 -1
  11. package/lib/components/create-okr/createSuccessCmp.js +6 -2
  12. package/lib/components/create-okr/fields/index.js +1 -1
  13. package/lib/components/create-okr/index.js +16 -1
  14. package/lib/components/create-okr/request-api.js +1 -1
  15. package/lib/components/create-okr/style.js +1 -1
  16. package/lib/components/create-okr/utils/helper.js +1 -1
  17. package/lib/components/delete-confirm-pop/style.js +1 -1
  18. package/lib/components/dialog/index.css +1 -0
  19. package/lib/components/dropdown-layer/index.js +1 -1
  20. package/lib/components/dynamic/components/title/index.css +2 -2
  21. package/lib/components/dynamic/constant.js +3 -2
  22. package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
  23. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +7 -1
  24. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +4 -21
  25. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +4 -0
  26. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +4 -2
  27. package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
  28. package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +7 -1
  29. package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +4 -7
  30. package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +1 -35
  31. package/lib/components/dynamic/dynamic-item/dynamic-task/img/dynamic-task.png +0 -0
  32. package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +7 -1
  33. package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +17 -7
  34. package/lib/components/dynamic/dynamic-like-ranking/index.css +2 -3
  35. package/lib/components/dynamic/dynamic-like-ranking/index.js +11 -6
  36. package/lib/components/dynamic/dynamic-liking/index.css +1 -2
  37. package/lib/components/dynamic/dynamic-liking/item.js +2 -20
  38. package/lib/components/dynamic/dynamic-list/index.js +7 -1
  39. package/lib/components/dynamic/dynamic-topping/index.css +1 -1
  40. package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
  41. package/lib/components/dynamic/dynamic.js +7 -4
  42. package/lib/components/dynamic/export-module/index.js +1 -1
  43. package/lib/components/dynamic/index.js +1 -1
  44. package/lib/components/dynamic/new-ui.css +206 -0
  45. package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +2 -2
  46. package/lib/components/dynamic/quick-operation/components/create-okr/index.js +2 -2
  47. package/lib/components/dynamic/quick-operation/components/create-share/index.js +2 -2
  48. package/lib/components/dynamic/quick-operation/components/create-task/index.js +2 -2
  49. package/lib/components/dynamic/quick-operation/img/okr.png +0 -0
  50. package/lib/components/dynamic/quick-operation/img/send-announcement.png +0 -0
  51. package/lib/components/dynamic/quick-operation/img/send-share.png +0 -0
  52. package/lib/components/dynamic/quick-operation/img/task.png +0 -0
  53. package/lib/components/dynamic/request-api.js +1 -1
  54. package/lib/components/dynamic/util.js +2 -2
  55. package/lib/components/eReport/eReportLists/style.js +1 -1
  56. package/lib/components/eReport/eReportShare/style.js +1 -1
  57. package/lib/components/eReport/eReportShare/toast/style.js +1 -1
  58. package/lib/components/edit-kr-wight/style/index.js +1 -1
  59. package/lib/components/emotionsSelector/style.js +1 -1
  60. package/lib/components/file-list/components/single-file/index.css +2 -2
  61. package/lib/components/file-list/components/single-file/index.js +1 -1
  62. package/lib/components/file-list/index.js +1 -1
  63. package/lib/components/form/form-fields/radios/index.css +5 -0
  64. package/lib/components/form/form-fields/radios/index.js +34 -5
  65. package/lib/components/form/index.js +1 -1
  66. package/lib/components/grid-page/commen-components/index.js +4 -4
  67. package/lib/components/grid-page/commen-components/scroll-tips.js +1 -1
  68. package/lib/components/grid-page/util/network.js +1 -1
  69. package/lib/components/help-card/index.css +17 -17
  70. package/lib/components/help-card/index.js +35 -31
  71. package/lib/components/help-card/request-api.js +2 -2
  72. package/lib/components/img-viewer/index.css +4 -0
  73. package/lib/components/img-viewer/index.js +2 -1
  74. package/lib/components/mblog/common/index.js +3 -3
  75. package/lib/components/mblog/style.js +1 -1
  76. package/lib/components/menus/components/drag-resize/index.css +4 -4
  77. package/lib/components/menus/components/drag-resize/index.js +35 -30
  78. package/lib/components/menus/components/flip-menu-card/index.css +7 -3
  79. package/lib/components/menus/components/flip-menu-card/index.js +42 -30
  80. package/lib/components/menus/components/menu-card/index.js +1 -6
  81. package/lib/components/menus/components/menu-close-btn/index.css +2 -1
  82. package/lib/components/menus/components/menu-tree/images/appraisal-menu/KH-help.svg +10 -0
  83. package/lib/components/menus/components/menu-tree/images/appraisal-menu/mypingjia.svg +10 -0
  84. package/lib/components/menus/components/menu-tree/images/loading-node.gif +0 -0
  85. package/lib/components/menus/components/menu-tree/images/okr-menu/cases.svg +9 -0
  86. package/lib/components/menus/components/menu-tree/images/okr-menu/{rw-zx.svg → panel.svg} +0 -0
  87. package/lib/components/menus/components/menu-tree/index.js +5 -4
  88. package/lib/components/menus/components/menu-tree/tree-node/avatar/index.css +49 -0
  89. package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +72 -0
  90. package/lib/components/menus/components/menu-tree/tree-node/company-all-node.js +2 -1
  91. package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +5 -2
  92. package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +9 -4
  93. package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.css +47 -0
  94. package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.js +67 -0
  95. package/lib/components/menus/components/menu-tree/tree-node/group-name-node.js +2 -1
  96. package/lib/components/menus/components/menu-tree/tree-node/index.css +126 -13
  97. package/lib/components/menus/components/menu-tree/tree-node/index.js +19 -0
  98. package/lib/components/menus/components/menu-tree/tree-node/loading-node.js +27 -0
  99. package/lib/components/menus/components/menu-tree/tree-node/menu-item-node.js +2 -1
  100. package/lib/components/menus/components/menu-tree/tree-node/menu-node.js +2 -1
  101. package/lib/components/menus/components/menu-tree/tree-node/no-follower-node.js +25 -0
  102. package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +9 -4
  103. package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +3 -1
  104. package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +12 -42
  105. package/lib/components/menus/export-modules/appraisal-menus/datas.js +58 -19
  106. package/lib/components/menus/export-modules/depart-menus/index.js +34 -7
  107. package/lib/components/menus/export-modules/okr-menus/datas.js +109 -4
  108. package/lib/components/menus/export-modules/okr-menus/index.css +0 -1
  109. package/lib/components/menus/export-modules/okr-menus/index.js +73 -20
  110. package/lib/components/menus/export-modules/subordinate-menus/index.js +12 -4
  111. package/lib/components/menus/index.js +1 -1
  112. package/lib/components/menus/request-apis.js +22 -5
  113. package/lib/components/nav-top/components/menu/index.css +1 -0
  114. package/lib/components/nav-top/components/menu/index.js +7 -5
  115. package/lib/components/nav-top/components/user-message/components/empty/index.js +1 -1
  116. package/lib/components/nav-top/components/user-message/components/inform/index.css +29 -6
  117. package/lib/components/nav-top/components/user-message/components/inform/index.js +116 -111
  118. package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +133 -0
  119. package/lib/components/nav-top/components/user-message/components/red-pack/index.css +40 -0
  120. package/lib/components/nav-top/components/user-message/components/red-pack/index.js +105 -0
  121. package/lib/components/nav-top/components/user-message/components/red-pack/request-api.js +14 -0
  122. package/lib/components/nav-top/components/user-message/components/remind/index.css +26 -8
  123. package/lib/components/nav-top/components/user-message/components/remind/index.js +67 -60
  124. package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +71 -0
  125. package/lib/components/nav-top/components/user-message/components/reply/index.css +28 -6
  126. package/lib/components/nav-top/components/user-message/components/reply/index.js +118 -63
  127. package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +75 -0
  128. package/lib/components/nav-top/components/user-message/components/tab-title/index.js +5 -4
  129. package/lib/components/nav-top/components/user-message/components/todos/index.css +26 -12
  130. package/lib/components/nav-top/components/user-message/components/todos/index.js +118 -59
  131. package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +70 -0
  132. package/lib/components/nav-top/components/user-message/constant.js +2 -19
  133. package/lib/components/nav-top/components/user-message/images/loading.gif +0 -0
  134. package/lib/components/nav-top/components/user-message/images/msg-reward.png +0 -0
  135. package/lib/components/nav-top/components/user-message/index.css +41 -4
  136. package/lib/components/nav-top/components/user-message/index.js +89 -100
  137. package/lib/components/nav-top/components/user-message/msg/index.css +5 -30
  138. package/lib/components/nav-top/components/user-message/msg/index.js +28 -22
  139. package/lib/components/nav-top/components/user-message/utils.js +31 -0
  140. package/lib/components/nav-top/components/user-own-menu/index.css +2 -1
  141. package/lib/components/nav-top/components/user-own-menu/index.js +5 -7
  142. package/lib/components/nav-top/components/user-own-menu/utils.js +63 -0
  143. package/lib/components/nav-top/constant.js +2 -10
  144. package/lib/components/nav-top/index.css +55 -0
  145. package/lib/components/nav-top/index.js +14 -13
  146. package/lib/components/nav-top/request.apis.js +50 -0
  147. package/lib/components/nav-top/utils.js +10 -70
  148. package/lib/components/okr-detail/auth.js +1 -1
  149. package/lib/components/okr-detail/base-info/util.js +1 -1
  150. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +1 -1
  151. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +1 -1
  152. package/lib/components/okr-detail/context.js +1 -1
  153. package/lib/components/okr-detail/detail-header/actions.js +2 -2
  154. package/lib/components/okr-detail/detail-header/delete-confirm/style.js +1 -1
  155. package/lib/components/okr-detail/detail-header/enums.js +1 -1
  156. package/lib/components/okr-detail/e-list/constant.js +1 -1
  157. package/lib/components/okr-detail/e-list/util.js +1 -1
  158. package/lib/components/okr-detail/okr-list/create-kr-item/style.js +1 -1
  159. package/lib/components/okr-detail/okr-list/drag-order-kr.js +1 -1
  160. package/lib/components/okr-detail/okr-list/index.js +2 -1
  161. package/lib/components/okr-detail/request-apis.js +1 -1
  162. package/lib/components/okr-detail/schedule/util.js +1 -1
  163. package/lib/components/okr-filter-drawer/filter-button.js +1 -0
  164. package/lib/components/okr-filter-drawer/filter-form.js +189 -0
  165. package/lib/components/okr-filter-drawer/index.css +45 -0
  166. package/lib/components/okr-filter-drawer/index.js +54 -0
  167. package/lib/components/okr-flow/index.js +1 -1
  168. package/lib/components/okr-flow/mini-map/utils.js +1 -1
  169. package/lib/components/okr-flow/open-data/index.js +1 -1
  170. package/lib/components/okr-flow/request-apis.js +1 -1
  171. package/lib/components/okr-flow/utils/config.js +1 -1
  172. package/lib/components/okr-flow/utils/index.js +1 -1
  173. package/lib/components/okr-flow/utils/tree-handler.js +1 -1
  174. package/lib/components/okr-progress/request-apis.js +1 -1
  175. package/lib/components/okr-progress/util.js +1 -1
  176. package/lib/components/okr-progress-detail/utils.js +1 -1
  177. package/lib/components/okr-progress-modal/helper.js +1 -1
  178. package/lib/components/okr-progress-modal/style.js +1 -1
  179. package/lib/components/okr-progress-modal/textarea/style.js +1 -1
  180. package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
  181. package/lib/components/okr-review/ReviewPop/style.js +1 -1
  182. package/lib/components/okr-review/components/ReviewItem/style.js +1 -1
  183. package/lib/components/okr-review/components/confirm-pop/style.js +1 -1
  184. package/lib/components/okr-review/style.js +1 -1
  185. package/lib/components/okr-share/common-painter/utils.js +1 -1
  186. package/lib/components/okr-share/pink-card/images.js +1 -1
  187. package/lib/components/okr-share/request-apis.js +1 -1
  188. package/lib/components/okrcase-library/index.css +1 -1
  189. package/lib/components/okrcase-library/index.js +6 -1
  190. package/lib/components/okrcase-library/new-ui.css +52 -0
  191. package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +1 -1
  192. package/lib/components/okrcase-library/server/network.js +1 -1
  193. package/lib/components/open-data-painter/index.js +1 -1
  194. package/lib/components/operation-records/style.js +1 -1
  195. package/lib/components/pagination/index.css +6 -12
  196. package/lib/components/period-selector/common.js +2 -2
  197. package/lib/components/period-selector/components/button/style.js +1 -1
  198. package/lib/components/period-selector/components/selector/style.js +1 -1
  199. package/lib/components/period-selector/helper/index.js +1 -1
  200. package/lib/components/period-selector/mockData.js +1 -1
  201. package/lib/components/period-selector/style.js +1 -1
  202. package/lib/components/photo-card/components/card/index.css +83 -100
  203. package/lib/components/photo-card/components/card/index.js +119 -63
  204. package/lib/components/photo-card/data.js +5 -5
  205. package/lib/components/photo-card/images/assistant.svg +40 -0
  206. package/lib/components/photo-card/images/back-manager.svg +40 -0
  207. package/lib/components/photo-card/images/boss.svg +38 -0
  208. package/lib/components/photo-card/images/depart-leader.svg +40 -0
  209. package/lib/components/photo-card/images/super-manager.svg +40 -0
  210. package/lib/components/photo-card/index.css +15 -14
  211. package/lib/components/photo-card/index.js +59 -15
  212. package/lib/components/pop-down-notification/components/SuccessRender.js +1 -1
  213. package/lib/components/pop-down-notification/style/index.js +1 -1
  214. package/lib/components/praise-record/style.js +1 -1
  215. package/lib/components/progress/index.js +1 -1
  216. package/lib/components/publish-dynamic-modal/requist-api.js +1 -1
  217. package/lib/components/radio/radio.js +1 -1
  218. package/lib/components/tabs/index.js +1 -1
  219. package/lib/components/task-relation/helper.js +1 -1
  220. package/lib/components/task-relation/request-api.js +1 -1
  221. package/lib/components/tita-chart/index.js +4 -4
  222. package/lib/components/tita-chart/util/index.js +12 -12
  223. package/lib/components/tita-chart/util/utils.js +1 -1
  224. package/lib/components/tooltip/index.js +1 -1
  225. package/lib/components/tree/index.js +1 -3
  226. package/lib/components/update-modal/img/background.png +0 -0
  227. package/lib/components/update-modal/img/rocket.png +0 -0
  228. package/lib/components/update-modal/index.css +80 -0
  229. package/lib/components/update-modal/index.js +83 -0
  230. package/lib/components/update-modal/request-api.js +17 -0
  231. package/lib/components/upload/style.js +1 -1
  232. package/lib/components/upload/util.js +1 -1
  233. package/lib/components/upvote/request-apis.js +1 -1
  234. package/lib/components/user-selector/index.js +1 -1
  235. package/lib/components/user-selector/request-apis.js +1 -1
  236. package/lib/components/user-selector/utils.js +1 -1
  237. package/lib/components/version-change-modal/request-api.js +1 -1
  238. package/lib/components/viewer/index.js +1 -1
  239. package/lib/components-v1/avatar/styles.js +1 -1
  240. package/lib/components-v1/buttonv2/style/style.js +1 -1
  241. package/lib/components-v1/input/Input.js +1 -1
  242. package/lib/components-v1/input/InputNumber.js +1 -1
  243. package/lib/components-v1/input/style/index.js +1 -1
  244. package/lib/components-v1/popConfirm/style.js +1 -1
  245. package/lib/components-v1/tabs/style.js +1 -1
  246. package/lib/components-v1/textarea/style.js +1 -1
  247. package/lib/components-v1/userSelector/UserSelectorPop.js +1 -1
  248. package/lib/components-v1/userSelector/style.js +1 -1
  249. package/lib/hooks/useLocalStorage.js +37 -0
  250. package/lib/index.js +18 -4
  251. package/lib/pages/aha2021/index.css +25 -1
  252. package/lib/pages/aha2021/index.js +10 -4
  253. package/lib/pages/group-management/components/PopDownNotification/components/SuccessRender.js +1 -1
  254. package/lib/pages/group-management/components/PopDownNotification/style/index.js +1 -1
  255. package/lib/pages/group-management/components/openData/index.js +1 -1
  256. package/lib/pages/group-management/groupInterface.js +10 -10
  257. package/lib/pages/home-page/components/data-list/table/columns/index.js +1 -1
  258. package/lib/pages/new-okr-list/context.js +14 -0
  259. package/lib/pages/new-okr-list/header/comments.js +104 -0
  260. package/lib/pages/new-okr-list/header/create-okr.js +61 -0
  261. package/lib/pages/new-okr-list/header/depart-title.js +59 -0
  262. package/lib/pages/new-okr-list/header/filter.js +95 -0
  263. package/lib/pages/new-okr-list/header/index.css +118 -0
  264. package/lib/pages/new-okr-list/header/index.js +133 -0
  265. package/lib/pages/new-okr-list/header/relation-title.js +28 -0
  266. package/lib/pages/new-okr-list/header/user-title.js +26 -0
  267. package/lib/pages/new-okr-list/index.css +10 -0
  268. package/lib/pages/new-okr-list/index.js +208 -0
  269. package/lib/pages/new-okr-list/interface.js +5 -0
  270. package/lib/pages/new-okr-list/keyword-search/index.css +71 -0
  271. package/lib/pages/new-okr-list/keyword-search/index.js +106 -0
  272. package/lib/pages/new-okr-list/list/index.css +0 -0
  273. package/lib/pages/new-okr-list/list/index.js +47 -0
  274. package/lib/pages/new-okr-list/precls.js +8 -0
  275. package/lib/pages/new-okr-list/request-api.js +158 -0
  276. package/lib/pages/new-okr-list/theme.css +7 -0
  277. package/lib/pages/okr-map/hooks/useStorage.js +1 -1
  278. package/lib/pages/okr-map/open-data/index.js +1 -1
  279. package/lib/pages/okr-map/request-apis.js +1 -1
  280. package/lib/pages/okr-map/utils.js +2 -1
  281. package/lib/utils/auth.js +1 -1
  282. package/lib/utils/bs-global.js +1 -1
  283. package/lib/utils/format-time.js +1 -1
  284. package/lib/utils/helpers.js +1 -1
  285. package/lib/utils/local-storage.js +40 -0
  286. package/lib/utils/mblog.js +1 -1
  287. package/lib/utils/open-data.js +1 -1
  288. package/lib/utils/platform.js +1 -1
  289. package/lib/utils/request-v1.js +2 -2
  290. package/lib/utils/request.js +1 -1
  291. package/lib/utils/roundWeight.js +2 -2
  292. package/lib/utils/tools.js +4 -3
  293. package/package.json +3 -2
  294. package/lib/components/dynamic/dynamic-item/components/icon/index.css +0 -10
  295. package/lib/components/dynamic/dynamic-item/components/icon/index.js +0 -35
  296. package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
  297. package/lib/components/dynamic/dynamic-item/dynamic-project/img/project.png +0 -0
  298. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-cancel.png +0 -0
  299. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-delay.png +0 -0
  300. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-done.png +0 -0
  301. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-pause.png +0 -0
  302. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-progress.png +0 -0
  303. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unaccept.png +0 -0
  304. package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unstart.png +0 -0
  305. package/lib/components/dynamic/quick-operation/img/create-announcement.png +0 -0
  306. package/lib/components/dynamic/quick-operation/img/create-okr.png +0 -0
  307. package/lib/components/dynamic/quick-operation/img/create-share.png +0 -0
  308. package/lib/components/dynamic/quick-operation/img/create-task.png +0 -0
  309. package/lib/components/nav-top/mock.js +0 -36
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _drawer = _interopRequireDefault(require("../drawer"));
13
+
14
+ var _filterForm = _interopRequireDefault(require("./filter-form"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
+
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+
22
+ var Filter = function Filter(_ref) {
23
+ var _ref$visible = _ref.visible,
24
+ visible = _ref$visible === void 0 ? false : _ref$visible,
25
+ _ref$setVisible = _ref.setVisible,
26
+ setVisible = _ref$setVisible === void 0 ? function () {} : _ref$setVisible,
27
+ onSearch = _ref.onSearch;
28
+
29
+ // const [cycle, setCycle] = useState({});
30
+ // const [filterDrawerVisible, setFilterDrawerVisible] = useState(visible);
31
+ var openFilterDrawer = function openFilterDrawer() {
32
+ return setVisible(true);
33
+ };
34
+
35
+ var closeFilterDrawer = function closeFilterDrawer() {
36
+ return setVisible(false);
37
+ };
38
+
39
+ return /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, /*#__PURE__*/_react["default"].createElement(_drawer["default"], {
40
+ visible: visible,
41
+ onClose: closeFilterDrawer,
42
+ mask: true,
43
+ maskClosable: true,
44
+ width: 372
45
+ }, /*#__PURE__*/_react["default"].createElement(_drawer["default"].Header, {
46
+ content: "\u9AD8\u7EA7\u7B5B\u9009"
47
+ }), /*#__PURE__*/_react["default"].createElement(_filterForm["default"], {
48
+ onSearch: onSearch,
49
+ closeFilterDrawer: closeFilterDrawer
50
+ })));
51
+ };
52
+
53
+ var _default = Filter;
54
+ exports["default"] = _default;
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.OkrSearchPanel = void 0;
6
7
  Object.defineProperty(exports, "checkTenantOkrExist", {
7
8
  enumerable: true,
8
9
  get: function get() {
9
10
  return _requestApis.checkTenantOkrExist;
10
11
  }
11
12
  });
12
- exports.OkrSearchPanel = void 0;
13
13
 
14
14
  var _okrSearchPanel = _interopRequireDefault(require("./export-modules/okr-search-panel"));
15
15
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getRectOfNodes = exports.getBoundsofRects = exports.boxToRect = exports.rectToBox = void 0;
6
+ exports.rectToBox = exports.getRectOfNodes = exports.getBoundsofRects = exports.boxToRect = void 0;
7
7
 
8
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
9
9
 
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.OpenDepartmentName = exports.OpenUserName = exports.getOpenId = exports.isWechat = exports.getSource = void 0;
8
+ exports.isWechat = exports.getSource = exports.getOpenId = exports.OpenUserName = exports.OpenDepartmentName = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.expandNodesByLevel = exports.expandNode = exports.searchOkrs = exports.checkTenantOkrExist = exports.userId = exports.tenantId = void 0;
6
+ exports.userId = exports.tenantId = exports.searchOkrs = exports.expandNodesByLevel = exports.expandNode = exports.checkTenantOkrExist = void 0;
7
7
 
8
8
  var _axios = _interopRequireDefault(require("axios"));
9
9
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.OkrTypeSetting = exports.OkrClassifySetting = exports.KrWeightSetting = void 0;
6
7
  exports.getBSGlobal = getBSGlobal;
7
- exports.KrWeightSetting = exports.OkrClassifySetting = exports.OkrTypeSetting = void 0;
8
8
 
9
9
  function getBSGlobal(name) {
10
10
  return name ? BSGlobal && BSGlobal[name] : BSGlobal;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getLayoutedElements = exports.nodeTypes = void 0;
6
+ exports.nodeTypes = exports.getLayoutedElements = void 0;
7
7
 
8
8
  var _reactFlowRenderer = require("@titaui/react-flow-renderer");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.uniqueArray = exports.deleteKrById = exports.findNode = exports.diffAndUpdate = exports.deleteChildrenById = exports.transToMapData = exports.formatNodes = exports.buildTreeNodes = exports.checkChildrenLevel = exports.toTree = void 0;
6
+ exports.uniqueArray = exports.transToMapData = exports.toTree = exports.formatNodes = exports.findNode = exports.diffAndUpdate = exports.deleteKrById = exports.deleteChildrenById = exports.checkChildrenLevel = exports.buildTreeNodes = void 0;
7
7
 
8
8
  var _cloneDeep = _interopRequireDefault(require("clone-deep"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getOkrDetail = exports.updateProgress = exports.remindAction = exports.updateProgressDesc = exports.getProgress = exports.getRelProgress = void 0;
6
+ exports.updateProgressDesc = exports.updateProgress = exports.remindAction = exports.getRelProgress = exports.getProgress = exports.getOkrDetail = void 0;
7
7
 
8
8
  var _qs = _interopRequireDefault(require("qs"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getToNowTime = exports.isPrincipal = void 0;
6
+ exports.isPrincipal = exports.getToNowTime = void 0;
7
7
 
8
8
  // @ts-nocheck
9
9
  var isPrincipal = function isPrincipal(principalUser) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getProgressState = exports.getTimeString = void 0;
6
+ exports.getTimeString = exports.getProgressState = void 0;
7
7
 
8
8
  var _constant = require("./constant");
9
9
 
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.transProgress = exports.KR_SETTING = exports.O_SETTING = void 0;
8
+ exports.transProgress = exports.O_SETTING = exports.KR_SETTING = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ErrorTip = exports.TipsText = exports.Options = exports.OptionsWrapper = exports.Icon = exports.Item = exports.List = void 0;
6
+ exports.TipsText = exports.OptionsWrapper = exports.Options = exports.List = exports.Item = exports.Icon = exports.ErrorTip = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.TextArea = exports.Wrapper = void 0;
6
+ exports.Wrapper = exports.TextArea = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.IconAdd = exports.AddReviewProblem = exports.IconSwitch = exports.ReviewMode = exports.IconRunning = exports.IconTarget = exports.ReviewContent = exports.IconClose = exports.IconCloseContainer = exports.AvatarWrapper = exports.ReviewMember = exports.BtnCreateTask = exports.ReviewAction = exports.ReviewProblem = exports.ReviewWorth = exports.ReviewTarget = exports.ReviewCatalogSecond = exports.ReviewCatalog = exports.ReviewBodyScroll = exports.ReviewBodyContainer = void 0;
6
+ exports.ReviewWorth = exports.ReviewTarget = exports.ReviewProblem = exports.ReviewMode = exports.ReviewMember = exports.ReviewContent = exports.ReviewCatalogSecond = exports.ReviewCatalog = exports.ReviewBodyScroll = exports.ReviewBodyContainer = exports.ReviewAction = exports.IconTarget = exports.IconSwitch = exports.IconRunning = exports.IconCloseContainer = exports.IconClose = exports.IconAdd = exports.BtnCreateTask = exports.AvatarWrapper = exports.AddReviewProblem = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.BtnConfirm = exports.BtnCancle = exports.BtnGroup = exports.ReviewFoot = exports.IconClose = exports.ReviewHead = exports.ReviewContainer = exports.ReviewPopWrapper = void 0;
6
+ exports.ReviewPopWrapper = exports.ReviewHead = exports.ReviewFoot = exports.ReviewContainer = exports.IconClose = exports.BtnGroup = exports.BtnConfirm = exports.BtnCancle = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.IconDetail = exports.IconEdit = exports.ItemDetail = exports.ItemEdit = exports.ItemOptions = exports.ItemName = exports.ReviewItemContainer = void 0;
6
+ exports.ReviewItemContainer = exports.ItemOptions = exports.ItemName = exports.ItemEdit = exports.ItemDetail = exports.IconEdit = exports.IconDetail = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ButtonConfirm = exports.ButtonCancel = exports.ConfirmBtnGroup = exports.ConfirmText = exports.ConfirmWrapper = void 0;
6
+ exports.ConfirmWrapper = exports.ConfirmText = exports.ConfirmBtnGroup = exports.ButtonConfirm = exports.ButtonCancel = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ReviewList = exports.IconWiki = exports.ReviewEmpty = exports.FilterTime = exports.IconFilter = exports.ReviewFilter = exports.IconAdd = exports.ReviewAdd = exports.ReviewHead = exports.ReviewContainer = void 0;
6
+ exports.ReviewList = exports.ReviewHead = exports.ReviewFilter = exports.ReviewEmpty = exports.ReviewContainer = exports.ReviewAdd = exports.IconWiki = exports.IconFilter = exports.IconAdd = exports.FilterTime = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.breakLinesForCanvas = breakLinesForCanvas;
6
7
  exports.drawImage = drawImage;
7
8
  exports.drawTextMiddle = drawTextMiddle;
8
- exports.breakLinesForCanvas = breakLinesForCanvas;
9
9
 
10
10
  function drawImage(ctx, url, x, y, width, height) {
11
11
  return new Promise(function (res) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.bottom = exports.rightQuote = exports.leftQuote = exports.lines = void 0;
6
+ exports.rightQuote = exports.lines = exports.leftQuote = exports.bottom = void 0;
7
7
  var lines = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAEoCAYAAABfKM0/AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAA7qADAAQAAAABAAABKAAAAADxRKwdAAAVfUlEQVR4Ae2dPZIjyZGFq9poo3CU3ZV4Bt6J1xhKI1DiXGNuwwNweYMdaVcaicKA/jz9RXqigO4qmm3BYfmlGeCRHn+eX+CZRyZQ3S8vHBCAAAQgAAEI/P8TeNUUl8vfv3v5x69/icKf4vQPx2nV5BKvsq/ZZXfJX67VLAcop0zr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B90lIRCwSOBCxUi7aJmYx7RMUZBGYQyB9K7Vvjda9b0fFwasYyEQUEjgSaZo8V2xnCvUUFHwQmEFDW1UuH7XbGL6eKAwYC8wh8ibSrlw7b7Yz/ra84YCAwjEAI1lk2H05FeO3hFFvlYctFOBDYCHifHDYFbLvV8lSZzwkERhKIjFu75C28wwn3uCPXjKAg0Alkxg2HbRTZKndAlCEwhUAmWL3Fy+W0W4BslacsFHFA4EBAKnWKdXlXLhn3AIsTCEwkYAHb8lvliatETBAIAhLpnmGvkZBxr4lwDoERBEK00m1qN0RsW7FxjztikQgCAjcIeGd84wcYCPcGL1wQeDiB/JVUKde7Zgs5gkO4D18hAoDALQKhUgtV22SLt5pyj3uLGT4IPJpACjUU698n21ZcCPfRC8T8ELhF4CDUfDIVrWz55dQtZPggMISA0q73y7ZbaGTcIUtEGBB4Q0BZ15nXthrxcOoNLRwQGEBAu2InWZf3nTJ/ZDBgiQgBAm8JWLSqcdk2XGTct8jwQGAGgavtcQ+Ke9xOgzIEphB4ffllheJ/X/nlsnwId9GhAIFBBF6//LyicebtvlVJAQIQGEPgcrl8d/n1//56+fV//2d7RTl8YwIkEAhAAAIQgMApCPwL11OmBK6H71wAAAAASUVORK5CYII=';
8
8
  exports.lines = lines;
9
9
  var leftQuote = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAADJ0lEQVRYCe1XTWgTURCebze1KIpiD4raNLFNUFAP/iAU/Be9KHhRRG8K4kFEETwIip7FkwfBg1eFCoIW7KGHtoKttohYLzb9SZMQKD14iVGb7I6zaZPNz7633XgS3EPyZr5v5ns7b97LCyjAw+mJ/VSkCwQ6hkh8R4DQGirPTu4hti4S41SoBlEYnJw8QmTdpSLLtzyM3wqq1s2pbwfIxj2yreOLRCbtBHhmZh2h8Ehme0mb2Qfk+fk1lPv+kGy6QsyopisnwMnEbqLCawnYXB0QdMzpqZ0i3itlCxM3RhuNLqGmEieI7MG/Fp9JHKai9a4k7iUkvoYKiPhJsuw3grUoYpblLvUNW31CXqELqKmAlCtGNr+QALU4MEwmSYXUDyeTUWnaHmHoxEcJ5tFKQ3A2u4oWcmNS9u3K1MBj6ojdBGCpOMyJVkraHwXfpeIQ4SlFYtckT8FdgoXcLR/xJ7L3r6uTLiGz7HDU4sAzeYmrIl5qyVIFeG56A/0sTEqXrvYUAEYk6KAzY098ycmZTBsV8lPSdGs9ecAn6kA3EKucI4sVyBfvSIC3uJPJpBt+4iXBQv62UtwhGCTL54qXXMxsEPhcKYHXB6gP7fEPXpCH77yHb9EFDCAcH6rHDUpNd0vpN9YDFZuNB5WxZsCpqb26/U4m7nuFG8T2GS9gyTeOaGxEg7uQbWnyIIH22KBLdkdyDvA216wbgfrrPDpTs33VeZyDSHPWG191inXYpjrbNRnjrlE7Csn6qwOJ2zidOFQb4lj8q6ExWfMi4PXeeeRI4uSELQdQ5URsFPPyII1oPFyNSJ685FlZ7VvOWJowqLgiLcsub+JpKqgJHWXI/wn8qxXgvHJRgwBAvrkKgLJBdDTcbHMTILzXJA0A8XBzE2B6GUBFTYXR417J1LRaBHglV7PPtc4mLNAYhbt6A1YAcxSC/73Qbz6gH2S2XHbuhQEqgHkyzdPY0pnxy6/FHXEyz6J96xeHt7wKAP3UGtqHcOeoNrkf6JTdbOlGpOttmepdAVBOCBn5FzwkP5jPEYkNlAMCfcs+F75sWR4maThnzcvX8XKeP7RN+KS+0ACYAAAAAElFTkSuQmCC';
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.addShare = exports.uploadBase64 = exports.getBase64DownloadUrl = exports.getImageBase64ByUrl = void 0;
6
+ exports.uploadBase64 = exports.getImageBase64ByUrl = exports.getBase64DownloadUrl = exports.addShare = void 0;
7
7
 
8
8
  var _axios = _interopRequireDefault(require("axios"));
9
9
 
@@ -214,7 +214,7 @@
214
214
  text-align: center;
215
215
  line-height: 30px;
216
216
  color: #6f7886;
217
- font-style: 14px;
217
+ font-size: 14px;
218
218
  cursor: pointer;
219
219
  }
220
220
 
@@ -23,6 +23,8 @@ var _network = require("./server/network");
23
23
 
24
24
  require("./index.css");
25
25
 
26
+ require("./new-ui.css");
27
+
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
29
 
28
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -49,6 +51,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
49
51
 
50
52
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
51
53
 
54
+ // @ts-ignore
55
+ var prefix = BSGlobal.tenantInfo.isNewIndex ? 'titaui-okr-cases-library' : 'okr-cases-library';
56
+
52
57
  var OKRCases = function OKRCases(props) {
53
58
  var onApplyTpl = props.onApplyTpl,
54
59
  onClose = props.onClose;
@@ -404,7 +409,7 @@ var OKRCases = function OKRCases(props) {
404
409
  return handleScroll(e);
405
410
  }
406
411
  }, /*#__PURE__*/_react["default"].createElement(_reactPerfectScrollbar["default"], null, /*#__PURE__*/_react["default"].createElement("div", {
407
- className: "okr-cases-library",
412
+ className: prefix,
408
413
  ref: totalHeightRef,
409
414
  style: {
410
415
  minWidth: onClose ? '1366px' : '1163px'
@@ -0,0 +1,52 @@
1
+ .titaui-okr-cases-library .okr-cases-library__header {
2
+ border-top-left-radius: 12px;
3
+ border-top-right-radius: 12px;
4
+ }
5
+
6
+ .titaui-okr-cases-library .okr-cases-library__header-light {
7
+ background: transparent;
8
+ }
9
+
10
+ .titaui-okr-cases-library .okr-cases-library__navFirst {
11
+ border-bottom-left-radius: 12px;
12
+ border-bottom-right-radius: 12px;
13
+ box-sizing: border-box;
14
+ width: auto;
15
+ }
16
+
17
+ .titaui-okr-cases-library .okr-cases-library__navFirst-fixed {
18
+ border-top-left-radius: 12px;
19
+ border-top-right-radius: 12px;
20
+ width: 100%;
21
+ box-sizing: border-box;
22
+ }
23
+
24
+ .titaui-okr-cases-library .okr-cases-library__navSecond {
25
+ padding: 0 22px;
26
+ box-sizing: border-box;
27
+ width: auto;
28
+ }
29
+
30
+ .titaui-okr-cases-library .okr-cases-library__mainContainer {
31
+ padding-left: 0;
32
+ }
33
+
34
+ .titaui-okr-cases-library .okr-cases-library__cardList__card {
35
+ border-radius: 12px;
36
+ }
37
+
38
+ .titaui-okr-cases-library .okr-cases-library__aside__submitWant {
39
+ border-radius: 12px;
40
+ }
41
+
42
+ .titaui-okr-cases-library .okr-cases-library__aside__advertise {
43
+ border-radius: 12px;
44
+ }
45
+
46
+ .titaui-okr-cases-library .okr-cases-library__aside__essay {
47
+ border-radius: 12px;
48
+ }
49
+
50
+ .titaui-okr-cases-library .okr-cases-library__navSecond__item {
51
+ color: #3F4755;
52
+ }
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.PayDialog = exports.SubmitDialog = void 0;
8
+ exports.SubmitDialog = exports.PayDialog = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getOkrOrderInfo = exports.postOkrCasesOrder = exports.getOkrCaseProducts = exports.getIsHadBuyOKRcases = exports.gettotalNumber = exports.getEssay = exports.postLike = exports.postApply = exports.postSurvey = exports.getLabels = exports.postForCases = exports.postSearchCases = void 0;
6
+ exports.postSurvey = exports.postSearchCases = exports.postOkrCasesOrder = exports.postLike = exports.postForCases = exports.postApply = exports.gettotalNumber = exports.getOkrOrderInfo = exports.getOkrCaseProducts = exports.getLabels = exports.getIsHadBuyOKRcases = exports.getEssay = void 0;
7
7
 
8
8
  var _react = require("react");
9
9
 
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = _default;
7
- exports.fittingString = exports.setSize = exports.getOpenData = void 0;
7
+ exports.setSize = exports.getOpenData = exports.fittingString = void 0;
8
8
 
9
9
  var _openData = require("../../utils/open-data");
10
10
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.OperationRecordItemLine = exports.OperationRecordItemDot = exports.OperationRecordItemDate = exports.OperationContent = exports.OperationPublisher = exports.OperationContentWrapper = exports.OperationRecordItemWrapper = exports.OperationDateYearLine = exports.OperationDateYearDot = exports.OperationDateYear = exports.OperationDateYearWrapper = exports.Dd = exports.OperationRecordList = exports.OperationRecordTotal = exports.OperationRecordWrapper = void 0;
6
+ exports.OperationRecordWrapper = exports.OperationRecordTotal = exports.OperationRecordList = exports.OperationRecordItemWrapper = exports.OperationRecordItemLine = exports.OperationRecordItemDot = exports.OperationRecordItemDate = exports.OperationPublisher = exports.OperationDateYearWrapper = exports.OperationDateYearLine = exports.OperationDateYearDot = exports.OperationDateYear = exports.OperationContentWrapper = exports.OperationContent = exports.Dd = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -72,7 +72,7 @@
72
72
  }
73
73
 
74
74
  .titaui-pagination-options-quick-jumper {
75
- margin-left: 8px;
75
+ margin-left: 4px;
76
76
  display: inline-flex;
77
77
  align-items: center;
78
78
  white-space: nowrap;
@@ -83,7 +83,7 @@
83
83
  margin: 0 8px;
84
84
  padding: 0 4px;
85
85
  border: 1px solid #E9ECF0;
86
- border-radius: 4px;
86
+ border-radius: 8px;
87
87
  transition: all .3s ease;
88
88
  box-sizing: border-box;
89
89
  }
@@ -99,7 +99,7 @@
99
99
  margin: 0 4px;
100
100
  padding: 0 6px;
101
101
  border: 1px solid #E9ECF0;
102
- border-radius: 4px;
102
+ border-radius: 8px;
103
103
  background: #FFFFFF;
104
104
  }
105
105
 
@@ -130,12 +130,12 @@
130
130
  }
131
131
 
132
132
  .titaui-pagination__size--md .titaui-pagination__select {
133
- margin-left: 12px;
133
+ margin-left: 4px;
134
134
  }
135
135
 
136
136
  .titaui-pagination__size--md .titaui-pagination__select-selector {
137
137
  border: 1px solid #E9ECF0 !important;
138
- border-radius: 4px;
138
+ border-radius: 8px;
139
139
  background: #ffffff;
140
140
  transition: all .3s ease;
141
141
  }
@@ -200,12 +200,7 @@
200
200
  cursor: not-allowed;
201
201
  }
202
202
 
203
- .titaui-pagination__select {
204
- width: 98px !important;
205
- }
206
-
207
203
  .titaui-pagination__select-selector {
208
- width: 98px;
209
204
  height: 28px !important;
210
205
  margin: 0;
211
206
  box-sizing: border-box;
@@ -245,9 +240,8 @@
245
240
  }
246
241
 
247
242
  .titaui-pagination__select-dropdown {
248
- width: 98px !important;
249
243
  border: none !important;
250
- border-radius: 4px;
244
+ border-radius: 8px;
251
245
  }
252
246
 
253
247
  .titaui-pagination__select-item-option {
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getQuaterNum = getQuaterNum;
6
+ exports.getDateRangeByCycle = exports.formatPeriod = exports.dealYearsRange = exports.dealSelectedPeriodData = exports.computeYearIndex = void 0;
7
7
  exports.getDefalutCycle = getDefalutCycle;
8
- exports.getDateRangeByCycle = exports.computeYearIndex = exports.formatPeriod = exports.dealYearsRange = exports.dealSelectedPeriodData = void 0;
8
+ exports.getQuaterNum = getQuaterNum;
9
9
 
10
10
  var _moment = _interopRequireDefault(require("moment"));
11
11
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.LinkWrapper = exports.BorderWrapper = exports.PrimaryWrapper = exports.DefaultWrapper = void 0;
6
+ exports.PrimaryWrapper = exports.LinkWrapper = exports.DefaultWrapper = exports.BorderWrapper = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.PlaceHolder = exports.Item = exports.List = exports.Icon = exports.Title = exports.Head = exports.Wrapper = void 0;
6
+ exports.Wrapper = exports.Title = exports.PlaceHolder = exports.List = exports.Item = exports.Icon = exports.Head = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
 
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.getApiUrl = getApiUrl;
6
7
  exports.getBSGlobal = getBSGlobal;
7
8
  exports.getTenantInfo = getTenantInfo;
8
9
  exports.getUserInfo = getUserInfo;
9
- exports.getApiUrl = getApiUrl;
10
10
  exports.taker = taker;
11
11
 
12
12
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.MockMonth = exports.MockQuarter = exports.MockPeriod = void 0;
6
+ exports.MockQuarter = exports.MockPeriod = exports.MockMonth = void 0;
7
7
  var MockPeriod = [{
8
8
  title: "全部周期",
9
9
  order: ["-1"],
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Icon = exports.Wrapper = void 0;
6
+ exports.Wrapper = exports.Icon = void 0;
7
7
 
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9