@titaui/pc 1.11.1 → 1.11.4

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 (302) hide show
  1. package/lib/components/date-picker/BodyItem.js +3 -3
  2. package/lib/components/date-picker/CalendarHeader.js +3 -3
  3. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  4. package/lib/components/drawer-manager/index.js +25 -27
  5. package/lib/components/dynamic/online-broadcast/data.js +7 -1
  6. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  7. package/lib/components/emotions-selector/selector-pop.js +3 -3
  8. package/lib/components/ereport-list/index.js +3 -3
  9. package/lib/components/file-list/components/single-file/index.js +11 -11
  10. package/lib/components/img-viewer/index.css +7 -0
  11. package/lib/components/img-viewer/index.js +47 -8
  12. package/lib/components/mblog/components/MblogAction.js +3 -3
  13. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  14. package/lib/components/okr-progress-modal/index.css +1 -1
  15. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  16. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  17. package/lib/components/okrcase-library/okrcases-components/caseLibrary-main.js +14 -8
  18. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  19. package/lib/components/rich-editor/models/schema.js +6 -6
  20. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  21. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  22. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  23. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  24. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  25. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  26. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  27. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  28. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  29. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  30. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  31. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  32. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  33. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  34. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  35. package/lib/components/select/Option.js +3 -3
  36. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  37. package/lib/components-v1/animate/AnimateChild.js +3 -3
  38. package/lib/components-v1/avatar/index.js +3 -3
  39. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  40. package/lib/components-v1/progress/CircleProgress.js +3 -3
  41. package/lib/components-v1/select/Option.js +3 -3
  42. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  43. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  44. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  45. package/lib/index.js +0 -8
  46. package/package.json +1 -1
  47. package/es/components/cascader/time.js +0 -31
  48. package/es/components/common-share/request-apis.js +0 -56
  49. package/es/components/confidence/heart.js +0 -66
  50. package/es/components/create-okr-modal/fields/index.js +0 -17
  51. package/es/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +0 -154
  52. package/es/components/date-picker/BodyItem.js +0 -121
  53. package/es/components/date-picker/CalendarBody.js +0 -157
  54. package/es/components/date-picker/CalendarHeader.js +0 -187
  55. package/es/components/date-picker/index.js +0 -157
  56. package/es/components/date-range-picker/index.js +0 -210
  57. package/es/components/dialog/index.js +0 -119
  58. package/es/components/dialog-confirm/index.js +0 -154
  59. package/es/components/drop-selector/icon-item.js +0 -40
  60. package/es/components/drop-selector/index.js +0 -179
  61. package/es/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  62. package/es/components/dynamic/dynamic-liking/mock.js +0 -83
  63. package/es/components/dynamic/dynamic-topping/request-api.js +0 -36
  64. package/es/components/e-priority/index.js +0 -88
  65. package/es/components/e-status-dropdown/index.js +0 -94
  66. package/es/components/grid-layout/commen-components/index.js +0 -73
  67. package/es/components/grid-layout/image/could.js +0 -8
  68. package/es/components/grid-layout/image/lv.js +0 -8
  69. package/es/components/grid-layout/image/tita-mask.js +0 -8
  70. package/es/components/help-card/request-api.js +0 -35
  71. package/es/components/icon-button-list/index.js +0 -65
  72. package/es/components/menus/context.js +0 -18
  73. package/es/components/menus/precls.js +0 -8
  74. package/es/components/okr-detail/auth.js +0 -197
  75. package/es/components/okr-detail/components/ao-nice/index.js +0 -245
  76. package/es/components/okr-detail/components/block-line/index.js +0 -20
  77. package/es/components/okr-detail/components/header/index.js +0 -211
  78. package/es/components/okr-detail/components/icon-text/index.js +0 -116
  79. package/es/components/okr-detail/components/okr-tree/index.js +0 -48
  80. package/es/components/okr-detail/components/okr-tree/precls.js +0 -8
  81. package/es/components/okr-detail/components/okr-tree/tree-node/default-node.js +0 -22
  82. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +0 -88
  83. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +0 -200
  84. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +0 -98
  85. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +0 -412
  86. package/es/components/okr-detail/components/okr-tree/tree-node/get-process-color.js +0 -62
  87. package/es/components/okr-detail/components/okr-tree/tree-node/index.js +0 -90
  88. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +0 -46
  89. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +0 -421
  90. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +0 -54
  91. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +0 -62
  92. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +0 -94
  93. package/es/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +0 -273
  94. package/es/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +0 -207
  95. package/es/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +0 -236
  96. package/es/components/okr-detail/components/padding-layout.js +0 -22
  97. package/es/components/okr-detail/components/tab-panel-content/index.js +0 -27
  98. package/es/components/okr-detail/context.js +0 -30
  99. package/es/components/okr-detail/e-list/index.js +0 -243
  100. package/es/components/okr-detail/e-list/precls.js +0 -8
  101. package/es/components/okr-detail/e-list/search-form/fields/e-order.js +0 -172
  102. package/es/components/okr-detail/e-list/search-form/fields/e-status.js +0 -99
  103. package/es/components/okr-detail/e-list/search-form/fields/e-user.js +0 -49
  104. package/es/components/okr-detail/e-list/search-form/index.js +0 -143
  105. package/es/components/okr-detail/error-page/index.js +0 -33
  106. package/es/components/okr-detail/index.js +0 -428
  107. package/es/components/okr-detail/loading/index.js +0 -28
  108. package/es/components/okr-detail/okr-list/add-parent-okr.js +0 -37
  109. package/es/components/okr-detail/okr-list/create-kr-item/heart.js +0 -38
  110. package/es/components/okr-detail/okr-list/drag-order-kr.js +0 -62
  111. package/es/components/okr-detail/okr-list/empty/index.js +0 -48
  112. package/es/components/okr-detail/okr-list/index.js +0 -524
  113. package/es/components/okr-detail/okr-list/warp-parent-okr.js +0 -21
  114. package/es/components/okr-detail/store.js +0 -1
  115. package/es/components/okr-flow/child-node/fields/creator.js +0 -175
  116. package/es/components/okr-flow/child-node/fields/okrClassify.js +0 -31
  117. package/es/components/okr-flow/child-node/fields/okrType.js +0 -21
  118. package/es/components/okr-flow/child-node/helper.js +0 -35
  119. package/es/components/okr-flow/child-node/index.js +0 -110
  120. package/es/components/okr-flow/child-node/kr-node.js +0 -75
  121. package/es/components/okr-flow/child-node/work-node.js +0 -242
  122. package/es/components/okr-flow/context.js +0 -14
  123. package/es/components/okr-flow/empty/index.js +0 -29
  124. package/es/components/okr-flow/export-modules/okr-search-panel/index.js +0 -394
  125. package/es/components/okr-flow/index.js +0 -24
  126. package/es/components/okr-flow/mini-map/index.js +0 -112
  127. package/es/components/okr-flow/mini-map/map.js +0 -145
  128. package/es/components/okr-flow/mini-map/mini-node.js +0 -57
  129. package/es/components/okr-flow/mini-map/utils.js +0 -79
  130. package/es/components/okr-flow/okr-map/index.js +0 -192
  131. package/es/components/okr-flow/open-data/index.js +0 -115
  132. package/es/components/okr-flow/precls.js +0 -8
  133. package/es/components/okr-flow/request-apis.js +0 -118
  134. package/es/components/okr-flow/root-node/index.js +0 -229
  135. package/es/components/okr-flow/utils/config.js +0 -18
  136. package/es/components/okr-flow/utils/helper.js +0 -36
  137. package/es/components/okr-flow/utils/index.js +0 -66
  138. package/es/components/okr-flow/utils/tree-handler.js +0 -323
  139. package/es/components/okr-progress-modal/helper.js +0 -156
  140. package/es/components/okr-progress-modal/request-apis.js +0 -34
  141. package/es/components/okr-share/request-apis.js +0 -56
  142. package/es/components/okrcase-library/server/network.js +0 -407
  143. package/es/components/pagination/locale/en_US.js +0 -22
  144. package/es/components/pagination/locale/zh_CN.js +0 -22
  145. package/es/components/point-demo/drop-down-box/index.js +0 -159
  146. package/es/components/point-demo/index.js +0 -533
  147. package/es/components/point-demo/input/index.js +0 -176
  148. package/es/components/point-demo/point-demo.js +0 -75
  149. package/es/components/point-demo/popup/index.js +0 -113
  150. package/es/components/point-demo/popup/placement.js +0 -44
  151. package/es/components/range-picker-pop/index.js +0 -273
  152. package/es/components/scrollbar/simplebar/helpers.js +0 -59
  153. package/es/components/scrollbar/simplebar/index.js +0 -91
  154. package/es/components/scrollbar/simplebar/scrollbar-width.js +0 -47
  155. package/es/components/scrollbar/simplebar/simplebar.js +0 -852
  156. package/es/components/scrollbar/simplebar-react.js +0 -163
  157. package/es/components/search-dropdown/index.js +0 -40
  158. package/es/components/search-input/index.js +0 -126
  159. package/es/components/select/Option.js +0 -94
  160. package/es/components/select/index.js +0 -330
  161. package/es/components/selector-input/debounce.js +0 -36
  162. package/es/components/selector-input/index.js +0 -109
  163. package/es/components/slider-input/index.js +0 -119
  164. package/es/components/switch/index.js +0 -39
  165. package/es/components/table/index.js +0 -275
  166. package/es/components/tabs/index.js +0 -63
  167. package/es/components/task-relation-modal/tree-node/index.js +0 -58
  168. package/es/components/tita-chart/charts/img/could.js +0 -8
  169. package/es/components/tooltip/error-tip.js +0 -24
  170. package/es/components/tooltip/index.js +0 -21
  171. package/es/components/tree/index.js +0 -79
  172. package/es/components/tree/precls.js +0 -8
  173. package/es/components/upvote/request-apis.js +0 -45
  174. package/es/components/user-selector/action-btns/btn-cancel.js +0 -21
  175. package/es/components/user-selector/action-btns/btn-ok.js +0 -21
  176. package/es/components/user-selector/action-btns/index.js +0 -27
  177. package/es/components/user-selector/context.js +0 -18
  178. package/es/components/user-selector/empty/group.js +0 -55
  179. package/es/components/user-selector/empty/index.js +0 -28
  180. package/es/components/user-selector/export-modules/depart-search-selector/result-part.js +0 -41
  181. package/es/components/user-selector/export-modules/group-selector/index.js +0 -170
  182. package/es/components/user-selector/export-modules/group-selector/searched-panel.js +0 -68
  183. package/es/components/user-selector/export-modules/multiple-user-selector--bak/index.js +0 -246
  184. package/es/components/user-selector/index.js +0 -25
  185. package/es/components/user-selector/layout/index.js +0 -25
  186. package/es/components/user-selector/loading/index.js +0 -18
  187. package/es/components/user-selector/request-apis.js +0 -180
  188. package/es/components/user-selector/searched-panel/index.js +0 -139
  189. package/es/components/user-selector/searched-panel/result-part.js +0 -43
  190. package/es/components/user-selector/select-tree/selected-tree/index.js +0 -91
  191. package/es/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +0 -48
  192. package/es/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +0 -27
  193. package/es/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +0 -57
  194. package/es/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +0 -93
  195. package/es/components/user-selector/utils.js +0 -139
  196. package/es/components/viewer/ImageListRender.js +0 -143
  197. package/es/components/viewer/index.js +0 -168
  198. package/es/components/word-cloud/index.js +0 -109
  199. package/es/components/word-cloud/request-apis.js +0 -26
  200. package/es/components-v1/animate/AnimateChild.js +0 -76
  201. package/es/components-v1/animate/animate.js +0 -148
  202. package/es/components-v1/animate/index.js +0 -13
  203. package/es/components-v1/dom/index.js +0 -30
  204. package/es/components-v1/placement/index.js +0 -13
  205. package/es/components-v1/placement/placement.js +0 -111
  206. package/es/components-v1/placement/placementInner.js +0 -139
  207. package/es/components-v1/pop/Pop.js +0 -246
  208. package/es/components-v1/pop/PopInner.js +0 -163
  209. package/es/components-v1/pop/index.js +0 -13
  210. package/es/components-v1/progress/CircleProgress.js +0 -152
  211. package/es/components-v1/progress/LineProgress.js +0 -83
  212. package/es/components-v1/progress/index.js +0 -80
  213. package/es/components-v1/select/Option.js +0 -94
  214. package/es/components-v1/select/index.js +0 -330
  215. package/es/components-v1/utils/animate/animate.js +0 -103
  216. package/es/components-v1/utils/animate/event.js +0 -79
  217. package/es/components-v1/utils/dom/index.js +0 -30
  218. package/es/components-v1/utils/placement/autoAdjustPlacement.js +0 -93
  219. package/es/components-v1/utils/placement/getContainerVisibleArea.js +0 -22
  220. package/es/components-v1/utils/placement/getExpectPlacement.js +0 -49
  221. package/es/components-v1/utils/placement/getPlacementInContainer.js +0 -26
  222. package/es/components-v1/utils/placement/placement.js +0 -76
  223. package/es/index.js +0 -777
  224. package/es/pages/appointment-demo/drop-down-box/index.js +0 -159
  225. package/es/pages/appointment-demo/index.js +0 -649
  226. package/es/pages/appointment-demo/input/index.js +0 -176
  227. package/es/pages/appointment-demo/popup/index.js +0 -113
  228. package/es/pages/appointment-demo/popup/placement.js +0 -44
  229. package/es/pages/group-management/components/checkbox/index.js +0 -28
  230. package/es/pages/group-management/components/input-form/index.js +0 -174
  231. package/es/pages/group-management/components/radio/index.js +0 -21
  232. package/es/pages/group-management/components/table/index.js +0 -174
  233. package/es/pages/group-management/groupInterface.js +0 -293
  234. package/es/pages/group-management/index.js +0 -13
  235. package/es/pages/group-management/page-view/empty.js +0 -111
  236. package/es/pages/group-management/page-view/group-empty.js +0 -66
  237. package/es/pages/group-management/page-view/importGroupStaff/index.js +0 -208
  238. package/es/pages/group-management/page-view/index.js +0 -412
  239. package/es/pages/group-management/page-view/loading/index.js +0 -32
  240. package/es/pages/group-management/table/index.js +0 -104
  241. package/es/pages/group-management/tree/add-group-dialog/index.js +0 -153
  242. package/es/pages/group-management/tree/delete-group-dialog/index.js +0 -82
  243. package/es/pages/group-management/tree/edit-group-dialog/index.js +0 -155
  244. package/es/pages/group-management/tree/group-form/index.js +0 -207
  245. package/es/pages/group-management/tree/index.js +0 -168
  246. package/es/pages/group-management/tree/operation-panel.js +0 -41
  247. package/es/pages/group-management/tree/trigger-render.js +0 -99
  248. package/es/pages/like-ranking/mock.js +0 -366
  249. package/es/pages/okr-map/export-modules/index.js +0 -1
  250. package/es/pages/okr-map/export-modules/okr-map/header/index.js +0 -182
  251. package/es/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +0 -47
  252. package/es/pages/okr-map/export-modules/okr-map/okr-map.js +0 -497
  253. package/es/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -69
  254. package/es/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +0 -168
  255. package/es/pages/okr-map/hooks/useStorage.js +0 -96
  256. package/es/pages/okr-map/index.js +0 -18
  257. package/es/pages/okr-map/level2-search/depart.js +0 -53
  258. package/es/pages/okr-map/level2-search/group.js +0 -69
  259. package/es/pages/okr-map/level2-search/index.js +0 -51
  260. package/es/pages/okr-map/level2-search/level2-input.js +0 -46
  261. package/es/pages/okr-map/level2-search/user.js +0 -54
  262. package/es/pages/okr-map/no-okr/index.js +0 -24
  263. package/es/pages/okr-map/number-select/index.js +0 -81
  264. package/es/pages/okr-map/open-data/index.js +0 -115
  265. package/es/pages/okr-map/precls.js +0 -8
  266. package/es/pages/okr-map/request-apis.js +0 -76
  267. package/es/pages/okr-map/share-dialog/index.js +0 -122
  268. package/es/pages/okr-map/unsupport-ie/index.js +0 -83
  269. package/es/pages/okr-map/utils.js +0 -51
  270. package/es/utils/auth.js +0 -294
  271. package/es/utils/bs-global.js +0 -114
  272. package/es/utils/local-storage.js +0 -42
  273. package/es/utils/mblog.js +0 -33
  274. package/es/utils/mock-bsglobal.js +0 -1837
  275. package/es/utils/open-data.js +0 -341
  276. package/es/utils/request-v1.js +0 -115
  277. package/es/utils/request.js +0 -183
  278. package/es/utils/tools.js +0 -286
  279. package/lib/components/picker/components/panels/date-panel/date-body.js +0 -116
  280. package/lib/components/picker/components/panels/date-panel/date-head.js +0 -66
  281. package/lib/components/picker/components/panels/date-panel/index.css +0 -14
  282. package/lib/components/picker/components/panels/date-panel/index.js +0 -49
  283. package/lib/components/picker/components/panels/month-panel/index.css +0 -27
  284. package/lib/components/picker/components/panels/month-panel/index.js +0 -63
  285. package/lib/components/picker/components/panels/month-panel/month-body.js +0 -87
  286. package/lib/components/picker/components/panels/month-panel/month-head.js +0 -47
  287. package/lib/components/picker/components/panels/panel-body/index.js +0 -53
  288. package/lib/components/picker/components/panels/panel-head/index.js +0 -48
  289. package/lib/components/picker/components/panels/year-panel/index.css +0 -23
  290. package/lib/components/picker/components/panels/year-panel/index.js +0 -65
  291. package/lib/components/picker/components/panels/year-panel/year-body.js +0 -92
  292. package/lib/components/picker/components/panels/year-panel/year-head.js +0 -35
  293. package/lib/components/picker/components/picker-trigger/index.css +0 -26
  294. package/lib/components/picker/components/picker-trigger/index.js +0 -85
  295. package/lib/components/picker/context.js +0 -15
  296. package/lib/components/picker/index.css +0 -121
  297. package/lib/components/picker/index.js +0 -13
  298. package/lib/components/picker/picker-panels.js +0 -182
  299. package/lib/components/picker/picker.js +0 -133
  300. package/lib/components/picker/type.js +0 -5
  301. package/lib/components/picker/utils.js +0 -28
  302. package/yarn-error.log +0 -21252
@@ -53,7 +53,7 @@ var LinkSchema = /*#__PURE__*/function (_InlineSchema) {
53
53
  var _super = _createSuper(LinkSchema);
54
54
 
55
55
  function LinkSchema() {
56
- var _temp, _this;
56
+ var _this;
57
57
 
58
58
  _classCallCheck(this, LinkSchema);
59
59
 
@@ -61,7 +61,7 @@ var LinkSchema = /*#__PURE__*/function (_InlineSchema) {
61
61
  args[_key] = arguments[_key];
62
62
  }
63
63
 
64
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.priority = 100, _this.inclusive = false, _this.group = 'link', _this.attrs = {
64
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.priority = 100, _this.inclusive = false, _this.group = 'link', _this.attrs = {
65
65
  href: {
66
66
  "default": ''
67
67
  }
@@ -82,7 +82,7 @@ var LinkSchema = /*#__PURE__*/function (_InlineSchema) {
82
82
  return ['a', {
83
83
  href: node.attrs.href
84
84
  }, 0];
85
- }, _temp));
85
+ }, _assertThisInitialized(_this)));
86
86
  }
87
87
 
88
88
  return _createClass(LinkSchema);
@@ -96,7 +96,7 @@ var LinkController = /*#__PURE__*/function (_BaseController) {
96
96
  var _super2 = _createSuper(LinkController);
97
97
 
98
98
  function LinkController() {
99
- var _temp2, _this2;
99
+ var _this2;
100
100
 
101
101
  _classCallCheck(this, LinkController);
102
102
 
@@ -104,7 +104,7 @@ var LinkController = /*#__PURE__*/function (_BaseController) {
104
104
  args[_key2] = arguments[_key2];
105
105
  }
106
106
 
107
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
107
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
108
108
  title: '链接',
109
109
  icon: 'tu-icon-text-link',
110
110
  handler: function handler(editor) {
@@ -118,7 +118,7 @@ var LinkController = /*#__PURE__*/function (_BaseController) {
118
118
  disabled: function disabled(state) {
119
119
  return !_main.stateKey.getState(state).canInsertLink;
120
120
  }
121
- }, _this2.pmPlugins = [_main["default"], _fakeCursorForToolbar["default"]], _temp2));
121
+ }, _this2.pmPlugins = [_main["default"], _fakeCursorForToolbar["default"]], _assertThisInitialized(_this2)));
122
122
  }
123
123
 
124
124
  return _createClass(LinkController);
@@ -132,7 +132,7 @@ var LinkPlugin = /*#__PURE__*/function (_BasePlugin) {
132
132
  var _super3 = _createSuper(LinkPlugin);
133
133
 
134
134
  function LinkPlugin() {
135
- var _temp3, _this3;
135
+ var _this3;
136
136
 
137
137
  _classCallCheck(this, LinkPlugin);
138
138
 
@@ -140,7 +140,7 @@ var LinkPlugin = /*#__PURE__*/function (_BasePlugin) {
140
140
  args[_key3] = arguments[_key3];
141
141
  }
142
142
 
143
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = LinkSchema, _this3.controller = LinkController, _temp3));
143
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = LinkSchema, _this3.controller = LinkController, _assertThisInitialized(_this3)));
144
144
  }
145
145
 
146
146
  return _createClass(LinkPlugin);
@@ -49,7 +49,7 @@ var StrongSchema = /*#__PURE__*/function (_InlineSchema) {
49
49
  var _super = _createSuper(StrongSchema);
50
50
 
51
51
  function StrongSchema() {
52
- var _temp, _this;
52
+ var _this;
53
53
 
54
54
  _classCallCheck(this, StrongSchema);
55
55
 
@@ -57,7 +57,7 @@ var StrongSchema = /*#__PURE__*/function (_InlineSchema) {
57
57
  args[_key] = arguments[_key];
58
58
  }
59
59
 
60
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.group = 'fontStyle', _this.parseDOM = [{
60
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.group = 'fontStyle', _this.parseDOM = [{
61
61
  tag: "strong"
62
62
  }, {
63
63
  tag: "b",
@@ -69,7 +69,7 @@ var StrongSchema = /*#__PURE__*/function (_InlineSchema) {
69
69
  getAttrs: function getAttrs(value) {
70
70
  return /^(bold(er)?|[5-9]\d{2,})$/.test(value) && null;
71
71
  }
72
- }], _temp));
72
+ }], _assertThisInitialized(_this)));
73
73
  }
74
74
 
75
75
  _createClass(StrongSchema, [{
@@ -90,7 +90,7 @@ var StrongController = /*#__PURE__*/function (_BaseController) {
90
90
  var _super2 = _createSuper(StrongController);
91
91
 
92
92
  function StrongController() {
93
- var _temp2, _this2;
93
+ var _this2;
94
94
 
95
95
  _classCallCheck(this, StrongController);
96
96
 
@@ -98,7 +98,7 @@ var StrongController = /*#__PURE__*/function (_BaseController) {
98
98
  args[_key2] = arguments[_key2];
99
99
  }
100
100
 
101
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
101
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
102
102
  title: (0, _getLocale.getLocale)('Rtx_Bold'),
103
103
  icon: 'tu-icon-text-blod',
104
104
  handler: function handler(editor) {
@@ -108,7 +108,7 @@ var StrongController = /*#__PURE__*/function (_BaseController) {
108
108
  active: function active(state) {
109
109
  return (0, _mark.selectionContainsMark)(state, PLUGIN_NAME);
110
110
  }
111
- }, _temp2));
111
+ }, _assertThisInitialized(_this2)));
112
112
  }
113
113
 
114
114
  return _createClass(StrongController);
@@ -122,7 +122,7 @@ var StrongPlugin = /*#__PURE__*/function (_BasePlugin) {
122
122
  var _super3 = _createSuper(StrongPlugin);
123
123
 
124
124
  function StrongPlugin() {
125
- var _temp3, _this3;
125
+ var _this3;
126
126
 
127
127
  _classCallCheck(this, StrongPlugin);
128
128
 
@@ -130,7 +130,7 @@ var StrongPlugin = /*#__PURE__*/function (_BasePlugin) {
130
130
  args[_key3] = arguments[_key3];
131
131
  }
132
132
 
133
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = StrongSchema, _this3.controller = StrongController, _temp3));
133
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = StrongSchema, _this3.controller = StrongController, _assertThisInitialized(_this3)));
134
134
  }
135
135
 
136
136
  return _createClass(StrongPlugin);
@@ -60,7 +60,7 @@ var UnderLineSchema = /*#__PURE__*/function (_InlineSchema) {
60
60
  var _super = _createSuper(UnderLineSchema);
61
61
 
62
62
  function UnderLineSchema() {
63
- var _temp, _this;
63
+ var _this;
64
64
 
65
65
  _classCallCheck(this, UnderLineSchema);
66
66
 
@@ -68,14 +68,14 @@ var UnderLineSchema = /*#__PURE__*/function (_InlineSchema) {
68
68
  args[_key] = arguments[_key];
69
69
  }
70
70
 
71
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
71
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
72
72
  tag: 'ins'
73
73
  }, {
74
74
  tag: 'u'
75
75
  }, {
76
76
  tag: 'span',
77
77
  getAttrs: getAttrs
78
- }], _temp));
78
+ }], _assertThisInitialized(_this)));
79
79
  }
80
80
 
81
81
  _createClass(UnderLineSchema, [{
@@ -98,7 +98,7 @@ var UnderLineController = /*#__PURE__*/function (_BaseController) {
98
98
  var _super2 = _createSuper(UnderLineController);
99
99
 
100
100
  function UnderLineController() {
101
- var _temp2, _this2;
101
+ var _this2;
102
102
 
103
103
  _classCallCheck(this, UnderLineController);
104
104
 
@@ -106,7 +106,7 @@ var UnderLineController = /*#__PURE__*/function (_BaseController) {
106
106
  args[_key2] = arguments[_key2];
107
107
  }
108
108
 
109
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
109
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
110
110
  title: (0, _getLocale.getLocale)('Rtx_Underline'),
111
111
  icon: 'tu-icon-text-underline',
112
112
  handler: function handler(editor) {
@@ -116,7 +116,7 @@ var UnderLineController = /*#__PURE__*/function (_BaseController) {
116
116
  active: function active(state) {
117
117
  return (0, _mark.selectionContainsMark)(state, PLUGIN_NAME);
118
118
  }
119
- }, _temp2));
119
+ }, _assertThisInitialized(_this2)));
120
120
  }
121
121
 
122
122
  return _createClass(UnderLineController);
@@ -130,7 +130,7 @@ var UnderLinePlugin = /*#__PURE__*/function (_BasePlugin) {
130
130
  var _super3 = _createSuper(UnderLinePlugin);
131
131
 
132
132
  function UnderLinePlugin() {
133
- var _temp3, _this3;
133
+ var _this3;
134
134
 
135
135
  _classCallCheck(this, UnderLinePlugin);
136
136
 
@@ -138,7 +138,7 @@ var UnderLinePlugin = /*#__PURE__*/function (_BasePlugin) {
138
138
  args[_key3] = arguments[_key3];
139
139
  }
140
140
 
141
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = UnderLineSchema, _this3.controller = UnderLineController, _temp3));
141
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = UnderLineSchema, _this3.controller = UnderLineController, _assertThisInitialized(_this3)));
142
142
  }
143
143
 
144
144
  return _createClass(UnderLinePlugin);
@@ -55,7 +55,7 @@ var PortalProviderAPI = /*#__PURE__*/function (_EventDispatcher) {
55
55
  var _super = _createSuper(PortalProviderAPI);
56
56
 
57
57
  function PortalProviderAPI() {
58
- var _temp, _this;
58
+ var _this;
59
59
 
60
60
  _classCallCheck(this, PortalProviderAPI);
61
61
 
@@ -63,9 +63,9 @@ var PortalProviderAPI = /*#__PURE__*/function (_EventDispatcher) {
63
63
  args[_key] = arguments[_key];
64
64
  }
65
65
 
66
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.portals = new Map(), _this.setContext = function (context) {
66
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.portals = new Map(), _this.setContext = function (context) {
67
67
  _this.context = context;
68
- }, _temp));
68
+ }, _assertThisInitialized(_this)));
69
69
  }
70
70
 
71
71
  _createClass(PortalProviderAPI, [{
@@ -53,7 +53,7 @@ var EditorPopup = /*#__PURE__*/function (_React$Component) {
53
53
  var _super = _createSuper(EditorPopup);
54
54
 
55
55
  function EditorPopup() {
56
- var _temp, _this;
56
+ var _this;
57
57
 
58
58
  _classCallCheck(this, EditorPopup);
59
59
 
@@ -61,7 +61,7 @@ var EditorPopup = /*#__PURE__*/function (_React$Component) {
61
61
  args[_key] = arguments[_key];
62
62
  }
63
63
 
64
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
64
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
65
65
  overflowScrollParent: false,
66
66
  validPosition: true
67
67
  }, _this.placement = ['', ''], _this.handleRef = function (popup) {
@@ -74,7 +74,7 @@ var EditorPopup = /*#__PURE__*/function (_React$Component) {
74
74
  return _this.updatePosition(props);
75
75
  }), _this.onResize = function () {
76
76
  return _this.scheduledUpdatePosition();
77
- }, _temp));
77
+ }, _assertThisInitialized(_this)));
78
78
  }
79
79
 
80
80
  _createClass(EditorPopup, [{
@@ -47,7 +47,7 @@ var Option = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(Option);
48
48
 
49
49
  function Option() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, Option);
53
53
 
@@ -55,7 +55,7 @@ var Option = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
59
59
  e.stopPropagation();
60
60
  e.nativeEvent.stopImmediatePropagation();
61
61
  var onSelect = _this.props.onSelect;
@@ -65,7 +65,7 @@ var Option = /*#__PURE__*/function (_Component) {
65
65
  height: _this.props.height,
66
66
  lineHeight: _this.props.height
67
67
  };
68
- }, _temp));
68
+ }, _assertThisInitialized(_this)));
69
69
  }
70
70
 
71
71
  _createClass(Option, [{
@@ -37,7 +37,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
37
37
  var _super = _createSuper(ErrorBoundary);
38
38
 
39
39
  function ErrorBoundary() {
40
- var _temp, _this;
40
+ var _this;
41
41
 
42
42
  _classCallCheck(this, ErrorBoundary);
43
43
 
@@ -45,7 +45,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
45
45
  args[_key] = arguments[_key];
46
46
  }
47
47
 
48
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
48
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
49
49
  hasError: false
50
50
  }, _this.renderError = function (e) {
51
51
  var errorTemplate = _this.props.errorTemplate;
@@ -55,7 +55,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
55
55
  // fallback
56
56
  return errorTemplate && typeof errorTemplate === "function" ? errorTemplate(e) : /*#__PURE__*/_react["default"].createElement("h5", null, "\u7EC4\u4EF6\u51FA\u9519\u4E86\uFF0C\u8BF7\u6838\u67E5\u540E\u91CD\u8BD5\uFF1A", e.message);
57
57
  }
58
- }, _temp));
58
+ }, _assertThisInitialized(_this)));
59
59
  }
60
60
 
61
61
  _createClass(ErrorBoundary, [{
@@ -45,7 +45,7 @@ var AnimateChild = /*#__PURE__*/function (_Component) {
45
45
  var _super = _createSuper(AnimateChild);
46
46
 
47
47
  function AnimateChild() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, AnimateChild);
51
51
 
@@ -53,14 +53,14 @@ var AnimateChild = /*#__PURE__*/function (_Component) {
53
53
  args[_key] = arguments[_key];
54
54
  }
55
55
 
56
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.componentWillEnter = function (done) {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.componentWillEnter = function (done) {
57
57
  _this.transition("enter", done);
58
58
  }, _this.componentWillLeave = function (done) {
59
59
  _this.transition("leave", done);
60
60
  }, _this.transition = function (animationType, done) {
61
61
  var name = _typeof(_this.props.transitionName) === "object" ? _this.props.transitionName[animationType] : "".concat(_this.props.transitionName, "-").concat(animationType);
62
62
  (0, _animate["default"])((0, _reactDom.findDOMNode)(_assertThisInitialized(_this)), name, done);
63
- }, _temp));
63
+ }, _assertThisInitialized(_this)));
64
64
  }
65
65
 
66
66
  _createClass(AnimateChild, [{
@@ -45,7 +45,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
45
45
  var _super = _createSuper(Avatar);
46
46
 
47
47
  function Avatar() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, Avatar);
51
51
 
@@ -53,7 +53,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
53
53
  args[_key] = arguments[_key];
54
54
  }
55
55
 
56
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.renderImgAvatar = function () {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderImgAvatar = function () {
57
57
  var src = _this.props.src;
58
58
  return /*#__PURE__*/_react["default"].createElement("img", {
59
59
  style: {
@@ -103,7 +103,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
103
103
  height: size.width,
104
104
  background: color
105
105
  }, cuttedName);
106
- }, _temp));
106
+ }, _assertThisInitialized(_this)));
107
107
  }
108
108
 
109
109
  _createClass(Avatar, [{
@@ -47,7 +47,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(StatelessDropdown);
48
48
 
49
49
  function StatelessDropdown() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, StatelessDropdown);
53
53
 
@@ -55,7 +55,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
59
59
  if (_this.props.labelText) {
60
60
  return /*#__PURE__*/_react["default"].createElement("span", {
61
61
  className: "drop-down-label"
@@ -63,7 +63,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
63
63
  }
64
64
 
65
65
  return "";
66
- }, _temp));
66
+ }, _assertThisInitialized(_this)));
67
67
  }
68
68
 
69
69
  _createClass(StatelessDropdown, [{
@@ -41,7 +41,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
41
41
  var _super = _createSuper(CircleProgress);
42
42
 
43
43
  function CircleProgress() {
44
- var _temp, _this;
44
+ var _this;
45
45
 
46
46
  _classCallCheck(this, CircleProgress);
47
47
 
@@ -49,7 +49,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
49
49
  args[_key] = arguments[_key];
50
50
  }
51
51
 
52
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
52
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
53
53
  var _this$props = _this.props,
54
54
  formatText = _this$props.formatText,
55
55
  percent = _this$props.percent;
@@ -59,7 +59,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
59
59
  }
60
60
 
61
61
  return percent + getLocale("OKR_MyO_Pop_Upd_Percentage");
62
- }, _temp));
62
+ }, _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  _createClass(CircleProgress, [{
@@ -47,7 +47,7 @@ var Option = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(Option);
48
48
 
49
49
  function Option() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, Option);
53
53
 
@@ -55,7 +55,7 @@ var Option = /*#__PURE__*/function (_Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
59
59
  e.stopPropagation();
60
60
  e.nativeEvent.stopImmediatePropagation();
61
61
  var onSelect = _this.props.onSelect;
@@ -65,7 +65,7 @@ var Option = /*#__PURE__*/function (_Component) {
65
65
  height: _this.props.height,
66
66
  lineHeight: _this.props.height
67
67
  };
68
- }, _temp));
68
+ }, _assertThisInitialized(_this)));
69
69
  }
70
70
 
71
71
  _createClass(Option, [{
@@ -52,7 +52,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
52
52
  var _super = _createSuper(UserSelectorPop);
53
53
 
54
54
  function UserSelectorPop() {
55
- var _temp, _this;
55
+ var _this;
56
56
 
57
57
  _classCallCheck(this, UserSelectorPop);
58
58
 
@@ -60,7 +60,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
60
60
  args[_key] = arguments[_key];
61
61
  }
62
62
 
63
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
63
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
64
64
  if (_this.props.stopPropagation && !!e) {
65
65
  e.stopPropagation();
66
66
  e.nativeEvent.stopImmediatePropagation();
@@ -74,7 +74,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
74
74
  }, _this.show = function (el) {
75
75
  // @ts-ignore
76
76
  _this.refs.pop.show(el);
77
- }, _temp));
77
+ }, _assertThisInitialized(_this)));
78
78
  }
79
79
 
80
80
  _createClass(UserSelectorPop, [{
@@ -61,7 +61,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
61
61
  var _super = _createSuper(MutiMode);
62
62
 
63
63
  function MutiMode() {
64
- var _temp, _this;
64
+ var _this;
65
65
 
66
66
  _classCallCheck(this, MutiMode);
67
67
 
@@ -69,7 +69,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
69
69
  args[_key] = arguments[_key];
70
70
  }
71
71
 
72
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
72
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
73
73
  var _this$props = _this.props,
74
74
  selectedDept = _this$props.selectedDept,
75
75
  onSelectDept = _this$props.onSelectDept;
@@ -90,7 +90,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
90
90
  });
91
91
  if (!filterdUsers.length) return;
92
92
  onSelectUser(filterdUsers);
93
- }, _temp));
93
+ }, _assertThisInitialized(_this)));
94
94
  }
95
95
 
96
96
  _createClass(MutiMode, [{
@@ -47,7 +47,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
47
47
  var _super = _createSuper(UserItem);
48
48
 
49
49
  function UserItem() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, UserItem);
53
53
 
@@ -55,7 +55,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
59
59
  var _this$props = _this.props,
60
60
  onClick = _this$props.onClick,
61
61
  user = _this$props.user;
@@ -71,7 +71,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
71
71
  }
72
72
  }, keyword)];
73
73
  }));
74
- }, _temp));
74
+ }, _assertThisInitialized(_this)));
75
75
  }
76
76
 
77
77
  _createClass(UserItem, [{
package/lib/index.js CHANGED
@@ -357,12 +357,6 @@ Object.defineProperty(exports, "PhotoCard", {
357
357
  return _photoCard["default"];
358
358
  }
359
359
  });
360
- Object.defineProperty(exports, "Picker", {
361
- enumerable: true,
362
- get: function get() {
363
- return _picker["default"];
364
- }
365
- });
366
360
  Object.defineProperty(exports, "PointDemo", {
367
361
  enumerable: true,
368
362
  get: function get() {
@@ -772,6 +766,4 @@ var _videoModal = _interopRequireDefault(require("./components/video-modal"));
772
766
 
773
767
  var _supersetCharts = _interopRequireDefault(require("./components/superset-charts"));
774
768
 
775
- var _picker = _interopRequireDefault(require("./components/picker"));
776
-
777
769
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.11.1",
3
+ "version": "1.11.4",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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 _index = _interopRequireDefault(require("./index"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- 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); }
17
-
18
- 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; }
19
-
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
22
- function TimeCascader(_ref) {
23
- var restProps = _extends({}, _ref);
24
-
25
- return /*#__PURE__*/_react["default"].createElement(_index["default"], _extends({
26
- popupClassName: " titaui-cascader-time-popup"
27
- }, restProps));
28
- }
29
-
30
- var _default = TimeCascader;
31
- exports["default"] = _default;
@@ -1,56 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.uploadBase64 = exports.getImageBase64ByUrl = exports.getBase64DownloadUrl = exports.addShare = void 0;
7
-
8
- var _axios = _interopRequireDefault(require("axios"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
- var tenantId = BSGlobal && BSGlobal.tenantInfo.Id || 0;
13
- var userId = BSGlobal && BSGlobal.loginUserInfo.Id || 0;
14
-
15
- var requestDomain = function requestDomain() {
16
- if (!window.location.hostname.match(/dev/)) return "";
17
- return "http://www.tita.gift";
18
- };
19
-
20
- var getImageBase64ByUrl = function getImageBase64ByUrl(toUserId) {
21
- return _axios["default"].post("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/okr/share/getBase64Str"), {
22
- toUserId: toUserId
23
- }).then(function (getBase64Str) {
24
- return getBase64Str.data;
25
- });
26
- };
27
-
28
- exports.getImageBase64ByUrl = getImageBase64ByUrl;
29
-
30
- var getBase64DownloadUrl = function getBase64DownloadUrl(base64) {
31
- return _axios["default"].post("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/okr/share/imageDownLoadDfs"), {
32
- SharePicLink: base64
33
- }).then(function (dfs) {
34
- return dfs.data;
35
- });
36
- };
37
-
38
- exports.getBase64DownloadUrl = getBase64DownloadUrl;
39
-
40
- var uploadBase64 = function uploadBase64(base64) {
41
- return _axios["default"].post("".concat(requestDomain(), "/api/v1/").concat(tenantId, "/").concat(userId, "/okr/share/imagedfs"), {
42
- SharePicLink: base64
43
- }).then(function (dfs) {
44
- return dfs.data;
45
- });
46
- };
47
-
48
- exports.uploadBase64 = uploadBase64;
49
-
50
- var addShare = function addShare(data) {
51
- return _axios["default"].post("".concat(requestDomain(), "/api/v2/").concat(tenantId, "/").concat(userId, "/user/feed/AddShare"), data).then(function (dfs) {
52
- return dfs.data;
53
- });
54
- };
55
-
56
- exports.addShare = addShare;