@titaui/pc 1.11.4-1 → 1.11.4-12

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 (406) hide show
  1. package/lib/components/avatar/text-avatar/index.css +7 -0
  2. package/lib/components/avatar/text-avatar/index.js +32 -7
  3. package/lib/components/button/rect-btn/index.js +7 -7
  4. package/lib/components/change-okr-modal/Item.js +15 -15
  5. package/lib/components/communication/index.js +30 -29
  6. package/lib/components/date-picker/BodyItem.js +3 -3
  7. package/lib/components/date-picker/CalendarHeader.js +3 -3
  8. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  9. package/lib/components/drawer/index.js +7 -6
  10. package/lib/components/dynamic/constant.js +13 -6
  11. package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +243 -0
  12. package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +6 -2
  13. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.css +22 -7
  14. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.js +6 -7
  15. package/lib/components/dynamic/dynamic-item/dynamic-interview/interview-content.js +19 -7
  16. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/img/wifi.svg +24 -0
  17. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.css +61 -0
  18. package/{es/pages/group-management/page-view/loading → lib/components/dynamic/dynamic-item/dynamic-interview-share}/index.js +40 -11
  19. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/interview-content.js +69 -0
  20. package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +6 -6
  21. package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +7 -7
  22. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +11 -11
  23. package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +14 -14
  24. package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +10 -10
  25. package/lib/components/dynamic/dynamic-item/index.js +34 -13
  26. package/lib/components/dynamic/dynamic-list/index.js +5 -13
  27. package/lib/components/e-priority/index.js +18 -12
  28. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  29. package/lib/components/eReport/eReportShare/index.js +11 -11
  30. package/lib/components/emotions-selector/selector-pop.js +3 -3
  31. package/lib/components/ereport-list/index.js +3 -3
  32. package/lib/components/file-list/components/single-file/index.js +11 -11
  33. package/lib/components/form/form-fields/date/index.js +15 -11
  34. package/lib/components/form/form-fields/input/index.js +10 -10
  35. package/lib/components/form/form-fields/user/index.css +22 -2
  36. package/lib/components/form/form-fields/user/index.js +18 -8
  37. package/lib/components/form/form-fields/user/user-input.js +15 -6
  38. package/lib/components/icon-button-list/index.css +2 -57
  39. package/lib/components/icon-button-list/index.js +10 -7
  40. package/lib/components/img-viewer/index.css +10 -3
  41. package/lib/components/img-viewer/index.js +57 -18
  42. package/lib/components/mblog/components/MblogAction.js +3 -3
  43. package/lib/components/mblog/index.js +31 -30
  44. package/lib/components/menus/components/menu-tree/images/interview-menu/my-interview.svg +16 -0
  45. package/lib/components/menus/components/menu-tree/images/interview-menu/template.svg +16 -0
  46. package/lib/components/menus/components/menu-tree/images/interview-menu/todo.svg +16 -0
  47. package/lib/components/menus/components/menu-tree/index.css +4 -2
  48. package/lib/components/menus/components/menu-tree/tree-node/index.css +85 -1
  49. package/lib/components/menus/export-modules/interview-menus/constant.js +12 -12
  50. package/lib/components/menus/export-modules/interview-menus/index.css +7 -0
  51. package/lib/components/menus/export-modules/interview-menus/index.js +4 -2
  52. package/lib/components/nav-top/components/menu/index.js +14 -14
  53. package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +25 -19
  54. package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +48 -10
  55. package/lib/components/nav-top/components/user-message/constant.js +1 -0
  56. package/lib/components/nav-top/components/user-message/hrMessage.js +22 -19
  57. package/lib/components/nav-top/components/user-message/index.js +23 -20
  58. package/lib/components/nav-top/request.apis.js +3 -1
  59. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +7 -7
  60. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  61. package/lib/components/okr-detail/detail-header/actions.js +62 -66
  62. package/lib/components/okr-detail/detail-header/index.css +2 -2
  63. package/lib/components/okr-detail/detail-header/index.js +205 -194
  64. package/lib/components/okr-detail/index.js +21 -19
  65. package/lib/components/okr-flow/child-node/index.css +67 -21
  66. package/lib/components/okr-flow/child-node/work-node.js +61 -24
  67. package/lib/components/okr-flow/empty/index.css +8 -1
  68. package/lib/components/okr-flow/export-modal/index.js +42 -18
  69. package/lib/components/okr-flow/export-modules/okr-search-panel/index.css +3 -1
  70. package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +30 -24
  71. package/lib/components/okr-flow/images/loading-light.gif +0 -0
  72. package/lib/components/okr-flow/okr-map/index.js +43 -22
  73. package/lib/components/okr-flow/request-apis.js +15 -8
  74. package/lib/components/okr-flow/root-node/index.css +2 -2
  75. package/lib/components/okr-flow/root-node/index.js +26 -25
  76. package/lib/components/okr-flow/utils/index.js +45 -29
  77. package/lib/components/okr-flow/utils/tree-handler.js +29 -18
  78. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  79. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  80. package/lib/components/okrcase-library/index.css +6 -4
  81. package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +36 -30
  82. package/lib/components/pagination/index.css +3 -3
  83. package/lib/components/pagination/select.css +58 -23
  84. package/lib/components/period-selector/index.css +9 -3
  85. package/lib/components/period-selector/index.js +14 -11
  86. package/lib/components/picker/components/panels/date-panel/date-body.js +21 -19
  87. package/lib/components/picker/components/panels/date-panel/date-head.js +29 -8
  88. package/lib/components/picker/components/panels/month-panel/month-body.js +6 -4
  89. package/lib/components/picker/components/picker-trigger/index.css +15 -0
  90. package/lib/components/picker/components/picker-trigger/index.js +8 -8
  91. package/lib/components/popup/index.js +4 -4
  92. package/lib/components/radio/index.css +9 -9
  93. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  94. package/lib/components/rich-editor/models/schema.js +6 -6
  95. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  96. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  97. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  98. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  99. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  100. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  101. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  102. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  103. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  104. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  105. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  106. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  107. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  108. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  109. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  110. package/lib/components/scroll-container/index.js +423 -0
  111. package/lib/components/scroll-container/style.css +35 -0
  112. package/lib/components/scrollbar/scroll-mask/index.js +1 -1
  113. package/lib/components/select/Option.js +3 -3
  114. package/lib/components/superset-charts/components/chart/index.js +1 -1
  115. package/lib/components/superset-charts/utils/axios.js +5 -13
  116. package/{es/pages/group-management/page-view/group-empty.js → lib/components/survey-model/contact.js} +54 -27
  117. package/lib/components/survey-model/index.css +141 -0
  118. package/lib/components/survey-model/index.js +265 -0
  119. package/lib/components/survey-model/instance.js +86 -0
  120. package/lib/components/survey-model/request-api.js +80 -0
  121. package/lib/components/task-tree/helper.js +61 -0
  122. package/lib/components/task-tree/images/P1.svg +15 -0
  123. package/lib/components/task-tree/images/P2.svg +15 -0
  124. package/lib/components/task-tree/images/P3.svg +15 -0
  125. package/lib/components/task-tree/images/P4.svg +15 -0
  126. package/lib/components/task-tree/images/P5.svg +15 -0
  127. package/lib/components/task-tree/images/arrow.svg +9 -0
  128. package/lib/components/task-tree/images/empty-131.png +0 -0
  129. package/lib/components/task-tree/images/followed.svg +33 -0
  130. package/lib/components/task-tree/images/nice.svg +108 -0
  131. package/lib/components/task-tree/images/struc12.png +0 -0
  132. package/lib/components/task-tree/images/struc2.png +0 -0
  133. package/lib/components/task-tree/images/xialat-s.svg +13 -0
  134. package/lib/components/task-tree/index.js +22 -0
  135. package/lib/components/task-tree/mock.js +944 -0
  136. package/{es/components/okr-detail/e-list → lib/components/task-tree}/precls.js +1 -1
  137. package/lib/components/task-tree/request-apis.js +88 -0
  138. package/lib/components/task-tree/task-item-node/constant.js +45 -0
  139. 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
  140. package/{es/components/okr-detail/components/okr-tree/tree-node/e-node → lib/components/task-tree/task-item-node}/e-project.js +63 -51
  141. package/{es/components/e-status-dropdown/index.js → lib/components/task-tree/task-item-node/e-status-dropdown.js} +13 -13
  142. 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} +138 -124
  143. package/{es/components/okr-detail/components/okr-tree/tree-node → lib/components/task-tree/task-item-node}/get-process-color.js +3 -3
  144. package/lib/components/task-tree/task-item-node/index.css +289 -0
  145. package/lib/components/task-tree/task-item-node/task-node-render.js +43 -0
  146. package/lib/components/task-tree/task-tree.css +16 -0
  147. package/{es/components/okr-detail/components/okr-tree/index.js → lib/components/task-tree/task-tree.js} +17 -16
  148. package/lib/components/time-picker/index.css +6 -0
  149. package/lib/components/time-picker/time-picker.js +45 -33
  150. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  151. package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.css +1 -0
  152. package/lib/components/wechat-btn/index.css +14 -0
  153. package/lib/components/wechat-btn/index.js +338 -0
  154. package/lib/components-v1/animate/AnimateChild.js +3 -3
  155. package/lib/components-v1/avatar/index.js +3 -3
  156. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  157. package/lib/components-v1/progress/CircleProgress.js +3 -3
  158. package/lib/components-v1/radio/radio.js +3 -3
  159. package/lib/components-v1/radio/style/index.css +8 -8
  160. package/lib/components-v1/select/Option.js +3 -3
  161. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  162. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  163. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  164. package/lib/index.js +99 -91
  165. package/lib/pages/okr-map/export-modules/okr-map/header/index.css +7 -2
  166. package/lib/pages/okr-map/export-modules/okr-map/header/index.js +73 -34
  167. package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +65 -42
  168. package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +26 -14
  169. package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +58 -13
  170. package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +28 -20
  171. package/lib/pages/okr-map/number-select/index.css +12 -9
  172. package/lib/pages/okr-map/number-select/index.js +3 -3
  173. package/lib/utils/auth.js +65 -8
  174. package/lib/utils/bs-global.js +18 -6
  175. package/lib/utils/open-data.js +63 -43
  176. package/package.json +6 -2
  177. package/.eslintignore +0 -3
  178. package/.eslintrc.js +0 -223
  179. package/.husky/pre-commit +0 -4
  180. package/.prettierignore +0 -31
  181. package/.prettierrc.js +0 -90
  182. package/.vscode/settings.json +0 -5
  183. package/es/components/cascader/time.js +0 -31
  184. package/es/components/common-share/request-apis.js +0 -56
  185. package/es/components/confidence/heart.js +0 -66
  186. package/es/components/create-okr-modal/fields/index.js +0 -17
  187. package/es/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +0 -154
  188. package/es/components/date-picker/BodyItem.js +0 -121
  189. package/es/components/date-picker/CalendarBody.js +0 -157
  190. package/es/components/date-picker/CalendarHeader.js +0 -187
  191. package/es/components/date-picker/index.js +0 -157
  192. package/es/components/date-range-picker/index.js +0 -210
  193. package/es/components/dialog/index.js +0 -119
  194. package/es/components/dialog-confirm/index.js +0 -154
  195. package/es/components/drop-selector/icon-item.js +0 -40
  196. package/es/components/drop-selector/index.js +0 -179
  197. package/es/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  198. package/es/components/dynamic/dynamic-liking/mock.js +0 -83
  199. package/es/components/dynamic/dynamic-topping/request-api.js +0 -36
  200. package/es/components/e-priority/index.js +0 -88
  201. package/es/components/grid-layout/commen-components/index.js +0 -73
  202. package/es/components/grid-layout/image/could.js +0 -8
  203. package/es/components/grid-layout/image/lv.js +0 -8
  204. package/es/components/grid-layout/image/tita-mask.js +0 -8
  205. package/es/components/help-card/request-api.js +0 -35
  206. package/es/components/icon-button-list/index.js +0 -65
  207. package/es/components/menus/context.js +0 -18
  208. package/es/components/menus/precls.js +0 -8
  209. package/es/components/okr-detail/auth.js +0 -197
  210. package/es/components/okr-detail/components/ao-nice/index.js +0 -245
  211. package/es/components/okr-detail/components/block-line/index.js +0 -20
  212. package/es/components/okr-detail/components/header/index.js +0 -211
  213. package/es/components/okr-detail/components/icon-text/index.js +0 -116
  214. package/es/components/okr-detail/components/okr-tree/precls.js +0 -8
  215. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +0 -88
  216. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +0 -98
  217. package/es/components/okr-detail/components/okr-tree/tree-node/index.js +0 -90
  218. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +0 -46
  219. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +0 -421
  220. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +0 -54
  221. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +0 -62
  222. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +0 -94
  223. package/es/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +0 -273
  224. package/es/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +0 -207
  225. package/es/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +0 -236
  226. package/es/components/okr-detail/components/padding-layout.js +0 -22
  227. package/es/components/okr-detail/components/tab-panel-content/index.js +0 -27
  228. package/es/components/okr-detail/context.js +0 -30
  229. package/es/components/okr-detail/e-list/index.js +0 -243
  230. package/es/components/okr-detail/e-list/search-form/fields/e-order.js +0 -172
  231. package/es/components/okr-detail/e-list/search-form/fields/e-status.js +0 -99
  232. package/es/components/okr-detail/e-list/search-form/fields/e-user.js +0 -49
  233. package/es/components/okr-detail/e-list/search-form/index.js +0 -143
  234. package/es/components/okr-detail/error-page/index.js +0 -33
  235. package/es/components/okr-detail/index.js +0 -428
  236. package/es/components/okr-detail/loading/index.js +0 -28
  237. package/es/components/okr-detail/okr-list/add-parent-okr.js +0 -37
  238. package/es/components/okr-detail/okr-list/create-kr-item/heart.js +0 -38
  239. package/es/components/okr-detail/okr-list/drag-order-kr.js +0 -62
  240. package/es/components/okr-detail/okr-list/empty/index.js +0 -48
  241. package/es/components/okr-detail/okr-list/index.js +0 -524
  242. package/es/components/okr-detail/okr-list/warp-parent-okr.js +0 -21
  243. package/es/components/okr-detail/store.js +0 -1
  244. package/es/components/okr-flow/child-node/fields/creator.js +0 -175
  245. package/es/components/okr-flow/child-node/fields/okrClassify.js +0 -31
  246. package/es/components/okr-flow/child-node/fields/okrType.js +0 -21
  247. package/es/components/okr-flow/child-node/helper.js +0 -35
  248. package/es/components/okr-flow/child-node/index.js +0 -110
  249. package/es/components/okr-flow/child-node/kr-node.js +0 -75
  250. package/es/components/okr-flow/child-node/work-node.js +0 -242
  251. package/es/components/okr-flow/context.js +0 -14
  252. package/es/components/okr-flow/empty/index.js +0 -29
  253. package/es/components/okr-flow/export-modules/okr-search-panel/index.js +0 -394
  254. package/es/components/okr-flow/index.js +0 -24
  255. package/es/components/okr-flow/mini-map/index.js +0 -112
  256. package/es/components/okr-flow/mini-map/map.js +0 -145
  257. package/es/components/okr-flow/mini-map/mini-node.js +0 -57
  258. package/es/components/okr-flow/mini-map/utils.js +0 -79
  259. package/es/components/okr-flow/okr-map/index.js +0 -192
  260. package/es/components/okr-flow/open-data/index.js +0 -115
  261. package/es/components/okr-flow/precls.js +0 -8
  262. package/es/components/okr-flow/request-apis.js +0 -118
  263. package/es/components/okr-flow/root-node/index.js +0 -229
  264. package/es/components/okr-flow/utils/config.js +0 -18
  265. package/es/components/okr-flow/utils/helper.js +0 -36
  266. package/es/components/okr-flow/utils/index.js +0 -66
  267. package/es/components/okr-flow/utils/tree-handler.js +0 -323
  268. package/es/components/okr-progress-modal/helper.js +0 -156
  269. package/es/components/okr-progress-modal/request-apis.js +0 -34
  270. package/es/components/okr-share/request-apis.js +0 -56
  271. package/es/components/okrcase-library/server/network.js +0 -407
  272. package/es/components/pagination/locale/en_US.js +0 -22
  273. package/es/components/pagination/locale/zh_CN.js +0 -22
  274. package/es/components/point-demo/drop-down-box/index.js +0 -159
  275. package/es/components/point-demo/index.js +0 -533
  276. package/es/components/point-demo/input/index.js +0 -176
  277. package/es/components/point-demo/point-demo.js +0 -75
  278. package/es/components/point-demo/popup/index.js +0 -113
  279. package/es/components/point-demo/popup/placement.js +0 -44
  280. package/es/components/range-picker-pop/index.js +0 -273
  281. package/es/components/scrollbar/simplebar/helpers.js +0 -59
  282. package/es/components/scrollbar/simplebar/index.js +0 -91
  283. package/es/components/scrollbar/simplebar/scrollbar-width.js +0 -47
  284. package/es/components/scrollbar/simplebar/simplebar.js +0 -852
  285. package/es/components/scrollbar/simplebar-react.js +0 -163
  286. package/es/components/search-dropdown/index.js +0 -40
  287. package/es/components/search-input/index.js +0 -126
  288. package/es/components/select/Option.js +0 -94
  289. package/es/components/select/index.js +0 -330
  290. package/es/components/selector-input/debounce.js +0 -36
  291. package/es/components/selector-input/index.js +0 -109
  292. package/es/components/slider-input/index.js +0 -119
  293. package/es/components/switch/index.js +0 -39
  294. package/es/components/table/index.js +0 -275
  295. package/es/components/tabs/index.js +0 -63
  296. package/es/components/task-relation-modal/tree-node/index.js +0 -58
  297. package/es/components/tita-chart/charts/img/could.js +0 -8
  298. package/es/components/tooltip/error-tip.js +0 -24
  299. package/es/components/tooltip/index.js +0 -21
  300. package/es/components/tree/index.js +0 -79
  301. package/es/components/tree/precls.js +0 -8
  302. package/es/components/upvote/request-apis.js +0 -45
  303. package/es/components/user-selector/action-btns/btn-cancel.js +0 -21
  304. package/es/components/user-selector/action-btns/btn-ok.js +0 -21
  305. package/es/components/user-selector/action-btns/index.js +0 -27
  306. package/es/components/user-selector/context.js +0 -18
  307. package/es/components/user-selector/empty/group.js +0 -55
  308. package/es/components/user-selector/empty/index.js +0 -28
  309. package/es/components/user-selector/export-modules/depart-search-selector/result-part.js +0 -41
  310. package/es/components/user-selector/export-modules/group-selector/index.js +0 -170
  311. package/es/components/user-selector/export-modules/group-selector/searched-panel.js +0 -68
  312. package/es/components/user-selector/export-modules/multiple-user-selector--bak/index.js +0 -246
  313. package/es/components/user-selector/index.js +0 -25
  314. package/es/components/user-selector/layout/index.js +0 -25
  315. package/es/components/user-selector/loading/index.js +0 -18
  316. package/es/components/user-selector/request-apis.js +0 -180
  317. package/es/components/user-selector/searched-panel/index.js +0 -139
  318. package/es/components/user-selector/searched-panel/result-part.js +0 -43
  319. package/es/components/user-selector/select-tree/selected-tree/index.js +0 -91
  320. package/es/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +0 -48
  321. package/es/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +0 -27
  322. package/es/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +0 -57
  323. package/es/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +0 -93
  324. package/es/components/user-selector/utils.js +0 -139
  325. package/es/components/viewer/ImageListRender.js +0 -143
  326. package/es/components/viewer/index.js +0 -168
  327. package/es/components/word-cloud/index.js +0 -109
  328. package/es/components/word-cloud/request-apis.js +0 -26
  329. package/es/components-v1/animate/AnimateChild.js +0 -76
  330. package/es/components-v1/animate/animate.js +0 -148
  331. package/es/components-v1/animate/index.js +0 -13
  332. package/es/components-v1/dom/index.js +0 -30
  333. package/es/components-v1/placement/index.js +0 -13
  334. package/es/components-v1/placement/placement.js +0 -111
  335. package/es/components-v1/placement/placementInner.js +0 -139
  336. package/es/components-v1/pop/Pop.js +0 -246
  337. package/es/components-v1/pop/PopInner.js +0 -163
  338. package/es/components-v1/pop/index.js +0 -13
  339. package/es/components-v1/progress/CircleProgress.js +0 -152
  340. package/es/components-v1/progress/LineProgress.js +0 -83
  341. package/es/components-v1/progress/index.js +0 -80
  342. package/es/components-v1/select/Option.js +0 -94
  343. package/es/components-v1/select/index.js +0 -330
  344. package/es/components-v1/utils/animate/animate.js +0 -103
  345. package/es/components-v1/utils/animate/event.js +0 -79
  346. package/es/components-v1/utils/dom/index.js +0 -30
  347. package/es/components-v1/utils/placement/autoAdjustPlacement.js +0 -93
  348. package/es/components-v1/utils/placement/getContainerVisibleArea.js +0 -22
  349. package/es/components-v1/utils/placement/getExpectPlacement.js +0 -49
  350. package/es/components-v1/utils/placement/getPlacementInContainer.js +0 -26
  351. package/es/components-v1/utils/placement/placement.js +0 -76
  352. package/es/index.js +0 -777
  353. package/es/pages/appointment-demo/drop-down-box/index.js +0 -159
  354. package/es/pages/appointment-demo/index.js +0 -649
  355. package/es/pages/appointment-demo/input/index.js +0 -176
  356. package/es/pages/appointment-demo/popup/index.js +0 -113
  357. package/es/pages/appointment-demo/popup/placement.js +0 -44
  358. package/es/pages/group-management/components/checkbox/index.js +0 -28
  359. package/es/pages/group-management/components/input-form/index.js +0 -174
  360. package/es/pages/group-management/components/radio/index.js +0 -21
  361. package/es/pages/group-management/components/table/index.js +0 -174
  362. package/es/pages/group-management/groupInterface.js +0 -293
  363. package/es/pages/group-management/index.js +0 -13
  364. package/es/pages/group-management/page-view/empty.js +0 -111
  365. package/es/pages/group-management/page-view/importGroupStaff/index.js +0 -208
  366. package/es/pages/group-management/page-view/index.js +0 -412
  367. package/es/pages/group-management/table/index.js +0 -104
  368. package/es/pages/group-management/tree/add-group-dialog/index.js +0 -153
  369. package/es/pages/group-management/tree/delete-group-dialog/index.js +0 -82
  370. package/es/pages/group-management/tree/edit-group-dialog/index.js +0 -155
  371. package/es/pages/group-management/tree/group-form/index.js +0 -207
  372. package/es/pages/group-management/tree/index.js +0 -168
  373. package/es/pages/group-management/tree/operation-panel.js +0 -41
  374. package/es/pages/group-management/tree/trigger-render.js +0 -99
  375. package/es/pages/like-ranking/mock.js +0 -366
  376. package/es/pages/okr-map/export-modules/index.js +0 -1
  377. package/es/pages/okr-map/export-modules/okr-map/header/index.js +0 -182
  378. package/es/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +0 -47
  379. package/es/pages/okr-map/export-modules/okr-map/okr-map.js +0 -497
  380. package/es/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -69
  381. package/es/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +0 -168
  382. package/es/pages/okr-map/hooks/useStorage.js +0 -96
  383. package/es/pages/okr-map/index.js +0 -18
  384. package/es/pages/okr-map/level2-search/depart.js +0 -53
  385. package/es/pages/okr-map/level2-search/group.js +0 -69
  386. package/es/pages/okr-map/level2-search/index.js +0 -51
  387. package/es/pages/okr-map/level2-search/level2-input.js +0 -46
  388. package/es/pages/okr-map/level2-search/user.js +0 -54
  389. package/es/pages/okr-map/no-okr/index.js +0 -24
  390. package/es/pages/okr-map/number-select/index.js +0 -81
  391. package/es/pages/okr-map/open-data/index.js +0 -115
  392. package/es/pages/okr-map/precls.js +0 -8
  393. package/es/pages/okr-map/request-apis.js +0 -76
  394. package/es/pages/okr-map/share-dialog/index.js +0 -122
  395. package/es/pages/okr-map/unsupport-ie/index.js +0 -83
  396. package/es/pages/okr-map/utils.js +0 -51
  397. package/es/utils/auth.js +0 -294
  398. package/es/utils/bs-global.js +0 -114
  399. package/es/utils/local-storage.js +0 -42
  400. package/es/utils/mblog.js +0 -33
  401. package/es/utils/mock-bsglobal.js +0 -1837
  402. package/es/utils/open-data.js +0 -341
  403. package/es/utils/request-v1.js +0 -115
  404. package/es/utils/request.js +0 -183
  405. package/es/utils/tools.js +0 -286
  406. package/yarn-error.log +0 -21252
@@ -28,9 +28,9 @@ var insertSort = function insertSort(arr, item) {
28
28
  var modelType = item.modelType;
29
29
  var index = arr.length;
30
30
 
31
- if (modelType == "kr") {
31
+ if (modelType == 'kr') {
32
32
  index = arr.findIndex(function (item) {
33
- return item.modelType == "work";
33
+ return item.modelType == 'work';
34
34
  });
35
35
  }
36
36
 
@@ -50,11 +50,11 @@ var toTree = function toTree(data, showkr) {
50
50
  data = item.data;
51
51
  var parent;
52
52
 
53
- if (modelType == "work") {
53
+ if (modelType == 'work') {
54
54
  parent = showkr ? map[data.parentKrId || data.parentId] : map[data.parentId];
55
55
  }
56
56
 
57
- if (modelType == "kr") {
57
+ if (modelType == 'kr') {
58
58
  parent = map[data.workId];
59
59
  }
60
60
 
@@ -108,19 +108,19 @@ var formatNodes = function formatNodes(res, showkr) {
108
108
  OkrModel = _res$OkrModel === void 0 ? [] : _res$OkrModel,
109
109
  _res$KrModel = res.KrModel,
110
110
  KrModel = _res$KrModel === void 0 ? [] : _res$KrModel;
111
- OkrModel && uniqueArray(OkrModel, "workId").forEach(function (item) {
111
+ OkrModel && uniqueArray(OkrModel, 'workId').forEach(function (item) {
112
112
  nodes.push({
113
113
  id: item.workId,
114
114
  data: item,
115
- modelType: "work",
115
+ modelType: 'work',
116
116
  isSearchRes: searchIds.includes(item.workId)
117
117
  });
118
118
  });
119
- showkr && KrModel && uniqueArray(KrModel, "mileStoneId").forEach(function (item) {
119
+ showkr && KrModel && uniqueArray(KrModel, 'mileStoneId').forEach(function (item) {
120
120
  nodes.push({
121
121
  id: item.mileStoneId,
122
122
  data: item,
123
- modelType: "kr"
123
+ modelType: 'kr'
124
124
  });
125
125
  });
126
126
  return nodes;
@@ -130,6 +130,7 @@ exports.formatNodes = formatNodes;
130
130
 
131
131
  var flatTree = function flatTree(current, elements, showkr) {
132
132
  var isParentExpand = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
133
+ var parentId = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
133
134
  if (!current) return;
134
135
  var id = current.id,
135
136
  data = current.data,
@@ -138,11 +139,16 @@ var flatTree = function flatTree(current, elements, showkr) {
138
139
  children = _current$children === void 0 ? [] : _current$children,
139
140
  isSearchRes = current.isSearchRes;
140
141
 
141
- if (modelType == "root") {
142
+ if (modelType == 'root') {
142
143
  elements.push({
143
144
  id: "".concat(id),
144
- type: "RootNode",
145
- data: data
145
+ type: 'RootNode',
146
+ data: data,
147
+ isParent: true,
148
+ position: {
149
+ x: 0,
150
+ y: 0
151
+ }
146
152
  });
147
153
  } else {
148
154
  var isChildExpand = false;
@@ -151,10 +157,10 @@ var flatTree = function flatTree(current, elements, showkr) {
151
157
  isChildExpand = children.length > 0;
152
158
  } else {
153
159
  var childTotal = children.filter(function (item) {
154
- return item.modelType == "work";
160
+ return item.modelType == 'work';
155
161
  }).length;
156
162
  var krChildTotal = children.filter(function (item) {
157
- return item.modelType == "kr";
163
+ return item.modelType == 'kr';
158
164
  }).reduce(function (count, current) {
159
165
  return count += (current.children || []).length;
160
166
  }, 0);
@@ -163,12 +169,17 @@ var flatTree = function flatTree(current, elements, showkr) {
163
169
 
164
170
  elements.push({
165
171
  id: "".concat(id),
166
- type: "ChildNode",
172
+ type: 'ChildNode',
173
+ position: {
174
+ x: 0,
175
+ y: 0
176
+ },
167
177
  data: {
168
178
  id: id,
169
179
  data: data,
170
180
  isParentExpand: isParentExpand,
171
181
  isChildExpand: isChildExpand,
182
+ parentId: parentId,
172
183
  modelType: modelType,
173
184
  isSearchRes: isSearchRes
174
185
  }
@@ -182,7 +193,7 @@ var flatTree = function flatTree(current, elements, showkr) {
182
193
  _child$children = child.children,
183
194
  children = _child$children === void 0 ? [] : _child$children;
184
195
 
185
- if (!showkr && modelType == "kr") {
196
+ if (!showkr && modelType == 'kr') {
186
197
  if (children.length > 0) {
187
198
  children.forEach(function (sub) {
188
199
  if (!sub) return;
@@ -191,7 +202,7 @@ var flatTree = function flatTree(current, elements, showkr) {
191
202
  source: "".concat(id),
192
203
  target: "".concat(sub.id)
193
204
  });
194
- flatTree(sub, elements, showkr, current.modelType != "root");
205
+ flatTree(sub, elements, showkr, current.modelType != 'root', id);
195
206
  });
196
207
  }
197
208
  } else {
@@ -200,7 +211,7 @@ var flatTree = function flatTree(current, elements, showkr) {
200
211
  source: "".concat(id),
201
212
  target: "".concat(child.id)
202
213
  });
203
- flatTree(child, elements, showkr, current.modelType != "root");
214
+ flatTree(child, elements, showkr, current.modelType != 'root', id);
204
215
  }
205
216
  });
206
217
  }
@@ -314,7 +325,7 @@ exports.deleteKrById = deleteKrById;
314
325
  var uniqueArray = function uniqueArray(arr, id) {
315
326
  var obj = {};
316
327
  arr = arr.reduce(function (item, next) {
317
- obj[next[id]] ? "" : obj[next[id]] = true && item.push(next);
328
+ obj[next[id]] ? '' : obj[next[id]] = true && item.push(next);
318
329
  return item;
319
330
  }, []);
320
331
  return arr;
@@ -45,7 +45,7 @@ var ReviewItem = /*#__PURE__*/function (_PureComponent) {
45
45
  var _super = _createSuper(ReviewItem);
46
46
 
47
47
  function ReviewItem() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, ReviewItem);
51
51
 
@@ -53,14 +53,14 @@ var ReviewItem = /*#__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._handlerLinkToReviewDetail = function () {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this._handlerLinkToReviewDetail = function () {
57
57
  var _this$props = _this.props,
58
58
  feedId = _this$props.feedId,
59
59
  reviewItemData = _this$props.reviewItemData,
60
60
  krIndex = _this$props.krIndex,
61
61
  editAble = _this$props.editAble;
62
62
  window.open("".concat(location.pathname, "#okr/reviewDetail?okrId=8077&back=").concat(location.hash, "&replayId=").concat(reviewItemData.replayId, "&feedId=").concat(feedId, "&krIndex=").concat(krIndex, "&editAble=").concat(editAble));
63
- }, _temp));
63
+ }, _assertThisInitialized(_this)));
64
64
  }
65
65
 
66
66
  _createClass(ReviewItem, [{
@@ -49,7 +49,7 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
49
49
  var _super = _createSuper(ConfirmPop);
50
50
 
51
51
  function ConfirmPop() {
52
- var _temp, _this;
52
+ var _this;
53
53
 
54
54
  _classCallCheck(this, ConfirmPop);
55
55
 
@@ -57,13 +57,13 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
57
57
  args[_key] = arguments[_key];
58
58
  }
59
59
 
60
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
60
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
61
61
  // @ts-ignore
62
62
  _this.refs.pop.show(_this.refs.trigger);
63
63
  }, _this.handleHide = function () {
64
64
  // @ts-ignore
65
65
  _this.refs.pop.hide();
66
- }, _temp));
66
+ }, _assertThisInitialized(_this)));
67
67
  }
68
68
 
69
69
  _createClass(ConfirmPop, [{
@@ -647,12 +647,14 @@
647
647
  }
648
648
 
649
649
  .okr-cases-library__pay-window__commit-order {
650
- background: #FFFFFF;
650
+ background: #ffffff;
651
651
  border-radius: 8px;
652
- border: 1px solid #DFE3EA;
652
+ border: 1px solid #dfe3ea;
653
653
  padding: 12px 20px;
654
- color: #3F4755;
654
+ color: #3f4755;
655
655
  cursor: pointer;
656
+ display: flex;
657
+ align-items: center;
656
658
  }
657
659
 
658
660
  .okr-cases-library__pay-window__commit-order--wx {
@@ -660,7 +662,7 @@
660
662
  }
661
663
 
662
664
  .okr-cases-library__pay-window__commit-order--active {
663
- border-color: #2879FF;
665
+ border-color: #2879ff;
664
666
  position: relative;
665
667
  }
666
668
 
@@ -57,23 +57,23 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
57
57
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
58
58
 
59
59
  var Fields = _form["default"].Fields;
60
- var precls = "okr-cases-library__pay-window";
60
+ var precls = 'okr-cases-library__pay-window';
61
61
 
62
62
  function SubmitDialog(props) {
63
63
  var handleShowSubmitOkrWindow = props.handleShowSubmitOkrWindow,
64
64
  isShowSubmitOkrWindow = props.isShowSubmitOkrWindow;
65
65
 
66
- var _useState = (0, _react.useState)(""),
66
+ var _useState = (0, _react.useState)(''),
67
67
  _useState2 = _slicedToArray(_useState, 2),
68
68
  type = _useState2[0],
69
69
  setType = _useState2[1];
70
70
 
71
- var _useState3 = (0, _react.useState)(""),
71
+ var _useState3 = (0, _react.useState)(''),
72
72
  _useState4 = _slicedToArray(_useState3, 2),
73
73
  job = _useState4[0],
74
74
  setJob = _useState4[1];
75
75
 
76
- var _useState5 = (0, _react.useState)(""),
76
+ var _useState5 = (0, _react.useState)(''),
77
77
  _useState6 = _slicedToArray(_useState5, 2),
78
78
  scene = _useState6[0],
79
79
  setScene = _useState6[1];
@@ -93,11 +93,11 @@ function SubmitDialog(props) {
93
93
 
94
94
  if (!err.length) {
95
95
  (0, _network.postSurvey)(body).then(function () {
96
- _toast["default"].Success("发送成功");
96
+ _toast["default"].Success('发送成功');
97
97
 
98
98
  handleShowSubmitOkrWindow(false);
99
99
  })["catch"](function () {
100
- _toast["default"].Warning("发送失败");
100
+ _toast["default"].Warning('发送失败');
101
101
  });
102
102
  }
103
103
  };
@@ -130,7 +130,7 @@ function SubmitDialog(props) {
130
130
  placeholder: "\u5982\u9500\u552E\u56E2\u961F",
131
131
  require: true,
132
132
  verifies: [{
133
- tip: "OKR类型不能为空",
133
+ tip: 'OKR类型不能为空',
134
134
  test: /\S/
135
135
  }],
136
136
  onChange: setType
@@ -140,7 +140,7 @@ function SubmitDialog(props) {
140
140
  placeholder: "\u5982\u9500\u552EVP",
141
141
  require: true,
142
142
  verifies: [{
143
- tip: "OKR岗位不能为空",
143
+ tip: 'OKR岗位不能为空',
144
144
  test: /\S/
145
145
  }],
146
146
  onChange: setJob
@@ -155,7 +155,7 @@ function SubmitDialog(props) {
155
155
  })), /*#__PURE__*/_react["default"].createElement("div", {
156
156
  className: "okr-cases-library__submitWindow-submitButton",
157
157
  onClick: onSubmitButtonClick
158
- }, (0, _getLocale.getLocale)("Pro_detail_Submission"))));
158
+ }, (0, _getLocale.getLocale)('Pro_detail_Submission'))));
159
159
  }
160
160
 
161
161
  function PayDialog(props) {
@@ -176,38 +176,38 @@ function PayDialog(props) {
176
176
  var tenantType = window.BSGlobal.tenantInfo.tenantType; // 外部注冊賬號使用的產品ID不同
177
177
 
178
178
  // 外部注冊賬號使用的產品ID不同
179
- if (Version === 1 && tenantType === 3) return "D9E059E4-4303-4EE2-9275-AE2FA74BBAA6";
180
- return "60AFAD35-5273-4A06-B2F4-9A3193096BE7";
179
+ if (Version === 1 && tenantType === 3) return 'D9E059E4-4303-4EE2-9275-AE2FA74BBAA6';
180
+ return '60AFAD35-5273-4A06-B2F4-9A3193096BE7';
181
181
  }),
182
182
  _useState10 = _slicedToArray(_useState9, 1),
183
183
  packageId = _useState10[0];
184
184
 
185
- var _useState11 = (0, _react.useState)(""),
185
+ var _useState11 = (0, _react.useState)(''),
186
186
  _useState12 = _slicedToArray(_useState11, 2),
187
187
  orderId = _useState12[0],
188
188
  setOrderId = _useState12[1];
189
189
 
190
- var _useState13 = (0, _react.useState)("wxPay"),
190
+ var _useState13 = (0, _react.useState)('wxPay'),
191
191
  _useState14 = _slicedToArray(_useState13, 2),
192
192
  payCode = _useState14[0],
193
193
  setPayCode = _useState14[1];
194
194
 
195
- var _useState15 = (0, _react.useState)("微信"),
195
+ var _useState15 = (0, _react.useState)('微信'),
196
196
  _useState16 = _slicedToArray(_useState15, 2),
197
197
  payName = _useState16[0],
198
198
  setPayName = _useState16[1];
199
199
 
200
200
  var _useState17 = (0, _react.useState)({
201
- PayCode: "directPay",
202
- PayName: "支付宝"
201
+ PayCode: 'directPay',
202
+ PayName: '支付宝'
203
203
  }),
204
204
  _useState18 = _slicedToArray(_useState17, 2),
205
205
  wxModel = _useState18[0],
206
206
  setWxModel = _useState18[1];
207
207
 
208
208
  var _useState19 = (0, _react.useState)({
209
- PayCode: "wxPay",
210
- PayName: "微信"
209
+ PayCode: 'wxPay',
210
+ PayName: '微信'
211
211
  }),
212
212
  _useState20 = _slicedToArray(_useState19, 2),
213
213
  aliModel = _useState20[0],
@@ -259,9 +259,9 @@ function PayDialog(props) {
259
259
  } else {
260
260
  // 订单已支付
261
261
  _titaUi.Modal.success({
262
- title: "支付成功",
263
- content: "OKR案例库已开通",
264
- okText: "立即使用",
262
+ title: '支付成功',
263
+ content: 'OKR案例库已开通',
264
+ okText: '立即使用',
265
265
  onOk: function () {
266
266
  var _onOk = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
267
267
  return regeneratorRuntime.wrap(function _callee$(_context) {
@@ -300,11 +300,17 @@ function PayDialog(props) {
300
300
  };
301
301
 
302
302
  var clickPayNowHandler = function clickPayNowHandler(e) {
303
- if (payCode === "wxPay") {
303
+ if (payCode === 'wxPay') {
304
304
  e.preventDefault();
305
- var path = window.location.href.split("#")[0];
306
- var encode = encodeURIComponent("orderId=".concat(orderId, "&payCode=").concat(payCode, "&payName=").concat(payName));
307
- window.open("".concat(path, "#/pay?").concat(encode), "_blank"); // postWxPayOrder({
305
+ var path = window.location.href.split('#')[0];
306
+ path = path.replace(/eLearningHome/, 'Home');
307
+ var encode = encodeURIComponent("orderId=".concat(orderId, "&payCode=").concat(payCode, "&payName=").concat(payName)); // if(isDingDing()){
308
+ // window.open(`${path}#/pay?${encode}`, "_self");
309
+ // window.location.reload();
310
+ // }else{
311
+
312
+ window.open("".concat(path, "#/pay?").concat(encode), '_blank'); // }
313
+ // postWxPayOrder({
308
314
  // order_id: orderId,
309
315
  // default_bank: payCode,
310
316
  // default_bank_name: payName,
@@ -337,22 +343,22 @@ function PayDialog(props) {
337
343
  return handleShowPayWindow(false);
338
344
  },
339
345
  style: {
340
- width: "18px",
341
- height: "18px"
346
+ width: '18px',
347
+ height: '18px'
342
348
  }
343
349
  }), /*#__PURE__*/_react["default"].createElement("p", {
344
350
  className: "".concat(precls, "__head")
345
- }, price, " ", "\u8D2D\u4E70\u5343\u4EFD OKR \u6848\u4F8B\u5E93"), /*#__PURE__*/_react["default"].createElement("p", {
351
+ }, price, " \u8D2D\u4E70\u5343\u4EFD OKR \u6848\u4F8B\u5E93"), /*#__PURE__*/_react["default"].createElement("p", {
346
352
  className: "".concat(precls, "__detail")
347
353
  }, "\u53EF\u67E5\u770B \u4F7F\u7528\u6848\u4F8B\u5E93\u6240\u6709\u884C\u4E1A\u7684\u6848\u4F8B", /*#__PURE__*/_react["default"].createElement("a", {
348
354
  href: "https://club.tita.com/okr-examples",
349
355
  target: "_blank",
350
356
  rel: "noreferrer"
351
- }, (0, _getLocale.getLocale)("Mod_Checkdetails"))), /*#__PURE__*/_react["default"].createElement("div", {
357
+ }, (0, _getLocale.getLocale)('Mod_Checkdetails'))), /*#__PURE__*/_react["default"].createElement("div", {
352
358
  className: "".concat(precls, "__amount")
353
359
  }, "\u5E94\u4ED8\u91D1\u989D\uFF1A", /*#__PURE__*/_react["default"].createElement("b", null, /*#__PURE__*/_react["default"].createElement("span", {
354
360
  style: {
355
- fontSize: "32px"
361
+ fontSize: '32px'
356
362
  }
357
363
  }, "29.8"), "\u5143/\u5E74")), /*#__PURE__*/_react["default"].createElement("div", {
358
364
  className: "".concat(precls, "__type")
@@ -19,7 +19,7 @@
19
19
  .titaui-pagination-prev_text, .titaui-pagination-next_text, .titaui-pagination-jump-prev_text, .titaui-pagination-jump-next_text, .titaui-pagination-item_text {
20
20
  font-size: 14px;
21
21
  font-weight: 400;
22
- line-height: 22px;
22
+ line-height: 28px;
23
23
  transition: all 0.3s ease;
24
24
  color: #3f4755;
25
25
  }
@@ -226,8 +226,8 @@
226
226
  }
227
227
 
228
228
  .titaui-pagination__select-selector::after {
229
- content: "\ea64";
230
- font-family: "tu-icon" !important;
229
+ content: '\ea64';
230
+ font-family: 'tu-icon' !important;
231
231
  font-size: 12px;
232
232
  color: #3f4755;
233
233
  speak: never;
@@ -14,7 +14,8 @@
14
14
  opacity: 0.3;
15
15
  }
16
16
 
17
- .titaui-pagination__select-show-arrow.titaui-pagination__select-loading .titaui-pagination__select-arrow-icon::after {
17
+ .titaui-pagination__select-show-arrow.titaui-pagination__select-loading
18
+ .titaui-pagination__select-arrow-icon::after {
18
19
  box-sizing: border-box;
19
20
  width: 12px;
20
21
  height: 12px;
@@ -36,7 +37,8 @@
36
37
  appearance: none;
37
38
  }
38
39
 
39
- .titaui-pagination__select .titaui-pagination__select-selection-search-input::-webkit-search-cancel-button {
40
+ .titaui-pagination__select
41
+ .titaui-pagination__select-selection-search-input::-webkit-search-cancel-button {
40
42
  display: none;
41
43
  appearance: none;
42
44
  }
@@ -46,28 +48,39 @@
46
48
  position: relative;
47
49
  }
48
50
 
49
- .titaui-pagination__select-single .titaui-pagination__select-selector .titaui-pagination__select-selection-search {
51
+ .titaui-pagination__select-single
52
+ .titaui-pagination__select-selector
53
+ .titaui-pagination__select-selection-search {
50
54
  width: 100%;
51
55
  }
52
56
 
53
- .titaui-pagination__select-single .titaui-pagination__select-selector .titaui-pagination__select-selection-search-input {
57
+ .titaui-pagination__select-single
58
+ .titaui-pagination__select-selector
59
+ .titaui-pagination__select-selection-search-input {
54
60
  width: 100%;
55
61
  }
56
62
 
57
- .titaui-pagination__select-single .titaui-pagination__select-selector .titaui-pagination__select-selection-item,
58
- .titaui-pagination__select-single .titaui-pagination__select-selector .titaui-pagination__select-selection-placeholder {
63
+ .titaui-pagination__select-single
64
+ .titaui-pagination__select-selector
65
+ .titaui-pagination__select-selection-item,
66
+ .titaui-pagination__select-single
67
+ .titaui-pagination__select-selector
68
+ .titaui-pagination__select-selection-placeholder {
59
69
  position: absolute;
60
70
  top: 1px;
61
71
  left: 3px;
62
72
  pointer-events: none;
63
73
  }
64
74
 
65
- .titaui-pagination__select-single:not(.titaui-pagination__select-customize-input) .titaui-pagination__select-selector {
75
+ .titaui-pagination__select-single:not(.titaui-pagination__select-customize-input)
76
+ .titaui-pagination__select-selector {
66
77
  padding: 1px;
67
78
  border: 1px solid #000;
68
79
  }
69
80
 
70
- .titaui-pagination__select-single:not(.titaui-pagination__select-customize-input) .titaui-pagination__select-selector .titaui-pagination__select-selection-search-input {
81
+ .titaui-pagination__select-single:not(.titaui-pagination__select-customize-input)
82
+ .titaui-pagination__select-selector
83
+ .titaui-pagination__select-selection-search-input {
71
84
  border: none;
72
85
  outline: none;
73
86
  background: rgba(255, 0, 0, 0.2);
@@ -81,7 +94,9 @@
81
94
  border: 1px solid #000;
82
95
  }
83
96
 
84
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-item {
97
+ .titaui-pagination__select-multiple
98
+ .titaui-pagination__select-selector
99
+ .titaui-pagination__select-selection-item {
85
100
  flex: none;
86
101
  background: #bbb;
87
102
  border-radius: 4px;
@@ -89,34 +104,48 @@
89
104
  padding: 0 8px;
90
105
  }
91
106
 
92
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-item-disabled {
107
+ .titaui-pagination__select-multiple
108
+ .titaui-pagination__select-selector
109
+ .titaui-pagination__select-selection-item-disabled {
93
110
  cursor: not-allowed;
94
111
  opacity: 0.5;
95
112
  }
96
113
 
97
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-overflow {
114
+ .titaui-pagination__select-multiple
115
+ .titaui-pagination__select-selector
116
+ .titaui-pagination__select-selection-overflow {
98
117
  display: flex;
99
118
  flex-wrap: wrap;
100
119
  width: 100%;
101
120
  }
102
121
 
103
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-overflow-item {
122
+ .titaui-pagination__select-multiple
123
+ .titaui-pagination__select-selector
124
+ .titaui-pagination__select-selection-overflow-item {
104
125
  flex: none;
105
126
  max-width: 100%;
106
127
  }
107
128
 
108
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-search {
129
+ .titaui-pagination__select-multiple
130
+ .titaui-pagination__select-selector
131
+ .titaui-pagination__select-selection-search {
109
132
  position: relative;
110
133
  max-width: 100%;
111
134
  }
112
135
 
113
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-search-input,
114
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-search-mirror {
136
+ .titaui-pagination__select-multiple
137
+ .titaui-pagination__select-selector
138
+ .titaui-pagination__select-selection-search-input,
139
+ .titaui-pagination__select-multiple
140
+ .titaui-pagination__select-selector
141
+ .titaui-pagination__select-selection-search-mirror {
115
142
  padding: 1px;
116
143
  font-family: system-ui;
117
144
  }
118
145
 
119
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-search-mirror {
146
+ .titaui-pagination__select-multiple
147
+ .titaui-pagination__select-selector
148
+ .titaui-pagination__select-selection-search-mirror {
120
149
  position: absolute;
121
150
  z-index: 999;
122
151
  white-space: nowrap;
@@ -126,14 +155,17 @@
126
155
  visibility: hidden;
127
156
  }
128
157
 
129
- .titaui-pagination__select-multiple .titaui-pagination__select-selector .titaui-pagination__select-selection-search-input {
158
+ .titaui-pagination__select-multiple
159
+ .titaui-pagination__select-selector
160
+ .titaui-pagination__select-selection-search-input {
130
161
  border: none;
131
162
  outline: none;
132
163
  background: rgba(255, 0, 0, 0.2);
133
164
  width: 100%;
134
165
  }
135
166
 
136
- .titaui-pagination__select-allow-clear.titaui-pagination__select-multiple .titaui-pagination__select-selector {
167
+ .titaui-pagination__select-allow-clear.titaui-pagination__select-multiple
168
+ .titaui-pagination__select-selector {
137
169
  padding-right: 20px;
138
170
  }
139
171
 
@@ -143,7 +175,8 @@
143
175
  top: 0;
144
176
  }
145
177
 
146
- .titaui-pagination__select-show-arrow.titaui-pagination__select-multiple .titaui-pagination__select-selector {
178
+ .titaui-pagination__select-show-arrow.titaui-pagination__select-multiple
179
+ .titaui-pagination__select-selector {
147
180
  padding-right: 20px;
148
181
  }
149
182
 
@@ -154,7 +187,8 @@
154
187
  top: 0;
155
188
  }
156
189
 
157
- .titaui-pagination__select-show-arrow .titaui-pagination__select-arrow-icon::after {
190
+ .titaui-pagination__select-show-arrow
191
+ .titaui-pagination__select-arrow-icon::after {
158
192
  content: '';
159
193
  border: 5px solid transparent;
160
194
  width: 0;
@@ -199,7 +233,8 @@
199
233
  padding-left: 24px;
200
234
  }
201
235
 
202
- .titaui-pagination__select-item-option .titaui-pagination__select-item-option-state {
236
+ .titaui-pagination__select-item-option
237
+ .titaui-pagination__select-item-option-state {
203
238
  position: absolute;
204
239
  right: 0;
205
240
  top: 4px;
@@ -308,7 +343,7 @@
308
343
  .titaui-pagination__select-selector:before {
309
344
  position: absolute;
310
345
  display: inline-block;
311
- content: "";
346
+ content: '';
312
347
  width: 8px;
313
348
  height: 8px;
314
349
  right: 0;
@@ -324,7 +359,7 @@
324
359
  height: 22px;
325
360
  font-size: 16px;
326
361
  font-weight: 600;
327
- line-height: 22px;
362
+ line-height: 23px;
328
363
  color: #3f4755;
329
364
  }
330
365
 
@@ -2,6 +2,12 @@
2
2
  display: inline-block;
3
3
  }
4
4
 
5
+ .titaui-period-selector__down-icon {
6
+ font-size: 16px;
7
+ transform: scale(0.5);
8
+ margin-left: 4px;
9
+ }
10
+
5
11
  .titaui-period-selector__down-arrow {
6
12
  display: inline-block;
7
13
  vertical-align: baseline;
@@ -9,7 +15,7 @@
9
15
  height: 8px;
10
16
  margin-left: 12px;
11
17
  background: url(./images/down-arrow.svg) transparent no-repeat 50% 50%;
12
- transition: all .2s;
18
+ transition: all 0.2s;
13
19
  cursor: pointer;
14
20
  }
15
21
 
@@ -19,7 +25,7 @@
19
25
  width: 8px;
20
26
  height: 8px;
21
27
  background: url(./images/left-arrow.svg) transparent no-repeat 50% 50%;
22
- transition: all .2s;
28
+ transition: all 0.2s;
23
29
  cursor: pointer;
24
30
  }
25
31
 
@@ -33,7 +39,7 @@
33
39
  width: 8px;
34
40
  height: 8px;
35
41
  background: url(./images/right-arrow.svg) transparent no-repeat 50% 50%;
36
- transition: all .2s;
42
+ transition: all 0.2s;
37
43
  cursor: pointer;
38
44
  }
39
45